Send feedback Class TaskStatus (2.11.0) Stay organized with collections Save and categorize content based on your preferences.
Version 2.11.0keyboard_arrow_down
public final class TaskStatus extends GeneratedMessageV3 implements TaskStatusOrBuilder
Status of the task.
Protobuf type google.cloud.tasks.v2beta2.TaskStatus
Static Fields ATTEMPT_DIS_COUNT_FIELD_NUMBER
public static final int ATTEMPT_DIS_COUNT_FIELD_NUMBER
Field Value ATTEMPT_RESPONSE_COUNT_FIELD_NUMBER
public static final int ATTEMPT_RESPONSE_COUNT_FIELD_NUMBER
Field Value FIRST_ATTEMPT_STATUS_FIELD_NUMBER
public static final int FIRST_ATTEMPT_STATUS_FIELD_NUMBER
Field Value LAST_ATTEMPT_STATUS_FIELD_NUMBER
public static final int LAST_ATTEMPT_STATUS_FIELD_NUMBER
Field Value Static Methods getDefaultInstance()
public static TaskStatus getDefaultInstance ()
Returns getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns newBuilder()
public static TaskStatus . Builder newBuilder ()
Returns newBuilder(TaskStatus )
public static TaskStatus . Builder newBuilder ( TaskStatus )
Parameter Returns
public static TaskStatus parseDelimitedFrom ( InputStream input )
Parameter Returns Exceptions
public static TaskStatus parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions parseFrom(byte[] data)
public static TaskStatus parseFrom ( byte [] data )
Parameter Name Description data
byte []
Returns Exceptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TaskStatus parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions parseFrom(ByteString data)
public static TaskStatus parseFrom ( ByteString data )
Parameter Returns Exceptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TaskStatus parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions
public static TaskStatus parseFrom ( CodedInputStream input )
Parameter Returns Exceptions
public static TaskStatus parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions
public static TaskStatus parseFrom ( InputStream input )
Parameter Returns Exceptions
public static TaskStatus parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions parseFrom(ByteBuffer data)
public static TaskStatus parseFrom ( ByteBuffer data )
Parameter Returns Exceptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TaskStatus parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions parser()
public static Parser<TaskStatus> parser ()
Returns Methods equals(Object obj)
public boolean equals ( Object obj )
Parameter Returns Overrides getAttemptDisCount()
public int getAttemptDisCount ()
Output only. The number of attempts dised. This count includes attempts which have been dised but haven't received a response.
int32 attempt_dis_count = 1;
Returns Type Description int
The attemptDisCount.
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 ()
Returns getFirstAttemptStatus()
public AttemptStatus getFirstAttemptStatus ()
Output only. The status of the task's first attempt. Only dis_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 getFirstAttemptStatusOrBuilder()
public AttemptStatusOrBuilder getFirstAttemptStatusOrBuilder ()
Output only. The status of the task's first attempt. Only dis_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 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;
Returns 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;
Returns getParserForType()
public Parser<TaskStatus> getParserForType ()
Returns Overrides getSerializedSize()
public int getSerializedSize ()
Returns Overrides getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns Overrides hasFirstAttemptStatus()
public boolean hasFirstAttemptStatus ()
Output only. The status of the task's first attempt. Only dis_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 Overrides internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns Overrides isInitialized()
public final boolean isInitialized ()
Returns Overrides newBuilderForType()
public TaskStatus . Builder newBuilderForType ()
Returns newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TaskStatus . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter Returns Overrides newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter Returns Overrides toBuilder()
public TaskStatus . Builder toBuilder ()
Returns writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter Overrides Exceptions Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-05 UTC.
Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-05 UTC."],[],[]]