Class ValidationCA.Builder (0.45.0)

public static final class ValidationCA.Builder extends GeneratedMessageV3.Builder<ValidationCA.Builder> implements ValidationCAOrBuilder

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

Protobuf type google.cloud.networksecurity.v1.ValidationCA

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ValidationCA.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ValidationCA.Builder
Overrides

build()

public ValidationCA build()
Returns
Type Description
ValidationCA

buildPartial()

public ValidationCA buildPartial()
Returns
Type Description
ValidationCA

clear()

public ValidationCA.Builder clear()
Returns
Type Description
ValidationCA.Builder
Overrides

clearCertificateProviderInstance()

public ValidationCA.Builder clearCertificateProviderInstance()

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.v1.CertificateProviderInstance certificate_provider_instance = 3;

Returns
Type Description
ValidationCA.Builder

clearField(Descriptors.FieldDescriptor field)

public ValidationCA.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ValidationCA.Builder
Overrides

clearGrpcEndpoint()

public ValidationCA.Builder clearGrpcEndpoint()

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

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

Returns
Type Description
ValidationCA.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ValidationCA.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ValidationCA.Builder
Overrides

clearType()

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

clone()

public ValidationCA.Builder clone()
Returns
Type Description
ValidationCA.Builder
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.v1.CertificateProviderInstance certificate_provider_instance = 3;

Returns
Type Description
CertificateProviderInstance

The certificateProviderInstance.

getCertificateProviderInstanceBuilder()

public CertificateProviderInstance.Builder getCertificateProviderInstanceBuilder()

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.v1.CertificateProviderInstance certificate_provider_instance = 3;

Returns
Type Description
CertificateProviderInstance.Builder

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.v1.CertificateProviderInstance certificate_provider_instance = 3;

Returns
Type Description
CertificateProviderInstanceOrBuilder

getDefaultInstanceForType()

public ValidationCA getDefaultInstanceForType()
Returns
Type Description
ValidationCA

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGrpcEndpoint()

public GrpcEndpoint getGrpcEndpoint()

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

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

Returns
Type Description
GrpcEndpoint

The grpcEndpoint.

getGrpcEndpointBuilder()

public GrpcEndpoint.Builder getGrpcEndpointBuilder()

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

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

Returns
Type Description
GrpcEndpoint.Builder

getGrpcEndpointOrBuilder()

public GrpcEndpointOrBuilder getGrpcEndpointOrBuilder()

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

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

Returns
Type Description
GrpcEndpointOrBuilder

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.v1.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.v1.GrpcEndpoint grpc_endpoint = 2;

Returns
Type Description
boolean

Whether the grpcEndpoint field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCertificateProviderInstance(CertificateProviderInstance value)

public ValidationCA.Builder mergeCertificateProviderInstance(CertificateProviderInstance value)

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.v1.CertificateProviderInstance certificate_provider_instance = 3;

Parameter
Name Description
value CertificateProviderInstance
Returns
Type Description
ValidationCA.Builder

mergeFrom(ValidationCA other)

public ValidationCA.Builder mergeFrom(ValidationCA other)
Parameter
Name Description
other ValidationCA
Returns
Type Description
ValidationCA.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ValidationCA.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationCA.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ValidationCA.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ValidationCA.Builder
Overrides

mergeGrpcEndpoint(GrpcEndpoint value)

public ValidationCA.Builder mergeGrpcEndpoint(GrpcEndpoint value)

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

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

Parameter
Name Description
value GrpcEndpoint
Returns
Type Description
ValidationCA.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ValidationCA.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ValidationCA.Builder
Overrides

setCertificateProviderInstance(CertificateProviderInstance value)

public ValidationCA.Builder setCertificateProviderInstance(CertificateProviderInstance value)

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.v1.CertificateProviderInstance certificate_provider_instance = 3;

Parameter
Name Description
value CertificateProviderInstance
Returns
Type Description
ValidationCA.Builder

setCertificateProviderInstance(CertificateProviderInstance.Builder builderForValue)

public ValidationCA.Builder setCertificateProviderInstance(CertificateProviderInstance.Builder builderForValue)

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.v1.CertificateProviderInstance certificate_provider_instance = 3;

Parameter
Name Description
builderForValue CertificateProviderInstance.Builder
Returns
Type Description
ValidationCA.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ValidationCA.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ValidationCA.Builder
Overrides

setGrpcEndpoint(GrpcEndpoint value)

public ValidationCA.Builder setGrpcEndpoint(GrpcEndpoint value)

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

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

Parameter
Name Description
value GrpcEndpoint
Returns
Type Description
ValidationCA.Builder

setGrpcEndpoint(GrpcEndpoint.Builder builderForValue)

public ValidationCA.Builder setGrpcEndpoint(GrpcEndpoint.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue GrpcEndpoint.Builder
Returns
Type Description
ValidationCA.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ValidationCA.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ValidationCA.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ValidationCA.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ValidationCA.Builder
Overrides