Package io.deephaven.proto.auth
Class AuthenticateByCookieRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AuthenticateByCookieRequest.Builder>
io.deephaven.proto.auth.AuthenticateByCookieRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AuthenticateByCookieRequestOrBuilder,Cloneable
- Enclosing class:
- AuthenticateByCookieRequest
public static final class AuthenticateByCookieRequest.Builder
extends com.google.protobuf.GeneratedMessage.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 Summary
Modifier and TypeMethodDescriptionbuild()clear()the new client id for the client making the request.a valid cookie for another client on the same user context.the credentials desired, which should match the cookie.the new client id for the client making the request.the new client id for the client making the request.the new client id for the client making the request.com.google.protobuf.ByteStringa valid cookie for another client on the same user context.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorthe credentials desired, which should match the cookie.the credentials desired, which should match the cookie.the credentials desired, which should match the cookie.booleanthe new client id for the client making the request.booleanthe credentials desired, which should match the cookie.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeClientId(ClientId value) the new 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, which should match the cookie.setClientId(ClientId value) the new client id for the client making the request.setClientId(ClientId.Builder builderForValue) the new client id for the client making the request.setCookie(com.google.protobuf.ByteString value) a valid cookie for another client on the same user context.setUserContext(UserContext value) the credentials desired, which should match the cookie.setUserContext(UserContext.Builder builderForValue) the credentials desired, which should match the cookie.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<AuthenticateByCookieRequest.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<AuthenticateByCookieRequest.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<AuthenticateByCookieRequest.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<AuthenticateByCookieRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AuthenticateByCookieRequest.Builder>
-
mergeFrom
public AuthenticateByCookieRequest.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<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:
hasClientIdin interfaceAuthenticateByCookieRequestOrBuilder- Returns:
- Whether the clientId field is set.
-
getClientId
the new client id for the client making the request.
.io.deephaven.proto.auth.ClientId client_id = 1;- Specified by:
getClientIdin interfaceAuthenticateByCookieRequestOrBuilder- Returns:
- The clientId.
-
setClientId
the new client id for the client making the request.
.io.deephaven.proto.auth.ClientId client_id = 1; -
setClientId
the new client id for the client making the request.
.io.deephaven.proto.auth.ClientId client_id = 1; -
mergeClientId
the new client id for the client making the request.
.io.deephaven.proto.auth.ClientId client_id = 1; -
clearClientId
the new client id for the client making the request.
.io.deephaven.proto.auth.ClientId client_id = 1; -
getClientIdBuilder
the new client id for the client making the request.
.io.deephaven.proto.auth.ClientId client_id = 1; -
getClientIdOrBuilder
the new client id for the client making the request.
.io.deephaven.proto.auth.ClientId client_id = 1;- Specified by:
getClientIdOrBuilderin interfaceAuthenticateByCookieRequestOrBuilder
-
hasUserContext
public boolean hasUserContext()the credentials desired, which should match the cookie.
.io.deephaven.proto.auth.UserContext user_context = 2;- Specified by:
hasUserContextin interfaceAuthenticateByCookieRequestOrBuilder- Returns:
- Whether the userContext field is set.
-
getUserContext
the credentials desired, which should match the cookie.
.io.deephaven.proto.auth.UserContext user_context = 2;- Specified by:
getUserContextin interfaceAuthenticateByCookieRequestOrBuilder- Returns:
- The userContext.
-
setUserContext
the credentials desired, which should match the cookie.
.io.deephaven.proto.auth.UserContext user_context = 2; -
setUserContext
the credentials desired, which should match the cookie.
.io.deephaven.proto.auth.UserContext user_context = 2; -
mergeUserContext
the credentials desired, which should match the cookie.
.io.deephaven.proto.auth.UserContext user_context = 2; -
clearUserContext
the credentials desired, which should match the cookie.
.io.deephaven.proto.auth.UserContext user_context = 2; -
getUserContextBuilder
the credentials desired, which should match the cookie.
.io.deephaven.proto.auth.UserContext user_context = 2; -
getUserContextOrBuilder
the credentials desired, which should match the cookie.
.io.deephaven.proto.auth.UserContext user_context = 2;- Specified by:
getUserContextOrBuilderin interfaceAuthenticateByCookieRequestOrBuilder
-
getCookie
public com.google.protobuf.ByteString getCookie()a valid cookie for another client on the same user context.
bytes cookie = 3;- Specified by:
getCookiein interfaceAuthenticateByCookieRequestOrBuilder- Returns:
- The cookie.
-
setCookie
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.
-