public static final class ContinuousBackupSource.Builder extends GeneratedMessageV3.Builder<ContinuousBackupSource.Builder> implements ContinuousBackupSourceOrBuilder
Message describing a ContinuousBackupSource.
Protobuf type google.cloud.alloydb.v1beta.ContinuousBackupSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ContinuousBackupSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ContinuousBackupSource build()
buildPartial()
public ContinuousBackupSource buildPartial()
clear()
public ContinuousBackupSource.Builder clear()
Overrides
clearCluster()
public ContinuousBackupSource.Builder clearCluster()
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];
clearField(Descriptors.FieldDescriptor field)
public ContinuousBackupSource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ContinuousBackupSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPointInTime()
public ContinuousBackupSource.Builder clearPointInTime()
Required. The point in time to restore to.
.google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public ContinuousBackupSource.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
getPointInTimeBuilder()
public Timestamp.Builder getPointInTimeBuilder()
Required. The point in time to restore to.
.google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED];
getPointInTimeOrBuilder()
public TimestampOrBuilder getPointInTimeOrBuilder()
Required. The point in time to restore to.
.google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED];
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ContinuousBackupSource other)
public ContinuousBackupSource.Builder mergeFrom(ContinuousBackupSource other)
public ContinuousBackupSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ContinuousBackupSource.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergePointInTime(Timestamp value)
public ContinuousBackupSource.Builder mergePointInTime(Timestamp value)
Required. The point in time to restore to.
.google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ContinuousBackupSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCluster(String value)
public ContinuousBackupSource.Builder setCluster(String value)
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];
Parameter |
Name |
Description |
value |
String
The cluster to set.
|
setClusterBytes(ByteString value)
public ContinuousBackupSource.Builder setClusterBytes(ByteString value)
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];
Parameter |
Name |
Description |
value |
ByteString
The bytes for cluster to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ContinuousBackupSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPointInTime(Timestamp value)
public ContinuousBackupSource.Builder setPointInTime(Timestamp value)
Required. The point in time to restore to.
.google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED];
setPointInTime(Timestamp.Builder builderForValue)
public ContinuousBackupSource.Builder setPointInTime(Timestamp.Builder builderForValue)
Required. The point in time to restore to.
.google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
builderForValue |
Builder
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ContinuousBackupSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ContinuousBackupSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides