Class GitConfig.HttpConfig.Builder (3.65.0)

publicstaticfinalclass GitConfig.HttpConfig.BuilderextendsGeneratedMessageV3.Builder<GitConfig.HttpConfig.Builder>implementsGitConfig.HttpConfigOrBuilder

HttpConfig is a configuration for HTTP related git operations.

Protobuf type google.devtools.cloudbuild.v1.GitConfig.HttpConfig

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicGitConfig.HttpConfig.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GitConfig.HttpConfig.Builder
Overrides

build()

publicGitConfig.HttpConfigbuild()
Returns
Type Description
GitConfig.HttpConfig

buildPartial()

publicGitConfig.HttpConfigbuildPartial()
Returns
Type Description
GitConfig.HttpConfig

clear()

publicGitConfig.HttpConfig.Builderclear()
Returns
Type Description
GitConfig.HttpConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicGitConfig.HttpConfig.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GitConfig.HttpConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicGitConfig.HttpConfig.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GitConfig.HttpConfig.Builder
Overrides

clearProxySecretVersionName()

publicGitConfig.HttpConfig.BuilderclearProxySecretVersionName()

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://@]proxyhost[:port].

string proxy_secret_version_name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
GitConfig.HttpConfig.Builder

This builder for chaining.

clone()

publicGitConfig.HttpConfig.Builderclone()
Returns
Type Description
GitConfig.HttpConfig.Builder
Overrides

getDefaultInstanceForType()

publicGitConfig.HttpConfiggetDefaultInstanceForType()
Returns
Type Description
GitConfig.HttpConfig

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProxySecretVersionName()

publicStringgetProxySecretVersionName()

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://@]proxyhost[:port].

string proxy_secret_version_name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The proxySecretVersionName.

getProxySecretVersionNameBytes()

publicByteStringgetProxySecretVersionNameBytes()

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://@]proxyhost[:port].

string proxy_secret_version_name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for proxySecretVersionName.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GitConfig.HttpConfig other)

publicGitConfig.HttpConfig.BuildermergeFrom(GitConfig.HttpConfigother)
Parameter
Name Description
other GitConfig.HttpConfig
Returns
Type Description
GitConfig.HttpConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicGitConfig.HttpConfig.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitConfig.HttpConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicGitConfig.HttpConfig.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
GitConfig.HttpConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalGitConfig.HttpConfig.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GitConfig.HttpConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicGitConfig.HttpConfig.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GitConfig.HttpConfig.Builder
Overrides

setProxySecretVersionName(String value)

publicGitConfig.HttpConfig.BuildersetProxySecretVersionName(Stringvalue)

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://@]proxyhost[:port].

string proxy_secret_version_name = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The proxySecretVersionName to set.

Returns
Type Description
GitConfig.HttpConfig.Builder

This builder for chaining.

setProxySecretVersionNameBytes(ByteString value)

publicGitConfig.HttpConfig.BuildersetProxySecretVersionNameBytes(ByteStringvalue)

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://@]proxyhost[:port].

string proxy_secret_version_name = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for proxySecretVersionName to set.

Returns
Type Description
GitConfig.HttpConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicGitConfig.HttpConfig.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GitConfig.HttpConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalGitConfig.HttpConfig.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GitConfig.HttpConfig.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.