public final class Attempt extends com.google.protobuf.GeneratedMessageV3 implements AttemptOrBuilder
The status of a task attempt.Protobuf type
google.cloud.tasks.v2.Attempt| Modifier and Type | Class and Description |
|---|---|
static class |
Attempt.Builder
The status of a task attempt.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DISPATCH_TIME_FIELD_NUMBER |
static int |
RESPONSE_STATUS_FIELD_NUMBER |
static int |
RESPONSE_TIME_FIELD_NUMBER |
static int |
SCHEDULE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Attempt |
getDefaultInstance() |
Attempt |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getDispatchTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getDispatchTimeOrBuilder()
Output only.
|
com.google.protobuf.Parser<Attempt> |
getParserForType() |
com.google.rpc.Status |
getResponseStatus()
Output only.
|
com.google.rpc.StatusOrBuilder |
getResponseStatusOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getResponseTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getResponseTimeOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getScheduleTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getScheduleTimeOrBuilder()
Output only.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDispatchTime()
Output only.
|
int |
hashCode() |
boolean |
hasResponseStatus()
Output only.
|
boolean |
hasResponseTime()
Output only.
|
boolean |
hasScheduleTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Attempt.Builder |
newBuilder() |
static Attempt.Builder |
newBuilder(Attempt prototype) |
Attempt.Builder |
newBuilderForType() |
protected Attempt.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Attempt |
parseDelimitedFrom(InputStream input) |
static Attempt |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Attempt |
parseFrom(byte[] data) |
static Attempt |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Attempt |
parseFrom(ByteBuffer data) |
static Attempt |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Attempt |
parseFrom(com.google.protobuf.ByteString data) |
static Attempt |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Attempt |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Attempt |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Attempt |
parseFrom(InputStream input) |
static Attempt |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Attempt> |
parser() |
Attempt.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SCHEDULE_TIME_FIELD_NUMBER
public static final int DISPATCH_TIME_FIELD_NUMBER
public static final int RESPONSE_TIME_FIELD_NUMBER
public static final int RESPONSE_STATUS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasScheduleTime()
Output only. The time that this attempt was scheduled. `schedule_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp schedule_time = 1;hasScheduleTime in interface AttemptOrBuilderpublic com.google.protobuf.Timestamp getScheduleTime()
Output only. The time that this attempt was scheduled. `schedule_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp schedule_time = 1;getScheduleTime in interface AttemptOrBuilderpublic com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder()
Output only. The time that this attempt was scheduled. `schedule_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp schedule_time = 1;getScheduleTimeOrBuilder in interface AttemptOrBuilderpublic boolean hasDispatchTime()
Output only. The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp dispatch_time = 2;hasDispatchTime in interface AttemptOrBuilderpublic com.google.protobuf.Timestamp getDispatchTime()
Output only. The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp dispatch_time = 2;getDispatchTime in interface AttemptOrBuilderpublic com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder()
Output only. The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp dispatch_time = 2;getDispatchTimeOrBuilder in interface AttemptOrBuilderpublic boolean hasResponseTime()
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;hasResponseTime in interface AttemptOrBuilderpublic com.google.protobuf.Timestamp getResponseTime()
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;getResponseTime in interface AttemptOrBuilderpublic com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder()
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;getResponseTimeOrBuilder in interface AttemptOrBuilderpublic boolean hasResponseStatus()
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;hasResponseStatus in interface AttemptOrBuilderpublic com.google.rpc.Status getResponseStatus()
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;getResponseStatus in interface AttemptOrBuilderpublic com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder()
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;getResponseStatusOrBuilder in interface AttemptOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Attempt parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Attempt parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Attempt parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Attempt parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Attempt parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Attempt parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Attempt parseFrom(InputStream input) throws IOException
IOExceptionpublic static Attempt parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Attempt parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Attempt parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Attempt parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Attempt parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Attempt.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Attempt.Builder newBuilder()
public static Attempt.Builder newBuilder(Attempt prototype)
public Attempt.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Attempt.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Attempt getDefaultInstance()
public static com.google.protobuf.Parser<Attempt> parser()
public com.google.protobuf.Parser<Attempt> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Attempt getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.