Fusion Tables API v1 (revision 16)



com.google.api.services.fusiontables
Class Fusiontables.Table.ImportRows

java.lang.Object
  extended by java.util.AbstractMap<java.lang.String,java.lang.Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.googleapis.services.AbstractGoogleClientRequest<T>
              extended by com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
                  extended by com.google.api.services.fusiontables.FusiontablesRequest<FusiontablesImport>
                      extended by com.google.api.services.fusiontables.Fusiontables.Table.ImportRows
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>
Enclosing class:
Fusiontables.Table

public class Fusiontables.Table.ImportRows
extends FusiontablesRequest<FusiontablesImport>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Method Summary
 java.lang.String getDelimiter()
          The delimiter used to separate cell values.
 java.lang.String getEncoding()
          The encoding of the content.
 java.lang.Integer getEndLine()
          The index of the last line from which to start importing, exclusive.
 java.lang.Boolean getIsStrict()
          Whether the CSV must have the same number of values for each row.
 java.lang.Integer getStartLine()
          The index of the first line from which to start importing, inclusive.
 java.lang.String getTableId()
          The table into which new rows are being imported.
 Fusiontables.Table.ImportRows setAlt(java.lang.String alt)
          Data format for the response.
 Fusiontables.Table.ImportRows setDelimiter(java.lang.String delimiter)
          The delimiter used to separate cell values.
 Fusiontables.Table.ImportRows setEncoding(java.lang.String encoding)
          The encoding of the content.
 Fusiontables.Table.ImportRows setEndLine(java.lang.Integer endLine)
          The index of the last line from which to start importing, exclusive.
 Fusiontables.Table.ImportRows setFields(java.lang.String fields)
          Selector specifying which fields to include in a partial response.
 Fusiontables.Table.ImportRows setIsStrict(java.lang.Boolean isStrict)
          Whether the CSV must have the same number of values for each row.
 Fusiontables.Table.ImportRows setKey(java.lang.String key)
          API key.
 Fusiontables.Table.ImportRows setOauthToken(java.lang.String oauthToken)
          OAuth 2.0 token for the current user.
 Fusiontables.Table.ImportRows setPrettyPrint(java.lang.Boolean prettyPrint)
          Returns response with indentations and line breaks.
 Fusiontables.Table.ImportRows setQuotaUser(java.lang.String quotaUser)
          Available to use for quota purposes for server-side applications.
 Fusiontables.Table.ImportRows setStartLine(java.lang.Integer startLine)
          The index of the first line from which to start importing, inclusive.
 Fusiontables.Table.ImportRows setTableId(java.lang.String tableId)
          The table into which new rows are being imported.
 Fusiontables.Table.ImportRows setUserIp(java.lang.String userIp)
          IP address of the site where the request originates.
 
Methods inherited from class com.google.api.services.fusiontables.FusiontablesRequest
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
 
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest
getJsonContent, newExceptionOnError, queue
 
Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClientRequest
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
 
Methods inherited from class com.google.api.client.util.GenericData
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

setAlt

public Fusiontables.Table.ImportRows setAlt(java.lang.String alt)
Description copied from class: FusiontablesRequest
Data format for the response.

Overrides:
setAlt in class FusiontablesRequest<FusiontablesImport>

setFields

public Fusiontables.Table.ImportRows setFields(java.lang.String fields)
Description copied from class: FusiontablesRequest
Selector specifying which fields to include in a partial response.

Overrides:
setFields in class FusiontablesRequest<FusiontablesImport>

setKey

public Fusiontables.Table.ImportRows setKey(java.lang.String key)
Description copied from class: FusiontablesRequest
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

Overrides:
setKey in class FusiontablesRequest<FusiontablesImport>

setOauthToken

public Fusiontables.Table.ImportRows setOauthToken(java.lang.String oauthToken)
Description copied from class: FusiontablesRequest
OAuth 2.0 token for the current user.

Overrides:
setOauthToken in class FusiontablesRequest<FusiontablesImport>

setPrettyPrint

public Fusiontables.Table.ImportRows setPrettyPrint(java.lang.Boolean prettyPrint)
Description copied from class: FusiontablesRequest
Returns response with indentations and line breaks.

Overrides:
setPrettyPrint in class FusiontablesRequest<FusiontablesImport>

setQuotaUser

public Fusiontables.Table.ImportRows setQuotaUser(java.lang.String quotaUser)
Description copied from class: FusiontablesRequest
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.

Overrides:
setQuotaUser in class FusiontablesRequest<FusiontablesImport>

setUserIp

public Fusiontables.Table.ImportRows setUserIp(java.lang.String userIp)
Description copied from class: FusiontablesRequest
IP address of the site where the request originates. Use this if you want to enforce per-user limits.

Overrides:
setUserIp in class FusiontablesRequest<FusiontablesImport>

getTableId

public java.lang.String getTableId()
The table into which new rows are being imported.


setTableId

public Fusiontables.Table.ImportRows setTableId(java.lang.String tableId)
The table into which new rows are being imported.


getStartLine

public java.lang.Integer getStartLine()
The index of the first line from which to start importing, inclusive. Default is 0.


setStartLine

public Fusiontables.Table.ImportRows setStartLine(java.lang.Integer startLine)
The index of the first line from which to start importing, inclusive. Default is 0.


getIsStrict

public java.lang.Boolean getIsStrict()
Whether the CSV must have the same number of values for each row. If false, rows with fewer values will be padded with empty values. Default is true.


setIsStrict

public Fusiontables.Table.ImportRows setIsStrict(java.lang.Boolean isStrict)
Whether the CSV must have the same number of values for each row. If false, rows with fewer values will be padded with empty values. Default is true.


getEncoding

public java.lang.String getEncoding()
The encoding of the content. Default is UTF-8. Use 'auto-detect' if you are unsure of the encoding.


setEncoding

public Fusiontables.Table.ImportRows setEncoding(java.lang.String encoding)
The encoding of the content. Default is UTF-8. Use 'auto-detect' if you are unsure of the encoding.


getDelimiter

public java.lang.String getDelimiter()
The delimiter used to separate cell values. This can only consist of a single character. Default is ','.


setDelimiter

public Fusiontables.Table.ImportRows setDelimiter(java.lang.String delimiter)
The delimiter used to separate cell values. This can only consist of a single character. Default is ','.


getEndLine

public java.lang.Integer getEndLine()
The index of the last line from which to start importing, exclusive. Thus, the number of imported lines is endLine - startLine. If this parameter is not provided, the file will be imported until the last line of the file. If endLine is negative, then the imported content will exclude the last endLine lines. That is, if endline is negative, no line will be imported whose index is greater than N + endLine where N is the number of lines in the file, and the number of imported lines will be N + endLine - startLine.


setEndLine

public Fusiontables.Table.ImportRows setEndLine(java.lang.Integer endLine)
The index of the last line from which to start importing, exclusive. Thus, the number of imported lines is endLine - startLine. If this parameter is not provided, the file will be imported until the last line of the file. If endLine is negative, then the imported content will exclude the last endLine lines. That is, if endline is negative, no line will be imported whose index is greater than N + endLine where N is the number of lines in the file, and the number of imported lines will be N + endLine - startLine.