public static final class TaskStatus.Builder extends GeneratedMessageV3.Builder<TaskStatus.Builder> implements TaskStatusOrBuilder
Status of the task.
Protobuf type google.cloud.tasks.v2beta2.TaskStatus
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TaskStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TaskStatus build()
buildPartial()
public TaskStatus buildPartial()
clear()
public TaskStatus.Builder clear()
Overrides
clearAttemptDispatchCount()
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;
clearAttemptResponseCount()
public TaskStatus.Builder clearAttemptResponseCount()
Output only. The number of attempts which have received a response.
This field is not calculated for pull tasks.
int32 attempt_response_count = 2;
clearField(Descriptors.FieldDescriptor field)
public TaskStatus.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFirstAttemptStatus()
public TaskStatus.Builder clearFirstAttemptStatus()
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()
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.AttemptStatus last_attempt_status = 4;
clearOneof(Descriptors.OneofDescriptor oneof)
public TaskStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public TaskStatus.Builder clone()
Overrides
getAttemptDispatchCount()
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;
Returns |
---|
Type | Description |
int | The attemptDispatchCount.
|
getAttemptResponseCount()
public int getAttemptResponseCount()
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()
public TaskStatus getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFirstAttemptStatus()
public AttemptStatus getFirstAttemptStatus()
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;
getFirstAttemptStatusBuilder()
public AttemptStatus.Builder getFirstAttemptStatusBuilder()
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()
public AttemptStatusOrBuilder getFirstAttemptStatusOrBuilder()
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()
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.AttemptStatus last_attempt_status = 4;
getLastAttemptStatusBuilder()
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.AttemptStatus last_attempt_status = 4;
getLastAttemptStatusOrBuilder()
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.AttemptStatus last_attempt_status = 4;
hasFirstAttemptStatus()
public boolean hasFirstAttemptStatus()
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()
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.AttemptStatus last_attempt_status = 4;
Returns |
---|
Type | Description |
boolean | Whether the lastAttemptStatus field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFirstAttemptStatus(AttemptStatus value)
public TaskStatus.Builder mergeFirstAttemptStatus(AttemptStatus value)
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)
public TaskStatus.Builder mergeFrom(TaskStatus other)
public TaskStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TaskStatus.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeLastAttemptStatus(AttemptStatus value)
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.AttemptStatus last_attempt_status = 4;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TaskStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAttemptDispatchCount(int value)
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;
Parameter |
---|
Name | Description |
value | int
The attemptDispatchCount to set.
|
setAttemptResponseCount(int value)
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.
int32 attempt_response_count = 2;
Parameter |
---|
Name | Description |
value | int
The attemptResponseCount to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public TaskStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFirstAttemptStatus(AttemptStatus value)
public TaskStatus.Builder setFirstAttemptStatus(AttemptStatus value)
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)
public TaskStatus.Builder setFirstAttemptStatus(AttemptStatus.Builder builderForValue)
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)
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.AttemptStatus last_attempt_status = 4;
setLastAttemptStatus(AttemptStatus.Builder builderForValue)
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.AttemptStatus last_attempt_status = 4;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TaskStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TaskStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides