Class ValidationCA (0.24.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
TypeDescription
int

GRPC_ENDPOINT_FIELD_NUMBER

public static final int GRPC_ENDPOINT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ValidationCA getDefaultInstance()
Returns
TypeDescription
ValidationCA

getDescriptor()

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

newBuilder()

public static ValidationCA.Builder newBuilder()
Returns
TypeDescription
ValidationCA.Builder

newBuilder(ValidationCA prototype)

public static ValidationCA.Builder newBuilder(ValidationCA prototype)
Parameter
NameDescription
prototypeValidationCA
Returns
TypeDescription
ValidationCA.Builder

parseDelimitedFrom(InputStream input)

public static ValidationCA parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ValidationCA
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ValidationCA parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ValidationCA
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ValidationCA parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ValidationCA
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ValidationCA parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ValidationCA
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ValidationCA parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ValidationCA
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ValidationCA> parser()
Returns
TypeDescription
Parser<ValidationCA>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CertificateProviderInstanceOrBuilder

getDefaultInstanceForType()

public ValidationCA getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GrpcEndpointOrBuilder

getParserForType()

public Parser<ValidationCA> getParserForType()
Returns
TypeDescription
Parser<ValidationCA>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTypeCase()

public ValidationCA.TypeCase getTypeCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the grpcEndpoint field is set.

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 ValidationCA.Builder newBuilderForType()
Returns
TypeDescription
ValidationCA.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ValidationCA.Builder toBuilder()
Returns
TypeDescription
ValidationCA.Builder

writeTo(CodedOutputStream output)

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