Class CommonTlsContext.CertificateProviderInstance.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.CertificateProviderInstance.Builder>
-
- io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CommonTlsContext.CertificateProviderInstanceOrBuilder,Cloneable
- Enclosing class:
- CommonTlsContext.CertificateProviderInstance
public static final class CommonTlsContext.CertificateProviderInstance.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.CertificateProviderInstance.Builder> implements CommonTlsContext.CertificateProviderInstanceOrBuilder
Similar to CertificateProvider above, but allows the provider instances to be configured on the client side instead of being sent from the control plane. DEPRECATED: This message was moved outside of CommonTlsContext and now lives in common.proto. [#not-implemented-hide:]
Protobuf typeenvoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.CertificateProviderInstance.Builder>
-
clear
public CommonTlsContext.CertificateProviderInstance.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.CertificateProviderInstance.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.GeneratedMessageV3.Builder<CommonTlsContext.CertificateProviderInstance.Builder>
-
getDefaultInstanceForType
public CommonTlsContext.CertificateProviderInstance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CommonTlsContext.CertificateProviderInstance build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CommonTlsContext.CertificateProviderInstance buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CommonTlsContext.CertificateProviderInstance.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.CertificateProviderInstance.Builder>
-
setField
public CommonTlsContext.CertificateProviderInstance.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.CertificateProviderInstance.Builder>
-
clearField
public CommonTlsContext.CertificateProviderInstance.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.CertificateProviderInstance.Builder>
-
clearOneof
public CommonTlsContext.CertificateProviderInstance.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.CertificateProviderInstance.Builder>
-
setRepeatedField
public CommonTlsContext.CertificateProviderInstance.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.CertificateProviderInstance.Builder>
-
addRepeatedField
public CommonTlsContext.CertificateProviderInstance.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.CertificateProviderInstance.Builder>
-
mergeFrom
public CommonTlsContext.CertificateProviderInstance.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommonTlsContext.CertificateProviderInstance.Builder>
-
mergeFrom
public CommonTlsContext.CertificateProviderInstance.Builder mergeFrom(CommonTlsContext.CertificateProviderInstance other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.CertificateProviderInstance.Builder>
-
mergeFrom
public CommonTlsContext.CertificateProviderInstance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommonTlsContext.CertificateProviderInstance.Builder>- Throws:
IOException
-
getInstanceName
public String getInstanceName()
Provider instance name. This name must be defined in the client's configuration (e.g., a bootstrap file) to correspond to a provider instance (i.e., the same data in the typed_config field that would be sent in the CertificateProvider message if the config was sent by the control plane). 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 interfaceCommonTlsContext.CertificateProviderInstanceOrBuilder- Returns:
- The instanceName.
-
getInstanceNameBytes
public com.google.protobuf.ByteString getInstanceNameBytes()
Provider instance name. This name must be defined in the client's configuration (e.g., a bootstrap file) to correspond to a provider instance (i.e., the same data in the typed_config field that would be sent in the CertificateProvider message if the config was sent by the control plane). 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 interfaceCommonTlsContext.CertificateProviderInstanceOrBuilder- Returns:
- The bytes for instanceName.
-
setInstanceName
public CommonTlsContext.CertificateProviderInstance.Builder setInstanceName(String value)
Provider instance name. This name must be defined in the client's configuration (e.g., a bootstrap file) to correspond to a provider instance (i.e., the same data in the typed_config field that would be sent in the CertificateProvider message if the config was sent by the control plane). 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 CommonTlsContext.CertificateProviderInstance.Builder clearInstanceName()
Provider instance name. This name must be defined in the client's configuration (e.g., a bootstrap file) to correspond to a provider instance (i.e., the same data in the typed_config field that would be sent in the CertificateProvider message if the config was sent by the control plane). 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 CommonTlsContext.CertificateProviderInstance.Builder setInstanceNameBytes(com.google.protobuf.ByteString value)
Provider instance name. This name must be defined in the client's configuration (e.g., a bootstrap file) to correspond to a provider instance (i.e., the same data in the typed_config field that would be sent in the CertificateProvider message if the config was sent by the control plane). 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 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 interfaceCommonTlsContext.CertificateProviderInstanceOrBuilder- 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 interfaceCommonTlsContext.CertificateProviderInstanceOrBuilder- Returns:
- The bytes for certificateName.
-
setCertificateName
public CommonTlsContext.CertificateProviderInstance.Builder setCertificateName(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 CommonTlsContext.CertificateProviderInstance.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 CommonTlsContext.CertificateProviderInstance.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.
-
setUnknownFields
public final CommonTlsContext.CertificateProviderInstance.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.CertificateProviderInstance.Builder>
-
mergeUnknownFields
public final CommonTlsContext.CertificateProviderInstance.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.CertificateProviderInstance.Builder>
-
-