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
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
Name | Description |
values | Iterable<? extends com.google.cloud.networksecurity.v1beta1.ValidationCA>
|
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServerTlsPolicy.MTLSPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ServerTlsPolicy.MTLSPolicy build()
Returns
buildPartial()
public ServerTlsPolicy.MTLSPolicy buildPartial()
Returns
clear()
public ServerTlsPolicy.MTLSPolicy.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public ServerTlsPolicy.MTLSPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ServerTlsPolicy.MTLSPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ServerTlsPolicy.MTLSPolicy.Builder clone()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Type | Description |
List<? extends com.google.cloud.networksecurity.v1beta1.ValidationCAOrBuilder> | |
getDefaultInstanceForType()
public ServerTlsPolicy.MTLSPolicy getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ServerTlsPolicy.MTLSPolicy other)
public ServerTlsPolicy.MTLSPolicy.Builder mergeFrom(ServerTlsPolicy.MTLSPolicy other)
Parameter
Returns
public ServerTlsPolicy.MTLSPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ServerTlsPolicy.MTLSPolicy.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServerTlsPolicy.MTLSPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ServerTlsPolicy.MTLSPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServerTlsPolicy.MTLSPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ServerTlsPolicy.MTLSPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides