- 0.66.0 (latest)
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static interface Tool.Authentication.OAuthConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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. |