- 3.57.0 (latest)
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.6
- 3.4.1
- 3.3.12
public static final class BitbucketCloudConfig.Builder extends GeneratedMessageV3.Builder<BitbucketCloudConfig.Builder> implements BitbucketCloudConfigOrBuilder
Configuration for connections to Bitbucket Cloud.
Protobuf type google.devtools.cloudbuild.v2.BitbucketCloudConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BitbucketCloudConfig.BuilderImplements
BitbucketCloudConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BitbucketCloudConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
build()
public BitbucketCloudConfig build()
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig |
buildPartial()
public BitbucketCloudConfig buildPartial()
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig |
clear()
public BitbucketCloudConfig.Builder clear()
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
clearAuthorizerCredential()
public BitbucketCloudConfig.Builder clearAuthorizerCredential()
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 |
BitbucketCloudConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public BitbucketCloudConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BitbucketCloudConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
clearReadAuthorizerCredential()
public BitbucketCloudConfig.Builder clearReadAuthorizerCredential()
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 |
BitbucketCloudConfig.Builder |
clearWebhookSecretSecretVersion()
public BitbucketCloudConfig.Builder clearWebhookSecretSecretVersion()
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 |
BitbucketCloudConfig.Builder |
This builder for chaining. |
clearWorkspace()
public BitbucketCloudConfig.Builder clearWorkspace()
Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.
string workspace = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
This builder for chaining. |
clone()
public BitbucketCloudConfig.Builder clone()
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
getAuthorizerCredential()
public 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. |
getAuthorizerCredentialBuilder()
public UserCredential.Builder getAuthorizerCredentialBuilder()
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.Builder |
getAuthorizerCredentialOrBuilder()
public 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 |
getDefaultInstanceForType()
public BitbucketCloudConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getReadAuthorizerCredential()
public 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. |
getReadAuthorizerCredentialBuilder()
public UserCredential.Builder getReadAuthorizerCredentialBuilder()
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.Builder |
getReadAuthorizerCredentialOrBuilder()
public 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 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAuthorizerCredential(UserCredential value)
public BitbucketCloudConfig.Builder mergeAuthorizerCredential(UserCredential value)
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];
Parameter | |
---|---|
Name | Description |
value |
UserCredential |
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
mergeFrom(BitbucketCloudConfig other)
public BitbucketCloudConfig.Builder mergeFrom(BitbucketCloudConfig other)
Parameter | |
---|---|
Name | Description |
other |
BitbucketCloudConfig |
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BitbucketCloudConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BitbucketCloudConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
mergeReadAuthorizerCredential(UserCredential value)
public BitbucketCloudConfig.Builder mergeReadAuthorizerCredential(UserCredential value)
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];
Parameter | |
---|---|
Name | Description |
value |
UserCredential |
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BitbucketCloudConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
setAuthorizerCredential(UserCredential value)
public BitbucketCloudConfig.Builder setAuthorizerCredential(UserCredential value)
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];
Parameter | |
---|---|
Name | Description |
value |
UserCredential |
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
setAuthorizerCredential(UserCredential.Builder builderForValue)
public BitbucketCloudConfig.Builder setAuthorizerCredential(UserCredential.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
UserCredential.Builder |
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BitbucketCloudConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
setReadAuthorizerCredential(UserCredential value)
public BitbucketCloudConfig.Builder setReadAuthorizerCredential(UserCredential value)
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];
Parameter | |
---|---|
Name | Description |
value |
UserCredential |
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
setReadAuthorizerCredential(UserCredential.Builder builderForValue)
public BitbucketCloudConfig.Builder setReadAuthorizerCredential(UserCredential.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
UserCredential.Builder |
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BitbucketCloudConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BitbucketCloudConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
setWebhookSecretSecretVersion(String value)
public BitbucketCloudConfig.Builder setWebhookSecretSecretVersion(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The webhookSecretSecretVersion to set. |
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
This builder for chaining. |
setWebhookSecretSecretVersionBytes(ByteString value)
public BitbucketCloudConfig.Builder setWebhookSecretSecretVersionBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for webhookSecretSecretVersion to set. |
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
This builder for chaining. |
setWorkspace(String value)
public BitbucketCloudConfig.Builder setWorkspace(String value)
Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.
string workspace = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The workspace to set. |
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
This builder for chaining. |
setWorkspaceBytes(ByteString value)
public BitbucketCloudConfig.Builder setWorkspaceBytes(ByteString value)
Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.
string workspace = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for workspace to set. |
Returns | |
---|---|
Type | Description |
BitbucketCloudConfig.Builder |
This builder for chaining. |