Interface Webhook.GenericWebService.OAuthConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Webhook.GenericWebService.OAuthConfig,Webhook.GenericWebService.OAuthConfig.Builder
- Enclosing class:
- Webhook.GenericWebService
public static interface Webhook.GenericWebService.OAuthConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.getScopes(int index) Optional.com.google.protobuf.ByteStringgetScopesBytes(int index) Optional.intOptional.Optional.Optional.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.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
-
getClientId
String getClientId()Required. The client ID provided by the 3rd party platform.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The clientId.
-
getClientIdBytes
com.google.protobuf.ByteString getClientIdBytes()Required. The client ID provided by the 3rd party platform.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for clientId.
-
getClientSecret
String getClientSecret()Optional. The client secret provided by the 3rd party platform.
string client_secret = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The clientSecret.
-
getClientSecretBytes
com.google.protobuf.ByteString getClientSecretBytes()Optional. The client secret provided by the 3rd party platform.
string client_secret = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for clientSecret.
-
getSecretVersionForClientSecret
String getSecretVersionForClientSecret()Optional. The name of the SecretManager secret version resource storing the client secret. If this field is set, the `client_secret` field will be ignored. Format: `projects/{project}/secrets/{secret}/versions/{version}`string secret_version_for_client_secret = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The secretVersionForClientSecret.
-
getSecretVersionForClientSecretBytes
com.google.protobuf.ByteString getSecretVersionForClientSecretBytes()Optional. The name of the SecretManager secret version resource storing the client secret. If this field is set, the `client_secret` field will be ignored. Format: `projects/{project}/secrets/{secret}/versions/{version}`string secret_version_for_client_secret = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for secretVersionForClientSecret.
-
getTokenEndpoint
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:
- The tokenEndpoint.
-
getTokenEndpointBytes
com.google.protobuf.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:
- The bytes for tokenEndpoint.
-
getScopesList
Optional. The OAuth scopes to grant.
repeated string scopes = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the scopes.
-
getScopesCount
int getScopesCount()Optional. The OAuth scopes to grant.
repeated string scopes = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of scopes.
-
getScopes
Optional. The OAuth scopes to grant.
repeated string scopes = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The scopes at the given index.
-
getScopesBytes
com.google.protobuf.ByteString getScopesBytes(int index) Optional. The OAuth scopes to grant.
repeated string scopes = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the scopes at the given index.
-