public com.google.protobuf.Duration getAttemptDeadline() {
    return attemptDeadline_ == null
        ? com.google.protobuf.Duration.getDefaultInstance()
        : attemptDeadline_;
  }
public com . google . protobuf . Duration getAttemptDeadline ( ) { return attemptDeadline_ == null ? com . google . protobuf . Duration . getDefaultInstance ( ) : attemptDeadline_ ; }
<pre>
The deadline for job attempts. If the request handler does not respond by
this deadline then the request is cancelled and the attempt is marked as a
`DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in
execution logs. Cloud Scheduler will retry the job according
to the [RetryConfig][google.cloud.scheduler.v1beta1.RetryConfig].
The allowed duration for this deadline is:
* For [HTTP targets][google.cloud.scheduler.v1beta1.Job.http_target], between 15 seconds and 30 minutes.
* For [App Engine HTTP targets][google.cloud.scheduler.v1beta1.Job.app_engine_http_target], between 15
seconds and 24 hours.
* For [PubSub targets][google.cloud.scheduler.v1beta1.Job.pubsub_target], this field is ignored.
</pre>

<code>.google.protobuf.Duration attempt_deadline = 22;</code>