publicstaticfinalclass GitLabConfig.BuilderextendsGeneratedMessageV3.Builder<GitLabConfig.Builder>implementsGitLabConfigOrBuilder
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()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicGitLabConfig.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicGitLabConfigbuild()
buildPartial()
publicGitLabConfigbuildPartial()
clear()
publicGitLabConfig.Builderclear()
Overrides
clearAuthorizerCredential()
publicGitLabConfig.BuilderclearAuthorizerCredential()
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)
publicGitLabConfig.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
publicGitLabConfig.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearReadAuthorizerCredential()
publicGitLabConfig.BuilderclearReadAuthorizerCredential()
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()
publicGitLabConfig.BuilderclearWebhookSecretSecretVersion()
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()
publicGitLabConfig.Builderclone()
Overrides
getAuthorizerCredential()
publicUserCredentialgetAuthorizerCredential()
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()
publicUserCredential.BuildergetAuthorizerCredentialBuilder()
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()
publicUserCredentialOrBuildergetAuthorizerCredentialOrBuilder()
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()
publicGitLabConfiggetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getReadAuthorizerCredential()
publicUserCredentialgetReadAuthorizerCredential()
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()
publicUserCredential.BuildergetReadAuthorizerCredentialBuilder()
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()
publicUserCredentialOrBuildergetReadAuthorizerCredentialOrBuilder()
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()
publicStringgetWebhookSecretSecretVersion()
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()
publicByteStringgetWebhookSecretSecretVersionBytes()
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()
publicbooleanhasAuthorizerCredential()
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()
publicbooleanhasReadAuthorizerCredential()
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()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeAuthorizerCredential(UserCredential value)
publicGitLabConfig.BuildermergeAuthorizerCredential(UserCredentialvalue)
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)
publicGitLabConfig.BuildermergeFrom(GitLabConfigother)
publicGitLabConfig.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicGitLabConfig.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeReadAuthorizerCredential(UserCredential value)
publicGitLabConfig.BuildermergeReadAuthorizerCredential(UserCredentialvalue)
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)
publicfinalGitLabConfig.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setAuthorizerCredential(UserCredential value)
publicGitLabConfig.BuildersetAuthorizerCredential(UserCredentialvalue)
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)
publicGitLabConfig.BuildersetAuthorizerCredential(UserCredential.BuilderbuilderForValue)
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)
publicGitLabConfig.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setReadAuthorizerCredential(UserCredential value)
publicGitLabConfig.BuildersetReadAuthorizerCredential(UserCredentialvalue)
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)
publicGitLabConfig.BuildersetReadAuthorizerCredential(UserCredential.BuilderbuilderForValue)
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)
publicGitLabConfig.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalGitLabConfig.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides
setWebhookSecretSecretVersion(String value)
publicGitLabConfig.BuildersetWebhookSecretSecretVersion(Stringvalue)
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)
publicGitLabConfig.BuildersetWebhookSecretSecretVersionBytes(ByteStringvalue)
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.
|