Class MeshCertificates.Builder (2.6.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.v1.MeshCertificates

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MeshCertificates build()
Returns
TypeDescription
MeshCertificates

buildPartial()

public MeshCertificates buildPartial()
Returns
TypeDescription
MeshCertificates

clear()

public MeshCertificates.Builder clear()
Returns
TypeDescription
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
TypeDescription
MeshCertificates.Builder

clearField(Descriptors.FieldDescriptor field)

public MeshCertificates.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MeshCertificates.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public MeshCertificates getDefaultInstanceForType()
Returns
TypeDescription
MeshCertificates

getDescriptorForType()

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

Whether the enableCertificates field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueBoolValue
Returns
TypeDescription
MeshCertificates.Builder

mergeFrom(MeshCertificates other)

public MeshCertificates.Builder mergeFrom(MeshCertificates other)
Parameter
NameDescription
otherMeshCertificates
Returns
TypeDescription
MeshCertificates.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public MeshCertificates.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MeshCertificates.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MeshCertificates.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueBoolValue
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
MeshCertificates.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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