Class ValidationCA.Builder (0.26.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ValidationCA.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ValidationCA.Builder
Overrides

build()

public ValidationCA build()
Returns
TypeDescription
ValidationCA

buildPartial()

public ValidationCA buildPartial()
Returns
TypeDescription
ValidationCA

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ValidationCA.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ValidationCA.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ValidationCA.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ValidationCA.Builder
Overrides

clearType()

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

clone()

public ValidationCA.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CertificateProviderInstanceOrBuilder

getDefaultInstanceForType()

public ValidationCA getDefaultInstanceForType()
Returns
TypeDescription
ValidationCA

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
GrpcEndpointOrBuilder

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

Returns
TypeDescription
boolean

Whether the grpcEndpoint field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCertificateProviderInstance
Returns
TypeDescription
ValidationCA.Builder

mergeFrom(ValidationCA other)

public ValidationCA.Builder mergeFrom(ValidationCA other)
Parameter
NameDescription
otherValidationCA
Returns
TypeDescription
ValidationCA.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ValidationCA.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidationCA.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ValidationCA.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueGrpcEndpoint
Returns
TypeDescription
ValidationCA.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ValidationCA.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCertificateProviderInstance
Returns
TypeDescription
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
NameDescription
builderForValueCertificateProviderInstance.Builder
Returns
TypeDescription
ValidationCA.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ValidationCA.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueGrpcEndpoint
Returns
TypeDescription
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
NameDescription
builderForValueGrpcEndpoint.Builder
Returns
TypeDescription
ValidationCA.Builder

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

public ValidationCA.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ValidationCA.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ValidationCA.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ValidationCA.Builder
Overrides