Class StartOperationResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.nexus.v1.StartOperationResponse
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, StartOperationResponseOrBuilder, Serializable

@Generated(value="protoc", comments="annotations:StartOperationResponse.java.pb.meta") public final class StartOperationResponse extends com.google.protobuf.GeneratedMessageV3 implements StartOperationResponseOrBuilder
 Response variant for StartOperationRequest.
 
Protobuf type temporal.api.nexus.v1.StartOperationResponse
See Also:
  • Field Details

    • SYNC_SUCCESS_FIELD_NUMBER

      public static final int SYNC_SUCCESS_FIELD_NUMBER
      See Also:
    • ASYNC_SUCCESS_FIELD_NUMBER

      public static final int ASYNC_SUCCESS_FIELD_NUMBER
      See Also:
    • OPERATION_ERROR_FIELD_NUMBER

      public static final int OPERATION_ERROR_FIELD_NUMBER
      See Also:
    • FAILURE_FIELD_NUMBER

      public static final int FAILURE_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
    • getVariantCase

      public StartOperationResponse.VariantCase getVariantCase()
      Specified by:
      getVariantCase in interface StartOperationResponseOrBuilder
    • hasSyncSuccess

      public boolean hasSyncSuccess()
      .temporal.api.nexus.v1.StartOperationResponse.Sync sync_success = 1;
      Specified by:
      hasSyncSuccess in interface StartOperationResponseOrBuilder
      Returns:
      Whether the syncSuccess field is set.
    • getSyncSuccess

      public StartOperationResponse.Sync getSyncSuccess()
      .temporal.api.nexus.v1.StartOperationResponse.Sync sync_success = 1;
      Specified by:
      getSyncSuccess in interface StartOperationResponseOrBuilder
      Returns:
      The syncSuccess.
    • getSyncSuccessOrBuilder

      public StartOperationResponse.SyncOrBuilder getSyncSuccessOrBuilder()
      .temporal.api.nexus.v1.StartOperationResponse.Sync sync_success = 1;
      Specified by:
      getSyncSuccessOrBuilder in interface StartOperationResponseOrBuilder
    • hasAsyncSuccess

      public boolean hasAsyncSuccess()
      .temporal.api.nexus.v1.StartOperationResponse.Async async_success = 2;
      Specified by:
      hasAsyncSuccess in interface StartOperationResponseOrBuilder
      Returns:
      Whether the asyncSuccess field is set.
    • getAsyncSuccess

      public StartOperationResponse.Async getAsyncSuccess()
      .temporal.api.nexus.v1.StartOperationResponse.Async async_success = 2;
      Specified by:
      getAsyncSuccess in interface StartOperationResponseOrBuilder
      Returns:
      The asyncSuccess.
    • getAsyncSuccessOrBuilder

      public StartOperationResponse.AsyncOrBuilder getAsyncSuccessOrBuilder()
      .temporal.api.nexus.v1.StartOperationResponse.Async async_success = 2;
      Specified by:
      getAsyncSuccessOrBuilder in interface StartOperationResponseOrBuilder
    • hasOperationError

      @Deprecated public boolean hasOperationError()
      Deprecated.
      temporal.api.nexus.v1.StartOperationResponse.operation_error is deprecated. See temporal/api/nexus/v1/message.proto;l=134
       The operation completed unsuccessfully (failed or canceled).
       Deprecated. Use the failure variant instead.
       
      .temporal.api.nexus.v1.UnsuccessfulOperationError operation_error = 3 [deprecated = true];
      Specified by:
      hasOperationError in interface StartOperationResponseOrBuilder
      Returns:
      Whether the operationError field is set.
    • getOperationError

      @Deprecated public UnsuccessfulOperationError getOperationError()
      Deprecated.
      temporal.api.nexus.v1.StartOperationResponse.operation_error is deprecated. See temporal/api/nexus/v1/message.proto;l=134
       The operation completed unsuccessfully (failed or canceled).
       Deprecated. Use the failure variant instead.
       
      .temporal.api.nexus.v1.UnsuccessfulOperationError operation_error = 3 [deprecated = true];
      Specified by:
      getOperationError in interface StartOperationResponseOrBuilder
      Returns:
      The operationError.
    • getOperationErrorOrBuilder

      @Deprecated public UnsuccessfulOperationErrorOrBuilder getOperationErrorOrBuilder()
      Deprecated.
       The operation completed unsuccessfully (failed or canceled).
       Deprecated. Use the failure variant instead.
       
      .temporal.api.nexus.v1.UnsuccessfulOperationError operation_error = 3 [deprecated = true];
      Specified by:
      getOperationErrorOrBuilder in interface StartOperationResponseOrBuilder
    • hasFailure

      public boolean hasFailure()
       The operation completed unsuccessfully (failed or canceled).
       Failure object must contain an ApplicationFailureInfo or CanceledFailureInfo object.
       
      .temporal.api.failure.v1.Failure failure = 4;
      Specified by:
      hasFailure in interface StartOperationResponseOrBuilder
      Returns:
      Whether the failure field is set.
    • getFailure

      public Failure getFailure()
       The operation completed unsuccessfully (failed or canceled).
       Failure object must contain an ApplicationFailureInfo or CanceledFailureInfo object.
       
      .temporal.api.failure.v1.Failure failure = 4;
      Specified by:
      getFailure in interface StartOperationResponseOrBuilder
      Returns:
      The failure.
    • getFailureOrBuilder

      public FailureOrBuilder getFailureOrBuilder()
       The operation completed unsuccessfully (failed or canceled).
       Failure object must contain an ApplicationFailureInfo or CanceledFailureInfo object.
       
      .temporal.api.failure.v1.Failure failure = 4;
      Specified by:
      getFailureOrBuilder in interface StartOperationResponseOrBuilder
    • 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 StartOperationResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StartOperationResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StartOperationResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StartOperationResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StartOperationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StartOperationResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static StartOperationResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static StartOperationResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StartOperationResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static StartOperationResponse.Builder newBuilder()
    • newBuilder

      public static StartOperationResponse.Builder newBuilder(StartOperationResponse prototype)
    • toBuilder

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

      protected StartOperationResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static StartOperationResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<StartOperationResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<StartOperationResponse> 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 StartOperationResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder