Class CertificateProvider.Builder (0.58.0)

public static final class CertificateProvider.Builder extends GeneratedMessageV3.Builder<CertificateProvider.Builder> implements CertificateProviderOrBuilder

Specification of certificate provider. Defines the mechanism to obtain the certificate and private key for peer to peer authentication.

Protobuf type google.cloud.networksecurity.v1beta1.CertificateProvider

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CertificateProvider build()
Returns
Type Description
CertificateProvider

buildPartial()

public CertificateProvider buildPartial()
Returns
Type Description
CertificateProvider

clear()

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

clearCertificateProviderInstance()

public CertificateProvider.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.v1beta1.CertificateProviderInstance certificate_provider_instance = 3;

Returns
Type Description
CertificateProvider.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGrpcEndpoint()

public CertificateProvider.Builder clearGrpcEndpoint()

gRPC specific configuration to access the gRPC server to obtain the cert and private key.

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

Returns
Type Description
CertificateProvider.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

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

clone()

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

Returns
Type Description
CertificateProviderInstanceOrBuilder

getDefaultInstanceForType()

public CertificateProvider getDefaultInstanceForType()
Returns
Type Description
CertificateProvider

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 cert and private key.

.google.cloud.networksecurity.v1beta1.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 cert and private key.

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

Returns
Type Description
GrpcEndpoint.Builder

getGrpcEndpointOrBuilder()

public GrpcEndpointOrBuilder getGrpcEndpointOrBuilder()

gRPC specific configuration to access the gRPC server to obtain the cert and private key.

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

Returns
Type Description
GrpcEndpointOrBuilder

getTypeCase()

public CertificateProvider.TypeCase getTypeCase()
Returns
Type Description
CertificateProvider.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 cert and private key.

.google.cloud.networksecurity.v1beta1.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 CertificateProvider.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.v1beta1.CertificateProviderInstance certificate_provider_instance = 3;

Parameter
Name Description
value CertificateProviderInstance
Returns
Type Description
CertificateProvider.Builder

mergeFrom(CertificateProvider other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGrpcEndpoint(GrpcEndpoint value)

public CertificateProvider.Builder mergeGrpcEndpoint(GrpcEndpoint value)

gRPC specific configuration to access the gRPC server to obtain the cert and private key.

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

Parameter
Name Description
value GrpcEndpoint
Returns
Type Description
CertificateProvider.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCertificateProviderInstance(CertificateProviderInstance value)

public CertificateProvider.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.v1beta1.CertificateProviderInstance certificate_provider_instance = 3;

Parameter
Name Description
value CertificateProviderInstance
Returns
Type Description
CertificateProvider.Builder

setCertificateProviderInstance(CertificateProviderInstance.Builder builderForValue)

public CertificateProvider.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.v1beta1.CertificateProviderInstance certificate_provider_instance = 3;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGrpcEndpoint(GrpcEndpoint value)

public CertificateProvider.Builder setGrpcEndpoint(GrpcEndpoint value)

gRPC specific configuration to access the gRPC server to obtain the cert and private key.

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

Parameter
Name Description
value GrpcEndpoint
Returns
Type Description
CertificateProvider.Builder

setGrpcEndpoint(GrpcEndpoint.Builder builderForValue)

public CertificateProvider.Builder setGrpcEndpoint(GrpcEndpoint.Builder builderForValue)

gRPC specific configuration to access the gRPC server to obtain the cert and private key.

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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