Class ServerTlsPolicy.MTLSPolicy (0.10.0)

public static final class ServerTlsPolicy.MTLSPolicy extends GeneratedMessageV3 implements ServerTlsPolicy.MTLSPolicyOrBuilder

Specification of the MTLSPolicy.

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

Static Fields

CLIENT_VALIDATION_CA_FIELD_NUMBER

public static final int CLIENT_VALIDATION_CA_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ServerTlsPolicy.MTLSPolicy getDefaultInstance()
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy

getDescriptor()

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

newBuilder()

public static ServerTlsPolicy.MTLSPolicy.Builder newBuilder()
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy.Builder

newBuilder(ServerTlsPolicy.MTLSPolicy prototype)

public static ServerTlsPolicy.MTLSPolicy.Builder newBuilder(ServerTlsPolicy.MTLSPolicy prototype)
Parameter
NameDescription
prototypeServerTlsPolicy.MTLSPolicy
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy.Builder

parseDelimitedFrom(InputStream input)

public static ServerTlsPolicy.MTLSPolicy parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServerTlsPolicy.MTLSPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ServerTlsPolicy.MTLSPolicy parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ServerTlsPolicy.MTLSPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ServerTlsPolicy.MTLSPolicy parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ServerTlsPolicy.MTLSPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ServerTlsPolicy.MTLSPolicy parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ServerTlsPolicy.MTLSPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ServerTlsPolicy.MTLSPolicy parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServerTlsPolicy.MTLSPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ServerTlsPolicy.MTLSPolicy parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ServerTlsPolicy.MTLSPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ServerTlsPolicy.MTLSPolicy> parser()
Returns
TypeDescription
Parser<MTLSPolicy>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.v1.ValidationCA client_validation_ca = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ValidationCA

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;

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.v1.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.v1.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.v1.ValidationCA client_validation_ca = 1;

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

getDefaultInstanceForType()

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

getParserForType()

public Parser<ServerTlsPolicy.MTLSPolicy> getParserForType()
Returns
TypeDescription
Parser<MTLSPolicy>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ServerTlsPolicy.MTLSPolicy.Builder newBuilderForType()
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ServerTlsPolicy.MTLSPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ServerTlsPolicy.MTLSPolicy.Builder toBuilder()
Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException