Class MeshCertificates (2.33.0)

public final class MeshCertificates extends GeneratedMessageV3 implements MeshCertificatesOrBuilder

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

Protobuf type google.container.v1beta1.MeshCertificates

Static Fields

ENABLE_CERTIFICATES_FIELD_NUMBER

public static final int ENABLE_CERTIFICATES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MeshCertificates getDefaultInstance()
Returns
TypeDescription
MeshCertificates

getDescriptor()

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

newBuilder()

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

newBuilder(MeshCertificates prototype)

public static MeshCertificates.Builder newBuilder(MeshCertificates prototype)
Parameter
NameDescription
prototypeMeshCertificates
Returns
TypeDescription
MeshCertificates.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public MeshCertificates getDefaultInstanceForType()
Returns
TypeDescription
MeshCertificates

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<MeshCertificates> getParserForType()
Returns
TypeDescription
Parser<MeshCertificates>
Overrides

getSerializedSize()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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