Send feedback
Class CloudSQLBackupRunSource.Builder (0.43.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.43.0 keyboard_arrow_down
public static final class CloudSQLBackupRunSource . Builder extends GeneratedMessageV3 . Builder<CloudSQLBackupRunSource . Builder > implements CloudSQLBackupRunSourceOrBuilder
The source CloudSQL backup resource.
Protobuf type google.cloud.alloydb.v1alpha.CloudSQLBackupRunSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 CloudSQLBackupRunSource . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public CloudSQLBackupRunSource build ()
buildPartial()
public CloudSQLBackupRunSource buildPartial ()
clear()
public CloudSQLBackupRunSource . Builder clear ()
Overrides
clearBackupRunId()
public CloudSQLBackupRunSource . Builder clearBackupRunId ()
Required. The CloudSQL backup run ID.
int64 backup_run_id = 3 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CloudSQLBackupRunSource . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearInstanceId()
public CloudSQLBackupRunSource . Builder clearInstanceId ()
Required. The CloudSQL instance ID.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudSQLBackupRunSource . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearProject()
public CloudSQLBackupRunSource . Builder clearProject ()
The project ID of the source CloudSQL instance. This should be the same as
the AlloyDB cluster's project.
string project = 1;
clone()
public CloudSQLBackupRunSource . Builder clone ()
Overrides
getBackupRunId()
public long getBackupRunId ()
Required. The CloudSQL backup run ID.
int64 backup_run_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
long
The backupRunId.
getDefaultInstanceForType()
public CloudSQLBackupRunSource getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getInstanceId()
public String getInstanceId ()
Required. The CloudSQL instance ID.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The instanceId.
getInstanceIdBytes()
public ByteString getInstanceIdBytes ()
Required. The CloudSQL instance ID.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for instanceId.
getProject()
public String getProject ()
The project ID of the source CloudSQL instance. This should be the same as
the AlloyDB cluster's project.
string project = 1;
Returns
Type
Description
String
The project.
getProjectBytes()
public ByteString getProjectBytes ()
The project ID of the source CloudSQL instance. This should be the same as
the AlloyDB cluster's project.
string project = 1;
Returns
Type
Description
ByteString
The bytes for project.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(CloudSQLBackupRunSource other)
public CloudSQLBackupRunSource . Builder mergeFrom ( CloudSQLBackupRunSource other )
public CloudSQLBackupRunSource . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public CloudSQLBackupRunSource . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudSQLBackupRunSource . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setBackupRunId(long value)
public CloudSQLBackupRunSource . Builder setBackupRunId ( long value )
Required. The CloudSQL backup run ID.
int64 backup_run_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
long
The backupRunId to set.
setField(Descriptors.FieldDescriptor field, Object value)
public CloudSQLBackupRunSource . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setInstanceId(String value)
public CloudSQLBackupRunSource . Builder setInstanceId ( String value )
Required. The CloudSQL instance ID.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
String
The instanceId to set.
setInstanceIdBytes(ByteString value)
public CloudSQLBackupRunSource . Builder setInstanceIdBytes ( ByteString value )
Required. The CloudSQL instance ID.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
ByteString
The bytes for instanceId to set.
setProject(String value)
public CloudSQLBackupRunSource . Builder setProject ( String value )
The project ID of the source CloudSQL instance. This should be the same as
the AlloyDB cluster's project.
string project = 1;
Parameter
Name
Description
value
String
The project to set.
setProjectBytes(ByteString value)
public CloudSQLBackupRunSource . Builder setProjectBytes ( ByteString value )
The project ID of the source CloudSQL instance. This should be the same as
the AlloyDB cluster's project.
string project = 1;
Parameter
Name
Description
value
ByteString
The bytes for project to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudSQLBackupRunSource . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudSQLBackupRunSource . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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."],[],[]]