Class BitbucketCloudConfig (0.33.0)
public final class BitbucketCloudConfig extends GeneratedMessageV3 implements BitbucketCloudConfigOrBuilder
Configuration for connections to an instance of Bitbucket Cloud.
Protobuf type google.cloud.developerconnect.v1.BitbucketCloudConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AUTHORIZER_CREDENTIAL_FIELD_NUMBER
public static final int AUTHORIZER_CREDENTIAL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
READ_AUTHORIZER_CREDENTIAL_FIELD_NUMBER
public static final int READ_AUTHORIZER_CREDENTIAL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
WEBHOOK_SECRET_SECRET_VERSION_FIELD_NUMBER
public static final int WEBHOOK_SECRET_SECRET_VERSION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
WORKSPACE_FIELD_NUMBER
public static final int WORKSPACE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static BitbucketCloudConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BitbucketCloudConfig.Builder newBuilder()
newBuilder(BitbucketCloudConfig prototype)
public static BitbucketCloudConfig.Builder newBuilder(BitbucketCloudConfig prototype)
public static BitbucketCloudConfig parseDelimitedFrom(InputStream input)
public static BitbucketCloudConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BitbucketCloudConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BitbucketCloudConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BitbucketCloudConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BitbucketCloudConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BitbucketCloudConfig parseFrom(CodedInputStream input)
public static BitbucketCloudConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BitbucketCloudConfig parseFrom(InputStream input)
public static BitbucketCloudConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BitbucketCloudConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BitbucketCloudConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BitbucketCloudConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAuthorizerCredential()
public 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];
getAuthorizerCredentialOrBuilder()
public 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];
getDefaultInstanceForType()
public BitbucketCloudConfig getDefaultInstanceForType()
getParserForType()
public Parser<BitbucketCloudConfig> getParserForType()
Overrides
getReadAuthorizerCredential()
public 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];
getReadAuthorizerCredentialOrBuilder()
public 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];
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getWebhookSecretSecretVersion()
public String getWebhookSecretSecretVersion()
Required. Immutable. SecretManager resource containing the webhook secret
used to verify webhook events, formatted as
projects/*/secrets/*/versions/*
. 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 |
Type |
Description |
String |
The webhookSecretSecretVersion.
|
getWebhookSecretSecretVersionBytes()
public ByteString getWebhookSecretSecretVersionBytes()
Required. Immutable. SecretManager resource containing the webhook secret
used to verify webhook events, formatted as
projects/*/secrets/*/versions/*
. 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 |
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 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 |
Type |
Description |
boolean |
Whether the authorizerCredential field is set.
|
hasReadAuthorizerCredential()
public 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 |
Type |
Description |
boolean |
Whether the readAuthorizerCredential field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BitbucketCloudConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BitbucketCloudConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public BitbucketCloudConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]