Class GitConfig.HttpConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GitConfig.HttpConfig.Builder>
com.google.cloudbuild.v1.GitConfig.HttpConfig.Builder
All Implemented Interfaces:
GitConfig.HttpConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GitConfig.HttpConfig

public static final class GitConfig.HttpConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<GitConfig.HttpConfig.Builder> implements GitConfig.HttpConfigOrBuilder
 HttpConfig is a configuration for HTTP related git operations.
 
Protobuf type google.devtools.cloudbuild.v1.GitConfig.HttpConfig
  • 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<GitConfig.HttpConfig.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<GitConfig.HttpConfig.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<GitConfig.HttpConfig.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public GitConfig.HttpConfig.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<GitConfig.HttpConfig.Builder>
      Throws:
      IOException
    • getProxySecretVersionName

      public String getProxySecretVersionName()
       SecretVersion resource of the HTTP proxy URL. The Service Account used in
       the build (either the default Service Account or
       user-specified Service Account) should have
       `secretmanager.versions.access` permissions on this secret. The proxy URL
       should be in format `[protocol://][user[:password]@]proxyhost[:port]`.
       
      string proxy_secret_version_name = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getProxySecretVersionName in interface GitConfig.HttpConfigOrBuilder
      Returns:
      The proxySecretVersionName.
    • getProxySecretVersionNameBytes

      public com.google.protobuf.ByteString getProxySecretVersionNameBytes()
       SecretVersion resource of the HTTP proxy URL. The Service Account used in
       the build (either the default Service Account or
       user-specified Service Account) should have
       `secretmanager.versions.access` permissions on this secret. The proxy URL
       should be in format `[protocol://][user[:password]@]proxyhost[:port]`.
       
      string proxy_secret_version_name = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getProxySecretVersionNameBytes in interface GitConfig.HttpConfigOrBuilder
      Returns:
      The bytes for proxySecretVersionName.
    • setProxySecretVersionName

      public GitConfig.HttpConfig.Builder setProxySecretVersionName(String value)
       SecretVersion resource of the HTTP proxy URL. The Service Account used in
       the build (either the default Service Account or
       user-specified Service Account) should have
       `secretmanager.versions.access` permissions on this secret. The proxy URL
       should be in format `[protocol://][user[:password]@]proxyhost[:port]`.
       
      string proxy_secret_version_name = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The proxySecretVersionName to set.
      Returns:
      This builder for chaining.
    • clearProxySecretVersionName

      public GitConfig.HttpConfig.Builder clearProxySecretVersionName()
       SecretVersion resource of the HTTP proxy URL. The Service Account used in
       the build (either the default Service Account or
       user-specified Service Account) should have
       `secretmanager.versions.access` permissions on this secret. The proxy URL
       should be in format `[protocol://][user[:password]@]proxyhost[:port]`.
       
      string proxy_secret_version_name = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setProxySecretVersionNameBytes

      public GitConfig.HttpConfig.Builder setProxySecretVersionNameBytes(com.google.protobuf.ByteString value)
       SecretVersion resource of the HTTP proxy URL. The Service Account used in
       the build (either the default Service Account or
       user-specified Service Account) should have
       `secretmanager.versions.access` permissions on this secret. The proxy URL
       should be in format `[protocol://][user[:password]@]proxyhost[:port]`.
       
      string proxy_secret_version_name = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for proxySecretVersionName to set.
      Returns:
      This builder for chaining.