public static final class TaskStatus.Builder extends GeneratedMessageV3.Builder<TaskStatus.Builder> implements TaskStatusOrBuilder
Status of the task.Protobuf type
google.cloud.tasks.v2beta2.TaskStatus
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<TaskStatus.Builder>
public TaskStatus.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<TaskStatus.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<TaskStatus.Builder>
public TaskStatus getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public TaskStatus build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public TaskStatus buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public TaskStatus.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<TaskStatus.Builder>
public TaskStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<TaskStatus.Builder>
public TaskStatus.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<TaskStatus.Builder>
public TaskStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<TaskStatus.Builder>
public TaskStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<TaskStatus.Builder>
public TaskStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<TaskStatus.Builder>
public TaskStatus.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<TaskStatus.Builder>
public TaskStatus.Builder mergeFrom(TaskStatus other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<TaskStatus.Builder>
public TaskStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<TaskStatus.Builder>
IOException
public 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;
getAttemptDispatchCount
in interface TaskStatusOrBuilder
public TaskStatus.Builder setAttemptDispatchCount(int value)
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;
value
- The attemptDispatchCount to set.public TaskStatus.Builder clearAttemptDispatchCount()
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;
public 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;
getAttemptResponseCount
in interface TaskStatusOrBuilder
public TaskStatus.Builder setAttemptResponseCount(int value)
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;
value
- The attemptResponseCount to set.public TaskStatus.Builder clearAttemptResponseCount()
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;
public 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;
hasFirstAttemptStatus
in interface TaskStatusOrBuilder
public 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;
getFirstAttemptStatus
in interface TaskStatusOrBuilder
public TaskStatus.Builder setFirstAttemptStatus(AttemptStatus value)
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;
public TaskStatus.Builder setFirstAttemptStatus(AttemptStatus.Builder builderForValue)
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;
public TaskStatus.Builder mergeFirstAttemptStatus(AttemptStatus value)
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;
public TaskStatus.Builder clearFirstAttemptStatus()
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;
public AttemptStatus.Builder getFirstAttemptStatusBuilder()
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;
public 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;
getFirstAttemptStatusOrBuilder
in interface TaskStatusOrBuilder
public 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;
hasLastAttemptStatus
in interface TaskStatusOrBuilder
public 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;
getLastAttemptStatus
in interface TaskStatusOrBuilder
public TaskStatus.Builder setLastAttemptStatus(AttemptStatus value)
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;
public TaskStatus.Builder setLastAttemptStatus(AttemptStatus.Builder builderForValue)
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;
public TaskStatus.Builder mergeLastAttemptStatus(AttemptStatus value)
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;
public TaskStatus.Builder clearLastAttemptStatus()
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;
public AttemptStatus.Builder getLastAttemptStatusBuilder()
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;
public 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;
getLastAttemptStatusOrBuilder
in interface TaskStatusOrBuilder
public final TaskStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<TaskStatus.Builder>
public final TaskStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<TaskStatus.Builder>
Copyright © 2022 Google LLC. All rights reserved.