publicfinalclass TaskStatusextendsGeneratedMessageV3implementsTaskStatusOrBuilder
Status of the task.
Protobuf type google.cloud.tasks.v2beta2.TaskStatus
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ATTEMPT_DISPATCH_COUNT_FIELD_NUMBER
publicstaticfinalintATTEMPT_DISPATCH_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
ATTEMPT_RESPONSE_COUNT_FIELD_NUMBER
publicstaticfinalintATTEMPT_RESPONSE_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
FIRST_ATTEMPT_STATUS_FIELD_NUMBER
publicstaticfinalintFIRST_ATTEMPT_STATUS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
LAST_ATTEMPT_STATUS_FIELD_NUMBER
publicstaticfinalintLAST_ATTEMPT_STATUS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticTaskStatusgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticTaskStatus.BuildernewBuilder()
newBuilder(TaskStatus prototype)
publicstaticTaskStatus.BuildernewBuilder(TaskStatusprototype)
publicstaticTaskStatusparseDelimitedFrom(InputStreaminput)
publicstaticTaskStatusparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticTaskStatusparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticTaskStatusparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticTaskStatusparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticTaskStatusparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticTaskStatusparseFrom(CodedInputStreaminput)
publicstaticTaskStatusparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticTaskStatusparseFrom(InputStreaminput)
publicstaticTaskStatusparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticTaskStatusparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticTaskStatusparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<TaskStatus>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
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()
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;
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;
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;
getParserForType()
publicParser<TaskStatus>getParserForType()
Overrides
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicTaskStatus.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedTaskStatus.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicTaskStatus.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides