Class NexusOperationFailureInfo

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

@Generated(value="protoc", comments="annotations:NexusOperationFailureInfo.java.pb.meta") public final class NexusOperationFailureInfo extends com.google.protobuf.GeneratedMessageV3 implements NexusOperationFailureInfoOrBuilder
 Representation of the Temporal SDK NexusOperationError object that is returned to workflow callers.
 
Protobuf type temporal.api.failure.v1.NexusOperationFailureInfo
See Also:
  • Field Details

    • SCHEDULED_EVENT_ID_FIELD_NUMBER

      public static final int SCHEDULED_EVENT_ID_FIELD_NUMBER
      See Also:
    • ENDPOINT_FIELD_NUMBER

      public static final int ENDPOINT_FIELD_NUMBER
      See Also:
    • SERVICE_FIELD_NUMBER

      public static final int SERVICE_FIELD_NUMBER
      See Also:
    • OPERATION_FIELD_NUMBER

      public static final int OPERATION_FIELD_NUMBER
      See Also:
    • OPERATION_ID_FIELD_NUMBER

      public static final int OPERATION_ID_FIELD_NUMBER
      See Also:
    • OPERATION_TOKEN_FIELD_NUMBER

      public static final int OPERATION_TOKEN_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
    • getScheduledEventId

      public long getScheduledEventId()
       The NexusOperationScheduled event ID.
       
      int64 scheduled_event_id = 1;
      Specified by:
      getScheduledEventId in interface NexusOperationFailureInfoOrBuilder
      Returns:
      The scheduledEventId.
    • getEndpoint

      public String getEndpoint()
       Endpoint name.
       
      string endpoint = 2;
      Specified by:
      getEndpoint in interface NexusOperationFailureInfoOrBuilder
      Returns:
      The endpoint.
    • getEndpointBytes

      public com.google.protobuf.ByteString getEndpointBytes()
       Endpoint name.
       
      string endpoint = 2;
      Specified by:
      getEndpointBytes in interface NexusOperationFailureInfoOrBuilder
      Returns:
      The bytes for endpoint.
    • getService

      public String getService()
       Service name.
       
      string service = 3;
      Specified by:
      getService in interface NexusOperationFailureInfoOrBuilder
      Returns:
      The service.
    • getServiceBytes

      public com.google.protobuf.ByteString getServiceBytes()
       Service name.
       
      string service = 3;
      Specified by:
      getServiceBytes in interface NexusOperationFailureInfoOrBuilder
      Returns:
      The bytes for service.
    • getOperation

      public String getOperation()
       Operation name.
       
      string operation = 4;
      Specified by:
      getOperation in interface NexusOperationFailureInfoOrBuilder
      Returns:
      The operation.
    • getOperationBytes

      public com.google.protobuf.ByteString getOperationBytes()
       Operation name.
       
      string operation = 4;
      Specified by:
      getOperationBytes in interface NexusOperationFailureInfoOrBuilder
      Returns:
      The bytes for operation.
    • getOperationId

      @Deprecated public String getOperationId()
      Deprecated.
      temporal.api.failure.v1.NexusOperationFailureInfo.operation_id is deprecated. See temporal/api/failure/v1/message.proto;l=85
       Operation ID - may be empty if the operation completed synchronously.
      
       Deprecated. Renamed to operation_token.
       
      string operation_id = 5 [deprecated = true];
      Specified by:
      getOperationId in interface NexusOperationFailureInfoOrBuilder
      Returns:
      The operationId.
    • getOperationIdBytes

      @Deprecated public com.google.protobuf.ByteString getOperationIdBytes()
      Deprecated.
      temporal.api.failure.v1.NexusOperationFailureInfo.operation_id is deprecated. See temporal/api/failure/v1/message.proto;l=85
       Operation ID - may be empty if the operation completed synchronously.
      
       Deprecated. Renamed to operation_token.
       
      string operation_id = 5 [deprecated = true];
      Specified by:
      getOperationIdBytes in interface NexusOperationFailureInfoOrBuilder
      Returns:
      The bytes for operationId.
    • getOperationToken

      public String getOperationToken()
       Operation token - may be empty if the operation completed synchronously.
       
      string operation_token = 6;
      Specified by:
      getOperationToken in interface NexusOperationFailureInfoOrBuilder
      Returns:
      The operationToken.
    • getOperationTokenBytes

      public com.google.protobuf.ByteString getOperationTokenBytes()
       Operation token - may be empty if the operation completed synchronously.
       
      string operation_token = 6;
      Specified by:
      getOperationTokenBytes in interface NexusOperationFailureInfoOrBuilder
      Returns:
      The bytes for operationToken.
    • 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 NexusOperationFailureInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static NexusOperationFailureInfo.Builder newBuilder()
    • newBuilder

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

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static NexusOperationFailureInfo getDefaultInstance()
    • parser

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

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