Class Request

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

@Generated(value="protoc", comments="annotations:Request.java.pb.meta") public final class Request extends com.google.protobuf.GeneratedMessageV3 implements RequestOrBuilder
 A Nexus request.
 
Protobuf type temporal.api.nexus.v1.Request
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    A Nexus request.
    static final class 
    Protobuf type temporal.api.nexus.v1.Request.Capabilities
    static interface 
     
    static enum 
     

    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
     

    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
    Headers extracted from the original request in the Temporal frontend.
    boolean
     
    .temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;
    .temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;
    .temporal.api.nexus.v1.Request.Capabilities capabilities = 100;
    .temporal.api.nexus.v1.Request.Capabilities capabilities = 100;
    static Request
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    The endpoint this request was addressed to before forwarding to the worker.
    com.google.protobuf.ByteString
    The endpoint this request was addressed to before forwarding to the worker.
    Deprecated.
    int
    Headers extracted from the original request in the Temporal frontend.
    Headers extracted from the original request in the Temporal frontend.
    getHeaderOrDefault(String key, String defaultValue)
    Headers extracted from the original request in the Temporal frontend.
    Headers extracted from the original request in the Temporal frontend.
    com.google.protobuf.Parser<Request>
     
    com.google.protobuf.Timestamp
    The timestamp when the request was scheduled in the frontend.
    com.google.protobuf.TimestampOrBuilder
    The timestamp when the request was scheduled in the frontend.
    int
     
    .temporal.api.nexus.v1.StartOperationRequest start_operation = 3;
    .temporal.api.nexus.v1.StartOperationRequest start_operation = 3;
     
    boolean
    .temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;
    boolean
    .temporal.api.nexus.v1.Request.Capabilities capabilities = 100;
    int
     
    boolean
    The timestamp when the request was scheduled in the frontend.
    boolean
    .temporal.api.nexus.v1.StartOperationRequest start_operation = 3;
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    protected com.google.protobuf.MapFieldReflectionAccessor
     
    final boolean
     
     
    newBuilder(Request prototype)
     
     
    protected Request.Builder
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static Request
     
    static Request
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Request
    parseFrom(byte[] data)
     
    static Request
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Request
    parseFrom(com.google.protobuf.ByteString data)
     
    static Request
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Request
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Request
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Request
     
    static Request
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Request
     
    static Request
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Request>
     
     
    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, 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

    • HEADER_FIELD_NUMBER

      public static final int HEADER_FIELD_NUMBER
      See Also:
    • SCHEDULED_TIME_FIELD_NUMBER

      public static final int SCHEDULED_TIME_FIELD_NUMBER
      See Also:
    • CAPABILITIES_FIELD_NUMBER

      public static final int CAPABILITIES_FIELD_NUMBER
      See Also:
    • START_OPERATION_FIELD_NUMBER

      public static final int START_OPERATION_FIELD_NUMBER
      See Also:
    • CANCEL_OPERATION_FIELD_NUMBER

      public static final int CANCEL_OPERATION_FIELD_NUMBER
      See Also:
    • ENDPOINT_FIELD_NUMBER

      public static final int ENDPOINT_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()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

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

      public Request.VariantCase getVariantCase()
      Specified by:
      getVariantCase in interface RequestOrBuilder
    • getHeaderCount

      public int getHeaderCount()
      Description copied from interface: RequestOrBuilder
       Headers extracted from the original request in the Temporal frontend.
       When using Nexus over HTTP, this includes the request's HTTP headers ignoring multiple values.
       
      map<string, string> header = 1;
      Specified by:
      getHeaderCount in interface RequestOrBuilder
    • containsHeader

      public boolean containsHeader(String key)
       Headers extracted from the original request in the Temporal frontend.
       When using Nexus over HTTP, this includes the request's HTTP headers ignoring multiple values.
       
      map<string, string> header = 1;
      Specified by:
      containsHeader in interface RequestOrBuilder
    • getHeader

      @Deprecated public Map<String,String> getHeader()
      Deprecated.
      Use getHeaderMap() instead.
      Specified by:
      getHeader in interface RequestOrBuilder
    • getHeaderMap

      public Map<String,String> getHeaderMap()
       Headers extracted from the original request in the Temporal frontend.
       When using Nexus over HTTP, this includes the request's HTTP headers ignoring multiple values.
       
      map<string, string> header = 1;
      Specified by:
      getHeaderMap in interface RequestOrBuilder
    • getHeaderOrDefault

      public String getHeaderOrDefault(String key, String defaultValue)
       Headers extracted from the original request in the Temporal frontend.
       When using Nexus over HTTP, this includes the request's HTTP headers ignoring multiple values.
       
      map<string, string> header = 1;
      Specified by:
      getHeaderOrDefault in interface RequestOrBuilder
    • getHeaderOrThrow

      public String getHeaderOrThrow(String key)
       Headers extracted from the original request in the Temporal frontend.
       When using Nexus over HTTP, this includes the request's HTTP headers ignoring multiple values.
       
      map<string, string> header = 1;
      Specified by:
      getHeaderOrThrow in interface RequestOrBuilder
    • hasScheduledTime

      public boolean hasScheduledTime()
       The timestamp when the request was scheduled in the frontend.
       (-- api-linter: core::0142::time-field-names=disabled
           aip.dev/not-precedent: Not following linter rules. --)
       
      .google.protobuf.Timestamp scheduled_time = 2;
      Specified by:
      hasScheduledTime in interface RequestOrBuilder
      Returns:
      Whether the scheduledTime field is set.
    • getScheduledTime

      public com.google.protobuf.Timestamp getScheduledTime()
       The timestamp when the request was scheduled in the frontend.
       (-- api-linter: core::0142::time-field-names=disabled
           aip.dev/not-precedent: Not following linter rules. --)
       
      .google.protobuf.Timestamp scheduled_time = 2;
      Specified by:
      getScheduledTime in interface RequestOrBuilder
      Returns:
      The scheduledTime.
    • getScheduledTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()
       The timestamp when the request was scheduled in the frontend.
       (-- api-linter: core::0142::time-field-names=disabled
           aip.dev/not-precedent: Not following linter rules. --)
       
      .google.protobuf.Timestamp scheduled_time = 2;
      Specified by:
      getScheduledTimeOrBuilder in interface RequestOrBuilder
    • hasCapabilities

      public boolean hasCapabilities()
      .temporal.api.nexus.v1.Request.Capabilities capabilities = 100;
      Specified by:
      hasCapabilities in interface RequestOrBuilder
      Returns:
      Whether the capabilities field is set.
    • getCapabilities

      public Request.Capabilities getCapabilities()
      .temporal.api.nexus.v1.Request.Capabilities capabilities = 100;
      Specified by:
      getCapabilities in interface RequestOrBuilder
      Returns:
      The capabilities.
    • getCapabilitiesOrBuilder

      public Request.CapabilitiesOrBuilder getCapabilitiesOrBuilder()
      .temporal.api.nexus.v1.Request.Capabilities capabilities = 100;
      Specified by:
      getCapabilitiesOrBuilder in interface RequestOrBuilder
    • hasStartOperation

      public boolean hasStartOperation()
      .temporal.api.nexus.v1.StartOperationRequest start_operation = 3;
      Specified by:
      hasStartOperation in interface RequestOrBuilder
      Returns:
      Whether the startOperation field is set.
    • getStartOperation

      public StartOperationRequest getStartOperation()
      .temporal.api.nexus.v1.StartOperationRequest start_operation = 3;
      Specified by:
      getStartOperation in interface RequestOrBuilder
      Returns:
      The startOperation.
    • getStartOperationOrBuilder

      public StartOperationRequestOrBuilder getStartOperationOrBuilder()
      .temporal.api.nexus.v1.StartOperationRequest start_operation = 3;
      Specified by:
      getStartOperationOrBuilder in interface RequestOrBuilder
    • hasCancelOperation

      public boolean hasCancelOperation()
      .temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;
      Specified by:
      hasCancelOperation in interface RequestOrBuilder
      Returns:
      Whether the cancelOperation field is set.
    • getCancelOperation

      public CancelOperationRequest getCancelOperation()
      .temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;
      Specified by:
      getCancelOperation in interface RequestOrBuilder
      Returns:
      The cancelOperation.
    • getCancelOperationOrBuilder

      public CancelOperationRequestOrBuilder getCancelOperationOrBuilder()
      .temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;
      Specified by:
      getCancelOperationOrBuilder in interface RequestOrBuilder
    • getEndpoint

      public String getEndpoint()
       The endpoint this request was addressed to before forwarding to the worker.
       Supported from server version 1.30.0.
       
      string endpoint = 10;
      Specified by:
      getEndpoint in interface RequestOrBuilder
      Returns:
      The endpoint.
    • getEndpointBytes

      public com.google.protobuf.ByteString getEndpointBytes()
       The endpoint this request was addressed to before forwarding to the worker.
       Supported from server version 1.30.0.
       
      string endpoint = 10;
      Specified by:
      getEndpointBytes in interface RequestOrBuilder
      Returns:
      The bytes for endpoint.
    • 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 Request parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Request.Builder newBuilder()
    • newBuilder

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

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

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

      public static Request getDefaultInstance()
    • parser

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

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