Send feedback
Class ContinuousBackupSource.Builder (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.1.0 keyboard_arrow_down
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 ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ContinuousBackupSource . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ContinuousBackupSource build ()
Returns
buildPartial()
public ContinuousBackupSource buildPartial ()
Returns
clear()
public ContinuousBackupSource . Builder clear ()
Returns
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];
Returns
clearField(Descriptors.FieldDescriptor field)
public ContinuousBackupSource . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ContinuousBackupSource . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
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];
Returns
clone()
public ContinuousBackupSource . Builder clone ()
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
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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
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];
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
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 ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ContinuousBackupSource other)
public ContinuousBackupSource . Builder mergeFrom ( ContinuousBackupSource other )
Parameter
Returns
public ContinuousBackupSource . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ContinuousBackupSource . Builder mergeFrom ( Message other )
Parameter
Returns
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];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ContinuousBackupSource . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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.
Returns
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.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ContinuousBackupSource . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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];
Parameter
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ContinuousBackupSource . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ContinuousBackupSource . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]