Class GitProxyConfig.Builder

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

public static final class GitProxyConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<GitProxyConfig.Builder> implements GitProxyConfigOrBuilder
 The git proxy configuration.
 
Protobuf type google.cloud.developerconnect.v1.GitProxyConfig
  • 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<GitProxyConfig.Builder>
    • clear

      public GitProxyConfig.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<GitProxyConfig.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<GitProxyConfig.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public GitProxyConfig.Builder mergeFrom(GitProxyConfig other)
    • isInitialized

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

      public GitProxyConfig.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<GitProxyConfig.Builder>
      Throws:
      IOException
    • getEnabled

      public boolean getEnabled()
       Optional. Setting this to true allows the git proxy to be used for
       performing git operations on the repositories linked in the connection.
       
      bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEnabled in interface GitProxyConfigOrBuilder
      Returns:
      The enabled.
    • setEnabled

      public GitProxyConfig.Builder setEnabled(boolean value)
       Optional. Setting this to true allows the git proxy to be used for
       performing git operations on the repositories linked in the connection.
       
      bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enabled to set.
      Returns:
      This builder for chaining.
    • clearEnabled

      public GitProxyConfig.Builder clearEnabled()
       Optional. Setting this to true allows the git proxy to be used for
       performing git operations on the repositories linked in the connection.
       
      bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getHttpProxyBaseUri

      public String getHttpProxyBaseUri()
       Output only. The base URI for the HTTP proxy endpoint. Has
       the format
       `https://{generatedID}-c-h-{shortRegion}.developerconnect.dev`
       Populated only when enabled is set to true.
       This endpoint is used by other Google services that integrate with
       Developer Connect.
       
      string http_proxy_base_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHttpProxyBaseUri in interface GitProxyConfigOrBuilder
      Returns:
      The httpProxyBaseUri.
    • getHttpProxyBaseUriBytes

      public com.google.protobuf.ByteString getHttpProxyBaseUriBytes()
       Output only. The base URI for the HTTP proxy endpoint. Has
       the format
       `https://{generatedID}-c-h-{shortRegion}.developerconnect.dev`
       Populated only when enabled is set to true.
       This endpoint is used by other Google services that integrate with
       Developer Connect.
       
      string http_proxy_base_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHttpProxyBaseUriBytes in interface GitProxyConfigOrBuilder
      Returns:
      The bytes for httpProxyBaseUri.
    • setHttpProxyBaseUri

      public GitProxyConfig.Builder setHttpProxyBaseUri(String value)
       Output only. The base URI for the HTTP proxy endpoint. Has
       the format
       `https://{generatedID}-c-h-{shortRegion}.developerconnect.dev`
       Populated only when enabled is set to true.
       This endpoint is used by other Google services that integrate with
       Developer Connect.
       
      string http_proxy_base_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The httpProxyBaseUri to set.
      Returns:
      This builder for chaining.
    • clearHttpProxyBaseUri

      public GitProxyConfig.Builder clearHttpProxyBaseUri()
       Output only. The base URI for the HTTP proxy endpoint. Has
       the format
       `https://{generatedID}-c-h-{shortRegion}.developerconnect.dev`
       Populated only when enabled is set to true.
       This endpoint is used by other Google services that integrate with
       Developer Connect.
       
      string http_proxy_base_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setHttpProxyBaseUriBytes

      public GitProxyConfig.Builder setHttpProxyBaseUriBytes(com.google.protobuf.ByteString value)
       Output only. The base URI for the HTTP proxy endpoint. Has
       the format
       `https://{generatedID}-c-h-{shortRegion}.developerconnect.dev`
       Populated only when enabled is set to true.
       This endpoint is used by other Google services that integrate with
       Developer Connect.
       
      string http_proxy_base_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for httpProxyBaseUri to set.
      Returns:
      This builder for chaining.