public final class TaskStatus extends GeneratedMessageV3 implements TaskStatusOrBuilder
Status of the task.
Protobuf type google.cloud.tasks.v2beta2.TaskStatus
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ATTEMPT_DISPATCH_COUNT_FIELD_NUMBER
public static final int ATTEMPT_DISPATCH_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ATTEMPT_RESPONSE_COUNT_FIELD_NUMBER
public static final int ATTEMPT_RESPONSE_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FIRST_ATTEMPT_STATUS_FIELD_NUMBER
public static final int FIRST_ATTEMPT_STATUS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
LAST_ATTEMPT_STATUS_FIELD_NUMBER
public static final int LAST_ATTEMPT_STATUS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static TaskStatus getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TaskStatus.Builder newBuilder()
newBuilder(TaskStatus prototype)
public static TaskStatus.Builder newBuilder(TaskStatus prototype)
public static TaskStatus parseDelimitedFrom(InputStream input)
public static TaskStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TaskStatus parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TaskStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TaskStatus parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TaskStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TaskStatus parseFrom(CodedInputStream input)
public static TaskStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TaskStatus parseFrom(InputStream input)
public static TaskStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TaskStatus parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TaskStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TaskStatus> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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()
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;
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;
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;
getParserForType()
public Parser<TaskStatus> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TaskStatus.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TaskStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public TaskStatus.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides