Class DataplexExternalTable.Builder

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

public static final class DataplexExternalTable.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataplexExternalTable.Builder> implements DataplexExternalTableOrBuilder
 External table registered by Dataplex.
 Dataplex publishes data discovered from an asset into multiple other systems
 (BigQuery, DPMS) in form of tables. We call them "external tables". External
 tables are also synced into the Data Catalog.
 This message contains pointers to
 those external tables (fully qualified name, resource name et cetera) within
 the Data Catalog.
 
Protobuf type google.cloud.datacatalog.v1.DataplexExternalTable
  • 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<DataplexExternalTable.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<DataplexExternalTable.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<DataplexExternalTable.Builder>
    • getDefaultInstanceForType

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

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

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

      public DataplexExternalTable.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<DataplexExternalTable.Builder>
    • mergeFrom

    • isInitialized

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

      public DataplexExternalTable.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<DataplexExternalTable.Builder>
      Throws:
      IOException
    • getSystemValue

      public int getSystemValue()
       Service in which the external table is registered.
       
      .google.cloud.datacatalog.v1.IntegratedSystem system = 1;
      Specified by:
      getSystemValue in interface DataplexExternalTableOrBuilder
      Returns:
      The enum numeric value on the wire for system.
    • setSystemValue

      public DataplexExternalTable.Builder setSystemValue(int value)
       Service in which the external table is registered.
       
      .google.cloud.datacatalog.v1.IntegratedSystem system = 1;
      Parameters:
      value - The enum numeric value on the wire for system to set.
      Returns:
      This builder for chaining.
    • getSystem

      public IntegratedSystem getSystem()
       Service in which the external table is registered.
       
      .google.cloud.datacatalog.v1.IntegratedSystem system = 1;
      Specified by:
      getSystem in interface DataplexExternalTableOrBuilder
      Returns:
      The system.
    • setSystem

       Service in which the external table is registered.
       
      .google.cloud.datacatalog.v1.IntegratedSystem system = 1;
      Parameters:
      value - The system to set.
      Returns:
      This builder for chaining.
    • clearSystem

      public DataplexExternalTable.Builder clearSystem()
       Service in which the external table is registered.
       
      .google.cloud.datacatalog.v1.IntegratedSystem system = 1;
      Returns:
      This builder for chaining.
    • getFullyQualifiedName

      public String getFullyQualifiedName()
       Fully qualified name (FQN) of the external table.
       
      string fully_qualified_name = 28;
      Specified by:
      getFullyQualifiedName in interface DataplexExternalTableOrBuilder
      Returns:
      The fullyQualifiedName.
    • getFullyQualifiedNameBytes

      public com.google.protobuf.ByteString getFullyQualifiedNameBytes()
       Fully qualified name (FQN) of the external table.
       
      string fully_qualified_name = 28;
      Specified by:
      getFullyQualifiedNameBytes in interface DataplexExternalTableOrBuilder
      Returns:
      The bytes for fullyQualifiedName.
    • setFullyQualifiedName

      public DataplexExternalTable.Builder setFullyQualifiedName(String value)
       Fully qualified name (FQN) of the external table.
       
      string fully_qualified_name = 28;
      Parameters:
      value - The fullyQualifiedName to set.
      Returns:
      This builder for chaining.
    • clearFullyQualifiedName

      public DataplexExternalTable.Builder clearFullyQualifiedName()
       Fully qualified name (FQN) of the external table.
       
      string fully_qualified_name = 28;
      Returns:
      This builder for chaining.
    • setFullyQualifiedNameBytes

      public DataplexExternalTable.Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value)
       Fully qualified name (FQN) of the external table.
       
      string fully_qualified_name = 28;
      Parameters:
      value - The bytes for fullyQualifiedName to set.
      Returns:
      This builder for chaining.
    • getGoogleCloudResource

      public String getGoogleCloudResource()
       Google Cloud resource name of the external table.
       
      string google_cloud_resource = 3;
      Specified by:
      getGoogleCloudResource in interface DataplexExternalTableOrBuilder
      Returns:
      The googleCloudResource.
    • getGoogleCloudResourceBytes

      public com.google.protobuf.ByteString getGoogleCloudResourceBytes()
       Google Cloud resource name of the external table.
       
      string google_cloud_resource = 3;
      Specified by:
      getGoogleCloudResourceBytes in interface DataplexExternalTableOrBuilder
      Returns:
      The bytes for googleCloudResource.
    • setGoogleCloudResource

      public DataplexExternalTable.Builder setGoogleCloudResource(String value)
       Google Cloud resource name of the external table.
       
      string google_cloud_resource = 3;
      Parameters:
      value - The googleCloudResource to set.
      Returns:
      This builder for chaining.
    • clearGoogleCloudResource

      public DataplexExternalTable.Builder clearGoogleCloudResource()
       Google Cloud resource name of the external table.
       
      string google_cloud_resource = 3;
      Returns:
      This builder for chaining.
    • setGoogleCloudResourceBytes

      public DataplexExternalTable.Builder setGoogleCloudResourceBytes(com.google.protobuf.ByteString value)
       Google Cloud resource name of the external table.
       
      string google_cloud_resource = 3;
      Parameters:
      value - The bytes for googleCloudResource to set.
      Returns:
      This builder for chaining.
    • getDataCatalogEntry

      public String getDataCatalogEntry()
       Name of the Data Catalog entry representing the external table.
       
      string data_catalog_entry = 4;
      Specified by:
      getDataCatalogEntry in interface DataplexExternalTableOrBuilder
      Returns:
      The dataCatalogEntry.
    • getDataCatalogEntryBytes

      public com.google.protobuf.ByteString getDataCatalogEntryBytes()
       Name of the Data Catalog entry representing the external table.
       
      string data_catalog_entry = 4;
      Specified by:
      getDataCatalogEntryBytes in interface DataplexExternalTableOrBuilder
      Returns:
      The bytes for dataCatalogEntry.
    • setDataCatalogEntry

      public DataplexExternalTable.Builder setDataCatalogEntry(String value)
       Name of the Data Catalog entry representing the external table.
       
      string data_catalog_entry = 4;
      Parameters:
      value - The dataCatalogEntry to set.
      Returns:
      This builder for chaining.
    • clearDataCatalogEntry

      public DataplexExternalTable.Builder clearDataCatalogEntry()
       Name of the Data Catalog entry representing the external table.
       
      string data_catalog_entry = 4;
      Returns:
      This builder for chaining.
    • setDataCatalogEntryBytes

      public DataplexExternalTable.Builder setDataCatalogEntryBytes(com.google.protobuf.ByteString value)
       Name of the Data Catalog entry representing the external table.
       
      string data_catalog_entry = 4;
      Parameters:
      value - The bytes for dataCatalogEntry to set.
      Returns:
      This builder for chaining.