Interface BitbucketCloudConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BitbucketCloudConfig,BitbucketCloudConfig.Builder
@Generated
public interface BitbucketCloudConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.Required.Required.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.booleanRequired.booleanRequired.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
-
getWorkspace
String getWorkspace()Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.
string workspace = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The workspace.
-
getWorkspaceBytes
com.google.protobuf.ByteString getWorkspaceBytes()Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.
string workspace = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for workspace.
-
getWebhookSecretSecretVersion
String getWebhookSecretSecretVersion()Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location). This is used to validate and create webhooks.
string webhook_secret_secret_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The webhookSecretSecretVersion.
-
getWebhookSecretSecretVersionBytes
com.google.protobuf.ByteString getWebhookSecretSecretVersionBytes()Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location). This is used to validate and create webhooks.
string webhook_secret_secret_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for webhookSecretSecretVersion.
-
hasReadAuthorizerCredential
boolean hasReadAuthorizerCredential()Required. An access token with the minimum `repository` access. It can either be a workspace, project or repository access token. It's recommended to use a system account to generate the credentials.
.google.cloud.developerconnect.v1.UserCredential read_authorizer_credential = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the readAuthorizerCredential field is set.
-
getReadAuthorizerCredential
UserCredential getReadAuthorizerCredential()Required. An access token with the minimum `repository` access. It can either be a workspace, project or repository access token. It's recommended to use a system account to generate the credentials.
.google.cloud.developerconnect.v1.UserCredential read_authorizer_credential = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The readAuthorizerCredential.
-
getReadAuthorizerCredentialOrBuilder
UserCredentialOrBuilder getReadAuthorizerCredentialOrBuilder()Required. An access token with the minimum `repository` access. It can either be a workspace, project or repository access token. It's recommended to use a system account to generate the credentials.
.google.cloud.developerconnect.v1.UserCredential read_authorizer_credential = 3 [(.google.api.field_behavior) = REQUIRED]; -
hasAuthorizerCredential
boolean hasAuthorizerCredential()Required. An access token with the minimum `repository`, `pullrequest` and `webhook` scope access. It can either be a workspace, project or repository access token. This is needed to create webhooks. It's recommended to use a system account to generate these credentials.
.google.cloud.developerconnect.v1.UserCredential authorizer_credential = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the authorizerCredential field is set.
-
getAuthorizerCredential
UserCredential getAuthorizerCredential()Required. An access token with the minimum `repository`, `pullrequest` and `webhook` scope access. It can either be a workspace, project or repository access token. This is needed to create webhooks. It's recommended to use a system account to generate these credentials.
.google.cloud.developerconnect.v1.UserCredential authorizer_credential = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The authorizerCredential.
-
getAuthorizerCredentialOrBuilder
UserCredentialOrBuilder getAuthorizerCredentialOrBuilder()Required. An access token with the minimum `repository`, `pullrequest` and `webhook` scope access. It can either be a workspace, project or repository access token. This is needed to create webhooks. It's recommended to use a system account to generate these credentials.
.google.cloud.developerconnect.v1.UserCredential authorizer_credential = 4 [(.google.api.field_behavior) = REQUIRED];
-