public static final class PersistenceConfig.RDBConfig extends GeneratedMessageV3 implements PersistenceConfig.RDBConfigOrBuilder
Configuration for RDB based persistence.
Protobuf type google.cloud.memorystore.v1.PersistenceConfig.RDBConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PersistenceConfig.RDBConfigImplements
PersistenceConfig.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 PersistenceConfig.RDBConfig getDefaultInstance()
Returns | |
---|---|
Type | Description |
PersistenceConfig.RDBConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static PersistenceConfig.RDBConfig.Builder newBuilder()
Returns | |
---|---|
Type | Description |
PersistenceConfig.RDBConfig.Builder |
newBuilder(PersistenceConfig.RDBConfig prototype)
public static PersistenceConfig.RDBConfig.Builder newBuilder(PersistenceConfig.RDBConfig prototype)
Parameter | |
---|---|
Name | Description |
prototype |
PersistenceConfig.RDBConfig |
Returns | |
---|---|
Type | Description |
PersistenceConfig.RDBConfig.Builder |
parseDelimitedFrom(InputStream input)
public static PersistenceConfig.RDBConfig parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
PersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PersistenceConfig.RDBConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static PersistenceConfig.RDBConfig parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
PersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PersistenceConfig.RDBConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static PersistenceConfig.RDBConfig parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
PersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PersistenceConfig.RDBConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static PersistenceConfig.RDBConfig parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
PersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PersistenceConfig.RDBConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static PersistenceConfig.RDBConfig parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
PersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PersistenceConfig.RDBConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static PersistenceConfig.RDBConfig parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
PersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PersistenceConfig.RDBConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PersistenceConfig.RDBConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<PersistenceConfig.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 PersistenceConfig.RDBConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PersistenceConfig.RDBConfig |
getParserForType()
public Parser<PersistenceConfig.RDBConfig> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<RDBConfig> |
getRdbSnapshotPeriod()
public PersistenceConfig.RDBConfig.SnapshotPeriod getRdbSnapshotPeriod()
Optional. Period between RDB snapshots.
.google.cloud.memorystore.v1.PersistenceConfig.RDBConfig.SnapshotPeriod rdb_snapshot_period = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PersistenceConfig.RDBConfig.SnapshotPeriod |
The rdbSnapshotPeriod. |
getRdbSnapshotPeriodValue()
public int getRdbSnapshotPeriodValue()
Optional. Period between RDB snapshots.
.google.cloud.memorystore.v1.PersistenceConfig.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. 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. 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. 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 PersistenceConfig.RDBConfig.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
PersistenceConfig.RDBConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PersistenceConfig.RDBConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
PersistenceConfig.RDBConfig.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public PersistenceConfig.RDBConfig.Builder toBuilder()
Returns | |
---|---|
Type | Description |
PersistenceConfig.RDBConfig.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |