Class ServerTlsPolicy.MTLSPolicy.Builder (0.18.0)

public static final class ServerTlsPolicy.MTLSPolicy.Builder extends GeneratedMessageV3.Builder<ServerTlsPolicy.MTLSPolicy.Builder> implements ServerTlsPolicy.MTLSPolicyOrBuilder

Specification of the MTLSPolicy.

Protobuf type google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy

Static Methods

getDescriptor()

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

Methods

addAllClientValidationCa(Iterable<? extends ValidationCA> values)

public ServerTlsPolicy.MTLSPolicy.Builder addAllClientValidationCa(Iterable<? extends ValidationCA> values)

Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.networksecurity.v1beta1.ValidationCA>
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy.Builder

addClientValidationCa(ValidationCA value)

public ServerTlsPolicy.MTLSPolicy.Builder addClientValidationCa(ValidationCA value)

Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;

Parameter
NameDescription
valueValidationCA
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy.Builder

addClientValidationCa(ValidationCA.Builder builderForValue)

public ServerTlsPolicy.MTLSPolicy.Builder addClientValidationCa(ValidationCA.Builder builderForValue)

Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;

Parameter
NameDescription
builderForValueValidationCA.Builder
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy.Builder

addClientValidationCa(int index, ValidationCA value)

public ServerTlsPolicy.MTLSPolicy.Builder addClientValidationCa(int index, ValidationCA value)

Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;

Parameters
NameDescription
indexint
valueValidationCA
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy.Builder

addClientValidationCa(int index, ValidationCA.Builder builderForValue)

public ServerTlsPolicy.MTLSPolicy.Builder addClientValidationCa(int index, ValidationCA.Builder builderForValue)

Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;

Parameters
NameDescription
indexint
builderForValueValidationCA.Builder
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy.Builder

addClientValidationCaBuilder()

public ValidationCA.Builder addClientValidationCaBuilder()

Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;

Returns
TypeDescription
ValidationCA.Builder

addClientValidationCaBuilder(int index)

public ValidationCA.Builder addClientValidationCaBuilder(int index)

Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ValidationCA.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ServerTlsPolicy.MTLSPolicy build()
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy

buildPartial()

public ServerTlsPolicy.MTLSPolicy buildPartial()
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy

clear()

public ServerTlsPolicy.MTLSPolicy.Builder clear()
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy.Builder
Overrides

clearClientValidationCa()

public ServerTlsPolicy.MTLSPolicy.Builder clearClientValidationCa()

Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;

Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ServerTlsPolicy.MTLSPolicy.Builder clone()
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy.Builder
Overrides

getClientValidationCa(int index)

public ValidationCA getClientValidationCa(int index)

Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ValidationCA

getClientValidationCaBuilder(int index)

public ValidationCA.Builder getClientValidationCaBuilder(int index)

Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ValidationCA.Builder

getClientValidationCaBuilderList()

public List<ValidationCA.Builder> getClientValidationCaBuilderList()

Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;

Returns
TypeDescription
List<Builder>

getClientValidationCaCount()

public int getClientValidationCaCount()

Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;

Returns
TypeDescription
int

getClientValidationCaList()

public List<ValidationCA> getClientValidationCaList()

Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;

Returns
TypeDescription
List<ValidationCA>

getClientValidationCaOrBuilder(int index)

public ValidationCAOrBuilder getClientValidationCaOrBuilder(int index)

Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ValidationCAOrBuilder

getClientValidationCaOrBuilderList()

public List<? extends ValidationCAOrBuilder> getClientValidationCaOrBuilderList()

Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;

Returns
TypeDescription
List<? extends com.google.cloud.networksecurity.v1beta1.ValidationCAOrBuilder>

getDefaultInstanceForType()

public ServerTlsPolicy.MTLSPolicy getDefaultInstanceForType()
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ServerTlsPolicy.MTLSPolicy other)

public ServerTlsPolicy.MTLSPolicy.Builder mergeFrom(ServerTlsPolicy.MTLSPolicy other)
Parameter
NameDescription
otherServerTlsPolicy.MTLSPolicy
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeClientValidationCa(int index)

public ServerTlsPolicy.MTLSPolicy.Builder removeClientValidationCa(int index)

Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy.Builder

setClientValidationCa(int index, ValidationCA value)

public ServerTlsPolicy.MTLSPolicy.Builder setClientValidationCa(int index, ValidationCA value)

Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;

Parameters
NameDescription
indexint
valueValidationCA
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy.Builder

setClientValidationCa(int index, ValidationCA.Builder builderForValue)

public ServerTlsPolicy.MTLSPolicy.Builder setClientValidationCa(int index, ValidationCA.Builder builderForValue)

Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

repeated .google.cloud.networksecurity.v1beta1.ValidationCA client_validation_ca = 1;

Parameters
NameDescription
indexint
builderForValueValidationCA.Builder
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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