Class CertificateProvider.Builder (0.23.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.v1.CertificateProvider

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CertificateProvider build()
Returns
TypeDescription
CertificateProvider

buildPartial()

public CertificateProvider buildPartial()
Returns
TypeDescription
CertificateProvider

clear()

public CertificateProvider.Builder clear()
Returns
TypeDescription
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.v1.CertificateProviderInstance certificate_provider_instance = 3;

Returns
TypeDescription
CertificateProvider.Builder

clearField(Descriptors.FieldDescriptor field)

public CertificateProvider.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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.v1.GrpcEndpoint grpc_endpoint = 2;

Returns
TypeDescription
CertificateProvider.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

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

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGrpcEndpoint()

public GrpcEndpoint getGrpcEndpoint()

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

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

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

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

Returns
TypeDescription
GrpcEndpointOrBuilder

getTypeCase()

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

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

Parameter
NameDescription
valueCertificateProviderInstance
Returns
TypeDescription
CertificateProvider.Builder

mergeFrom(CertificateProvider other)

public CertificateProvider.Builder mergeFrom(CertificateProvider other)
Parameter
NameDescription
otherCertificateProvider
Returns
TypeDescription
CertificateProvider.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CertificateProvider.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v1.GrpcEndpoint grpc_endpoint = 2;

Parameter
NameDescription
valueGrpcEndpoint
Returns
TypeDescription
CertificateProvider.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateProvider.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1.CertificateProviderInstance certificate_provider_instance = 3;

Parameter
NameDescription
valueCertificateProviderInstance
Returns
TypeDescription
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.v1.CertificateProviderInstance certificate_provider_instance = 3;

Parameter
NameDescription
builderForValueCertificateProviderInstance.Builder
Returns
TypeDescription
CertificateProvider.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CertificateProvider.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1.GrpcEndpoint grpc_endpoint = 2;

Parameter
NameDescription
valueGrpcEndpoint
Returns
TypeDescription
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.v1.GrpcEndpoint grpc_endpoint = 2;

Parameter
NameDescription
builderForValueGrpcEndpoint.Builder
Returns
TypeDescription
CertificateProvider.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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