Class WorkloadCertificates.Builder (2.26.0)

public static final class WorkloadCertificates.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WorkloadCertificates build()
Returns
TypeDescription
WorkloadCertificates

buildPartial()

public WorkloadCertificates buildPartial()
Returns
TypeDescription
WorkloadCertificates

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public WorkloadCertificates getDefaultInstanceForType()
Returns
TypeDescription
WorkloadCertificates

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 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
NameDescription
valueBoolValue
Returns
TypeDescription
WorkloadCertificates.Builder

mergeFrom(WorkloadCertificates other)

public WorkloadCertificates.Builder mergeFrom(WorkloadCertificates other)
Parameter
NameDescription
otherWorkloadCertificates
Returns
TypeDescription
WorkloadCertificates.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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