Class AttachedProxyConfig.Builder (0.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AttachedProxyConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AttachedProxyConfig.Builder
Overrides

build()

public AttachedProxyConfig build()
Returns
TypeDescription
AttachedProxyConfig

buildPartial()

public AttachedProxyConfig buildPartial()
Returns
TypeDescription
AttachedProxyConfig

clear()

public AttachedProxyConfig.Builder clear()
Returns
TypeDescription
AttachedProxyConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AttachedProxyConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
AttachedProxyConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AttachedProxyConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AttachedProxyConfig.Builder
Overrides

clone()

public AttachedProxyConfig.Builder clone()
Returns
TypeDescription
AttachedProxyConfig.Builder
Overrides

getDefaultInstanceForType()

public AttachedProxyConfig getDefaultInstanceForType()
Returns
TypeDescription
AttachedProxyConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the kubernetesSecret field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AttachedProxyConfig other)

public AttachedProxyConfig.Builder mergeFrom(AttachedProxyConfig other)
Parameter
NameDescription
otherAttachedProxyConfig
Returns
TypeDescription
AttachedProxyConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AttachedProxyConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttachedProxyConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AttachedProxyConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueKubernetesSecret
Returns
TypeDescription
AttachedProxyConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AttachedProxyConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AttachedProxyConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AttachedProxyConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueKubernetesSecret
Returns
TypeDescription
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
NameDescription
builderForValueKubernetesSecret.Builder
Returns
TypeDescription
AttachedProxyConfig.Builder

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

public AttachedProxyConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AttachedProxyConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AttachedProxyConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AttachedProxyConfig.Builder
Overrides