Class WorkloadCertificates.Builder (2.86.0)

public static final class WorkloadCertificates.Builder extends GeneratedMessage.Builder<WorkloadCertificates.Builder> implements WorkloadCertificatesOrBuilder

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

Protobuf type google.container.v1beta1.WorkloadCertificates

Static Methods

getDescriptor()

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

Methods

build()

public WorkloadCertificates build()
Returns
Type Description
WorkloadCertificates

buildPartial()

public WorkloadCertificates buildPartial()
Returns
Type Description
WorkloadCertificates

clear()

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

clearEnableCertificates()

public WorkloadCertificates.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
WorkloadCertificates.Builder

getDefaultInstanceForType()

public WorkloadCertificates getDefaultInstanceForType()
Returns
Type Description
WorkloadCertificates

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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEnableCertificates(BoolValue value)

public WorkloadCertificates.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
WorkloadCertificates.Builder

mergeFrom(WorkloadCertificates other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setEnableCertificates(BoolValue value)

public WorkloadCertificates.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
WorkloadCertificates.Builder

setEnableCertificates(BoolValue.Builder builderForValue)

public WorkloadCertificates.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
WorkloadCertificates.Builder