- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.4
- 2.3.0
- 2.2.0
- 2.1.9
public static final class MetadataImport.DatabaseDump.Builder extends GeneratedMessageV3.Builder<MetadataImport.DatabaseDump.Builder> 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.v1beta.MetadataImport.DatabaseDump
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MetadataImport.DatabaseDump.BuilderImplements
MetadataImport.DatabaseDumpOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MetadataImport.DatabaseDump.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MetadataImport.DatabaseDump.Builder |
build()
public MetadataImport.DatabaseDump build()
Type | Description |
MetadataImport.DatabaseDump |
buildPartial()
public MetadataImport.DatabaseDump buildPartial()
Type | Description |
MetadataImport.DatabaseDump |
clear()
public MetadataImport.DatabaseDump.Builder clear()
Type | Description |
MetadataImport.DatabaseDump.Builder |
clearDatabaseType()
public MetadataImport.DatabaseDump.Builder clearDatabaseType()
The type of the database.
.google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.DatabaseType database_type = 1 [deprecated = true];
Type | Description |
MetadataImport.DatabaseDump.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MetadataImport.DatabaseDump.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
MetadataImport.DatabaseDump.Builder |
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;
Type | Description |
MetadataImport.DatabaseDump.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MetadataImport.DatabaseDump.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
MetadataImport.DatabaseDump.Builder |
clearSourceDatabase()
public MetadataImport.DatabaseDump.Builder clearSourceDatabase()
The name of the source database.
string source_database = 3 [deprecated = true];
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.v1beta.DatabaseDumpSpec.Type type = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
MetadataImport.DatabaseDump.Builder | This builder for chaining. |
clone()
public MetadataImport.DatabaseDump.Builder clone()
Type | Description |
MetadataImport.DatabaseDump.Builder |
getDatabaseType()
public MetadataImport.DatabaseDump.DatabaseType getDatabaseType()
The type of the database.
.google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.DatabaseType database_type = 1 [deprecated = true];
Type | Description |
MetadataImport.DatabaseDump.DatabaseType | The databaseType. |
getDatabaseTypeValue()
public int getDatabaseTypeValue()
The type of the database.
.google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.DatabaseType database_type = 1 [deprecated = true];
Type | Description |
int | The enum numeric value on the wire for databaseType. |
getDefaultInstanceForType()
public MetadataImport.DatabaseDump getDefaultInstanceForType()
Type | Description |
MetadataImport.DatabaseDump |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
Type | Description |
ByteString | The bytes for gcsUri. |
getSourceDatabase()
public String getSourceDatabase()
The name of the source database.
string source_database = 3 [deprecated = true];
Type | Description |
String | The sourceDatabase. |
getSourceDatabaseBytes()
public ByteString getSourceDatabaseBytes()
The name of the source database.
string source_database = 3 [deprecated = true];
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.v1beta.DatabaseDumpSpec.Type type = 4 [(.google.api.field_behavior) = OPTIONAL];
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.v1beta.DatabaseDumpSpec.Type type = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int | The enum numeric value on the wire for type. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(MetadataImport.DatabaseDump other)
public MetadataImport.DatabaseDump.Builder mergeFrom(MetadataImport.DatabaseDump other)
Name | Description |
other | MetadataImport.DatabaseDump |
Type | Description |
MetadataImport.DatabaseDump.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MetadataImport.DatabaseDump.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MetadataImport.DatabaseDump.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public MetadataImport.DatabaseDump.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
MetadataImport.DatabaseDump.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MetadataImport.DatabaseDump.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MetadataImport.DatabaseDump.Builder |
setDatabaseType(MetadataImport.DatabaseDump.DatabaseType value)
public MetadataImport.DatabaseDump.Builder setDatabaseType(MetadataImport.DatabaseDump.DatabaseType value)
The type of the database.
.google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.DatabaseType database_type = 1 [deprecated = true];
Name | Description |
value | MetadataImport.DatabaseDump.DatabaseType The databaseType to set. |
Type | Description |
MetadataImport.DatabaseDump.Builder | This builder for chaining. |
setDatabaseTypeValue(int value)
public MetadataImport.DatabaseDump.Builder setDatabaseTypeValue(int value)
The type of the database.
.google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.DatabaseType database_type = 1 [deprecated = true];
Name | Description |
value | int The enum numeric value on the wire for databaseType to set. |
Type | Description |
MetadataImport.DatabaseDump.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MetadataImport.DatabaseDump.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MetadataImport.DatabaseDump.Builder |
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;
Name | Description |
value | String The gcsUri to set. |
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;
Name | Description |
value | ByteString The bytes for gcsUri to set. |
Type | Description |
MetadataImport.DatabaseDump.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MetadataImport.DatabaseDump.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
MetadataImport.DatabaseDump.Builder |
setSourceDatabase(String value)
public MetadataImport.DatabaseDump.Builder setSourceDatabase(String value)
The name of the source database.
string source_database = 3 [deprecated = true];
Name | Description |
value | String The sourceDatabase to set. |
Type | Description |
MetadataImport.DatabaseDump.Builder | This builder for chaining. |
setSourceDatabaseBytes(ByteString value)
public MetadataImport.DatabaseDump.Builder setSourceDatabaseBytes(ByteString value)
The name of the source database.
string source_database = 3 [deprecated = true];
Name | Description |
value | ByteString The bytes for sourceDatabase to set. |
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.v1beta.DatabaseDumpSpec.Type type = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | DatabaseDumpSpec.Type The type to set. |
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.v1beta.DatabaseDumpSpec.Type type = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | int The enum numeric value on the wire for type to set. |
Type | Description |
MetadataImport.DatabaseDump.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final MetadataImport.DatabaseDump.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MetadataImport.DatabaseDump.Builder |