Interface MetadataImport.DatabaseDumpOrBuilder (2.28.0)

public static interface MetadataImport.DatabaseDumpOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDatabaseType() (deprecated)

public abstract MetadataImport.DatabaseDump.DatabaseType getDatabaseType()

Deprecated. google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.database_type is deprecated. See google/cloud/metastore/v1beta/metastore.proto;l=712

The type of the database.

.google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.DatabaseType database_type = 1 [deprecated = true];

Returns
TypeDescription
MetadataImport.DatabaseDump.DatabaseType

The databaseType.

getDatabaseTypeValue() (deprecated)

public abstract int getDatabaseTypeValue()

Deprecated. google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.database_type is deprecated. See google/cloud/metastore/v1beta/metastore.proto;l=712

The type of the database.

.google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.DatabaseType database_type = 1 [deprecated = true];

Returns
TypeDescription
int

The enum numeric value on the wire for databaseType.

getGcsUri()

public abstract 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
TypeDescription
String

The gcsUri.

getGcsUriBytes()

public abstract 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
TypeDescription
ByteString

The bytes for gcsUri.

getSourceDatabase() (deprecated)

public abstract String getSourceDatabase()

Deprecated. google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.source_database is deprecated. See google/cloud/metastore/v1beta/metastore.proto;l=719

The name of the source database.

string source_database = 3 [deprecated = true];

Returns
TypeDescription
String

The sourceDatabase.

getSourceDatabaseBytes() (deprecated)

public abstract ByteString getSourceDatabaseBytes()

Deprecated. google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.source_database is deprecated. See google/cloud/metastore/v1beta/metastore.proto;l=719

The name of the source database.

string source_database = 3 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for sourceDatabase.

getType()

public abstract DatabaseDumpSpec.Type getType()

Optional. The type of the database dump. If unspecified, defaults to MYSQL.

.google.cloud.metastore.v1beta.DatabaseDumpSpec.Type type = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
DatabaseDumpSpec.Type

The type.

getTypeValue()

public abstract int getTypeValue()

Optional. The type of the database dump. If unspecified, defaults to MYSQL.

.google.cloud.metastore.v1beta.DatabaseDumpSpec.Type type = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for type.