Class AlloyDbPitrWindow (0.58.0)

public final class AlloyDbPitrWindow extends GeneratedMessage implements AlloyDbPitrWindowOrBuilder

Point in time recovery window for an AlloyDB cluster.

Protobuf type google.cloud.backupdr.v1beta.AlloyDbPitrWindow

Static Fields

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

LOG_RETENTION_DAYS_FIELD_NUMBER

public static final int LOG_RETENTION_DAYS_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AlloyDbPitrWindow getDefaultInstance()
Returns
Type Description
AlloyDbPitrWindow

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AlloyDbPitrWindow.Builder newBuilder()
Returns
Type Description
AlloyDbPitrWindow.Builder

newBuilder(AlloyDbPitrWindow prototype)

public static AlloyDbPitrWindow.Builder newBuilder(AlloyDbPitrWindow prototype)
Parameter
Name Description
prototype AlloyDbPitrWindow
Returns
Type Description
AlloyDbPitrWindow.Builder

parseDelimitedFrom(InputStream input)

public static AlloyDbPitrWindow parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AlloyDbPitrWindow
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AlloyDbPitrWindow parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlloyDbPitrWindow
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AlloyDbPitrWindow parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AlloyDbPitrWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AlloyDbPitrWindow parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlloyDbPitrWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AlloyDbPitrWindow parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AlloyDbPitrWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AlloyDbPitrWindow parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlloyDbPitrWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AlloyDbPitrWindow parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AlloyDbPitrWindow
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AlloyDbPitrWindow parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlloyDbPitrWindow
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AlloyDbPitrWindow parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AlloyDbPitrWindow
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AlloyDbPitrWindow parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlloyDbPitrWindow
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AlloyDbPitrWindow parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AlloyDbPitrWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AlloyDbPitrWindow parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlloyDbPitrWindow
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AlloyDbPitrWindow> parser()
Returns
Type Description
Parser<AlloyDbPitrWindow>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AlloyDbPitrWindow getDefaultInstanceForType()
Returns
Type Description
AlloyDbPitrWindow

getEndTime()

public Timestamp getEndTime()

Output only. The end time of the PITR window. It is not set if the corresponding Backup Plan Association is active.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. The end time of the PITR window. It is not set if the corresponding Backup Plan Association is active.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getLogRetentionDays()

public long getLogRetentionDays()

Output only. Log retention days for the PITR window.

int64 log_retention_days = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The logRetentionDays.

getParserForType()

public Parser<AlloyDbPitrWindow> getParserForType()
Returns
Type Description
Parser<AlloyDbPitrWindow>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

Output only. The start time of the PITR window.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. The start time of the PITR window.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasEndTime()

public boolean hasEndTime()

Output only. The end time of the PITR window. It is not set if the corresponding Backup Plan Association is active.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

Output only. The start time of the PITR window.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AlloyDbPitrWindow.Builder newBuilderForType()
Returns
Type Description
AlloyDbPitrWindow.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected AlloyDbPitrWindow.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AlloyDbPitrWindow.Builder
Overrides

toBuilder()

public AlloyDbPitrWindow.Builder toBuilder()
Returns
Type Description
AlloyDbPitrWindow.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException