BigQuery API v2 (revision 87)



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

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.ProjectList
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class ProjectList
extends GenericJson

Model definition for ProjectList.

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-api-java-client/wiki/Json

Author:
Google, Inc.

Nested Class Summary
static class ProjectList.Projects
          Model definition for ProjectListProjects.
 
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
ProjectList()
           
 
Method Summary
 ProjectList clone()
           
 String getEtag()
          A hash of the page of results
 String getKind()
          The type of list.
 String getNextPageToken()
          A token to request the next page of results.
 List<ProjectList.Projects> getProjects()
          Projects to which you have at least READ access.
 Integer getTotalItems()
          The total number of projects in the list.
 ProjectList set(String fieldName, Object value)
           
 ProjectList setEtag(String etag)
          A hash of the page of results
 ProjectList setKind(String kind)
          The type of list.
 ProjectList setNextPageToken(String nextPageToken)
          A token to request the next page of results.
 ProjectList setProjects(List<ProjectList.Projects> projects)
          Projects to which you have at least READ access.
 ProjectList setTotalItems(Integer totalItems)
          The total number of projects in the list.
 
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

ProjectList

public ProjectList()
Method Detail

getEtag

public String getEtag()
A hash of the page of results

Returns:
value or null for none

setEtag

public ProjectList setEtag(String etag)
A hash of the page of results

Parameters:
etag - etag or null for none

getKind

public String getKind()
The type of list.

Returns:
value or null for none

setKind

public ProjectList 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.

Returns:
value or null for none

setNextPageToken

public ProjectList setNextPageToken(String nextPageToken)
A token to request the next page of results.

Parameters:
nextPageToken - nextPageToken or null for none

getProjects

public List<ProjectList.Projects> getProjects()
Projects to which you have at least READ access.

Returns:
value or null for none

setProjects

public ProjectList setProjects(List<ProjectList.Projects> projects)
Projects to which you have at least READ access.

Parameters:
projects - projects or null for none

getTotalItems

public Integer getTotalItems()
The total number of projects in the list.

Returns:
value or null for none

setTotalItems

public ProjectList setTotalItems(Integer totalItems)
The total number of projects in the list.

Parameters:
totalItems - totalItems or null for none

set

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

clone

public ProjectList clone()
Overrides:
clone in class GenericJson