Class 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 AsyncOperationOrBuilder
    Protobuf type temporal.api.cloud.operation.v1.AsyncOperation
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  AsyncOperation.Builder
      Protobuf type temporal.api.cloud.operation.v1.AsyncOperation
      static class  AsyncOperation.State
      Protobuf enum temporal.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
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      com.google.protobuf.Duration getCheckDuration()
      The recommended duration to check back for an update in the operation's state.
      com.google.protobuf.DurationOrBuilder getCheckDurationOrBuilder()
      The recommended duration to check back for an update in the operation's state.
      static AsyncOperation getDefaultInstance()  
      AsyncOperation getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      java.lang.String getFailureReason()
      If the operation failed, the reason for the failure.
      com.google.protobuf.ByteString getFailureReasonBytes()
      If the operation failed, the reason for the failure.
      com.google.protobuf.Timestamp getFinishedTime()
      The date and time when the operation completed.
      com.google.protobuf.TimestampOrBuilder getFinishedTimeOrBuilder()
      The date and time when the operation completed.
      java.lang.String getId()
      The operation id.
      com.google.protobuf.ByteString getIdBytes()
      The operation id.
      com.google.protobuf.Any getOperationInput()
      The input to the operation being performed.
      com.google.protobuf.AnyOrBuilder getOperationInputOrBuilder()
      The input to the operation being performed.
      java.lang.String getOperationType()
      The type of operation being performed.
      com.google.protobuf.ByteString getOperationTypeBytes()
      The type of operation being performed.
      com.google.protobuf.Parser<AsyncOperation> getParserForType()  
      int getSerializedSize()  
      com.google.protobuf.Timestamp getStartedTime()
      The date and time when the operation initiated.
      com.google.protobuf.TimestampOrBuilder getStartedTimeOrBuilder()
      The date and time when the operation initiated.
      AsyncOperation.State getState()
      The current state of this operation.
      java.lang.String getStateDeprecated()
      Deprecated.
      temporal.api.cloud.operation.v1.AsyncOperation.state_deprecated is deprecated.
      com.google.protobuf.ByteString getStateDeprecatedBytes()
      Deprecated.
      temporal.api.cloud.operation.v1.AsyncOperation.state_deprecated is deprecated.
      int getStateValue()
      The current state of this operation.
      boolean hasCheckDuration()
      The recommended duration to check back for an update in the operation's state.
      boolean hasFinishedTime()
      The date and time when the operation completed.
      int hashCode()  
      boolean hasOperationInput()
      The input to the operation being performed.
      boolean hasStartedTime()
      The date and time when the operation initiated.
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      static AsyncOperation.Builder newBuilder()  
      static AsyncOperation.Builder newBuilder​(AsyncOperation prototype)  
      AsyncOperation.Builder newBuilderForType()  
      protected AsyncOperation.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)  
      protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)  
      static AsyncOperation parseDelimitedFrom​(java.io.InputStream input)  
      static AsyncOperation parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static AsyncOperation parseFrom​(byte[] data)  
      static AsyncOperation parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static AsyncOperation parseFrom​(com.google.protobuf.ByteString data)  
      static AsyncOperation parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static AsyncOperation parseFrom​(com.google.protobuf.CodedInputStream input)  
      static AsyncOperation parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static AsyncOperation parseFrom​(java.io.InputStream input)  
      static AsyncOperation parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static AsyncOperation parseFrom​(java.nio.ByteBuffer data)  
      static AsyncOperation parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<AsyncOperation> parser()  
      AsyncOperation.Builder toBuilder()  
      void writeTo​(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
      • Methods inherited from interface com.google.protobuf.MessageLite

        toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getId

        public java.lang.String getId()
         The operation id.
         
        string id = 1;
        Specified by:
        getId in interface AsyncOperationOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         The operation id.
         
        string id = 1;
        Specified by:
        getIdBytes in interface AsyncOperationOrBuilder
        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=22
         The 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:
        getStateDeprecated in interface AsyncOperationOrBuilder
        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=22
         The 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:
        getStateDeprecatedBytes in interface AsyncOperationOrBuilder
        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:
        getStateValue in interface AsyncOperationOrBuilder
        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=v0.3.0
         temporal:enums:replaces=state_deprecated
         
        .temporal.api.cloud.operation.v1.AsyncOperation.State state = 9;
        Specified by:
        getState in interface AsyncOperationOrBuilder
        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:
        hasCheckDuration in interface AsyncOperationOrBuilder
        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:
        getCheckDuration in interface AsyncOperationOrBuilder
        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:
        getCheckDurationOrBuilder in interface AsyncOperationOrBuilder
      • getOperationType

        public java.lang.String getOperationType()
         The type of operation being performed.
         
        string operation_type = 4;
        Specified by:
        getOperationType in interface AsyncOperationOrBuilder
        Returns:
        The operationType.
      • getOperationTypeBytes

        public com.google.protobuf.ByteString getOperationTypeBytes()
         The type of operation being performed.
         
        string operation_type = 4;
        Specified by:
        getOperationTypeBytes in interface AsyncOperationOrBuilder
        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:
        hasOperationInput in interface AsyncOperationOrBuilder
        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:
        getOperationInput in interface AsyncOperationOrBuilder
        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:
        getOperationInputOrBuilder in interface AsyncOperationOrBuilder
      • getFailureReason

        public java.lang.String getFailureReason()
         If the operation failed, the reason for the failure.
         
        string failure_reason = 6;
        Specified by:
        getFailureReason in interface AsyncOperationOrBuilder
        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:
        getFailureReasonBytes in interface AsyncOperationOrBuilder
        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:
        hasStartedTime in interface AsyncOperationOrBuilder
        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:
        getStartedTime in interface AsyncOperationOrBuilder
        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:
        getStartedTimeOrBuilder in interface AsyncOperationOrBuilder
      • hasFinishedTime

        public boolean hasFinishedTime()
         The date and time when the operation completed.
         
        .google.protobuf.Timestamp finished_time = 8;
        Specified by:
        hasFinishedTime in interface AsyncOperationOrBuilder
        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:
        getFinishedTime in interface AsyncOperationOrBuilder
        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:
        getFinishedTimeOrBuilder in interface AsyncOperationOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public AsyncOperation.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected AsyncOperation.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.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:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public AsyncOperation getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder