Interface Tool.Authentication.OAuthConfigOrBuilder (0.66.0)

public static interface Tool.Authentication.OAuthConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClientId()

public abstract String getClientId()

Required. The client ID from the OAuth provider.

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

Returns
Type Description
String

The clientId.

getClientIdBytes()

public abstract ByteString getClientIdBytes()

Required. The client ID from the OAuth provider.

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

Returns
Type Description
ByteString

The bytes for clientId.

getClientSecret()

public abstract String getClientSecret()

Required. The client secret from the OAuth provider.

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

Returns
Type Description
String

The clientSecret.

getClientSecretBytes()

public abstract ByteString getClientSecretBytes()

Required. The client secret from the OAuth provider.

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

Returns
Type Description
ByteString

The bytes for clientSecret.

getOauthGrantType()

public abstract Tool.Authentication.OAuthConfig.OauthGrantType getOauthGrantType()

Required. OAuth grant types.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig.OauthGrantType oauth_grant_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Tool.Authentication.OAuthConfig.OauthGrantType

The oauthGrantType.

getOauthGrantTypeValue()

public abstract int getOauthGrantTypeValue()

Required. OAuth grant types.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig.OauthGrantType oauth_grant_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for oauthGrantType.

getScopes(int index)

public abstract String getScopes(int index)

Optional. The OAuth scopes to grant.

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

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)

Optional. The OAuth scopes to grant.

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

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()

Optional. The OAuth scopes to grant.

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

Returns
Type Description
int

The count of scopes.

getScopesList()

public abstract List<String> getScopesList()

Optional. The OAuth scopes to grant.

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

Returns
Type Description
List<String>

A list containing the scopes.

getTokenEndpoint()

public abstract String getTokenEndpoint()

Required. The token endpoint in the OAuth provider to exchange for an access token.

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

Returns
Type Description
String

The tokenEndpoint.

getTokenEndpointBytes()

public abstract ByteString getTokenEndpointBytes()

Required. The token endpoint in the OAuth provider to exchange for an access token.

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

Returns
Type Description
ByteString

The bytes for tokenEndpoint.