Interface MetadataImport.DatabaseDumpOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      MetadataImport.DatabaseDump.DatabaseType getDatabaseType()
      Deprecated.
      google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.database_type is deprecated.
      int getDatabaseTypeValue()
      Deprecated.
      google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.database_type is deprecated.
      String getGcsUri()
      A Cloud Storage object or folder URI that specifies the source from which to import metadata.
      com.google.protobuf.ByteString getGcsUriBytes()
      A Cloud Storage object or folder URI that specifies the source from which to import metadata.
      String getSourceDatabase()
      Deprecated.
      google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.source_database is deprecated.
      com.google.protobuf.ByteString getSourceDatabaseBytes()
      Deprecated.
      google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.source_database is deprecated.
      DatabaseDumpSpec.Type getType()
      Optional.
      int getTypeValue()
      Optional.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getDatabaseTypeValue

        @Deprecated
        int getDatabaseTypeValue()
        Deprecated.
        google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.database_type is deprecated. See google/cloud/metastore/v1beta/metastore.proto;l=699
         The type of the database.
         
        .google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.DatabaseType database_type = 1 [deprecated = true];
        Returns:
        The enum numeric value on the wire for databaseType.
      • getDatabaseType

        @Deprecated
        MetadataImport.DatabaseDump.DatabaseType getDatabaseType()
        Deprecated.
        google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.database_type is deprecated. See google/cloud/metastore/v1beta/metastore.proto;l=699
         The type of the database.
         
        .google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.DatabaseType database_type = 1 [deprecated = true];
        Returns:
        The databaseType.
      • getGcsUri

        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:
        The gcsUri.
      • getGcsUriBytes

        com.google.protobuf.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:
        The bytes for gcsUri.
      • getSourceDatabase

        @Deprecated
        String getSourceDatabase()
        Deprecated.
        google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.source_database is deprecated. See google/cloud/metastore/v1beta/metastore.proto;l=706
         The name of the source database.
         
        string source_database = 3 [deprecated = true];
        Returns:
        The sourceDatabase.
      • getSourceDatabaseBytes

        @Deprecated
        com.google.protobuf.ByteString getSourceDatabaseBytes()
        Deprecated.
        google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.source_database is deprecated. See google/cloud/metastore/v1beta/metastore.proto;l=706
         The name of the source database.
         
        string source_database = 3 [deprecated = true];
        Returns:
        The bytes for sourceDatabase.
      • getTypeValue

        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:
        The enum numeric value on the wire for type.
      • getType

        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:
        The type.