public static final class QueryAssetsOutputConfig.BigQueryDestination.Builder extends GeneratedMessage.Builder<QueryAssetsOutputConfig.BigQueryDestination.Builder> implements QueryAssetsOutputConfig.BigQueryDestinationOrBuilderBigQuery destination.
Protobuf type google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > QueryAssetsOutputConfig.BigQueryDestination.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public QueryAssetsOutputConfig.BigQueryDestination build()| Returns | |
|---|---|
| Type | Description |
QueryAssetsOutputConfig.BigQueryDestination |
|
buildPartial()
public QueryAssetsOutputConfig.BigQueryDestination buildPartial()| Returns | |
|---|---|
| Type | Description |
QueryAssetsOutputConfig.BigQueryDestination |
|
clear()
public QueryAssetsOutputConfig.BigQueryDestination.Builder clear()| Returns | |
|---|---|
| Type | Description |
QueryAssetsOutputConfig.BigQueryDestination.Builder |
|
clearDataset()
public QueryAssetsOutputConfig.BigQueryDestination.Builder clearDataset()Required. The BigQuery dataset where the query results will be saved. It has the format of "projects/{projectId}/datasets/{datasetId}".
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
QueryAssetsOutputConfig.BigQueryDestination.Builder |
This builder for chaining. |
clearTable()
public QueryAssetsOutputConfig.BigQueryDestination.Builder clearTable()Required. The BigQuery table where the query results will be saved. If this table does not exist, a new table with the given name will be created.
string table = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
QueryAssetsOutputConfig.BigQueryDestination.Builder |
This builder for chaining. |
clearWriteDisposition()
public QueryAssetsOutputConfig.BigQueryDestination.Builder clearWriteDisposition()Specifies the action that occurs if the destination table or partition already exists. The following values are supported:
- WRITE_TRUNCATE: If the table or partition already exists, BigQuery overwrites the entire table or all the partitions data.
- WRITE_APPEND: If the table or partition already exists, BigQuery appends the data to the table or the latest partition.
WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result.
The default value is WRITE_EMPTY.
string write_disposition = 3;
| Returns | |
|---|---|
| Type | Description |
QueryAssetsOutputConfig.BigQueryDestination.Builder |
This builder for chaining. |
getDataset()
public String getDataset()Required. The BigQuery dataset where the query results will be saved. It has the format of "projects/{projectId}/datasets/{datasetId}".
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The dataset. |
getDatasetBytes()
public ByteString getDatasetBytes()Required. The BigQuery dataset where the query results will be saved. It has the format of "projects/{projectId}/datasets/{datasetId}".
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dataset. |
getDefaultInstanceForType()
public QueryAssetsOutputConfig.BigQueryDestination getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
QueryAssetsOutputConfig.BigQueryDestination |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getTable()
public String getTable()Required. The BigQuery table where the query results will be saved. If this table does not exist, a new table with the given name will be created.
string table = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The table. |
getTableBytes()
public ByteString getTableBytes()Required. The BigQuery table where the query results will be saved. If this table does not exist, a new table with the given name will be created.
string table = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for table. |
getWriteDisposition()
public String getWriteDisposition()Specifies the action that occurs if the destination table or partition already exists. The following values are supported:
- WRITE_TRUNCATE: If the table or partition already exists, BigQuery overwrites the entire table or all the partitions data.
- WRITE_APPEND: If the table or partition already exists, BigQuery appends the data to the table or the latest partition.
WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result.
The default value is WRITE_EMPTY.
string write_disposition = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The writeDisposition. |
getWriteDispositionBytes()
public ByteString getWriteDispositionBytes()Specifies the action that occurs if the destination table or partition already exists. The following values are supported:
- WRITE_TRUNCATE: If the table or partition already exists, BigQuery overwrites the entire table or all the partitions data.
- WRITE_APPEND: If the table or partition already exists, BigQuery appends the data to the table or the latest partition.
WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result.
The default value is WRITE_EMPTY.
string write_disposition = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for writeDisposition. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(QueryAssetsOutputConfig.BigQueryDestination other)
public QueryAssetsOutputConfig.BigQueryDestination.Builder mergeFrom(QueryAssetsOutputConfig.BigQueryDestination other)| Parameter | |
|---|---|
| Name | Description |
other |
QueryAssetsOutputConfig.BigQueryDestination |
| Returns | |
|---|---|
| Type | Description |
QueryAssetsOutputConfig.BigQueryDestination.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QueryAssetsOutputConfig.BigQueryDestination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
QueryAssetsOutputConfig.BigQueryDestination.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public QueryAssetsOutputConfig.BigQueryDestination.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
QueryAssetsOutputConfig.BigQueryDestination.Builder |
|
setDataset(String value)
public QueryAssetsOutputConfig.BigQueryDestination.Builder setDataset(String value)Required. The BigQuery dataset where the query results will be saved. It has the format of "projects/{projectId}/datasets/{datasetId}".
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dataset to set. |
| Returns | |
|---|---|
| Type | Description |
QueryAssetsOutputConfig.BigQueryDestination.Builder |
This builder for chaining. |
setDatasetBytes(ByteString value)
public QueryAssetsOutputConfig.BigQueryDestination.Builder setDatasetBytes(ByteString value)Required. The BigQuery dataset where the query results will be saved. It has the format of "projects/{projectId}/datasets/{datasetId}".
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for dataset to set. |
| Returns | |
|---|---|
| Type | Description |
QueryAssetsOutputConfig.BigQueryDestination.Builder |
This builder for chaining. |
setTable(String value)
public QueryAssetsOutputConfig.BigQueryDestination.Builder setTable(String value)Required. The BigQuery table where the query results will be saved. If this table does not exist, a new table with the given name will be created.
string table = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe table to set. |
| Returns | |
|---|---|
| Type | Description |
QueryAssetsOutputConfig.BigQueryDestination.Builder |
This builder for chaining. |
setTableBytes(ByteString value)
public QueryAssetsOutputConfig.BigQueryDestination.Builder setTableBytes(ByteString value)Required. The BigQuery table where the query results will be saved. If this table does not exist, a new table with the given name will be created.
string table = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for table to set. |
| Returns | |
|---|---|
| Type | Description |
QueryAssetsOutputConfig.BigQueryDestination.Builder |
This builder for chaining. |
setWriteDisposition(String value)
public QueryAssetsOutputConfig.BigQueryDestination.Builder setWriteDisposition(String value)Specifies the action that occurs if the destination table or partition already exists. The following values are supported:
- WRITE_TRUNCATE: If the table or partition already exists, BigQuery overwrites the entire table or all the partitions data.
- WRITE_APPEND: If the table or partition already exists, BigQuery appends the data to the table or the latest partition.
WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result.
The default value is WRITE_EMPTY.
string write_disposition = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe writeDisposition to set. |
| Returns | |
|---|---|
| Type | Description |
QueryAssetsOutputConfig.BigQueryDestination.Builder |
This builder for chaining. |
setWriteDispositionBytes(ByteString value)
public QueryAssetsOutputConfig.BigQueryDestination.Builder setWriteDispositionBytes(ByteString value)Specifies the action that occurs if the destination table or partition already exists. The following values are supported:
- WRITE_TRUNCATE: If the table or partition already exists, BigQuery overwrites the entire table or all the partitions data.
- WRITE_APPEND: If the table or partition already exists, BigQuery appends the data to the table or the latest partition.
WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result.
The default value is WRITE_EMPTY.
string write_disposition = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for writeDisposition to set. |
| Returns | |
|---|---|
| Type | Description |
QueryAssetsOutputConfig.BigQueryDestination.Builder |
This builder for chaining. |