public static final class MetadataImport.DatabaseDump.Builder extends GeneratedMessage.Builder<MetadataImport.DatabaseDump.Builder> implements MetadataImport.DatabaseDumpOrBuilderA specification of the location of and metadata about a database dump from a relational database management system.
Protobuf type google.cloud.metastore.v1.MetadataImport.DatabaseDump
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MetadataImport.DatabaseDump.BuilderImplements
MetadataImport.DatabaseDumpOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public MetadataImport.DatabaseDump build()| Returns | |
|---|---|
| Type | Description |
MetadataImport.DatabaseDump |
|
buildPartial()
public MetadataImport.DatabaseDump buildPartial()| Returns | |
|---|---|
| Type | Description |
MetadataImport.DatabaseDump |
|
clear()
public MetadataImport.DatabaseDump.Builder clear()| Returns | |
|---|---|
| Type | Description |
MetadataImport.DatabaseDump.Builder |
|
clearDatabaseType() (deprecated)
public MetadataImport.DatabaseDump.Builder clearDatabaseType()Deprecated. google.cloud.metastore.v1.MetadataImport.DatabaseDump.database_type is deprecated. See google/cloud/metastore/v1/metastore.proto;l=659
The type of the database.
.google.cloud.metastore.v1.MetadataImport.DatabaseDump.DatabaseType database_type = 1 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
MetadataImport.DatabaseDump.Builder |
This builder for chaining. |
clearGcsUri()
public MetadataImport.DatabaseDump.Builder clearGcsUri() 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 |
MetadataImport.DatabaseDump.Builder |
This builder for chaining. |
clearSourceDatabase() (deprecated)
public MetadataImport.DatabaseDump.Builder clearSourceDatabase()Deprecated. google.cloud.metastore.v1.MetadataImport.DatabaseDump.source_database is deprecated. See google/cloud/metastore/v1/metastore.proto;l=666
The name of the source database.
string source_database = 3 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
MetadataImport.DatabaseDump.Builder |
This builder for chaining. |
clearType()
public MetadataImport.DatabaseDump.Builder clearType() Optional. The type of the database dump. If unspecified, defaults to
MYSQL.
.google.cloud.metastore.v1.DatabaseDumpSpec.Type type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MetadataImport.DatabaseDump.Builder |
This builder for chaining. |
getDatabaseType() (deprecated)
public MetadataImport.DatabaseDump.DatabaseType getDatabaseType()Deprecated. google.cloud.metastore.v1.MetadataImport.DatabaseDump.database_type is deprecated. See google/cloud/metastore/v1/metastore.proto;l=659
The type of the database.
.google.cloud.metastore.v1.MetadataImport.DatabaseDump.DatabaseType database_type = 1 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
MetadataImport.DatabaseDump.DatabaseType |
The databaseType. |
getDatabaseTypeValue() (deprecated)
public int getDatabaseTypeValue()Deprecated. google.cloud.metastore.v1.MetadataImport.DatabaseDump.database_type is deprecated. See google/cloud/metastore/v1/metastore.proto;l=659
The type of the database.
.google.cloud.metastore.v1.MetadataImport.DatabaseDump.DatabaseType database_type = 1 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for databaseType. |
getDefaultInstanceForType()
public MetadataImport.DatabaseDump getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MetadataImport.DatabaseDump |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGcsUri()
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. |
getGcsUriBytes()
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. |
getSourceDatabase() (deprecated)
public String getSourceDatabase()Deprecated. google.cloud.metastore.v1.MetadataImport.DatabaseDump.source_database is deprecated. See google/cloud/metastore/v1/metastore.proto;l=666
The name of the source database.
string source_database = 3 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
String |
The sourceDatabase. |
getSourceDatabaseBytes() (deprecated)
public ByteString getSourceDatabaseBytes()Deprecated. google.cloud.metastore.v1.MetadataImport.DatabaseDump.source_database is deprecated. See google/cloud/metastore/v1/metastore.proto;l=666
The name of the source database.
string source_database = 3 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sourceDatabase. |
getType()
public DatabaseDumpSpec.Type getType() Optional. The type of the database dump. If unspecified, defaults to
MYSQL.
.google.cloud.metastore.v1.DatabaseDumpSpec.Type type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DatabaseDumpSpec.Type |
The type. |
getTypeValue()
public int getTypeValue() Optional. The type of the database dump. If unspecified, defaults to
MYSQL.
.google.cloud.metastore.v1.DatabaseDumpSpec.Type type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(MetadataImport.DatabaseDump other)
public MetadataImport.DatabaseDump.Builder mergeFrom(MetadataImport.DatabaseDump other)| Parameter | |
|---|---|
| Name | Description |
other |
MetadataImport.DatabaseDump |
| Returns | |
|---|---|
| Type | Description |
MetadataImport.DatabaseDump.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MetadataImport.DatabaseDump.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MetadataImport.DatabaseDump.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MetadataImport.DatabaseDump.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MetadataImport.DatabaseDump.Builder |
|
setDatabaseType(MetadataImport.DatabaseDump.DatabaseType value) (deprecated)
public MetadataImport.DatabaseDump.Builder setDatabaseType(MetadataImport.DatabaseDump.DatabaseType value)Deprecated. google.cloud.metastore.v1.MetadataImport.DatabaseDump.database_type is deprecated. See google/cloud/metastore/v1/metastore.proto;l=659
The type of the database.
.google.cloud.metastore.v1.MetadataImport.DatabaseDump.DatabaseType database_type = 1 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
value |
MetadataImport.DatabaseDump.DatabaseTypeThe databaseType to set. |
| Returns | |
|---|---|
| Type | Description |
MetadataImport.DatabaseDump.Builder |
This builder for chaining. |
setDatabaseTypeValue(int value) (deprecated)
public MetadataImport.DatabaseDump.Builder setDatabaseTypeValue(int value)Deprecated. google.cloud.metastore.v1.MetadataImport.DatabaseDump.database_type is deprecated. See google/cloud/metastore/v1/metastore.proto;l=659
The type of the database.
.google.cloud.metastore.v1.MetadataImport.DatabaseDump.DatabaseType database_type = 1 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for databaseType to set. |
| Returns | |
|---|---|
| Type | Description |
MetadataImport.DatabaseDump.Builder |
This builder for chaining. |
setGcsUri(String value)
public MetadataImport.DatabaseDump.Builder setGcsUri(String value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe gcsUri to set. |
| Returns | |
|---|---|
| Type | Description |
MetadataImport.DatabaseDump.Builder |
This builder for chaining. |
setGcsUriBytes(ByteString value)
public MetadataImport.DatabaseDump.Builder setGcsUriBytes(ByteString value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for gcsUri to set. |
| Returns | |
|---|---|
| Type | Description |
MetadataImport.DatabaseDump.Builder |
This builder for chaining. |
setSourceDatabase(String value) (deprecated)
public MetadataImport.DatabaseDump.Builder setSourceDatabase(String value)Deprecated. google.cloud.metastore.v1.MetadataImport.DatabaseDump.source_database is deprecated. See google/cloud/metastore/v1/metastore.proto;l=666
The name of the source database.
string source_database = 3 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sourceDatabase to set. |
| Returns | |
|---|---|
| Type | Description |
MetadataImport.DatabaseDump.Builder |
This builder for chaining. |
setSourceDatabaseBytes(ByteString value) (deprecated)
public MetadataImport.DatabaseDump.Builder setSourceDatabaseBytes(ByteString value)Deprecated. google.cloud.metastore.v1.MetadataImport.DatabaseDump.source_database is deprecated. See google/cloud/metastore/v1/metastore.proto;l=666
The name of the source database.
string source_database = 3 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sourceDatabase to set. |
| Returns | |
|---|---|
| Type | Description |
MetadataImport.DatabaseDump.Builder |
This builder for chaining. |
setType(DatabaseDumpSpec.Type value)
public MetadataImport.DatabaseDump.Builder setType(DatabaseDumpSpec.Type value) Optional. The type of the database dump. If unspecified, defaults to
MYSQL.
.google.cloud.metastore.v1.DatabaseDumpSpec.Type type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DatabaseDumpSpec.TypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
MetadataImport.DatabaseDump.Builder |
This builder for chaining. |
setTypeValue(int value)
public MetadataImport.DatabaseDump.Builder setTypeValue(int value) Optional. The type of the database dump. If unspecified, defaults to
MYSQL.
.google.cloud.metastore.v1.DatabaseDumpSpec.Type type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
MetadataImport.DatabaseDump.Builder |
This builder for chaining. |