Package com.google.cloud.dataplex.v1
Class DataDiscoverySpec.BigQueryPublishingConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataDiscoverySpec.BigQueryPublishingConfig.Builder>
com.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig.Builder
- All Implemented Interfaces:
DataDiscoverySpec.BigQueryPublishingConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataDiscoverySpec.BigQueryPublishingConfig
public static final class DataDiscoverySpec.BigQueryPublishingConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DataDiscoverySpec.BigQueryPublishingConfig.Builder>
implements DataDiscoverySpec.BigQueryPublishingConfigOrBuilder
Describes BigQuery publishing configurations.Protobuf type
google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.intOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setConnection(String value) Optional.setConnectionBytes(com.google.protobuf.ByteString value) Optional.setLocation(String value) Optional.setLocationBytes(com.google.protobuf.ByteString value) Optional.setProject(String value) Optional.setProjectBytes(com.google.protobuf.ByteString value) Optional.Optional.setTableTypeValue(int value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DataDiscoverySpec.BigQueryPublishingConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DataDiscoverySpec.BigQueryPublishingConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DataDiscoverySpec.BigQueryPublishingConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public DataDiscoverySpec.BigQueryPublishingConfig.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataDiscoverySpec.BigQueryPublishingConfig.Builder>
-
mergeFrom
public DataDiscoverySpec.BigQueryPublishingConfig.Builder mergeFrom(DataDiscoverySpec.BigQueryPublishingConfig other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataDiscoverySpec.BigQueryPublishingConfig.Builder>
-
mergeFrom
public DataDiscoverySpec.BigQueryPublishingConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataDiscoverySpec.BigQueryPublishingConfig.Builder>- Throws:
IOException
-
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:
getTableTypeValuein interfaceDataDiscoverySpec.BigQueryPublishingConfigOrBuilder- Returns:
- The enum numeric value on the wire for tableType.
-
setTableTypeValue
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];- Parameters:
value- The enum numeric value on the wire for tableType to set.- Returns:
- This builder for chaining.
-
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:
getTableTypein interfaceDataDiscoverySpec.BigQueryPublishingConfigOrBuilder- Returns:
- The tableType.
-
setTableType
public DataDiscoverySpec.BigQueryPublishingConfig.Builder setTableType(DataDiscoverySpec.BigQueryPublishingConfig.TableType value) 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];- Parameters:
value- The tableType to set.- Returns:
- This builder for chaining.
-
clearTableType
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];- Returns:
- This builder for chaining.
-
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:
getConnectionin interfaceDataDiscoverySpec.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:
getConnectionBytesin interfaceDataDiscoverySpec.BigQueryPublishingConfigOrBuilder- Returns:
- The bytes for connection.
-
setConnection
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) = { ... }- Parameters:
value- The connection to set.- Returns:
- This builder for chaining.
-
clearConnection
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) = { ... }- Returns:
- This builder for chaining.
-
setConnectionBytes
public DataDiscoverySpec.BigQueryPublishingConfig.Builder setConnectionBytes(com.google.protobuf.ByteString value) 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) = { ... }- Parameters:
value- The bytes for connection to set.- Returns:
- This builder for chaining.
-
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:
getLocationin interfaceDataDiscoverySpec.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:
getLocationBytesin interfaceDataDiscoverySpec.BigQueryPublishingConfigOrBuilder- Returns:
- The bytes for location.
-
setLocation
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];- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
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];- Returns:
- This builder for chaining.
-
setLocationBytes
public DataDiscoverySpec.BigQueryPublishingConfig.Builder setLocationBytes(com.google.protobuf.ByteString value) 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];- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-
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:
getProjectin interfaceDataDiscoverySpec.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:
getProjectBytesin interfaceDataDiscoverySpec.BigQueryPublishingConfigOrBuilder- Returns:
- The bytes for project.
-
setProject
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) = { ... }- Parameters:
value- The project to set.- Returns:
- This builder for chaining.
-
clearProject
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) = { ... }- Returns:
- This builder for chaining.
-
setProjectBytes
public DataDiscoverySpec.BigQueryPublishingConfig.Builder setProjectBytes(com.google.protobuf.ByteString value) 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) = { ... }- Parameters:
value- The bytes for project to set.- Returns:
- This builder for chaining.
-