Class AuthenticateByCookieRequest.Builder

java.lang.Object
io.deephaven.shadow.core.com.google.protobuf.AbstractMessageLite.Builder
io.deephaven.shadow.core.com.google.protobuf.AbstractMessage.Builder<BuilderT>
io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder<AuthenticateByCookieRequest.Builder>
io.deephaven.proto.auth.AuthenticateByCookieRequest.Builder
All Implemented Interfaces:
AuthenticateByCookieRequestOrBuilder, io.deephaven.shadow.core.com.google.protobuf.Message.Builder, io.deephaven.shadow.core.com.google.protobuf.MessageLite.Builder, io.deephaven.shadow.core.com.google.protobuf.MessageLiteOrBuilder, io.deephaven.shadow.core.com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AuthenticateByCookieRequest

public static final class AuthenticateByCookieRequest.Builder extends io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder<AuthenticateByCookieRequest.Builder> implements AuthenticateByCookieRequestOrBuilder
 Request argument for authenticateByCookieRequest rpc.
 See the service definition file for details on the rpc request.
 
Protobuf type io.deephaven.proto.auth.AuthenticateByCookieRequest
  • Method Details

    • getDescriptor

      public static final io.deephaven.shadow.core.com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder<AuthenticateByCookieRequest.Builder>
    • clear

      Specified by:
      clear in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Specified by:
      clear in interface io.deephaven.shadow.core.com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder<AuthenticateByCookieRequest.Builder>
    • getDescriptorForType

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

      public AuthenticateByCookieRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface io.deephaven.shadow.core.com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface io.deephaven.shadow.core.com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Specified by:
      build in interface io.deephaven.shadow.core.com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AuthenticateByCookieRequest buildPartial()
      Specified by:
      buildPartial in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface io.deephaven.shadow.core.com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Specified by:
      clone in interface io.deephaven.shadow.core.com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder<AuthenticateByCookieRequest.Builder>
    • setField

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

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

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

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

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

      public AuthenticateByCookieRequest.Builder mergeFrom(io.deephaven.shadow.core.com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class io.deephaven.shadow.core.com.google.protobuf.AbstractMessage.Builder<AuthenticateByCookieRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public AuthenticateByCookieRequest.Builder mergeFrom(io.deephaven.shadow.core.com.google.protobuf.CodedInputStream input, io.deephaven.shadow.core.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface io.deephaven.shadow.core.com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class io.deephaven.shadow.core.com.google.protobuf.AbstractMessage.Builder<AuthenticateByCookieRequest.Builder>
      Throws:
      IOException
    • hasClientId

      public boolean hasClientId()
       the new client id for the client making the request.
       
      .io.deephaven.proto.auth.ClientId client_id = 1;
      Specified by:
      hasClientId in interface AuthenticateByCookieRequestOrBuilder
      Returns:
      Whether the clientId field is set.
    • getClientId

      public ClientId getClientId()
       the new client id for the client making the request.
       
      .io.deephaven.proto.auth.ClientId client_id = 1;
      Specified by:
      getClientId in interface AuthenticateByCookieRequestOrBuilder
      Returns:
      The clientId.
    • setClientId

      public AuthenticateByCookieRequest.Builder setClientId(ClientId value)
       the new client id for the client making the request.
       
      .io.deephaven.proto.auth.ClientId client_id = 1;
    • setClientId

      public AuthenticateByCookieRequest.Builder setClientId(ClientId.Builder builderForValue)
       the new client id for the client making the request.
       
      .io.deephaven.proto.auth.ClientId client_id = 1;
    • mergeClientId

      public AuthenticateByCookieRequest.Builder mergeClientId(ClientId value)
       the new client id for the client making the request.
       
      .io.deephaven.proto.auth.ClientId client_id = 1;
    • clearClientId

      public AuthenticateByCookieRequest.Builder clearClientId()
       the new client id for the client making the request.
       
      .io.deephaven.proto.auth.ClientId client_id = 1;
    • getClientIdBuilder

      public ClientId.Builder getClientIdBuilder()
       the new client id for the client making the request.
       
      .io.deephaven.proto.auth.ClientId client_id = 1;
    • getClientIdOrBuilder

      public ClientIdOrBuilder getClientIdOrBuilder()
       the new client id for the client making the request.
       
      .io.deephaven.proto.auth.ClientId client_id = 1;
      Specified by:
      getClientIdOrBuilder in interface AuthenticateByCookieRequestOrBuilder
    • hasUserContext

      public boolean hasUserContext()
       the credentials desired, which should match the cookie.
       
      .io.deephaven.proto.auth.UserContext user_context = 2;
      Specified by:
      hasUserContext in interface AuthenticateByCookieRequestOrBuilder
      Returns:
      Whether the userContext field is set.
    • getUserContext

      public UserContext getUserContext()
       the credentials desired, which should match the cookie.
       
      .io.deephaven.proto.auth.UserContext user_context = 2;
      Specified by:
      getUserContext in interface AuthenticateByCookieRequestOrBuilder
      Returns:
      The userContext.
    • setUserContext

      public AuthenticateByCookieRequest.Builder setUserContext(UserContext value)
       the credentials desired, which should match the cookie.
       
      .io.deephaven.proto.auth.UserContext user_context = 2;
    • setUserContext

      public AuthenticateByCookieRequest.Builder setUserContext(UserContext.Builder builderForValue)
       the credentials desired, which should match the cookie.
       
      .io.deephaven.proto.auth.UserContext user_context = 2;
    • mergeUserContext

      public AuthenticateByCookieRequest.Builder mergeUserContext(UserContext value)
       the credentials desired, which should match the cookie.
       
      .io.deephaven.proto.auth.UserContext user_context = 2;
    • clearUserContext

      public AuthenticateByCookieRequest.Builder clearUserContext()
       the credentials desired, which should match the cookie.
       
      .io.deephaven.proto.auth.UserContext user_context = 2;
    • getUserContextBuilder

      public UserContext.Builder getUserContextBuilder()
       the credentials desired, which should match the cookie.
       
      .io.deephaven.proto.auth.UserContext user_context = 2;
    • getUserContextOrBuilder

      public UserContextOrBuilder getUserContextOrBuilder()
       the credentials desired, which should match the cookie.
       
      .io.deephaven.proto.auth.UserContext user_context = 2;
      Specified by:
      getUserContextOrBuilder in interface AuthenticateByCookieRequestOrBuilder
    • getCookie

      public io.deephaven.shadow.core.com.google.protobuf.ByteString getCookie()
       a valid cookie for another client on the same user context.
       
      bytes cookie = 3;
      Specified by:
      getCookie in interface AuthenticateByCookieRequestOrBuilder
      Returns:
      The cookie.
    • setCookie

      public AuthenticateByCookieRequest.Builder setCookie(io.deephaven.shadow.core.com.google.protobuf.ByteString value)
       a valid cookie for another client on the same user context.
       
      bytes cookie = 3;
      Parameters:
      value - The cookie to set.
      Returns:
      This builder for chaining.
    • clearCookie

       a valid cookie for another client on the same user context.
       
      bytes cookie = 3;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

      public final AuthenticateByCookieRequest.Builder mergeUnknownFields(io.deephaven.shadow.core.com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder<AuthenticateByCookieRequest.Builder>