Class CertificateProviderInstance.Builder (0.54.0)

public static final class CertificateProviderInstance.Builder extends GeneratedMessageV3.Builder<CertificateProviderInstance.Builder> implements CertificateProviderInstanceOrBuilder

Specification of a TLS certificate provider instance. Workloads may have one or more CertificateProvider instances (plugins) and one of them is enabled and configured by specifying this message. Workloads use the values from this message to locate and load the CertificateProvider instance configuration.

Protobuf type google.cloud.networksecurity.v1beta1.CertificateProviderInstance

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CertificateProviderInstance build()
Returns
Type Description
CertificateProviderInstance

buildPartial()

public CertificateProviderInstance buildPartial()
Returns
Type Description
CertificateProviderInstance

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPluginInstance()

public CertificateProviderInstance.Builder clearPluginInstance()

Required. Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to "google_cloud_private_spiffe" to use Certificate Authority Service certificate provider instance.

string plugin_instance = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CertificateProviderInstance.Builder

This builder for chaining.

clone()

public CertificateProviderInstance.Builder clone()
Returns
Type Description
CertificateProviderInstance.Builder
Overrides

getDefaultInstanceForType()

public CertificateProviderInstance getDefaultInstanceForType()
Returns
Type Description
CertificateProviderInstance

getDescriptorForType()

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

getPluginInstance()

public String getPluginInstance()

Required. Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to "google_cloud_private_spiffe" to use Certificate Authority Service certificate provider instance.

string plugin_instance = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The pluginInstance.

getPluginInstanceBytes()

public ByteString getPluginInstanceBytes()

Required. Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to "google_cloud_private_spiffe" to use Certificate Authority Service certificate provider instance.

string plugin_instance = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for pluginInstance.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CertificateProviderInstance other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPluginInstance(String value)

public CertificateProviderInstance.Builder setPluginInstance(String value)

Required. Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to "google_cloud_private_spiffe" to use Certificate Authority Service certificate provider instance.

string plugin_instance = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The pluginInstance to set.

Returns
Type Description
CertificateProviderInstance.Builder

This builder for chaining.

setPluginInstanceBytes(ByteString value)

public CertificateProviderInstance.Builder setPluginInstanceBytes(ByteString value)

Required. Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to "google_cloud_private_spiffe" to use Certificate Authority Service certificate provider instance.

string plugin_instance = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for pluginInstance to set.

Returns
Type Description
CertificateProviderInstance.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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