public final class Dataset
extends com.google.api.client.json.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 BigQuery API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
Modifier and Type | Class and Description |
---|---|
static class |
Dataset.Access
An object that defines dataset access for an entity.
|
static class |
Dataset.Tags
A global tag managed by Resource Manager.
|
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Dataset() |
Modifier and Type | Method and Description |
---|---|
Dataset |
clone() |
List<Dataset.Access> |
getAccess()
Optional.
|
Long |
getCreationTime()
Output only.
|
DatasetReference |
getDatasetReference()
Required.
|
String |
getDefaultCollation()
Optional.
|
EncryptionConfiguration |
getDefaultEncryptionConfiguration()
The default encryption key for all tables in the dataset.
|
Long |
getDefaultPartitionExpirationMs()
This default partition expiration, expressed in milliseconds.
|
String |
getDefaultRoundingMode()
Optional.
|
Long |
getDefaultTableExpirationMs()
Optional.
|
String |
getDescription()
Optional.
|
String |
getEtag()
Output only.
|
ExternalDatasetReference |
getExternalDatasetReference()
Optional.
|
String |
getFriendlyName()
Optional.
|
String |
getId()
Output only.
|
Boolean |
getIsCaseInsensitive()
Optional.
|
String |
getKind()
Output only.
|
Map<String,String> |
getLabels()
The labels associated with this dataset.
|
Long |
getLastModifiedTime()
Output only.
|
LinkedDatasetSource |
getLinkedDatasetSource()
Optional.
|
String |
getLocation()
The geographic location where the dataset should reside.
|
Long |
getMaxTimeTravelHours()
Optional.
|
Boolean |
getSatisfiesPzi()
Output only.
|
Boolean |
getSatisfiesPzs()
Output only.
|
String |
getSelfLink()
Output only.
|
String |
getStorageBillingModel()
Optional.
|
List<Dataset.Tags> |
getTags()
Output only.
|
String |
getType()
Output only.
|
Dataset |
set(String fieldName,
Object value) |
Dataset |
setAccess(List<Dataset.Access> access)
Optional.
|
Dataset |
setCreationTime(Long creationTime)
Output only.
|
Dataset |
setDatasetReference(DatasetReference datasetReference)
Required.
|
Dataset |
setDefaultCollation(String defaultCollation)
Optional.
|
Dataset |
setDefaultEncryptionConfiguration(EncryptionConfiguration defaultEncryptionConfiguration)
The default encryption key for all tables in the dataset.
|
Dataset |
setDefaultPartitionExpirationMs(Long defaultPartitionExpirationMs)
This default partition expiration, expressed in milliseconds.
|
Dataset |
setDefaultRoundingMode(String defaultRoundingMode)
Optional.
|
Dataset |
setDefaultTableExpirationMs(Long defaultTableExpirationMs)
Optional.
|
Dataset |
setDescription(String description)
Optional.
|
Dataset |
setEtag(String etag)
Output only.
|
Dataset |
setExternalDatasetReference(ExternalDatasetReference externalDatasetReference)
Optional.
|
Dataset |
setFriendlyName(String friendlyName)
Optional.
|
Dataset |
setId(String id)
Output only.
|
Dataset |
setIsCaseInsensitive(Boolean isCaseInsensitive)
Optional.
|
Dataset |
setKind(String kind)
Output only.
|
Dataset |
setLabels(Map<String,String> labels)
The labels associated with this dataset.
|
Dataset |
setLastModifiedTime(Long lastModifiedTime)
Output only.
|
Dataset |
setLinkedDatasetSource(LinkedDatasetSource linkedDatasetSource)
Optional.
|
Dataset |
setLocation(String location)
The geographic location where the dataset should reside.
|
Dataset |
setMaxTimeTravelHours(Long maxTimeTravelHours)
Optional.
|
Dataset |
setSatisfiesPzi(Boolean satisfiesPzi)
Output only.
|
Dataset |
setSatisfiesPzs(Boolean satisfiesPzs)
Output only.
|
Dataset |
setSelfLink(String selfLink)
Output only.
|
Dataset |
setStorageBillingModel(String storageBillingModel)
Optional.
|
Dataset |
setTags(List<Dataset.Tags> tags)
Output only.
|
Dataset |
setType(String type)
Output only.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<Dataset.Access> getAccess()
null
for nonepublic Dataset setAccess(List<Dataset.Access> access)
access
- access or null
for nonepublic Long getCreationTime()
null
for nonepublic Dataset setCreationTime(Long creationTime)
creationTime
- creationTime or null
for nonepublic DatasetReference getDatasetReference()
null
for nonepublic Dataset setDatasetReference(DatasetReference datasetReference)
datasetReference
- datasetReference or null
for nonepublic String getDefaultCollation()
null
for nonepublic Dataset setDefaultCollation(String defaultCollation)
defaultCollation
- defaultCollation or null
for nonepublic EncryptionConfiguration getDefaultEncryptionConfiguration()
null
for nonepublic Dataset setDefaultEncryptionConfiguration(EncryptionConfiguration defaultEncryptionConfiguration)
defaultEncryptionConfiguration
- defaultEncryptionConfiguration or null
for nonepublic Long getDefaultPartitionExpirationMs()
null
for nonepublic Dataset setDefaultPartitionExpirationMs(Long defaultPartitionExpirationMs)
defaultPartitionExpirationMs
- defaultPartitionExpirationMs or null
for nonepublic String getDefaultRoundingMode()
null
for nonepublic Dataset setDefaultRoundingMode(String defaultRoundingMode)
defaultRoundingMode
- defaultRoundingMode or null
for nonepublic Long getDefaultTableExpirationMs()
null
for nonepublic Dataset setDefaultTableExpirationMs(Long defaultTableExpirationMs)
defaultTableExpirationMs
- defaultTableExpirationMs or null
for nonepublic String getDescription()
null
for nonepublic Dataset setDescription(String description)
description
- description or null
for nonepublic String getEtag()
null
for nonepublic Dataset setEtag(String etag)
etag
- etag or null
for nonepublic ExternalDatasetReference getExternalDatasetReference()
null
for nonepublic Dataset setExternalDatasetReference(ExternalDatasetReference externalDatasetReference)
externalDatasetReference
- externalDatasetReference or null
for nonepublic String getFriendlyName()
null
for nonepublic Dataset setFriendlyName(String friendlyName)
friendlyName
- friendlyName or null
for nonepublic String getId()
null
for nonepublic Dataset setId(String id)
id
- id or null
for nonepublic Boolean getIsCaseInsensitive()
null
for nonepublic Dataset setIsCaseInsensitive(Boolean isCaseInsensitive)
isCaseInsensitive
- isCaseInsensitive or null
for nonepublic String getKind()
null
for nonepublic Dataset setKind(String kind)
kind
- kind or null
for nonepublic Map<String,String> getLabels()
null
for nonepublic Dataset setLabels(Map<String,String> labels)
labels
- labels or null
for nonepublic Long getLastModifiedTime()
null
for nonepublic Dataset setLastModifiedTime(Long lastModifiedTime)
lastModifiedTime
- lastModifiedTime or null
for nonepublic LinkedDatasetSource getLinkedDatasetSource()
null
for nonepublic Dataset setLinkedDatasetSource(LinkedDatasetSource linkedDatasetSource)
linkedDatasetSource
- linkedDatasetSource or null
for nonepublic String getLocation()
null
for nonepublic Dataset setLocation(String location)
location
- location or null
for nonepublic Long getMaxTimeTravelHours()
null
for nonepublic Dataset setMaxTimeTravelHours(Long maxTimeTravelHours)
maxTimeTravelHours
- maxTimeTravelHours or null
for nonepublic Boolean getSatisfiesPzi()
null
for nonepublic Dataset setSatisfiesPzi(Boolean satisfiesPzi)
satisfiesPzi
- satisfiesPzi or null
for nonepublic Boolean getSatisfiesPzs()
null
for nonepublic Dataset setSatisfiesPzs(Boolean satisfiesPzs)
satisfiesPzs
- satisfiesPzs or null
for nonepublic String getSelfLink()
null
for nonepublic Dataset setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic String getStorageBillingModel()
null
for nonepublic Dataset setStorageBillingModel(String storageBillingModel)
storageBillingModel
- storageBillingModel or null
for nonepublic List<Dataset.Tags> getTags()
null
for nonepublic Dataset setTags(List<Dataset.Tags> tags)
tags
- tags or null
for nonepublic String getType()
null
for nonepublic Dataset setType(String type)
type
- type or null
for nonepublic Dataset set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Dataset clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.