Class HandshakeResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<HandshakeResponse.Builder>
io.deephaven.proto.backplane.grpc.HandshakeResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, HandshakeResponseOrBuilder, Cloneable
Enclosing class:
HandshakeResponse

public static final class HandshakeResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HandshakeResponse.Builder> implements HandshakeResponseOrBuilder

 Servers respond with information needed to make subsequent requests tied to this session.
 The session token should be refreshed prior to the deadline, which is represented as milliseconds since the
 epoch. Clients are encouraged to use the expiration delay and cookie deadline to determine a good time to refresh.
 
Protobuf type io.deephaven.proto.backplane.grpc.HandshakeResponse
  • Method Details

    • 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.Builder<HandshakeResponse.Builder>
    • clear

      public HandshakeResponse.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<HandshakeResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HandshakeResponse.Builder>
    • getDefaultInstanceForType

      public HandshakeResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public HandshakeResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public HandshakeResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public HandshakeResponse.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<HandshakeResponse.Builder>
    • setField

      public HandshakeResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<HandshakeResponse.Builder>
    • clearField

      public HandshakeResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<HandshakeResponse.Builder>
    • clearOneof

      public HandshakeResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HandshakeResponse.Builder>
    • setRepeatedField

      public HandshakeResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HandshakeResponse.Builder>
    • addRepeatedField

      public HandshakeResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HandshakeResponse.Builder>
    • mergeFrom

      public HandshakeResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HandshakeResponse.Builder>
    • mergeFrom

      public HandshakeResponse.Builder mergeFrom(HandshakeResponse other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HandshakeResponse.Builder>
    • mergeFrom

      public HandshakeResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HandshakeResponse.Builder>
      Throws:
      IOException
    • getMetadataHeader

      @Deprecated public com.google.protobuf.ByteString getMetadataHeader()
      Deprecated.
      io.deephaven.proto.backplane.grpc.HandshakeResponse.metadata_header is deprecated. See deephaven/proto/session.proto;l=138
      
       The metadata header to identify the session. This value is static and defined via configuration.
       
      bytes metadata_header = 1 [deprecated = true];
      Specified by:
      getMetadataHeader in interface HandshakeResponseOrBuilder
      Returns:
      The metadataHeader.
    • setMetadataHeader

      @Deprecated public HandshakeResponse.Builder setMetadataHeader(com.google.protobuf.ByteString value)
      Deprecated.
      io.deephaven.proto.backplane.grpc.HandshakeResponse.metadata_header is deprecated. See deephaven/proto/session.proto;l=138
      
       The metadata header to identify the session. This value is static and defined via configuration.
       
      bytes metadata_header = 1 [deprecated = true];
      Parameters:
      value - The metadataHeader to set.
      Returns:
      This builder for chaining.
    • clearMetadataHeader

      @Deprecated public HandshakeResponse.Builder clearMetadataHeader()
      Deprecated.
      io.deephaven.proto.backplane.grpc.HandshakeResponse.metadata_header is deprecated. See deephaven/proto/session.proto;l=138
      
       The metadata header to identify the session. This value is static and defined via configuration.
       
      bytes metadata_header = 1 [deprecated = true];
      Returns:
      This builder for chaining.
    • getSessionToken

      @Deprecated public com.google.protobuf.ByteString getSessionToken()
      Deprecated.
      io.deephaven.proto.backplane.grpc.HandshakeResponse.session_token is deprecated. See deephaven/proto/session.proto;l=143
      
       Arbitrary session_token to assign to the value to the provided metadata header.
       
      bytes session_token = 2 [deprecated = true];
      Specified by:
      getSessionToken in interface HandshakeResponseOrBuilder
      Returns:
      The sessionToken.
    • setSessionToken

      @Deprecated public HandshakeResponse.Builder setSessionToken(com.google.protobuf.ByteString value)
      Deprecated.
      io.deephaven.proto.backplane.grpc.HandshakeResponse.session_token is deprecated. See deephaven/proto/session.proto;l=143
      
       Arbitrary session_token to assign to the value to the provided metadata header.
       
      bytes session_token = 2 [deprecated = true];
      Parameters:
      value - The sessionToken to set.
      Returns:
      This builder for chaining.
    • clearSessionToken

      @Deprecated public HandshakeResponse.Builder clearSessionToken()
      Deprecated.
      io.deephaven.proto.backplane.grpc.HandshakeResponse.session_token is deprecated. See deephaven/proto/session.proto;l=143
      
       Arbitrary session_token to assign to the value to the provided metadata header.
       
      bytes session_token = 2 [deprecated = true];
      Returns:
      This builder for chaining.
    • getTokenDeadlineTimeMillis

      @Deprecated public long getTokenDeadlineTimeMillis()
      Deprecated.
      io.deephaven.proto.backplane.grpc.HandshakeResponse.token_deadline_time_millis is deprecated. See deephaven/proto/session.proto;l=148
      
       When this session_token will be considered invalid by the server.
       
      sint64 token_deadline_time_millis = 3 [deprecated = true, jstype = JS_STRING];
      Specified by:
      getTokenDeadlineTimeMillis in interface HandshakeResponseOrBuilder
      Returns:
      The tokenDeadlineTimeMillis.
    • setTokenDeadlineTimeMillis

      @Deprecated public HandshakeResponse.Builder setTokenDeadlineTimeMillis(long value)
      Deprecated.
      io.deephaven.proto.backplane.grpc.HandshakeResponse.token_deadline_time_millis is deprecated. See deephaven/proto/session.proto;l=148
      
       When this session_token will be considered invalid by the server.
       
      sint64 token_deadline_time_millis = 3 [deprecated = true, jstype = JS_STRING];
      Parameters:
      value - The tokenDeadlineTimeMillis to set.
      Returns:
      This builder for chaining.
    • clearTokenDeadlineTimeMillis

      @Deprecated public HandshakeResponse.Builder clearTokenDeadlineTimeMillis()
      Deprecated.
      io.deephaven.proto.backplane.grpc.HandshakeResponse.token_deadline_time_millis is deprecated. See deephaven/proto/session.proto;l=148
      
       When this session_token will be considered invalid by the server.
       
      sint64 token_deadline_time_millis = 3 [deprecated = true, jstype = JS_STRING];
      Returns:
      This builder for chaining.
    • getTokenExpirationDelayMillis

      @Deprecated public long getTokenExpirationDelayMillis()
      Deprecated.
      io.deephaven.proto.backplane.grpc.HandshakeResponse.token_expiration_delay_millis is deprecated. See deephaven/proto/session.proto;l=154
      
       The length of time that this token was intended to live. Note that `refreshSessionToken` may return the
       existing token to reduce overhead and to prevent denial-of-service caused by refreshing too frequently.
       
      sint64 token_expiration_delay_millis = 4 [deprecated = true, jstype = JS_STRING];
      Specified by:
      getTokenExpirationDelayMillis in interface HandshakeResponseOrBuilder
      Returns:
      The tokenExpirationDelayMillis.
    • setTokenExpirationDelayMillis

      @Deprecated public HandshakeResponse.Builder setTokenExpirationDelayMillis(long value)
      Deprecated.
      io.deephaven.proto.backplane.grpc.HandshakeResponse.token_expiration_delay_millis is deprecated. See deephaven/proto/session.proto;l=154
      
       The length of time that this token was intended to live. Note that `refreshSessionToken` may return the
       existing token to reduce overhead and to prevent denial-of-service caused by refreshing too frequently.
       
      sint64 token_expiration_delay_millis = 4 [deprecated = true, jstype = JS_STRING];
      Parameters:
      value - The tokenExpirationDelayMillis to set.
      Returns:
      This builder for chaining.
    • clearTokenExpirationDelayMillis

      @Deprecated public HandshakeResponse.Builder clearTokenExpirationDelayMillis()
      Deprecated.
      io.deephaven.proto.backplane.grpc.HandshakeResponse.token_expiration_delay_millis is deprecated. See deephaven/proto/session.proto;l=154
      
       The length of time that this token was intended to live. Note that `refreshSessionToken` may return the
       existing token to reduce overhead and to prevent denial-of-service caused by refreshing too frequently.
       
      sint64 token_expiration_delay_millis = 4 [deprecated = true, jstype = JS_STRING];
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final HandshakeResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HandshakeResponse.Builder>
    • mergeUnknownFields

      public final HandshakeResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HandshakeResponse.Builder>