Class AuthenticateByPublicKeyRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.deephaven.proto.auth.AuthenticateByPublicKeyRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AuthenticateByPublicKeyRequestOrBuilder, Serializable

@Generated public final class AuthenticateByPublicKeyRequest extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • CLIENT_ID_FIELD_NUMBER

      public static final int CLIENT_ID_FIELD_NUMBER
      See Also:
    • USER_CONTEXT_FIELD_NUMBER

      public static final int USER_CONTEXT_FIELD_NUMBER
      See Also:
    • PUBLIC_KEY_FIELD_NUMBER

      public static final int PUBLIC_KEY_FIELD_NUMBER
      See Also:
    • CHALLENGE_RESPONSE_FIELD_NUMBER

      public static final int CHALLENGE_RESPONSE_FIELD_NUMBER
      See Also:
    • IP_ADDRESS_FIELD_NUMBER

      public static final int IP_ADDRESS_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(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 AuthenticateByPublicKeyRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AuthenticateByPublicKeyRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AuthenticateByPublicKeyRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AuthenticateByPublicKeyRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AuthenticateByPublicKeyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AuthenticateByPublicKeyRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AuthenticateByPublicKeyRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static AuthenticateByPublicKeyRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static AuthenticateByPublicKeyRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public AuthenticateByPublicKeyRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AuthenticateByPublicKeyRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AuthenticateByPublicKeyRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AuthenticateByPublicKeyRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AuthenticateByPublicKeyRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<AuthenticateByPublicKeyRequest> 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.GeneratedMessage
    • getDefaultInstanceForType

      public AuthenticateByPublicKeyRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder