Package io.deephaven.proto.auth
Class GetTokenAsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GetTokenAsRequest.Builder>
io.deephaven.proto.auth.GetTokenAsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GetTokenAsRequestOrBuilder,Cloneable
- Enclosing class:
- GetTokenAsRequest
public static final class GetTokenAsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GetTokenAsRequest.Builder>
implements GetTokenAsRequestOrBuilder
Request argument for getTokenAs rpc See the service definition file for details on the rpc request.Protobuf type
io.deephaven.proto.auth.GetTokenAsRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()the cookie for the client making the request.the user as whom the client desires to operate.the service for which the token is intended.com.google.protobuf.ByteStringthe cookie for the client making the request.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorthe user as whom the client desires to operate.com.google.protobuf.ByteStringthe user as whom the client desires to operate.the service for which the token is intended.com.google.protobuf.ByteStringthe service for which the token is intended.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(GetTokenAsRequest other) setCookie(com.google.protobuf.ByteString value) the cookie for the client making the request.setOperateAsUser(String value) the user as whom the client desires to operate.setOperateAsUserBytes(com.google.protobuf.ByteString value) the user as whom the client desires to operate.setService(String value) the service for which the token is intended.setServiceBytes(com.google.protobuf.ByteString value) the service for which the token is intended.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<GetTokenAsRequest.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<GetTokenAsRequest.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<GetTokenAsRequest.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<GetTokenAsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GetTokenAsRequest.Builder>
-
mergeFrom
public GetTokenAsRequest.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<GetTokenAsRequest.Builder>- Throws:
IOException
-
getCookie
public com.google.protobuf.ByteString getCookie()the cookie for the client making the request.
bytes cookie = 1;- Specified by:
getCookiein interfaceGetTokenAsRequestOrBuilder- Returns:
- The cookie.
-
setCookie
the cookie for the client making the request.
bytes cookie = 1;- Parameters:
value- The cookie to set.- Returns:
- This builder for chaining.
-
clearCookie
the cookie for the client making the request.
bytes cookie = 1;- Returns:
- This builder for chaining.
-
getService
the service for which the token is intended.
string service = 2;- Specified by:
getServicein interfaceGetTokenAsRequestOrBuilder- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()the service for which the token is intended.
string service = 2;- Specified by:
getServiceBytesin interfaceGetTokenAsRequestOrBuilder- Returns:
- The bytes for service.
-
setService
the service for which the token is intended.
string service = 2;- Parameters:
value- The service to set.- Returns:
- This builder for chaining.
-
clearService
the service for which the token is intended.
string service = 2;- Returns:
- This builder for chaining.
-
setServiceBytes
the service for which the token is intended.
string service = 2;- Parameters:
value- The bytes for service to set.- Returns:
- This builder for chaining.
-
getOperateAsUser
the user as whom the client desires to operate.
string operateAsUser = 3;- Specified by:
getOperateAsUserin interfaceGetTokenAsRequestOrBuilder- Returns:
- The operateAsUser.
-
getOperateAsUserBytes
public com.google.protobuf.ByteString getOperateAsUserBytes()the user as whom the client desires to operate.
string operateAsUser = 3;- Specified by:
getOperateAsUserBytesin interfaceGetTokenAsRequestOrBuilder- Returns:
- The bytes for operateAsUser.
-
setOperateAsUser
the user as whom the client desires to operate.
string operateAsUser = 3;- Parameters:
value- The operateAsUser to set.- Returns:
- This builder for chaining.
-
clearOperateAsUser
the user as whom the client desires to operate.
string operateAsUser = 3;- Returns:
- This builder for chaining.
-
setOperateAsUserBytes
the user as whom the client desires to operate.
string operateAsUser = 3;- Parameters:
value- The bytes for operateAsUser to set.- Returns:
- This builder for chaining.
-