publicfinalclass AttemptStatusextendsGeneratedMessageV3implementsAttemptStatusOrBuilder
The status of a task attempt.
Protobuf type google.cloud.tasks.v2beta2.AttemptStatus
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
DISPATCH_TIME_FIELD_NUMBER
publicstaticfinalintDISPATCH_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
RESPONSE_STATUS_FIELD_NUMBER
publicstaticfinalintRESPONSE_STATUS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
RESPONSE_TIME_FIELD_NUMBER
publicstaticfinalintRESPONSE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
SCHEDULE_TIME_FIELD_NUMBER
publicstaticfinalintSCHEDULE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticAttemptStatusgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticAttemptStatus.BuildernewBuilder()
newBuilder(AttemptStatus prototype)
publicstaticAttemptStatus.BuildernewBuilder(AttemptStatusprototype)
publicstaticAttemptStatusparseDelimitedFrom(InputStreaminput)
publicstaticAttemptStatusparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticAttemptStatusparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticAttemptStatusparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticAttemptStatusparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticAttemptStatusparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticAttemptStatusparseFrom(CodedInputStreaminput)
publicstaticAttemptStatusparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticAttemptStatusparseFrom(InputStreaminput)
publicstaticAttemptStatusparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticAttemptStatusparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticAttemptStatusparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<AttemptStatus>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicAttemptStatusgetDefaultInstanceForType()
getDispatchTime()
publicTimestampgetDispatchTime()
Output only. The time that this attempt was dispatched.
dispatch_time will be truncated to the nearest microsecond.
.google.protobuf.Timestamp dispatch_time = 2;
| Returns |
| Type |
Description |
Timestamp |
The dispatchTime.
|
getDispatchTimeOrBuilder()
publicTimestampOrBuildergetDispatchTimeOrBuilder()
Output only. The time that this attempt was dispatched.
dispatch_time will be truncated to the nearest microsecond.
.google.protobuf.Timestamp dispatch_time = 2;
getParserForType()
publicParser<AttemptStatus>getParserForType()
Overrides
getResponseStatus()
publicStatusgetResponseStatus()
Output only. The response from the target for this attempt.
If the task has not been attempted or the task is currently running
then the response status is unset.
.google.rpc.Status response_status = 4;
| Returns |
| Type |
Description |
com.google.rpc.Status |
The responseStatus.
|
getResponseStatusOrBuilder()
publicStatusOrBuildergetResponseStatusOrBuilder()
Output only. The response from the target for this attempt.
If the task has not been attempted or the task is currently running
then the response status is unset.
.google.rpc.Status response_status = 4;
| Returns |
| Type |
Description |
com.google.rpc.StatusOrBuilder |
getResponseTime()
publicTimestampgetResponseTime()
Output only. The time that this attempt response was received.
response_time will be truncated to the nearest microsecond.
.google.protobuf.Timestamp response_time = 3;
| Returns |
| Type |
Description |
Timestamp |
The responseTime.
|
getResponseTimeOrBuilder()
publicTimestampOrBuildergetResponseTimeOrBuilder()
Output only. The time that this attempt response was received.
response_time will be truncated to the nearest microsecond.
.google.protobuf.Timestamp response_time = 3;
getScheduleTime()
publicTimestampgetScheduleTime()
Output only. The time that this attempt was scheduled.
schedule_time will be truncated to the nearest microsecond.
.google.protobuf.Timestamp schedule_time = 1;
| Returns |
| Type |
Description |
Timestamp |
The scheduleTime.
|
getScheduleTimeOrBuilder()
publicTimestampOrBuildergetScheduleTimeOrBuilder()
Output only. The time that this attempt was scheduled.
schedule_time will be truncated to the nearest microsecond.
.google.protobuf.Timestamp schedule_time = 1;
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hasDispatchTime()
publicbooleanhasDispatchTime()
Output only. The time that this attempt was dispatched.
dispatch_time will be truncated to the nearest microsecond.
.google.protobuf.Timestamp dispatch_time = 2;
| Returns |
| Type |
Description |
boolean |
Whether the dispatchTime field is set.
|
hasResponseStatus()
publicbooleanhasResponseStatus()
Output only. The response from the target for this attempt.
If the task has not been attempted or the task is currently running
then the response status is unset.
.google.rpc.Status response_status = 4;
| Returns |
| Type |
Description |
boolean |
Whether the responseStatus field is set.
|
hasResponseTime()
publicbooleanhasResponseTime()
Output only. The time that this attempt response was received.
response_time will be truncated to the nearest microsecond.
.google.protobuf.Timestamp response_time = 3;
| Returns |
| Type |
Description |
boolean |
Whether the responseTime field is set.
|
hasScheduleTime()
publicbooleanhasScheduleTime()
Output only. The time that this attempt was scheduled.
schedule_time will be truncated to the nearest microsecond.
.google.protobuf.Timestamp schedule_time = 1;
| Returns |
| Type |
Description |
boolean |
Whether the scheduleTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicAttemptStatus.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedAttemptStatus.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicAttemptStatus.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides