public static final class MetadataImport.DatabaseDump extends GeneratedMessageV3 implements MetadataImport.DatabaseDumpOrBuilder
A specification of the location of and metadata about a database dump from
a relational database management system.
Protobuf type google.cloud.metastore.v1alpha.MetadataImport.DatabaseDump
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int DATABASE_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int GCS_URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int SOURCE_DATABASE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static MetadataImport.DatabaseDump getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static MetadataImport.DatabaseDump.Builder newBuilder()
public static MetadataImport.DatabaseDump.Builder newBuilder(MetadataImport.DatabaseDump prototype)
public static MetadataImport.DatabaseDump parseDelimitedFrom(InputStream input)
public static MetadataImport.DatabaseDump parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MetadataImport.DatabaseDump parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static MetadataImport.DatabaseDump parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MetadataImport.DatabaseDump parseFrom(ByteString data)
public static MetadataImport.DatabaseDump parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MetadataImport.DatabaseDump parseFrom(CodedInputStream input)
public static MetadataImport.DatabaseDump parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MetadataImport.DatabaseDump parseFrom(InputStream input)
public static MetadataImport.DatabaseDump parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MetadataImport.DatabaseDump parseFrom(ByteBuffer data)
public static MetadataImport.DatabaseDump parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<MetadataImport.DatabaseDump> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public MetadataImport.DatabaseDump.DatabaseType getDatabaseType()
Deprecated. google.cloud.metastore.v1alpha.MetadataImport.DatabaseDump.database_type is
deprecated. See google/cloud/metastore/v1alpha/metastore.proto;l=699
The type of the database.
.google.cloud.metastore.v1alpha.MetadataImport.DatabaseDump.DatabaseType database_type = 1 [deprecated = true];
public int getDatabaseTypeValue()
Deprecated. google.cloud.metastore.v1alpha.MetadataImport.DatabaseDump.database_type is
deprecated. See google/cloud/metastore/v1alpha/metastore.proto;l=699
The type of the database.
.google.cloud.metastore.v1alpha.MetadataImport.DatabaseDump.DatabaseType database_type = 1 [deprecated = true];
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for databaseType.
|
public MetadataImport.DatabaseDump getDefaultInstanceForType()
public String getGcsUri()
A Cloud Storage object or folder URI that specifies the source from which
to import metadata. It must begin with gs://
.
string gcs_uri = 2;
Returns |
---|
Type | Description |
String | The gcsUri.
|
public ByteString getGcsUriBytes()
A Cloud Storage object or folder URI that specifies the source from which
to import metadata. It must begin with gs://
.
string gcs_uri = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for gcsUri.
|
public Parser<MetadataImport.DatabaseDump> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public String getSourceDatabase()
Deprecated. google.cloud.metastore.v1alpha.MetadataImport.DatabaseDump.source_database is
deprecated. See google/cloud/metastore/v1alpha/metastore.proto;l=706
The name of the source database.
string source_database = 3 [deprecated = true];
Returns |
---|
Type | Description |
String | The sourceDatabase.
|
public ByteString getSourceDatabaseBytes()
Deprecated. google.cloud.metastore.v1alpha.MetadataImport.DatabaseDump.source_database is
deprecated. See google/cloud/metastore/v1alpha/metastore.proto;l=706
The name of the source database.
string source_database = 3 [deprecated = true];
Returns |
---|
Type | Description |
ByteString | The bytes for sourceDatabase.
|
public DatabaseDumpSpec.Type getType()
Optional. The type of the database dump. If unspecified, defaults to
MYSQL
.
.google.cloud.metastore.v1alpha.DatabaseDumpSpec.Type type = 4 [(.google.api.field_behavior) = OPTIONAL];
public int getTypeValue()
Optional. The type of the database dump. If unspecified, defaults to
MYSQL
.
.google.cloud.metastore.v1alpha.DatabaseDumpSpec.Type type = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for type.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public MetadataImport.DatabaseDump.Builder newBuilderForType()
protected MetadataImport.DatabaseDump.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public MetadataImport.DatabaseDump.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides