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 Type
    Method
    Description
    access_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.
    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

      public String 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 interface Auth.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 interface Auth.AuthenticateResponseOrBuilder
      Returns:
      The bytes for accessToken.
    • setAccessToken

      public Auth.AuthenticateResponse.Builder setAccessToken(String value)
       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

      public Auth.AuthenticateResponse.Builder 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

      public Auth.AuthenticateResponse.Builder setAccessTokenBytes(com.google.protobuf.ByteString value)
       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.