publicfinalclass AttemptextendsGeneratedMessageV3implementsAttemptOrBuilder
The status of a task attempt.
Protobuf type google.cloud.tasks.v2.Attempt
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()
publicstaticAttemptgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticAttempt.BuildernewBuilder()
newBuilder(Attempt prototype)
publicstaticAttempt.BuildernewBuilder(Attemptprototype)
| Parameter |
| Name |
Description |
prototype |
Attempt
|
publicstaticAttemptparseDelimitedFrom(InputStreaminput)
publicstaticAttemptparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticAttemptparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticAttemptparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticAttemptparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticAttemptparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticAttemptparseFrom(CodedInputStreaminput)
publicstaticAttemptparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticAttemptparseFrom(InputStreaminput)
publicstaticAttemptparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticAttemptparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticAttemptparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<Attempt>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicAttemptgetDefaultInstanceForType()
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<Attempt>getParserForType()
Overrides
getResponseStatus()
publicStatusgetResponseStatus()
Output only. The response from the worker for this attempt.
If response_time is unset, then the task has not been attempted or is
currently running and the response_status field is meaningless.
.google.rpc.Status response_status = 4;
| Returns |
| Type |
Description |
com.google.rpc.Status |
The responseStatus.
|
getResponseStatusOrBuilder()
publicStatusOrBuildergetResponseStatusOrBuilder()
Output only. The response from the worker for this attempt.
If response_time is unset, then the task has not been attempted or is
currently running and the response_status field is meaningless.
.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 worker for this attempt.
If response_time is unset, then the task has not been attempted or is
currently running and the response_status field is meaningless.
.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()
publicAttempt.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedAttempt.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicAttempt.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides