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
Static Fields
public static final int DATABASE_TYPE_FIELD_NUMBER
Field Value
public static final int GCS_URI_FIELD_NUMBER
Field Value
public static final int SOURCE_DATABASE_FIELD_NUMBER
Field Value
public static final int TYPE_FIELD_NUMBER
Field Value
Static Methods
public static MetadataImport.DatabaseDump getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static MetadataImport.DatabaseDump.Builder newBuilder()
Returns
public static MetadataImport.DatabaseDump.Builder newBuilder(MetadataImport.DatabaseDump prototype)
Parameter
Returns
public static MetadataImport.DatabaseDump parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static MetadataImport.DatabaseDump parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MetadataImport.DatabaseDump parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static MetadataImport.DatabaseDump parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MetadataImport.DatabaseDump parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static MetadataImport.DatabaseDump parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MetadataImport.DatabaseDump parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static MetadataImport.DatabaseDump parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MetadataImport.DatabaseDump parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static MetadataImport.DatabaseDump parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MetadataImport.DatabaseDump parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static MetadataImport.DatabaseDump parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<MetadataImport.DatabaseDump> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
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=640
The type of the database.
.google.cloud.metastore.v1alpha.MetadataImport.DatabaseDump.DatabaseType database_type = 1 [deprecated = true];
Returns
public int getDatabaseTypeValue()
Deprecated. google.cloud.metastore.v1alpha.MetadataImport.DatabaseDump.database_type is
deprecated. See google/cloud/metastore/v1alpha/metastore.proto;l=640
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()
Returns
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
public Parser<MetadataImport.DatabaseDump> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public String getSourceDatabase()
Deprecated. google.cloud.metastore.v1alpha.MetadataImport.DatabaseDump.source_database is
deprecated. See google/cloud/metastore/v1alpha/metastore.proto;l=647
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=647
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];
Returns
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.
|
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public MetadataImport.DatabaseDump.Builder newBuilderForType()
Returns
protected MetadataImport.DatabaseDump.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public MetadataImport.DatabaseDump.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions