Class MeshCertificates.Builder (2.56.0)

public static final class MeshCertificates.Builder extends GeneratedMessageV3.Builder<MeshCertificates.Builder> implements MeshCertificatesOrBuilder

Configuration for issuance of mTLS keys and certificates to Kubernetes pods.

Protobuf type google.container.v1beta1.MeshCertificates

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MeshCertificates build()
Returns
Type Description
MeshCertificates

buildPartial()

public MeshCertificates buildPartial()
Returns
Type Description
MeshCertificates

clear()

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

clearEnableCertificates()

public MeshCertificates.Builder clearEnableCertificates()

enable_certificates controls issuance of workload mTLS certificates.

If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource.

Requires Workload Identity (workload_pool must be non-empty).

.google.protobuf.BoolValue enable_certificates = 1;

Returns
Type Description
MeshCertificates.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public MeshCertificates getDefaultInstanceForType()
Returns
Type Description
MeshCertificates

getDescriptorForType()

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

getEnableCertificates()

public BoolValue getEnableCertificates()

enable_certificates controls issuance of workload mTLS certificates.

If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource.

Requires Workload Identity (workload_pool must be non-empty).

.google.protobuf.BoolValue enable_certificates = 1;

Returns
Type Description
BoolValue

The enableCertificates.

getEnableCertificatesBuilder()

public BoolValue.Builder getEnableCertificatesBuilder()

enable_certificates controls issuance of workload mTLS certificates.

If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource.

Requires Workload Identity (workload_pool must be non-empty).

.google.protobuf.BoolValue enable_certificates = 1;

Returns
Type Description
Builder

getEnableCertificatesOrBuilder()

public BoolValueOrBuilder getEnableCertificatesOrBuilder()

enable_certificates controls issuance of workload mTLS certificates.

If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource.

Requires Workload Identity (workload_pool must be non-empty).

.google.protobuf.BoolValue enable_certificates = 1;

Returns
Type Description
BoolValueOrBuilder

hasEnableCertificates()

public boolean hasEnableCertificates()

enable_certificates controls issuance of workload mTLS certificates.

If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource.

Requires Workload Identity (workload_pool must be non-empty).

.google.protobuf.BoolValue enable_certificates = 1;

Returns
Type Description
boolean

Whether the enableCertificates field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEnableCertificates(BoolValue value)

public MeshCertificates.Builder mergeEnableCertificates(BoolValue value)

enable_certificates controls issuance of workload mTLS certificates.

If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource.

Requires Workload Identity (workload_pool must be non-empty).

.google.protobuf.BoolValue enable_certificates = 1;

Parameter
Name Description
value BoolValue
Returns
Type Description
MeshCertificates.Builder

mergeFrom(MeshCertificates other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnableCertificates(BoolValue value)

public MeshCertificates.Builder setEnableCertificates(BoolValue value)

enable_certificates controls issuance of workload mTLS certificates.

If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource.

Requires Workload Identity (workload_pool must be non-empty).

.google.protobuf.BoolValue enable_certificates = 1;

Parameter
Name Description
value BoolValue
Returns
Type Description
MeshCertificates.Builder

setEnableCertificates(BoolValue.Builder builderForValue)

public MeshCertificates.Builder setEnableCertificates(BoolValue.Builder builderForValue)

enable_certificates controls issuance of workload mTLS certificates.

If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource.

Requires Workload Identity (workload_pool must be non-empty).

.google.protobuf.BoolValue enable_certificates = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
MeshCertificates.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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