Interface BitbucketCloudConfigOrBuilder (3.47.0)

public interface BitbucketCloudConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuthorizerCredential()

public abstract UserCredential getAuthorizerCredential()

Required. An access token with the webhook, repository, repository:admin and pullrequest scope access. It can be either a workspace, project or repository access token. It's recommended to use a system account to generate these credentials.

.google.devtools.cloudbuild.v2.UserCredential authorizer_credential = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserCredential

The authorizerCredential.

getAuthorizerCredentialOrBuilder()

public abstract UserCredentialOrBuilder getAuthorizerCredentialOrBuilder()

Required. An access token with the webhook, repository, repository:admin and pullrequest scope access. It can be either a workspace, project or repository access token. It's recommended to use a system account to generate these credentials.

.google.devtools.cloudbuild.v2.UserCredential authorizer_credential = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserCredentialOrBuilder

getReadAuthorizerCredential()

public abstract UserCredential getReadAuthorizerCredential()

Required. An access token with the repository access. It can be either a workspace, project or repository access token. It's recommended to use a system account to generate the credentials.

.google.devtools.cloudbuild.v2.UserCredential read_authorizer_credential = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserCredential

The readAuthorizerCredential.

getReadAuthorizerCredentialOrBuilder()

public abstract UserCredentialOrBuilder getReadAuthorizerCredentialOrBuilder()

Required. An access token with the repository access. It can be either a workspace, project or repository access token. It's recommended to use a system account to generate the credentials.

.google.devtools.cloudbuild.v2.UserCredential read_authorizer_credential = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserCredentialOrBuilder

getWebhookSecretSecretVersion()

public abstract String getWebhookSecretSecretVersion()

Required. SecretManager resource containing the webhook secret used to verify webhook events, formatted as projects/*/secrets/*/versions/*.

string webhook_secret_secret_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The webhookSecretSecretVersion.

getWebhookSecretSecretVersionBytes()

public abstract ByteString getWebhookSecretSecretVersionBytes()

Required. SecretManager resource containing the webhook secret used to verify webhook events, formatted as projects/*/secrets/*/versions/*.

string webhook_secret_secret_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for webhookSecretSecretVersion.

getWorkspace()

public abstract String getWorkspace()

Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.

string workspace = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The workspace.

getWorkspaceBytes()

public abstract ByteString getWorkspaceBytes()

Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.

string workspace = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for workspace.

hasAuthorizerCredential()

public abstract boolean hasAuthorizerCredential()

Required. An access token with the webhook, repository, repository:admin and pullrequest scope access. It can be either a workspace, project or repository access token. It's recommended to use a system account to generate these credentials.

.google.devtools.cloudbuild.v2.UserCredential authorizer_credential = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the authorizerCredential field is set.

hasReadAuthorizerCredential()

public abstract boolean hasReadAuthorizerCredential()

Required. An access token with the repository access. It can be either a workspace, project or repository access token. It's recommended to use a system account to generate the credentials.

.google.devtools.cloudbuild.v2.UserCredential read_authorizer_credential = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the readAuthorizerCredential field is set.