Class BigQuerySource.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>
-
- com.google.cloud.discoveryengine.v1beta.BigQuerySource.Builder
-
- All Implemented Interfaces:
BigQuerySourceOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- BigQuerySource
public static final class BigQuerySource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder> implements BigQuerySourceOrBuilder
BigQuery source import data from.
Protobuf typegoogle.cloud.discoveryengine.v1beta.BigQuerySource
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BigQuerySource.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BigQuerySource
build()
BigQuerySource
buildPartial()
BigQuerySource.Builder
clear()
BigQuerySource.Builder
clearDataSchema()
The schema to use when parsing the data from the source.BigQuerySource.Builder
clearDatasetId()
Required.BigQuerySource.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
BigQuerySource.Builder
clearGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.BigQuerySource.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
BigQuerySource.Builder
clearPartition()
BigQuerySource.Builder
clearPartitionDate()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.BigQuerySource.Builder
clearProjectId()
The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters.BigQuerySource.Builder
clearTableId()
Required.BigQuerySource.Builder
clone()
String
getDataSchema()
The schema to use when parsing the data from the source.com.google.protobuf.ByteString
getDataSchemaBytes()
The schema to use when parsing the data from the source.String
getDatasetId()
Required.com.google.protobuf.ByteString
getDatasetIdBytes()
Required.BigQuerySource
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.com.google.protobuf.ByteString
getGcsStagingDirBytes()
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.BigQuerySource.PartitionCase
getPartitionCase()
com.google.type.Date
getPartitionDate()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.com.google.type.Date.Builder
getPartitionDateBuilder()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.com.google.type.DateOrBuilder
getPartitionDateOrBuilder()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.String
getProjectId()
The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters.com.google.protobuf.ByteString
getProjectIdBytes()
The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters.String
getTableId()
Required.com.google.protobuf.ByteString
getTableIdBytes()
Required.boolean
hasPartitionDate()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
BigQuerySource.Builder
mergeFrom(BigQuerySource other)
BigQuerySource.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BigQuerySource.Builder
mergeFrom(com.google.protobuf.Message other)
BigQuerySource.Builder
mergePartitionDate(com.google.type.Date value)
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.BigQuerySource.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
BigQuerySource.Builder
setDataSchema(String value)
The schema to use when parsing the data from the source.BigQuerySource.Builder
setDataSchemaBytes(com.google.protobuf.ByteString value)
The schema to use when parsing the data from the source.BigQuerySource.Builder
setDatasetId(String value)
Required.BigQuerySource.Builder
setDatasetIdBytes(com.google.protobuf.ByteString value)
Required.BigQuerySource.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BigQuerySource.Builder
setGcsStagingDir(String value)
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.BigQuerySource.Builder
setGcsStagingDirBytes(com.google.protobuf.ByteString value)
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.BigQuerySource.Builder
setPartitionDate(com.google.type.Date value)
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.BigQuerySource.Builder
setPartitionDate(com.google.type.Date.Builder builderForValue)
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.BigQuerySource.Builder
setProjectId(String value)
The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters.BigQuerySource.Builder
setProjectIdBytes(com.google.protobuf.ByteString value)
The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters.BigQuerySource.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
BigQuerySource.Builder
setTableId(String value)
Required.BigQuerySource.Builder
setTableIdBytes(com.google.protobuf.ByteString value)
Required.BigQuerySource.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>
-
clear
public BigQuerySource.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>
-
getDefaultInstanceForType
public BigQuerySource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BigQuerySource build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BigQuerySource buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BigQuerySource.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>
-
setField
public BigQuerySource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>
-
clearField
public BigQuerySource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>
-
clearOneof
public BigQuerySource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>
-
setRepeatedField
public BigQuerySource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>
-
addRepeatedField
public BigQuerySource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>
-
mergeFrom
public BigQuerySource.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BigQuerySource.Builder>
-
mergeFrom
public BigQuerySource.Builder mergeFrom(BigQuerySource other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>
-
mergeFrom
public BigQuerySource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BigQuerySource.Builder>
- Throws:
IOException
-
getPartitionCase
public BigQuerySource.PartitionCase getPartitionCase()
- Specified by:
getPartitionCase
in interfaceBigQuerySourceOrBuilder
-
clearPartition
public BigQuerySource.Builder clearPartition()
-
hasPartitionDate
public boolean hasPartitionDate()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
.google.type.Date partition_date = 5;
- Specified by:
hasPartitionDate
in interfaceBigQuerySourceOrBuilder
- Returns:
- Whether the partitionDate field is set.
-
getPartitionDate
public com.google.type.Date getPartitionDate()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
.google.type.Date partition_date = 5;
- Specified by:
getPartitionDate
in interfaceBigQuerySourceOrBuilder
- Returns:
- The partitionDate.
-
setPartitionDate
public BigQuerySource.Builder setPartitionDate(com.google.type.Date value)
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
.google.type.Date partition_date = 5;
-
setPartitionDate
public BigQuerySource.Builder setPartitionDate(com.google.type.Date.Builder builderForValue)
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
.google.type.Date partition_date = 5;
-
mergePartitionDate
public BigQuerySource.Builder mergePartitionDate(com.google.type.Date value)
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
.google.type.Date partition_date = 5;
-
clearPartitionDate
public BigQuerySource.Builder clearPartitionDate()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
.google.type.Date partition_date = 5;
-
getPartitionDateBuilder
public com.google.type.Date.Builder getPartitionDateBuilder()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
.google.type.Date partition_date = 5;
-
getPartitionDateOrBuilder
public com.google.type.DateOrBuilder getPartitionDateOrBuilder()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
.google.type.Date partition_date = 5;
- Specified by:
getPartitionDateOrBuilder
in interfaceBigQuerySourceOrBuilder
-
getProjectId
public String getProjectId()
The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;
- Specified by:
getProjectId
in interfaceBigQuerySourceOrBuilder
- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()
The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;
- Specified by:
getProjectIdBytes
in interfaceBigQuerySourceOrBuilder
- Returns:
- The bytes for projectId.
-
setProjectId
public BigQuerySource.Builder setProjectId(String value)
The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;
- Parameters:
value
- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
public BigQuerySource.Builder clearProjectId()
The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;
- Returns:
- This builder for chaining.
-
setProjectIdBytes
public BigQuerySource.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;
- Parameters:
value
- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getDatasetId
public String getDatasetId()
Required. The BigQuery data set to copy the data from with a length limit of 1,024 characters.
string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getDatasetId
in interfaceBigQuerySourceOrBuilder
- Returns:
- The datasetId.
-
getDatasetIdBytes
public com.google.protobuf.ByteString getDatasetIdBytes()
Required. The BigQuery data set to copy the data from with a length limit of 1,024 characters.
string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getDatasetIdBytes
in interfaceBigQuerySourceOrBuilder
- Returns:
- The bytes for datasetId.
-
setDatasetId
public BigQuerySource.Builder setDatasetId(String value)
Required. The BigQuery data set to copy the data from with a length limit of 1,024 characters.
string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The datasetId to set.- Returns:
- This builder for chaining.
-
clearDatasetId
public BigQuerySource.Builder clearDatasetId()
Required. The BigQuery data set to copy the data from with a length limit of 1,024 characters.
string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setDatasetIdBytes
public BigQuerySource.Builder setDatasetIdBytes(com.google.protobuf.ByteString value)
Required. The BigQuery data set to copy the data from with a length limit of 1,024 characters.
string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for datasetId to set.- Returns:
- This builder for chaining.
-
getTableId
public String getTableId()
Required. The BigQuery table to copy the data from with a length limit of 1,024 characters.
string table_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getTableId
in interfaceBigQuerySourceOrBuilder
- Returns:
- The tableId.
-
getTableIdBytes
public com.google.protobuf.ByteString getTableIdBytes()
Required. The BigQuery table to copy the data from with a length limit of 1,024 characters.
string table_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getTableIdBytes
in interfaceBigQuerySourceOrBuilder
- Returns:
- The bytes for tableId.
-
setTableId
public BigQuerySource.Builder setTableId(String value)
Required. The BigQuery table to copy the data from with a length limit of 1,024 characters.
string table_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The tableId to set.- Returns:
- This builder for chaining.
-
clearTableId
public BigQuerySource.Builder clearTableId()
Required. The BigQuery table to copy the data from with a length limit of 1,024 characters.
string table_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setTableIdBytes
public BigQuerySource.Builder setTableIdBytes(com.google.protobuf.ByteString value)
Required. The BigQuery table to copy the data from with a length limit of 1,024 characters.
string table_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for tableId to set.- Returns:
- This builder for chaining.
-
getGcsStagingDir
public String getGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.
string gcs_staging_dir = 4;
- Specified by:
getGcsStagingDir
in interfaceBigQuerySourceOrBuilder
- Returns:
- The gcsStagingDir.
-
getGcsStagingDirBytes
public com.google.protobuf.ByteString getGcsStagingDirBytes()
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.
string gcs_staging_dir = 4;
- Specified by:
getGcsStagingDirBytes
in interfaceBigQuerySourceOrBuilder
- Returns:
- The bytes for gcsStagingDir.
-
setGcsStagingDir
public BigQuerySource.Builder setGcsStagingDir(String value)
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.
string gcs_staging_dir = 4;
- Parameters:
value
- The gcsStagingDir to set.- Returns:
- This builder for chaining.
-
clearGcsStagingDir
public BigQuerySource.Builder clearGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.
string gcs_staging_dir = 4;
- Returns:
- This builder for chaining.
-
setGcsStagingDirBytes
public BigQuerySource.Builder setGcsStagingDirBytes(com.google.protobuf.ByteString value)
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.
string gcs_staging_dir = 4;
- Parameters:
value
- The bytes for gcsStagingDir to set.- Returns:
- This builder for chaining.
-
getDataSchema
public String getDataSchema()
The schema to use when parsing the data from the source. Supported values for user event imports: * `user_event` (default): One [UserEvent][google.cloud.discoveryengine.v1beta.UserEvent] per row. Supported values for document imports: * `document` (default): One [Document][google.cloud.discoveryengine.v1beta.Document] format per row. Each document must have a valid [Document.id][google.cloud.discoveryengine.v1beta.Document.id] and one of [Document.json_data][google.cloud.discoveryengine.v1beta.Document.json_data] or [Document.struct_data][google.cloud.discoveryengine.v1beta.Document.struct_data]. * `custom`: One custom data per row in arbitrary format that conforms to the defined [Schema][google.cloud.discoveryengine.v1beta.Schema] of the data store. This can only be used by Gen App Builder.
string data_schema = 6;
- Specified by:
getDataSchema
in interfaceBigQuerySourceOrBuilder
- Returns:
- The dataSchema.
-
getDataSchemaBytes
public com.google.protobuf.ByteString getDataSchemaBytes()
The schema to use when parsing the data from the source. Supported values for user event imports: * `user_event` (default): One [UserEvent][google.cloud.discoveryengine.v1beta.UserEvent] per row. Supported values for document imports: * `document` (default): One [Document][google.cloud.discoveryengine.v1beta.Document] format per row. Each document must have a valid [Document.id][google.cloud.discoveryengine.v1beta.Document.id] and one of [Document.json_data][google.cloud.discoveryengine.v1beta.Document.json_data] or [Document.struct_data][google.cloud.discoveryengine.v1beta.Document.struct_data]. * `custom`: One custom data per row in arbitrary format that conforms to the defined [Schema][google.cloud.discoveryengine.v1beta.Schema] of the data store. This can only be used by Gen App Builder.
string data_schema = 6;
- Specified by:
getDataSchemaBytes
in interfaceBigQuerySourceOrBuilder
- Returns:
- The bytes for dataSchema.
-
setDataSchema
public BigQuerySource.Builder setDataSchema(String value)
The schema to use when parsing the data from the source. Supported values for user event imports: * `user_event` (default): One [UserEvent][google.cloud.discoveryengine.v1beta.UserEvent] per row. Supported values for document imports: * `document` (default): One [Document][google.cloud.discoveryengine.v1beta.Document] format per row. Each document must have a valid [Document.id][google.cloud.discoveryengine.v1beta.Document.id] and one of [Document.json_data][google.cloud.discoveryengine.v1beta.Document.json_data] or [Document.struct_data][google.cloud.discoveryengine.v1beta.Document.struct_data]. * `custom`: One custom data per row in arbitrary format that conforms to the defined [Schema][google.cloud.discoveryengine.v1beta.Schema] of the data store. This can only be used by Gen App Builder.
string data_schema = 6;
- Parameters:
value
- The dataSchema to set.- Returns:
- This builder for chaining.
-
clearDataSchema
public BigQuerySource.Builder clearDataSchema()
The schema to use when parsing the data from the source. Supported values for user event imports: * `user_event` (default): One [UserEvent][google.cloud.discoveryengine.v1beta.UserEvent] per row. Supported values for document imports: * `document` (default): One [Document][google.cloud.discoveryengine.v1beta.Document] format per row. Each document must have a valid [Document.id][google.cloud.discoveryengine.v1beta.Document.id] and one of [Document.json_data][google.cloud.discoveryengine.v1beta.Document.json_data] or [Document.struct_data][google.cloud.discoveryengine.v1beta.Document.struct_data]. * `custom`: One custom data per row in arbitrary format that conforms to the defined [Schema][google.cloud.discoveryengine.v1beta.Schema] of the data store. This can only be used by Gen App Builder.
string data_schema = 6;
- Returns:
- This builder for chaining.
-
setDataSchemaBytes
public BigQuerySource.Builder setDataSchemaBytes(com.google.protobuf.ByteString value)
The schema to use when parsing the data from the source. Supported values for user event imports: * `user_event` (default): One [UserEvent][google.cloud.discoveryengine.v1beta.UserEvent] per row. Supported values for document imports: * `document` (default): One [Document][google.cloud.discoveryengine.v1beta.Document] format per row. Each document must have a valid [Document.id][google.cloud.discoveryengine.v1beta.Document.id] and one of [Document.json_data][google.cloud.discoveryengine.v1beta.Document.json_data] or [Document.struct_data][google.cloud.discoveryengine.v1beta.Document.struct_data]. * `custom`: One custom data per row in arbitrary format that conforms to the defined [Schema][google.cloud.discoveryengine.v1beta.Schema] of the data store. This can only be used by Gen App Builder.
string data_schema = 6;
- Parameters:
value
- The bytes for dataSchema to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BigQuerySource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>
-
mergeUnknownFields
public final BigQuerySource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>
-
-