Package io.deephaven.proto.auth
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 Summary
Modifier and TypeMethodDescriptionbuild()clear()The nonce challenge response, which should have been obtained from processing the result of an earlier getNonce rpc request by the client.the client id for the client making the request.the ip address of the server that provided the noncethe public key.the credentials desired.com.google.protobuf.ByteStringThe nonce challenge response, which should have been obtained from processing the result of an earlier getNonce rpc request by the client.the client id for the client making the request.the client id for the client making the request.the client id for the client making the request.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.ByteStringthe ip address of the server that provided the noncecom.google.protobuf.ByteStringthe public key.the credentials desired.the credentials desired.the credentials desired.booleanthe client id for the client making the request.booleanthe credentials desired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeClientId(ClientId value) the client id for the client making the request.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUserContext(UserContext value) the credentials desired.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.setClientId(ClientId value) the client id for the client making the request.setClientId(ClientId.Builder builderForValue) the client id for the client making the request.setIpAddress(com.google.protobuf.ByteString value) the ip address of the server that provided the noncesetPublicKey(com.google.protobuf.ByteString value) the public key.setUserContext(UserContext value) the credentials desired.setUserContext(UserContext.Builder builderForValue) the credentials desired.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AuthenticateByPublicKeyRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AuthenticateByPublicKeyRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AuthenticateByPublicKeyRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AuthenticateByPublicKeyRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
hasClientIdin interfaceAuthenticateByPublicKeyRequestOrBuilder- Returns:
- Whether the clientId field is set.
-
getClientId
the client id for the client making the request.
.io.deephaven.proto.auth.ClientId client_id = 1;- Specified by:
getClientIdin interfaceAuthenticateByPublicKeyRequestOrBuilder- Returns:
- The clientId.
-
setClientId
the client id for the client making the request.
.io.deephaven.proto.auth.ClientId client_id = 1; -
setClientId
the client id for the client making the request.
.io.deephaven.proto.auth.ClientId client_id = 1; -
mergeClientId
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
the client id for the client making the request.
.io.deephaven.proto.auth.ClientId client_id = 1; -
getClientIdOrBuilder
the client id for the client making the request.
.io.deephaven.proto.auth.ClientId client_id = 1;- Specified by:
getClientIdOrBuilderin interfaceAuthenticateByPublicKeyRequestOrBuilder
-
hasUserContext
public boolean hasUserContext()the credentials desired.
.io.deephaven.proto.auth.UserContext user_context = 2;- Specified by:
hasUserContextin interfaceAuthenticateByPublicKeyRequestOrBuilder- Returns:
- Whether the userContext field is set.
-
getUserContext
the credentials desired.
.io.deephaven.proto.auth.UserContext user_context = 2;- Specified by:
getUserContextin interfaceAuthenticateByPublicKeyRequestOrBuilder- Returns:
- The userContext.
-
setUserContext
the credentials desired.
.io.deephaven.proto.auth.UserContext user_context = 2; -
setUserContext
the credentials desired.
.io.deephaven.proto.auth.UserContext user_context = 2; -
mergeUserContext
the credentials desired.
.io.deephaven.proto.auth.UserContext user_context = 2; -
clearUserContext
the credentials desired.
.io.deephaven.proto.auth.UserContext user_context = 2; -
getUserContextBuilder
the credentials desired.
.io.deephaven.proto.auth.UserContext user_context = 2; -
getUserContextOrBuilder
the credentials desired.
.io.deephaven.proto.auth.UserContext user_context = 2;- Specified by:
getUserContextOrBuilderin interfaceAuthenticateByPublicKeyRequestOrBuilder
-
getPublicKey
public com.google.protobuf.ByteString getPublicKey()the public key.
bytes public_key = 3;- Specified by:
getPublicKeyin interfaceAuthenticateByPublicKeyRequestOrBuilder- Returns:
- The publicKey.
-
setPublicKey
the public key.
bytes public_key = 3;- Parameters:
value- The publicKey to set.- Returns:
- This builder for chaining.
-
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:
getChallengeResponsein interfaceAuthenticateByPublicKeyRequestOrBuilder- 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
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:
getIpAddressin interfaceAuthenticateByPublicKeyRequestOrBuilder- Returns:
- The ipAddress.
-
setIpAddress
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
the ip address of the server that provided the nonce
bytes ip_address = 5;- Returns:
- This builder for chaining.
-