Class ClientCertificateConfig.Builder (2.7.0)

public static final class ClientCertificateConfig.Builder extends GeneratedMessageV3.Builder<ClientCertificateConfig.Builder> implements ClientCertificateConfigOrBuilder

Configuration for client certificates on the cluster.

Protobuf type google.container.v1.ClientCertificateConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ClientCertificateConfig build()
Returns
TypeDescription
ClientCertificateConfig

buildPartial()

public ClientCertificateConfig buildPartial()
Returns
TypeDescription
ClientCertificateConfig

clear()

public ClientCertificateConfig.Builder clear()
Returns
TypeDescription
ClientCertificateConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearIssueClientCertificate()

public ClientCertificateConfig.Builder clearIssueClientCertificate()

Issue a client certificate.

bool issue_client_certificate = 1;

Returns
TypeDescription
ClientCertificateConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ClientCertificateConfig getDefaultInstanceForType()
Returns
TypeDescription
ClientCertificateConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIssueClientCertificate()

public boolean getIssueClientCertificate()

Issue a client certificate.

bool issue_client_certificate = 1;

Returns
TypeDescription
boolean

The issueClientCertificate.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ClientCertificateConfig other)

public ClientCertificateConfig.Builder mergeFrom(ClientCertificateConfig other)
Parameter
NameDescription
otherClientCertificateConfig
Returns
TypeDescription
ClientCertificateConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ClientCertificateConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ClientCertificateConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setIssueClientCertificate(boolean value)

public ClientCertificateConfig.Builder setIssueClientCertificate(boolean value)

Issue a client certificate.

bool issue_client_certificate = 1;

Parameter
NameDescription
valueboolean

The issueClientCertificate to set.

Returns
TypeDescription
ClientCertificateConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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