public final class ContinuousBackupSource extends GeneratedMessageV3 implements ContinuousBackupSourceOrBuilder
Message describing a ContinuousBackupSource.
Protobuf type google.cloud.alloydb.v1alpha.ContinuousBackupSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POINT_IN_TIME_FIELD_NUMBER
public static final int POINT_IN_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ContinuousBackupSource getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ContinuousBackupSource.Builder newBuilder()
newBuilder(ContinuousBackupSource prototype)
public static ContinuousBackupSource.Builder newBuilder(ContinuousBackupSource prototype)
public static ContinuousBackupSource parseDelimitedFrom(InputStream input)
public static ContinuousBackupSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ContinuousBackupSource parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ContinuousBackupSource parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupSource parseFrom(CodedInputStream input)
public static ContinuousBackupSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupSource parseFrom(InputStream input)
public static ContinuousBackupSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ContinuousBackupSource parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ContinuousBackupSource> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
getParserForType()
public Parser<ContinuousBackupSource> getParserForType()
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 |
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];
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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 |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ContinuousBackupSource.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ContinuousBackupSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ContinuousBackupSource.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides