public final class ImportClusterRequest extends com.google.protobuf.GeneratedMessageV3 implements ImportClusterRequestOrBuilder
Import cluster request.Protobuf type
google.cloud.alloydb.v1.ImportClusterRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ImportClusterRequest.Builder
Import cluster request.
|
static class |
ImportClusterRequest.CsvImportOptions
Options for importing data in CSV format.
|
static interface |
ImportClusterRequest.CsvImportOptionsOrBuilder |
static class |
ImportClusterRequest.ImportOptionsCase |
static class |
ImportClusterRequest.SqlImportOptions
Options for importing data in SQL format.
|
static interface |
ImportClusterRequest.SqlImportOptionsOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CSV_IMPORT_OPTIONS_FIELD_NUMBER |
static int |
DATABASE_FIELD_NUMBER |
static int |
GCS_URI_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SQL_IMPORT_OPTIONS_FIELD_NUMBER |
static int |
USER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ImportClusterRequest.CsvImportOptions |
getCsvImportOptions()
Options for importing data in CSV format.
|
ImportClusterRequest.CsvImportOptionsOrBuilder |
getCsvImportOptionsOrBuilder()
Options for importing data in CSV format.
|
String |
getDatabase()
Optional.
|
com.google.protobuf.ByteString |
getDatabaseBytes()
Optional.
|
static ImportClusterRequest |
getDefaultInstance() |
ImportClusterRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getGcsUri()
Required.
|
com.google.protobuf.ByteString |
getGcsUriBytes()
Required.
|
ImportClusterRequest.ImportOptionsCase |
getImportOptionsCase() |
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
com.google.protobuf.Parser<ImportClusterRequest> |
getParserForType() |
int |
getSerializedSize() |
ImportClusterRequest.SqlImportOptions |
getSqlImportOptions()
Options for importing data in SQL format.
|
ImportClusterRequest.SqlImportOptionsOrBuilder |
getSqlImportOptionsOrBuilder()
Options for importing data in SQL format.
|
String |
getUser()
Optional.
|
com.google.protobuf.ByteString |
getUserBytes()
Optional.
|
boolean |
hasCsvImportOptions()
Options for importing data in CSV format.
|
int |
hashCode() |
boolean |
hasSqlImportOptions()
Options for importing data in SQL format.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ImportClusterRequest.Builder |
newBuilder() |
static ImportClusterRequest.Builder |
newBuilder(ImportClusterRequest prototype) |
ImportClusterRequest.Builder |
newBuilderForType() |
protected ImportClusterRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ImportClusterRequest |
parseDelimitedFrom(InputStream input) |
static ImportClusterRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportClusterRequest |
parseFrom(byte[] data) |
static ImportClusterRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportClusterRequest |
parseFrom(ByteBuffer data) |
static ImportClusterRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportClusterRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ImportClusterRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportClusterRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ImportClusterRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportClusterRequest |
parseFrom(InputStream input) |
static ImportClusterRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ImportClusterRequest> |
parser() |
ImportClusterRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SQL_IMPORT_OPTIONS_FIELD_NUMBER
public static final int CSV_IMPORT_OPTIONS_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int GCS_URI_FIELD_NUMBER
public static final int DATABASE_FIELD_NUMBER
public static final int USER_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ImportClusterRequest.ImportOptionsCase getImportOptionsCase()
getImportOptionsCase in interface ImportClusterRequestOrBuilderpublic 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.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.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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ImportClusterRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportClusterRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportClusterRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportClusterRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportClusterRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportClusterRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ImportClusterRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportClusterRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ImportClusterRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportClusterRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ImportClusterRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ImportClusterRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ImportClusterRequest.Builder newBuilder()
public static ImportClusterRequest.Builder newBuilder(ImportClusterRequest prototype)
public ImportClusterRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ImportClusterRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ImportClusterRequest getDefaultInstance()
public static com.google.protobuf.Parser<ImportClusterRequest> parser()
public com.google.protobuf.Parser<ImportClusterRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ImportClusterRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.