Class Instance.PrivateConfig.CustomHostConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Instance.PrivateConfig.CustomHostConfig.Builder>
com.google.cloud.securesourcemanager.v1.Instance.PrivateConfig.CustomHostConfig.Builder
All Implemented Interfaces:
Instance.PrivateConfig.CustomHostConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Instance.PrivateConfig.CustomHostConfig

public static final class Instance.PrivateConfig.CustomHostConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<Instance.PrivateConfig.CustomHostConfig.Builder> implements Instance.PrivateConfig.CustomHostConfigOrBuilder
 Custom host config for the instance.
 
Protobuf type google.cloud.securesourcemanager.v1.Instance.PrivateConfig.CustomHostConfig
  • 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<Instance.PrivateConfig.CustomHostConfig.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<Instance.PrivateConfig.CustomHostConfig.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<Instance.PrivateConfig.CustomHostConfig.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Instance.PrivateConfig.CustomHostConfig.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<Instance.PrivateConfig.CustomHostConfig.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<Instance.PrivateConfig.CustomHostConfig.Builder>
    • mergeFrom

      public Instance.PrivateConfig.CustomHostConfig.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<Instance.PrivateConfig.CustomHostConfig.Builder>
      Throws:
      IOException
    • getHtml

      public String getHtml()
       Required. The custom UI hostname for the instance, e.g.,
       "git.source.internal.mycompany.com"
       
      string html = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHtml in interface Instance.PrivateConfig.CustomHostConfigOrBuilder
      Returns:
      The html.
    • getHtmlBytes

      public com.google.protobuf.ByteString getHtmlBytes()
       Required. The custom UI hostname for the instance, e.g.,
       "git.source.internal.mycompany.com"
       
      string html = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHtmlBytes in interface Instance.PrivateConfig.CustomHostConfigOrBuilder
      Returns:
      The bytes for html.
    • setHtml

       Required. The custom UI hostname for the instance, e.g.,
       "git.source.internal.mycompany.com"
       
      string html = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The html to set.
      Returns:
      This builder for chaining.
    • clearHtml

       Required. The custom UI hostname for the instance, e.g.,
       "git.source.internal.mycompany.com"
       
      string html = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setHtmlBytes

      public Instance.PrivateConfig.CustomHostConfig.Builder setHtmlBytes(com.google.protobuf.ByteString value)
       Required. The custom UI hostname for the instance, e.g.,
       "git.source.internal.mycompany.com"
       
      string html = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for html to set.
      Returns:
      This builder for chaining.
    • getApi

      public String getApi()
       Required. The custom API hostname for the instance, e.g.,
       "api.source.internal.mycompany.com"
       
      string api = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getApi in interface Instance.PrivateConfig.CustomHostConfigOrBuilder
      Returns:
      The api.
    • getApiBytes

      public com.google.protobuf.ByteString getApiBytes()
       Required. The custom API hostname for the instance, e.g.,
       "api.source.internal.mycompany.com"
       
      string api = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getApiBytes in interface Instance.PrivateConfig.CustomHostConfigOrBuilder
      Returns:
      The bytes for api.
    • setApi

       Required. The custom API hostname for the instance, e.g.,
       "api.source.internal.mycompany.com"
       
      string api = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The api to set.
      Returns:
      This builder for chaining.
    • clearApi

       Required. The custom API hostname for the instance, e.g.,
       "api.source.internal.mycompany.com"
       
      string api = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setApiBytes

      public Instance.PrivateConfig.CustomHostConfig.Builder setApiBytes(com.google.protobuf.ByteString value)
       Required. The custom API hostname for the instance, e.g.,
       "api.source.internal.mycompany.com"
       
      string api = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for api to set.
      Returns:
      This builder for chaining.
    • getGitSsh

      public String getGitSsh()
       Required. The custom git ssh hostname for the instance, e.g.,
       "ssh.source.internal.mycompany.com"
       
      string git_ssh = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGitSsh in interface Instance.PrivateConfig.CustomHostConfigOrBuilder
      Returns:
      The gitSsh.
    • getGitSshBytes

      public com.google.protobuf.ByteString getGitSshBytes()
       Required. The custom git ssh hostname for the instance, e.g.,
       "ssh.source.internal.mycompany.com"
       
      string git_ssh = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGitSshBytes in interface Instance.PrivateConfig.CustomHostConfigOrBuilder
      Returns:
      The bytes for gitSsh.
    • setGitSsh

       Required. The custom git ssh hostname for the instance, e.g.,
       "ssh.source.internal.mycompany.com"
       
      string git_ssh = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The gitSsh to set.
      Returns:
      This builder for chaining.
    • clearGitSsh

       Required. The custom git ssh hostname for the instance, e.g.,
       "ssh.source.internal.mycompany.com"
       
      string git_ssh = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setGitSshBytes

      public Instance.PrivateConfig.CustomHostConfig.Builder setGitSshBytes(com.google.protobuf.ByteString value)
       Required. The custom git ssh hostname for the instance, e.g.,
       "ssh.source.internal.mycompany.com"
       
      string git_ssh = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for gitSsh to set.
      Returns:
      This builder for chaining.
    • getGitHttp

      public String getGitHttp()
       Required. The custom git http hostname for the instance, e.g.,
       "git.source.internal.mycompany.com"
       
      string git_http = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGitHttp in interface Instance.PrivateConfig.CustomHostConfigOrBuilder
      Returns:
      The gitHttp.
    • getGitHttpBytes

      public com.google.protobuf.ByteString getGitHttpBytes()
       Required. The custom git http hostname for the instance, e.g.,
       "git.source.internal.mycompany.com"
       
      string git_http = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGitHttpBytes in interface Instance.PrivateConfig.CustomHostConfigOrBuilder
      Returns:
      The bytes for gitHttp.
    • setGitHttp

       Required. The custom git http hostname for the instance, e.g.,
       "git.source.internal.mycompany.com"
       
      string git_http = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The gitHttp to set.
      Returns:
      This builder for chaining.
    • clearGitHttp

       Required. The custom git http hostname for the instance, e.g.,
       "git.source.internal.mycompany.com"
       
      string git_http = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setGitHttpBytes

      public Instance.PrivateConfig.CustomHostConfig.Builder setGitHttpBytes(com.google.protobuf.ByteString value)
       Required. The custom git http hostname for the instance, e.g.,
       "git.source.internal.mycompany.com"
       
      string git_http = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for gitHttp to set.
      Returns:
      This builder for chaining.