target.apidocs.com.google.api.services.bigquery.model.TableDataInsertAllRequest.html Maven / Gradle / Ivy
TableDataInsertAllRequest (BigQuery API v2-rev20240727-2.0.0)
com.google.api.services.bigquery.model
Class TableDataInsertAllRequest
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.bigquery.model.TableDataInsertAllRequest
-
public final class TableDataInsertAllRequest
extends com.google.api.client.json.GenericJson
Request for sending a single streaming insert.
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 BigQuery API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
static class
TableDataInsertAllRequest.Rows
Data for a single insertion row.
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
TableDataInsertAllRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
TableDataInsertAllRequest
clone()
Boolean
getIgnoreUnknownValues()
Optional.
String
getKind()
Optional.
List<TableDataInsertAllRequest.Rows>
getRows()
Boolean
getSkipInvalidRows()
Optional.
String
getTemplateSuffix()
Optional.
String
getTraceId()
Optional.
TableDataInsertAllRequest
set(String fieldName,
Object value)
TableDataInsertAllRequest
setIgnoreUnknownValues(Boolean ignoreUnknownValues)
Optional.
TableDataInsertAllRequest
setKind(String kind)
Optional.
TableDataInsertAllRequest
setRows(List<TableDataInsertAllRequest.Rows> rows)
TableDataInsertAllRequest
setSkipInvalidRows(Boolean skipInvalidRows)
Optional.
TableDataInsertAllRequest
setTemplateSuffix(String templateSuffix)
Optional.
TableDataInsertAllRequest
setTraceId(String traceId)
Optional.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getIgnoreUnknownValues
public Boolean getIgnoreUnknownValues()
Optional. Accept rows that contain values that do not match the schema. The unknown values are
ignored. Default is false, which treats unknown values as errors.
- Returns:
- value or
null
for none
-
setIgnoreUnknownValues
public TableDataInsertAllRequest setIgnoreUnknownValues(Boolean ignoreUnknownValues)
Optional. Accept rows that contain values that do not match the schema. The unknown values are
ignored. Default is false, which treats unknown values as errors.
- Parameters:
ignoreUnknownValues
- ignoreUnknownValues or null
for none
-
getKind
public String getKind()
Optional. The resource type of the response. The value is not checked at the backend.
Historically, it has been set to "bigquery#tableDataInsertAllRequest" but you are not required
to set it.
- Returns:
- value or
null
for none
-
setKind
public TableDataInsertAllRequest setKind(String kind)
Optional. The resource type of the response. The value is not checked at the backend.
Historically, it has been set to "bigquery#tableDataInsertAllRequest" but you are not required
to set it.
- Parameters:
kind
- kind or null
for none
-
getRows
public List<TableDataInsertAllRequest.Rows> getRows()
- Returns:
- value or
null
for none
-
setRows
public TableDataInsertAllRequest setRows(List<TableDataInsertAllRequest.Rows> rows)
- Parameters:
rows
- rows or null
for none
-
getSkipInvalidRows
public Boolean getSkipInvalidRows()
Optional. Insert all valid rows of a request, even if invalid rows exist. The default value is
false, which causes the entire request to fail if any invalid rows exist.
- Returns:
- value or
null
for none
-
setSkipInvalidRows
public TableDataInsertAllRequest setSkipInvalidRows(Boolean skipInvalidRows)
Optional. Insert all valid rows of a request, even if invalid rows exist. The default value is
false, which causes the entire request to fail if any invalid rows exist.
- Parameters:
skipInvalidRows
- skipInvalidRows or null
for none
-
getTemplateSuffix
public String getTemplateSuffix()
Optional. If specified, treats the destination table as a base template, and inserts the rows
into an instance table named "{destination}{templateSuffix}". BigQuery will manage creation of
the instance table, using the schema of the base template table. See
https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables for
considerations when working with templates tables.
- Returns:
- value or
null
for none
-
setTemplateSuffix
public TableDataInsertAllRequest setTemplateSuffix(String templateSuffix)
Optional. If specified, treats the destination table as a base template, and inserts the rows
into an instance table named "{destination}{templateSuffix}". BigQuery will manage creation of
the instance table, using the schema of the base template table. See
https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables for
considerations when working with templates tables.
- Parameters:
templateSuffix
- templateSuffix or null
for none
-
getTraceId
public String getTraceId()
Optional. Unique request trace id. Used for debugging purposes only. It is case-sensitive,
limited to up to 36 ASCII characters. A UUID is recommended.
- Returns:
- value or
null
for none
-
setTraceId
public TableDataInsertAllRequest setTraceId(String traceId)
Optional. Unique request trace id. Used for debugging purposes only. It is case-sensitive,
limited to up to 36 ASCII characters. A UUID is recommended.
- Parameters:
traceId
- traceId or null
for none
-
set
public TableDataInsertAllRequest set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public TableDataInsertAllRequest clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy