Class DatabaseTableSpec.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DatabaseTableSpec.Builder>
com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder
All Implemented Interfaces:
DatabaseTableSpecOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DatabaseTableSpec

public static final class DatabaseTableSpec.Builder extends com.google.protobuf.GeneratedMessage.Builder<DatabaseTableSpec.Builder> implements DatabaseTableSpecOrBuilder
 Specification that applies to a table resource. Valid only
 for entries with the `TABLE` type.
 
Protobuf type google.cloud.datacatalog.v1.DatabaseTableSpec
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DatabaseTableSpec.Builder>
    • clear

      public DatabaseTableSpec.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DatabaseTableSpec.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DatabaseTableSpec.Builder>
    • getDefaultInstanceForType

      public DatabaseTableSpec getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DatabaseTableSpec build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DatabaseTableSpec buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DatabaseTableSpec.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DatabaseTableSpec.Builder>
    • mergeFrom

      public DatabaseTableSpec.Builder mergeFrom(DatabaseTableSpec other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DatabaseTableSpec.Builder>
    • mergeFrom

      public DatabaseTableSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DatabaseTableSpec.Builder>
      Throws:
      IOException
    • getTypeValue

      public int getTypeValue()
       Type of this table.
       
      .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;
      Specified by:
      getTypeValue in interface DatabaseTableSpecOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public DatabaseTableSpec.Builder setTypeValue(int value)
       Type of this table.
       
      .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

      public DatabaseTableSpec.TableType getType()
       Type of this table.
       
      .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;
      Specified by:
      getType in interface DatabaseTableSpecOrBuilder
      Returns:
      The type.
    • setType

       Type of this table.
       
      .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public DatabaseTableSpec.Builder clearType()
       Type of this table.
       
      .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;
      Returns:
      This builder for chaining.
    • hasDataplexTable

      public boolean hasDataplexTable()
       Output only. Fields specific to a Dataplex table and present only in the
       Dataplex table entries.
       
      .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDataplexTable in interface DatabaseTableSpecOrBuilder
      Returns:
      Whether the dataplexTable field is set.
    • getDataplexTable

      public DataplexTableSpec getDataplexTable()
       Output only. Fields specific to a Dataplex table and present only in the
       Dataplex table entries.
       
      .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDataplexTable in interface DatabaseTableSpecOrBuilder
      Returns:
      The dataplexTable.
    • setDataplexTable

      public DatabaseTableSpec.Builder setDataplexTable(DataplexTableSpec value)
       Output only. Fields specific to a Dataplex table and present only in the
       Dataplex table entries.
       
      .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setDataplexTable

      public DatabaseTableSpec.Builder setDataplexTable(DataplexTableSpec.Builder builderForValue)
       Output only. Fields specific to a Dataplex table and present only in the
       Dataplex table entries.
       
      .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeDataplexTable

      public DatabaseTableSpec.Builder mergeDataplexTable(DataplexTableSpec value)
       Output only. Fields specific to a Dataplex table and present only in the
       Dataplex table entries.
       
      .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearDataplexTable

      public DatabaseTableSpec.Builder clearDataplexTable()
       Output only. Fields specific to a Dataplex table and present only in the
       Dataplex table entries.
       
      .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDataplexTableBuilder

      public DataplexTableSpec.Builder getDataplexTableBuilder()
       Output only. Fields specific to a Dataplex table and present only in the
       Dataplex table entries.
       
      .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDataplexTableOrBuilder

      public DataplexTableSpecOrBuilder getDataplexTableOrBuilder()
       Output only. Fields specific to a Dataplex table and present only in the
       Dataplex table entries.
       
      .google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDataplexTableOrBuilder in interface DatabaseTableSpecOrBuilder
    • hasDatabaseViewSpec

      public boolean hasDatabaseViewSpec()
       Spec what applies to tables that are actually views.
       Not set for "real" tables.
       
      .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;
      Specified by:
      hasDatabaseViewSpec in interface DatabaseTableSpecOrBuilder
      Returns:
      Whether the databaseViewSpec field is set.
    • getDatabaseViewSpec

      public DatabaseTableSpec.DatabaseViewSpec getDatabaseViewSpec()
       Spec what applies to tables that are actually views.
       Not set for "real" tables.
       
      .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;
      Specified by:
      getDatabaseViewSpec in interface DatabaseTableSpecOrBuilder
      Returns:
      The databaseViewSpec.
    • setDatabaseViewSpec

       Spec what applies to tables that are actually views.
       Not set for "real" tables.
       
      .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;
    • setDatabaseViewSpec

      public DatabaseTableSpec.Builder setDatabaseViewSpec(DatabaseTableSpec.DatabaseViewSpec.Builder builderForValue)
       Spec what applies to tables that are actually views.
       Not set for "real" tables.
       
      .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;
    • mergeDatabaseViewSpec

      public DatabaseTableSpec.Builder mergeDatabaseViewSpec(DatabaseTableSpec.DatabaseViewSpec value)
       Spec what applies to tables that are actually views.
       Not set for "real" tables.
       
      .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;
    • clearDatabaseViewSpec

      public DatabaseTableSpec.Builder clearDatabaseViewSpec()
       Spec what applies to tables that are actually views.
       Not set for "real" tables.
       
      .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;
    • getDatabaseViewSpecBuilder

      public DatabaseTableSpec.DatabaseViewSpec.Builder getDatabaseViewSpecBuilder()
       Spec what applies to tables that are actually views.
       Not set for "real" tables.
       
      .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;
    • getDatabaseViewSpecOrBuilder

      public DatabaseTableSpec.DatabaseViewSpecOrBuilder getDatabaseViewSpecOrBuilder()
       Spec what applies to tables that are actually views.
       Not set for "real" tables.
       
      .google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;
      Specified by:
      getDatabaseViewSpecOrBuilder in interface DatabaseTableSpecOrBuilder