A B C D E F G H I J K L M N O P R S T U V W X 

A

AbstractAtomFeedParser<T> - Class in com.google.api.client.xml.atom
Abstract base class for an Atom feed parser when the feed type is known in advance.
AbstractAtomFeedParser(XmlNamespaceDictionary, XmlPullParser, InputStream, Class<T>) - Constructor for class com.google.api.client.xml.atom.AbstractAtomFeedParser
 
AbstractHttpContent - Class in com.google.api.client.http
Abstract implementation of an HTTP content with typical options.
AbstractHttpContent(String) - Constructor for class com.google.api.client.http.AbstractHttpContent
 
AbstractHttpContent(HttpMediaType) - Constructor for class com.google.api.client.http.AbstractHttpContent
 
AbstractInputStreamContent - Class in com.google.api.client.http
Serializes HTTP request content from an input stream into an output stream.
AbstractInputStreamContent(String) - Constructor for class com.google.api.client.http.AbstractInputStreamContent
 
AbstractXmlHttpContent - Class in com.google.api.client.http.xml
Abstract serializer for XML HTTP content based on the data key/value mapping object for an item.
AbstractXmlHttpContent(XmlNamespaceDictionary) - Constructor for class com.google.api.client.http.xml.AbstractXmlHttpContent
 
