Class ServerTlsPolicy.MTLSPolicy.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.MTLSPolicy.Builder>
-
- com.google.cloud.networksecurity.v1.ServerTlsPolicy.MTLSPolicy.Builder
-
- All Implemented Interfaces:
ServerTlsPolicy.MTLSPolicyOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ServerTlsPolicy.MTLSPolicy
public static final class ServerTlsPolicy.MTLSPolicy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.MTLSPolicy.Builder> implements ServerTlsPolicy.MTLSPolicyOrBuilder
Specification of the MTLSPolicy.
Protobuf typegoogle.cloud.networksecurity.v1.ServerTlsPolicy.MTLSPolicy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerTlsPolicy.MTLSPolicy.Builder
addAllClientValidationCa(Iterable<? extends ValidationCA> values)
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.ServerTlsPolicy.MTLSPolicy.Builder
addClientValidationCa(int index, ValidationCA value)
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.ServerTlsPolicy.MTLSPolicy.Builder
addClientValidationCa(int index, ValidationCA.Builder builderForValue)
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.ServerTlsPolicy.MTLSPolicy.Builder
addClientValidationCa(ValidationCA value)
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.ServerTlsPolicy.MTLSPolicy.Builder
addClientValidationCa(ValidationCA.Builder builderForValue)
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.ValidationCA.Builder
addClientValidationCaBuilder()
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.ValidationCA.Builder
addClientValidationCaBuilder(int index)
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.ServerTlsPolicy.MTLSPolicy.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ServerTlsPolicy.MTLSPolicy
build()
ServerTlsPolicy.MTLSPolicy
buildPartial()
ServerTlsPolicy.MTLSPolicy.Builder
clear()
ServerTlsPolicy.MTLSPolicy.Builder
clearClientValidationCa()
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.ServerTlsPolicy.MTLSPolicy.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ServerTlsPolicy.MTLSPolicy.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ServerTlsPolicy.MTLSPolicy.Builder
clone()
ValidationCA
getClientValidationCa(int index)
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.ValidationCA.Builder
getClientValidationCaBuilder(int index)
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.List<ValidationCA.Builder>
getClientValidationCaBuilderList()
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.int
getClientValidationCaCount()
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.List<ValidationCA>
getClientValidationCaList()
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.ValidationCAOrBuilder
getClientValidationCaOrBuilder(int index)
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.List<? extends ValidationCAOrBuilder>
getClientValidationCaOrBuilderList()
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.ServerTlsPolicy.MTLSPolicy
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ServerTlsPolicy.MTLSPolicy.Builder
mergeFrom(ServerTlsPolicy.MTLSPolicy other)
ServerTlsPolicy.MTLSPolicy.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ServerTlsPolicy.MTLSPolicy.Builder
mergeFrom(com.google.protobuf.Message other)
ServerTlsPolicy.MTLSPolicy.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ServerTlsPolicy.MTLSPolicy.Builder
removeClientValidationCa(int index)
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.ServerTlsPolicy.MTLSPolicy.Builder
setClientValidationCa(int index, ValidationCA value)
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.ServerTlsPolicy.MTLSPolicy.Builder
setClientValidationCa(int index, ValidationCA.Builder builderForValue)
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.ServerTlsPolicy.MTLSPolicy.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ServerTlsPolicy.MTLSPolicy.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ServerTlsPolicy.MTLSPolicy.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.MTLSPolicy.Builder>
-
clear
public ServerTlsPolicy.MTLSPolicy.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.MTLSPolicy.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.MTLSPolicy.Builder>
-
getDefaultInstanceForType
public ServerTlsPolicy.MTLSPolicy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ServerTlsPolicy.MTLSPolicy build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ServerTlsPolicy.MTLSPolicy buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ServerTlsPolicy.MTLSPolicy.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.MTLSPolicy.Builder>
-
setField
public ServerTlsPolicy.MTLSPolicy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.MTLSPolicy.Builder>
-
clearField
public ServerTlsPolicy.MTLSPolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.MTLSPolicy.Builder>
-
clearOneof
public ServerTlsPolicy.MTLSPolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.MTLSPolicy.Builder>
-
setRepeatedField
public ServerTlsPolicy.MTLSPolicy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.MTLSPolicy.Builder>
-
addRepeatedField
public ServerTlsPolicy.MTLSPolicy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.MTLSPolicy.Builder>
-
mergeFrom
public ServerTlsPolicy.MTLSPolicy.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ServerTlsPolicy.MTLSPolicy.Builder>
-
mergeFrom
public ServerTlsPolicy.MTLSPolicy.Builder mergeFrom(ServerTlsPolicy.MTLSPolicy other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.MTLSPolicy.Builder>
-
mergeFrom
public ServerTlsPolicy.MTLSPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ServerTlsPolicy.MTLSPolicy.Builder>
- Throws:
IOException
-
getClientValidationCaList
public List<ValidationCA> getClientValidationCaList()
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.
repeated .google.cloud.networksecurity.v1.ValidationCA client_validation_ca = 1;
- Specified by:
getClientValidationCaList
in interfaceServerTlsPolicy.MTLSPolicyOrBuilder
-
getClientValidationCaCount
public int getClientValidationCaCount()
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.
repeated .google.cloud.networksecurity.v1.ValidationCA client_validation_ca = 1;
- Specified by:
getClientValidationCaCount
in interfaceServerTlsPolicy.MTLSPolicyOrBuilder
-
getClientValidationCa
public ValidationCA getClientValidationCa(int index)
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.
repeated .google.cloud.networksecurity.v1.ValidationCA client_validation_ca = 1;
- Specified by:
getClientValidationCa
in interfaceServerTlsPolicy.MTLSPolicyOrBuilder
-
setClientValidationCa
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.v1.ValidationCA client_validation_ca = 1;
-
setClientValidationCa
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.v1.ValidationCA client_validation_ca = 1;
-
addClientValidationCa
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.v1.ValidationCA client_validation_ca = 1;
-
addClientValidationCa
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.v1.ValidationCA client_validation_ca = 1;
-
addClientValidationCa
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.v1.ValidationCA client_validation_ca = 1;
-
addClientValidationCa
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.v1.ValidationCA client_validation_ca = 1;
-
addAllClientValidationCa
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.v1.ValidationCA client_validation_ca = 1;
-
clearClientValidationCa
public ServerTlsPolicy.MTLSPolicy.Builder clearClientValidationCa()
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.
repeated .google.cloud.networksecurity.v1.ValidationCA client_validation_ca = 1;
-
removeClientValidationCa
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.v1.ValidationCA client_validation_ca = 1;
-
getClientValidationCaBuilder
public ValidationCA.Builder getClientValidationCaBuilder(int index)
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.
repeated .google.cloud.networksecurity.v1.ValidationCA client_validation_ca = 1;
-
getClientValidationCaOrBuilder
public ValidationCAOrBuilder getClientValidationCaOrBuilder(int index)
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.
repeated .google.cloud.networksecurity.v1.ValidationCA client_validation_ca = 1;
- Specified by:
getClientValidationCaOrBuilder
in interfaceServerTlsPolicy.MTLSPolicyOrBuilder
-
getClientValidationCaOrBuilderList
public List<? extends ValidationCAOrBuilder> getClientValidationCaOrBuilderList()
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.
repeated .google.cloud.networksecurity.v1.ValidationCA client_validation_ca = 1;
- Specified by:
getClientValidationCaOrBuilderList
in interfaceServerTlsPolicy.MTLSPolicyOrBuilder
-
addClientValidationCaBuilder
public ValidationCA.Builder addClientValidationCaBuilder()
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.
repeated .google.cloud.networksecurity.v1.ValidationCA client_validation_ca = 1;
-
addClientValidationCaBuilder
public ValidationCA.Builder addClientValidationCaBuilder(int index)
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.
repeated .google.cloud.networksecurity.v1.ValidationCA client_validation_ca = 1;
-
getClientValidationCaBuilderList
public List<ValidationCA.Builder> getClientValidationCaBuilderList()
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.
repeated .google.cloud.networksecurity.v1.ValidationCA client_validation_ca = 1;
-
setUnknownFields
public final ServerTlsPolicy.MTLSPolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.MTLSPolicy.Builder>
-
mergeUnknownFields
public final ServerTlsPolicy.MTLSPolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServerTlsPolicy.MTLSPolicy.Builder>
-
-