Class TaskStatus.Builder (2.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 2.80.0 (latest)
- 2.78.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.12
- 2.2.0
- 2.1.11
publicstaticfinalclass TaskStatus.BuilderextendsGeneratedMessageV3.Builder<TaskStatus.Builder>implementsTaskStatusOrBuilderStatus of the task.
Protobuf type google.cloud.tasks.v2beta2.TaskStatus
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TaskStatus.BuilderImplements
TaskStatusOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicTaskStatus.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)build()
publicTaskStatusbuild()buildPartial()
publicTaskStatusbuildPartial()clear()
publicTaskStatus.Builderclear()clearAttemptDispatchCount()
publicTaskStatus.BuilderclearAttemptDispatchCount()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;
This builder for chaining.
clearAttemptResponseCount()
publicTaskStatus.BuilderclearAttemptResponseCount()Output only. The number of attempts which have received a response. This field is not calculated for pull tasks.
int32 attempt_response_count = 2;
This builder for chaining.
clearField(Descriptors.FieldDescriptor field)
publicTaskStatus.BuilderclearField(Descriptors.FieldDescriptorfield)clearFirstAttemptStatus()
publicTaskStatus.BuilderclearFirstAttemptStatus()Output only. The status of the task's first attempt. Only dispatch_time will be set. The other AttemptStatus information is not retained by Cloud Tasks. This field is not calculated for pull tasks.
.google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
clearLastAttemptStatus()
publicTaskStatus.BuilderclearLastAttemptStatus()Output only. The status of the task's last attempt. This field is not calculated for pull tasks.
.google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
clearOneof(Descriptors.OneofDescriptor oneof)
publicTaskStatus.BuilderclearOneof(Descriptors.OneofDescriptoroneof)clone()
publicTaskStatus.Builderclone()getAttemptDispatchCount()
publicintgetAttemptDispatchCount()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;
The attemptDispatchCount.
getAttemptResponseCount()
publicintgetAttemptResponseCount()Output only. The number of attempts which have received a response. This field is not calculated for pull tasks.
int32 attempt_response_count = 2;
The attemptResponseCount.
getDefaultInstanceForType()
publicTaskStatusgetDefaultInstanceForType()getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()getFirstAttemptStatus()
publicAttemptStatusgetFirstAttemptStatus()Output only. The status of the task's first attempt. Only dispatch_time will be set. The other AttemptStatus information is not retained by Cloud Tasks. This field is not calculated for pull tasks.
.google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
The firstAttemptStatus.
getFirstAttemptStatusBuilder()
publicAttemptStatus.BuildergetFirstAttemptStatusBuilder()Output only. The status of the task's first attempt. Only dispatch_time will be set. The other AttemptStatus information is not retained by Cloud Tasks. This field is not calculated for pull tasks.
.google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
getFirstAttemptStatusOrBuilder()
publicAttemptStatusOrBuildergetFirstAttemptStatusOrBuilder()Output only. The status of the task's first attempt. Only dispatch_time will be set. The other AttemptStatus information is not retained by Cloud Tasks. This field is not calculated for pull tasks.
.google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
getLastAttemptStatus()
publicAttemptStatusgetLastAttemptStatus()Output only. The status of the task's last attempt. This field is not calculated for pull tasks.
.google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
The lastAttemptStatus.
getLastAttemptStatusBuilder()
publicAttemptStatus.BuildergetLastAttemptStatusBuilder()Output only. The status of the task's last attempt. This field is not calculated for pull tasks.
.google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
getLastAttemptStatusOrBuilder()
publicAttemptStatusOrBuildergetLastAttemptStatusOrBuilder()Output only. The status of the task's last attempt. This field is not calculated for pull tasks.
.google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
hasFirstAttemptStatus()
publicbooleanhasFirstAttemptStatus()Output only. The status of the task's first attempt. Only dispatch_time will be set. The other AttemptStatus information is not retained by Cloud Tasks. This field is not calculated for pull tasks.
.google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
Whether the firstAttemptStatus field is set.
hasLastAttemptStatus()
publicbooleanhasLastAttemptStatus()Output only. The status of the task's last attempt. This field is not calculated for pull tasks.
.google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
Whether the lastAttemptStatus field is set.
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()mergeFirstAttemptStatus(AttemptStatus value)
publicTaskStatus.BuildermergeFirstAttemptStatus(AttemptStatusvalue)Output only. The status of the task's first attempt. Only dispatch_time will be set. The other AttemptStatus information is not retained by Cloud Tasks. This field is not calculated for pull tasks.
.google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
mergeFrom(TaskStatus other)
publicTaskStatus.BuildermergeFrom(TaskStatusother)mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicTaskStatus.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)mergeFrom(Message other)
publicTaskStatus.BuildermergeFrom(Messageother)mergeLastAttemptStatus(AttemptStatus value)
publicTaskStatus.BuildermergeLastAttemptStatus(AttemptStatusvalue)Output only. The status of the task's last attempt. This field is not calculated for pull tasks.
.google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalTaskStatus.BuildermergeUnknownFields(UnknownFieldSetunknownFields)setAttemptDispatchCount(int value)
publicTaskStatus.BuildersetAttemptDispatchCount(intvalue)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;
This builder for chaining.
setAttemptResponseCount(int value)
publicTaskStatus.BuildersetAttemptResponseCount(intvalue)Output only. The number of attempts which have received a response. This field is not calculated for pull tasks.
int32 attempt_response_count = 2;
This builder for chaining.
setField(Descriptors.FieldDescriptor field, Object value)
publicTaskStatus.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)setFirstAttemptStatus(AttemptStatus value)
publicTaskStatus.BuildersetFirstAttemptStatus(AttemptStatusvalue)Output only. The status of the task's first attempt. Only dispatch_time will be set. The other AttemptStatus information is not retained by Cloud Tasks. This field is not calculated for pull tasks.
.google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
setFirstAttemptStatus(AttemptStatus.Builder builderForValue)
publicTaskStatus.BuildersetFirstAttemptStatus(AttemptStatus.BuilderbuilderForValue)Output only. The status of the task's first attempt. Only dispatch_time will be set. The other AttemptStatus information is not retained by Cloud Tasks. This field is not calculated for pull tasks.
.google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
setLastAttemptStatus(AttemptStatus value)
publicTaskStatus.BuildersetLastAttemptStatus(AttemptStatusvalue)Output only. The status of the task's last attempt. This field is not calculated for pull tasks.
.google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
setLastAttemptStatus(AttemptStatus.Builder builderForValue)
publicTaskStatus.BuildersetLastAttemptStatus(AttemptStatus.BuilderbuilderForValue)Output only. The status of the task's last attempt. This field is not calculated for pull tasks.
.google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicTaskStatus.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)setUnknownFields(UnknownFieldSet unknownFields)
publicfinalTaskStatus.BuildersetUnknownFields(UnknownFieldSetunknownFields)