Class WorkloadCertificates (2.3.6)

public final class WorkloadCertificates extends GeneratedMessageV3 implements WorkloadCertificatesOrBuilder

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

Protobuf type google.container.v1beta1.WorkloadCertificates

Static Fields

ENABLE_CERTIFICATES_FIELD_NUMBER

public static final int ENABLE_CERTIFICATES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WorkloadCertificates getDefaultInstance()
Returns
TypeDescription
WorkloadCertificates

getDescriptor()

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

newBuilder()

public static WorkloadCertificates.Builder newBuilder()
Returns
TypeDescription
WorkloadCertificates.Builder

newBuilder(WorkloadCertificates prototype)

public static WorkloadCertificates.Builder newBuilder(WorkloadCertificates prototype)
Parameter
NameDescription
prototypeWorkloadCertificates
Returns
TypeDescription
WorkloadCertificates.Builder

parseDelimitedFrom(InputStream input)

public static WorkloadCertificates parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WorkloadCertificates
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkloadCertificates parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkloadCertificates
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static WorkloadCertificates parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
WorkloadCertificates
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WorkloadCertificates parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkloadCertificates
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WorkloadCertificates parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WorkloadCertificates
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WorkloadCertificates parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkloadCertificates
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WorkloadCertificates parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WorkloadCertificates
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkloadCertificates parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkloadCertificates
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static WorkloadCertificates parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WorkloadCertificates
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkloadCertificates parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkloadCertificates
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static WorkloadCertificates parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WorkloadCertificates
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WorkloadCertificates parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkloadCertificates
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<WorkloadCertificates> parser()
Returns
TypeDescription
Parser<WorkloadCertificates>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public WorkloadCertificates getDefaultInstanceForType()
Returns
TypeDescription
WorkloadCertificates

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.

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

getParserForType()

public Parser<WorkloadCertificates> getParserForType()
Returns
TypeDescription
Parser<WorkloadCertificates>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public WorkloadCertificates.Builder newBuilderForType()
Returns
TypeDescription
WorkloadCertificates.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WorkloadCertificates.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
WorkloadCertificates.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public WorkloadCertificates.Builder toBuilder()
Returns
TypeDescription
WorkloadCertificates.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException