Class AuthenticateByExternalRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AuthenticateByExternalRequest.Builder>
io.deephaven.proto.auth.AuthenticateByExternalRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AuthenticateByExternalRequestOrBuilder, Cloneable
Enclosing class:
AuthenticateByExternalRequest

public static final class AuthenticateByExternalRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<AuthenticateByExternalRequest.Builder> implements AuthenticateByExternalRequestOrBuilder
 Request argument for authenticateByExternal rpc.
 See the service definition file for details on the rpc request.
 
Protobuf type io.deephaven.proto.auth.AuthenticateByExternalRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AuthenticateByExternalRequest.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.GeneratedMessage.Builder<AuthenticateByExternalRequest.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.GeneratedMessage.Builder<AuthenticateByExternalRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public AuthenticateByExternalRequest.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<AuthenticateByExternalRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public AuthenticateByExternalRequest.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<AuthenticateByExternalRequest.Builder>
      Throws:
      IOException
    • hasClientId

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

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

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

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

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

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

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

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

      public String getKey()
       the key for external authentication.
       
      string key = 2;
      Specified by:
      getKey in interface AuthenticateByExternalRequestOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
       the key for external authentication.
       
      string key = 2;
      Specified by:
      getKeyBytes in interface AuthenticateByExternalRequestOrBuilder
      Returns:
      The bytes for key.
    • setKey

       the key for external authentication.
       
      string key = 2;
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

       the key for external authentication.
       
      string key = 2;
      Returns:
      This builder for chaining.
    • setKeyBytes

      public AuthenticateByExternalRequest.Builder setKeyBytes(com.google.protobuf.ByteString value)
       the key for external authentication.
       
      string key = 2;
      Parameters:
      value - The bytes for key to set.
      Returns:
      This builder for chaining.
    • getDoNotForward

      public boolean getDoNotForward()
       clients should always send the default of false and otherwise ignore this field,
       this field is only for auth server implementation use.
       If true (which can only set by an auth server forwarding to another),
       only answer the request on the receiving server itself.
       
      bool do_not_forward = 3;
      Specified by:
      getDoNotForward in interface AuthenticateByExternalRequestOrBuilder
      Returns:
      The doNotForward.
    • setDoNotForward

      public AuthenticateByExternalRequest.Builder setDoNotForward(boolean value)
       clients should always send the default of false and otherwise ignore this field,
       this field is only for auth server implementation use.
       If true (which can only set by an auth server forwarding to another),
       only answer the request on the receiving server itself.
       
      bool do_not_forward = 3;
      Parameters:
      value - The doNotForward to set.
      Returns:
      This builder for chaining.
    • clearDoNotForward

      public AuthenticateByExternalRequest.Builder clearDoNotForward()
       clients should always send the default of false and otherwise ignore this field,
       this field is only for auth server implementation use.
       If true (which can only set by an auth server forwarding to another),
       only answer the request on the receiving server itself.
       
      bool do_not_forward = 3;
      Returns:
      This builder for chaining.