Class CertificateProviderPluginInstance.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<CertificateProviderPluginInstance.Builder>
-
- io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.CertificateProviderPluginInstance.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CertificateProviderPluginInstanceOrBuilder,java.lang.Cloneable
- Enclosing class:
- CertificateProviderPluginInstance
public static final class CertificateProviderPluginInstance.Builder extends com.google.protobuf.GeneratedMessage.Builder<CertificateProviderPluginInstance.Builder> implements CertificateProviderPluginInstanceOrBuilder
Indicates a certificate to be obtained from a named CertificateProvider plugin instance. The plugin instances are defined in the client's bootstrap file. The plugin allows certificates to be fetched/refreshed over the network asynchronously with respect to the TLS handshake. [#not-implemented-hide:]
Protobuf typeenvoy.extensions.transport_sockets.tls.v3.CertificateProviderPluginInstance
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private java.lang.ObjectcertificateName_private java.lang.ObjectinstanceName_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CertificateProviderPluginInstancebuild()CertificateProviderPluginInstancebuildPartial()private voidbuildPartial0(CertificateProviderPluginInstance result)CertificateProviderPluginInstance.Builderclear()CertificateProviderPluginInstance.BuilderclearCertificateName()Opaque name used to specify certificate instances or types.CertificateProviderPluginInstance.BuilderclearInstanceName()Provider instance name.java.lang.StringgetCertificateName()Opaque name used to specify certificate instances or types.com.google.protobuf.ByteStringgetCertificateNameBytes()Opaque name used to specify certificate instances or types.CertificateProviderPluginInstancegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetInstanceName()Provider instance name.com.google.protobuf.ByteStringgetInstanceNameBytes()Provider instance name.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CertificateProviderPluginInstance.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CertificateProviderPluginInstance.BuildermergeFrom(com.google.protobuf.Message other)CertificateProviderPluginInstance.BuildermergeFrom(CertificateProviderPluginInstance other)CertificateProviderPluginInstance.BuildersetCertificateName(java.lang.String value)Opaque name used to specify certificate instances or types.CertificateProviderPluginInstance.BuildersetCertificateNameBytes(com.google.protobuf.ByteString value)Opaque name used to specify certificate instances or types.CertificateProviderPluginInstance.BuildersetInstanceName(java.lang.String value)Provider instance name.CertificateProviderPluginInstance.BuildersetInstanceNameBytes(com.google.protobuf.ByteString value)Provider instance name.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CertificateProviderPluginInstance.Builder>
-
clear
public CertificateProviderPluginInstance.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CertificateProviderPluginInstance.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CertificateProviderPluginInstance.Builder>
-
getDefaultInstanceForType
public CertificateProviderPluginInstance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CertificateProviderPluginInstance build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CertificateProviderPluginInstance buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(CertificateProviderPluginInstance result)
-
mergeFrom
public CertificateProviderPluginInstance.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CertificateProviderPluginInstance.Builder>
-
mergeFrom
public CertificateProviderPluginInstance.Builder mergeFrom(CertificateProviderPluginInstance other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CertificateProviderPluginInstance.Builder>
-
mergeFrom
public CertificateProviderPluginInstance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CertificateProviderPluginInstance.Builder>- Throws:
java.io.IOException
-
getInstanceName
public java.lang.String getInstanceName()
Provider instance name. If not present, defaults to "default". Instance names should generally be defined not in terms of the underlying provider implementation (e.g., "file_watcher") but rather in terms of the function of the certificates (e.g., "foo_deployment_identity").
string instance_name = 1;- Specified by:
getInstanceNamein interfaceCertificateProviderPluginInstanceOrBuilder- Returns:
- The instanceName.
-
getInstanceNameBytes
public com.google.protobuf.ByteString getInstanceNameBytes()
Provider instance name. If not present, defaults to "default". Instance names should generally be defined not in terms of the underlying provider implementation (e.g., "file_watcher") but rather in terms of the function of the certificates (e.g., "foo_deployment_identity").
string instance_name = 1;- Specified by:
getInstanceNameBytesin interfaceCertificateProviderPluginInstanceOrBuilder- Returns:
- The bytes for instanceName.
-
setInstanceName
public CertificateProviderPluginInstance.Builder setInstanceName(java.lang.String value)
Provider instance name. If not present, defaults to "default". Instance names should generally be defined not in terms of the underlying provider implementation (e.g., "file_watcher") but rather in terms of the function of the certificates (e.g., "foo_deployment_identity").
string instance_name = 1;- Parameters:
value- The instanceName to set.- Returns:
- This builder for chaining.
-
clearInstanceName
public CertificateProviderPluginInstance.Builder clearInstanceName()
Provider instance name. If not present, defaults to "default". Instance names should generally be defined not in terms of the underlying provider implementation (e.g., "file_watcher") but rather in terms of the function of the certificates (e.g., "foo_deployment_identity").
string instance_name = 1;- Returns:
- This builder for chaining.
-
setInstanceNameBytes
public CertificateProviderPluginInstance.Builder setInstanceNameBytes(com.google.protobuf.ByteString value)
Provider instance name. If not present, defaults to "default". Instance names should generally be defined not in terms of the underlying provider implementation (e.g., "file_watcher") but rather in terms of the function of the certificates (e.g., "foo_deployment_identity").
string instance_name = 1;- Parameters:
value- The bytes for instanceName to set.- Returns:
- This builder for chaining.
-
getCertificateName
public java.lang.String getCertificateName()
Opaque name used to specify certificate instances or types. For example, "ROOTCA" to specify a root-certificate (validation context) or "example.com" to specify a certificate for a particular domain. Not all provider instances will actually use this field, so the value defaults to the empty string.
string certificate_name = 2;- Specified by:
getCertificateNamein interfaceCertificateProviderPluginInstanceOrBuilder- Returns:
- The certificateName.
-
getCertificateNameBytes
public com.google.protobuf.ByteString getCertificateNameBytes()
Opaque name used to specify certificate instances or types. For example, "ROOTCA" to specify a root-certificate (validation context) or "example.com" to specify a certificate for a particular domain. Not all provider instances will actually use this field, so the value defaults to the empty string.
string certificate_name = 2;- Specified by:
getCertificateNameBytesin interfaceCertificateProviderPluginInstanceOrBuilder- Returns:
- The bytes for certificateName.
-
setCertificateName
public CertificateProviderPluginInstance.Builder setCertificateName(java.lang.String value)
Opaque name used to specify certificate instances or types. For example, "ROOTCA" to specify a root-certificate (validation context) or "example.com" to specify a certificate for a particular domain. Not all provider instances will actually use this field, so the value defaults to the empty string.
string certificate_name = 2;- Parameters:
value- The certificateName to set.- Returns:
- This builder for chaining.
-
clearCertificateName
public CertificateProviderPluginInstance.Builder clearCertificateName()
Opaque name used to specify certificate instances or types. For example, "ROOTCA" to specify a root-certificate (validation context) or "example.com" to specify a certificate for a particular domain. Not all provider instances will actually use this field, so the value defaults to the empty string.
string certificate_name = 2;- Returns:
- This builder for chaining.
-
setCertificateNameBytes
public CertificateProviderPluginInstance.Builder setCertificateNameBytes(com.google.protobuf.ByteString value)
Opaque name used to specify certificate instances or types. For example, "ROOTCA" to specify a root-certificate (validation context) or "example.com" to specify a certificate for a particular domain. Not all provider instances will actually use this field, so the value defaults to the empty string.
string certificate_name = 2;- Parameters:
value- The bytes for certificateName to set.- Returns:
- This builder for chaining.
-
-