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
Model definition for DatasetAccess.
|
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Dataset() |
Modifier and Type | Method and Description |
---|---|
Dataset |
clone() |
java.util.List<Dataset.Access> |
getAccess()
[Optional] An array of objects that define dataset access for one or more entities.
|
java.lang.Long |
getCreationTime()
[Output-only] The time when this dataset was created, in milliseconds since the epoch.
|
DatasetReference |
getDatasetReference()
[Required] A reference that identifies the dataset.
|
java.lang.Long |
getDefaultTableExpirationMs()
[Optional] The default lifetime of all tables in the dataset, in milliseconds.
|
java.lang.String |
getDescription()
[Optional] A user-friendly description of the dataset.
|
java.lang.String |
getEtag()
[Output-only] A hash of the resource.
|
java.lang.String |
getFriendlyName()
[Optional] A descriptive name for the dataset.
|
java.lang.String |
getId()
[Output-only] The fully-qualified unique name of the dataset in the format projectId:datasetId.
|
java.lang.String |
getKind()
[Output-only] The resource type.
|
java.util.Map<java.lang.String,java.lang.String> |
getLabels()
The labels associated with this dataset.
|
java.lang.Long |
getLastModifiedTime()
[Output-only] The date when this dataset or any of its tables was last modified, in
milliseconds since the epoch.
|
java.lang.String |
getLocation()
The geographic location where the dataset should reside.
|
java.lang.String |
getSelfLink()
[Output-only] A URL that can be used to access the resource again.
|
Dataset |
set(java.lang.String fieldName,
java.lang.Object value) |
Dataset |
setAccess(java.util.List<Dataset.Access> access)
[Optional] An array of objects that define dataset access for one or more entities.
|
Dataset |
setCreationTime(java.lang.Long creationTime)
[Output-only] The time when this dataset was created, in milliseconds since the epoch.
|
Dataset |
setDatasetReference(DatasetReference datasetReference)
[Required] A reference that identifies the dataset.
|
Dataset |
setDefaultTableExpirationMs(java.lang.Long defaultTableExpirationMs)
[Optional] The default lifetime of all tables in the dataset, in milliseconds.
|
Dataset |
setDescription(java.lang.String description)
[Optional] A user-friendly description of the dataset.
|
Dataset |
setEtag(java.lang.String etag)
[Output-only] A hash of the resource.
|
Dataset |
setFriendlyName(java.lang.String friendlyName)
[Optional] A descriptive name for the dataset.
|
Dataset |
setId(java.lang.String id)
[Output-only] The fully-qualified unique name of the dataset in the format projectId:datasetId.
|
Dataset |
setKind(java.lang.String kind)
[Output-only] The resource type.
|
Dataset |
setLabels(java.util.Map<java.lang.String,java.lang.String> labels)
The labels associated with this dataset.
|
Dataset |
setLastModifiedTime(java.lang.Long lastModifiedTime)
[Output-only] The date when this dataset or any of its tables was last modified, in
milliseconds since the epoch.
|
Dataset |
setLocation(java.lang.String location)
The geographic location where the dataset should reside.
|
Dataset |
setSelfLink(java.lang.String selfLink)
[Output-only] A URL that can be used to access the resource again.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.util.List<Dataset.Access> getAccess()
null
for nonepublic Dataset setAccess(java.util.List<Dataset.Access> access)
access
- access or null
for nonepublic java.lang.Long getCreationTime()
null
for nonepublic Dataset setCreationTime(java.lang.Long creationTime)
creationTime
- creationTime or null
for nonepublic DatasetReference getDatasetReference()
null
for nonepublic Dataset setDatasetReference(DatasetReference datasetReference)
datasetReference
- datasetReference or null
for nonepublic java.lang.Long getDefaultTableExpirationMs()
null
for nonepublic Dataset setDefaultTableExpirationMs(java.lang.Long defaultTableExpirationMs)
defaultTableExpirationMs
- defaultTableExpirationMs or null
for nonepublic java.lang.String getDescription()
null
for nonepublic Dataset setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getEtag()
null
for nonepublic Dataset setEtag(java.lang.String etag)
etag
- etag or null
for nonepublic java.lang.String getFriendlyName()
null
for nonepublic Dataset setFriendlyName(java.lang.String friendlyName)
friendlyName
- friendlyName or null
for nonepublic java.lang.String getId()
null
for nonepublic Dataset setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic Dataset setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.util.Map<java.lang.String,java.lang.String> getLabels()
null
for nonepublic Dataset setLabels(java.util.Map<java.lang.String,java.lang.String> labels)
labels
- labels or null
for nonepublic java.lang.Long getLastModifiedTime()
null
for nonepublic Dataset setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- lastModifiedTime or null
for nonepublic java.lang.String getLocation()
null
for nonepublic Dataset setLocation(java.lang.String location)
location
- location or null
for nonepublic java.lang.String getSelfLink()
null
for nonepublic Dataset setSelfLink(java.lang.String selfLink)
selfLink
- selfLink or null
for nonepublic Dataset set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Dataset clone()
clone
in class com.google.api.client.json.GenericJson