Interface ClusterPersistenceConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClusterPersistenceConfig,ClusterPersistenceConfig.Builder
@Generated
public interface ClusterPersistenceConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.getMode()Optional.intOptional.Optional.Optional.booleanOptional.booleanOptional.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
-
getModeValue
int getModeValue()Optional. The mode of persistence.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.PersistenceMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for mode.
-
getMode
ClusterPersistenceConfig.PersistenceMode getMode()Optional. The mode of persistence.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.PersistenceMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The mode.
-
hasRdbConfig
boolean hasRdbConfig()Optional. RDB configuration. This field will be ignored if mode is not RDB.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the rdbConfig field is set.
-
getRdbConfig
ClusterPersistenceConfig.RDBConfig getRdbConfig()Optional. RDB configuration. This field will be ignored if mode is not RDB.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The rdbConfig.
-
getRdbConfigOrBuilder
ClusterPersistenceConfig.RDBConfigOrBuilder getRdbConfigOrBuilder()Optional. RDB configuration. This field will be ignored if mode is not RDB.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL]; -
hasAofConfig
boolean hasAofConfig()Optional. AOF configuration. This field will be ignored if mode is not AOF.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the aofConfig field is set.
-
getAofConfig
ClusterPersistenceConfig.AOFConfig getAofConfig()Optional. AOF configuration. This field will be ignored if mode is not AOF.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The aofConfig.
-
getAofConfigOrBuilder
ClusterPersistenceConfig.AOFConfigOrBuilder getAofConfigOrBuilder()Optional. AOF configuration. This field will be ignored if mode is not AOF.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];
-