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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WorkloadCertificates.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public WorkloadCertificates build()
Returns
buildPartial()
public WorkloadCertificates buildPartial()
Returns
clear()
public WorkloadCertificates.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public WorkloadCertificates.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public WorkloadCertificates.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public WorkloadCertificates.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public WorkloadCertificates getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(WorkloadCertificates other)
public WorkloadCertificates.Builder mergeFrom(WorkloadCertificates other)
Parameter
Returns
public WorkloadCertificates.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public WorkloadCertificates.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WorkloadCertificates.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public WorkloadCertificates.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WorkloadCertificates.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WorkloadCertificates.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides