Interface FetchAccessTokenResponseOrBuilder (0.24.0)

public interface FetchAccessTokenResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExchangeError()

public abstract ExchangeError getExchangeError()

The error resulted from exchanging OAuth tokens from the service provider.

.google.cloud.developerconnect.v1.ExchangeError exchange_error = 4;

Returns
Type Description
ExchangeError

The exchangeError.

getExchangeErrorOrBuilder()

public abstract ExchangeErrorOrBuilder getExchangeErrorOrBuilder()

The error resulted from exchanging OAuth tokens from the service provider.

.google.cloud.developerconnect.v1.ExchangeError exchange_error = 4;

Returns
Type Description
ExchangeErrorOrBuilder

getExpirationTime()

public abstract Timestamp getExpirationTime()

Expiration timestamp. Can be empty if unknown or non-expiring.

.google.protobuf.Timestamp expiration_time = 2;

Returns
Type Description
Timestamp

The expirationTime.

getExpirationTimeOrBuilder()

public abstract TimestampOrBuilder getExpirationTimeOrBuilder()

Expiration timestamp. Can be empty if unknown or non-expiring.

.google.protobuf.Timestamp expiration_time = 2;

Returns
Type Description
TimestampOrBuilder

getScopes(int index)

public abstract String getScopes(int index)

The scopes of the access token.

repeated string scopes = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The scopes at the given index.

getScopesBytes(int index)

public abstract ByteString getScopesBytes(int index)

The scopes of the access token.

repeated string scopes = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the scopes at the given index.

getScopesCount()

public abstract int getScopesCount()

The scopes of the access token.

repeated string scopes = 3;

Returns
Type Description
int

The count of scopes.

getScopesList()

public abstract List<String> getScopesList()

The scopes of the access token.

repeated string scopes = 3;

Returns
Type Description
List<String>

A list containing the scopes.

getToken()

public abstract String getToken()

The token content.

string token = 1;

Returns
Type Description
String

The token.

getTokenBytes()

public abstract ByteString getTokenBytes()

The token content.

string token = 1;

Returns
Type Description
ByteString

The bytes for token.

hasExchangeError()

public abstract boolean hasExchangeError()

The error resulted from exchanging OAuth tokens from the service provider.

.google.cloud.developerconnect.v1.ExchangeError exchange_error = 4;

Returns
Type Description
boolean

Whether the exchangeError field is set.

hasExpirationTime()

public abstract boolean hasExpirationTime()

Expiration timestamp. Can be empty if unknown or non-expiring.

.google.protobuf.Timestamp expiration_time = 2;

Returns
Type Description
boolean

Whether the expirationTime field is set.