public static final class ImportClusterRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ImportClusterRequest.Builder> implements ImportClusterRequestOrBuilder
Import cluster request.Protobuf type
google.cloud.alloydb.v1.ImportClusterRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ImportClusterRequest.Builder>public ImportClusterRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ImportClusterRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ImportClusterRequest.Builder>public ImportClusterRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ImportClusterRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ImportClusterRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ImportClusterRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ImportClusterRequest.Builder>public ImportClusterRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportClusterRequest.Builder>public ImportClusterRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportClusterRequest.Builder>public ImportClusterRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ImportClusterRequest.Builder>public ImportClusterRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportClusterRequest.Builder>public ImportClusterRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportClusterRequest.Builder>public ImportClusterRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportClusterRequest.Builder>public ImportClusterRequest.Builder mergeFrom(ImportClusterRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ImportClusterRequest.Builder>public ImportClusterRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportClusterRequest.Builder>IOExceptionpublic ImportClusterRequest.ImportOptionsCase getImportOptionsCase()
getImportOptionsCase in interface ImportClusterRequestOrBuilderpublic ImportClusterRequest.Builder clearImportOptions()
public boolean hasSqlImportOptions()
Options for importing data in SQL format.
.google.cloud.alloydb.v1.ImportClusterRequest.SqlImportOptions sql_import_options = 4;
hasSqlImportOptions in interface ImportClusterRequestOrBuilderpublic ImportClusterRequest.SqlImportOptions getSqlImportOptions()
Options for importing data in SQL format.
.google.cloud.alloydb.v1.ImportClusterRequest.SqlImportOptions sql_import_options = 4;
getSqlImportOptions in interface ImportClusterRequestOrBuilderpublic ImportClusterRequest.Builder setSqlImportOptions(ImportClusterRequest.SqlImportOptions value)
Options for importing data in SQL format.
.google.cloud.alloydb.v1.ImportClusterRequest.SqlImportOptions sql_import_options = 4;
public ImportClusterRequest.Builder setSqlImportOptions(ImportClusterRequest.SqlImportOptions.Builder builderForValue)
Options for importing data in SQL format.
.google.cloud.alloydb.v1.ImportClusterRequest.SqlImportOptions sql_import_options = 4;
public ImportClusterRequest.Builder mergeSqlImportOptions(ImportClusterRequest.SqlImportOptions value)
Options for importing data in SQL format.
.google.cloud.alloydb.v1.ImportClusterRequest.SqlImportOptions sql_import_options = 4;
public ImportClusterRequest.Builder clearSqlImportOptions()
Options for importing data in SQL format.
.google.cloud.alloydb.v1.ImportClusterRequest.SqlImportOptions sql_import_options = 4;
public ImportClusterRequest.SqlImportOptions.Builder getSqlImportOptionsBuilder()
Options for importing data in SQL format.
.google.cloud.alloydb.v1.ImportClusterRequest.SqlImportOptions sql_import_options = 4;
public ImportClusterRequest.SqlImportOptionsOrBuilder getSqlImportOptionsOrBuilder()
Options for importing data in SQL format.
.google.cloud.alloydb.v1.ImportClusterRequest.SqlImportOptions sql_import_options = 4;
getSqlImportOptionsOrBuilder in interface ImportClusterRequestOrBuilderpublic boolean hasCsvImportOptions()
Options for importing data in CSV format.
.google.cloud.alloydb.v1.ImportClusterRequest.CsvImportOptions csv_import_options = 7;
hasCsvImportOptions in interface ImportClusterRequestOrBuilderpublic ImportClusterRequest.CsvImportOptions getCsvImportOptions()
Options for importing data in CSV format.
.google.cloud.alloydb.v1.ImportClusterRequest.CsvImportOptions csv_import_options = 7;
getCsvImportOptions in interface ImportClusterRequestOrBuilderpublic ImportClusterRequest.Builder setCsvImportOptions(ImportClusterRequest.CsvImportOptions value)
Options for importing data in CSV format.
.google.cloud.alloydb.v1.ImportClusterRequest.CsvImportOptions csv_import_options = 7;
public ImportClusterRequest.Builder setCsvImportOptions(ImportClusterRequest.CsvImportOptions.Builder builderForValue)
Options for importing data in CSV format.
.google.cloud.alloydb.v1.ImportClusterRequest.CsvImportOptions csv_import_options = 7;
public ImportClusterRequest.Builder mergeCsvImportOptions(ImportClusterRequest.CsvImportOptions value)
Options for importing data in CSV format.
.google.cloud.alloydb.v1.ImportClusterRequest.CsvImportOptions csv_import_options = 7;
public ImportClusterRequest.Builder clearCsvImportOptions()
Options for importing data in CSV format.
.google.cloud.alloydb.v1.ImportClusterRequest.CsvImportOptions csv_import_options = 7;
public ImportClusterRequest.CsvImportOptions.Builder getCsvImportOptionsBuilder()
Options for importing data in CSV format.
.google.cloud.alloydb.v1.ImportClusterRequest.CsvImportOptions csv_import_options = 7;
public ImportClusterRequest.CsvImportOptionsOrBuilder getCsvImportOptionsOrBuilder()
Options for importing data in CSV format.
.google.cloud.alloydb.v1.ImportClusterRequest.CsvImportOptions csv_import_options = 7;
getCsvImportOptionsOrBuilder in interface ImportClusterRequestOrBuilderpublic String getName()
Required. The resource name of the cluster.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface ImportClusterRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The resource name of the cluster.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface ImportClusterRequestOrBuilderpublic ImportClusterRequest.Builder setName(String value)
Required. The resource name of the cluster.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public ImportClusterRequest.Builder clearName()
Required. The resource name of the cluster.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ImportClusterRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The resource name of the cluster.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for name to set.public String getGcsUri()
Required. The path to the file in Google Cloud Storage where the source file for import will be stored. The URI is in the form `gs://bucketName/fileName`.
string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED];getGcsUri in interface ImportClusterRequestOrBuilderpublic com.google.protobuf.ByteString getGcsUriBytes()
Required. The path to the file in Google Cloud Storage where the source file for import will be stored. The URI is in the form `gs://bucketName/fileName`.
string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED];getGcsUriBytes in interface ImportClusterRequestOrBuilderpublic ImportClusterRequest.Builder setGcsUri(String value)
Required. The path to the file in Google Cloud Storage where the source file for import will be stored. The URI is in the form `gs://bucketName/fileName`.
string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED];value - The gcsUri to set.public ImportClusterRequest.Builder clearGcsUri()
Required. The path to the file in Google Cloud Storage where the source file for import will be stored. The URI is in the form `gs://bucketName/fileName`.
string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED];public ImportClusterRequest.Builder setGcsUriBytes(com.google.protobuf.ByteString value)
Required. The path to the file in Google Cloud Storage where the source file for import will be stored. The URI is in the form `gs://bucketName/fileName`.
string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for gcsUri to set.public String getDatabase()
Optional. Name of the database to which the import will be done. For import from SQL file, this is required only if the file does not specify a database. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.
string database = 3 [(.google.api.field_behavior) = OPTIONAL];getDatabase in interface ImportClusterRequestOrBuilderpublic com.google.protobuf.ByteString getDatabaseBytes()
Optional. Name of the database to which the import will be done. For import from SQL file, this is required only if the file does not specify a database. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.
string database = 3 [(.google.api.field_behavior) = OPTIONAL];getDatabaseBytes in interface ImportClusterRequestOrBuilderpublic ImportClusterRequest.Builder setDatabase(String value)
Optional. Name of the database to which the import will be done. For import from SQL file, this is required only if the file does not specify a database. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.
string database = 3 [(.google.api.field_behavior) = OPTIONAL];value - The database to set.public ImportClusterRequest.Builder clearDatabase()
Optional. Name of the database to which the import will be done. For import from SQL file, this is required only if the file does not specify a database. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.
string database = 3 [(.google.api.field_behavior) = OPTIONAL];public ImportClusterRequest.Builder setDatabaseBytes(com.google.protobuf.ByteString value)
Optional. Name of the database to which the import will be done. For import from SQL file, this is required only if the file does not specify a database. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.
string database = 3 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for database to set.public String getUser()
Optional. Database user to be used for importing the data. Note - Value provided should be the same as expected from `SELECT current_user;` and NOT as a resource reference.
string user = 5 [(.google.api.field_behavior) = OPTIONAL];getUser in interface ImportClusterRequestOrBuilderpublic com.google.protobuf.ByteString getUserBytes()
Optional. Database user to be used for importing the data. Note - Value provided should be the same as expected from `SELECT current_user;` and NOT as a resource reference.
string user = 5 [(.google.api.field_behavior) = OPTIONAL];getUserBytes in interface ImportClusterRequestOrBuilderpublic ImportClusterRequest.Builder setUser(String value)
Optional. Database user to be used for importing the data. Note - Value provided should be the same as expected from `SELECT current_user;` and NOT as a resource reference.
string user = 5 [(.google.api.field_behavior) = OPTIONAL];value - The user to set.public ImportClusterRequest.Builder clearUser()
Optional. Database user to be used for importing the data. Note - Value provided should be the same as expected from `SELECT current_user;` and NOT as a resource reference.
string user = 5 [(.google.api.field_behavior) = OPTIONAL];public ImportClusterRequest.Builder setUserBytes(com.google.protobuf.ByteString value)
Optional. Database user to be used for importing the data. Note - Value provided should be the same as expected from `SELECT current_user;` and NOT as a resource reference.
string user = 5 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for user to set.public final ImportClusterRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportClusterRequest.Builder>public final ImportClusterRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportClusterRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.