Class Request

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RequestOrBuilder, java.io.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:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Request.Builder
      A Nexus request.
      static class  Request.VariantCase  
      • 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
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsHeader​(java.lang.String key)
      Headers extracted from the original request in the Temporal frontend.
      boolean equals​(java.lang.Object obj)  
      CancelOperationRequest getCancelOperation()
      .temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;
      CancelOperationRequestOrBuilder getCancelOperationOrBuilder()
      .temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;
      static Request getDefaultInstance()  
      Request getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      java.lang.String getEndpoint()
      The endpoint this request was addressed to before forwarding to the worker.
      com.google.protobuf.ByteString getEndpointBytes()
      The endpoint this request was addressed to before forwarding to the worker.
      java.util.Map<java.lang.String,​java.lang.String> getHeader()
      Deprecated.
      int getHeaderCount()
      Headers extracted from the original request in the Temporal frontend.
      java.util.Map<java.lang.String,​java.lang.String> getHeaderMap()
      Headers extracted from the original request in the Temporal frontend.
      java.lang.String getHeaderOrDefault​(java.lang.String key, java.lang.String defaultValue)
      Headers extracted from the original request in the Temporal frontend.
      java.lang.String getHeaderOrThrow​(java.lang.String key)
      Headers extracted from the original request in the Temporal frontend.
      com.google.protobuf.Parser<Request> getParserForType()  
      com.google.protobuf.Timestamp getScheduledTime()
      The timestamp when the request was scheduled in the frontend.
      com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()
      The timestamp when the request was scheduled in the frontend.
      int getSerializedSize()  
      StartOperationRequest getStartOperation()
      .temporal.api.nexus.v1.StartOperationRequest start_operation = 3;
      StartOperationRequestOrBuilder getStartOperationOrBuilder()
      .temporal.api.nexus.v1.StartOperationRequest start_operation = 3;
      Request.VariantCase getVariantCase()  
      boolean hasCancelOperation()
      .temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;
      int hashCode()  
      boolean hasScheduledTime()
      The timestamp when the request was scheduled in the frontend.
      boolean hasStartOperation()
      .temporal.api.nexus.v1.StartOperationRequest start_operation = 3;
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)  
      boolean isInitialized()  
      static Request.Builder newBuilder()  
      static Request.Builder newBuilder​(Request prototype)  
      Request.Builder newBuilderForType()  
      protected Request.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)  
      protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)  
      static Request parseDelimitedFrom​(java.io.InputStream input)  
      static Request parseDelimitedFrom​(java.io.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 parseFrom​(java.io.InputStream input)  
      static Request parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Request parseFrom​(java.nio.ByteBuffer data)  
      static Request parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<Request> parser()  
      Request.Builder toBuilder()  
      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 Detail

      • SCHEDULED_TIME_FIELD_NUMBER

        public static final int SCHEDULED_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • START_OPERATION_FIELD_NUMBER

        public static final int START_OPERATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CANCEL_OPERATION_FIELD_NUMBER

        public static final int CANCEL_OPERATION_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.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
      • 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​(java.lang.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
      • getHeaderMap

        public java.util.Map<java.lang.String,​java.lang.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 java.lang.String getHeaderOrDefault​(java.lang.String key,
                                                   java.lang.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 java.lang.String getHeaderOrThrow​(java.lang.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
      • 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.
      • 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.
      • getEndpoint

        public java.lang.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 java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.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​(java.lang.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​(java.nio.ByteBuffer data)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Request parseFrom​(java.nio.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​(java.io.InputStream input)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

        public static Request parseDelimitedFrom​(java.io.InputStream input)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

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

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

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

        public Request.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • 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