public static final class GitLabConfig.Builder extends GeneratedMessageV3.Builder<GitLabConfig.Builder> implements GitLabConfigOrBuilder
Configuration for connections to gitlab.com.
Protobuf type google.cloud.developerconnect.v1.GitLabConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GitLabConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GitLabConfig build()
buildPartial()
public GitLabConfig buildPartial()
clear()
public GitLabConfig.Builder clear()
Overrides
clearAuthorizerCredential()
public GitLabConfig.Builder clearAuthorizerCredential()
Required. A GitLab personal access token with the minimum api
scope
access and a minimum role of maintainer
. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
.google.cloud.developerconnect.v1.UserCredential authorizer_credential = 3 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public GitLabConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GitLabConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReadAuthorizerCredential()
public GitLabConfig.Builder clearReadAuthorizerCredential()
Required. A GitLab personal access token with the minimum read_api
scope
access and a minimum role of reporter
. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
.google.cloud.developerconnect.v1.UserCredential read_authorizer_credential = 2 [(.google.api.field_behavior) = REQUIRED];
clearWebhookSecretSecretVersion()
public GitLabConfig.Builder clearWebhookSecretSecretVersion()
Required. Immutable. SecretManager resource containing the webhook secret
of a GitLab project, formatted as projects/*/secrets/*/versions/*
. This
is used to validate webhooks.
string webhook_secret_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
clone()
public GitLabConfig.Builder clone()
Overrides
getAuthorizerCredential()
public UserCredential getAuthorizerCredential()
Required. A GitLab personal access token with the minimum api
scope
access and a minimum role of maintainer
. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
.google.cloud.developerconnect.v1.UserCredential authorizer_credential = 3 [(.google.api.field_behavior) = REQUIRED];
getAuthorizerCredentialBuilder()
public UserCredential.Builder getAuthorizerCredentialBuilder()
Required. A GitLab personal access token with the minimum api
scope
access and a minimum role of maintainer
. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
.google.cloud.developerconnect.v1.UserCredential authorizer_credential = 3 [(.google.api.field_behavior) = REQUIRED];
getAuthorizerCredentialOrBuilder()
public UserCredentialOrBuilder getAuthorizerCredentialOrBuilder()
Required. A GitLab personal access token with the minimum api
scope
access and a minimum role of maintainer
. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
.google.cloud.developerconnect.v1.UserCredential authorizer_credential = 3 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public GitLabConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getReadAuthorizerCredential()
public UserCredential getReadAuthorizerCredential()
Required. A GitLab personal access token with the minimum read_api
scope
access and a minimum role of reporter
. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
.google.cloud.developerconnect.v1.UserCredential read_authorizer_credential = 2 [(.google.api.field_behavior) = REQUIRED];
getReadAuthorizerCredentialBuilder()
public UserCredential.Builder getReadAuthorizerCredentialBuilder()
Required. A GitLab personal access token with the minimum read_api
scope
access and a minimum role of reporter
. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
.google.cloud.developerconnect.v1.UserCredential read_authorizer_credential = 2 [(.google.api.field_behavior) = REQUIRED];
getReadAuthorizerCredentialOrBuilder()
public UserCredentialOrBuilder getReadAuthorizerCredentialOrBuilder()
Required. A GitLab personal access token with the minimum read_api
scope
access and a minimum role of reporter
. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
.google.cloud.developerconnect.v1.UserCredential read_authorizer_credential = 2 [(.google.api.field_behavior) = REQUIRED];
getWebhookSecretSecretVersion()
public String getWebhookSecretSecretVersion()
Required. Immutable. SecretManager resource containing the webhook secret
of a GitLab project, formatted as projects/*/secrets/*/versions/*
. This
is used to validate webhooks.
string webhook_secret_secret_version = 1 [(.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
of a GitLab project, formatted as projects/*/secrets/*/versions/*
. This
is used to validate webhooks.
string webhook_secret_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for webhookSecretSecretVersion.
|
hasAuthorizerCredential()
public boolean hasAuthorizerCredential()
Required. A GitLab personal access token with the minimum api
scope
access and a minimum role of maintainer
. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
.google.cloud.developerconnect.v1.UserCredential authorizer_credential = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the authorizerCredential field is set.
|
hasReadAuthorizerCredential()
public boolean hasReadAuthorizerCredential()
Required. A GitLab personal access token with the minimum read_api
scope
access and a minimum role of reporter
. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
.google.cloud.developerconnect.v1.UserCredential read_authorizer_credential = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the readAuthorizerCredential field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAuthorizerCredential(UserCredential value)
public GitLabConfig.Builder mergeAuthorizerCredential(UserCredential value)
Required. A GitLab personal access token with the minimum api
scope
access and a minimum role of maintainer
. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
.google.cloud.developerconnect.v1.UserCredential authorizer_credential = 3 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(GitLabConfig other)
public GitLabConfig.Builder mergeFrom(GitLabConfig other)
public GitLabConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GitLabConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeReadAuthorizerCredential(UserCredential value)
public GitLabConfig.Builder mergeReadAuthorizerCredential(UserCredential value)
Required. A GitLab personal access token with the minimum read_api
scope
access and a minimum role of reporter
. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
.google.cloud.developerconnect.v1.UserCredential read_authorizer_credential = 2 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GitLabConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAuthorizerCredential(UserCredential value)
public GitLabConfig.Builder setAuthorizerCredential(UserCredential value)
Required. A GitLab personal access token with the minimum api
scope
access and a minimum role of maintainer
. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
.google.cloud.developerconnect.v1.UserCredential authorizer_credential = 3 [(.google.api.field_behavior) = REQUIRED];
setAuthorizerCredential(UserCredential.Builder builderForValue)
public GitLabConfig.Builder setAuthorizerCredential(UserCredential.Builder builderForValue)
Required. A GitLab personal access token with the minimum api
scope
access and a minimum role of maintainer
. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
.google.cloud.developerconnect.v1.UserCredential authorizer_credential = 3 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public GitLabConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setReadAuthorizerCredential(UserCredential value)
public GitLabConfig.Builder setReadAuthorizerCredential(UserCredential value)
Required. A GitLab personal access token with the minimum read_api
scope
access and a minimum role of reporter
. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
.google.cloud.developerconnect.v1.UserCredential read_authorizer_credential = 2 [(.google.api.field_behavior) = REQUIRED];
setReadAuthorizerCredential(UserCredential.Builder builderForValue)
public GitLabConfig.Builder setReadAuthorizerCredential(UserCredential.Builder builderForValue)
Required. A GitLab personal access token with the minimum read_api
scope
access and a minimum role of reporter
. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
.google.cloud.developerconnect.v1.UserCredential read_authorizer_credential = 2 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GitLabConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GitLabConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setWebhookSecretSecretVersion(String value)
public GitLabConfig.Builder setWebhookSecretSecretVersion(String value)
Required. Immutable. SecretManager resource containing the webhook secret
of a GitLab project, formatted as projects/*/secrets/*/versions/*
. This
is used to validate webhooks.
string webhook_secret_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The webhookSecretSecretVersion to set.
|
setWebhookSecretSecretVersionBytes(ByteString value)
public GitLabConfig.Builder setWebhookSecretSecretVersionBytes(ByteString value)
Required. Immutable. SecretManager resource containing the webhook secret
of a GitLab project, formatted as projects/*/secrets/*/versions/*
. This
is used to validate webhooks.
string webhook_secret_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for webhookSecretSecretVersion to set.
|