Class GitLabEnterpriseConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GitLabEnterpriseConfig.Builder>
com.google.cloud.developerconnect.v1.GitLabEnterpriseConfig.Builder
All Implemented Interfaces:
GitLabEnterpriseConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GitLabEnterpriseConfig

public static final class GitLabEnterpriseConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<GitLabEnterpriseConfig.Builder> implements GitLabEnterpriseConfigOrBuilder
 Configuration for connections to an instance of GitLab Enterprise.
 
Protobuf type google.cloud.developerconnect.v1.GitLabEnterpriseConfig
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GitLabEnterpriseConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<GitLabEnterpriseConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<GitLabEnterpriseConfig.Builder>
    • getDefaultInstanceForType

      public GitLabEnterpriseConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public GitLabEnterpriseConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public GitLabEnterpriseConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public GitLabEnterpriseConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GitLabEnterpriseConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<GitLabEnterpriseConfig.Builder>
    • mergeFrom

      public GitLabEnterpriseConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GitLabEnterpriseConfig.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getHostUri in interface GitLabEnterpriseConfigOrBuilder
      Returns:
      The hostUri.
    • getHostUriBytes

      public com.google.protobuf.ByteString getHostUriBytes()
       Required. The URI of the GitLab Enterprise host this connection is for.
       
      string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHostUriBytes in interface GitLabEnterpriseConfigOrBuilder
      Returns:
      The bytes for hostUri.
    • setHostUri

      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];
      Parameters:
      value - The hostUri to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setHostUriBytes

      public GitLabEnterpriseConfig.Builder setHostUriBytes(com.google.protobuf.ByteString value)
       Required. The URI of the GitLab Enterprise host this connection is for.
       
      string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for hostUri to set.
      Returns:
      This builder for chaining.
    • getWebhookSecretSecretVersion

      public String getWebhookSecretSecretVersion()
       Required. Immutable. SecretManager resource containing the webhook secret
       of a GitLab project, formatted as `projects/*/secrets/*/versions/*` or
       `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are
       supported in that location). 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) = { ... }
      Specified by:
      getWebhookSecretSecretVersion in interface GitLabEnterpriseConfigOrBuilder
      Returns:
      The webhookSecretSecretVersion.
    • getWebhookSecretSecretVersionBytes

      public com.google.protobuf.ByteString getWebhookSecretSecretVersionBytes()
       Required. Immutable. SecretManager resource containing the webhook secret
       of a GitLab project, formatted as `projects/*/secrets/*/versions/*` or
       `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are
       supported in that location). 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) = { ... }
      Specified by:
      getWebhookSecretSecretVersionBytes in interface GitLabEnterpriseConfigOrBuilder
      Returns:
      The bytes for webhookSecretSecretVersion.
    • setWebhookSecretSecretVersion

      public GitLabEnterpriseConfig.Builder setWebhookSecretSecretVersion(String value)
       Required. Immutable. SecretManager resource containing the webhook secret
       of a GitLab project, formatted as `projects/*/secrets/*/versions/*` or
       `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are
       supported in that location). 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) = { ... }
      Parameters:
      value - The webhookSecretSecretVersion to set.
      Returns:
      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/*` or
       `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are
       supported in that location). 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:
      This builder for chaining.
    • setWebhookSecretSecretVersionBytes

      public GitLabEnterpriseConfig.Builder setWebhookSecretSecretVersionBytes(com.google.protobuf.ByteString value)
       Required. Immutable. SecretManager resource containing the webhook secret
       of a GitLab project, formatted as `projects/*/secrets/*/versions/*` or
       `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are
       supported in that location). 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) = { ... }
      Parameters:
      value - The bytes for webhookSecretSecretVersion to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      hasReadAuthorizerCredential in interface GitLabEnterpriseConfigOrBuilder
      Returns:
      Whether the readAuthorizerCredential field is set.
    • 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];
      Specified by:
      getReadAuthorizerCredential in interface GitLabEnterpriseConfigOrBuilder
      Returns:
      The readAuthorizerCredential.
    • setReadAuthorizerCredential

      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];
    • setReadAuthorizerCredential

      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];
    • mergeReadAuthorizerCredential

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getReadAuthorizerCredentialOrBuilder in interface GitLabEnterpriseConfigOrBuilder
    • 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];
      Specified by:
      hasAuthorizerCredential in interface GitLabEnterpriseConfigOrBuilder
      Returns:
      Whether the authorizerCredential field is set.
    • 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];
      Specified by:
      getAuthorizerCredential in interface GitLabEnterpriseConfigOrBuilder
      Returns:
      The authorizerCredential.
    • setAuthorizerCredential

      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];
    • setAuthorizerCredential

      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];
    • mergeAuthorizerCredential

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getAuthorizerCredentialOrBuilder in interface GitLabEnterpriseConfigOrBuilder
    • 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];
      Specified by:
      hasServiceDirectoryConfig in interface GitLabEnterpriseConfigOrBuilder
      Returns:
      Whether the serviceDirectoryConfig field is set.
    • 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];
      Specified by:
      getServiceDirectoryConfig in interface GitLabEnterpriseConfigOrBuilder
      Returns:
      The serviceDirectoryConfig.
    • setServiceDirectoryConfig

      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];
    • setServiceDirectoryConfig

      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];
    • mergeServiceDirectoryConfig

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getServiceDirectoryConfigOrBuilder in interface GitLabEnterpriseConfigOrBuilder
    • 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];
      Specified by:
      getSslCaCertificate in interface GitLabEnterpriseConfigOrBuilder
      Returns:
      The sslCaCertificate.
    • getSslCaCertificateBytes

      public com.google.protobuf.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];
      Specified by:
      getSslCaCertificateBytes in interface GitLabEnterpriseConfigOrBuilder
      Returns:
      The bytes for sslCaCertificate.
    • setSslCaCertificate

      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];
      Parameters:
      value - The sslCaCertificate to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setSslCaCertificateBytes

      public GitLabEnterpriseConfig.Builder setSslCaCertificateBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for sslCaCertificate to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getServerVersion in interface GitLabEnterpriseConfigOrBuilder
      Returns:
      The serverVersion.
    • getServerVersionBytes

      public com.google.protobuf.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];
      Specified by:
      getServerVersionBytes in interface GitLabEnterpriseConfigOrBuilder
      Returns:
      The bytes for serverVersion.
    • setServerVersion

      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];
      Parameters:
      value - The serverVersion to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setServerVersionBytes

      public GitLabEnterpriseConfig.Builder setServerVersionBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for serverVersion to set.
      Returns:
      This builder for chaining.