Class AsyncOperation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.cloud.operation.v1.AsyncOperation
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AsyncOperationOrBuilder,Serializable
@Generated(value="protoc",
comments="annotations:AsyncOperation.java.pb.meta")
public final class AsyncOperation
extends com.google.protobuf.GeneratedMessageV3
implements AsyncOperationOrBuilder
Protobuf type
temporal.api.cloud.operation.v1.AsyncOperation- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typetemporal.api.cloud.operation.v1.AsyncOperationstatic enumProtobuf enumtemporal.api.cloud.operation.v1.AsyncOperation.StateNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.DurationThe recommended duration to check back for an update in the operation's state.com.google.protobuf.DurationOrBuilderThe recommended duration to check back for an update in the operation's state.static AsyncOperationstatic final com.google.protobuf.Descriptors.DescriptorIf the operation failed, the reason for the failure.com.google.protobuf.ByteStringIf the operation failed, the reason for the failure.com.google.protobuf.TimestampThe date and time when the operation completed.com.google.protobuf.TimestampOrBuilderThe date and time when the operation completed.getId()The operation id.com.google.protobuf.ByteStringThe operation id.com.google.protobuf.AnyThe input to the operation being performed.com.google.protobuf.AnyOrBuilderThe input to the operation being performed.The type of operation being performed.com.google.protobuf.ByteStringThe type of operation being performed.com.google.protobuf.Parser<AsyncOperation> intcom.google.protobuf.TimestampThe date and time when the operation initiated.com.google.protobuf.TimestampOrBuilderThe date and time when the operation initiated.getState()The current state of this operation.Deprecated.temporal.api.cloud.operation.v1.AsyncOperation.state_deprecated is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.cloud.operation.v1.AsyncOperation.state_deprecated is deprecated.intThe current state of this operation.booleanThe recommended duration to check back for an update in the operation's state.booleanThe date and time when the operation completed.inthashCode()booleanThe input to the operation being performed.booleanThe date and time when the operation initiated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic AsyncOperation.Builderstatic AsyncOperation.BuildernewBuilder(AsyncOperation prototype) protected AsyncOperation.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static AsyncOperationparseDelimitedFrom(InputStream input) static AsyncOperationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AsyncOperationparseFrom(byte[] data) static AsyncOperationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AsyncOperationparseFrom(com.google.protobuf.ByteString data) static AsyncOperationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AsyncOperationparseFrom(com.google.protobuf.CodedInputStream input) static AsyncOperationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AsyncOperationparseFrom(InputStream input) static AsyncOperationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AsyncOperationparseFrom(ByteBuffer data) static AsyncOperationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AsyncOperation> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
STATE_DEPRECATED_FIELD_NUMBER
public static final int STATE_DEPRECATED_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
CHECK_DURATION_FIELD_NUMBER
public static final int CHECK_DURATION_FIELD_NUMBER- See Also:
-
OPERATION_TYPE_FIELD_NUMBER
public static final int OPERATION_TYPE_FIELD_NUMBER- See Also:
-
OPERATION_INPUT_FIELD_NUMBER
public static final int OPERATION_INPUT_FIELD_NUMBER- See Also:
-
FAILURE_REASON_FIELD_NUMBER
public static final int FAILURE_REASON_FIELD_NUMBER- See Also:
-
STARTED_TIME_FIELD_NUMBER
public static final int STARTED_TIME_FIELD_NUMBER- See Also:
-
FINISHED_TIME_FIELD_NUMBER
public static final int FINISHED_TIME_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getId
The operation id.
string id = 1;- Specified by:
getIdin interfaceAsyncOperationOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()The operation id.
string id = 1;- Specified by:
getIdBytesin interfaceAsyncOperationOrBuilder- Returns:
- The bytes for id.
-
getStateDeprecated
Deprecated.temporal.api.cloud.operation.v1.AsyncOperation.state_deprecated is deprecated. See temporal/api/cloud/operation/v1/message.proto;l=22The current state of this operation. Possible values are: pending, in_progress, failed, cancelled, fulfilled. Deprecated: Not supported after v0.3.0 api version. Use state instead. temporal:versioning:max_version=v0.3.0
string state_deprecated = 2 [deprecated = true];- Specified by:
getStateDeprecatedin interfaceAsyncOperationOrBuilder- Returns:
- The stateDeprecated.
-
getStateDeprecatedBytes
Deprecated.temporal.api.cloud.operation.v1.AsyncOperation.state_deprecated is deprecated. See temporal/api/cloud/operation/v1/message.proto;l=22The current state of this operation. Possible values are: pending, in_progress, failed, cancelled, fulfilled. Deprecated: Not supported after v0.3.0 api version. Use state instead. temporal:versioning:max_version=v0.3.0
string state_deprecated = 2 [deprecated = true];- Specified by:
getStateDeprecatedBytesin interfaceAsyncOperationOrBuilder- Returns:
- The bytes for stateDeprecated.
-
getStateValue
public int getStateValue()The current state of this operation. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=state_deprecated
.temporal.api.cloud.operation.v1.AsyncOperation.State state = 9;- Specified by:
getStateValuein interfaceAsyncOperationOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
The current state of this operation. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=state_deprecated
.temporal.api.cloud.operation.v1.AsyncOperation.State state = 9;- Specified by:
getStatein interfaceAsyncOperationOrBuilder- Returns:
- The state.
-
hasCheckDuration
public boolean hasCheckDuration()The recommended duration to check back for an update in the operation's state.
.google.protobuf.Duration check_duration = 3;- Specified by:
hasCheckDurationin interfaceAsyncOperationOrBuilder- Returns:
- Whether the checkDuration field is set.
-
getCheckDuration
public com.google.protobuf.Duration getCheckDuration()The recommended duration to check back for an update in the operation's state.
.google.protobuf.Duration check_duration = 3;- Specified by:
getCheckDurationin interfaceAsyncOperationOrBuilder- Returns:
- The checkDuration.
-
getCheckDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getCheckDurationOrBuilder()The recommended duration to check back for an update in the operation's state.
.google.protobuf.Duration check_duration = 3;- Specified by:
getCheckDurationOrBuilderin interfaceAsyncOperationOrBuilder
-
getOperationType
The type of operation being performed.
string operation_type = 4;- Specified by:
getOperationTypein interfaceAsyncOperationOrBuilder- Returns:
- The operationType.
-
getOperationTypeBytes
public com.google.protobuf.ByteString getOperationTypeBytes()The type of operation being performed.
string operation_type = 4;- Specified by:
getOperationTypeBytesin interfaceAsyncOperationOrBuilder- Returns:
- The bytes for operationType.
-
hasOperationInput
public boolean hasOperationInput()The input to the operation being performed. (-- api-linter: core::0146::any=disabled --)
.google.protobuf.Any operation_input = 5;- Specified by:
hasOperationInputin interfaceAsyncOperationOrBuilder- Returns:
- Whether the operationInput field is set.
-
getOperationInput
public com.google.protobuf.Any getOperationInput()The input to the operation being performed. (-- api-linter: core::0146::any=disabled --)
.google.protobuf.Any operation_input = 5;- Specified by:
getOperationInputin interfaceAsyncOperationOrBuilder- Returns:
- The operationInput.
-
getOperationInputOrBuilder
public com.google.protobuf.AnyOrBuilder getOperationInputOrBuilder()The input to the operation being performed. (-- api-linter: core::0146::any=disabled --)
.google.protobuf.Any operation_input = 5;- Specified by:
getOperationInputOrBuilderin interfaceAsyncOperationOrBuilder
-
getFailureReason
If the operation failed, the reason for the failure.
string failure_reason = 6;- Specified by:
getFailureReasonin interfaceAsyncOperationOrBuilder- Returns:
- The failureReason.
-
getFailureReasonBytes
public com.google.protobuf.ByteString getFailureReasonBytes()If the operation failed, the reason for the failure.
string failure_reason = 6;- Specified by:
getFailureReasonBytesin interfaceAsyncOperationOrBuilder- Returns:
- The bytes for failureReason.
-
hasStartedTime
public boolean hasStartedTime()The date and time when the operation initiated.
.google.protobuf.Timestamp started_time = 7;- Specified by:
hasStartedTimein interfaceAsyncOperationOrBuilder- Returns:
- Whether the startedTime field is set.
-
getStartedTime
public com.google.protobuf.Timestamp getStartedTime()The date and time when the operation initiated.
.google.protobuf.Timestamp started_time = 7;- Specified by:
getStartedTimein interfaceAsyncOperationOrBuilder- Returns:
- The startedTime.
-
getStartedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartedTimeOrBuilder()The date and time when the operation initiated.
.google.protobuf.Timestamp started_time = 7;- Specified by:
getStartedTimeOrBuilderin interfaceAsyncOperationOrBuilder
-
hasFinishedTime
public boolean hasFinishedTime()The date and time when the operation completed.
.google.protobuf.Timestamp finished_time = 8;- Specified by:
hasFinishedTimein interfaceAsyncOperationOrBuilder- Returns:
- Whether the finishedTime field is set.
-
getFinishedTime
public com.google.protobuf.Timestamp getFinishedTime()The date and time when the operation completed.
.google.protobuf.Timestamp finished_time = 8;- Specified by:
getFinishedTimein interfaceAsyncOperationOrBuilder- Returns:
- The finishedTime.
-
getFinishedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getFinishedTimeOrBuilder()The date and time when the operation completed.
.google.protobuf.Timestamp finished_time = 8;- Specified by:
getFinishedTimeOrBuilderin interfaceAsyncOperationOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AsyncOperation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AsyncOperation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AsyncOperation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AsyncOperation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AsyncOperation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AsyncOperation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AsyncOperation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AsyncOperation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AsyncOperation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AsyncOperation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AsyncOperation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-