Class RedisProtocolOptions.Credential.Builder

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

public static final class RedisProtocolOptions.Credential.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RedisProtocolOptions.Credential.Builder> implements RedisProtocolOptions.CredentialOrBuilder
Protobuf type envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions.Credential
  • 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.Credential.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.Credential.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.Credential.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RedisProtocolOptions.Credential 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.Credential.Builder>
    • setField

      public RedisProtocolOptions.Credential.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.Credential.Builder>
    • clearField

      public RedisProtocolOptions.Credential.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.Credential.Builder>
    • clearOneof

      public RedisProtocolOptions.Credential.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.Credential.Builder>
    • setRepeatedField

      public RedisProtocolOptions.Credential.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.Credential.Builder>
    • addRepeatedField

      public RedisProtocolOptions.Credential.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.Credential.Builder>
    • mergeFrom

      public RedisProtocolOptions.Credential.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.Credential.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.Credential.Builder>
    • mergeFrom

      public RedisProtocolOptions.Credential.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.Credential.Builder>
      Throws:
      IOException
    • hasAddress

      public boolean hasAddress()
       The address to which this username and password applies.
       
      .envoy.config.core.v3.Address address = 1;
      Specified by:
      hasAddress in interface RedisProtocolOptions.CredentialOrBuilder
      Returns:
      Whether the address field is set.
    • getAddress

      public Address getAddress()
       The address to which this username and password applies.
       
      .envoy.config.core.v3.Address address = 1;
      Specified by:
      getAddress in interface RedisProtocolOptions.CredentialOrBuilder
      Returns:
      The address.
    • setAddress

       The address to which this username and password applies.
       
      .envoy.config.core.v3.Address address = 1;
    • setAddress

      public RedisProtocolOptions.Credential.Builder setAddress(Address.Builder builderForValue)
       The address to which this username and password applies.
       
      .envoy.config.core.v3.Address address = 1;
    • mergeAddress

      public RedisProtocolOptions.Credential.Builder mergeAddress(Address value)
       The address to which this username and password applies.
       
      .envoy.config.core.v3.Address address = 1;
    • clearAddress

       The address to which this username and password applies.
       
      .envoy.config.core.v3.Address address = 1;
    • getAddressBuilder

      public Address.Builder getAddressBuilder()
       The address to which this username and password applies.
       
      .envoy.config.core.v3.Address address = 1;
    • getAddressOrBuilder

      public AddressOrBuilder getAddressOrBuilder()
       The address to which this username and password applies.
       
      .envoy.config.core.v3.Address address = 1;
      Specified by:
      getAddressOrBuilder in interface RedisProtocolOptions.CredentialOrBuilder
    • hasAuthPassword

      public boolean hasAuthPassword()
       Upstream server password as defined by the ``requirepass`` directive
       `<https://redis.io/topics/config>`_ in the server's configuration file.
       
      .envoy.config.core.v3.DataSource auth_password = 2 [(.udpa.annotations.sensitive) = true];
      Specified by:
      hasAuthPassword in interface RedisProtocolOptions.CredentialOrBuilder
      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.
       
      .envoy.config.core.v3.DataSource auth_password = 2 [(.udpa.annotations.sensitive) = true];
      Specified by:
      getAuthPassword in interface RedisProtocolOptions.CredentialOrBuilder
      Returns:
      The authPassword.
    • setAuthPassword

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

      public RedisProtocolOptions.Credential.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.
       
      .envoy.config.core.v3.DataSource auth_password = 2 [(.udpa.annotations.sensitive) = true];
    • mergeAuthPassword

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

      public RedisProtocolOptions.Credential.Builder clearAuthPassword()
       Upstream server password as defined by the ``requirepass`` directive
       `<https://redis.io/topics/config>`_ in the server's configuration file.
       
      .envoy.config.core.v3.DataSource auth_password = 2 [(.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.
       
      .envoy.config.core.v3.DataSource auth_password = 2 [(.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.
       
      .envoy.config.core.v3.DataSource auth_password = 2 [(.udpa.annotations.sensitive) = true];
      Specified by:
      getAuthPasswordOrBuilder in interface RedisProtocolOptions.CredentialOrBuilder
    • hasAuthUsername

      public boolean hasAuthUsername()
       Upstream server username as defined by the ``user`` directive
       `<https://redis.io/topics/acl>`_ in the server's configuration file.
       
      .envoy.config.core.v3.DataSource auth_username = 3 [(.udpa.annotations.sensitive) = true];
      Specified by:
      hasAuthUsername in interface RedisProtocolOptions.CredentialOrBuilder
      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.
       
      .envoy.config.core.v3.DataSource auth_username = 3 [(.udpa.annotations.sensitive) = true];
      Specified by:
      getAuthUsername in interface RedisProtocolOptions.CredentialOrBuilder
      Returns:
      The authUsername.
    • setAuthUsername

      public RedisProtocolOptions.Credential.Builder setAuthUsername(DataSource value)
       Upstream server username as defined by the ``user`` directive
       `<https://redis.io/topics/acl>`_ in the server's configuration file.
       
      .envoy.config.core.v3.DataSource auth_username = 3 [(.udpa.annotations.sensitive) = true];
    • setAuthUsername

      public RedisProtocolOptions.Credential.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.
       
      .envoy.config.core.v3.DataSource auth_username = 3 [(.udpa.annotations.sensitive) = true];
    • mergeAuthUsername

      public RedisProtocolOptions.Credential.Builder mergeAuthUsername(DataSource value)
       Upstream server username as defined by the ``user`` directive
       `<https://redis.io/topics/acl>`_ in the server's configuration file.
       
      .envoy.config.core.v3.DataSource auth_username = 3 [(.udpa.annotations.sensitive) = true];
    • clearAuthUsername

      public RedisProtocolOptions.Credential.Builder clearAuthUsername()
       Upstream server username as defined by the ``user`` directive
       `<https://redis.io/topics/acl>`_ in the server's configuration file.
       
      .envoy.config.core.v3.DataSource auth_username = 3 [(.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.
       
      .envoy.config.core.v3.DataSource auth_username = 3 [(.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.
       
      .envoy.config.core.v3.DataSource auth_username = 3 [(.udpa.annotations.sensitive) = true];
      Specified by:
      getAuthUsernameOrBuilder in interface RedisProtocolOptions.CredentialOrBuilder
    • setUnknownFields

      public final RedisProtocolOptions.Credential.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.Credential.Builder>
    • mergeUnknownFields

      public final RedisProtocolOptions.Credential.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.Credential.Builder>