public final class ContinuousBackupSource extends GeneratedMessageV3 implements ContinuousBackupSourceOrBuilder
Message describing a ContinuousBackupSource.
Protobuf type google.cloud.alloydb.v1alpha.ContinuousBackupSource
Static Fields
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
Field Value
POINT_IN_TIME_FIELD_NUMBER
public static final int POINT_IN_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ContinuousBackupSource getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ContinuousBackupSource.Builder newBuilder()
Returns
newBuilder(ContinuousBackupSource prototype)
public static ContinuousBackupSource.Builder newBuilder(ContinuousBackupSource prototype)
Parameter
Returns
public static ContinuousBackupSource parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ContinuousBackupSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ContinuousBackupSource parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ContinuousBackupSource parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ContinuousBackupSource parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ContinuousBackupSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ContinuousBackupSource parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ContinuousBackupSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ContinuousBackupSource parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ContinuousBackupSource> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCluster()
public String getCluster()
Required. The source cluster from which to restore. This cluster must have
continuous backup enabled for this operation to succeed. For the required
format, see the comment on the Cluster.name field.
string cluster = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
String |
The cluster.
|
getClusterBytes()
public ByteString getClusterBytes()
Required. The source cluster from which to restore. This cluster must have
continuous backup enabled for this operation to succeed. For the required
format, see the comment on the Cluster.name field.
string cluster = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
ByteString |
The bytes for cluster.
|
getDefaultInstanceForType()
public ContinuousBackupSource getDefaultInstanceForType()
Returns
getParserForType()
public Parser<ContinuousBackupSource> getParserForType()
Returns
Overrides
getPointInTime()
public Timestamp getPointInTime()
Required. The point in time to restore to.
.google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getPointInTimeOrBuilder()
public TimestampOrBuilder getPointInTimeOrBuilder()
Required. The point in time to restore to.
.google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasPointInTime()
public boolean hasPointInTime()
Required. The point in time to restore to.
.google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
boolean |
Whether the pointInTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ContinuousBackupSource.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ContinuousBackupSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ContinuousBackupSource.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions