Interface FetchAccessTokenResponseOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The error resulted from exchanging OAuth tokens from the service provider.
    The error resulted from exchanging OAuth tokens from the service provider.
    com.google.protobuf.Timestamp
    Expiration timestamp.
    com.google.protobuf.TimestampOrBuilder
    Expiration timestamp.
    getScopes(int index)
    The scopes of the access token.
    com.google.protobuf.ByteString
    getScopesBytes(int index)
    The scopes of the access token.
    int
    The scopes of the access token.
    The scopes of the access token.
    The token content.
    com.google.protobuf.ByteString
    The token content.
    boolean
    The error resulted from exchanging OAuth tokens from the service provider.
    boolean
    Expiration timestamp.

    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

    • getToken

      String getToken()
       The token content.
       
      string token = 1;
      Returns:
      The token.
    • getTokenBytes

      com.google.protobuf.ByteString getTokenBytes()
       The token content.
       
      string token = 1;
      Returns:
      The bytes for token.
    • hasExpirationTime

      boolean hasExpirationTime()
       Expiration timestamp. Can be empty if unknown or non-expiring.
       
      .google.protobuf.Timestamp expiration_time = 2;
      Returns:
      Whether the expirationTime field is set.
    • getExpirationTime

      com.google.protobuf.Timestamp getExpirationTime()
       Expiration timestamp. Can be empty if unknown or non-expiring.
       
      .google.protobuf.Timestamp expiration_time = 2;
      Returns:
      The expirationTime.
    • getExpirationTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()
       Expiration timestamp. Can be empty if unknown or non-expiring.
       
      .google.protobuf.Timestamp expiration_time = 2;
    • getScopesList

      List<String> getScopesList()
       The scopes of the access token.
       
      repeated string scopes = 3;
      Returns:
      A list containing the scopes.
    • getScopesCount

      int getScopesCount()
       The scopes of the access token.
       
      repeated string scopes = 3;
      Returns:
      The count of scopes.
    • getScopes

      String getScopes(int index)
       The scopes of the access token.
       
      repeated string scopes = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The scopes at the given index.
    • getScopesBytes

      com.google.protobuf.ByteString getScopesBytes(int index)
       The scopes of the access token.
       
      repeated string scopes = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the scopes at the given index.
    • hasExchangeError

      boolean hasExchangeError()
       The error resulted from exchanging OAuth tokens from the service provider.
       
      .google.cloud.developerconnect.v1.ExchangeError exchange_error = 4;
      Returns:
      Whether the exchangeError field is set.
    • getExchangeError

      ExchangeError getExchangeError()
       The error resulted from exchanging OAuth tokens from the service provider.
       
      .google.cloud.developerconnect.v1.ExchangeError exchange_error = 4;
      Returns:
      The exchangeError.
    • getExchangeErrorOrBuilder

      ExchangeErrorOrBuilder getExchangeErrorOrBuilder()
       The error resulted from exchanging OAuth tokens from the service provider.
       
      .google.cloud.developerconnect.v1.ExchangeError exchange_error = 4;