Class Instance.HostConfig.Builder

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

public static final class Instance.HostConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<Instance.HostConfig.Builder> implements Instance.HostConfigOrBuilder
 HostConfig has different instance endpoints.
 
Protobuf type google.cloud.securesourcemanager.v1.Instance.HostConfig
  • 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.HostConfig.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.HostConfig.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.HostConfig.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getHtml()
       Output only. HTML hostname.
       
      string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHtml in interface Instance.HostConfigOrBuilder
      Returns:
      The html.
    • getHtmlBytes

      public com.google.protobuf.ByteString getHtmlBytes()
       Output only. HTML hostname.
       
      string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHtmlBytes in interface Instance.HostConfigOrBuilder
      Returns:
      The bytes for html.
    • setHtml

      public Instance.HostConfig.Builder setHtml(String value)
       Output only. HTML hostname.
       
      string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The html to set.
      Returns:
      This builder for chaining.
    • clearHtml

      public Instance.HostConfig.Builder clearHtml()
       Output only. HTML hostname.
       
      string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setHtmlBytes

      public Instance.HostConfig.Builder setHtmlBytes(com.google.protobuf.ByteString value)
       Output only. HTML hostname.
       
      string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for html to set.
      Returns:
      This builder for chaining.
    • getApi

      public String getApi()
       Output only. API hostname.
       
      string api = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getApi in interface Instance.HostConfigOrBuilder
      Returns:
      The api.
    • getApiBytes

      public com.google.protobuf.ByteString getApiBytes()
       Output only. API hostname.
       
      string api = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getApiBytes in interface Instance.HostConfigOrBuilder
      Returns:
      The bytes for api.
    • setApi

      public Instance.HostConfig.Builder setApi(String value)
       Output only. API hostname.
       
      string api = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The api to set.
      Returns:
      This builder for chaining.
    • clearApi

      public Instance.HostConfig.Builder clearApi()
       Output only. API hostname.
       
      string api = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setApiBytes

      public Instance.HostConfig.Builder setApiBytes(com.google.protobuf.ByteString value)
       Output only. API hostname.
       
      string api = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for api to set.
      Returns:
      This builder for chaining.
    • getGitHttp

      public String getGitHttp()
       Output only. Git HTTP hostname.
       
      string git_http = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGitHttp in interface Instance.HostConfigOrBuilder
      Returns:
      The gitHttp.
    • getGitHttpBytes

      public com.google.protobuf.ByteString getGitHttpBytes()
       Output only. Git HTTP hostname.
       
      string git_http = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGitHttpBytes in interface Instance.HostConfigOrBuilder
      Returns:
      The bytes for gitHttp.
    • setGitHttp

      public Instance.HostConfig.Builder setGitHttp(String value)
       Output only. Git HTTP hostname.
       
      string git_http = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The gitHttp to set.
      Returns:
      This builder for chaining.
    • clearGitHttp

      public Instance.HostConfig.Builder clearGitHttp()
       Output only. Git HTTP hostname.
       
      string git_http = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setGitHttpBytes

      public Instance.HostConfig.Builder setGitHttpBytes(com.google.protobuf.ByteString value)
       Output only. Git HTTP hostname.
       
      string git_http = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for gitHttp to set.
      Returns:
      This builder for chaining.
    • getGitSsh

      public String getGitSsh()
       Output only. Git SSH hostname.
       
      string git_ssh = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGitSsh in interface Instance.HostConfigOrBuilder
      Returns:
      The gitSsh.
    • getGitSshBytes

      public com.google.protobuf.ByteString getGitSshBytes()
       Output only. Git SSH hostname.
       
      string git_ssh = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGitSshBytes in interface Instance.HostConfigOrBuilder
      Returns:
      The bytes for gitSsh.
    • setGitSsh

      public Instance.HostConfig.Builder setGitSsh(String value)
       Output only. Git SSH hostname.
       
      string git_ssh = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The gitSsh to set.
      Returns:
      This builder for chaining.
    • clearGitSsh

      public Instance.HostConfig.Builder clearGitSsh()
       Output only. Git SSH hostname.
       
      string git_ssh = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setGitSshBytes

      public Instance.HostConfig.Builder setGitSshBytes(com.google.protobuf.ByteString value)
       Output only. Git SSH hostname.
       
      string git_ssh = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for gitSsh to set.
      Returns:
      This builder for chaining.