Package proto.rpc.v1
Class Auth.AuthenticateResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Auth.AuthenticateResponse,Auth.AuthenticateResponse.Builder>
proto.rpc.v1.Auth.AuthenticateResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Auth.AuthenticateResponseOrBuilder
- Enclosing class:
- Auth.AuthenticateResponse
public static final class Auth.AuthenticateResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Auth.AuthenticateResponse,Auth.AuthenticateResponse.Builder>
implements Auth.AuthenticateResponseOrBuilder
An AuthenticateResponse is returned after successful authentication.Protobuf type
proto.rpc.v1.AuthenticateResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaccess_token is a JWT where only the expiration should be deemed important.access_token is a JWT where only the expiration should be deemed important.com.google.protobuf.ByteString
access_token is a JWT where only the expiration should be deemed important.setAccessToken
(String value) access_token is a JWT where only the expiration should be deemed important.setAccessTokenBytes
(com.google.protobuf.ByteString value) access_token is a JWT where only the expiration should be deemed important.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getAccessToken
access_token is a JWT where only the expiration should be deemed important.
string access_token = 1 [json_name = "accessToken"];
- Specified by:
getAccessToken
in interfaceAuth.AuthenticateResponseOrBuilder
- Returns:
- The accessToken.
-
getAccessTokenBytes
public com.google.protobuf.ByteString getAccessTokenBytes()access_token is a JWT where only the expiration should be deemed important.
string access_token = 1 [json_name = "accessToken"];
- Specified by:
getAccessTokenBytes
in interfaceAuth.AuthenticateResponseOrBuilder
- Returns:
- The bytes for accessToken.
-
setAccessToken
access_token is a JWT where only the expiration should be deemed important.
string access_token = 1 [json_name = "accessToken"];
- Parameters:
value
- The accessToken to set.- Returns:
- This builder for chaining.
-
clearAccessToken
access_token is a JWT where only the expiration should be deemed important.
string access_token = 1 [json_name = "accessToken"];
- Returns:
- This builder for chaining.
-
setAccessTokenBytes
access_token is a JWT where only the expiration should be deemed important.
string access_token = 1 [json_name = "accessToken"];
- Parameters:
value
- The bytes for accessToken to set.- Returns:
- This builder for chaining.
-