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 TypeMethodDescriptionThe error resulted from exchanging OAuth tokens from the service provider.The error resulted from exchanging OAuth tokens from the service provider.com.google.protobuf.TimestampExpiration timestamp.com.google.protobuf.TimestampOrBuilderExpiration timestamp.getScopes(int index) The scopes of the access token.com.google.protobuf.ByteStringgetScopesBytes(int index) The scopes of the access token.intThe scopes of the access token.The scopes of the access token.getToken()The token content.com.google.protobuf.ByteStringThe token content.booleanThe error resulted from exchanging OAuth tokens from the service provider.booleanExpiration timestamp.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
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
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;
-