Class CertificateProviderInstance.Builder (0.11.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.v1.CertificateProviderInstance

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CertificateProviderInstance build()
Returns
TypeDescription
CertificateProviderInstance

buildPartial()

public CertificateProviderInstance buildPartial()
Returns
TypeDescription
CertificateProviderInstance

clear()

public CertificateProviderInstance.Builder clear()
Returns
TypeDescription
CertificateProviderInstance.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CertificateProviderInstance.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CertificateProviderInstance.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateProviderInstance.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CertificateProviderInstance.Builder

This builder for chaining.

clone()

public CertificateProviderInstance.Builder clone()
Returns
TypeDescription
CertificateProviderInstance.Builder
Overrides

getDefaultInstanceForType()

public CertificateProviderInstance getDefaultInstanceForType()
Returns
TypeDescription
CertificateProviderInstance

getDescriptorForType()

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

The bytes for pluginInstance.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CertificateProviderInstance other)

public CertificateProviderInstance.Builder mergeFrom(CertificateProviderInstance other)
Parameter
NameDescription
otherCertificateProviderInstance
Returns
TypeDescription
CertificateProviderInstance.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CertificateProviderInstance.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CertificateProviderInstance.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateProviderInstance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CertificateProviderInstance.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The pluginInstance to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pluginInstance to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CertificateProviderInstance.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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