Class DataDiscoverySpec.BigQueryPublishingConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig
All Implemented Interfaces:
DataDiscoverySpec.BigQueryPublishingConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
DataDiscoverySpec

public static final class DataDiscoverySpec.BigQueryPublishingConfig extends com.google.protobuf.GeneratedMessage implements DataDiscoverySpec.BigQueryPublishingConfigOrBuilder
 Describes BigQuery publishing configurations.
 
Protobuf type google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig
See Also:
  • Field Details

  • 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
    • getTableTypeValue

      public int getTableTypeValue()
       Optional. Determines whether to  publish discovered tables as BigLake
       external tables or non-BigLake external tables.
       
      .google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig.TableType table_type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTableTypeValue in interface DataDiscoverySpec.BigQueryPublishingConfigOrBuilder
      Returns:
      The enum numeric value on the wire for tableType.
    • getTableType

       Optional. Determines whether to  publish discovered tables as BigLake
       external tables or non-BigLake external tables.
       
      .google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig.TableType table_type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTableType in interface DataDiscoverySpec.BigQueryPublishingConfigOrBuilder
      Returns:
      The tableType.
    • getConnection

      public String getConnection()
       Optional. The BigQuery connection used to create BigLake tables.
       Must be in the form
       `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
       
      string connection = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getConnection in interface DataDiscoverySpec.BigQueryPublishingConfigOrBuilder
      Returns:
      The connection.
    • getConnectionBytes

      public com.google.protobuf.ByteString getConnectionBytes()
       Optional. The BigQuery connection used to create BigLake tables.
       Must be in the form
       `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
       
      string connection = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getConnectionBytes in interface DataDiscoverySpec.BigQueryPublishingConfigOrBuilder
      Returns:
      The bytes for connection.
    • getLocation

      public String getLocation()
       Optional. The location of the BigQuery dataset to publish BigLake
       external or non-BigLake external tables to.
       1. If the Cloud Storage bucket is located in a multi-region bucket, then
       BigQuery dataset can be in the same multi-region bucket or any single
       region that is included in the same multi-region bucket. The datascan can
       be created in any single region that is included in the same multi-region
       bucket
       2. If the Cloud Storage bucket is located in a dual-region bucket, then
       BigQuery dataset can be located in regions that are included in the
       dual-region bucket, or in a multi-region that includes the dual-region.
       The datascan can be created in any single region that is included in the
       same dual-region bucket.
       3. If the Cloud Storage bucket is located in a single region, then
       BigQuery dataset can be in the same single region or any multi-region
       bucket that includes the same single region. The datascan will be created
       in the same single region as the bucket.
       4. If the BigQuery dataset is in single region, it must be in the same
       single region as the datascan.
      
       For supported values, refer to
       https://cloud.google.com/bigquery/docs/locations#supported_locations.
       
      string location = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLocation in interface DataDiscoverySpec.BigQueryPublishingConfigOrBuilder
      Returns:
      The location.
    • getLocationBytes

      public com.google.protobuf.ByteString getLocationBytes()
       Optional. The location of the BigQuery dataset to publish BigLake
       external or non-BigLake external tables to.
       1. If the Cloud Storage bucket is located in a multi-region bucket, then
       BigQuery dataset can be in the same multi-region bucket or any single
       region that is included in the same multi-region bucket. The datascan can
       be created in any single region that is included in the same multi-region
       bucket
       2. If the Cloud Storage bucket is located in a dual-region bucket, then
       BigQuery dataset can be located in regions that are included in the
       dual-region bucket, or in a multi-region that includes the dual-region.
       The datascan can be created in any single region that is included in the
       same dual-region bucket.
       3. If the Cloud Storage bucket is located in a single region, then
       BigQuery dataset can be in the same single region or any multi-region
       bucket that includes the same single region. The datascan will be created
       in the same single region as the bucket.
       4. If the BigQuery dataset is in single region, it must be in the same
       single region as the datascan.
      
       For supported values, refer to
       https://cloud.google.com/bigquery/docs/locations#supported_locations.
       
      string location = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLocationBytes in interface DataDiscoverySpec.BigQueryPublishingConfigOrBuilder
      Returns:
      The bytes for location.
    • getProject

      public String getProject()
       Optional. The project of the BigQuery dataset to publish BigLake external
       or non-BigLake external tables to. If not specified, the project of the
       Cloud Storage bucket will be used. The format is
       "projects/{project_id_or_number}".
       
      string project = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getProject in interface DataDiscoverySpec.BigQueryPublishingConfigOrBuilder
      Returns:
      The project.
    • getProjectBytes

      public com.google.protobuf.ByteString getProjectBytes()
       Optional. The project of the BigQuery dataset to publish BigLake external
       or non-BigLake external tables to. If not specified, the project of the
       Cloud Storage bucket will be used. The format is
       "projects/{project_id_or_number}".
       
      string project = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getProjectBytes in interface DataDiscoverySpec.BigQueryPublishingConfigOrBuilder
      Returns:
      The bytes for project.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DataDiscoverySpec.BigQueryPublishingConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataDiscoverySpec.BigQueryPublishingConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataDiscoverySpec.BigQueryPublishingConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataDiscoverySpec.BigQueryPublishingConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataDiscoverySpec.BigQueryPublishingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataDiscoverySpec.BigQueryPublishingConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataDiscoverySpec.BigQueryPublishingConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataDiscoverySpec.BigQueryPublishingConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataDiscoverySpec.BigQueryPublishingConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataDiscoverySpec.BigQueryPublishingConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataDiscoverySpec.BigQueryPublishingConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataDiscoverySpec.BigQueryPublishingConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DataDiscoverySpec.BigQueryPublishingConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DataDiscoverySpec.BigQueryPublishingConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DataDiscoverySpec.BigQueryPublishingConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<DataDiscoverySpec.BigQueryPublishingConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DataDiscoverySpec.BigQueryPublishingConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder