Class AuthenticateByPublicKeyRequest.Builder

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

public static final class AuthenticateByPublicKeyRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<AuthenticateByPublicKeyRequest.Builder> implements AuthenticateByPublicKeyRequestOrBuilder
 Request argument for authenticateByPublicKey rpc.
 See the service definition file for details on the rpc request.
 
Protobuf type io.deephaven.proto.auth.AuthenticateByPublicKeyRequest
  • 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<AuthenticateByPublicKeyRequest.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<AuthenticateByPublicKeyRequest.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<AuthenticateByPublicKeyRequest.Builder>
    • getDefaultInstanceForType

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

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

      public AuthenticateByPublicKeyRequest.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<AuthenticateByPublicKeyRequest.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 AuthenticateByPublicKeyRequestOrBuilder
      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 AuthenticateByPublicKeyRequestOrBuilder
      Returns:
      The clientId.
    • setClientId

       the client id for the client making the request.
       
      .io.deephaven.proto.auth.ClientId client_id = 1;
    • setClientId

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

      public AuthenticateByPublicKeyRequest.Builder mergeClientId(ClientId value)
       the client id for the client making the request.
       
      .io.deephaven.proto.auth.ClientId client_id = 1;
    • 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 AuthenticateByPublicKeyRequestOrBuilder
    • hasUserContext

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

      public UserContext getUserContext()
       the credentials desired.
       
      .io.deephaven.proto.auth.UserContext user_context = 2;
      Specified by:
      getUserContext in interface AuthenticateByPublicKeyRequestOrBuilder
      Returns:
      The userContext.
    • setUserContext

      public AuthenticateByPublicKeyRequest.Builder setUserContext(UserContext value)
       the credentials desired.
       
      .io.deephaven.proto.auth.UserContext user_context = 2;
    • setUserContext

      public AuthenticateByPublicKeyRequest.Builder setUserContext(UserContext.Builder builderForValue)
       the credentials desired.
       
      .io.deephaven.proto.auth.UserContext user_context = 2;
    • mergeUserContext

      public AuthenticateByPublicKeyRequest.Builder mergeUserContext(UserContext value)
       the credentials desired.
       
      .io.deephaven.proto.auth.UserContext user_context = 2;
    • clearUserContext

      public AuthenticateByPublicKeyRequest.Builder clearUserContext()
       the credentials desired.
       
      .io.deephaven.proto.auth.UserContext user_context = 2;
    • getUserContextBuilder

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

      public UserContextOrBuilder getUserContextOrBuilder()
       the credentials desired.
       
      .io.deephaven.proto.auth.UserContext user_context = 2;
      Specified by:
      getUserContextOrBuilder in interface AuthenticateByPublicKeyRequestOrBuilder
    • getPublicKey

      public com.google.protobuf.ByteString getPublicKey()
       the public key.
       
      bytes public_key = 3;
      Specified by:
      getPublicKey in interface AuthenticateByPublicKeyRequestOrBuilder
      Returns:
      The publicKey.
    • setPublicKey

      public AuthenticateByPublicKeyRequest.Builder setPublicKey(com.google.protobuf.ByteString value)
       the public key.
       
      bytes public_key = 3;
      Parameters:
      value - The publicKey to set.
      Returns:
      This builder for chaining.
    • clearPublicKey

      public AuthenticateByPublicKeyRequest.Builder clearPublicKey()
       the public key.
       
      bytes public_key = 3;
      Returns:
      This builder for chaining.
    • getChallengeResponse

      public com.google.protobuf.ByteString getChallengeResponse()
       The nonce challenge response, which should have been obtained from processing
       the result of an earlier getNonce rpc request by the client.
       
      bytes challenge_response = 4;
      Specified by:
      getChallengeResponse in interface AuthenticateByPublicKeyRequestOrBuilder
      Returns:
      The challengeResponse.
    • setChallengeResponse

      public AuthenticateByPublicKeyRequest.Builder setChallengeResponse(com.google.protobuf.ByteString value)
       The nonce challenge response, which should have been obtained from processing
       the result of an earlier getNonce rpc request by the client.
       
      bytes challenge_response = 4;
      Parameters:
      value - The challengeResponse to set.
      Returns:
      This builder for chaining.
    • clearChallengeResponse

      public AuthenticateByPublicKeyRequest.Builder clearChallengeResponse()
       The nonce challenge response, which should have been obtained from processing
       the result of an earlier getNonce rpc request by the client.
       
      bytes challenge_response = 4;
      Returns:
      This builder for chaining.
    • getIpAddress

      public com.google.protobuf.ByteString getIpAddress()
       the ip address of the server that provided the nonce
       
      bytes ip_address = 5;
      Specified by:
      getIpAddress in interface AuthenticateByPublicKeyRequestOrBuilder
      Returns:
      The ipAddress.
    • setIpAddress

      public AuthenticateByPublicKeyRequest.Builder setIpAddress(com.google.protobuf.ByteString value)
       the ip address of the server that provided the nonce
       
      bytes ip_address = 5;
      Parameters:
      value - The ipAddress to set.
      Returns:
      This builder for chaining.
    • clearIpAddress

      public AuthenticateByPublicKeyRequest.Builder clearIpAddress()
       the ip address of the server that provided the nonce
       
      bytes ip_address = 5;
      Returns:
      This builder for chaining.