Class RedisProtocolOptions.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<RedisProtocolOptions.Builder>
io.envoyproxy.envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RedisProtocolOptionsOrBuilder, Cloneable
Enclosing class:
RedisProtocolOptions

public static final class RedisProtocolOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RedisProtocolOptions.Builder> implements RedisProtocolOptionsOrBuilder
 RedisProtocolOptions specifies Redis upstream protocol options. This object is used in
 :ref:`typed_extension_protocol_options<envoy_v3_api_field_config.cluster.v3.Cluster.typed_extension_protocol_options>`,
 keyed by the name ``envoy.filters.network.redis_proxy``.
 
Protobuf type envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProtocolOptions.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProtocolOptions.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProtocolOptions.Builder>
    • getDefaultInstanceForType

      public RedisProtocolOptions getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RedisProtocolOptions build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RedisProtocolOptions buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProtocolOptions.Builder>
    • setField

      public RedisProtocolOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProtocolOptions.Builder>
    • clearField

      public RedisProtocolOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProtocolOptions.Builder>
    • clearOneof

      public RedisProtocolOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProtocolOptions.Builder>
    • setRepeatedField

      public RedisProtocolOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProtocolOptions.Builder>
    • addRepeatedField

      public RedisProtocolOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProtocolOptions.Builder>
    • mergeFrom

      public RedisProtocolOptions.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RedisProtocolOptions.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProtocolOptions.Builder>
    • mergeFrom

      public RedisProtocolOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RedisProtocolOptions.Builder>
      Throws:
      IOException
    • hasAuthPassword

      public boolean hasAuthPassword()
       Upstream server password as defined by the ``requirepass`` directive
       `<https://redis.io/topics/config>`_ in the server's configuration file.
       If ``aws_iam`` is set, this field is ignored.
       
      .envoy.config.core.v3.DataSource auth_password = 1 [(.udpa.annotations.sensitive) = true];
      Specified by:
      hasAuthPassword in interface RedisProtocolOptionsOrBuilder
      Returns:
      Whether the authPassword field is set.
    • getAuthPassword

      public DataSource getAuthPassword()
       Upstream server password as defined by the ``requirepass`` directive
       `<https://redis.io/topics/config>`_ in the server's configuration file.
       If ``aws_iam`` is set, this field is ignored.
       
      .envoy.config.core.v3.DataSource auth_password = 1 [(.udpa.annotations.sensitive) = true];
      Specified by:
      getAuthPassword in interface RedisProtocolOptionsOrBuilder
      Returns:
      The authPassword.
    • setAuthPassword

      public RedisProtocolOptions.Builder setAuthPassword(DataSource value)
       Upstream server password as defined by the ``requirepass`` directive
       `<https://redis.io/topics/config>`_ in the server's configuration file.
       If ``aws_iam`` is set, this field is ignored.
       
      .envoy.config.core.v3.DataSource auth_password = 1 [(.udpa.annotations.sensitive) = true];
    • setAuthPassword

      public RedisProtocolOptions.Builder setAuthPassword(DataSource.Builder builderForValue)
       Upstream server password as defined by the ``requirepass`` directive
       `<https://redis.io/topics/config>`_ in the server's configuration file.
       If ``aws_iam`` is set, this field is ignored.
       
      .envoy.config.core.v3.DataSource auth_password = 1 [(.udpa.annotations.sensitive) = true];
    • mergeAuthPassword

      public RedisProtocolOptions.Builder mergeAuthPassword(DataSource value)
       Upstream server password as defined by the ``requirepass`` directive
       `<https://redis.io/topics/config>`_ in the server's configuration file.
       If ``aws_iam`` is set, this field is ignored.
       
      .envoy.config.core.v3.DataSource auth_password = 1 [(.udpa.annotations.sensitive) = true];
    • clearAuthPassword

      public RedisProtocolOptions.Builder clearAuthPassword()
       Upstream server password as defined by the ``requirepass`` directive
       `<https://redis.io/topics/config>`_ in the server's configuration file.
       If ``aws_iam`` is set, this field is ignored.
       
      .envoy.config.core.v3.DataSource auth_password = 1 [(.udpa.annotations.sensitive) = true];
    • getAuthPasswordBuilder

      public DataSource.Builder getAuthPasswordBuilder()
       Upstream server password as defined by the ``requirepass`` directive
       `<https://redis.io/topics/config>`_ in the server's configuration file.
       If ``aws_iam`` is set, this field is ignored.
       
      .envoy.config.core.v3.DataSource auth_password = 1 [(.udpa.annotations.sensitive) = true];
    • getAuthPasswordOrBuilder

      public DataSourceOrBuilder getAuthPasswordOrBuilder()
       Upstream server password as defined by the ``requirepass`` directive
       `<https://redis.io/topics/config>`_ in the server's configuration file.
       If ``aws_iam`` is set, this field is ignored.
       
      .envoy.config.core.v3.DataSource auth_password = 1 [(.udpa.annotations.sensitive) = true];
      Specified by:
      getAuthPasswordOrBuilder in interface RedisProtocolOptionsOrBuilder
    • hasAuthUsername

      public boolean hasAuthUsername()
       Upstream server username as defined by the ``user`` directive
       `<https://redis.io/topics/acl>`_ in the server's configuration file.
       If ``aws_iam``` is set, this field will be used as the authenticating user for redis IAM authentication.
       See ``Create a new IAM-enabled user`` under `Setup <https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/auth-iam.html#auth-iam-setup>`_ for more details.
       
      .envoy.config.core.v3.DataSource auth_username = 2 [(.udpa.annotations.sensitive) = true];
      Specified by:
      hasAuthUsername in interface RedisProtocolOptionsOrBuilder
      Returns:
      Whether the authUsername field is set.
    • getAuthUsername

      public DataSource getAuthUsername()
       Upstream server username as defined by the ``user`` directive
       `<https://redis.io/topics/acl>`_ in the server's configuration file.
       If ``aws_iam``` is set, this field will be used as the authenticating user for redis IAM authentication.
       See ``Create a new IAM-enabled user`` under `Setup <https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/auth-iam.html#auth-iam-setup>`_ for more details.
       
      .envoy.config.core.v3.DataSource auth_username = 2 [(.udpa.annotations.sensitive) = true];
      Specified by:
      getAuthUsername in interface RedisProtocolOptionsOrBuilder
      Returns:
      The authUsername.
    • setAuthUsername

      public RedisProtocolOptions.Builder setAuthUsername(DataSource value)
       Upstream server username as defined by the ``user`` directive
       `<https://redis.io/topics/acl>`_ in the server's configuration file.
       If ``aws_iam``` is set, this field will be used as the authenticating user for redis IAM authentication.
       See ``Create a new IAM-enabled user`` under `Setup <https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/auth-iam.html#auth-iam-setup>`_ for more details.
       
      .envoy.config.core.v3.DataSource auth_username = 2 [(.udpa.annotations.sensitive) = true];
    • setAuthUsername

      public RedisProtocolOptions.Builder setAuthUsername(DataSource.Builder builderForValue)
       Upstream server username as defined by the ``user`` directive
       `<https://redis.io/topics/acl>`_ in the server's configuration file.
       If ``aws_iam``` is set, this field will be used as the authenticating user for redis IAM authentication.
       See ``Create a new IAM-enabled user`` under `Setup <https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/auth-iam.html#auth-iam-setup>`_ for more details.
       
      .envoy.config.core.v3.DataSource auth_username = 2 [(.udpa.annotations.sensitive) = true];
    • mergeAuthUsername

      public RedisProtocolOptions.Builder mergeAuthUsername(DataSource value)
       Upstream server username as defined by the ``user`` directive
       `<https://redis.io/topics/acl>`_ in the server's configuration file.
       If ``aws_iam``` is set, this field will be used as the authenticating user for redis IAM authentication.
       See ``Create a new IAM-enabled user`` under `Setup <https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/auth-iam.html#auth-iam-setup>`_ for more details.
       
      .envoy.config.core.v3.DataSource auth_username = 2 [(.udpa.annotations.sensitive) = true];
    • clearAuthUsername

      public RedisProtocolOptions.Builder clearAuthUsername()
       Upstream server username as defined by the ``user`` directive
       `<https://redis.io/topics/acl>`_ in the server's configuration file.
       If ``aws_iam``` is set, this field will be used as the authenticating user for redis IAM authentication.
       See ``Create a new IAM-enabled user`` under `Setup <https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/auth-iam.html#auth-iam-setup>`_ for more details.
       
      .envoy.config.core.v3.DataSource auth_username = 2 [(.udpa.annotations.sensitive) = true];
    • getAuthUsernameBuilder

      public DataSource.Builder getAuthUsernameBuilder()
       Upstream server username as defined by the ``user`` directive
       `<https://redis.io/topics/acl>`_ in the server's configuration file.
       If ``aws_iam``` is set, this field will be used as the authenticating user for redis IAM authentication.
       See ``Create a new IAM-enabled user`` under `Setup <https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/auth-iam.html#auth-iam-setup>`_ for more details.
       
      .envoy.config.core.v3.DataSource auth_username = 2 [(.udpa.annotations.sensitive) = true];
    • getAuthUsernameOrBuilder

      public DataSourceOrBuilder getAuthUsernameOrBuilder()
       Upstream server username as defined by the ``user`` directive
       `<https://redis.io/topics/acl>`_ in the server's configuration file.
       If ``aws_iam``` is set, this field will be used as the authenticating user for redis IAM authentication.
       See ``Create a new IAM-enabled user`` under `Setup <https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/auth-iam.html#auth-iam-setup>`_ for more details.
       
      .envoy.config.core.v3.DataSource auth_username = 2 [(.udpa.annotations.sensitive) = true];
      Specified by:
      getAuthUsernameOrBuilder in interface RedisProtocolOptionsOrBuilder
    • hasAwsIam

      public boolean hasAwsIam()
       The cluster level configuration for AWS IAM authentication
       
      .envoy.extensions.filters.network.redis_proxy.v3.AwsIam aws_iam = 3;
      Specified by:
      hasAwsIam in interface RedisProtocolOptionsOrBuilder
      Returns:
      Whether the awsIam field is set.
    • getAwsIam

      public AwsIam getAwsIam()
       The cluster level configuration for AWS IAM authentication
       
      .envoy.extensions.filters.network.redis_proxy.v3.AwsIam aws_iam = 3;
      Specified by:
      getAwsIam in interface RedisProtocolOptionsOrBuilder
      Returns:
      The awsIam.
    • setAwsIam

      public RedisProtocolOptions.Builder setAwsIam(AwsIam value)
       The cluster level configuration for AWS IAM authentication
       
      .envoy.extensions.filters.network.redis_proxy.v3.AwsIam aws_iam = 3;
    • setAwsIam

      public RedisProtocolOptions.Builder setAwsIam(AwsIam.Builder builderForValue)
       The cluster level configuration for AWS IAM authentication
       
      .envoy.extensions.filters.network.redis_proxy.v3.AwsIam aws_iam = 3;
    • mergeAwsIam

      public RedisProtocolOptions.Builder mergeAwsIam(AwsIam value)
       The cluster level configuration for AWS IAM authentication
       
      .envoy.extensions.filters.network.redis_proxy.v3.AwsIam aws_iam = 3;
    • clearAwsIam

      public RedisProtocolOptions.Builder clearAwsIam()
       The cluster level configuration for AWS IAM authentication
       
      .envoy.extensions.filters.network.redis_proxy.v3.AwsIam aws_iam = 3;
    • getAwsIamBuilder

      public AwsIam.Builder getAwsIamBuilder()
       The cluster level configuration for AWS IAM authentication
       
      .envoy.extensions.filters.network.redis_proxy.v3.AwsIam aws_iam = 3;
    • getAwsIamOrBuilder

      public AwsIamOrBuilder getAwsIamOrBuilder()
       The cluster level configuration for AWS IAM authentication
       
      .envoy.extensions.filters.network.redis_proxy.v3.AwsIam aws_iam = 3;
      Specified by:
      getAwsIamOrBuilder in interface RedisProtocolOptionsOrBuilder
    • getCredentialsList

      public List<RedisProtocolOptions.Credential> getCredentialsList()
       If specified, these credentials are used when connecting to upstream endpoints. Which
       credential is used is determined by matching the resolved ``address`` field here with each
       endpoint's resolved ``address`` field. The first entry for a given ``address`` here takes precedence.
       If no entry in ``credentials`` matches, then the ``auth_password`` and ``auth_username`` fields
       are used as defaults.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions.Credential credentials = 4;
      Specified by:
      getCredentialsList in interface RedisProtocolOptionsOrBuilder
    • getCredentialsCount

      public int getCredentialsCount()
       If specified, these credentials are used when connecting to upstream endpoints. Which
       credential is used is determined by matching the resolved ``address`` field here with each
       endpoint's resolved ``address`` field. The first entry for a given ``address`` here takes precedence.
       If no entry in ``credentials`` matches, then the ``auth_password`` and ``auth_username`` fields
       are used as defaults.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions.Credential credentials = 4;
      Specified by:
      getCredentialsCount in interface RedisProtocolOptionsOrBuilder
    • getCredentials

      public RedisProtocolOptions.Credential getCredentials(int index)
       If specified, these credentials are used when connecting to upstream endpoints. Which
       credential is used is determined by matching the resolved ``address`` field here with each
       endpoint's resolved ``address`` field. The first entry for a given ``address`` here takes precedence.
       If no entry in ``credentials`` matches, then the ``auth_password`` and ``auth_username`` fields
       are used as defaults.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions.Credential credentials = 4;
      Specified by:
      getCredentials in interface RedisProtocolOptionsOrBuilder
    • setCredentials

      public RedisProtocolOptions.Builder setCredentials(int index, RedisProtocolOptions.Credential value)
       If specified, these credentials are used when connecting to upstream endpoints. Which
       credential is used is determined by matching the resolved ``address`` field here with each
       endpoint's resolved ``address`` field. The first entry for a given ``address`` here takes precedence.
       If no entry in ``credentials`` matches, then the ``auth_password`` and ``auth_username`` fields
       are used as defaults.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions.Credential credentials = 4;
    • setCredentials

      public RedisProtocolOptions.Builder setCredentials(int index, RedisProtocolOptions.Credential.Builder builderForValue)
       If specified, these credentials are used when connecting to upstream endpoints. Which
       credential is used is determined by matching the resolved ``address`` field here with each
       endpoint's resolved ``address`` field. The first entry for a given ``address`` here takes precedence.
       If no entry in ``credentials`` matches, then the ``auth_password`` and ``auth_username`` fields
       are used as defaults.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions.Credential credentials = 4;
    • addCredentials

       If specified, these credentials are used when connecting to upstream endpoints. Which
       credential is used is determined by matching the resolved ``address`` field here with each
       endpoint's resolved ``address`` field. The first entry for a given ``address`` here takes precedence.
       If no entry in ``credentials`` matches, then the ``auth_password`` and ``auth_username`` fields
       are used as defaults.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions.Credential credentials = 4;
    • addCredentials

      public RedisProtocolOptions.Builder addCredentials(int index, RedisProtocolOptions.Credential value)
       If specified, these credentials are used when connecting to upstream endpoints. Which
       credential is used is determined by matching the resolved ``address`` field here with each
       endpoint's resolved ``address`` field. The first entry for a given ``address`` here takes precedence.
       If no entry in ``credentials`` matches, then the ``auth_password`` and ``auth_username`` fields
       are used as defaults.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions.Credential credentials = 4;
    • addCredentials

       If specified, these credentials are used when connecting to upstream endpoints. Which
       credential is used is determined by matching the resolved ``address`` field here with each
       endpoint's resolved ``address`` field. The first entry for a given ``address`` here takes precedence.
       If no entry in ``credentials`` matches, then the ``auth_password`` and ``auth_username`` fields
       are used as defaults.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions.Credential credentials = 4;
    • addCredentials

      public RedisProtocolOptions.Builder addCredentials(int index, RedisProtocolOptions.Credential.Builder builderForValue)
       If specified, these credentials are used when connecting to upstream endpoints. Which
       credential is used is determined by matching the resolved ``address`` field here with each
       endpoint's resolved ``address`` field. The first entry for a given ``address`` here takes precedence.
       If no entry in ``credentials`` matches, then the ``auth_password`` and ``auth_username`` fields
       are used as defaults.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions.Credential credentials = 4;
    • addAllCredentials

      public RedisProtocolOptions.Builder addAllCredentials(Iterable<? extends RedisProtocolOptions.Credential> values)
       If specified, these credentials are used when connecting to upstream endpoints. Which
       credential is used is determined by matching the resolved ``address`` field here with each
       endpoint's resolved ``address`` field. The first entry for a given ``address`` here takes precedence.
       If no entry in ``credentials`` matches, then the ``auth_password`` and ``auth_username`` fields
       are used as defaults.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions.Credential credentials = 4;
    • clearCredentials

      public RedisProtocolOptions.Builder clearCredentials()
       If specified, these credentials are used when connecting to upstream endpoints. Which
       credential is used is determined by matching the resolved ``address`` field here with each
       endpoint's resolved ``address`` field. The first entry for a given ``address`` here takes precedence.
       If no entry in ``credentials`` matches, then the ``auth_password`` and ``auth_username`` fields
       are used as defaults.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions.Credential credentials = 4;
    • removeCredentials

      public RedisProtocolOptions.Builder removeCredentials(int index)
       If specified, these credentials are used when connecting to upstream endpoints. Which
       credential is used is determined by matching the resolved ``address`` field here with each
       endpoint's resolved ``address`` field. The first entry for a given ``address`` here takes precedence.
       If no entry in ``credentials`` matches, then the ``auth_password`` and ``auth_username`` fields
       are used as defaults.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions.Credential credentials = 4;
    • getCredentialsBuilder

      public RedisProtocolOptions.Credential.Builder getCredentialsBuilder(int index)
       If specified, these credentials are used when connecting to upstream endpoints. Which
       credential is used is determined by matching the resolved ``address`` field here with each
       endpoint's resolved ``address`` field. The first entry for a given ``address`` here takes precedence.
       If no entry in ``credentials`` matches, then the ``auth_password`` and ``auth_username`` fields
       are used as defaults.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions.Credential credentials = 4;
    • getCredentialsOrBuilder

      public RedisProtocolOptions.CredentialOrBuilder getCredentialsOrBuilder(int index)
       If specified, these credentials are used when connecting to upstream endpoints. Which
       credential is used is determined by matching the resolved ``address`` field here with each
       endpoint's resolved ``address`` field. The first entry for a given ``address`` here takes precedence.
       If no entry in ``credentials`` matches, then the ``auth_password`` and ``auth_username`` fields
       are used as defaults.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions.Credential credentials = 4;
      Specified by:
      getCredentialsOrBuilder in interface RedisProtocolOptionsOrBuilder
    • getCredentialsOrBuilderList

      public List<? extends RedisProtocolOptions.CredentialOrBuilder> getCredentialsOrBuilderList()
       If specified, these credentials are used when connecting to upstream endpoints. Which
       credential is used is determined by matching the resolved ``address`` field here with each
       endpoint's resolved ``address`` field. The first entry for a given ``address`` here takes precedence.
       If no entry in ``credentials`` matches, then the ``auth_password`` and ``auth_username`` fields
       are used as defaults.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions.Credential credentials = 4;
      Specified by:
      getCredentialsOrBuilderList in interface RedisProtocolOptionsOrBuilder
    • addCredentialsBuilder

      public RedisProtocolOptions.Credential.Builder addCredentialsBuilder()
       If specified, these credentials are used when connecting to upstream endpoints. Which
       credential is used is determined by matching the resolved ``address`` field here with each
       endpoint's resolved ``address`` field. The first entry for a given ``address`` here takes precedence.
       If no entry in ``credentials`` matches, then the ``auth_password`` and ``auth_username`` fields
       are used as defaults.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions.Credential credentials = 4;
    • addCredentialsBuilder

      public RedisProtocolOptions.Credential.Builder addCredentialsBuilder(int index)
       If specified, these credentials are used when connecting to upstream endpoints. Which
       credential is used is determined by matching the resolved ``address`` field here with each
       endpoint's resolved ``address`` field. The first entry for a given ``address`` here takes precedence.
       If no entry in ``credentials`` matches, then the ``auth_password`` and ``auth_username`` fields
       are used as defaults.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions.Credential credentials = 4;
    • getCredentialsBuilderList

      public List<RedisProtocolOptions.Credential.Builder> getCredentialsBuilderList()
       If specified, these credentials are used when connecting to upstream endpoints. Which
       credential is used is determined by matching the resolved ``address`` field here with each
       endpoint's resolved ``address`` field. The first entry for a given ``address`` here takes precedence.
       If no entry in ``credentials`` matches, then the ``auth_password`` and ``auth_username`` fields
       are used as defaults.
       
      repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions.Credential credentials = 4;
    • setUnknownFields

      public final RedisProtocolOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProtocolOptions.Builder>
    • mergeUnknownFields

      public final RedisProtocolOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProtocolOptions.Builder>