Class RespondNexusTaskFailedRequest

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

@Generated(value="protoc", comments="annotations:RespondNexusTaskFailedRequest.java.pb.meta") public final class RespondNexusTaskFailedRequest extends com.google.protobuf.GeneratedMessageV3 implements RespondNexusTaskFailedRequestOrBuilder
Protobuf type temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest
See Also:
  • Field Details

  • 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
    • getNamespace

      public String getNamespace()
      string namespace = 1;
      Specified by:
      getNamespace in interface RespondNexusTaskFailedRequestOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
      string namespace = 1;
      Specified by:
      getNamespaceBytes in interface RespondNexusTaskFailedRequestOrBuilder
      Returns:
      The bytes for namespace.
    • getIdentity

      public String getIdentity()
       The identity of the client who initiated this request.
       
      string identity = 2;
      Specified by:
      getIdentity in interface RespondNexusTaskFailedRequestOrBuilder
      Returns:
      The identity.
    • getIdentityBytes

      public com.google.protobuf.ByteString getIdentityBytes()
       The identity of the client who initiated this request.
       
      string identity = 2;
      Specified by:
      getIdentityBytes in interface RespondNexusTaskFailedRequestOrBuilder
      Returns:
      The bytes for identity.
    • getTaskToken

      public com.google.protobuf.ByteString getTaskToken()
       A unique identifier for this task.
       
      bytes task_token = 3;
      Specified by:
      getTaskToken in interface RespondNexusTaskFailedRequestOrBuilder
      Returns:
      The taskToken.
    • hasError

      @Deprecated public boolean hasError()
      Deprecated.
      temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest.error is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2081
       Deprecated. Use the failure field instead.
       
      .temporal.api.nexus.v1.HandlerError error = 4 [deprecated = true];
      Specified by:
      hasError in interface RespondNexusTaskFailedRequestOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      @Deprecated public HandlerError getError()
      Deprecated.
      temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest.error is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2081
       Deprecated. Use the failure field instead.
       
      .temporal.api.nexus.v1.HandlerError error = 4 [deprecated = true];
      Specified by:
      getError in interface RespondNexusTaskFailedRequestOrBuilder
      Returns:
      The error.
    • getErrorOrBuilder

      @Deprecated public HandlerErrorOrBuilder getErrorOrBuilder()
      Deprecated.
       Deprecated. Use the failure field instead.
       
      .temporal.api.nexus.v1.HandlerError error = 4 [deprecated = true];
      Specified by:
      getErrorOrBuilder in interface RespondNexusTaskFailedRequestOrBuilder
    • hasFailure

      public boolean hasFailure()
       The error the handler failed with. Must contain a NexusHandlerFailureInfo object.
       
      .temporal.api.failure.v1.Failure failure = 5;
      Specified by:
      hasFailure in interface RespondNexusTaskFailedRequestOrBuilder
      Returns:
      Whether the failure field is set.
    • getFailure

      public Failure getFailure()
       The error the handler failed with. Must contain a NexusHandlerFailureInfo object.
       
      .temporal.api.failure.v1.Failure failure = 5;
      Specified by:
      getFailure in interface RespondNexusTaskFailedRequestOrBuilder
      Returns:
      The failure.
    • getFailureOrBuilder

      public FailureOrBuilder getFailureOrBuilder()
       The error the handler failed with. Must contain a NexusHandlerFailureInfo object.
       
      .temporal.api.failure.v1.Failure failure = 5;
      Specified by:
      getFailureOrBuilder in interface RespondNexusTaskFailedRequestOrBuilder
    • getPollerGroupId

      public String getPollerGroupId()
       Client must forward the poller_group_id received in PollNexusTaskQueueResponse for proper
       routing of the response.
       
      string poller_group_id = 6;
      Specified by:
      getPollerGroupId in interface RespondNexusTaskFailedRequestOrBuilder
      Returns:
      The pollerGroupId.
    • getPollerGroupIdBytes

      public com.google.protobuf.ByteString getPollerGroupIdBytes()
       Client must forward the poller_group_id received in PollNexusTaskQueueResponse for proper
       routing of the response.
       
      string poller_group_id = 6;
      Specified by:
      getPollerGroupIdBytes in interface RespondNexusTaskFailedRequestOrBuilder
      Returns:
      The bytes for pollerGroupId.
    • 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 RespondNexusTaskFailedRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static RespondNexusTaskFailedRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static RespondNexusTaskFailedRequest getDefaultInstance()
    • parser

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

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