public final class BigQueryConfig extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Pub/Sub API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
BigQueryConfig() |
| Modifier and Type | Method and Description |
|---|---|
BigQueryConfig |
clone() |
Boolean |
getDropUnknownFields()
When true and use_topic_schema is true, any fields that are a part of the topic schema that are
not part of the BigQuery table schema are dropped when writing to BigQuery.
|
String |
getState()
Output only.
|
String |
getTable()
The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
|
Boolean |
getUseTopicSchema()
When true, use the topic's schema as the columns to write to in BigQuery, if it exists.
|
Boolean |
getWriteMetadata()
When true, write the subscription name, message_id, publish_time, attributes, and ordering_key
to additional columns in the table.
|
BigQueryConfig |
set(String fieldName,
Object value) |
BigQueryConfig |
setDropUnknownFields(Boolean dropUnknownFields)
When true and use_topic_schema is true, any fields that are a part of the topic schema that are
not part of the BigQuery table schema are dropped when writing to BigQuery.
|
BigQueryConfig |
setState(String state)
Output only.
|
BigQueryConfig |
setTable(String table)
The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
|
BigQueryConfig |
setUseTopicSchema(Boolean useTopicSchema)
When true, use the topic's schema as the columns to write to in BigQuery, if it exists.
|
BigQueryConfig |
setWriteMetadata(Boolean writeMetadata)
When true, write the subscription name, message_id, publish_time, attributes, and ordering_key
to additional columns in the table.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getDropUnknownFields()
null for nonepublic BigQueryConfig setDropUnknownFields(Boolean dropUnknownFields)
dropUnknownFields - dropUnknownFields or null for nonepublic String getState()
null for nonepublic BigQueryConfig setState(String state)
state - state or null for nonepublic String getTable()
null for nonepublic BigQueryConfig setTable(String table)
table - table or null for nonepublic Boolean getUseTopicSchema()
null for nonepublic BigQueryConfig setUseTopicSchema(Boolean useTopicSchema)
useTopicSchema - useTopicSchema or null for nonepublic Boolean getWriteMetadata()
null for nonepublic BigQueryConfig setWriteMetadata(Boolean writeMetadata)
writeMetadata - writeMetadata or null for nonepublic BigQueryConfig set(String fieldName, Object value)
set in class GenericJsonpublic BigQueryConfig clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.