Interface GenericSecretOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GenericSecret,GenericSecret.Builder
public interface GenericSecretOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsSecrets(String key) For cases where multiple associated secrets need to be distributed together.Secret of generic type and is available to filters.Secret of generic type and is available to filters.Deprecated.intFor cases where multiple associated secrets need to be distributed together.For cases where multiple associated secrets need to be distributed together.getSecretsOrDefault(String key, DataSource defaultValue) For cases where multiple associated secrets need to be distributed together.getSecretsOrThrow(String key) For cases where multiple associated secrets need to be distributed together.booleanSecret of generic type and is available to filters.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasSecret
boolean hasSecret()Secret of generic type and is available to filters. It is expected that only only one of secret and secrets is set.
.envoy.config.core.v3.DataSource secret = 1 [(.udpa.annotations.sensitive) = true];- Returns:
- Whether the secret field is set.
-
getSecret
DataSource getSecret()Secret of generic type and is available to filters. It is expected that only only one of secret and secrets is set.
.envoy.config.core.v3.DataSource secret = 1 [(.udpa.annotations.sensitive) = true];- Returns:
- The secret.
-
getSecretOrBuilder
DataSourceOrBuilder getSecretOrBuilder()Secret of generic type and is available to filters. It is expected that only only one of secret and secrets is set.
.envoy.config.core.v3.DataSource secret = 1 [(.udpa.annotations.sensitive) = true]; -
getSecretsCount
int getSecretsCount()For cases where multiple associated secrets need to be distributed together. It is expected that only only one of secret and secrets is set.
map<string, .envoy.config.core.v3.DataSource> secrets = 2 [(.udpa.annotations.sensitive) = true]; -
containsSecrets
For cases where multiple associated secrets need to be distributed together. It is expected that only only one of secret and secrets is set.
map<string, .envoy.config.core.v3.DataSource> secrets = 2 [(.udpa.annotations.sensitive) = true]; -
getSecrets
Deprecated.UsegetSecretsMap()instead. -
getSecretsMap
Map<String,DataSource> getSecretsMap()For cases where multiple associated secrets need to be distributed together. It is expected that only only one of secret and secrets is set.
map<string, .envoy.config.core.v3.DataSource> secrets = 2 [(.udpa.annotations.sensitive) = true]; -
getSecretsOrDefault
For cases where multiple associated secrets need to be distributed together. It is expected that only only one of secret and secrets is set.
map<string, .envoy.config.core.v3.DataSource> secrets = 2 [(.udpa.annotations.sensitive) = true]; -
getSecretsOrThrow
For cases where multiple associated secrets need to be distributed together. It is expected that only only one of secret and secrets is set.
map<string, .envoy.config.core.v3.DataSource> secrets = 2 [(.udpa.annotations.sensitive) = true];
-