Class ValidationCA (0.56.0)

public final class ValidationCA extends GeneratedMessageV3 implements ValidationCAOrBuilder

Specification of ValidationCA. Defines the mechanism to obtain the Certificate Authority certificate to validate the peer certificate.

Protobuf type google.cloud.networksecurity.v1beta1.ValidationCA

Static Fields

CERTIFICATE_PROVIDER_INSTANCE_FIELD_NUMBER

public static final int CERTIFICATE_PROVIDER_INSTANCE_FIELD_NUMBER
Field Value
Type Description
int

GRPC_ENDPOINT_FIELD_NUMBER

public static final int GRPC_ENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ValidationCA getDefaultInstance()
Returns
Type Description
ValidationCA

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ValidationCA.Builder newBuilder()
Returns
Type Description
ValidationCA.Builder

newBuilder(ValidationCA prototype)

public static ValidationCA.Builder newBuilder(ValidationCA prototype)
Parameter
Name Description
prototype ValidationCA
Returns
Type Description
ValidationCA.Builder

parseDelimitedFrom(InputStream input)

public static ValidationCA parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ValidationCA
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidationCA parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationCA
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ValidationCA parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ValidationCA
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ValidationCA parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationCA
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ValidationCA parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ValidationCA
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ValidationCA parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationCA
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ValidationCA parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ValidationCA
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidationCA parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationCA
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ValidationCA parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ValidationCA
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidationCA parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationCA
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ValidationCA parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ValidationCA
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ValidationCA parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationCA
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ValidationCA> parser()
Returns
Type Description
Parser<ValidationCA>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCertificateProviderInstance()

public CertificateProviderInstance getCertificateProviderInstance()

The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.

.google.cloud.networksecurity.v1beta1.CertificateProviderInstance certificate_provider_instance = 3;

Returns
Type Description
CertificateProviderInstance

The certificateProviderInstance.

getCertificateProviderInstanceOrBuilder()

public CertificateProviderInstanceOrBuilder getCertificateProviderInstanceOrBuilder()

The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.

.google.cloud.networksecurity.v1beta1.CertificateProviderInstance certificate_provider_instance = 3;

Returns
Type Description
CertificateProviderInstanceOrBuilder

getDefaultInstanceForType()

public ValidationCA getDefaultInstanceForType()
Returns
Type Description
ValidationCA

getGrpcEndpoint()

public GrpcEndpoint getGrpcEndpoint()

gRPC specific configuration to access the gRPC server to obtain the CA certificate.

.google.cloud.networksecurity.v1beta1.GrpcEndpoint grpc_endpoint = 2;

Returns
Type Description
GrpcEndpoint

The grpcEndpoint.

getGrpcEndpointOrBuilder()

public GrpcEndpointOrBuilder getGrpcEndpointOrBuilder()

gRPC specific configuration to access the gRPC server to obtain the CA certificate.

.google.cloud.networksecurity.v1beta1.GrpcEndpoint grpc_endpoint = 2;

Returns
Type Description
GrpcEndpointOrBuilder

getParserForType()

public Parser<ValidationCA> getParserForType()
Returns
Type Description
Parser<ValidationCA>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTypeCase()

public ValidationCA.TypeCase getTypeCase()
Returns
Type Description
ValidationCA.TypeCase

hasCertificateProviderInstance()

public boolean hasCertificateProviderInstance()

The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.

.google.cloud.networksecurity.v1beta1.CertificateProviderInstance certificate_provider_instance = 3;

Returns
Type Description
boolean

Whether the certificateProviderInstance field is set.

hasGrpcEndpoint()

public boolean hasGrpcEndpoint()

gRPC specific configuration to access the gRPC server to obtain the CA certificate.

.google.cloud.networksecurity.v1beta1.GrpcEndpoint grpc_endpoint = 2;

Returns
Type Description
boolean

Whether the grpcEndpoint field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ValidationCA.Builder newBuilderForType()
Returns
Type Description
ValidationCA.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ValidationCA.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ValidationCA.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ValidationCA.Builder toBuilder()
Returns
Type Description
ValidationCA.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException