Interface CommonTlsContext.CertificateProviderInstanceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommonTlsContext.CertificateProviderInstance
,CommonTlsContext.CertificateProviderInstance.Builder
- Enclosing class:
CommonTlsContext
public static interface CommonTlsContext.CertificateProviderInstanceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOpaque name used to specify certificate instances or types.com.google.protobuf.ByteString
Opaque name used to specify certificate instances or types.Provider instance name.com.google.protobuf.ByteString
Provider instance name.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getInstanceName
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;
- Returns:
- The instanceName.
-
getInstanceNameBytes
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;
- Returns:
- The bytes for instanceName.
-
getCertificateName
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;
- Returns:
- The certificateName.
-
getCertificateNameBytes
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;
- Returns:
- The bytes for certificateName.
-