Class ServerTlsPolicy.MTLSPolicy
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networksecurity.v1.ServerTlsPolicy.MTLSPolicy
- All Implemented Interfaces:
ServerTlsPolicy.MTLSPolicyOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- ServerTlsPolicy
public static final class ServerTlsPolicy.MTLSPolicy
extends com.google.protobuf.GeneratedMessage
implements ServerTlsPolicy.MTLSPolicyOrBuilder
Specification of the MTLSPolicy.Protobuf type
google.cloud.networksecurity.v1.ServerTlsPolicy.MTLSPolicy- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSpecification of the MTLSPolicy.static enumMutual TLS certificate validation mode.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetClientValidationCa(int index) Required if the policy is to be used with Traffic Director.intRequired if the policy is to be used with Traffic Director.Required if the policy is to be used with Traffic Director.getClientValidationCaOrBuilder(int index) Required if the policy is to be used with Traffic Director.List<? extends ValidationCAOrBuilder>Required if the policy is to be used with Traffic Director.When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled.intWhen the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled.Reference to the TrustConfig from certificatemanager.googleapis.com namespace.com.google.protobuf.ByteStringReference to the TrustConfig from certificatemanager.googleapis.com namespace.static ServerTlsPolicy.MTLSPolicystatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<ServerTlsPolicy.MTLSPolicy>intinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(ServerTlsPolicy.MTLSPolicy prototype) protected ServerTlsPolicy.MTLSPolicy.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ServerTlsPolicy.MTLSPolicyparseDelimitedFrom(InputStream input) static ServerTlsPolicy.MTLSPolicyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServerTlsPolicy.MTLSPolicyparseFrom(byte[] data) static ServerTlsPolicy.MTLSPolicyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServerTlsPolicy.MTLSPolicyparseFrom(com.google.protobuf.ByteString data) static ServerTlsPolicy.MTLSPolicyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServerTlsPolicy.MTLSPolicyparseFrom(com.google.protobuf.CodedInputStream input) static ServerTlsPolicy.MTLSPolicyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServerTlsPolicy.MTLSPolicyparseFrom(InputStream input) static ServerTlsPolicy.MTLSPolicyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServerTlsPolicy.MTLSPolicyparseFrom(ByteBuffer data) static ServerTlsPolicy.MTLSPolicyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ServerTlsPolicy.MTLSPolicy>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CLIENT_VALIDATION_MODE_FIELD_NUMBER
public static final int CLIENT_VALIDATION_MODE_FIELD_NUMBER- See Also:
-
CLIENT_VALIDATION_CA_FIELD_NUMBER
public static final int CLIENT_VALIDATION_CA_FIELD_NUMBER- See Also:
-
CLIENT_VALIDATION_TRUST_CONFIG_FIELD_NUMBER
public static final int CLIENT_VALIDATION_TRUST_CONFIG_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getClientValidationModeValue
public int getClientValidationModeValue()When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the Application Load Balancers. For Traffic Director it must be empty.
.google.cloud.networksecurity.v1.ServerTlsPolicy.MTLSPolicy.ClientValidationMode client_validation_mode = 2;- Specified by:
getClientValidationModeValuein interfaceServerTlsPolicy.MTLSPolicyOrBuilder- Returns:
- The enum numeric value on the wire for clientValidationMode.
-
getClientValidationMode
When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the Application Load Balancers. For Traffic Director it must be empty.
.google.cloud.networksecurity.v1.ServerTlsPolicy.MTLSPolicy.ClientValidationMode client_validation_mode = 2;- Specified by:
getClientValidationModein interfaceServerTlsPolicy.MTLSPolicyOrBuilder- Returns:
- The clientValidationMode.
-
getClientValidationCaList
Required if the policy is to be used with Traffic Director. For Application Load Balancers it must be empty. 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:
getClientValidationCaListin interfaceServerTlsPolicy.MTLSPolicyOrBuilder
-
getClientValidationCaOrBuilderList
Required if the policy is to be used with Traffic Director. For Application Load Balancers it must be empty. 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:
getClientValidationCaOrBuilderListin interfaceServerTlsPolicy.MTLSPolicyOrBuilder
-
getClientValidationCaCount
public int getClientValidationCaCount()Required if the policy is to be used with Traffic Director. For Application Load Balancers it must be empty. 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:
getClientValidationCaCountin interfaceServerTlsPolicy.MTLSPolicyOrBuilder
-
getClientValidationCa
Required if the policy is to be used with Traffic Director. For Application Load Balancers it must be empty. 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:
getClientValidationCain interfaceServerTlsPolicy.MTLSPolicyOrBuilder
-
getClientValidationCaOrBuilder
Required if the policy is to be used with Traffic Director. For Application Load Balancers it must be empty. 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:
getClientValidationCaOrBuilderin interfaceServerTlsPolicy.MTLSPolicyOrBuilder
-
getClientValidationTrustConfig
Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with Application Load Balancers.
string client_validation_trust_config = 4 [(.google.api.resource_reference) = { ... }- Specified by:
getClientValidationTrustConfigin interfaceServerTlsPolicy.MTLSPolicyOrBuilder- Returns:
- The clientValidationTrustConfig.
-
getClientValidationTrustConfigBytes
public com.google.protobuf.ByteString getClientValidationTrustConfigBytes()Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with Application Load Balancers.
string client_validation_trust_config = 4 [(.google.api.resource_reference) = { ... }- Specified by:
getClientValidationTrustConfigBytesin interfaceServerTlsPolicy.MTLSPolicyOrBuilder- Returns:
- The bytes for clientValidationTrustConfig.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ServerTlsPolicy.MTLSPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServerTlsPolicy.MTLSPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServerTlsPolicy.MTLSPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServerTlsPolicy.MTLSPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServerTlsPolicy.MTLSPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServerTlsPolicy.MTLSPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ServerTlsPolicy.MTLSPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ServerTlsPolicy.MTLSPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ServerTlsPolicy.MTLSPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ServerTlsPolicy.MTLSPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ServerTlsPolicy.MTLSPolicy.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-