add(K, V) - Method in class com.google.api.client.util.ArrayMap
Adds the key/value mapping at the end of the list.
addHeader(String, String) - Method in class com.google.api.client.http.LowLevelHttpRequest
Adds a header to the HTTP request.
addHeader(String, String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
 
addHeader(String, String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
Adds a header to the response.
addParser(HttpParser) - Method in class com.google.api.client.http.HttpRequest
Deprecated.
(scheduled to be removed in 1.14) Use HttpRequest.setParser(ObjectParser) instead.
ApacheHttpTransport - Class in com.google.api.client.http.apache
Thread-safe HTTP transport based on the Apache HTTP Client library.
ApacheHttpTransport() - Constructor for class com.google.api.client.http.apache.ApacheHttpTransport
Constructor that uses ApacheHttpTransport.newDefaultHttpClient() for the Apache HTTP client.
ApacheHttpTransport(HttpClient) - Constructor for class com.google.api.client.http.apache.ApacheHttpTransport
Constructor that allows an alternative Apache HTTP client to be used.
ApacheHttpTransport.Builder - Class in com.google.api.client.http.apache
Builder for ApacheHttpTransport.
ApacheHttpTransport.Builder() - Constructor for class com.google.api.client.http.apache.ApacheHttpTransport.Builder
 
appendRawPath(String) - Method in class com.google.api.client.http.GenericUrl
Appends the given raw encoded path to the current GenericUrl.pathParts, setting field only if it is null or empty.
ArrayMap<K,V> - Class in com.google.api.client.util
Memory-efficient map of keys to values with list-style random-access semantics.
ArrayMap() - Constructor for class com.google.api.client.util.ArrayMap
 
ArrayValueMap - Class in com.google.api.client.util
Collects the array values of a key/value data object, writing the fields or map values only after all values have been collected.
ArrayValueMap(Object) - Constructor for class com.google.api.client.util.ArrayValueMap
 
Atom - Class in com.google.api.client.xml.atom
 
ATOM_NAMESPACE - Static variable in class com.google.api.client.xml.atom.Atom
Atom namespace.
AtomContent - Class in com.google.api.client.http.xml.atom
Serializes Atom XML HTTP content based on the data key/value mapping object for an Atom entry.
AtomContent(XmlNamespaceDictionary, Object, boolean) - Constructor for class com.google.api.client.http.xml.atom.AtomContent
 
AtomFeedParser<T,E> - Class in com.google.api.client.http.xml.atom
Atom feed pull parser when the Atom entry class is known in advance.
AtomFeedParser(XmlNamespaceDictionary, XmlPullParser, InputStream, Class<T>, Class<E>) - Constructor for class com.google.api.client.http.xml.atom.AtomFeedParser
 
AtomParser - Class in com.google.api.client.http.xml.atom
Deprecated.
(scheduled to be removed in 1.14) Content-Type is no longer stored inside of the Parser. Use an XmlObjectParser instead.
AtomParser(XmlNamespaceDictionary) - Constructor for class com.google.api.client.http.xml.atom.AtomParser
Deprecated.
 

B

BackOffPolicy - Interface in com.google.api.client.http
Strategy interface to control back off between retry attempts.
Base64 - Class in com.google.api.client.util
Proxy for version 1.6 (or newer) of the Apache Commons Codec Base64 implementation.
BasicAuthentication - Class in com.google.api.client.http
Basic authentication HTTP request initializer as specified in Basic Authentication Scheme
BasicAuthentication(String, String) - Constructor for class com.google.api.client.http.BasicAuthentication
 
build() - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
Returns a new instance of ApacheHttpTransport based on the options.
build() - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
Builds a new instance of ExponentialBackOffPolicy.
build() - Method in class com.google.api.client.http.GenericUrl
Constructs the string representation of the URL, including the path specified by GenericUrl.pathParts and the query parameters specified by this generic URL.
build() - Method in class com.google.api.client.http.HttpMediaType
Builds the full media type string which can be passed in the Content-Type header.
build() - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
Returns a new instance of NetHttpTransport based on the options.
build() - Method in class com.google.api.client.http.json.JsonHttpClient.Builder
Deprecated.
Builds a new instance of JsonHttpClient.
build() - Method in class com.google.api.client.http.json.JsonHttpParser.Builder
Deprecated.
Builds a new instance of JsonHttpParser.
build() - Method in class com.google.api.client.http.xml.XmlHttpParser.Builder
Deprecated.
Builds a new instance of XmlHttpParser.
build() - Method in class com.google.api.client.testing.http.MockHttpTransport.Builder
Builds a new instance of MockHttpTransport.
buildAuthority() - Method in class com.google.api.client.http.GenericUrl
Constructs the portion of the URL containing the scheme, host and port.
buildDeleteRequest(String) - Method in class com.google.api.client.http.apache.ApacheHttpTransport
Deprecated.
buildDeleteRequest(GenericUrl) - Method in class com.google.api.client.http.HttpRequestFactory
Builds a DELETE request for the given URL.
buildDeleteRequest(String) - Method in class com.google.api.client.http.HttpTransport
Deprecated.
(scheduled to be removed in 1.14) Use HttpTransport.buildRequest(String, String) instead
buildDeleteRequest(String) - Method in class com.google.api.client.http.javanet.NetHttpTransport
Deprecated.
buildDeleteRequest(String) - Method in class com.google.api.client.testing.http.MockHttpTransport
Deprecated.
builder() - Static method in class com.google.api.client.http.ExponentialBackOffPolicy
Returns an instance of a new builder.
builder(JsonFactory) - Static method in class com.google.api.client.http.json.JsonHttpParser
Deprecated.
Returns an instance of a new builder.
builder(XmlNamespaceDictionary) - Static method in class com.google.api.client.http.xml.XmlHttpParser
Deprecated.
Returns an instance of a new builder.
builder() - Static method in class com.google.api.client.testing.http.MockHttpTransport
Returns an instance of a new builder.
buildGetRequest(String) - Method in class com.google.api.client.http.apache.ApacheHttpTransport
Deprecated.
buildGetRequest(GenericUrl) - Method in class com.google.api.client.http.HttpRequestFactory
Builds a GET request for the given URL.
buildGetRequest(String) - Method in class com.google.api.client.http.HttpTransport
Deprecated.
(scheduled to be removed in 1.14) Use HttpTransport.buildRequest(String, String) instead
buildGetRequest(String) - Method in class com.google.api.client.http.javanet.NetHttpTransport
Deprecated.
buildGetRequest(String) - Method in class com.google.api.client.testing.http.MockHttpTransport
Deprecated.
buildHeadRequest(String) - Method in class com.google.api.client.http.apache.ApacheHttpTransport
Deprecated.
buildHeadRequest(GenericUrl) - Method in class com.google.api.client.http.HttpRequestFactory
Builds a HEAD request for the given URL.
buildHeadRequest(String) - Method in class com.google.api.client.http.HttpTransport
Deprecated.
(scheduled to be removed in 1.14) Use HttpTransport.buildRequest(String, String) instead
buildHeadRequest(String) - Method in class com.google.api.client.http.javanet.NetHttpTransport
Deprecated.
buildHeadRequest(String) - Method in class com.google.api.client.testing.http.MockHttpTransport
Deprecated.
buildHttpRequest(HttpMethod, GenericUrl, Object) - Method in class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Create an HttpRequest suitable for use against this service.
buildHttpRequest() - Method in class com.google.api.client.http.json.JsonHttpRequest
Deprecated.
Create an HttpRequest suitable for use against this service.
buildHttpRequestUrl() - Method in class com.google.api.client.http.json.JsonHttpRequest
Deprecated.
Creates a new instance of GenericUrl suitable for use against this service.
buildPatchRequest(String) - Method in class com.google.api.client.http.apache.ApacheHttpTransport
Deprecated.
buildPatchRequest(GenericUrl, HttpContent) - Method in class com.google.api.client.http.HttpRequestFactory
Deprecated.
buildPatchRequest(String) - Method in class com.google.api.client.http.HttpTransport
Deprecated.
(scheduled to be removed in 1.14) Use HttpTransport.buildRequest(String, String) instead
buildPatchRequest(String) - Method in class com.google.api.client.testing.http.MockHttpTransport
Deprecated.
buildPostRequest(String) - Method in class com.google.api.client.http.apache.ApacheHttpTransport
Deprecated.
buildPostRequest(GenericUrl, HttpContent) - Method in class com.google.api.client.http.HttpRequestFactory
Builds a POST request for the given URL and content.
buildPostRequest(String) - Method in class com.google.api.client.http.HttpTransport
Deprecated.
(scheduled to be removed in 1.14) Use HttpTransport.buildRequest(String, String) instead
buildPostRequest(String) - Method in class com.google.api.client.http.javanet.NetHttpTransport
Deprecated.
buildPostRequest(String) - Method in class com.google.api.client.testing.http.MockHttpTransport
Deprecated.
buildPutRequest(String) - Method in class com.google.api.client.http.apache.ApacheHttpTransport
Deprecated.
buildPutRequest(GenericUrl, HttpContent) - Method in class com.google.api.client.http.HttpRequestFactory
Builds a PUT request for the given URL and content.
buildPutRequest(String) - Method in class com.google.api.client.http.HttpTransport
Deprecated.
(scheduled to be removed in 1.14) Use HttpTransport.buildRequest(String, String) instead
buildPutRequest(String) - Method in class com.google.api.client.http.javanet.NetHttpTransport
Deprecated.
buildPutRequest(String) - Method in class com.google.api.client.testing.http.MockHttpTransport
Deprecated.
buildRelativeUrl() - Method in class com.google.api.client.http.GenericUrl
Constructs the portion of the URL beginning at the rooted path.
buildRequest(String, String) - Method in class com.google.api.client.http.apache.ApacheHttpTransport
 
buildRequest(HttpMethod, GenericUrl, HttpContent) - Method in class com.google.api.client.http.HttpRequestFactory
Deprecated.
(scheduled to be removed in 1.14) Use HttpRequestFactory.buildRequest(String, GenericUrl, HttpContent) instead
buildRequest(String, GenericUrl, HttpContent) - Method in class com.google.api.client.http.HttpRequestFactory
Builds a request for the given HTTP method, URL, and content.
buildRequest(String, String) - Method in class com.google.api.client.http.HttpTransport
Builds a low level HTTP request for the given HTTP method.
buildRequest(String, String) - Method in class com.google.api.client.http.javanet.NetHttpTransport
 
buildRequest(String, String) - Method in class com.google.api.client.testing.http.MockHttpTransport
 
ByteArrayContent - Class in com.google.api.client.http
Concrete implementation of AbstractInputStreamContent that generates repeatable input streams based on the contents of byte array.
ByteArrayContent(String, byte[]) - Constructor for class com.google.api.client.http.ByteArrayContent
Constructor from byte array content that has already been encoded.
ByteArrayContent(String, byte[], int, int) - Constructor for class com.google.api.client.http.ByteArrayContent
Constructor from byte array content that has already been encoded, specifying a range of bytes to read from the input byte array.

C

CharEscapers - Class in com.google.api.client.util.escape
Utility functions for dealing with CharEscapers, and some commonly used CharEscaper instances.
checkContentType(String) - Static method in class com.google.api.client.xml.atom.Atom
Checks the given content type matches the Atom content type specified in MEDIA_TYPE.
ClassInfo - Class in com.google.api.client.util
Computes class information to determine data key name/value pairs associated with the class.
clear() - Method in class com.google.api.client.util.ArrayMap
 
clearParameters() - Method in class com.google.api.client.http.HttpMediaType
Removes all set parameters from this media type.
Clock - Interface in com.google.api.client.util
Clock which can be used to get the amount of elapsed milliseconds in system time.
clone() - Method in class com.google.api.client.http.GenericUrl
 
clone() - Method in class com.google.api.client.http.HttpHeaders
 
clone() - Method in class com.google.api.client.json.GenericJson
 
clone() - Method in class com.google.api.client.util.ArrayMap
 
clone(T) - Static method in class com.google.api.client.util.Data
Returns a deep clone of the given key/value data, such that the result is a completely independent copy.
clone() - Method in class com.google.api.client.util.GenericData
Makes a "deep" clone of the generic data, in which the clone is completely independent of the original.
clone() - Method in class com.google.api.client.xml.GenericXml
 
close() - Method in class com.google.api.client.json.JsonGenerator
Closes the serializer and the underlying output stream or writer, and releases any memory associated with it.
close() - Method in class com.google.api.client.json.JsonParser
Closes the parser and the underlying input stream or reader, and releases any memory associated with it.
close() - Method in class com.google.api.client.testing.http.json.MockJsonGenerator
 
close() - Method in class com.google.api.client.testing.http.json.MockJsonParser
 
close() - Method in class com.google.api.client.util.LoggingByteArrayOutputStream
 
close() - Method in class com.google.api.client.util.LoggingInputStream
 
close() - Method in class com.google.api.client.util.LoggingOutputStream
 
close() - Method in class com.google.api.client.xml.atom.AbstractAtomFeedParser
Closes the underlying parser.
codePointAt(CharSequence, int, int) - Static method in class com.google.api.client.util.escape.UnicodeEscaper
Returns the Unicode code point of the character at the given index.
com.google.api.client.http - package com.google.api.client.http
Subset of HTTP 1.1 needed from the specification in RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1.
com.google.api.client.http.apache - package com.google.api.client.http.apache
HTTP Transport library for Google API's based on Apache HTTP Client version 4.
com.google.api.client.http.javanet - package com.google.api.client.http.javanet
HTTP Transport library for Google API's based on the java.net package.
com.google.api.client.http.json - package com.google.api.client.http.json
JSON HTTP library based on the pluggable HTTP library.
com.google.api.client.http.xml - package com.google.api.client.http.xml
XML HTTP library based on the pluggable HTTP library.
com.google.api.client.http.xml.atom - package com.google.api.client.http.xml.atom
Atom XML HTTP library based on the pluggable HTTP library.
com.google.api.client.json - package com.google.api.client.json
com.google.api.client.json.rpc2 - package com.google.api.client.json.rpc2
JSON-RPC 2.0 as specified in JSON-RPC 2.0 Specification and JSON-RPC over HTTP .
com.google.api.client.testing.http - package com.google.api.client.testing.http
Testing utilities used for writing tests based on this library.
com.google.api.client.testing.http.javanet - package com.google.api.client.testing.http.javanet
Testing utilities used for writing tests based on the java.net package.
com.google.api.client.testing.http.json - package com.google.api.client.testing.http.json
Testing utilities used for writing tests based on this library.
com.google.api.client.util - package com.google.api.client.util
General utilities used throughout this library.
com.google.api.client.util.escape - package com.google.api.client.util.escape
Character escaping utilities.
com.google.api.client.xml - package com.google.api.client.xml
Utilities for XML.
com.google.api.client.xml.atom - package com.google.api.client.xml.atom
Utilities for Atom XML.
computeLength() - Method in class com.google.api.client.http.AbstractHttpContent
Computes and returns the content length or less than zero if not known.
computeLength() - Method in class com.google.api.client.http.MultipartRelatedContent
 
computeMessageBuffer(HttpResponse) - Static method in exception com.google.api.client.http.HttpResponseException
Returns an exception message string builder to use for the given HTTP response.
CONNECT - Static variable in class com.google.api.client.http.HttpMethods
HTTP CONNECT method.
connect() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
 
containsKey(Object) - Method in class com.google.api.client.util.ArrayMap
Returns whether there is a mapping for the given key.
containsValue(Object) - Method in class com.google.api.client.util.ArrayMap
 
CONTENT_TYPE - Static variable in class com.google.api.client.http.UrlEncodedParser
"application/x-www-form-urlencoded" content type.
CONTENT_TYPE - Static variable in class com.google.api.client.http.xml.XmlHttpParser
Deprecated.
"application/xml" content type.
CONTENT_TYPE - Static variable in class com.google.api.client.json.Json
Deprecated.
(scheduled to be removed in 1.14) Use Json.MEDIA_TYPE instead.
copy(InputStream, OutputStream) - Static method in class com.google.api.client.http.AbstractInputStreamContent
Writes the content provided by the given source input stream into the given destination output stream.
copy(InputStream, OutputStream, boolean) - Static method in class com.google.api.client.http.AbstractInputStreamContent
Writes the content provided by the given source input stream into the given destination output stream.
create(HttpResponse, XmlNamespaceDictionary, Class<T>, Class<E>) - Static method in class com.google.api.client.http.xml.atom.AtomFeedParser
Parses the given HTTP response using the given feed class and entry class.
create() - Static method in class com.google.api.client.util.ArrayMap
Returns a new instance of an array map with initial capacity of zero.
create(int) - Static method in class com.google.api.client.util.ArrayMap
Returns a new instance of an array map of the given initial capacity.
createJsonGenerator(OutputStream, Charset) - Method in class com.google.api.client.json.JsonFactory
Returns a new instance of a low-level JSON serializer for the given output stream and encoding.
createJsonGenerator(Writer) - Method in class com.google.api.client.json.JsonFactory
Returns a new instance of a low-level JSON serializer for the given writer.
createJsonGenerator(OutputStream, Charset) - Method in class com.google.api.client.testing.http.json.MockJsonFactory
 
createJsonGenerator(Writer) - Method in class com.google.api.client.testing.http.json.MockJsonFactory
 
createJsonObjectParser() - Method in class com.google.api.client.json.JsonFactory
Creates an object parser which uses this factory to parse JSON data.
createJsonParser(InputStream) - Method in class com.google.api.client.json.JsonFactory
Returns a new instance of a low-level JSON parser for the given input stream.
createJsonParser(InputStream, Charset) - Method in class com.google.api.client.json.JsonFactory
Returns a new instance of a low-level JSON parser for the given input stream.
createJsonParser(String) - Method in class com.google.api.client.json.JsonFactory
Returns a new instance of a low-level JSON parser for the given string value.
createJsonParser(Reader) - Method in class com.google.api.client.json.JsonFactory
Returns a new instance of a low-level JSON parser for the given reader.
createJsonParser(InputStream) - Method in class com.google.api.client.testing.http.json.MockJsonFactory
 
createJsonParser(InputStream, Charset) - Method in class com.google.api.client.testing.http.json.MockJsonFactory
 
createJsonParser(String) - Method in class com.google.api.client.testing.http.json.MockJsonFactory
 
createJsonParser(Reader) - Method in class com.google.api.client.testing.http.json.MockJsonFactory
 
createParser() - Method in class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Creates a JSON parser.
createParser() - Static method in class com.google.api.client.xml.Xml
Returns a new XML pull parser.
createRequestFactory() - Method in class com.google.api.client.http.HttpTransport
Returns a new instance of an HTTP request factory based on this HTTP transport.
createRequestFactory(HttpRequestInitializer) - Method in class com.google.api.client.http.HttpTransport
Returns a new instance of an HTTP request factory based on this HTTP transport with the given HTTP request initializer.
createSerializer(Object) - Method in class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Create a JSON serializer for a request object.
createSerializer() - Static method in class com.google.api.client.xml.Xml
Returns a new XML serializer.
currentTimeMillis() - Method in class com.google.api.client.testing.http.FixedClock
 
currentTimeMillis() - Method in interface com.google.api.client.util.Clock
Returns the current time in milliseconds since midnight, January 1, 1970 UTC, to match the behavior of System.currentTimeMillis().
CustomizeJsonParser - Class in com.google.api.client.json
Customizes the behavior of a JSON parser.
CustomizeJsonParser() - Constructor for class com.google.api.client.json.CustomizeJsonParser
 

D

Data - Class in com.google.api.client.util
Utilities for working with key/value data based on the Key annotation.
Data() - Constructor for class com.google.api.client.util.Data
 
DateTime - Class in com.google.api.client.util
Immutable representation of a date with an optional time and an optional time zone based on RFC 3339.
DateTime(Date, TimeZone) - Constructor for class com.google.api.client.util.DateTime
Instantiates DateTime from a Date and TimeZone.
DateTime(long) - Constructor for class com.google.api.client.util.DateTime
Instantiates DateTime from the number of milliseconds since the Unix epoch.
DateTime(Date) - Constructor for class com.google.api.client.util.DateTime
Instantiates DateTime from a Date.
DateTime(long, int) - Constructor for class com.google.api.client.util.DateTime
Instantiates DateTime from the number of milliseconds since the Unix epoch, and a shift from UTC in minutes.
DateTime(boolean, long, Integer) - Constructor for class com.google.api.client.util.DateTime
Instantiates DateTime, which may represent a date-only value, from the number of milliseconds since the Unix epoch, and a shift from UTC in minutes.
DateTime(String) - Constructor for class com.google.api.client.util.DateTime
Instantiates DateTime from an RFC 3339 date/time value.
decodeBase64(byte[]) - Static method in class com.google.api.client.util.Base64
Decodes Base64 data into octets.
decodeBase64(String) - Static method in class com.google.api.client.util.Base64
Decodes a Base64 String into octets.
decodeUri(String) - Static method in class com.google.api.client.util.escape.CharEscapers
Percent-decodes a US-ASCII string into a Unicode string.
deepCopy(Object, Object) - Static method in class com.google.api.client.util.Data
Makes a deep copy of the given source object into the destination object that is assumed to be constructed using Object.clone().
DEFAULT_INITIAL_INTERVAL_MILLIS - Static variable in class com.google.api.client.http.ExponentialBackOffPolicy
The default initial interval value in milliseconds (0.5 seconds).
DEFAULT_MAX_ELAPSED_TIME_MILLIS - Static variable in class com.google.api.client.http.ExponentialBackOffPolicy
The default maximum elapsed time in milliseconds (15 minutes).
DEFAULT_MAX_INTERVAL_MILLIS - Static variable in class com.google.api.client.http.ExponentialBackOffPolicy
The default maximum back off time in milliseconds (1 minute).
DEFAULT_MULTIPLIER - Static variable in class com.google.api.client.http.ExponentialBackOffPolicy
The default multiplier value (1.5 which is 50% increase per back off).
DEFAULT_RANDOMIZATION_FACTOR - Static variable in class com.google.api.client.http.ExponentialBackOffPolicy
The default randomization factor (0.5 which results in a random period ranging between 50% below and 50% above the retry interval).
DELETE - Static variable in class com.google.api.client.http.HttpMethods
HTTP DELETE method.
disconnect() - Method in class com.google.api.client.http.HttpResponse
Close the HTTP response content using HttpResponse.ignore(), and disconnect using LowLevelHttpResponse.disconnect().
disconnect() - Method in class com.google.api.client.http.LowLevelHttpResponse
Default implementation does nothing, but subclasses may override to attempt to abort the connection or release allocated system resources for this connection.
disconnect() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
 
doNotValidateCertificate() - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
Disables validating server SSL certificates by setting the SSL socket factory using SslUtils.trustAllSSLContext() for the SSL context and SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER for the host name verifier.
doNotValidateCertificate() - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
Disables validating server SSL certificates by setting the SSL socket factory using SslUtils.trustAllSSLContext() for the SSL context and SslUtils.trustAllHostnameVerifier() for the host name verifier.
doOutputCalled() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
Returns whether URLConnection.doOutput was called.
download(OutputStream) - Method in class com.google.api.client.http.HttpResponse
Writes the content of the HTTP response into the given destination output stream.
download(OutputStream) - Method in class com.google.api.client.http.json.JsonHttpRequest
Deprecated.
Sends the request to the server and writes the content input stream of HttpResponse into the given destination output stream.

E

EmptyContent - Class in com.google.api.client.http
Empty HTTP content of length zero just to force HttpRequest.execute() to add the header Content-Length: 0.
EmptyContent() - Constructor for class com.google.api.client.http.EmptyContent
 
enablePrettyPrint() - Method in class com.google.api.client.json.JsonGenerator
Requests that the output be pretty printed (by default it is not).
encodeBase64(byte[]) - Static method in class com.google.api.client.util.Base64
Encodes binary data using the base64 algorithm but does not chunk the output.
encodeBase64String(byte[]) - Static method in class com.google.api.client.util.Base64
Encodes binary data using the base64 algorithm but does not chunk the output.
encodeBase64URLSafe(byte[]) - Static method in class com.google.api.client.util.Base64
Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output.
encodeBase64URLSafeString(byte[]) - Static method in class com.google.api.client.util.Base64
Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output.
ensureCapacity(int) - Method in class com.google.api.client.util.ArrayMap
Ensures that the capacity of the internal arrays is at least a given capacity.
entrySet() - Method in class com.google.api.client.util.ArrayMap
 
entrySet() - Method in class com.google.api.client.util.GenericData
 
enumValue() - Method in class com.google.api.client.util.FieldInfo
 
equals(Object) - Method in class com.google.api.client.http.GenericUrl
 
equals(Object) - Method in class com.google.api.client.http.HttpMediaType
 
equals(Object) - Method in class com.google.api.client.util.DateTime
equalsIgnoreParameters(HttpMediaType) - Method in class com.google.api.client.http.HttpMediaType
Returns true if the specified media type has both the same type and subtype, or false if they don't match or the media type is null.
equalsIgnoreParameters(String, String) - Static method in class com.google.api.client.http.HttpMediaType
Returns true if the two specified media types have the same type and subtype, or if both types are null.
escape(String) - Method in class com.google.api.client.util.escape.Escaper
Returns the escaped form of a given literal string.
escape(String) - Method in class com.google.api.client.util.escape.PercentEscaper
 
escape(int) - Method in class com.google.api.client.util.escape.PercentEscaper
Escapes the given Unicode code point in UTF-8.
escape(int) - Method in class com.google.api.client.util.escape.UnicodeEscaper
Returns the escaped form of the given Unicode code point, or null if this code point does not need to be escaped.
escape(String) - Method in class com.google.api.client.util.escape.UnicodeEscaper
Returns the escaped form of a given literal string.
Escaper - Class in com.google.api.client.util.escape
An object that converts literal text into a format safe for inclusion in a particular context (such as an XML document).
Escaper() - Constructor for class com.google.api.client.util.escape.Escaper
 
escapeSlow(String, int) - Method in class com.google.api.client.util.escape.UnicodeEscaper
Returns the escaped form of a given literal string, starting at the given index.
escapeUri(String) - Static method in class com.google.api.client.util.escape.CharEscapers
Escapes the string value so it can be safely included in URIs.
escapeUriPath(String) - Static method in class com.google.api.client.util.escape.CharEscapers
Escapes the string value so it can be safely included in URI path segments.
escapeUriQuery(String) - Static method in class com.google.api.client.util.escape.CharEscapers
Escapes the string value so it can be safely included in URI query string segments.
execute() - Method in class com.google.api.client.http.HttpRequest
Execute the HTTP request and returns the HTTP response.
execute() - Method in class com.google.api.client.http.LowLevelHttpRequest
Executes the request and returns a low-level HTTP response object.
execute() - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
 
executeAsInputStream(HttpMethod, GenericUrl, Object) - Method in class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Builds and executes an HttpRequest and then returns the content input stream of HttpResponse.
executeAsInputStream() - Method in class com.google.api.client.http.json.JsonHttpRequest
Deprecated.
Sends the request to the server and returns the content input stream of HttpResponse.
executeAsync(Executor) - Method in class com.google.api.client.http.HttpRequest
Executes this request asynchronously using HttpRequest.executeAsync(Executor) in a single separate thread using the supplied Executor.
executeAsync() - Method in class com.google.api.client.http.HttpRequest
Executes this request asynchronously using HttpRequest.executeAsync(Executor) in a single separate thread using Executors.newSingleThreadExecutor().
executeUnparsed(HttpMethod, GenericUrl, Object) - Method in class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Builds and executes a HttpRequest.
executeUnparsed(HttpRequest) - Method in class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Executes the specified HttpRequest.
executeUnparsed() - Method in class com.google.api.client.http.json.JsonHttpRequest
Deprecated.
Sends the request to the server and returns the raw HttpResponse.
expand(String, String, Object, boolean) - Static method in class com.google.api.client.http.UriTemplate
Expands templates in a URI template that is relative to a base URL.
expand(String, Object, boolean) - Static method in class com.google.api.client.http.UriTemplate
Expands templates in a URI.
ExponentialBackOffPolicy - Class in com.google.api.client.http
Implementation of BackOffPolicy that increases the back off period for each retry attempt using a randomization function that grows exponentially.
ExponentialBackOffPolicy() - Constructor for class com.google.api.client.http.ExponentialBackOffPolicy
Creates an instance of ExponentialBackOffPolicy using default values.
ExponentialBackOffPolicy.Builder - Class in com.google.api.client.http
ExponentialBackOffPolicy.Builder() - Constructor for class com.google.api.client.http.ExponentialBackOffPolicy.Builder
 

F

FieldInfo - Class in com.google.api.client.util
Parses field information to determine data key name/value pair associated with the field.
FileContent - Class in com.google.api.client.http
Concrete implementation of AbstractInputStreamContent that generates repeatable input streams based on the contents of a file.
FileContent(String, File) - Constructor for class com.google.api.client.http.FileContent
 
FixedClock - Class in com.google.api.client.testing.http
A thread-safe fixed time implementation of the Clock to be used for unit testing.
FixedClock() - Constructor for class com.google.api.client.testing.http.FixedClock
Initializes the FixedClock with 0 millis as start time.
FixedClock(long) - Constructor for class com.google.api.client.testing.http.FixedClock
Initializes the FixedClock with the specified time.
flush() - Method in class com.google.api.client.json.JsonGenerator
Flushes any buffered content to the underlying output stream or writer.
flush() - Method in class com.google.api.client.testing.http.json.MockJsonGenerator
 
forEntry(XmlNamespaceDictionary, Object) - Static method in class com.google.api.client.http.xml.atom.AtomContent
Returns a new instance of HTTP content for an Atom entry.
forFeed(XmlNamespaceDictionary, Object) - Static method in class com.google.api.client.http.xml.atom.AtomContent
Returns a new instance of HTTP content for an Atom feed.
forRequest(HttpRequest) - Method in class com.google.api.client.http.MultipartRelatedContent
Sets this multi-part content as the content for the given HTTP request, and set the MIME version header to "1.0".
fromHttpHeaders(HttpHeaders) - Method in class com.google.api.client.http.HttpHeaders
Puts all headers of the HttpHeaders object into this HttpHeaders object.
fromHttpResponse(LowLevelHttpResponse, StringBuilder) - Method in class com.google.api.client.http.HttpHeaders
Puts all headers of the LowLevelHttpResponse into this HttpHeaders object.
fromInputStream(InputStream, Class<T>) - Method in class com.google.api.client.json.JsonFactory
Parse and close an input stream as a JSON object, array, or value into a new instance of the given destination class using JsonParser.parseAndClose(Class, CustomizeJsonParser).
fromInputStream(InputStream, Charset, Class<T>) - Method in class com.google.api.client.json.JsonFactory
Parse and close an input stream as a JSON object, array, or value into a new instance of the given destination class using JsonParser.parseAndClose(Class, CustomizeJsonParser).
fromReader(Reader, Class<T>) - Method in class com.google.api.client.json.JsonFactory
Parse and close a reader as a JSON object, array, or value into a new instance of the given destination class using JsonParser.parseAndClose(Class, CustomizeJsonParser).
fromString(String, String) - Static method in class com.google.api.client.http.ByteArrayContent
Returns a new instance with the UTF-8 encoding (using StringUtils.getBytesUtf8(String)) of the given content string.
fromString(String, Class<T>) - Method in class com.google.api.client.json.JsonFactory
Parses a string value as a JSON object, array, or value into a new instance of the given destination class using JsonParser.parse(Class, CustomizeJsonParser).

G

GenericData - Class in com.google.api.client.util
Generic data that stores all unknown data key name/value pairs.
GenericData() - Constructor for class com.google.api.client.util.GenericData
Constructs with case-insensitive keys.
GenericData(EnumSet<GenericData.Flags>) - Constructor for class com.google.api.client.util.GenericData
 
GenericData.Flags - Enum in com.google.api.client.util
Flags that impact behavior of generic data.
GenericJson - Class in com.google.api.client.json
Generic JSON data that stores all unknown key name/value pairs.
GenericJson() - Constructor for class com.google.api.client.json.GenericJson
 
GenericUrl - Class in com.google.api.client.http
URL builder in which the query parameters are specified as generic data key/value pairs, based on the specification RFC 3986: Uniform Resource Identifier (URI).
GenericUrl() - Constructor for class com.google.api.client.http.GenericUrl
 
GenericUrl(String) - Constructor for class com.google.api.client.http.GenericUrl
Constructs from an encoded URL.
GenericXml - Class in com.google.api.client.xml
Generic XML data that stores all unknown key name/value pairs.
GenericXml() - Constructor for class com.google.api.client.xml.GenericXml
 
GET - Static variable in class com.google.api.client.http.HttpMethods
HTTP GET method.
get(Object) - Method in class com.google.api.client.util.ArrayMap
Returns the value set for the given key or null if there is no such mapping or if the mapping value is null.
get(Object) - Method in class com.google.api.client.util.GenericData
 
getAccept() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "Accept" header or null for none.
getAcceptEncoding() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "Accept-Encoding" header or null for none.
getAliasForUri(String) - Method in class com.google.api.client.xml.XmlNamespaceDictionary
Returns the namespace alias (or "" for the default namespace) for the given namespace URI.
getAliasToUriMap() - Method in class com.google.api.client.xml.XmlNamespaceDictionary
Returns an unmodified set of map entries for the map from namespace alias (or "" for the default namespace) to namespace URI.
getAll(String) - Method in class com.google.api.client.http.GenericUrl
Returns all query parameter values for the given query parameter name.
getApplicationName() - Method in class com.google.api.client.http.json.JsonHttpClient.Builder
Deprecated.
Returns the application name to be used in the UserAgent header of each request or null for none.
getApplicationName() - Method in class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Returns the application name to be sent in the User-Agent header of each request or null for none.
getArrayComponentType(Type) - Static method in class com.google.api.client.util.Types
Returns the component type of the given array type, assuming Types.isArray(Type).
getAuthenticate() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "WWW-Authenticate" header or null for none.
getAuthorization() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "Authorization" header or null for none.
getAuthorizationAsList() - Method in class com.google.api.client.http.HttpHeaders
Returns all "Authorization" headers or null for none.
getBackOffPolicy() - Method in class com.google.api.client.http.HttpRequest
Returns the BackOffPolicy to use between retry attempts or null for none.
getBaseUrl() - Method in class com.google.api.client.http.json.JsonHttpClient.Builder
Deprecated.
Returns the base URL of the service, for example "https://www.googleapis.com/tasks/v1/".
getBaseUrl() - Method in class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Returns the base URL of the service, for example "https://www.googleapis.com/tasks/v1/" .
getBigIntegerValue() - Method in class com.google.api.client.json.JsonParser
Returns the BigInteger value of the current token.
getBigIntegerValue() - Method in class com.google.api.client.testing.http.json.MockJsonParser
 
getBound(WildcardType) - Static method in class com.google.api.client.util.Types
Returns the only bound of the given wildcard type.
getBoundary() - Method in class com.google.api.client.http.MultipartRelatedContent
Returns the boundary string to use.
getBytesUtf8(String) - Static method in class com.google.api.client.util.StringUtils
Encodes the given string into a sequence of bytes using the UTF-8 charset, storing the result into a new byte array.
getBytesWritten() - Method in class com.google.api.client.util.LoggingByteArrayOutputStream
Returns the bytes written to the stream (may or may not have been logged).
getByteValue() - Method in class com.google.api.client.json.JsonParser
Returns the byte value of the current token.
getByteValue() - Method in class com.google.api.client.testing.http.json.MockJsonParser
 
getCacheControl() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "Cache-Control" header or null for none.
getCharset() - Method in class com.google.api.client.http.AbstractHttpContent
Returns the charset specified in the media type or Charsets#UTF_8 if not specified.
getCharsetParameter() - Method in class com.google.api.client.http.HttpMediaType
Returns the specified charset or null if unset.
getClassInfo() - Method in class com.google.api.client.util.FieldInfo
Returns the class information of the field's declaring class.
getClassInfo() - Method in class com.google.api.client.util.GenericData
Returns the class information.
getClient() - Method in class com.google.api.client.http.json.JsonHttpRequest
Deprecated.
Returns the JSON HTTP client which handles this request.
getCloseInputStream() - Method in class com.google.api.client.http.AbstractInputStreamContent
Returns whether the input stream should be closed at the end of AbstractInputStreamContent.writeTo(java.io.OutputStream).
getConnectTimeout() - Method in class com.google.api.client.http.HttpRequest
Returns the timeout in milliseconds to establish a connection or 0 for an infinite timeout.
getContent() - Method in class com.google.api.client.http.HttpRequest
Returns the HTTP request content or null for none.
getContent() - Method in class com.google.api.client.http.HttpResponse
Returns the content of the HTTP response.
getContent() - Method in class com.google.api.client.http.LowLevelHttpResponse
Returns the HTTP response content input stream or null for none.
getContent(HttpRequest) - Static method in class com.google.api.client.http.UrlEncodedContent
Returns the URL-encoded content of the given HTTP request, or if none return and set as content a new instance of UrlEncodedContent (whose UrlEncodedContent.getData() is an implementation of Map).
getContent() - Method in class com.google.api.client.testing.http.MockHttpContent
Returns the HTTP content.
getContent() - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
Returns the HTTP content or null for none.
getContent() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
 
getContentAsString() - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
Returns HTTP content as a string, taking care of any encodings of the content if necessary.
getContentCharset() - Method in class com.google.api.client.http.HttpResponse
Returns the Charset specified in the Content-Type of this response or the "ISO-8859-1" charset as a default.
getContentEncoding() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "Content-Encoding" header or null for none.
getContentEncoding() - Method in class com.google.api.client.http.HttpResponse
Returns the content encoding or null for none.
getContentEncoding() - Method in class com.google.api.client.http.LowLevelHttpResponse
Returns the content encoding (for example "gzip") or null for none.
getContentEncoding() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
 
getContentLength() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "Content-Length" header or null for none.
getContentLength() - Method in class com.google.api.client.http.LowLevelHttpResponse
Returns the content length or 0 for none.
getContentLength() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
 
getContentLoggingLimit() - Method in class com.google.api.client.http.HttpRequest
Returns the limit to the content size that will be logged during HttpRequest.execute().
getContentLoggingLimit() - Method in class com.google.api.client.http.HttpResponse
Returns the limit to the content size that will be logged during HttpResponse.getContent().
getContentMD5() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "Content-MD5" header or null for none.
getContentRange() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "Content-Range" header or null for none.
getContentType() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "Content-Type" header or null for none.
getContentType() - Method in interface com.google.api.client.http.HttpParser
Deprecated.
Returns the content type.
getContentType() - Method in class com.google.api.client.http.HttpResponse
Returns the content type or null for none.
getContentType() - Method in class com.google.api.client.http.json.JsonHttpParser.Builder
Deprecated.
Returns the content type or null for none.
getContentType() - Method in class com.google.api.client.http.json.JsonHttpParser
Deprecated.
 
getContentType() - Method in class com.google.api.client.http.LowLevelHttpResponse
Returns the content type or null for none.
getContentType() - Method in class com.google.api.client.http.xml.XmlHttpParser.Builder
Deprecated.
Returns the content type or null for none.
getContentType() - Method in class com.google.api.client.http.xml.XmlHttpParser
Deprecated.
 
getContentType() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
 
getCookie() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "Cookie" header or null for none.
getCurrentIntervalMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
Returns the current retry interval in milliseconds.
getCurrentName() - Method in class com.google.api.client.json.JsonParser
Returns the most recent field name or null for array values or for root-level values.
getCurrentName() - Method in class com.google.api.client.testing.http.json.MockJsonParser
 
getCurrentToken() - Method in class com.google.api.client.json.JsonParser
Returns the token the parser currently points to or null for none (at start of input or after end of input).
getCurrentToken() - Method in class com.google.api.client.testing.http.json.MockJsonParser
 
getData() - Method in class com.google.api.client.http.json.JsonHttpContent
Returns the JSON key name/value data.
getData() - Method in class com.google.api.client.http.UrlEncodedContent
Returns the key name/value data or null for none.
getData() - Method in class com.google.api.client.http.xml.atom.AtomContent
Returns the key name/value pair data for the Atom entry or Atom feed.
getData() - Method in class com.google.api.client.http.xml.XmlHttpContent
Returns the key/value pair data.
getDate() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "Date" header or null for none.
getDecimalValue() - Method in class com.google.api.client.json.JsonParser
Returns the BigDecimal value of the current token.
getDecimalValue() - Method in class com.google.api.client.testing.http.json.MockJsonParser
 
getDoubleValue() - Method in class com.google.api.client.json.JsonParser
Returns the double value of the current token.
getDoubleValue() - Method in class com.google.api.client.testing.http.json.MockJsonParser
 
getElapsedTimeMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
Returns the elapsed time in milliseconds since an ExponentialBackOffPolicy instance is created and is reset when ExponentialBackOffPolicy.reset() is called.
getElementName() - Method in class com.google.api.client.http.xml.XmlHttpContent
Returns the XML element local name, optionally prefixed by its namespace alias, for example "atom:entry".
getEnableGZipContent() - Method in class com.google.api.client.http.HttpRequest
Returns whether to enable gzip compression of HTTP content.
getEnableGZipContent() - Method in class com.google.api.client.http.json.JsonHttpRequest
Deprecated.
Returns whether to enable GZip compression of HTTP content.
getEncoding() - Method in class com.google.api.client.http.AbstractHttpContent
Default implementation returns null, but subclasses may override.
getEncoding() - Method in class com.google.api.client.http.AbstractInputStreamContent
 
getEncoding() - Method in class com.google.api.client.http.EmptyContent
 
getEncoding() - Method in interface com.google.api.client.http.HttpContent
Returns the content encoding (for example "gzip") or null for none.
getEncoding() - Method in class com.google.api.client.testing.http.MockHttpContent
 
getEntryClass() - Method in class com.google.api.client.http.xml.atom.AtomFeedParser
Returns the Atom entry class to parse.
getETag() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "ETag" header or null for none.
getExpires() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "Expires" header or null for none.
getFactory() - Method in class com.google.api.client.json.GenericJson
Returns the JSON factory or null for none.
getFactory() - Method in class com.google.api.client.json.JsonGenerator
Returns the JSON factory from which this generator was created.
getFactory() - Method in class com.google.api.client.json.JsonParser
Returns the JSON factory from which this generator was created.
getFactory() - Method in class com.google.api.client.testing.http.json.MockJsonGenerator
 
getFactory() - Method in class com.google.api.client.testing.http.json.MockJsonParser
 
getFeedClass() - Method in class com.google.api.client.xml.atom.AbstractAtomFeedParser
Returns the feed class to parse.
getField(String) - Method in class com.google.api.client.util.ClassInfo
Returns the field for the given FieldInfo.getName().
getField() - Method in class com.google.api.client.util.FieldInfo
Returns the field.
getFieldInfo(String) - Method in class com.google.api.client.util.ClassInfo
Returns the information for the given FieldInfo.getName().
getFieldValue(Field, Object) - Static method in class com.google.api.client.util.FieldInfo
Returns the value of the given field in the given object instance using reflection.
getFile() - Method in class com.google.api.client.http.FileContent
Returns the file.
getFirst(String) - Method in class com.google.api.client.http.GenericUrl
Returns the first query parameter value for the given query parameter name.
getFirstHeaderStringValue(String) - Method in class com.google.api.client.http.HttpHeaders
Returns the first header string value for the given header name.
getFirstHeaderValue(String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
Returns the value of the first header of the given name or null for none.
getFloatValue() - Method in class com.google.api.client.json.JsonParser
Returns the float value of the current token.
getFloatValue() - Method in class com.google.api.client.testing.http.json.MockJsonParser
 
getFollowRedirects() - Method in class com.google.api.client.http.HttpRequest
Returns whether to follow redirects automatically.
getFragment() - Method in class com.google.api.client.http.GenericUrl
Returns the fragment component or null for none.
getGenericType() - Method in class com.google.api.client.util.FieldInfo
Returns the field's generic type, which is a class, parameterized type, generic array type, or type variable, but not a wildcard type.
getHeaderCount() - Method in class com.google.api.client.http.LowLevelHttpResponse
Returns the number of HTTP response headers.
getHeaderCount() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
 
getHeaderName(int) - Method in class com.google.api.client.http.LowLevelHttpResponse
Returns the HTTP response header name at the given zero-based index.
getHeaderName(int) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
 
getHeaderNames() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
Returns the list of header names of HTTP response.
getHeaders() - Method in class com.google.api.client.http.HttpRequest
Returns the HTTP request headers.
getHeaders() - Method in class com.google.api.client.http.HttpResponse
Returns the HTTP response headers.
getHeaders() - Method in exception com.google.api.client.http.HttpResponseException
Returns the HTTP response headers.
getHeaders() - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
Deprecated.
(scheduled in 1.14 to have the return type changed to ListMultimap with lowercase header names) Use MockLowLevelHttpRequest.getFirstHeaderValue(String) or MockLowLevelHttpRequest.getHeaderValues(String)
getHeaderStringValues(String) - Method in class com.google.api.client.http.HttpHeaders
Returns an unmodifiable list of the header string values for the given header name.
getHeaderValue(int) - Method in class com.google.api.client.http.LowLevelHttpResponse
Returns the HTTP response header value at the given zero-based index.
getHeaderValue(int) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
 
getHeaderValues(String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
Returns the unmodifiable list of values of the headers of the given name (may be empty).
getHeaderValues() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
Returns the list of header values of HTTP response.
getHost() - Method in class com.google.api.client.http.GenericUrl
Returns the host, for example "www.google.com".
getHostnameVerifier() - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
Returns the host name verifier or null for the default.
getHttpClient() - Method in class com.google.api.client.http.apache.ApacheHttpTransport
Returns the Apache HTTP client.
getHttpParams() - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
Returns the HTTP parameters.
getHttpRequestInitializer() - Method in class com.google.api.client.http.json.JsonHttpClient.Builder
Deprecated.
Returns the HTTP request initializer or null for none.
getId() - Method in class com.google.api.client.json.rpc2.JsonRpcRequest
Returns the identifier established by the client that must be a string or a number or null for a notification and therefore not expect to receive a response.
getIfMatch() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "If-Match" header or null for none.
getIfModifiedSince() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "If-Modified-Since" header or null for none.
getIfNoneMatch() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "If-None-Match" header or null for none.
getIfUnmodifiedSince() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "If-Unmodified-Since" header or null for none.
getIgnoreCase() - Method in class com.google.api.client.util.ClassInfo
Returns whether field names are case sensitive.
getIndexOfKey(K) - Method in class com.google.api.client.util.ArrayMap
Returns the index of the given key or -1 if there is no such key.
getInitialIntervalMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
Returns the initial retry interval in milliseconds.
getInitialIntervalMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
Returns the initial retry interval in milliseconds.
getInitializer() - Method in class com.google.api.client.http.HttpRequestFactory
Returns the HTTP request initializer or null for none.
getInputStream() - Method in class com.google.api.client.http.AbstractInputStreamContent
Return an input stream for the specific implementation type of AbstractInputStreamContent.
getInputStream() - Method in class com.google.api.client.http.ByteArrayContent
 
getInputStream() - Method in class com.google.api.client.http.FileContent
 
getInputStream() - Method in class com.google.api.client.http.InputStreamContent
 
getInputStream() - Method in class com.google.api.client.xml.atom.AbstractAtomFeedParser
Returns the input stream to read.
getInterceptor() - Method in class com.google.api.client.http.HttpRequest
Returns the HTTP request execute interceptor to intercept the start of HttpRequest.execute() (before executing the HTTP request) or null for none.
getIntValue() - Method in class com.google.api.client.json.JsonParser
Returns the int value of the current token.
getIntValue() - Method in class com.google.api.client.testing.http.json.MockJsonParser
 
getIterableParameter(Type) - Static method in class com.google.api.client.util.Types
Returns the type parameter of Iterable that is assignable from the given iterable type.
getJsonContent() - Method in class com.google.api.client.http.json.JsonHttpRequest
Deprecated.
Returns a POJO that can be serialized into JSON or null for none.
getJsonFactory() - Method in class com.google.api.client.http.json.JsonHttpClient.Builder
Deprecated.
Returns the JSON factory.
getJsonFactory() - Method in class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Returns the JSON Factory.
getJsonFactory() - Method in class com.google.api.client.http.json.JsonHttpContent
Returns the JSON factory.
getJsonFactory() - Method in class com.google.api.client.http.json.JsonHttpParser.Builder
Deprecated.
Returns the JSON factory.
getJsonFactory() - Method in class com.google.api.client.http.json.JsonHttpParser
Deprecated.
Returns the JSON factory.
getJsonFactory() - Method in class com.google.api.client.json.JsonObjectParser
Returns the JSON factory.
getJsonHttpParser() - Method in class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Returns the JSON HTTP Parser.
getJsonHttpRequestInitializer() - Method in class com.google.api.client.http.json.JsonHttpClient.Builder
Deprecated.
Returns the JSON HTTP request initializer or null for none.
getJsonHttpRequestInitializer() - Method in class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Returns the JSON HTTP request initializer or null for none.
getJsonObjectParser() - Method in class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Returns the JSON Object Parser.
getKey(int) - Method in class com.google.api.client.util.ArrayMap
Returns the key at the given index or null if out of bounds.
getLastModified() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "Last-Modified" header or null for none.
getLastResponseHeaders() - Method in class com.google.api.client.http.json.JsonHttpRequest
Deprecated.
Gets the HTTP headers of the last response or null for none.
getLength() - Method in class com.google.api.client.http.AbstractHttpContent
Default implementation calls AbstractHttpContent.computeLength() once and caches it for future invocations, but subclasses may override.
getLength() - Method in class com.google.api.client.http.ByteArrayContent
 
getLength() - Method in class com.google.api.client.http.EmptyContent
 
getLength() - Method in class com.google.api.client.http.FileContent
 
getLength() - Method in interface com.google.api.client.http.HttpContent
Returns the content length or less than zero if not known.
getLength() - Method in class com.google.api.client.http.InputStreamContent
 
getLength() - Method in class com.google.api.client.testing.http.MockHttpContent
 
getLocation() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "Location" header or null for none.
getLogStream() - Method in class com.google.api.client.util.LoggingInputStream
Returns the log stream.
getLogStream() - Method in class com.google.api.client.util.LoggingOutputStream
Returns the log stream.
getLongValue() - Method in class com.google.api.client.json.JsonParser
Returns the long value of the current token.
getLongValue() - Method in class com.google.api.client.testing.http.json.MockJsonParser
 
getMapValueParameter(Type) - Static method in class com.google.api.client.util.Types
Returns the value type parameter of Map that is assignable from the given map type.
getMaxElapsedTimeMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
Returns the maximum elapsed time in milliseconds.
getMaxElapsedTimeMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
Returns the maximum elapsed time in milliseconds.
getMaximumBytesToLog() - Method in class com.google.api.client.util.LoggingByteArrayOutputStream
Returns the maximum number of bytes to log (may be 0 to avoid logging content).
getMaxIntervalMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
Returns the maximum value of the back off period in milliseconds.
getMaxIntervalMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
Returns the maximum value of the back off period in milliseconds.
getMediaType() - Method in class com.google.api.client.http.AbstractHttpContent
Returns the media type to use for the Content-Type header, or null if unspecified.
getMediaType() - Method in class com.google.api.client.http.HttpResponse
Returns the parsed Content-Type in form of a HttpMediaType or null if no content-type was set.
getMethod() - Method in class com.google.api.client.http.HttpRequest
Deprecated.
(scheduled to be removed in 1.14) Use HttpRequest.getRequestMethod() instead
getMethod() - Method in class com.google.api.client.http.json.JsonHttpRequest
Deprecated.
Returns the HTTP Method type.
getMethod() - Method in class com.google.api.client.json.rpc2.JsonRpcRequest
Returns the name of the method to be invoked.
getMimeVersion() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "MIME-Version" header or null for none.
getMultiplier() - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
Returns the value to multiply the current interval with for each retry attempt.
getMultiplier() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
Returns the value to multiply the current interval with for each retry attempt.
getName() - Method in class com.google.api.client.util.FieldInfo
Returns the data key name associated with the field for a non-enum-constant with a Key annotation, or data key value associated with the enum constant with a Value annotation or null for an enum constant with a NullValue annotation.
getNames() - Method in class com.google.api.client.util.ClassInfo
Returns an unmodifiable sorted set (with any possible null member first) of names.
getNamespaceDictionary() - Method in class com.google.api.client.http.xml.AbstractXmlHttpContent
Returns the XML namespace dictionary.
getNamespaceDictionary() - Method in class com.google.api.client.http.xml.XmlHttpParser.Builder
Deprecated.
Returns the XML namespace dictionary.
getNamespaceDictionary() - Method in class com.google.api.client.http.xml.XmlHttpParser
Deprecated.
Returns the XML namespace dictionary.
getNamespaceDictionary() - Method in class com.google.api.client.xml.atom.AbstractAtomFeedParser
Returns the XML namespace dictionary.
getNamespaceDictionary() - Method in class com.google.api.client.xml.XmlObjectParser
Returns the XML namespace dictionary.
getNextBackOffMillis() - Method in interface com.google.api.client.http.BackOffPolicy
Gets the number of milliseconds to wait before retrying an HTTP request.
getNextBackOffMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
Gets the number of milliseconds to wait before retrying an HTTP request.
getNumberOfRetries() - Method in class com.google.api.client.http.HttpRequest
Returns the number of retries that will be allowed to execute as the result of an HttpUnsuccessfulResponseHandler before being terminated or 0 to not retry requests.
getObjectParser() - Method in class com.google.api.client.http.json.JsonHttpClient.Builder
Deprecated.
Returns the JSON parser used or null if not specified.
getOutputStream() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
 
getParameter(String) - Method in class com.google.api.client.http.HttpMediaType
Returns the value of the specified parameter or null if not found.
getParameters() - Method in class com.google.api.client.http.HttpMediaType
Returns an unmodifiable map of all specified parameters.
getParameters() - Method in class com.google.api.client.json.rpc2.JsonRpcRequest
Returns the structured value that holds the parameter values to be used during the invocation of the method or null for none.
getParser(String) - Method in class com.google.api.client.http.HttpRequest
Deprecated.
(scheduled to be removed in 1.14) Use HttpRequest.getParser() instead.
getParser() - Method in class com.google.api.client.http.HttpRequest
Returns the ObjectParser used to parse the response or null for none.
getParser() - Method in class com.google.api.client.http.HttpResponse
Deprecated.
(scheduled to be removed in 1.14) Use HttpResponse.getRequest(). HttpRequest.getParser() instead
getParser() - Method in class com.google.api.client.xml.atom.AbstractAtomFeedParser
Returns the XML pull parser to use.
getParts() - Method in class com.google.api.client.http.MultipartRelatedContent
Returns the HTTP content parts.
getPassword() - Method in class com.google.api.client.http.BasicAuthentication
Returns the password.
getPathParts() - Method in class com.google.api.client.http.GenericUrl
Sets the decoded path component by parts with each part separated by a '/' or null for none.
getPort() - Method in class com.google.api.client.http.GenericUrl
Returns the port number or -1 if undefined, for example 443.
getRandomizationFactor() - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
Returns the randomization factor to use for creating a range around the retry interval.
getRandomizationFactor() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
Returns the randomization factor to use for creating a range around the retry interval.
getRange() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "Range" header or null for none.
getRawArrayComponentType(List<Type>, Type) - Static method in class com.google.api.client.util.Types
Returns the raw array component type to use -- for example for the first parameter of Array.newInstance(Class, int) -- for the given component type.
getRawClass(ParameterizedType) - Static method in class com.google.api.client.util.Types
Returns the raw class for the given parameter type as defined in ParameterizedType.getRawType().
getRawPath() - Method in class com.google.api.client.http.GenericUrl
Returns the raw encoded path computed from the GenericUrl.pathParts.
getReadTimeout() - Method in class com.google.api.client.http.HttpRequest
Returns the timeout in milliseconds to read data from an established connection or 0 for an infinite timeout.
getReasonPhrase() - Method in class com.google.api.client.http.LowLevelHttpResponse
Returns the HTTP reason phrase or null for none.
getReasonPhrase() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
 
getRequest() - Method in class com.google.api.client.http.HttpResponse
Returns the HTTP request.
getRequestFactory() - Method in class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Returns the HTTP request factory.
getRequestHeaders() - Method in class com.google.api.client.http.json.JsonHttpRequest
Deprecated.
Gets the HTTP headers used for the JSON HTTP request.
getRequestMethod() - Method in class com.google.api.client.http.HttpRequest
Returns the HTTP request method or null for none.
getResponse() - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
HTTP response to return from MockLowLevelHttpRequest.execute().
getResponseCode() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
 
getResponseHeaders() - Method in class com.google.api.client.http.HttpRequest
Returns the HTTP response headers.
getResponseInterceptor() - Method in class com.google.api.client.http.HttpRequest
Returns the HTTP response interceptor or null for none.
getRetryAfter() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "Retry-After" header or null for none.
getRetryOnExecuteIOException() - Method in class com.google.api.client.http.HttpRequest
Returns whether to retry the request if an IOException is encountered in LowLevelHttpRequest.execute().
getRootUrl() - Method in class com.google.api.client.http.json.JsonHttpClient.Builder
Deprecated.
Returns the root URL of the service, for example https://www.googleapis.com/.
getRootUrl() - Method in class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Returns the root URL of the service, for example https://www.googleapis.com/.
getScheme() - Method in class com.google.api.client.http.GenericUrl
Returns the scheme (lowercase), for example "https".
getServicePath() - Method in class com.google.api.client.http.json.JsonHttpClient.Builder
Deprecated.
Returns the service path of the service, for example "tasks/v1/".
getServicePath() - Method in class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Returns the service path of the service, for example "tasks/v1/".
getShortValue() - Method in class com.google.api.client.json.JsonParser
Returns the short value of the current token.
getShortValue() - Method in class com.google.api.client.testing.http.json.MockJsonParser
 
getSSLSocketFactory() - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
Returns the SSL socket factory (SSLSocketFactory.getSocketFactory() by default).
getSslSocketFactory() - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
Returns the SSL socket factory.
getStatusCode() - Method in class com.google.api.client.http.HttpResponse
Returns the HTTP status code or 0 for none.
getStatusCode() - Method in exception com.google.api.client.http.HttpResponseException
Returns the HTTP status code or 0 for none.
getStatusCode() - Method in class com.google.api.client.http.LowLevelHttpResponse
Returns the response status code or 0 for none.
getStatusCode() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
 
getStatusLine() - Method in class com.google.api.client.http.LowLevelHttpResponse
Returns the response status line or null for none.
getStatusLine() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
 
getStatusMessage() - Method in class com.google.api.client.http.HttpResponse
Returns the HTTP status message or null for none.
getStatusMessage() - Method in exception com.google.api.client.http.HttpResponseException
Returns the HTTP status message or null for none.
getSubType() - Method in class com.google.api.client.http.HttpMediaType
Returns the sub media type, for example "plain" when using "text".
getSuperParameterizedType(Type, Class<?>) - Static method in class com.google.api.client.util.Types
Returns the parameterized type that is or extends the given type that matches the given super class.
getSupportedMethods() - Method in class com.google.api.client.testing.http.MockHttpTransport.Builder
Returns the supported HTTP methods or null to specify that all methods are supported.
getSupportedMethods() - Method in class com.google.api.client.testing.http.MockHttpTransport
Returns the unmodifiable set of supported HTTP methods or null to specify that all methods are supported.
getSuppressUserAgentSuffix() - Method in class com.google.api.client.http.HttpRequest
Returns whether to not add the suffix HttpRequest.USER_AGENT_SUFFIX to the User-Agent header.
getText() - Method in class com.google.api.client.json.JsonParser
Returns a textual representation of the current token or null if JsonParser.getCurrentToken() is null.
getText() - Method in class com.google.api.client.testing.http.json.MockJsonParser
 
getThrowExceptionOnExecuteError() - Method in class com.google.api.client.http.HttpRequest
Returns whether to throw an exception at the end of HttpRequest.execute() on an HTTP error code (non-2XX) after all retries and response handlers have been exhausted.
getTimeZoneShift() - Method in class com.google.api.client.util.DateTime
Returns the time zone shift from UTC in minutes or 0 for date-only value.
getTransport() - Method in class com.google.api.client.http.HttpRequest
Returns the HTTP transport.
getTransport() - Method in class com.google.api.client.http.HttpRequestFactory
Returns the HTTP transport.
getTransport() - Method in class com.google.api.client.http.HttpResponse
Returns the HTTP transport.
getTransport() - Method in class com.google.api.client.http.json.JsonHttpClient.Builder
Deprecated.
Returns the HTTP transport.
getType() - Method in class com.google.api.client.http.AbstractHttpContent
 
getType() - Method in class com.google.api.client.http.AbstractInputStreamContent
 
getType() - Method in class com.google.api.client.http.EmptyContent
 
getType() - Method in interface com.google.api.client.http.HttpContent
Returns the content type or null for none.
getType() - Method in class com.google.api.client.http.HttpMediaType
Returns the main media type, for example "text", or null for '*'.
getType() - Method in class com.google.api.client.testing.http.MockHttpContent
 
getType() - Method in class com.google.api.client.util.FieldInfo
Returns the field's type.
getUnderlyingClass() - Method in class com.google.api.client.util.ClassInfo
Returns the underlying class.
getUnknownKeys() - Method in class com.google.api.client.util.GenericData
Returns the map of unknown data key name to value.
getUnsignedIntegerValue() - Method in class com.google.api.client.json.JsonParser
Returns the UnsignedInteger value of the current token.
getUnsignedIntegerValue() - Method in class com.google.api.client.testing.http.json.MockJsonParser
 
getUnsignedLongValue() - Method in class com.google.api.client.json.JsonParser
Returns the UnsignedLong value of the current token.
getUnsignedLongValue() - Method in class com.google.api.client.testing.http.json.MockJsonParser
 
getUnsuccessfulResponseHandler() - Method in class com.google.api.client.http.HttpRequest
Returns the HTTP unsuccessful (non-2XX) response handler or null for none.
getUriForAlias(String) - Method in class com.google.api.client.xml.XmlNamespaceDictionary
Returns the namespace URI for the given namespace alias (or "" for the default namespace).
getUriTemplate() - Method in class com.google.api.client.http.json.JsonHttpRequest
Deprecated.
Returns the URI template.
getUriToAliasMap() - Method in class com.google.api.client.xml.XmlNamespaceDictionary
Returns an unmodified set of map entries for the map from namespace URI to namespace alias (or "" for the default namespace).
getUrl() - Method in class com.google.api.client.http.HttpRequest
Returns the HTTP request URL.
getUrl() - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
Returns the request URL or null for none.
getUserAgent() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "User-Agent" header or null for none.
getUsername() - Method in class com.google.api.client.http.BasicAuthentication
Returns the username.
getValue(int) - Method in class com.google.api.client.util.ArrayMap
Returns the value at the given index or null if out of bounds.
getValue() - Method in class com.google.api.client.util.DateTime
Returns the date/time value expressed as the number of milliseconds since the Unix epoch.
getValue(Object) - Method in class com.google.api.client.util.FieldInfo
Returns the value of the field in the given object instance using reflection.
getVersion() - Method in class com.google.api.client.json.rpc2.JsonRpcRequest
Returns the version of the JSON-RPC protocol which is "2.0".

H

handleRedirect(int, HttpHeaders) - Method in class com.google.api.client.http.HttpRequest
Sets up this request object to handle the necessary redirect if redirects are turned on, it is a redirect status code and the header has a location.
handleResponse(HttpRequest, HttpResponse, boolean) - Method in interface com.google.api.client.http.HttpUnsuccessfulResponseHandler
Handler that will be invoked when an abnormal response is received.
handleResponse(HttpRequest, HttpResponse, boolean) - Method in class com.google.api.client.testing.http.MockHttpUnsuccessfulResponseHandler
 
handleUnrecognizedKey(Object, String) - Method in class com.google.api.client.json.CustomizeJsonParser
Called when the given unrecognized key is encountered in the given context object.
hashCode() - Method in class com.google.api.client.http.GenericUrl
 
hashCode() - Method in class com.google.api.client.http.HttpMediaType
 
HEAD - Static variable in class com.google.api.client.http.HttpMethods
HTTP HEAD method.
HttpContent - Interface in com.google.api.client.http
Serializes HTTP request content into an output stream.
HttpExecuteInterceptor - Interface in com.google.api.client.http
HTTP request execute interceptor to intercept the start of HttpRequest.execute() before executing the HTTP request.
HttpHeaders - Class in com.google.api.client.http
Stores HTTP headers used in an HTTP request or response, as defined in Header Field Definitions.
HttpHeaders() - Constructor for class com.google.api.client.http.HttpHeaders
 
HttpMediaType - Class in com.google.api.client.http
HTTP Media-type as specified in the HTTP RFC ( "http://tools.ietf.org/html/rfc2616#section-3.7").
HttpMediaType(String, String) - Constructor for class com.google.api.client.http.HttpMediaType
Initializes the HttpMediaType by setting the specified media type.
HttpMediaType(String) - Constructor for class com.google.api.client.http.HttpMediaType
Creates a HttpMediaType by parsing the specified media type string.
HttpMethod - Enum in com.google.api.client.http
Deprecated.
(scheduled to be removed in 1.14) Use HttpMethods instead. The purpose of this deprecation is to allow any arbitrary HTTP method to be used, rather than restrict it to a small set of HTTP methods.
HttpMethods - Class in com.google.api.client.http
HTTP request method constants specified in RFC 2616 Section 5.1.1.
HttpParser - Interface in com.google.api.client.http
Deprecated.
(scheduled to be removed in 1.14) Use ObjectParser instead.
HttpRequest - Class in com.google.api.client.http
HTTP request.
HttpRequestFactory - Class in com.google.api.client.http
Thread-safe light-weight HTTP request factory layer on top of the HTTP transport that has an optional HTTP request initializer for initializing requests.
HttpRequestInitializer - Interface in com.google.api.client.http
HTTP request initializer.
HttpResponse - Class in com.google.api.client.http
HTTP response.
HttpResponseException - Exception in com.google.api.client.http
Exception thrown when an error status code is detected in an HTTP response.
HttpResponseException(HttpResponse) - Constructor for exception com.google.api.client.http.HttpResponseException
Constructor that constructs a detail message from the given HTTP response that includes the status code, status message and HTTP response content.
HttpResponseException(HttpResponse, String) - Constructor for exception com.google.api.client.http.HttpResponseException
Constructor that allows an alternative detail message to be used.
HttpResponseInterceptor - Interface in com.google.api.client.http
HTTP response interceptor to intercept the end of HttpRequest.execute() before returning a successful response or throwing an exception for an unsuccessful response.
HttpStatusCodes - Class in com.google.api.client.http
Constants enumerating the HTTP status codes.
HttpStatusCodes() - Constructor for class com.google.api.client.http.HttpStatusCodes
 
HttpTesting - Class in com.google.api.client.testing.http
Utilities and constants related to testing the HTTP library.
HttpTransport - Class in com.google.api.client.http
Thread-safe abstract HTTP transport.
HttpTransport() - Constructor for class com.google.api.client.http.HttpTransport
 
HttpUnsuccessfulResponseHandler - Interface in com.google.api.client.http
Interface which handles abnormal HTTP responses (in other words not 2XX).

I

ignore() - Method in class com.google.api.client.http.HttpResponse
Closes the content of the HTTP response from HttpResponse.getContent(), ignoring any content.
initialize(HttpRequest) - Method in class com.google.api.client.http.BasicAuthentication
 
initialize(HttpRequest) - Method in interface com.google.api.client.http.HttpRequestInitializer
Initializes a request.
initialize(JsonHttpRequest) - Method in class com.google.api.client.http.json.JsonHttpClient
Deprecated.
initialize(JsonHttpRequest) - Method in interface com.google.api.client.http.json.JsonHttpRequestInitializer
Deprecated.
Initializes a JsonHttpRequest.
InputStreamContent - Class in com.google.api.client.http
Concrete implementation of AbstractInputStreamContent that simply handles the transfer of data from an input stream to an output stream.
InputStreamContent(String, InputStream) - Constructor for class com.google.api.client.http.InputStreamContent
 
intercept(HttpRequest) - Method in class com.google.api.client.http.BasicAuthentication
 
intercept(HttpRequest) - Method in interface com.google.api.client.http.HttpExecuteInterceptor
Invoked at the start of HttpRequest.execute() before executing the HTTP request.
interceptResponse(HttpResponse) - Method in interface com.google.api.client.http.HttpResponseInterceptor
Invoked at the end of HttpRequest.execute() before returning a successful response or throwing an exception for an unsuccessful response.
isArray(Type) - Static method in class com.google.api.client.util.Types
Returns whether the given type is an array.
isAssignableToOrFrom(Class<?>, Class<?>) - Static method in class com.google.api.client.util.Types
Returns whether a class is either assignable to or from another class.
isBackOffRequired(int) - Method in interface com.google.api.client.http.BackOffPolicy
Determines if back off is required based on the specified status code.
isBackOffRequired(int) - Method in class com.google.api.client.http.ExponentialBackOffPolicy
Determines if back off is required based on the specified status code.
isBaseUrlUsed() - Method in class com.google.api.client.http.json.JsonHttpClient.Builder
Deprecated.
Returns if baseUrl is used instead of rootUrl and servicePath.
isBaseUrlUsed() - Method in class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Returns if baseUrl is used instead of servicePath and rootUrl.
isCalled() - Method in class com.google.api.client.testing.http.MockHttpUnsuccessfulResponseHandler
isCurlLoggingEnabled() - Method in class com.google.api.client.http.HttpRequest
Returns whether logging in form of curl commands is enabled for this request.
isDateOnly() - Method in class com.google.api.client.util.DateTime
Returns whether this is a date-only value.
isEntry() - Method in class com.google.api.client.http.xml.atom.AtomContent
Returns true for an Atom entry or false for an Atom feed.
isEnum() - Method in class com.google.api.client.util.ClassInfo
Returns the underlying class is an enum.
isFinal() - Method in class com.google.api.client.util.FieldInfo
Returns whether the field is final.
isLoggingEnabled() - Method in class com.google.api.client.http.HttpRequest
Returns whether logging should be enabled for this request.
isLoggingEnabled() - Method in class com.google.api.client.http.HttpResponse
Returns whether logging should be enabled on this response.
isNull(Object) - Static method in class com.google.api.client.util.Data
Returns whether the given object is the magic object that represents the null value of its class.
isPrimitive(Type) - Static method in class com.google.api.client.util.Data
Returns whether the given type is one of the supported primitive classes like number and date/time, or is a wildcard of one.
isPrimitive() - Method in class com.google.api.client.util.FieldInfo
Returns whether the field is primitive as defined by Data.isPrimitive(Type).
isRedirect(int) - Static method in class com.google.api.client.http.HttpStatusCodes
Returns whether the given HTTP response status code is a redirect code 301, 302, 303, 307.
isSuccess(int) - Static method in class com.google.api.client.http.HttpStatusCodes
Returns whether the given HTTP response status code is a success code >= 200 and < 300.
isSuccessStatusCode() - Method in class com.google.api.client.http.HttpResponse
Returns whether received a successful HTTP status code >= 200 && < 300 (see HttpResponse.getStatusCode()).
isSuccessStatusCode() - Method in exception com.google.api.client.http.HttpResponseException
Returns whether received a successful HTTP status code >= 200 && < 300 (see HttpResponseException.getStatusCode()).
isValueOfPrimitiveType(Object) - Static method in class com.google.api.client.util.Data
Returns whether to given value is null or its class is primitive as defined by Data.isPrimitive(Type).
iterableOf(Object) - Static method in class com.google.api.client.util.Types
Returns an iterable for an input iterable or array value.

J

Json - Class in com.google.api.client.json
JSON utilities.
Json() - Constructor for class com.google.api.client.json.Json
 
JsonFactory - Class in com.google.api.client.json
Abstract low-level JSON factory.
JsonFactory() - Constructor for class com.google.api.client.json.JsonFactory
 
JsonGenerator - Class in com.google.api.client.json
Abstract low-level JSON serializer.
JsonGenerator() - Constructor for class com.google.api.client.json.JsonGenerator
 
JsonHttpClient - Class in com.google.api.client.http.json
Deprecated.
(scheduled to be removed in 1.14) Use HttpTransport instead.
JsonHttpClient(HttpTransport, JsonFactory, String) - Constructor for class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Constructor with required parameters.
JsonHttpClient(HttpTransport, JsonFactory, String, String, HttpRequestInitializer) - Constructor for class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Constructor with required parameters.
JsonHttpClient(HttpTransport, JsonHttpRequestInitializer, HttpRequestInitializer, JsonFactory, String, String) - Constructor for class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Construct the JsonHttpClient.
JsonHttpClient(HttpTransport, JsonHttpRequestInitializer, HttpRequestInitializer, JsonFactory, JsonObjectParser, String, String) - Constructor for class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Construct the JsonHttpClient.
JsonHttpClient(HttpTransport, JsonHttpRequestInitializer, HttpRequestInitializer, JsonFactory, JsonObjectParser, String, String, String) - Constructor for class com.google.api.client.http.json.JsonHttpClient
Deprecated.
Construct the JsonHttpClient.
JsonHttpClient.Builder - Class in com.google.api.client.http.json
Deprecated.
(scheduled to be removed in 1.14) Use HttpTransport instead.
JsonHttpClient.Builder(HttpTransport, JsonFactory, GenericUrl) - Constructor for class com.google.api.client.http.json.JsonHttpClient.Builder
Deprecated.
Returns an instance of a new builder.
JsonHttpClient.Builder(HttpTransport, JsonFactory, String, String, HttpRequestInitializer) - Constructor for class com.google.api.client.http.json.JsonHttpClient.Builder
Deprecated.
Returns an instance of a new builder.
JsonHttpContent - Class in com.google.api.client.http.json
Serializes JSON HTTP content based on the data key/value mapping object for an item.
JsonHttpContent(JsonFactory, Object) - Constructor for class com.google.api.client.http.json.JsonHttpContent
 
JsonHttpParser - Class in com.google.api.client.http.json
Deprecated.
(scheduled to be removed in 1.14) Use JsonObjectParser instead.
JsonHttpParser(JsonFactory) - Constructor for class com.google.api.client.http.json.JsonHttpParser
Deprecated.
Constructor with required parameters.
JsonHttpParser(JsonFactory, String) - Constructor for class com.google.api.client.http.json.JsonHttpParser
Deprecated.
 
JsonHttpParser.Builder - Class in com.google.api.client.http.json
Deprecated.
Builder for JsonHttpParser.
JsonHttpParser.Builder(JsonFactory) - Constructor for class com.google.api.client.http.json.JsonHttpParser.Builder
Deprecated.
 
JsonHttpRequest - Class in com.google.api.client.http.json
Deprecated.
(scheduled to be removed in 1.14) Use HttpRequest instead.
JsonHttpRequest(JsonHttpClient, HttpMethod, String, Object) - Constructor for class com.google.api.client.http.json.JsonHttpRequest
Deprecated.
Builds an instance of JsonHttpRequest.
JsonHttpRequestInitializer - Interface in com.google.api.client.http.json
Deprecated.
(scheduled to be removed in 1.14) Use HttpRequestInitializer instead.
JsonObjectParser - Class in com.google.api.client.json
Parses JSON data into an data class of key/value pairs.
JsonObjectParser(JsonFactory) - Constructor for class com.google.api.client.json.JsonObjectParser
Constructor with required parameters.
JsonParser - Class in com.google.api.client.json
Abstract low-level JSON parser.
JsonParser() - Constructor for class com.google.api.client.json.JsonParser
 
JsonRpcRequest - Class in com.google.api.client.json.rpc2
JSON-RPC 2.0 request object.
JsonRpcRequest() - Constructor for class com.google.api.client.json.rpc2.JsonRpcRequest
 
JsonString - Annotation Type in com.google.api.client.json
Use this annotation to specify that a declared numeric Java field should map to a JSON string.
JsonToken - Enum in com.google.api.client.json
JSON token in the low-level JSON library.

K

Key - Annotation Type in com.google.api.client.util
Use this annotation to specify that a field is a data key, optionally providing the data key name to use.

L

LINE_SEPARATOR - Static variable in class com.google.api.client.util.StringUtils
Line separator to use for this OS, i.e.
LoggingByteArrayOutputStream - Class in com.google.api.client.util
Thread-safe byte array output stream that logs what was written to it when the stream is closed.
LoggingByteArrayOutputStream(Logger, Level, int) - Constructor for class com.google.api.client.util.LoggingByteArrayOutputStream
 
LoggingInputStream - Class in com.google.api.client.util
Thread-safe input stream wrapper that forwards all reads to a given input stream, while logging all reads to a LoggingByteArrayOutputStream.
LoggingInputStream(InputStream, Logger, Level, int) - Constructor for class com.google.api.client.util.LoggingInputStream
 
LoggingOutputStream - Class in com.google.api.client.util
Thread-safe output stream wrapper that forwards all writes to a given output stream, while logging all writes to a LoggingByteArrayOutputStream.
LoggingOutputStream(OutputStream, Logger, Level, int) - Constructor for class com.google.api.client.util.LoggingOutputStream
 
LowLevelHttpRequest - Class in com.google.api.client.http
Low-level HTTP request.
LowLevelHttpRequest() - Constructor for class com.google.api.client.http.LowLevelHttpRequest
 
LowLevelHttpResponse - Class in com.google.api.client.http
Low-level HTTP response.
LowLevelHttpResponse() - Constructor for class com.google.api.client.http.LowLevelHttpResponse
 

M

mapOf(Object) - Static method in class com.google.api.client.util.Data
Returns the map to use for the given data that is treated as a map from string key to some value.
MEDIA_TYPE - Static variable in class com.google.api.client.http.UrlEncodedParser
"application/x-www-form-urlencoded" media type with UTF-8 encoding.
MEDIA_TYPE - Static variable in class com.google.api.client.json.Json
"application/json; charset=utf-8" media type used as a default for JSON parsing.
MEDIA_TYPE - Static variable in class com.google.api.client.xml.atom.Atom
"application/atom+xml; charset=utf-8" media type used as a default for Atom parsing.
MEDIA_TYPE - Static variable in class com.google.api.client.xml.Xml
"application/xml; charset=utf-8" media type used as a default for XML parsing.
MockHttpContent - Class in com.google.api.client.testing.http
Mock for HttpContent.
MockHttpContent() - Constructor for class com.google.api.client.testing.http.MockHttpContent
 
MockHttpTransport - Class in com.google.api.client.testing.http
Mock for HttpTransport.
MockHttpTransport() - Constructor for class com.google.api.client.testing.http.MockHttpTransport
 
MockHttpTransport(Set<String>) - Constructor for class com.google.api.client.testing.http.MockHttpTransport
 
MockHttpTransport.Builder - Class in com.google.api.client.testing.http
Builder for MockHttpTransport.
MockHttpTransport.Builder() - Constructor for class com.google.api.client.testing.http.MockHttpTransport.Builder
 
MockHttpUnsuccessfulResponseHandler - Class in com.google.api.client.testing.http
MockHttpUnsuccessfulResponseHandler(boolean) - Constructor for class com.google.api.client.testing.http.MockHttpUnsuccessfulResponseHandler
Create an instance of MockHttpUnsuccessfulResponseHandler.
MockHttpURLConnection - Class in com.google.api.client.testing.http.javanet
MockHttpURLConnection(URL) - Constructor for class com.google.api.client.testing.http.javanet.MockHttpURLConnection
 
MockJsonFactory - Class in com.google.api.client.testing.http.json
Mock for JsonFactory.
MockJsonFactory() - Constructor for class com.google.api.client.testing.http.json.MockJsonFactory
 
MockJsonGenerator - Class in com.google.api.client.testing.http.json
Mock for JsonGenerator.
MockJsonParser - Class in com.google.api.client.testing.http.json
Mock for JsonParser.
MockLowLevelHttpRequest - Class in com.google.api.client.testing.http
MockLowLevelHttpRequest() - Constructor for class com.google.api.client.testing.http.MockLowLevelHttpRequest
 
MockLowLevelHttpRequest(String) - Constructor for class com.google.api.client.testing.http.MockLowLevelHttpRequest
 
MockLowLevelHttpResponse - Class in com.google.api.client.testing.http
MockLowLevelHttpResponse() - Constructor for class com.google.api.client.testing.http.MockLowLevelHttpResponse
 
MultipartRelatedContent - Class in com.google.api.client.http
Serializes MIME Multipart/Related content as specified by RFC 2387: The MIME Multipart/Related Content-type.
MultipartRelatedContent(HttpContent, HttpContent...) - Constructor for class com.google.api.client.http.MultipartRelatedContent
 

N

name - Variable in class com.google.api.client.xml.GenericXml
Optional XML element local name prefixed by its namespace alias -- for example "atom:entry" -- or null if not set.
namespaceDictionary - Variable in class com.google.api.client.xml.GenericXml
Optional namespace dictionary or null if not set.
NetHttpTransport - Class in com.google.api.client.http.javanet
Thread-safe HTTP low-level transport based on the java.net package.
NetHttpTransport() - Constructor for class com.google.api.client.http.javanet.NetHttpTransport
Constructor with the default behavior.
NetHttpTransport.Builder - Class in com.google.api.client.http.javanet
Builder for NetHttpTransport.
NetHttpTransport.Builder() - Constructor for class com.google.api.client.http.javanet.NetHttpTransport.Builder
 
newCollectionInstance(Type) - Static method in class com.google.api.client.util.Data
Returns a new collection instance for the given type.
newDefaultHttpClient() - Static method in class com.google.api.client.http.apache.ApacheHttpTransport
Creates a new instance of the Apache HTTP client that is used by the ApacheHttpTransport.ApacheHttpTransport() constructor.
newInstance(Class<T>) - Static method in class com.google.api.client.util.Types
Creates a new instance of the given class by invoking its default constructor.
newInstanceForArray(Object, Field) - Method in class com.google.api.client.json.CustomizeJsonParser
Returns a new instance value for the given field in the given context object for a JSON array or null for the default behavior.
newInstanceForObject(Object, Class<?>) - Method in class com.google.api.client.json.CustomizeJsonParser
Returns a new instance value for the given field class in the given context object for JSON Object or null for the default behavior.
newMapInstance(Class<?>) - Static method in class com.google.api.client.util.Data
Returns a new instance of a map based on the given field class.
newStringUtf8(byte[]) - Static method in class com.google.api.client.util.StringUtils
Constructs a new String by decoding the specified array of bytes using the UTF-8 charset.
nextEscapeIndex(CharSequence, int, int) - Method in class com.google.api.client.util.escape.PercentEscaper
 
nextEscapeIndex(CharSequence, int, int) - Method in class com.google.api.client.util.escape.UnicodeEscaper
Scans a sub-sequence of characters from a given CharSequence, returning the index of the next character that requires escaping.
nextToken() - Method in class com.google.api.client.json.JsonParser
Returns the next token from the stream or null to indicate end of input.
nextToken() - Method in class com.google.api.client.testing.http.json.MockJsonParser
 
normalizeMediaType(String) - Static method in class com.google.api.client.http.HttpRequest
Deprecated.
(scheduled to be removed in 1.14) Use HttpMediaType.equalsIgnoreParameters(HttpMediaType) instead
NULL_BIG_DECIMAL - Static variable in class com.google.api.client.util.Data
The single instance of the magic null object for a BigDecimal.
NULL_BIG_INTEGER - Static variable in class com.google.api.client.util.Data
The single instance of the magic null object for a BigInteger.
NULL_BOOLEAN - Static variable in class com.google.api.client.util.Data
The single instance of the magic null object for a Boolean.
NULL_BYTE - Static variable in class com.google.api.client.util.Data
The single instance of the magic null object for a Byte.
NULL_CHARACTER - Static variable in class com.google.api.client.util.Data
The single instance of the magic null object for a Character.
NULL_DATE_TIME - Static variable in class com.google.api.client.util.Data
The single instance of the magic null object for a DateTime.
NULL_DOUBLE - Static variable in class com.google.api.client.util.Data
The single instance of the magic null object for a Double.
NULL_FLOAT - Static variable in class com.google.api.client.util.Data
The single instance of the magic null object for a Float.
NULL_INTEGER - Static variable in class com.google.api.client.util.Data
The single instance of the magic null object for a Integer.
NULL_LONG - Static variable in class com.google.api.client.util.Data
The single instance of the magic null object for a Long.
NULL_SHORT - Static variable in class com.google.api.client.util.Data
The single instance of the magic null object for a Short.
NULL_STRING - Static variable in class com.google.api.client.util.Data
The single instance of the magic null object for a String.
NULL_UNSIGNED_INTEGER - Static variable in class com.google.api.client.util.Data
The single instance of the magic null object for a UnsignedInteger.
NULL_UNSIGNED_LONG - Static variable in class com.google.api.client.util.Data
The single instance of the magic null object for a UnsignedLong.
nullOf(Class<?>) - Static method in class com.google.api.client.util.Data
Returns the single instance of the magic object that represents the "null" value for the given Java class (including array or enum).
NullValue - Annotation Type in com.google.api.client.util
Use this annotation to specify that an enum constant is the "null" data value to use for Data.nullOf(Class).

O

ObjectParser - Interface in com.google.api.client.util
Parses a data source into the specified data type.
of(Object...) - Static method in class com.google.api.client.util.ArrayMap
Returns a new instance of an array map of the given key value pairs in alternating order.
of(Class<?>) - Static method in class com.google.api.client.util.ClassInfo
Returns the class information for the given underlying class.
of(Class<?>, boolean) - Static method in class com.google.api.client.util.ClassInfo
Returns the class information for the given underlying class.
of(Enum<?>) - Static method in class com.google.api.client.util.FieldInfo
Returns the field information for the given enum value.
of(Field) - Static method in class com.google.api.client.util.FieldInfo
Returns the field information for the given field.
OPTIONS - Static variable in class com.google.api.client.http.HttpMethods
HTTP OPTIONS method.

P

parse(HttpResponse, Class<T>) - Method in interface com.google.api.client.http.HttpParser
Deprecated.
Parses the given HTTP response into a new instance of the the given data class of key/value pairs.
parse(HttpResponse, Class<T>) - Method in class com.google.api.client.http.json.JsonHttpParser
Deprecated.
 
parse(String, Object) - Static method in class com.google.api.client.http.UrlEncodedParser
Parses the given URL-encoded content into the given data object of data key name/value pairs, including support for repeating data key names.
parse(HttpResponse, Class<T>) - Method in class com.google.api.client.http.xml.XmlHttpParser
Deprecated.
Default implementation parses the content of the response into the data class of key/value pairs, but subclasses may override.
parse(Class<T>, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
Parse a JSON object, array, or value into a new instance of the given destination class, optionally using the given parser customizer.
parse(Type, boolean, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
Parse a JSON object, array, or value into a new instance of the given destination class, optionally using the given parser customizer.
parse(Object, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
Parse a JSON object from the given JSON parser into the given destination object, optionally using the given parser customizer.
parseAndClose(InputStream, Charset, Class<T>) - Method in class com.google.api.client.http.UrlEncodedParser
 
parseAndClose(InputStream, Charset, Type) - Method in class com.google.api.client.http.UrlEncodedParser
 
parseAndClose(Reader, Class<T>) - Method in class com.google.api.client.http.UrlEncodedParser
 
parseAndClose(Reader, Type) - Method in class com.google.api.client.http.UrlEncodedParser
 
parseAndClose(InputStream, Charset, Class<T>) - Method in class com.google.api.client.json.JsonObjectParser
 
parseAndClose(InputStream, Charset, Type) - Method in class com.google.api.client.json.JsonObjectParser
 
parseAndClose(Reader, Class<T>) - Method in class com.google.api.client.json.JsonObjectParser
 
parseAndClose(Reader, Type) - Method in class com.google.api.client.json.JsonObjectParser
 
parseAndClose(Class<T>, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
Parse a JSON object, array, or value into a new instance of the given destination class using JsonParser.parse(Class, CustomizeJsonParser), and then closes the parser.
parseAndClose(Object, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
Parse a JSON Object from the given JSON parser -- which is closed after parsing completes -- into the given destination object, optionally using the given parser customizer.
parseAndClose(InputStream, Charset, Class<T>) - Method in interface com.google.api.client.util.ObjectParser
Parses the given input stream into a new instance of the the given data class of key/value pairs and closes the input stream.
parseAndClose(InputStream, Charset, Type) - Method in interface com.google.api.client.util.ObjectParser
Parses the given input stream into a new instance of the the given data type of key/value pairs and closes the input stream.
parseAndClose(Reader, Class<T>) - Method in interface com.google.api.client.util.ObjectParser
Parses the given reader into a new instance of the the given data class of key/value pairs and closes the reader.
parseAndClose(Reader, Type) - Method in interface com.google.api.client.util.ObjectParser
Parses the given reader into a new instance of the the given data type of key/value pairs and closes the reader.
parseAndClose(InputStream, Charset, Class<T>) - Method in class com.google.api.client.xml.XmlObjectParser
 
parseAndClose(InputStream, Charset, Type) - Method in class com.google.api.client.xml.XmlObjectParser
 
parseAndClose(Reader, Class<T>) - Method in class com.google.api.client.xml.XmlObjectParser
 
parseAndClose(Reader, Type) - Method in class com.google.api.client.xml.XmlObjectParser
 
parseArray(Class<?>, Class<T>, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
Parse a JSON Array from the given JSON parser into the given destination collection, optionally using the given parser customizer.
parseArray(Collection<? super T>, Class<T>, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
Parse a JSON Array from the given JSON parser into the given destination collection, optionally using the given parser customizer.
parseArrayAndClose(Class<?>, Class<T>, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
Parse a JSON Array from the given JSON parser (which is closed after parsing completes) into the given destination collection, optionally using the given parser customizer.
parseArrayAndClose(Collection<? super T>, Class<T>, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
Parse a JSON Array from the given JSON parser (which is closed after parsing completes) into the given destination collection, optionally using the given parser customizer.
parseAs(Class<T>) - Method in class com.google.api.client.http.HttpResponse
Parses the content of the HTTP response from HttpResponse.getContent() and reads it into a data class of key/value pairs using the parser returned by HttpResponse.getParser().
parseAs(Type) - Method in class com.google.api.client.http.HttpResponse
Parses the content of the HTTP response from HttpResponse.getContent() and reads it into a data type of key/value pairs using the parser returned by HttpResponse.getParser().
parseAsString() - Method in class com.google.api.client.http.HttpResponse
Parses the content of the HTTP response from HttpResponse.getContent() and reads it into a string.
parseElement(XmlPullParser, Object, XmlNamespaceDictionary, Xml.CustomizeParser) - Static method in class com.google.api.client.xml.Xml
Parses an XML element using the given XML pull parser into the given destination object.
parseEntryInternal() - Method in class com.google.api.client.http.xml.atom.AtomFeedParser
 
parseEntryInternal() - Method in class com.google.api.client.xml.atom.AbstractAtomFeedParser
Parses a single entry.
parseFeed() - Method in class com.google.api.client.xml.atom.AbstractAtomFeedParser
Parse the feed and return a new parsed instance of the feed type.
parseNextEntry() - Method in class com.google.api.client.http.xml.atom.AtomFeedParser
 
parseNextEntry() - Method in class com.google.api.client.xml.atom.AbstractAtomFeedParser
Parse the next item in the feed and return a new parsed instance of the item type.
parsePrimitiveValue(Type, String) - Static method in class com.google.api.client.util.Data
Parses the given string value based on the given primitive type.
parseRfc3339(String) - Static method in class com.google.api.client.util.DateTime
Parses an RFC 3339 date/time value.
parserForResponse(JsonFactory, HttpResponse) - Static method in class com.google.api.client.http.json.JsonHttpParser
Deprecated.
Returns a JSON parser to use for parsing the given HTTP response.
PercentEscaper - Class in com.google.api.client.util.escape
A UnicodeEscaper that escapes some set of Java characters using the URI percent encoding scheme.
PercentEscaper(String, boolean) - Constructor for class com.google.api.client.util.escape.PercentEscaper
Constructs a URI escaper with the specified safe characters and optional handling of the space character.
POST - Static variable in class com.google.api.client.http.HttpMethods
HTTP POST method.
PUT - Static variable in class com.google.api.client.http.HttpMethods
HTTP PUT method.
put(K, V) - Method in class com.google.api.client.util.ArrayMap
Sets the value for the given key, overriding any existing value.
put(Field, Class<?>, Object) - Method in class com.google.api.client.util.ArrayValueMap
Puts an additional value for the given field, accumulating values on repeated calls on the same field.
put(String, Class<?>, Object) - Method in class com.google.api.client.util.ArrayValueMap
Puts an additional value for the given key name, accumulating values on repeated calls on the same key name.
put(String, Object) - Method in class com.google.api.client.util.GenericData
 
putAll(Map<? extends String, ?>) - Method in class com.google.api.client.util.GenericData
 

R

read() - Method in class com.google.api.client.util.LoggingInputStream
 
read(byte[], int, int) - Method in class com.google.api.client.util.LoggingInputStream
 
remove(int) - Method in class com.google.api.client.util.ArrayMap
Removes the key/value mapping at the given index, or ignored if the index is out of bounds.
remove(Object) - Method in class com.google.api.client.util.ArrayMap
Removes the key-value pair of the given key, or ignore if the key cannot be found.
remove(Object) - Method in class com.google.api.client.util.GenericData
 
removeParameter(String) - Method in class com.google.api.client.http.HttpMediaType
Removes the specified media parameter.
reset() - Method in interface com.google.api.client.http.BackOffPolicy
Reset Back off counters (if any) in an implementation-specific fashion.
reset() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
Sets the interval back to the initial retry interval and restarts the timer.
resolveTypeVariable(List<Type>, TypeVariable<?>) - Static method in class com.google.api.client.util.Types
Resolves the actual type of the given type variable that comes from a field type based on the given context list.
resolveWildcardTypeOrTypeVariable(List<Type>, Type) - Static method in class com.google.api.client.util.Data
Aggressively resolves the given type in such a way that the resolved type is not a wildcard type or a type variable, returning Object.class if the type variable cannot be resolved.
retrySupported() - Method in class com.google.api.client.http.AbstractHttpContent
Default implementation returns true, but subclasses may override.
retrySupported() - Method in class com.google.api.client.http.ByteArrayContent
 
retrySupported() - Method in class com.google.api.client.http.EmptyContent
 
retrySupported() - Method in class com.google.api.client.http.FileContent
 
retrySupported() - Method in interface com.google.api.client.http.HttpContent
Returns whether or not retry is supported on this content type.
retrySupported() - Method in class com.google.api.client.http.InputStreamContent
 
retrySupported() - Method in class com.google.api.client.http.MultipartRelatedContent
 
retrySupported() - Method in class com.google.api.client.testing.http.MockHttpContent
 

S

SAFECHARS_URLENCODER - Static variable in class com.google.api.client.util.escape.PercentEscaper
A string of safe characters that mimics the behavior of URLEncoder.
SAFEPATHCHARS_URLENCODER - Static variable in class com.google.api.client.util.escape.PercentEscaper
A string of characters that do not need to be encoded when used in URI path segments, as specified in RFC 3986.
SAFEQUERYSTRINGCHARS_URLENCODER - Static variable in class com.google.api.client.util.escape.PercentEscaper
A string of characters that do not need to be encoded when used in URI query strings, as specified in RFC 3986.
serialize(Object) - Method in class com.google.api.client.json.JsonGenerator
Serializes the given JSON value object, or if value is null it does no serialization.
serialize(XmlSerializer, String, String, Object) - Method in class com.google.api.client.xml.XmlNamespaceDictionary
Shows a debug string representation of an element data object of key/value pairs.
serialize(XmlSerializer, String, Object) - Method in class com.google.api.client.xml.XmlNamespaceDictionary
Shows a debug string representation of an element data object of key/value pairs.
serializeHeadersForMultipartRequests(HttpHeaders, StringBuilder, Logger, Writer) - Static method in class com.google.api.client.http.HttpHeaders
Serializes headers to an Writer for Multi-part requests.
set(String, Object) - Method in class com.google.api.client.http.HttpHeaders
 
set(int, K, V) - Method in class com.google.api.client.util.ArrayMap
Sets the key/value mapping at the given index, overriding any existing key/value mapping.
set(int, V) - Method in class com.google.api.client.util.ArrayMap
Sets the value at the given index, overriding any existing value mapping.
set(String, Object) - Method in class com.google.api.client.util.GenericData
Sets the given field value (may be null) for the given field name.
set(String, String) - Method in class com.google.api.client.xml.XmlNamespaceDictionary
Adds a namespace of the given alias and URI.
setAccept(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "Accept" header or null for none.
setAcceptEncoding(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "Accept-Encoding" header or null for none.
setApplicationName(String) - Method in class com.google.api.client.http.json.JsonHttpClient.Builder
Deprecated.
Sets the application name to be used in the UserAgent header of each request or null for none.
setAuthenticate(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "WWW-Authenticate" header or null for none.
setAuthorization(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "Authorization" header or null for none.
setAuthorization(List<String>) - Method in class com.google.api.client.http.HttpHeaders
Sets the "Authorization" header or null for none.
setBackOffPolicy(BackOffPolicy) - Method in class com.google.api.client.http.HttpRequest
Sets the BackOffPolicy to use between retry attempts or null for none.
setBaseUrl(GenericUrl) - Method in class com.google.api.client.http.json.JsonHttpClient.Builder
Deprecated.
Sets the base URL of the service, for example "https://www.googleapis.com/tasks/v1/".
setBasicAuthentication(String, String) - Method in class com.google.api.client.http.HttpHeaders
setBoundary(String) - Method in class com.google.api.client.http.MultipartRelatedContent
Sets the boundary string to use.
setCacheControl(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "Cache-Control" header or null for none.
setCharsetParameter(Charset) - Method in class com.google.api.client.http.HttpMediaType
Sets the charset parameter of the media type.
setCloseInputStream(boolean) - Method in class com.google.api.client.http.AbstractInputStreamContent
Sets whether the input stream should be closed at the end of AbstractInputStreamContent.writeTo(java.io.OutputStream).
setCloseInputStream(boolean) - Method in class com.google.api.client.http.ByteArrayContent
 
setCloseInputStream(boolean) - Method in class com.google.api.client.http.FileContent
 
setCloseInputStream(boolean) - Method in class com.google.api.client.http.InputStreamContent
 
setConnectTimeout(int) - Method in class com.google.api.client.http.HttpRequest
Sets the timeout in milliseconds to establish a connection or 0 for an infinite timeout.
setContent(HttpContent) - Method in class com.google.api.client.http.HttpRequest
Sets the HTTP request content or null for none.
setContent(HttpContent) - Method in class com.google.api.client.http.LowLevelHttpRequest
Sets the HTTP request content.
setContent(byte[]) - Method in class com.google.api.client.testing.http.MockHttpContent
Sets the HTTP content.
setContent(HttpContent) - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
 
setContent(String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
Sets the response content to the given content string.
setContent(InputStream) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
Sets the input stream content of HTTP response or null for none.
setContentEncoding(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "Content-Encoding" header or null for none.
setContentEncoding(String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
Sets the content encoding or null for none.
setContentLength(Long) - Method in class com.google.api.client.http.HttpHeaders
Sets the "Content-Length" header or null for none.
setContentLength(long) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
Sets the content length or -1 for unknown.
setContentLoggingLimit(int) - Method in class com.google.api.client.http.HttpRequest
Set the limit to the content size that will be logged during HttpRequest.execute().
setContentLoggingLimit(int) - Method in class com.google.api.client.http.HttpResponse
Set the limit to the content size that will be logged during HttpResponse.getContent().
setContentMD5(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "Content-MD5" header or null for none.
setContentRange(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "Content-Range" header or null for none.
setContentType(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "Content-Type" header or null for none.
setContentType(String) - Method in class com.google.api.client.http.json.JsonHttpParser.Builder
Deprecated.
Sets the content type.
setContentType(String) - Method in class com.google.api.client.http.xml.XmlHttpParser.Builder
Deprecated.
Sets the content type.
setContentType(String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
Sets the content type of HTTP response or null for none.
setCookie(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "Cookie" header or null for none.
setCurlLoggingEnabled(boolean) - Method in class com.google.api.client.http.HttpRequest
Sets whether logging in form of curl commands should be enabled for this request.
setData(Object) - Method in class com.google.api.client.http.UrlEncodedContent
Sets the key name/value data.
setDate(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "Date" header or null for none.
setDoOutput(boolean) - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
 
setEnableGZipContent(boolean) - Method in class com.google.api.client.http.HttpRequest
Returns whether to enable gzip compression of HTTP content.
setEnableGZipContent(boolean) - Method in class com.google.api.client.http.json.JsonHttpRequest
Deprecated.
Sets whether to enable GZip compression of HTTP content.
setEncoding(String) - Method in class com.google.api.client.http.AbstractInputStreamContent
Sets the content encoding (for example "gzip") or null for none.
setEncoding(String) - Method in class com.google.api.client.http.ByteArrayContent
 
setEncoding(String) - Method in class com.google.api.client.http.FileContent
 
setEncoding(String) - Method in class com.google.api.client.http.InputStreamContent
 
setEncoding(String) - Method in class com.google.api.client.testing.http.MockHttpContent
Sets the HTTP content encoding or null for none.
setETag(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "ETag" header or null for none.
setExpires(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "Expires" header or null for none.
setFactory(JsonFactory) - Method in class com.google.api.client.json.GenericJson
Sets the JSON factory or null for none.
setFieldValue(Field, Object, Object) - Static method in class com.google.api.client.util.FieldInfo
Sets to the given value of the given field in the given object instance using reflection.
setFollowRedirects(boolean) - Method in class com.google.api.client.http.HttpRequest
Sets whether to follow redirects automatically.
setFragment(String) - Method in class com.google.api.client.http.GenericUrl
Sets the fragment component or null for none.
setHeaderNames(List<String>) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
Sets the list of header names of HTTP response.
setHeaders(HttpHeaders) - Method in class com.google.api.client.http.HttpRequest
Sets the HTTP request headers.
setHeaderValues(List<String>) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
Sets the list of header values of HTTP response.
setHost(String) - Method in class com.google.api.client.http.GenericUrl
Sets the host, for example "www.google.com".
setHostnameVerifier(HostnameVerifier) - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
Sets the host name verifier or null for the default.
setHttpRequestInitializer(HttpRequestInitializer) - Method in class com.google.api.client.http.json.JsonHttpClient.Builder
Deprecated.
Sets the HTTP request initializer or null for none.
setId(Object) - Method in class com.google.api.client.json.rpc2.JsonRpcRequest
Sets the identifier established by the client that must be a string or a number or null for a notification and therefore not expect to receive a response.
setIfMatch(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "If-Match" header or null for none.
setIfModifiedSince(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "If-Modified-Since" header or null for none.
setIfNoneMatch(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "If-None-Match" header or null for none.
setIfUnmodifiedSince(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "If-Unmodified-Since" header or null for none.
setInitialIntervalMillis(int) - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
Sets the initial retry interval in milliseconds.
setInterceptor(HttpExecuteInterceptor) - Method in class com.google.api.client.http.HttpRequest
Sets the HTTP request execute interceptor to intercept the start of HttpRequest.execute() (before executing the HTTP request) or null for none.
setJsonHttpRequestInitializer(JsonHttpRequestInitializer) - Method in class com.google.api.client.http.json.JsonHttpClient.Builder
Deprecated.
Sets the JSON HTTP request initializer or null for none.
setLastModified(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "Last-Modified" header or null for none.
setLength(long) - Method in class com.google.api.client.http.InputStreamContent
Sets the content length or less than zero if not known.
setLength(long) - Method in class com.google.api.client.testing.http.MockHttpContent
Returns the HTTP content length or -1 for unknown.
setLocation(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "Location" header or null for none.
setLoggingEnabled(boolean) - Method in class com.google.api.client.http.HttpRequest
Sets whether logging should be enabled for this request.
setLoggingEnabled(boolean) - Method in class com.google.api.client.http.HttpResponse
Sets whether logging should be enabled on this response.
setMaxElapsedTimeMillis(int) - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
Sets the maximum elapsed time in milliseconds.
setMaxIntervalMillis(int) - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
Sets the maximum value of the back off period in milliseconds.
setMediaType(HttpMediaType) - Method in class com.google.api.client.http.AbstractHttpContent
Sets the media type to use for the Content-Type header, or null if unspecified.
setMediaType(HttpMediaType) - Method in class com.google.api.client.http.json.JsonHttpContent
 
setMediaType(HttpMediaType) - Method in class com.google.api.client.http.MultipartRelatedContent
 
setMediaType(HttpMediaType) - Method in class com.google.api.client.http.UrlEncodedContent
 
setMediaType(HttpMediaType) - Method in class com.google.api.client.http.xml.AbstractXmlHttpContent
 
setMediaType(HttpMediaType) - Method in class com.google.api.client.http.xml.atom.AtomContent
 
setMediaType(HttpMediaType) - Method in class com.google.api.client.http.xml.XmlHttpContent
 
setMethod(HttpMethod) - Method in class com.google.api.client.http.HttpRequest
Deprecated.
(scheduled to be removed in 1.14) Use HttpRequest.setRequestMethod(java.lang.String) instead
setMethod(String) - Method in class com.google.api.client.json.rpc2.JsonRpcRequest
Sets the name of the method to be invoked.
setMimeVersion(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "MIME-Version" header or null for none.
setMultiplier(double) - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
Sets the value to multiply the current interval with for each retry attempt.
setNumberOfRetries(int) - Method in class com.google.api.client.http.HttpRequest
Returns the number of retries that will be allowed to execute as the result of an HttpUnsuccessfulResponseHandler before being terminated or 0 to not retry requests.
setObjectParser(JsonObjectParser) - Method in class com.google.api.client.http.json.JsonHttpClient.Builder
Deprecated.
Specifies the JSON parser to use or null if no used.
setOutputStream(OutputStream) - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
Sets the output stream or null to throw an UnknownServiceException when MockHttpURLConnection.getOutputStream() is called.
setParameter(String, String) - Method in class com.google.api.client.http.HttpMediaType
Sets the media parameter to the specified value.
setParameters(Object) - Method in class com.google.api.client.json.rpc2.JsonRpcRequest
Sets the structured value that holds the parameter values to be used during the invocation of the method or null for none.
setParser(ObjectParser) - Method in class com.google.api.client.http.HttpRequest
Sets the ObjectParser used to parse the response to this request or null for none.
setPathParts(List<String>) - Method in class com.google.api.client.http.GenericUrl
Sets the decoded path component by parts with each part separated by a '/' or null for none.
setPort(int) - Method in class com.google.api.client.http.GenericUrl
Returns the port number or -1 if undefined, for example 443.
setProxy(HttpHost) - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
Sets the HTTP proxy to use DefaultHttpRoutePlanner or null to use ApacheHttpTransport.Builder.setProxySelector(ProxySelector) with ProxySelector.getDefault().
setProxy(Proxy) - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
Sets the HTTP proxy or null to use the proxy settings from system properties.
setProxySelector(ProxySelector) - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
Sets the HTTP proxy selector to use ProxySelectorRoutePlanner or null for DefaultHttpRoutePlanner.
setRandomizationFactor(double) - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
Sets the randomization factor to use for creating a range around the retry interval.
setRange(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "Range" header or null for none.
setRawPath(String) - Method in class com.google.api.client.http.GenericUrl
Sets the GenericUrl.pathParts from the given raw encoded path.
setReadTimeout(int) - Method in class com.google.api.client.http.HttpRequest
Sets the timeout in milliseconds to read data from an established connection or 0 for an infinite timeout.
setReasonPhrase(String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
Sets the HTTP reason phrase or null for none.
setRequestHeaders(HttpHeaders) - Method in class com.google.api.client.http.json.JsonHttpRequest
Deprecated.
Sets the HTTP headers used for the JSON HTTP request.
setRequestMethod(String) - Method in class com.google.api.client.http.HttpRequest
Sets the HTTP request method or null for none.
setResponse(MockLowLevelHttpResponse) - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
Sets the HTTP response to return from MockLowLevelHttpRequest.execute().
setResponseCode(int) - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
Sets the HTTP response status code.
setResponseHeaders(HttpHeaders) - Method in class com.google.api.client.http.HttpRequest
Sets the HTTP response headers.
setResponseInterceptor(HttpResponseInterceptor) - Method in class com.google.api.client.http.HttpRequest
Returns the HTTP response interceptor or null for none.
setRetryAfter(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "Retry-After" header or null for none.
setRetryOnExecuteIOException(boolean) - Method in class com.google.api.client.http.HttpRequest
Sets whether to retry the request if an IOException is encountered in LowLevelHttpRequest.execute().
setRetrySupported(boolean) - Method in class com.google.api.client.http.InputStreamContent
Sets whether or not retry is supported.
setRootUrl(String) - Method in class com.google.api.client.http.json.JsonHttpClient.Builder
Deprecated.
Sets the root URL of the service, for example https://www.googleapis.com/.
setScheme(String) - Method in class com.google.api.client.http.GenericUrl
Sets the scheme (lowercase), for example "https".
setServicePath(String) - Method in class com.google.api.client.http.json.JsonHttpClient.Builder
Deprecated.
Sets the service path of the service, for example "tasks/v1/".
setSocketFactory(SSLSocketFactory) - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
Sets the SSL socket factory (SSLSocketFactory.getSocketFactory() by default).
setSslSocketFactory(SSLSocketFactory) - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
Sets the SSL socket factory or null for the default.
setStatusCode(int) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
Sets the status code of HTTP response.
setSubType(String) - Method in class com.google.api.client.http.HttpMediaType
Sets the sub media type, for example "plain" when using "text".
setSupportedMethods(Set<String>) - Method in class com.google.api.client.testing.http.MockHttpTransport.Builder
Sets the supported HTTP methods or null to specify that all methods are supported.
setSuppressUserAgentSuffix(boolean) - Method in class com.google.api.client.http.HttpRequest
Sets whether to not add the suffix HttpRequest.USER_AGENT_SUFFIX to the User-Agent header.
setThrowExceptionOnExecuteError(boolean) - Method in class com.google.api.client.http.HttpRequest
Sets whether to throw an exception at the end of HttpRequest.execute() on a HTTP error code (non-2XX) after all retries and response handlers have been exhausted.
setTime(long) - Method in class com.google.api.client.testing.http.FixedClock
Changes the time value this time provider is returning.
setTimeout(int, int) - Method in class com.google.api.client.http.LowLevelHttpRequest
Sets the connection and read timeouts.
setType(String) - Method in class com.google.api.client.http.AbstractInputStreamContent
Sets the content type or null for none.
setType(String) - Method in class com.google.api.client.http.ByteArrayContent
 
setType(String) - Method in class com.google.api.client.http.FileContent
 
setType(String) - Method in class com.google.api.client.http.HttpMediaType
Sets the (main) media type, for example "text".
setType(String) - Method in class com.google.api.client.http.InputStreamContent
 
setType(String) - Method in class com.google.api.client.testing.http.MockHttpContent
Sets the HTTP content type or null for none.
setUnknownKeys(Map<String, Object>) - Method in class com.google.api.client.util.GenericData
Sets the map of unknown data key name to value.
setUnsuccessfulResponseHandler(HttpUnsuccessfulResponseHandler) - Method in class com.google.api.client.http.HttpRequest
Returns the HTTP unsuccessful (non-2XX) response handler or null for none.
setUrl(GenericUrl) - Method in class com.google.api.client.http.HttpRequest
Sets the HTTP request URL.
setUrl(String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
Sets the request URL or null for none.
setUserAgent(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "User-Agent" header or null for none.
setValue(Object, Object) - Method in class com.google.api.client.util.FieldInfo
Sets to the given value of the field in the given object instance using reflection.
setValues() - Method in class com.google.api.client.util.ArrayValueMap
Sets the fields of the given object using the values collected during parsing of the object's fields.
shutdown() - Method in class com.google.api.client.http.apache.ApacheHttpTransport
Shuts down the connection manager and releases allocated resources.
shutdown() - Method in class com.google.api.client.http.HttpTransport
Default implementation does nothing, but subclasses may override to possibly release allocated system resources or close connections.
SIMPLE_GENERIC_URL - Static variable in class com.google.api.client.testing.http.HttpTesting
A simple generic URL for testing of value HttpTesting.SIMPLE_URL.
SIMPLE_URL - Static variable in class com.google.api.client.testing.http.HttpTesting
A simple string URL for testing of value "http://google.com/".
size() - Method in class com.google.api.client.util.ArrayMap
Returns the number of key-value pairs set.
skipChildren() - Method in class com.google.api.client.json.JsonParser
Skips to the matching JsonToken.END_ARRAY if current token is JsonToken.START_ARRAY, the matching JsonToken.END_OBJECT if the current token is JsonToken.START_OBJECT, else does nothing.
skipChildren() - Method in class com.google.api.client.testing.http.json.MockJsonParser
 
skipToKey(String) - Method in class com.google.api.client.json.JsonParser
Skips the values of all keys in the current object until it finds the given key.
skipToKey(Set<String>) - Method in class com.google.api.client.json.JsonParser
Skips the values of all keys in the current object until it finds one of the given keys.
SslUtils - Class in com.google.api.client.util
SSL utilities.
STATUS_CODE_FORBIDDEN - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for a server that understood the request, but is refusing to fulfill it.
STATUS_CODE_FOUND - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for a resource that has temporarily moved to a new URI.
STATUS_CODE_MOVED_PERMANENTLY - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for a resource that has permanently moved to a new URI.
STATUS_CODE_MULTIPLE_CHOICES - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for a resource corresponding to any one of a set of representations.
STATUS_CODE_NO_CONTENT - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for a successful request with no content information.
STATUS_CODE_NOT_FOUND - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for a server that has not found anything matching the Request-URI.
STATUS_CODE_NOT_MODIFIED - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for a resource that access is allowed but the document has not been modified.
STATUS_CODE_OK - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for a successful request.
STATUS_CODE_SEE_OTHER - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for a resource that has moved to a new URI and should be retrieved using GET.
STATUS_CODE_SERVER_ERROR - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for an internal server error.
STATUS_CODE_SERVICE_UNAVAILABLE - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for a service that is unavailable on the server.
STATUS_CODE_TEMPORARY_REDIRECT - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for a resource that has temporarily moved to a new URI.
STATUS_CODE_UNAUTHORIZED - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for a request that requires user authentication.
STOP - Static variable in interface com.google.api.client.http.BackOffPolicy
Value indicating that no more retries should be made, see BackOffPolicy.getNextBackOffMillis().
stopAfterEndTag(String, String) - Method in class com.google.api.client.xml.Xml.CustomizeParser
Returns whether to stop parsing when reaching the end tag of an XML element after it has been processed.
stopAt(Object, String) - Method in class com.google.api.client.json.CustomizeJsonParser
Returns whether to stop parsing at the given key of the given context object.
stopBeforeStartTag(String, String) - Method in class com.google.api.client.xml.Xml.CustomizeParser
Returns whether to stop parsing when reaching the start tag of an XML element before it has been processed.
StringUtils - Class in com.google.api.client.util
Utilities for strings.
supportsHead() - Method in class com.google.api.client.http.apache.ApacheHttpTransport
Deprecated.
supportsHead() - Method in class com.google.api.client.http.HttpTransport
Deprecated.
(scheduled to be removed in 1.14) Use HttpTransport.supportsMethod(String) instead
supportsHead() - Method in class com.google.api.client.http.javanet.NetHttpTransport
Deprecated.
supportsHead() - Method in class com.google.api.client.testing.http.MockHttpTransport
Deprecated.
supportsMethod(String) - Method in class com.google.api.client.http.apache.ApacheHttpTransport
 
supportsMethod(String) - Method in class com.google.api.client.http.HttpTransport
Returns whether a specified HTTP method is supported by this transport.
supportsMethod(String) - Method in class com.google.api.client.http.javanet.NetHttpTransport
 
supportsMethod(String) - Method in class com.google.api.client.testing.http.MockHttpTransport
 
supportsPatch() - Method in class com.google.api.client.http.apache.ApacheHttpTransport
Deprecated.
supportsPatch() - Method in class com.google.api.client.http.HttpTransport
Deprecated.
(scheduled to be removed in 1.14) Use HttpTransport.supportsMethod(String) instead
supportsPatch() - Method in class com.google.api.client.testing.http.MockHttpTransport
Deprecated.
SYSTEM - Static variable in interface com.google.api.client.util.Clock
Provides the default System implementation of a Clock by using System.currentTimeMillis().

T

toArray(Collection<?>, Class<?>) - Static method in class com.google.api.client.util.Types
Returns a new array of the given component type (possibly a Java primitive) that is a copy of the content of the given collection.
toByteArray(Object) - Method in class com.google.api.client.json.JsonFactory
Returns a UTF-8 encoded byte array of the serialized JSON representation for the given item using JsonGenerator.serialize(Object).
toPathParts(String) - Static method in class com.google.api.client.http.GenericUrl
Returns the decoded path parts for the given encoded path.
toPrettyString() - Method in class com.google.api.client.json.GenericJson
Returns a pretty-printed serialized JSON string representation or GenericJson.toString() if GenericJson.getFactory() is null.
toPrettyString(Object) - Method in class com.google.api.client.json.JsonFactory
Returns a pretty-printed serialized JSON string representation for the given item using JsonGenerator.serialize(Object) with JsonGenerator.enablePrettyPrint().
toString() - Method in class com.google.api.client.http.GenericUrl
 
toString() - Method in class com.google.api.client.http.HttpMediaType
 
toString() - Method in class com.google.api.client.json.GenericJson
 
toString(Object) - Method in class com.google.api.client.json.JsonFactory
Returns a serialized JSON string representation for the given item using JsonGenerator.serialize(Object).
toString() - Method in class com.google.api.client.util.DateTime
 
toString() - Method in class com.google.api.client.xml.GenericXml
 
toStringOf(Object) - Static method in class com.google.api.client.xml.Xml
Shows a debug string representation of an element data object of key/value pairs.
toStringOf(String, Object) - Method in class com.google.api.client.xml.XmlNamespaceDictionary
Shows a debug string representation of an element data object of key/value pairs.
toStringRfc3339() - Method in class com.google.api.client.util.DateTime
Formats the value as an RFC 3339 date/time string.
TRACE - Static variable in class com.google.api.client.http.HttpMethods
HTTP TRACE method.
trim() - Method in class com.google.api.client.util.ArrayMap
Trims the internal array storage to minimize memory usage.
trustAllHostnameVerifier() - Static method in class com.google.api.client.util.SslUtils
Returns a verifier that trusts all host names.
trustAllSSLContext() - Static method in class com.google.api.client.util.SslUtils
Returns an SSL context in which all X.509 certificates are trusted.
Types - Class in com.google.api.client.util
Utilities for working with Java types.

U

UnicodeEscaper - Class in com.google.api.client.util.escape
An Escaper that converts literal text into a format safe for inclusion in a particular context (such as an XML document).
UnicodeEscaper() - Constructor for class com.google.api.client.util.escape.UnicodeEscaper
 
UriTemplate - Class in com.google.api.client.http
Expands URI Templates.
UriTemplate() - Constructor for class com.google.api.client.http.UriTemplate
 
UrlEncodedContent - Class in com.google.api.client.http
Implements support for HTTP form content encoding serialization of type application/x-www-form-urlencoded as specified in the HTML 4.0 Specification.
UrlEncodedContent(Object) - Constructor for class com.google.api.client.http.UrlEncodedContent
 
UrlEncodedParser - Class in com.google.api.client.http
Implements support for HTTP form content encoding parsing of type application/x-www-form-urlencoded as specified in the HTML 4.0 Specification.
UrlEncodedParser() - Constructor for class com.google.api.client.http.UrlEncodedParser
 
USER_AGENT_SUFFIX - Static variable in class com.google.api.client.http.HttpRequest
User agent suffix for all requests.
usingProxy() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
 

V

Value - Annotation Type in com.google.api.client.util
Use this annotation to specify that an enum constant is a string data value, optionally providing the string data value to use.
valueOf(String) - Static method in enum com.google.api.client.http.HttpMethod
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.api.client.json.JsonToken
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.api.client.util.GenericData.Flags
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.api.client.http.HttpMethod
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.api.client.json.JsonToken
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.api.client.util.GenericData.Flags
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class com.google.api.client.http.HttpRequest
Current version of the Google API Client Library for Java.

W

write(int) - Method in class com.google.api.client.util.LoggingByteArrayOutputStream
 
write(byte[], int, int) - Method in class com.google.api.client.util.LoggingByteArrayOutputStream
 
write(int) - Method in class com.google.api.client.util.LoggingOutputStream
 
write(byte[], int, int) - Method in class com.google.api.client.util.LoggingOutputStream
 
writeBoolean(boolean) - Method in class com.google.api.client.json.JsonGenerator
Writes a literal JSON boolean value ('true' or 'false').
writeBoolean(boolean) - Method in class com.google.api.client.testing.http.json.MockJsonGenerator
 
writeEndArray() - Method in class com.google.api.client.json.JsonGenerator
Writes a JSON end array character ']'.
writeEndArray() - Method in class com.google.api.client.testing.http.json.MockJsonGenerator
 
writeEndObject() - Method in class com.google.api.client.json.JsonGenerator
Writes a JSON end object character '}'.
writeEndObject() - Method in class com.google.api.client.testing.http.json.MockJsonGenerator
 
writeFieldName(String) - Method in class com.google.api.client.json.JsonGenerator
Writes a JSON quoted field name.
writeFieldName(String) - Method in class com.google.api.client.testing.http.json.MockJsonGenerator
 
writeNull() - Method in class com.google.api.client.json.JsonGenerator
Writes a literal JSON null value.
writeNull() - Method in class com.google.api.client.testing.http.json.MockJsonGenerator
 
writeNumber(int) - Method in class com.google.api.client.json.JsonGenerator
Writes a JSON int value.
writeNumber(long) - Method in class com.google.api.client.json.JsonGenerator
Writes a JSON long value.
writeNumber(BigInteger) - Method in class com.google.api.client.json.JsonGenerator
Writes a JSON big integer value.
writeNumber(UnsignedInteger) - Method in class com.google.api.client.json.JsonGenerator
Writes a JSON unsigned integer value.
writeNumber(UnsignedLong) - Method in class com.google.api.client.json.JsonGenerator
Writes a JSON unsigned long value.
writeNumber(float) - Method in class com.google.api.client.json.JsonGenerator
Writes a JSON float value.
writeNumber(double) - Method in class com.google.api.client.json.JsonGenerator
Writes a JSON double value.
writeNumber(BigDecimal) - Method in class com.google.api.client.json.JsonGenerator
Writes a JSON big decimal value.
writeNumber(String) - Method in class com.google.api.client.json.JsonGenerator
Writes a JSON numeric value that has already been encoded properly.
writeNumber(int) - Method in class com.google.api.client.testing.http.json.MockJsonGenerator
 
writeNumber(long) - Method in class com.google.api.client.testing.http.json.MockJsonGenerator
 
writeNumber(BigInteger) - Method in class com.google.api.client.testing.http.json.MockJsonGenerator
 
writeNumber(UnsignedInteger) - Method in class com.google.api.client.testing.http.json.MockJsonGenerator
 
writeNumber(UnsignedLong) - Method in class com.google.api.client.testing.http.json.MockJsonGenerator
 
writeNumber(float) - Method in class com.google.api.client.testing.http.json.MockJsonGenerator
 
writeNumber(double) - Method in class com.google.api.client.testing.http.json.MockJsonGenerator
 
writeNumber(BigDecimal) - Method in class com.google.api.client.testing.http.json.MockJsonGenerator
 
writeNumber(String) - Method in class com.google.api.client.testing.http.json.MockJsonGenerator
 
writeStartArray() - Method in class com.google.api.client.json.JsonGenerator
Writes a JSON start array character '['.
writeStartArray() - Method in class com.google.api.client.testing.http.json.MockJsonGenerator
 
writeStartObject() - Method in class com.google.api.client.json.JsonGenerator
Writes a JSON start object character '{'.
writeStartObject() - Method in class com.google.api.client.testing.http.json.MockJsonGenerator
 
writeString(String) - Method in class com.google.api.client.json.JsonGenerator
Writes a JSON quoted string value.
writeString(String) - Method in class com.google.api.client.testing.http.json.MockJsonGenerator
 
writeTo(OutputStream) - Method in class com.google.api.client.http.AbstractInputStreamContent
 
writeTo(OutputStream) - Method in class com.google.api.client.http.EmptyContent
 
writeTo(OutputStream) - Method in interface com.google.api.client.http.HttpContent
Writes the content to the given output stream.
writeTo(OutputStream) - Method in class com.google.api.client.http.json.JsonHttpContent
 
writeTo(OutputStream) - Method in class com.google.api.client.http.MultipartRelatedContent
 
writeTo(OutputStream) - Method in class com.google.api.client.http.UrlEncodedContent
 
writeTo(OutputStream) - Method in class com.google.api.client.http.xml.AbstractXmlHttpContent
 
writeTo(XmlSerializer) - Method in class com.google.api.client.http.xml.AbstractXmlHttpContent
Writes the content to the given XML serializer.
writeTo(XmlSerializer) - Method in class com.google.api.client.http.xml.atom.AtomContent
 
writeTo(XmlSerializer) - Method in class com.google.api.client.http.xml.XmlHttpContent
 
writeTo(OutputStream) - Method in class com.google.api.client.testing.http.MockHttpContent
 

X

Xml - Class in com.google.api.client.xml
XML utilities.
Xml.CustomizeParser - Class in com.google.api.client.xml
Customizes the behavior of XML parsing.
Xml.CustomizeParser() - Constructor for class com.google.api.client.xml.Xml.CustomizeParser
 
XmlHttpContent - Class in com.google.api.client.http.xml
Serializes XML HTTP content based on the data key/value mapping object for an item.
XmlHttpContent(XmlNamespaceDictionary, String, Object) - Constructor for class com.google.api.client.http.xml.XmlHttpContent
XML namespace dictionary.
XmlHttpParser - Class in com.google.api.client.http.xml
Deprecated.
(scheduled to be removed in 1.14) Use XmlObjectParser instead.
XmlHttpParser(XmlNamespaceDictionary) - Constructor for class com.google.api.client.http.xml.XmlHttpParser
Deprecated.
 
XmlHttpParser(XmlNamespaceDictionary, String) - Constructor for class com.google.api.client.http.xml.XmlHttpParser
Deprecated.
 
XmlHttpParser.Builder - Class in com.google.api.client.http.xml
Deprecated.
Builder for XmlHttpParser.
XmlHttpParser.Builder(XmlNamespaceDictionary) - Constructor for class com.google.api.client.http.xml.XmlHttpParser.Builder
Deprecated.
 
XmlNamespaceDictionary - Class in com.google.api.client.xml
Thread-safe XML namespace dictionary that provides a one-to-one map of namespace alias to URI.
XmlNamespaceDictionary() - Constructor for class com.google.api.client.xml.XmlNamespaceDictionary
 
XmlObjectParser - Class in com.google.api.client.xml
XML HTTP parser into an data class of key/value pairs.
XmlObjectParser(XmlNamespaceDictionary) - Constructor for class com.google.api.client.xml.XmlObjectParser
Creates an XmlObjectParser using the specified non-null namespace dictionary.
A B C D E F G H I J K L M N O P R S T U V W X 

Copyright © 2011-2012 Google. All Rights Reserved.