Class TaskStatus.Builder (2.53.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()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicTaskStatus.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
|
build()
publicTaskStatusbuild()| Returns | |
|---|---|
| Type | Description |
TaskStatus |
|
buildPartial()
publicTaskStatusbuildPartial()| Returns | |
|---|---|
| Type | Description |
TaskStatus |
|
clear()
publicTaskStatus.Builderclear()| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
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;
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
publicTaskStatus.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
publicTaskStatus.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
|
clone()
publicTaskStatus.Builderclone()| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
int |
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;
| Returns | |
|---|---|
| Type | Description |
int |
The attemptResponseCount. |
getDefaultInstanceForType()
publicTaskStatusgetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TaskStatus |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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;
| Returns | |
|---|---|
| Type | Description |
AttemptStatus |
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;
| Returns | |
|---|---|
| Type | Description |
AttemptStatus.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
AttemptStatusOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
AttemptStatus |
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;
| Returns | |
|---|---|
| Type | Description |
AttemptStatus.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
AttemptStatusOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the lastAttemptStatus field is set. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
AttemptStatus |
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
|
mergeFrom(TaskStatus other)
publicTaskStatus.BuildermergeFrom(TaskStatusother)| Parameter | |
|---|---|
| Name | Description |
other |
TaskStatus |
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicTaskStatus.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicTaskStatus.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
AttemptStatus |
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalTaskStatus.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
int The attemptDispatchCount to set. |
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
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;
| Parameter | |
|---|---|
| Name | Description |
value |
int The attemptResponseCount to set. |
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
publicTaskStatus.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
AttemptStatus |
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AttemptStatus.Builder |
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
AttemptStatus |
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AttemptStatus.Builder |
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicTaskStatus.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalTaskStatus.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
TaskStatus.Builder |
|