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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CertificateProviderInstance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CertificateProviderInstance build()
Returns
buildPartial()
public CertificateProviderInstance buildPartial()
Returns
clear()
public CertificateProviderInstance.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CertificateProviderInstance.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CertificateProviderInstance.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public CertificateProviderInstance.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CertificateProviderInstance getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CertificateProviderInstance other)
public CertificateProviderInstance.Builder mergeFrom(CertificateProviderInstance other)
Parameter
Returns
public CertificateProviderInstance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CertificateProviderInstance.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CertificateProviderInstance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CertificateProviderInstance.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CertificateProviderInstance.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CertificateProviderInstance.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides