public final class BitbucketCloudConfig extends GeneratedMessageV3 implements BitbucketCloudConfigOrBuilder
Configuration for connections to Bitbucket Cloud.
Protobuf type google.devtools.cloudbuild.v2.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 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];
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];
getDefaultInstanceForType()
public BitbucketCloudConfig getDefaultInstanceForType()
getParserForType()
public Parser<BitbucketCloudConfig> getParserForType()
Overrides
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];
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];
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
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