Interface RedisProtocolOptions.CredentialOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RedisProtocolOptions.Credential,RedisProtocolOptions.Credential.Builder
- Enclosing class:
- RedisProtocolOptions
public static interface RedisProtocolOptions.CredentialOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe address to which this username and password applies.The address to which this username and password applies.Upstream server password as defined by the ``requirepass`` directive `<https://redis.io/topics/config>`_ in the server's configuration file.Upstream server password as defined by the ``requirepass`` directive `<https://redis.io/topics/config>`_ in the server's configuration file.Upstream server username as defined by the ``user`` directive `<https://redis.io/topics/acl>`_ in the server's configuration file.Upstream server username as defined by the ``user`` directive `<https://redis.io/topics/acl>`_ in the server's configuration file.booleanThe address to which this username and password applies.booleanUpstream server password as defined by the ``requirepass`` directive `<https://redis.io/topics/config>`_ in the server's configuration file.booleanUpstream server username as defined by the ``user`` directive `<https://redis.io/topics/acl>`_ in the server's configuration file.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
-
hasAddress
boolean hasAddress()The address to which this username and password applies.
.envoy.config.core.v3.Address address = 1;- Returns:
- Whether the address field is set.
-
getAddress
Address getAddress()The address to which this username and password applies.
.envoy.config.core.v3.Address address = 1;- Returns:
- The address.
-
getAddressOrBuilder
AddressOrBuilder getAddressOrBuilder()The address to which this username and password applies.
.envoy.config.core.v3.Address address = 1; -
hasAuthPassword
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];- Returns:
- Whether the authPassword field is set.
-
getAuthPassword
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];- Returns:
- The authPassword.
-
getAuthPasswordOrBuilder
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]; -
hasAuthUsername
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];- Returns:
- Whether the authUsername field is set.
-
getAuthUsername
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];- Returns:
- The authUsername.
-
getAuthUsernameOrBuilder
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];
-