public final class ContinuousBackupSource extends GeneratedMessageV3 implements ContinuousBackupSourceOrBuilder
Message describing a ContinuousBackupSource.
Protobuf type google.cloud.alloydb.v1beta.ContinuousBackupSource
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ContinuousBackupSourceImplements
ContinuousBackupSourceOrBuilderStatic Fields
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
Type | Description |
int |
POINT_IN_TIME_FIELD_NUMBER
public static final int POINT_IN_TIME_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ContinuousBackupSource getDefaultInstance()
Type | Description |
ContinuousBackupSource |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ContinuousBackupSource.Builder newBuilder()
Type | Description |
ContinuousBackupSource.Builder |
newBuilder(ContinuousBackupSource prototype)
public static ContinuousBackupSource.Builder newBuilder(ContinuousBackupSource prototype)
Name | Description |
prototype |
ContinuousBackupSource |
Type | Description |
ContinuousBackupSource.Builder |
parseDelimitedFrom(InputStream input)
public static ContinuousBackupSource parseDelimitedFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
ContinuousBackupSource |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ContinuousBackupSource |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ContinuousBackupSource parseFrom(byte[] data)
Name | Description |
data |
byte[] |
Type | Description |
ContinuousBackupSource |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ContinuousBackupSource |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ContinuousBackupSource parseFrom(ByteString data)
Name | Description |
data |
ByteString |
Type | Description |
ContinuousBackupSource |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ContinuousBackupSource |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ContinuousBackupSource parseFrom(CodedInputStream input)
Name | Description |
input |
CodedInputStream |
Type | Description |
ContinuousBackupSource |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ContinuousBackupSource |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ContinuousBackupSource parseFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
ContinuousBackupSource |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ContinuousBackupSource |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ContinuousBackupSource parseFrom(ByteBuffer data)
Name | Description |
data |
ByteBuffer |
Type | Description |
ContinuousBackupSource |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ContinuousBackupSource |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ContinuousBackupSource> parser()
Type | Description |
Parser<ContinuousBackupSource> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj |
Object |
Type | Description |
boolean |
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];
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];
Type | Description |
ByteString |
The bytes for cluster. |
getDefaultInstanceForType()
public ContinuousBackupSource getDefaultInstanceForType()
Type | Description |
ContinuousBackupSource |
getParserForType()
public Parser<ContinuousBackupSource> getParserForType()
Type | Description |
Parser<ContinuousBackupSource> |
getPointInTime()
public Timestamp getPointInTime()
Required. The point in time to restore to.
.google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Timestamp |
The pointInTime. |
getPointInTimeOrBuilder()
public TimestampOrBuilder getPointInTimeOrBuilder()
Required. The point in time to restore to.
.google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
TimestampOrBuilder |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasPointInTime()
public boolean hasPointInTime()
Required. The point in time to restore to.
.google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean |
Whether the pointInTime field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public ContinuousBackupSource.Builder newBuilderForType()
Type | Description |
ContinuousBackupSource.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ContinuousBackupSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent |
BuilderParent |
Type | Description |
ContinuousBackupSource.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused |
UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ContinuousBackupSource.Builder toBuilder()
Type | Description |
ContinuousBackupSource.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output |
CodedOutputStream |
Type | Description |
IOException |