Class AttachedProxyConfig.Builder (0.42.0)

public static final class AttachedProxyConfig.Builder extends GeneratedMessageV3.Builder<AttachedProxyConfig.Builder> implements AttachedProxyConfigOrBuilder

Details of a proxy config.

Protobuf type google.cloud.gkemulticloud.v1.AttachedProxyConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AttachedProxyConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AttachedProxyConfig.Builder
Overrides

build()

public AttachedProxyConfig build()
Returns
Type Description
AttachedProxyConfig

buildPartial()

public AttachedProxyConfig buildPartial()
Returns
Type Description
AttachedProxyConfig

clear()

public AttachedProxyConfig.Builder clear()
Returns
Type Description
AttachedProxyConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AttachedProxyConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AttachedProxyConfig.Builder
Overrides

clearKubernetesSecret()

public AttachedProxyConfig.Builder clearKubernetesSecret()

The Kubernetes Secret resource that contains the HTTP(S) proxy configuration. The secret must be a JSON encoded proxy configuration as described in

.google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1;

Returns
Type Description
AttachedProxyConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AttachedProxyConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AttachedProxyConfig.Builder
Overrides

clone()

public AttachedProxyConfig.Builder clone()
Returns
Type Description
AttachedProxyConfig.Builder
Overrides

getDefaultInstanceForType()

public AttachedProxyConfig getDefaultInstanceForType()
Returns
Type Description
AttachedProxyConfig

getDescriptorForType()

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

getKubernetesSecret()

public KubernetesSecret getKubernetesSecret()

The Kubernetes Secret resource that contains the HTTP(S) proxy configuration. The secret must be a JSON encoded proxy configuration as described in

.google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1;

Returns
Type Description
KubernetesSecret

The kubernetesSecret.

getKubernetesSecretBuilder()

public KubernetesSecret.Builder getKubernetesSecretBuilder()

The Kubernetes Secret resource that contains the HTTP(S) proxy configuration. The secret must be a JSON encoded proxy configuration as described in

.google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1;

Returns
Type Description
KubernetesSecret.Builder

getKubernetesSecretOrBuilder()

public KubernetesSecretOrBuilder getKubernetesSecretOrBuilder()

The Kubernetes Secret resource that contains the HTTP(S) proxy configuration. The secret must be a JSON encoded proxy configuration as described in

.google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1;

Returns
Type Description
KubernetesSecretOrBuilder

hasKubernetesSecret()

public boolean hasKubernetesSecret()

The Kubernetes Secret resource that contains the HTTP(S) proxy configuration. The secret must be a JSON encoded proxy configuration as described in

.google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1;

Returns
Type Description
boolean

Whether the kubernetesSecret field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AttachedProxyConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeKubernetesSecret(KubernetesSecret value)

public AttachedProxyConfig.Builder mergeKubernetesSecret(KubernetesSecret value)

The Kubernetes Secret resource that contains the HTTP(S) proxy configuration. The secret must be a JSON encoded proxy configuration as described in

.google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1;

Parameter
Name Description
value KubernetesSecret
Returns
Type Description
AttachedProxyConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AttachedProxyConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AttachedProxyConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AttachedProxyConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AttachedProxyConfig.Builder
Overrides

setKubernetesSecret(KubernetesSecret value)

public AttachedProxyConfig.Builder setKubernetesSecret(KubernetesSecret value)

The Kubernetes Secret resource that contains the HTTP(S) proxy configuration. The secret must be a JSON encoded proxy configuration as described in

.google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1;

Parameter
Name Description
value KubernetesSecret
Returns
Type Description
AttachedProxyConfig.Builder

setKubernetesSecret(KubernetesSecret.Builder builderForValue)

public AttachedProxyConfig.Builder setKubernetesSecret(KubernetesSecret.Builder builderForValue)

The Kubernetes Secret resource that contains the HTTP(S) proxy configuration. The secret must be a JSON encoded proxy configuration as described in

.google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1;

Parameter
Name Description
builderForValue KubernetesSecret.Builder
Returns
Type Description
AttachedProxyConfig.Builder

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

public AttachedProxyConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AttachedProxyConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AttachedProxyConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AttachedProxyConfig.Builder
Overrides