public static final class GitLabEnterpriseConfig.Builder extends GeneratedMessageV3.Builder<GitLabEnterpriseConfig.Builder> implements GitLabEnterpriseConfigOrBuilder
Configuration for connections to an instance of GitLab Enterprise.
Protobuf type google.cloud.developerconnect.v1.GitLabEnterpriseConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GitLabEnterpriseConfig.BuilderImplements
GitLabEnterpriseConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GitLabEnterpriseConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
build()
public GitLabEnterpriseConfig build()
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig |
buildPartial()
public GitLabEnterpriseConfig buildPartial()
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig |
clear()
public GitLabEnterpriseConfig.Builder clear()
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
clearAuthorizerCredential()
public GitLabEnterpriseConfig.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 = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public GitLabEnterpriseConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
clearHostUri()
public GitLabEnterpriseConfig.Builder clearHostUri()
Required. The URI of the GitLab Enterprise host this connection is for.
string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GitLabEnterpriseConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
clearReadAuthorizerCredential()
public GitLabEnterpriseConfig.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 = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
clearServerVersion()
public GitLabEnterpriseConfig.Builder clearServerVersion()
Output only. Version of the GitLab Enterprise server running on the
host_uri
.
string server_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
This builder for chaining. |
clearServiceDirectoryConfig()
public GitLabEnterpriseConfig.Builder clearServiceDirectoryConfig()
Optional. Configuration for using Service Directory to privately connect to a GitLab Enterprise instance. This should only be set if the GitLab Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitLab Enterprise server will be made over the public internet.
.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
clearSslCaCertificate()
public GitLabEnterpriseConfig.Builder clearSslCaCertificate()
Optional. SSL Certificate Authority certificate to use for requests to GitLab Enterprise instance.
string ssl_ca_certificate = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
This builder for chaining. |
clearWebhookSecretSecretVersion()
public GitLabEnterpriseConfig.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 = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
This builder for chaining. |
clone()
public GitLabEnterpriseConfig.Builder clone()
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
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 = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
UserCredential |
The authorizerCredential. |
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 = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
UserCredential.Builder |
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 = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
UserCredentialOrBuilder |
getDefaultInstanceForType()
public GitLabEnterpriseConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getHostUri()
public String getHostUri()
Required. The URI of the GitLab Enterprise host this connection is for.
string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The hostUri. |
getHostUriBytes()
public ByteString getHostUriBytes()
Required. The URI of the GitLab Enterprise host this connection is for.
string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for hostUri. |
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 = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
UserCredential |
The readAuthorizerCredential. |
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 = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
UserCredential.Builder |
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 = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
UserCredentialOrBuilder |
getServerVersion()
public String getServerVersion()
Output only. Version of the GitLab Enterprise server running on the
host_uri
.
string server_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The serverVersion. |
getServerVersionBytes()
public ByteString getServerVersionBytes()
Output only. Version of the GitLab Enterprise server running on the
host_uri
.
string server_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for serverVersion. |
getServiceDirectoryConfig()
public ServiceDirectoryConfig getServiceDirectoryConfig()
Optional. Configuration for using Service Directory to privately connect to a GitLab Enterprise instance. This should only be set if the GitLab Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitLab Enterprise server will be made over the public internet.
.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ServiceDirectoryConfig |
The serviceDirectoryConfig. |
getServiceDirectoryConfigBuilder()
public ServiceDirectoryConfig.Builder getServiceDirectoryConfigBuilder()
Optional. Configuration for using Service Directory to privately connect to a GitLab Enterprise instance. This should only be set if the GitLab Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitLab Enterprise server will be made over the public internet.
.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ServiceDirectoryConfig.Builder |
getServiceDirectoryConfigOrBuilder()
public ServiceDirectoryConfigOrBuilder getServiceDirectoryConfigOrBuilder()
Optional. Configuration for using Service Directory to privately connect to a GitLab Enterprise instance. This should only be set if the GitLab Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitLab Enterprise server will be made over the public internet.
.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ServiceDirectoryConfigOrBuilder |
getSslCaCertificate()
public String getSslCaCertificate()
Optional. SSL Certificate Authority certificate to use for requests to GitLab Enterprise instance.
string ssl_ca_certificate = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The sslCaCertificate. |
getSslCaCertificateBytes()
public ByteString getSslCaCertificateBytes()
Optional. SSL Certificate Authority certificate to use for requests to GitLab Enterprise instance.
string ssl_ca_certificate = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for sslCaCertificate. |
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 = 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
of a GitLab project, formatted as projects/*/secrets/*/versions/*
. This
is used to validate 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. |
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 = 4 [(.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 = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the readAuthorizerCredential field is set. |
hasServiceDirectoryConfig()
public boolean hasServiceDirectoryConfig()
Optional. Configuration for using Service Directory to privately connect to a GitLab Enterprise instance. This should only be set if the GitLab Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitLab Enterprise server will be made over the public internet.
.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the serviceDirectoryConfig 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 GitLabEnterpriseConfig.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 = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
UserCredential |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
mergeFrom(GitLabEnterpriseConfig other)
public GitLabEnterpriseConfig.Builder mergeFrom(GitLabEnterpriseConfig other)
Parameter | |
---|---|
Name | Description |
other |
GitLabEnterpriseConfig |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GitLabEnterpriseConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GitLabEnterpriseConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
mergeReadAuthorizerCredential(UserCredential value)
public GitLabEnterpriseConfig.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 = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
UserCredential |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
mergeServiceDirectoryConfig(ServiceDirectoryConfig value)
public GitLabEnterpriseConfig.Builder mergeServiceDirectoryConfig(ServiceDirectoryConfig value)
Optional. Configuration for using Service Directory to privately connect to a GitLab Enterprise instance. This should only be set if the GitLab Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitLab Enterprise server will be made over the public internet.
.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ServiceDirectoryConfig |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GitLabEnterpriseConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
setAuthorizerCredential(UserCredential value)
public GitLabEnterpriseConfig.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 = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
UserCredential |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
setAuthorizerCredential(UserCredential.Builder builderForValue)
public GitLabEnterpriseConfig.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 = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
UserCredential.Builder |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GitLabEnterpriseConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
setHostUri(String value)
public GitLabEnterpriseConfig.Builder setHostUri(String value)
Required. The URI of the GitLab Enterprise host this connection is for.
string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The hostUri to set. |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
This builder for chaining. |
setHostUriBytes(ByteString value)
public GitLabEnterpriseConfig.Builder setHostUriBytes(ByteString value)
Required. The URI of the GitLab Enterprise host this connection is for.
string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for hostUri to set. |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
This builder for chaining. |
setReadAuthorizerCredential(UserCredential value)
public GitLabEnterpriseConfig.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 = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
UserCredential |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
setReadAuthorizerCredential(UserCredential.Builder builderForValue)
public GitLabEnterpriseConfig.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 = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
UserCredential.Builder |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GitLabEnterpriseConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
setServerVersion(String value)
public GitLabEnterpriseConfig.Builder setServerVersion(String value)
Output only. Version of the GitLab Enterprise server running on the
host_uri
.
string server_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The serverVersion to set. |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
This builder for chaining. |
setServerVersionBytes(ByteString value)
public GitLabEnterpriseConfig.Builder setServerVersionBytes(ByteString value)
Output only. Version of the GitLab Enterprise server running on the
host_uri
.
string server_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for serverVersion to set. |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
This builder for chaining. |
setServiceDirectoryConfig(ServiceDirectoryConfig value)
public GitLabEnterpriseConfig.Builder setServiceDirectoryConfig(ServiceDirectoryConfig value)
Optional. Configuration for using Service Directory to privately connect to a GitLab Enterprise instance. This should only be set if the GitLab Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitLab Enterprise server will be made over the public internet.
.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ServiceDirectoryConfig |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
setServiceDirectoryConfig(ServiceDirectoryConfig.Builder builderForValue)
public GitLabEnterpriseConfig.Builder setServiceDirectoryConfig(ServiceDirectoryConfig.Builder builderForValue)
Optional. Configuration for using Service Directory to privately connect to a GitLab Enterprise instance. This should only be set if the GitLab Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitLab Enterprise server will be made over the public internet.
.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
ServiceDirectoryConfig.Builder |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
setSslCaCertificate(String value)
public GitLabEnterpriseConfig.Builder setSslCaCertificate(String value)
Optional. SSL Certificate Authority certificate to use for requests to GitLab Enterprise instance.
string ssl_ca_certificate = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The sslCaCertificate to set. |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
This builder for chaining. |
setSslCaCertificateBytes(ByteString value)
public GitLabEnterpriseConfig.Builder setSslCaCertificateBytes(ByteString value)
Optional. SSL Certificate Authority certificate to use for requests to GitLab Enterprise instance.
string ssl_ca_certificate = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for sslCaCertificate to set. |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final GitLabEnterpriseConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
setWebhookSecretSecretVersion(String value)
public GitLabEnterpriseConfig.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 = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The webhookSecretSecretVersion to set. |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
This builder for chaining. |
setWebhookSecretSecretVersionBytes(ByteString value)
public GitLabEnterpriseConfig.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 = 2 [(.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. |
Returns | |
---|---|
Type | Description |
GitLabEnterpriseConfig.Builder |
This builder for chaining. |