public static final class ClusterPersistenceConfig.RDBConfig extends GeneratedMessageV3 implements ClusterPersistenceConfig.RDBConfigOrBuilder
Configuration of the RDB based persistence.
Protobuf type google.cloud.redis.cluster.v1.ClusterPersistenceConfig.RDBConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
RDB_SNAPSHOT_PERIOD_FIELD_NUMBER
public static final int RDB_SNAPSHOT_PERIOD_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RDB_SNAPSHOT_START_TIME_FIELD_NUMBER
public static final int RDB_SNAPSHOT_START_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ClusterPersistenceConfig.RDBConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ClusterPersistenceConfig.RDBConfig.Builder newBuilder()
newBuilder(ClusterPersistenceConfig.RDBConfig prototype)
public static ClusterPersistenceConfig.RDBConfig.Builder newBuilder(ClusterPersistenceConfig.RDBConfig prototype)
public static ClusterPersistenceConfig.RDBConfig parseDelimitedFrom(InputStream input)
public static ClusterPersistenceConfig.RDBConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ClusterPersistenceConfig.RDBConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ClusterPersistenceConfig.RDBConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ClusterPersistenceConfig.RDBConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClusterPersistenceConfig.RDBConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClusterPersistenceConfig.RDBConfig parseFrom(CodedInputStream input)
public static ClusterPersistenceConfig.RDBConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ClusterPersistenceConfig.RDBConfig parseFrom(InputStream input)
public static ClusterPersistenceConfig.RDBConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ClusterPersistenceConfig.RDBConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ClusterPersistenceConfig.RDBConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ClusterPersistenceConfig.RDBConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ClusterPersistenceConfig.RDBConfig getDefaultInstanceForType()
getParserForType()
public Parser<ClusterPersistenceConfig.RDBConfig> getParserForType()
Overrides
getRdbSnapshotPeriod()
public ClusterPersistenceConfig.RDBConfig.SnapshotPeriod getRdbSnapshotPeriod()
Optional. Period between RDB snapshots.
.google.cloud.redis.cluster.v1.ClusterPersistenceConfig.RDBConfig.SnapshotPeriod rdb_snapshot_period = 1 [(.google.api.field_behavior) = OPTIONAL];
getRdbSnapshotPeriodValue()
public int getRdbSnapshotPeriodValue()
Optional. Period between RDB snapshots.
.google.cloud.redis.cluster.v1.ClusterPersistenceConfig.RDBConfig.SnapshotPeriod rdb_snapshot_period = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for rdbSnapshotPeriod.
|
getRdbSnapshotStartTime()
public Timestamp getRdbSnapshotStartTime()
Optional. The time that the first snapshot was/will be attempted, and to
which future snapshots will be aligned. If not provided, the current time
will be used.
.google.protobuf.Timestamp rdb_snapshot_start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
Timestamp |
The rdbSnapshotStartTime.
|
getRdbSnapshotStartTimeOrBuilder()
public TimestampOrBuilder getRdbSnapshotStartTimeOrBuilder()
Optional. The time that the first snapshot was/will be attempted, and to
which future snapshots will be aligned. If not provided, the current time
will be used.
.google.protobuf.Timestamp rdb_snapshot_start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasRdbSnapshotStartTime()
public boolean hasRdbSnapshotStartTime()
Optional. The time that the first snapshot was/will be attempted, and to
which future snapshots will be aligned. If not provided, the current time
will be used.
.google.protobuf.Timestamp rdb_snapshot_start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the rdbSnapshotStartTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ClusterPersistenceConfig.RDBConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ClusterPersistenceConfig.RDBConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ClusterPersistenceConfig.RDBConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides