Interface GenerateAccessTokenResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GenerateAccessTokenResponse, GenerateAccessTokenResponse.Builder

@Generated public interface GenerateAccessTokenResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The generated bearer access token.
    com.google.protobuf.ByteString
    The generated bearer access token.
    com.google.protobuf.Timestamp
    Time at which the generated token will expire.
    com.google.protobuf.TimestampOrBuilder
    Time at which the generated token will expire.
    boolean
    Time at which the generated token will expire.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getAccessToken

      String getAccessToken()
       The generated bearer access token. To use this token, include it in an
       Authorization header of an HTTP request sent to the associated
       workstation's hostname—for example, `Authorization: Bearer
       <access_token>`.
       
      string access_token = 1;
      Returns:
      The accessToken.
    • getAccessTokenBytes

      com.google.protobuf.ByteString getAccessTokenBytes()
       The generated bearer access token. To use this token, include it in an
       Authorization header of an HTTP request sent to the associated
       workstation's hostname—for example, `Authorization: Bearer
       <access_token>`.
       
      string access_token = 1;
      Returns:
      The bytes for accessToken.
    • hasExpireTime

      boolean hasExpireTime()
       Time at which the generated token will expire.
       
      .google.protobuf.Timestamp expire_time = 2;
      Returns:
      Whether the expireTime field is set.
    • getExpireTime

      com.google.protobuf.Timestamp getExpireTime()
       Time at which the generated token will expire.
       
      .google.protobuf.Timestamp expire_time = 2;
      Returns:
      The expireTime.
    • getExpireTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
       Time at which the generated token will expire.
       
      .google.protobuf.Timestamp expire_time = 2;