Class GitConfig.HttpConfig.Builder (3.87.0)

public static final class GitConfig.HttpConfig.Builder extends 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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public GitConfig.HttpConfig build()
Returns
Type Description
GitConfig.HttpConfig

buildPartial()

public GitConfig.HttpConfig buildPartial()
Returns
Type Description
GitConfig.HttpConfig

clear()

public GitConfig.HttpConfig.Builder clear()
Returns
Type Description
GitConfig.HttpConfig.Builder
Overrides

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

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

Returns
Type Description
GitConfig.HttpConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public GitConfig.HttpConfig getDefaultInstanceForType()
Returns
Type Description
GitConfig.HttpConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

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

Returns
Type Description
String

The proxySecretVersionName.

getProxySecretVersionNameBytes()

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

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

Returns
Type Description
ByteString

The bytes for proxySecretVersionName.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GitConfig.HttpConfig other)

public GitConfig.HttpConfig.Builder mergeFrom(GitConfig.HttpConfig other)
Parameter
Name Description
other GitConfig.HttpConfig
Returns
Type Description
GitConfig.HttpConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GitConfig.HttpConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitConfig.HttpConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GitConfig.HttpConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GitConfig.HttpConfig.Builder
Overrides

setProxySecretVersionName(String value)

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://@]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)

public GitConfig.HttpConfig.Builder setProxySecretVersionNameBytes(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://@]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.