BigQuery API v2 (revision 86)



com.google.api.services.bigquery.model
Class DatasetList

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.bigquery.model.DatasetList
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class DatasetList
extends GenericJson

Model definition for DatasetList.

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: http://code.google.com/p/google-http-java-client/wiki/JSON

Author:
Google, Inc.

Nested Class Summary
static class DatasetList.Datasets
          Model definition for DatasetListDatasets.
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
DatasetList()
           
 
Method Summary
 DatasetList clone()
           
 List<DatasetList.Datasets> getDatasets()
          An array of one or more summarized dataset resources.
 String getEtag()
          A hash of this page of results.
 String getKind()
          The type of list.
 String getNextPageToken()
          A token to request the next page of results.
 DatasetList set(String fieldName, Object value)
           
 DatasetList setDatasets(List<DatasetList.Datasets> datasets)
          An array of one or more summarized dataset resources.
 DatasetList setEtag(String etag)
          A hash of this page of results.
 DatasetList setKind(String kind)
          The type of list.
 DatasetList setNextPageToken(String nextPageToken)
          A token to request the next page of results.
 
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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatasetList

public DatasetList()
Method Detail

getDatasets

public List<DatasetList.Datasets> getDatasets()
An array of one or more summarized dataset resources. Absent when there are no datasets in the specified project.

Returns:
value or null for none

setDatasets

public DatasetList setDatasets(List<DatasetList.Datasets> datasets)
An array of one or more summarized dataset resources. Absent when there are no datasets in the specified project.

Parameters:
datasets - datasets or null for none

getEtag

public String getEtag()
A hash of this page of results. See Paging Through Results in the developer's guide.

Returns:
value or null for none

setEtag

public DatasetList setEtag(String etag)
A hash of this page of results. See Paging Through Results in the developer's guide.

Parameters:
etag - etag or null for none

getKind

public String getKind()
The type of list.

Returns:
value or null for none

setKind

public DatasetList setKind(String kind)
The type of list.

Parameters:
kind - kind or null for none

getNextPageToken

public String getNextPageToken()
A token to request the next page of results. Present only when there is more than one page of results.* See Paging Through Results in the developer's guide.

Returns:
value or null for none

setNextPageToken

public DatasetList setNextPageToken(String nextPageToken)
A token to request the next page of results. Present only when there is more than one page of results.* See Paging Through Results in the developer's guide.

Parameters:
nextPageToken - nextPageToken or null for none

set

public DatasetList set(String fieldName,
                       Object value)
Overrides:
set in class GenericJson

clone

public DatasetList clone()
Overrides:
clone in class GenericJson