public interface TaskStatusOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getAttemptDispatchCount()
Output only.
|
int |
getAttemptResponseCount()
Output only.
|
AttemptStatus |
getFirstAttemptStatus()
Output only.
|
AttemptStatusOrBuilder |
getFirstAttemptStatusOrBuilder()
Output only.
|
AttemptStatus |
getLastAttemptStatus()
Output only.
|
AttemptStatusOrBuilder |
getLastAttemptStatusOrBuilder()
Output only.
|
boolean |
hasFirstAttemptStatus()
Output only.
|
boolean |
hasLastAttemptStatus()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
int getAttemptDispatchCount()
Output only. The number of attempts dispatched. This count includes attempts which have been dispatched but haven't received a response.
int32 attempt_dispatch_count = 1;
int getAttemptResponseCount()
Output only. The number of attempts which have received a response. This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
int32 attempt_response_count = 2;
boolean hasFirstAttemptStatus()
Output only. The status of the task's first attempt. Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set. The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks. This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
.google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
AttemptStatus getFirstAttemptStatus()
Output only. The status of the task's first attempt. Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set. The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks. This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
.google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
AttemptStatusOrBuilder getFirstAttemptStatusOrBuilder()
Output only. The status of the task's first attempt. Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set. The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks. This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
.google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
boolean hasLastAttemptStatus()
Output only. The status of the task's last attempt. This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
.google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
AttemptStatus getLastAttemptStatus()
Output only. The status of the task's last attempt. This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
.google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
AttemptStatusOrBuilder getLastAttemptStatusOrBuilder()
Output only. The status of the task's last attempt. This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
.google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
Copyright © 2022 Google LLC. All rights reserved.