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,java.io.Serializable
@Generated(value="protoc", comments="annotations:AsyncOperation.java.pb.meta") public final class AsyncOperation extends com.google.protobuf.GeneratedMessageV3 implements AsyncOperationOrBuilderProtobuf typetemporal.api.cloud.operation.v1.AsyncOperation- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAsyncOperation.BuilderProtobuf typetemporal.api.cloud.operation.v1.AsyncOperationstatic classAsyncOperation.StateProtobuf enumtemporal.api.cloud.operation.v1.AsyncOperation.State-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intCHECK_DURATION_FIELD_NUMBERstatic intFAILURE_REASON_FIELD_NUMBERstatic intFINISHED_TIME_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intOPERATION_INPUT_FIELD_NUMBERstatic intOPERATION_TYPE_FIELD_NUMBERstatic intSTARTED_TIME_FIELD_NUMBERstatic intSTATE_DEPRECATED_FIELD_NUMBERstatic intSTATE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)com.google.protobuf.DurationgetCheckDuration()The recommended duration to check back for an update in the operation's state.com.google.protobuf.DurationOrBuildergetCheckDurationOrBuilder()The recommended duration to check back for an update in the operation's state.static AsyncOperationgetDefaultInstance()AsyncOperationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.lang.StringgetFailureReason()If the operation failed, the reason for the failure.com.google.protobuf.ByteStringgetFailureReasonBytes()If the operation failed, the reason for the failure.com.google.protobuf.TimestampgetFinishedTime()The date and time when the operation completed.com.google.protobuf.TimestampOrBuildergetFinishedTimeOrBuilder()The date and time when the operation completed.java.lang.StringgetId()The operation id.com.google.protobuf.ByteStringgetIdBytes()The operation id.com.google.protobuf.AnygetOperationInput()The input to the operation being performed.com.google.protobuf.AnyOrBuildergetOperationInputOrBuilder()The input to the operation being performed.java.lang.StringgetOperationType()The type of operation being performed.com.google.protobuf.ByteStringgetOperationTypeBytes()The type of operation being performed.com.google.protobuf.Parser<AsyncOperation>getParserForType()intgetSerializedSize()com.google.protobuf.TimestampgetStartedTime()The date and time when the operation initiated.com.google.protobuf.TimestampOrBuildergetStartedTimeOrBuilder()The date and time when the operation initiated.AsyncOperation.StategetState()The current state of this operation.java.lang.StringgetStateDeprecated()Deprecated.temporal.api.cloud.operation.v1.AsyncOperation.state_deprecated is deprecated.com.google.protobuf.ByteStringgetStateDeprecatedBytes()Deprecated.temporal.api.cloud.operation.v1.AsyncOperation.state_deprecated is deprecated.intgetStateValue()The current state of this operation.booleanhasCheckDuration()The recommended duration to check back for an update in the operation's state.booleanhasFinishedTime()The date and time when the operation completed.inthashCode()booleanhasOperationInput()The input to the operation being performed.booleanhasStartedTime()The date and time when the operation initiated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static AsyncOperation.BuildernewBuilder()static AsyncOperation.BuildernewBuilder(AsyncOperation prototype)AsyncOperation.BuildernewBuilderForType()protected AsyncOperation.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AsyncOperationparseDelimitedFrom(java.io.InputStream input)static AsyncOperationparseDelimitedFrom(java.io.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(java.io.InputStream input)static AsyncOperationparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AsyncOperationparseFrom(java.nio.ByteBuffer data)static AsyncOperationparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<AsyncOperation>parser()AsyncOperation.BuildertoBuilder()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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_DEPRECATED_FIELD_NUMBER
public static final int STATE_DEPRECATED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CHECK_DURATION_FIELD_NUMBER
public static final int CHECK_DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPERATION_TYPE_FIELD_NUMBER
public static final int OPERATION_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPERATION_INPUT_FIELD_NUMBER
public static final int OPERATION_INPUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FAILURE_REASON_FIELD_NUMBER
public static final int FAILURE_REASON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STARTED_TIME_FIELD_NUMBER
public static final int STARTED_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FINISHED_TIME_FIELD_NUMBER
public static final int FINISHED_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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
public java.lang.String 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 public java.lang.String 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 2024-10-01-00 api version. Use state instead. temporal:versioning:max_version=2024-10-01-00
string state_deprecated = 2 [deprecated = true];- Specified by:
getStateDeprecatedin interfaceAsyncOperationOrBuilder- Returns:
- The stateDeprecated.
-
getStateDeprecatedBytes
@Deprecated public com.google.protobuf.ByteString 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 2024-10-01-00 api version. Use state instead. temporal:versioning:max_version=2024-10-01-00
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=2024-10-01-00 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
public AsyncOperation.State getState()
The current state of this operation. temporal:versioning:min_version=2024-10-01-00 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
public java.lang.String 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
public java.lang.String 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
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AsyncOperation parseFrom(java.nio.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
public static AsyncOperation parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AsyncOperation parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AsyncOperation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AsyncOperation parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AsyncOperation parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AsyncOperation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public AsyncOperation.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AsyncOperation.Builder newBuilder()
-
newBuilder
public static AsyncOperation.Builder newBuilder(AsyncOperation prototype)
-
toBuilder
public AsyncOperation.Builder 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
public static AsyncOperation getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AsyncOperation> parser()
-
getParserForType
public com.google.protobuf.Parser<AsyncOperation> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AsyncOperation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-