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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type temporal.api.cloud.operation.v1.AsyncOperation
    static enum 
    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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    com.google.protobuf.Duration
    The recommended duration to check back for an update in the operation's state.
    com.google.protobuf.DurationOrBuilder
    The recommended duration to check back for an update in the operation's state.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    If the operation failed, the reason for the failure.
    com.google.protobuf.ByteString
    If the operation failed, the reason for the failure.
    com.google.protobuf.Timestamp
    The date and time when the operation completed.
    com.google.protobuf.TimestampOrBuilder
    The date and time when the operation completed.
    The operation id.
    com.google.protobuf.ByteString
    The operation id.
    com.google.protobuf.Any
    The input to the operation being performed.
    com.google.protobuf.AnyOrBuilder
    The input to the operation being performed.
    The type of operation being performed.
    com.google.protobuf.ByteString
    The type of operation being performed.
    com.google.protobuf.Parser<AsyncOperation>
     
    int
     
    com.google.protobuf.Timestamp
    The date and time when the operation initiated.
    com.google.protobuf.TimestampOrBuilder
    The date and time when the operation initiated.
    The current state of this operation.
    Deprecated.
    temporal.api.cloud.operation.v1.AsyncOperation.state_deprecated is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    temporal.api.cloud.operation.v1.AsyncOperation.state_deprecated is deprecated.
    int
    The current state of this operation.
    boolean
    The recommended duration to check back for an update in the operation's state.
    boolean
    The date and time when the operation completed.
    int
     
    boolean
    The input to the operation being performed.
    boolean
    The date and time when the operation initiated.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<AsyncOperation>
     
     
    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
  • 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

      protected 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 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 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 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 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 IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      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(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(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

      public static AsyncOperation parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AsyncOperation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AsyncOperation parseDelimitedFrom(InputStream input) throws IOException
      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

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

      public static AsyncOperation.Builder newBuilder()
    • newBuilder

      public static AsyncOperation.Builder newBuilder(AsyncOperation prototype)
    • 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