Interface TokenResponseOrBuilder

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

public interface TokenResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    optional string access_token = 1;
    com.google.protobuf.ByteString
    optional string access_token = 1;
    int
    In seconds
    optional string refresh_token = 4;
    com.google.protobuf.ByteString
    optional string refresh_token = 4;
    optional string token_type = 2;
    com.google.protobuf.ByteString
    optional string token_type = 2;
    optional .yamcs.protobuf.iam.UserInfo user = 5;
    optional .yamcs.protobuf.iam.UserInfo user = 5;
    boolean
    optional string access_token = 1;
    boolean
    In seconds
    boolean
    optional string refresh_token = 4;
    boolean
    optional string token_type = 2;
    boolean
    optional .yamcs.protobuf.iam.UserInfo user = 5;

    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

    • hasAccessToken

      boolean hasAccessToken()
      optional string access_token = 1;
      Returns:
      Whether the accessToken field is set.
    • getAccessToken

      String getAccessToken()
      optional string access_token = 1;
      Returns:
      The accessToken.
    • getAccessTokenBytes

      com.google.protobuf.ByteString getAccessTokenBytes()
      optional string access_token = 1;
      Returns:
      The bytes for accessToken.
    • hasTokenType

      boolean hasTokenType()
      optional string token_type = 2;
      Returns:
      Whether the tokenType field is set.
    • getTokenType

      String getTokenType()
      optional string token_type = 2;
      Returns:
      The tokenType.
    • getTokenTypeBytes

      com.google.protobuf.ByteString getTokenTypeBytes()
      optional string token_type = 2;
      Returns:
      The bytes for tokenType.
    • hasExpiresIn

      boolean hasExpiresIn()
       In seconds
       
      optional int32 expires_in = 3;
      Returns:
      Whether the expiresIn field is set.
    • getExpiresIn

      int getExpiresIn()
       In seconds
       
      optional int32 expires_in = 3;
      Returns:
      The expiresIn.
    • hasRefreshToken

      boolean hasRefreshToken()
      optional string refresh_token = 4;
      Returns:
      Whether the refreshToken field is set.
    • getRefreshToken

      String getRefreshToken()
      optional string refresh_token = 4;
      Returns:
      The refreshToken.
    • getRefreshTokenBytes

      com.google.protobuf.ByteString getRefreshTokenBytes()
      optional string refresh_token = 4;
      Returns:
      The bytes for refreshToken.
    • hasUser

      boolean hasUser()
      optional .yamcs.protobuf.iam.UserInfo user = 5;
      Returns:
      Whether the user field is set.
    • getUser

      UserInfo getUser()
      optional .yamcs.protobuf.iam.UserInfo user = 5;
      Returns:
      The user.
    • getUserOrBuilder

      UserInfoOrBuilder getUserOrBuilder()
      optional .yamcs.protobuf.iam.UserInfo user = 5;