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 Type
    Method
    Description
    boolean
    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.
    int
    For cases where multiple associated secrets need to be distributed together.
    For cases where multiple associated secrets need to be distributed together.
    For cases where multiple associated secrets need to be distributed together.
    For cases where multiple associated secrets need to be distributed together.
    boolean
    Secret of generic type and is available to filters.

    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

    • 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

      boolean containsSecrets(String key)
       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.
      Use getSecretsMap() 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

      DataSource getSecretsOrDefault(String key, DataSource defaultValue)
       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

      DataSource getSecretsOrThrow(String key)
       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];