Interface Tool.Authentication.OAuthConfigOrBuilder (0.60.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.

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.