Interface Webhook.GenericWebService.OAuthConfigOrBuilder (0.52.0)

public static interface Webhook.GenericWebService.OAuthConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClientId()

public abstract String getClientId()

Required. The client ID provided by the 3rd party platform.

string client_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The clientId.

getClientIdBytes()

public abstract ByteString getClientIdBytes()

Required. The client ID provided by the 3rd party platform.

string client_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for clientId.

getClientSecret()

public abstract String getClientSecret()

Required. The client secret provided by the 3rd party platform.

string client_secret = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The clientSecret.

getClientSecretBytes()

public abstract ByteString getClientSecretBytes()

Required. The client secret provided by the 3rd party platform.

string client_secret = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for clientSecret.

getScopes(int index)

public abstract String getScopes(int index)

Optional. The OAuth scopes to grant.

repeated string scopes = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The scopes at the given index.

getScopesBytes(int index)

public abstract ByteString getScopesBytes(int index)

Optional. The OAuth scopes to grant.

repeated string scopes = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the scopes at the given index.

getScopesCount()

public abstract int getScopesCount()

Optional. The OAuth scopes to grant.

repeated string scopes = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The count of scopes.

getScopesList()

public abstract List<String> getScopesList()

Optional. The OAuth scopes to grant.

repeated string scopes = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<String>

A list containing the scopes.

getTokenEndpoint()

public abstract String getTokenEndpoint()

Required. The token endpoint provided by the 3rd party platform to exchange an access token.

string token_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The tokenEndpoint.

getTokenEndpointBytes()

public abstract ByteString getTokenEndpointBytes()

Required. The token endpoint provided by the 3rd party platform to exchange an access token.

string token_endpoint = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for tokenEndpoint.