target.apidocs.com.google.api.services.bigquery.model.IdentityColumnInfo.html Maven / Gradle / Ivy
IdentityColumnInfo (BigQuery API v2-rev20240727-2.0.0)
com.google.api.services.bigquery.model
Class IdentityColumnInfo
- 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.IdentityColumnInfo
-
public final class IdentityColumnInfo
extends com.google.api.client.json.GenericJson
Metadata for value generation for an identity column.
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/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
IdentityColumnInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
IdentityColumnInfo
clone()
String
getGeneratedMode()
Optional.
String
getIncrement()
Optional.
String
getStart()
Optional.
IdentityColumnInfo
set(String fieldName,
Object value)
IdentityColumnInfo
setGeneratedMode(String generatedMode)
Optional.
IdentityColumnInfo
setIncrement(String increment)
Optional.
IdentityColumnInfo
setStart(String start)
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
-
getGeneratedMode
public String getGeneratedMode()
Optional. Dictates when system generated values are used to populate the field.
- Returns:
- value or
null
for none
-
setGeneratedMode
public IdentityColumnInfo setGeneratedMode(String generatedMode)
Optional. Dictates when system generated values are used to populate the field.
- Parameters:
generatedMode
- generatedMode or null
for none
-
getIncrement
public String getIncrement()
Optional. The minimum difference between two successive generated values. Should be INTEGER
compatible. Can be negative or positive but not 0. The default value is 1 if the field is not
specified.
- Returns:
- value or
null
for none
-
setIncrement
public IdentityColumnInfo setIncrement(String increment)
Optional. The minimum difference between two successive generated values. Should be INTEGER
compatible. Can be negative or positive but not 0. The default value is 1 if the field is not
specified.
- Parameters:
increment
- increment or null
for none
-
getStart
public String getStart()
Optional. The first generated value. Should be INTEGER compatible. The default value is 1 if
the field is not specified.
- Returns:
- value or
null
for none
-
setStart
public IdentityColumnInfo setStart(String start)
Optional. The first generated value. Should be INTEGER compatible. The default value is 1 if
the field is not specified.
- Parameters:
start
- start or null
for none
-
set
public IdentityColumnInfo set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public IdentityColumnInfo clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.