Interface MetadataImport.DatabaseDumpOrBuilder (0.16.0)

public static interface MetadataImport.DatabaseDumpOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDatabaseType()

public abstract MetadataImport.DatabaseDump.DatabaseType getDatabaseType()

The type of the database.

.google.events.cloud.metastore.v1.MetadataImport.DatabaseDump.DatabaseType database_type = 1;

Returns
Type Description
MetadataImport.DatabaseDump.DatabaseType

The databaseType.

getDatabaseTypeValue()

public abstract int getDatabaseTypeValue()

The type of the database.

.google.events.cloud.metastore.v1.MetadataImport.DatabaseDump.DatabaseType database_type = 1;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for gcsUri.

getSourceDatabase()

public abstract String getSourceDatabase()

The name of the source database.

string source_database = 3;

Returns
Type Description
String

The sourceDatabase.

getSourceDatabaseBytes()

public abstract ByteString getSourceDatabaseBytes()

The name of the source database.

string source_database = 3;

Returns
Type Description
ByteString

The bytes for sourceDatabase.

getType()

public abstract DatabaseDumpSpec.Type getType()

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

.google.events.cloud.metastore.v1.DatabaseDumpSpec.Type type = 4;

Returns
Type Description
DatabaseDumpSpec.Type

The type.

getTypeValue()

public abstract int getTypeValue()

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

.google.events.cloud.metastore.v1.DatabaseDumpSpec.Type type = 4;

Returns
Type Description
int

The enum numeric value on the wire for type.