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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ClusterPersistenceConfig.RDBConfigImplements
ClusterPersistenceConfig.RDBConfigOrBuilderStatic 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()
Returns | |
---|---|
Type | Description |
ClusterPersistenceConfig.RDBConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static ClusterPersistenceConfig.RDBConfig.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ClusterPersistenceConfig.RDBConfig.Builder |
newBuilder(ClusterPersistenceConfig.RDBConfig prototype)
public static ClusterPersistenceConfig.RDBConfig.Builder newBuilder(ClusterPersistenceConfig.RDBConfig prototype)
Parameter | |
---|---|
Name | Description |
prototype |
ClusterPersistenceConfig.RDBConfig |
Returns | |
---|---|
Type | Description |
ClusterPersistenceConfig.RDBConfig.Builder |
parseDelimitedFrom(InputStream input)
public static ClusterPersistenceConfig.RDBConfig parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
ClusterPersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ClusterPersistenceConfig.RDBConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ClusterPersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static ClusterPersistenceConfig.RDBConfig parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
ClusterPersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ClusterPersistenceConfig.RDBConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ClusterPersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ClusterPersistenceConfig.RDBConfig parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
ClusterPersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClusterPersistenceConfig.RDBConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ClusterPersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ClusterPersistenceConfig.RDBConfig parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
ClusterPersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ClusterPersistenceConfig.RDBConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ClusterPersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static ClusterPersistenceConfig.RDBConfig parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
ClusterPersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ClusterPersistenceConfig.RDBConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ClusterPersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ClusterPersistenceConfig.RDBConfig parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
ClusterPersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ClusterPersistenceConfig.RDBConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ClusterPersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ClusterPersistenceConfig.RDBConfig> parser()
Returns | |
---|---|
Type | Description |
Parser<RDBConfig> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public ClusterPersistenceConfig.RDBConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ClusterPersistenceConfig.RDBConfig |
getParserForType()
public Parser<ClusterPersistenceConfig.RDBConfig> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<RDBConfig> |
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];
Returns | |
---|---|
Type | Description |
ClusterPersistenceConfig.RDBConfig.SnapshotPeriod |
The rdbSnapshotPeriod. |
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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public ClusterPersistenceConfig.RDBConfig.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
ClusterPersistenceConfig.RDBConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ClusterPersistenceConfig.RDBConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
ClusterPersistenceConfig.RDBConfig.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public ClusterPersistenceConfig.RDBConfig.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ClusterPersistenceConfig.RDBConfig.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |