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

A

AbstractDataStore<V extends Serializable> - Class in com.google.api.client.util.store
Abstract data store implementation.
AbstractDataStore(DataStoreFactory, String) - Constructor for class com.google.api.client.util.store.AbstractDataStore
 
AbstractDataStoreFactory - Class in com.google.api.client.util.store
Abstract data store factory implementation.
AbstractDataStoreFactory() - Constructor for class com.google.api.client.util.store.AbstractDataStoreFactory
 
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
 
AbstractMemoryDataStore<V extends Serializable> - Class in com.google.api.client.util.store
Abstract, thread-safe, in-memory implementation of a data store factory.
AbstractMemoryDataStore(DataStoreFactory, String) - Constructor for class com.google.api.client.util.store.AbstractMemoryDataStore
 
add(K, V) - Method in class com.google.api.client.util.ArrayMap
Adds the key/value mapping at the end of the list.
add(String, Object) - Method in class com.google.api.client.util.Objects.ToStringHelper
Adds a name/value pair to the formatted output in name=value format.
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.javanet.MockHttpURLConnection
Sets a custom response header.
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.
addPart(MultipartContent.Part) - Method in class com.google.api.client.http.MultipartContent
Adds an HTTP multipart part.
addWarning(String) - Method in class com.google.api.client.http.HttpHeaders
Adds the "Warning" header or null for none.
ALWAYS - Static variable in interface com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler.BackOffRequired
Back-off required implementation which returns true to every HttpBackOffUnsuccessfulResponseHandler.BackOffRequired.isRequired(HttpResponse) call.
ApacheHttpTransport - Class in com.google.api.client.http.apache
Deprecated.
Please use com.google.api.client.http.apache.v2.ApacheHttpTransport provided by the com.google.http-client:google-http-client-apache-v2 artifact.
ApacheHttpTransport() - Constructor for class com.google.api.client.http.apache.ApacheHttpTransport
Deprecated.
Constructor that uses ApacheHttpTransport.newDefaultHttpClient() for the Apache HTTP client.
ApacheHttpTransport(HttpClient) - Constructor for class com.google.api.client.http.apache.ApacheHttpTransport
Deprecated.
Constructor that allows an alternative Apache HTTP client to be used.
ApacheHttpTransport.Builder - Class in com.google.api.client.http.apache
Deprecated.
Builder for ApacheHttpTransport.
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
 

B

BackOff - Interface in com.google.api.client.util
Back-off policy when retrying an operation.
BackOffPolicy - Interface in com.google.api.client.http
Deprecated.
(scheduled to be removed in 1.18) Use HttpBackOffUnsuccessfulResponseHandler instead.
BackOffUtils - Class in com.google.api.client.util
Beta
Utilities for BackOff.
Base64 - Class in com.google.api.client.util
Deprecated.
use com.google.common.io.BaseEncoding#base64
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
 
Beta - Annotation Type in com.google.api.client.util
Deprecated.
use com.google.common.annotations.Beta
BOGUS_CA_CERT - Static variable in class com.google.api.client.testing.json.webtoken.TestCertificates
CA certificate signed with a bogus key.
build() - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
Deprecated.
Returns a new instance of ApacheHttpTransport based on the options.
build() - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
Deprecated.
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.HttpResponseException.Builder
Returns a new instance of HttpResponseException based on this builder.
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.json.JsonObjectParser.Builder
Returns a new instance of a JSON object parser.
build() - Method in class com.google.api.client.testing.http.MockHttpTransport.Builder
Builds a new instance of MockHttpTransport.
build() - Method in class com.google.api.client.util.ExponentialBackOff.Builder
Builds a new instance of ExponentialBackOff.
buildAuthority() - Method in class com.google.api.client.http.GenericUrl
Constructs the portion of the URL containing the scheme, host and port.
buildDeleteRequest(GenericUrl) - Method in class com.google.api.client.http.HttpRequestFactory
Builds a DELETE request for the given URL.
Builder() - Constructor for class com.google.api.client.http.apache.ApacheHttpTransport.Builder
Deprecated.
 
builder() - Static method in class com.google.api.client.http.ExponentialBackOffPolicy
Deprecated.
Returns an instance of a new builder.
Builder() - Constructor for class com.google.api.client.http.ExponentialBackOffPolicy.Builder
Deprecated.
 
Builder(int, String, HttpHeaders) - Constructor for class com.google.api.client.http.HttpResponseException.Builder
 
Builder(HttpResponse) - Constructor for class com.google.api.client.http.HttpResponseException.Builder
 
Builder() - Constructor for class com.google.api.client.http.javanet.NetHttpTransport.Builder
 
Builder(JsonFactory) - Constructor for class com.google.api.client.json.JsonObjectParser.Builder
 
Builder() - Constructor for class com.google.api.client.testing.http.MockHttpTransport.Builder
Constructs a new MockHttpTransport.Builder.
Builder() - Constructor for class com.google.api.client.util.ExponentialBackOff.Builder
 
buildGetRequest(GenericUrl) - Method in class com.google.api.client.http.HttpRequestFactory
Builds a GET request for the given URL.
buildHeadRequest(GenericUrl) - Method in class com.google.api.client.http.HttpRequestFactory
Builds a HEAD request for the given URL.
buildPatchRequest(GenericUrl, HttpContent) - Method in class com.google.api.client.http.HttpRequestFactory
Builds a PATCH request for the given URL and content.
buildPostRequest(GenericUrl, HttpContent) - Method in class com.google.api.client.http.HttpRequestFactory
Builds a POST request for the given URL and content.
buildPutRequest(GenericUrl, HttpContent) - Method in class com.google.api.client.http.HttpRequestFactory
Builds a PUT request for the given URL and content.
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
Deprecated.
 
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.
ByteArrayStreamingContent - Class in com.google.api.client.util
Deprecated.
use com.google.common.io.ByteSource
ByteArrayStreamingContent(byte[]) - Constructor for class com.google.api.client.util.ByteArrayStreamingContent
Deprecated.
 
ByteArrayStreamingContent(byte[], int, int) - Constructor for class com.google.api.client.util.ByteArrayStreamingContent
Deprecated.
 
ByteStreams - Class in com.google.api.client.util
Deprecated.
use Guava's com.google.common.io.ByteStreams

C

CA_CERT - Static variable in class com.google.api.client.testing.json.webtoken.TestCertificates
Test CA Certificate.
CA_KEY - Static variable in class com.google.api.client.testing.json.webtoken.TestCertificates
Private key for CA_CERT.
CertData(String) - Constructor for class com.google.api.client.testing.json.webtoken.TestCertificates.CertData
 
CharEscapers - Class in com.google.api.client.util.escape
Utility functions for encoding and decoding URIs.
Charsets - Class in com.google.api.client.util
Deprecated.
use java.nio.charset.StandardCharsets
checkArgument(boolean) - Static method in class com.google.api.client.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, Object) - Static method in class com.google.api.client.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object...) - Static method in class com.google.api.client.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkNotNull(T) - Static method in class com.google.api.client.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, Object) - Static method in class com.google.api.client.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object...) - Static method in class com.google.api.client.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkState(boolean) - Static method in class com.google.api.client.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, Object) - Static method in class com.google.api.client.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object...) - Static method in class com.google.api.client.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
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
 
clear() - Method in class com.google.api.client.util.store.AbstractMemoryDataStore
 
clear() - Method in interface com.google.api.client.util.store.DataStore
Deletes all of the stored keys and values.
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.json.rpc2.JsonRpcRequest
 
clone() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
 
clone() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Header
 
clone() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
 
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.
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.json.MockJsonGenerator
 
close() - Method in class com.google.api.client.testing.json.MockJsonParser
 
close() - Method in class com.google.api.client.testing.util.LogRecordingHandler
 
close() - Method in class com.google.api.client.testing.util.TestableByteArrayInputStream
close() - Method in class com.google.api.client.testing.util.TestableByteArrayOutputStream
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.util.PemReader
Closes the reader.
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.
Collections2 - Class in com.google.api.client.util
Deprecated.
use Guava's Collections2
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.json - package com.google.api.client.json
com.google.api.client.json.rpc2 - package com.google.api.client.json.rpc2
Beta
JSON-RPC 2.0 as specified in JSON-RPC 2.0 Specification and JSON-RPC over HTTP .
com.google.api.client.json.webtoken - package com.google.api.client.json.webtoken
com.google.api.client.testing.http - package com.google.api.client.testing.http
Beta
Testing utilities used for writing tests based on this library.
com.google.api.client.testing.http.apache - package com.google.api.client.testing.http.apache
Beta
Testing utilities used for writing tests based on the Apache HTTP Client.
com.google.api.client.testing.http.javanet - package com.google.api.client.testing.http.javanet
Beta
Testing utilities used for writing tests based on the java.net package.
com.google.api.client.testing.json - package com.google.api.client.testing.json
Beta
Testing utilities used for writing tests based on this library.
com.google.api.client.testing.json.webtoken - package com.google.api.client.testing.json.webtoken
Beta
Testing utilities used for writing tests for JSON WebToken.
com.google.api.client.testing.util - package com.google.api.client.testing.util
Beta
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.util.store - package com.google.api.client.util.store
Utilities to store serializable data.
computeLength() - Method in class com.google.api.client.http.AbstractHttpContent
Computes and returns the content length or less than zero if not known.
computeLength(HttpContent) - Static method in class com.google.api.client.http.AbstractHttpContent
Returns the computed content length based using IOUtils.computeLength(StreamingContent) or instead -1 if HttpContent.retrySupported() is false because the stream must not be read twice.
computeLength(StreamingContent) - Static method in class com.google.api.client.util.IOUtils
Computes and returns the byte content length for a streaming content by calling StreamingContent.writeTo(OutputStream) on a fake output stream that only counts bytes written.
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
 
ConnectionFactory - Interface in com.google.api.client.http.javanet
Given a URL instance, produces an HttpURLConnection.
containsKey(Object) - Method in class com.google.api.client.util.ArrayMap
Returns whether there is a mapping for the given key.
containsKey(String) - Method in class com.google.api.client.util.store.AbstractDataStore
Returns whether the store contains the given key.
containsKey(String) - Method in class com.google.api.client.util.store.AbstractMemoryDataStore
 
containsKey(String) - Method in interface com.google.api.client.util.store.DataStore
Returns whether the store contains the given key.
containsValue(Object) - Method in class com.google.api.client.util.ArrayMap
 
containsValue(V) - Method in class com.google.api.client.util.store.AbstractDataStore
Returns whether the store contains the given value.
containsValue(V) - Method in class com.google.api.client.util.store.AbstractMemoryDataStore
 
containsValue(V) - Method in interface com.google.api.client.util.store.DataStore
Returns whether the store contains the given value.
CONTENT_TYPE - Static variable in class com.google.api.client.http.UrlEncodedParser
"application/x-www-form-urlencoded" content type.
copy(InputStream, OutputStream) - Static method in class com.google.api.client.util.ByteStreams
Deprecated.
Copies all bytes from the input stream to the output stream.
copy(InputStream, OutputStream) - Static method in class com.google.api.client.util.IOUtils
Deprecated.
use ByteStreams.copy(InputStream, OutputStream)
copy(InputStream, OutputStream, boolean) - Static method in class com.google.api.client.util.IOUtils
Deprecated.
use ByteStreams.copy(InputStream, OutputStream)
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.
createClientRequestDirector(HttpRequestExecutor, ClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy, HttpRoutePlanner, HttpProcessor, HttpRequestRetryHandler, RedirectHandler, AuthenticationHandler, AuthenticationHandler, UserTokenHandler, HttpParams) - Method in class com.google.api.client.testing.http.apache.MockHttpClient
 
createDataStore(String) - Method in class com.google.api.client.util.store.AbstractDataStoreFactory
Returns a new instance of a type-specific data store based on the given unique ID.
createDataStore(String) - Method in class com.google.api.client.util.store.FileDataStoreFactory
 
createDataStore(String) - Method in class com.google.api.client.util.store.MemoryDataStoreFactory
 
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.json.MockJsonFactory
 
createJsonGenerator(Writer) - Method in class com.google.api.client.testing.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.json.MockJsonFactory
 
createJsonParser(InputStream, Charset) - Method in class com.google.api.client.testing.json.MockJsonFactory
 
createJsonParser(String) - Method in class com.google.api.client.testing.json.MockJsonFactory
 
createJsonParser(Reader) - Method in class com.google.api.client.testing.json.MockJsonFactory
 
createMtlsKeyStore(InputStream) - Static method in class com.google.api.client.util.SecurityUtils
Beta
Create a keystore for mutual TLS with the certificate and private key provided.
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.
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
Beta
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
 
DataStore<V extends Serializable> - Interface in com.google.api.client.util.store
Stores and manages serializable data of a specific type, where the key is a string and the value is a Serializable object.
DataStoreFactory - Interface in com.google.api.client.util.store
Factory for a store that manages serializable data, where the key is a string and the value is a Serializable object.
DataStoreUtils - Class in com.google.api.client.util.store
Utilities for data stores.
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.
DateTime.SecondsAndNanos - Class in com.google.api.client.util
A timestamp represented as the number of seconds and nanoseconds since Epoch.
decodeBase64(byte[]) - Static method in class com.google.api.client.util.Base64
Deprecated.
Decodes Base64 data into octets.
decodeBase64(String) - Static method in class com.google.api.client.util.Base64
Deprecated.
Decodes a Base64 String into octets.
decodeUri(String) - Static method in class com.google.api.client.util.escape.CharEscapers
Decodes application/x-www-form-urlencoded strings.
decodeUriPath(String) - Static method in class com.google.api.client.util.escape.CharEscapers
Decodes the path component of a URI.
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 - Static variable in interface com.google.api.client.util.Sleeper
Provides the default implementation based on Thread.sleep(long).
DEFAULT_INITIAL_INTERVAL_MILLIS - Static variable in class com.google.api.client.http.ExponentialBackOffPolicy
Deprecated.
The default initial interval value in milliseconds (0.5 seconds).
DEFAULT_INITIAL_INTERVAL_MILLIS - Static variable in class com.google.api.client.util.ExponentialBackOff
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
Deprecated.
The default maximum elapsed time in milliseconds (15 minutes).
DEFAULT_MAX_ELAPSED_TIME_MILLIS - Static variable in class com.google.api.client.util.ExponentialBackOff
The default maximum elapsed time in milliseconds (15 minutes).
DEFAULT_MAX_INTERVAL_MILLIS - Static variable in class com.google.api.client.http.ExponentialBackOffPolicy
Deprecated.
The default maximum back off time in milliseconds (1 minute).
DEFAULT_MAX_INTERVAL_MILLIS - Static variable in class com.google.api.client.util.ExponentialBackOff
The default maximum back off time in milliseconds (1 minute).
DEFAULT_MULTIPLIER - Static variable in class com.google.api.client.http.ExponentialBackOffPolicy
Deprecated.
The default multiplier value (1.5 which is 50% increase per back off).
DEFAULT_MULTIPLIER - Static variable in class com.google.api.client.util.ExponentialBackOff
The default multiplier value (1.5 which is 50% increase per back off).
DEFAULT_NUMBER_OF_RETRIES - Static variable in class com.google.api.client.http.HttpRequest
The default number of retries that will be allowed to execute before the request will be terminated.
DEFAULT_RANDOMIZATION_FACTOR - Static variable in class com.google.api.client.http.ExponentialBackOffPolicy
Deprecated.
The default randomization factor (0.5 which results in a random period ranging between 50% below and 50% above the retry interval).
DEFAULT_RANDOMIZATION_FACTOR - Static variable in class com.google.api.client.util.ExponentialBackOff
The default randomization factor (0.5 which results in a random period ranging between 50% below and 50% above the retry interval).
DefaultConnectionFactory - Class in com.google.api.client.http.javanet
Default implementation of ConnectionFactory, which simply attempts to open the connection with an optional Proxy.
DefaultConnectionFactory() - Constructor for class com.google.api.client.http.javanet.DefaultConnectionFactory
 
DefaultConnectionFactory(Proxy) - Constructor for class com.google.api.client.http.javanet.DefaultConnectionFactory
 
DELETE - Static variable in class com.google.api.client.http.HttpMethods
HTTP DELETE method.
delete(String) - Method in class com.google.api.client.util.store.AbstractMemoryDataStore
 
delete(String) - Method in interface com.google.api.client.util.store.DataStore
Deletes the stored key and value based on the given key, or ignored if the key doesn't already exist.
DerEncoder - Class in com.google.api.client.json.webtoken
Utilities for re-encoding a signature byte array with DER encoding.
DerEncoder() - Constructor for class com.google.api.client.json.webtoken.DerEncoder
 
deserialize(byte[]) - Static method in class com.google.api.client.util.IOUtils
Deserializes the given byte array into to a newly allocated object.
deserialize(InputStream) - Static method in class com.google.api.client.util.IOUtils
Deserializes the given input stream into to a newly allocated object, and close the input stream.
disconnect() - Method in class com.google.api.client.http.HttpResponse
Disconnect using LowLevelHttpResponse.disconnect(), then close the HTTP response content using HttpResponse.ignore().
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
 
disconnect() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
 
doNotValidateCertificate() - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
Deprecated.
Beta
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
Beta
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.

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).
encode(StreamingContent, OutputStream) - Method in class com.google.api.client.http.GZipEncoding
 
encode(StreamingContent, OutputStream) - Method in interface com.google.api.client.http.HttpEncoding
Encodes the streaming content into the output stream.
encodeBase64(byte[]) - Static method in class com.google.api.client.util.Base64
Deprecated.
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
Deprecated.
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
Deprecated.
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
Deprecated.
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
 
equal(Object, Object) - Static method in class com.google.api.client.util.Objects
Determines whether two possibly-null objects are equal.
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
equals(Object) - Method in class com.google.api.client.util.DateTime.SecondsAndNanos
 
equals(Object) - Method in class com.google.api.client.util.GenericData
 
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.
ERROR_BUF - Static variable in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
Deprecated.
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
Deprecated.
escapeUriConformant(String) - Static method in class com.google.api.client.util.escape.CharEscapers
Escapes the string value so it can be safely included in any part of a URI.
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.
escapeUriPathWithoutReserved(String) - Static method in class com.google.api.client.util.escape.CharEscapers
Escapes a URI path but retains all reserved characters, including all general delimiters.
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.
escapeUriUserInfo(String) - Static method in class com.google.api.client.util.escape.CharEscapers
Escapes the string value so it can be safely included in URI user info part.
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
 
executeAsync(Executor) - Method in class com.google.api.client.http.HttpRequest
Beta
Executes this request asynchronously in a single separate thread using the supplied executor.
executeAsync() - Method in class com.google.api.client.http.HttpRequest
Beta
Executes this request asynchronously using HttpRequest.executeAsync(Executor) in a single separate thread using Executors.newFixedThreadPool(int).
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.
ExponentialBackOff - Class in com.google.api.client.util
Implementation of BackOff that increases the back off period for each retry attempt using a randomization function that grows exponentially.
ExponentialBackOff() - Constructor for class com.google.api.client.util.ExponentialBackOff
Creates an instance of ExponentialBackOffPolicy using default values.
ExponentialBackOff(ExponentialBackOff.Builder) - Constructor for class com.google.api.client.util.ExponentialBackOff
 
ExponentialBackOff.Builder - Class in com.google.api.client.util
Builder for ExponentialBackOff.
ExponentialBackOffPolicy - Class in com.google.api.client.http
Deprecated.
(scheduled to be removed in 1.18). Use HttpBackOffUnsuccessfulResponseHandler with ExponentialBackOff instead.
ExponentialBackOffPolicy() - Constructor for class com.google.api.client.http.ExponentialBackOffPolicy
Deprecated.
Creates an instance of ExponentialBackOffPolicy using default values.
ExponentialBackOffPolicy(ExponentialBackOffPolicy.Builder) - Constructor for class com.google.api.client.http.ExponentialBackOffPolicy
Deprecated.
 
ExponentialBackOffPolicy.Builder - Class in com.google.api.client.http
Deprecated.

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
 
FileDataStoreFactory - Class in com.google.api.client.util.store
Thread-safe file implementation of a credential store.
FileDataStoreFactory(File) - Constructor for class com.google.api.client.util.store.FileDataStoreFactory
 
FixedClock - Class in com.google.api.client.testing.http
Beta
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.json.MockJsonGenerator
 
flush() - Method in class com.google.api.client.testing.util.LogRecordingHandler
 
FOO_BAR_COM_CERT - Static variable in class com.google.api.client.testing.json.webtoken.TestCertificates
Test leaf certificate.
FOO_BAR_COM_KEY - Static variable in class com.google.api.client.testing.json.webtoken.TestCertificates
Private key for FOO_BAR_COM_CERT.
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).
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).
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).
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).

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 a GenericUrl from a URL encoded string.
GenericUrl(String, boolean) - Constructor for class com.google.api.client.http.GenericUrl
Constructs a GenericUrl from a string.
GenericUrl(URI) - Constructor for class com.google.api.client.http.GenericUrl
Constructs from a URI.
GenericUrl(URI, boolean) - Constructor for class com.google.api.client.http.GenericUrl
Constructs from a URI.
GenericUrl(URL) - Constructor for class com.google.api.client.http.GenericUrl
Constructs from a URL.
GenericUrl(URL, boolean) - Constructor for class com.google.api.client.http.GenericUrl
Constructs from a URL.
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
 
get(String) - Method in class com.google.api.client.util.store.AbstractMemoryDataStore
 
get(String) - Method in interface com.google.api.client.util.store.DataStore
Returns the stored value for the given key or null if not found.
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.
getAge() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "Age" header or null for none.
getAlgorithm() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
Returns the algorithm header parameter that identifies the cryptographic algorithm used to secure the JWS or null for none.
getAll(String) - Method in class com.google.api.client.http.GenericUrl
Returns all query parameter values for the given query parameter name.
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).
getAttemptCount() - Method in class com.google.api.client.http.HttpResponseException.Builder
Returns the request attempt count
getAttemptCount() - Method in exception com.google.api.client.http.HttpResponseException
Returns the attempt count
getAudience() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
Returns the audience claim that identifies the audience that the JWT is intended for (should either be a String or a List<String>) or null for none.
getAudienceAsList() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
Returns the list of audience claim that identifies the audience that the JWT is intended for or empty for none.
getAuthenticate() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "WWW-Authenticate" header or null for none.
getAuthenticateAsList() - Method in class com.google.api.client.http.HttpHeaders
Returns all "WWW-Authenticate" headers 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.
getBackOff() - Method in class com.google.api.client.http.HttpBackOffIOExceptionHandler
Returns the back-off.
getBackOff() - Method in class com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler
Returns the back-off.
getBackOffPolicy() - Method in class com.google.api.client.http.HttpRequest
getBackOffRequired() - Method in class com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler
Returns the HttpBackOffUnsuccessfulResponseHandler.BackOffRequired instance which determines if back-off is required based on an abnormal HTTP response.
getBase64DecodedBytes() - Method in class com.google.api.client.util.PemReader.Section
Returns the base64-decoded bytes (modifiable array).
getBase64Der() - Method in class com.google.api.client.testing.json.webtoken.TestCertificates.CertData
 
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.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.MultipartContent
Returns the boundary string to use.
getBuffer() - Method in class com.google.api.client.testing.util.TestableByteArrayInputStream
Returns the written buffer value as a modifiable byte array.
getBuffer() - Method in class com.google.api.client.testing.util.TestableByteArrayOutputStream
Returns the written buffer value as a modifiable byte array.
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.json.MockJsonParser
 
getCacheControl() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "Cache-Control" header or null for none.
getCertfificate() - Method in class com.google.api.client.testing.json.webtoken.TestCertificates.CertData
 
getCharset() - Method in class com.google.api.client.http.AbstractHttpContent
Returns the charset specified in the media type or ISO_8859_1 if not specified.
getCharsetParameter() - Method in class com.google.api.client.http.HttpMediaType
Returns the specified charset or null if unset.
getChunkLength() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
 
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.
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.HttpEncodingStreamingContent
Returns the streaming content.
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.HttpResponseException.Builder
Returns the HTTP response content or null for none.
getContent() - Method in exception com.google.api.client.http.HttpResponseException
Returns the HTTP response content or null for none.
getContent() - Method in class com.google.api.client.http.LowLevelHttpResponse
Returns the HTTP response content input stream or null for none.
getContent() - Method in class com.google.api.client.http.MultipartContent.Part
Returns the HTTP content 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.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.LowLevelHttpRequest
Returns the content encoding (for example "gzip") 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.LowLevelHttpRequest
Returns the content length or less than zero if not known.
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 class com.google.api.client.http.HttpResponse
Returns the content type or null for none.
getContentType() - Method in class com.google.api.client.http.LowLevelHttpRequest
Returns the content type or null for none.
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.json.webtoken.JsonWebToken.Header
Returns the content type header parameter used to declare structural information about the JWT or null for none.
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.
getCount() - Method in class com.google.api.client.testing.util.MockSleeper
Returns the number of times MockSleeper.sleep(long) was called.
getCritical() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
Returns an array listing the header parameter names that define extensions used in the JWS header that MUST be understood and processed or null for none.
getCurrentIntervalMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
Deprecated.
Returns the current retry interval in milliseconds.
getCurrentIntervalMillis() - Method in class com.google.api.client.util.ExponentialBackOff
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.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.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.
getDataDirectory() - Method in class com.google.api.client.util.store.FileDataStoreFactory
Returns the data directory.
getDataStore(String) - Method in class com.google.api.client.util.store.AbstractDataStoreFactory
 
getDataStore(String) - Method in interface com.google.api.client.util.store.DataStoreFactory
Returns a type-specific data store based on the given unique ID.
getDataStoreFactory() - Method in class com.google.api.client.util.store.AbstractDataStore
Returns the data store factory.
getDataStoreFactory() - Method in interface com.google.api.client.util.store.DataStore
Returns the data store factory.
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.json.MockJsonParser
 
getDefaultInstance() - Static method in class com.google.api.client.util.store.MemoryDataStoreFactory
Returns a global thread-safe instance.
getDefaultKeyManagerFactory() - Static method in class com.google.api.client.util.SslUtils
Returns the default key manager factory.
getDefaultKeyStore() - Static method in class com.google.api.client.util.SecurityUtils
Returns the default key store using KeyStore.getDefaultType().
getDefaultTrustManagerFactory() - Static method in class com.google.api.client.util.SslUtils
Returns the default trust manager factory.
getDer() - Method in class com.google.api.client.testing.json.webtoken.TestCertificates.CertData
 
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.json.MockJsonParser
 
getElapsedTimeMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
Deprecated.
Returns the elapsed time in milliseconds since an ExponentialBackOffPolicy instance is created and is reset when ExponentialBackOffPolicy.reset() is called.
getElapsedTimeMillis() - Method in class com.google.api.client.util.ExponentialBackOff
Returns the elapsed time in milliseconds since an ExponentialBackOff instance is created and is reset when ExponentialBackOff.reset() is called.
getEncoding() - Method in class com.google.api.client.http.HttpEncodingStreamingContent
Returns the HTTP encoding.
getEncoding() - Method in class com.google.api.client.http.HttpRequest
Returns the HTTP content encoding or null for none.
getEncoding() - Method in class com.google.api.client.http.MultipartContent.Part
Returns the HTTP encoding or null for none.
getEndSpanOptions(Integer) - Static method in class com.google.api.client.http.OpenCensusUtils
Returns an EndSpanOptions to end a http span according to the status code.
getErrorStream() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
 
getEs256SignatureAlgorithm() - Static method in class com.google.api.client.util.SecurityUtils
Returns the SHA-256 with ECDSA signature algorithm
getETag() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "ETag" header or null for none.
getExpirationTimeSeconds() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
Returns the expiration time (in seconds) claim that identifies the expiration time on or after which the token MUST NOT be accepted for processing 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.json.MockJsonGenerator
 
getFactory() - Method in class com.google.api.client.testing.json.MockJsonParser
 
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().
getFieldInfos() - Method in class com.google.api.client.util.ClassInfo
Returns an unmodifiable collection of the FieldInfos for this class, without any guarantee of order.
getFieldValue(Field, Object) - Static method in class com.google.api.client.util.FieldInfo
Returns the value of the given field in the given object 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.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.
getHeader() - Method in class com.google.api.client.json.webtoken.JsonWebSignature
 
getHeader() - Method in class com.google.api.client.json.webtoken.JsonWebToken
Returns the header.
getHeaderClass() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Parser
Returns the header class to use for parsing.
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
 
getHeaderField(String) - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
 
getHeaderFields() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
 
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 class com.google.api.client.http.HttpResponseException.Builder
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.http.MultipartContent.Part
Returns the HTTP headers or null for none.
getHeaders() - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
Returns an unmodifiable view of the map of lowercase header name to values.
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
Deprecated.
Returns the Apache HTTP client.
getHttpParams() - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
Deprecated.
Returns the HTTP parameters.
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.
getId() - Method in class com.google.api.client.util.store.AbstractDataStore
 
getId() - Method in interface com.google.api.client.util.store.DataStore
Returns the data store ID.
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.
getIfRange() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "If-Range" 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
Deprecated.
Returns the initial retry interval in milliseconds.
getInitialIntervalMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
Deprecated.
Returns the initial retry interval in milliseconds.
getInitialIntervalMillis() - Method in class com.google.api.client.util.ExponentialBackOff.Builder
Returns the initial retry interval in milliseconds.
getInitialIntervalMillis() - Method in class com.google.api.client.util.ExponentialBackOff
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.testing.http.javanet.MockHttpURLConnection
 
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.json.MockJsonParser
 
getIOExceptionHandler() - Method in class com.google.api.client.http.HttpRequest
Beta
Returns the HTTP I/O exception handler or null for none.
getIssuedAtTimeSeconds() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
Returns the issued at claim that identifies the time (in seconds) at which the JWT was issued or null for none.
getIssuer() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
Returns the issuer claim that identifies the principal that issued the JWT or null for none.
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.
getJavaKeyStore() - Static method in class com.google.api.client.util.SecurityUtils
Returns the Java KeyStore (JKS).
getJsonFactory() - Method in class com.google.api.client.http.json.JsonHttpContent
Returns the JSON factory.
getJsonFactory() - Method in class com.google.api.client.json.JsonObjectParser.Builder
Returns the JSON factory.
getJsonFactory() - Method in class com.google.api.client.json.JsonObjectParser
Returns the JSON factory.
getJsonFactory() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Parser
Returns the JSON factory.
getJsonWebSignature() - Static method in class com.google.api.client.testing.json.webtoken.TestCertificates
 
getJwk() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
Returns the JSON Web Key header parameter that is a public key that corresponds to the key used to digitally sign the JWS or null for none.
getJwkUrl() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
Returns the JSON Web Key URL header parameter that is an absolute URL that refers to a resource for a set of JSON-encoded public keys, one of which corresponds to the key that was used to digitally sign the JWS or null for none.
getJwtId() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
Returns the JWT ID claim that provides a unique identifier for the JWT or null for none.
getKey(int) - Method in class com.google.api.client.util.ArrayMap
Returns the key at the given index or null if out of bounds.
getKeyId() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
Returns the key ID header parameter that is a hint indicating which specific key owned by the signer should be used to validate the digital signature or null for none.
getLastMillis() - Method in class com.google.api.client.testing.util.MockSleeper
Returns the value of millis parameter when MockSleeper.sleep(long) was last called or 0 if not called.
getLastModified() - Method in class com.google.api.client.http.HttpHeaders
Returns the first "Last-Modified" header 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.json.MockJsonParser
 
getLowLevelHttpRequest() - Method in class com.google.api.client.testing.http.MockHttpTransport.Builder
Returns the MockLowLevelHttpRequest that is associated with this MockHttpTransport.Builder, or null if no such instance exists.
getLowLevelHttpRequest() - Method in class com.google.api.client.testing.http.MockHttpTransport
Returns the MockLowLevelHttpRequest that is associated with this MockHttpTransport.Builder, or null if no such instance exists.
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
Deprecated.
Returns the maximum elapsed time in milliseconds.
getMaxElapsedTimeMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
Deprecated.
Returns the maximum elapsed time in milliseconds.
getMaxElapsedTimeMillis() - Method in class com.google.api.client.util.ExponentialBackOff.Builder
Returns the maximum elapsed time in milliseconds.
getMaxElapsedTimeMillis() - Method in class com.google.api.client.util.ExponentialBackOff
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
Deprecated.
Returns the maximum value of the back off period in milliseconds.
getMaxIntervalMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
Deprecated.
Returns the maximum value of the back off period in milliseconds.
getMaxIntervalMillis() - Method in class com.google.api.client.util.ExponentialBackOff.Builder
Returns the maximum value of the back off period in milliseconds.
getMaxIntervalMillis() - Method in class com.google.api.client.util.ExponentialBackOff
Returns the maximum value of the back off period in milliseconds.
getMaxTries() - Method in class com.google.api.client.testing.util.MockBackOff
Returns the maximum number of tries before returning BackOff.STOP.
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.
getMessage() - Method in class com.google.api.client.http.HttpResponseException.Builder
Returns the detail message to use or null for none.
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
Deprecated.
Returns the value to multiply the current interval with for each retry attempt.
getMultiplier() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
Deprecated.
Returns the value to multiply the current interval with for each retry attempt.
getMultiplier() - Method in class com.google.api.client.util.ExponentialBackOff.Builder
Returns the value to multiply the current interval with for each retry attempt.
getMultiplier() - Method in class com.google.api.client.util.ExponentialBackOff
Returns the value to multiply the current interval with for each retry attempt.
getName() - Method in class com.google.api.client.http.GZipEncoding
 
getName() - Method in interface com.google.api.client.http.HttpEncoding
Returns the content encoding name (for example "gzip") or null for none.
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.
getNanoClock() - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
Deprecated.
Returns the nano clock.
getNanoClock() - Method in class com.google.api.client.util.ExponentialBackOff.Builder
Returns the nano clock.
getNanos() - Method in class com.google.api.client.util.DateTime.SecondsAndNanos
 
getNextBackOffMillis() - Method in interface com.google.api.client.http.BackOffPolicy
Deprecated.
Gets the number of milliseconds to wait before retrying an HTTP request.
getNextBackOffMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
Deprecated.
Gets the number of milliseconds to wait before retrying an HTTP request.
getNotBeforeTimeSeconds() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
Returns the not before claim that identifies the time (in seconds) before which the token MUST NOT be accepted for processing or null for none.
getNumberOfRetries() - Method in class com.google.api.client.http.HttpRequest
Returns the number of retries that will be allowed to execute before the request will be terminated or 0 to not retry requests.
getNumberOfTries() - Method in class com.google.api.client.testing.util.MockBackOff
Returns the number of tries so far.
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() - Method in class com.google.api.client.http.HttpRequest
Returns the ObjectParser used to parse the response or null for none.
getParts() - Method in class com.google.api.client.http.MultipartContent
Returns an unmodifiable view of the parts of the HTTP multipart request.
getPassword() - Method in class com.google.api.client.http.BasicAuthentication
Returns the password.
getPathParts() - Method in class com.google.api.client.http.GenericUrl
Returns the decoded path component by parts with each part separated by a '/' or null for none.
getPayload() - Method in class com.google.api.client.json.webtoken.JsonWebToken
Returns the payload.
getPayloadClass() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Parser
Returns the payload class to use for parsing.
getPkcs12KeyStore() - Static method in class com.google.api.client.util.SecurityUtils
Returns the PKCS12 key store.
getPkixKeyManagerFactory() - Static method in class com.google.api.client.util.SslUtils
Returns the PKIX key manager factory.
getPkixTrustManagerFactory() - Static method in class com.google.api.client.util.SslUtils
Returns the PKIX trust manager factory.
getPort() - Method in class com.google.api.client.http.GenericUrl
Returns the port number or -1 if undefined, for example 443.
getPrivateKey(KeyStore, String, String) - Static method in class com.google.api.client.util.SecurityUtils
Returns the private key from the key store.
getRandomizationFactor() - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
Deprecated.
Returns the randomization factor to use for creating a range around the retry interval.
getRandomizationFactor() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
Deprecated.
Returns the randomization factor to use for creating a range around the retry interval.
getRandomizationFactor() - Method in class com.google.api.client.util.ExponentialBackOff.Builder
Returns the randomization factor to use for creating a range around the retry interval.
getRandomizationFactor() - Method in class com.google.api.client.util.ExponentialBackOff
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.
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.apache.MockHttpClient
Returns the HTTP response code to use.
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.
getResponseReturnRawInputStream() - Method in class com.google.api.client.http.HttpRequest
Returns whether HttpResponse.getContent() should return raw input stream for this request.
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
Deprecated.
(scheduled to be removed in 1.18) Use HttpRequest.setIOExceptionHandler(HttpIOExceptionHandler) instead.
getRsaKeyFactory() - Static method in class com.google.api.client.util.SecurityUtils
Returns the RSA key factory.
getScheme() - Method in class com.google.api.client.http.GenericUrl
Returns the scheme (lowercase), for example "https".
getSeconds() - Method in class com.google.api.client.util.DateTime.SecondsAndNanos
 
getSha1WithRsaSignatureAlgorithm() - Static method in class com.google.api.client.util.SecurityUtils
Returns the SHA-1 with RSA signature algorithm.
getSha256WithRsaSignatureAlgorithm() - Static method in class com.google.api.client.util.SecurityUtils
Returns the SHA-256 with RSA signature algorithm.
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.json.MockJsonParser
 
getSignatureBytes() - Method in class com.google.api.client.json.webtoken.JsonWebSignature
Returns the bytes of the signature.
getSignedContentBytes() - Method in class com.google.api.client.json.webtoken.JsonWebSignature
Returns the bytes of the signature content.
getSleeper() - Method in class com.google.api.client.http.HttpBackOffIOExceptionHandler
Returns the sleeper.
getSleeper() - Method in class com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler
Returns the sleeper.
getSleeper() - Method in class com.google.api.client.http.HttpRequest
Returns the sleeper.
getSslContext() - Static method in class com.google.api.client.util.SslUtils
Returns the SSL context for "SSL" algorithm.
getSSLSocketFactory() - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
Deprecated.
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 class com.google.api.client.http.HttpResponseException.Builder
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 class com.google.api.client.http.HttpResponseException.Builder
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.
getStreamingContent() - Method in class com.google.api.client.http.LowLevelHttpRequest
Returns the streaming content or null for no content.
getSubject() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
Returns the subject claim identifying the principal that is the subject of the JWT 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.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.
getTitle() - Method in class com.google.api.client.util.PemReader.Section
Returns the title.
getTlsSslContext() - Static method in class com.google.api.client.util.SslUtils
Returns the SSL context for "TLS" algorithm.
getTracer() - Static method in class com.google.api.client.http.OpenCensusUtils
Returns the tracing component of OpenCensus.
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.
getTrustManager() - Method in class com.google.api.client.testing.json.webtoken.TestCertificates.CertData
 
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.json.webtoken.JsonWebToken.Header
Returns the type header parameter used to declare the type of this object or null for none.
getType() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
Returns the type claim that is used to declare a type for the contents of this JWT Claims Set or null for none.
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.
getUnsuccessfulResponseHandler() - Method in class com.google.api.client.http.HttpRequest
Returns the HTTP unsuccessful (non-2XX) response handler or null for none.
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.
getUseRawRedirectUrls() - Method in class com.google.api.client.http.HttpRequest
Return whether to use raw redirect URLs.
getUserInfo() - Method in class com.google.api.client.http.GenericUrl
Returns the user info or null for none, for example "username:password".
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".
getWarning() - Method in class com.google.api.client.http.HttpHeaders
Returns all "Warning" headers or null for none.
getWrapperKey() - Method in class com.google.api.client.http.json.JsonHttpContent
Returns the wrapper key for the JSON content or null for none.
getWrapperKeys() - Method in class com.google.api.client.json.JsonObjectParser.Builder
Returns the wrapper keys for the JSON content.
getWrapperKeys() - Method in class com.google.api.client.json.JsonObjectParser
Returns the unmodifiable set of wrapper keys for the JSON content.
getWriteTimeout() - Method in class com.google.api.client.http.HttpRequest
Returns the timeout in milliseconds to send POST/PUT data or 0 for an infinite timeout.
getX509CertificateFactory() - Static method in class com.google.api.client.util.SecurityUtils
Returns the X.509 certificate factory.
getX509Certificates() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
Returns the X.509 certificate chain header parameter contains the X.509 public key certificate or certificate chain corresponding to the key used to digitally sign the JWS or null for none.
getX509Thumbprint() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
Returns the X.509 certificate thumbprint header parameter that provides a base64url encoded SHA-1 thumbprint (a.k.a.
getX509Url() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
Returns the X.509 URL header parameter that is an absolute URL that refers to a resource for the X.509 public key certificate or certificate chain corresponding to the key used to digitally sign the JWS or null for none.
GZipEncoding - Class in com.google.api.client.http
GZip HTTP content encoding.
GZipEncoding() - Constructor for class com.google.api.client.http.GZipEncoding
 

H

handleIOException(HttpRequest, boolean) - Method in class com.google.api.client.http.HttpBackOffIOExceptionHandler
Invoked when an IOException is thrown during an HTTP request.
handleIOException(HttpRequest, boolean) - Method in interface com.google.api.client.http.HttpIOExceptionHandler
Invoked when an IOException is thrown during an HTTP request.
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 class com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler
Handler that will be invoked when an abnormal response is received.
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
 
hashCode() - Method in class com.google.api.client.util.DateTime
 
hashCode() - Method in class com.google.api.client.util.DateTime.SecondsAndNanos
 
hashCode() - Method in class com.google.api.client.util.GenericData
 
HEAD - Static variable in class com.google.api.client.http.HttpMethods
HTTP HEAD method.
Header() - Constructor for class com.google.api.client.json.webtoken.JsonWebSignature.Header
 
Header() - Constructor for class com.google.api.client.json.webtoken.JsonWebToken.Header
 
HttpBackOffIOExceptionHandler - Class in com.google.api.client.http
Beta
HttpIOExceptionHandler implementation with BackOff.
HttpBackOffIOExceptionHandler(BackOff) - Constructor for class com.google.api.client.http.HttpBackOffIOExceptionHandler
Constructs a new instance from a BackOff.
HttpBackOffUnsuccessfulResponseHandler - Class in com.google.api.client.http
Beta
Back-off handler which handles an abnormal HTTP response with BackOff.
HttpBackOffUnsuccessfulResponseHandler(BackOff) - Constructor for class com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler
Constructs a new instance from a BackOff.
HttpBackOffUnsuccessfulResponseHandler.BackOffRequired - Interface in com.google.api.client.http
Beta
Interface which defines if back-off is required based on an abnormal HttpResponse.
HttpContent - Interface in com.google.api.client.http
Serializes HTTP request content into an output stream.
HttpEncoding - Interface in com.google.api.client.http
HTTP content encoding.
HttpEncodingStreamingContent - Class in com.google.api.client.http
Streaming content based on an HTTP encoding.
HttpEncodingStreamingContent(StreamingContent, HttpEncoding) - Constructor for class com.google.api.client.http.HttpEncodingStreamingContent
 
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
 
HttpIOExceptionHandler - Interface in com.google.api.client.http
Beta
Handles an IOException in an HTTP request.
HttpMediaType - Class in com.google.api.client.http
HTTP Media-type as specified in the HTTP RFC.
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.
HttpMethods - Class in com.google.api.client.http
HTTP request method constants specified in RFC 2616 Section 5.1.1.
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(HttpResponseException.Builder) - Constructor for exception com.google.api.client.http.HttpResponseException
 
HttpResponseException.Builder - Class in com.google.api.client.http
Builder.
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
Beta
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.
initSslContext(SSLContext, KeyStore, TrustManagerFactory) - Static method in class com.google.api.client.util.SslUtils
Initializes the SSL context to the trust managers supplied by the trust manager factory for the given trust store.
initSslContext(SSLContext, KeyStore, TrustManagerFactory, KeyStore, String, KeyManagerFactory) - Static method in class com.google.api.client.util.SslUtils
Beta
Initializes the SSL context to the trust managers supplied by the trust manager factory for the given trust store, and to the key managers supplied by the key manager factory for the given key store.
INPUT_BUF - Static variable in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
Deprecated.
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.
IOUtils - Class in com.google.api.client.util
Utilities for I/O streams.
IOUtils() - Constructor for class com.google.api.client.util.IOUtils
 
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
Deprecated.
Determines if back off is required based on the specified status code.
isBackOffRequired(int) - Method in class com.google.api.client.http.ExponentialBackOffPolicy
Deprecated.
Determines if back off is required based on the specified status code.
isCalled() - Method in class com.google.api.client.testing.http.MockHttpUnsuccessfulResponseHandler
isClosed() - Method in class com.google.api.client.testing.json.MockJsonParser
Returns whether MockJsonParser.close() was called.
isClosed() - Method in class com.google.api.client.testing.util.TestableByteArrayInputStream
Returns whether the output stream has been closed.
isClosed() - Method in class com.google.api.client.testing.util.TestableByteArrayOutputStream
Returns whether the output stream has been closed.
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.
isDisconnected() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
Returns whether MockLowLevelHttpResponse.disconnect() has been called.
isEmpty() - Method in class com.google.api.client.util.store.AbstractDataStore
Returns whether there are any stored keys.
isEmpty() - Method in class com.google.api.client.util.store.AbstractMemoryDataStore
 
isEmpty() - Method in interface com.google.api.client.util.store.DataStore
Returns whether there are any stored keys.
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.
isMtls() - Method in class com.google.api.client.http.HttpTransport
Returns whether the transport is mTLS.
isMtls() - Method in class com.google.api.client.http.javanet.NetHttpTransport
 
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.
isNullOrEmpty(String) - Static method in class com.google.api.client.util.Strings
Returns true if the given string is null or is the empty string.
ISO_8859_1 - Static variable in class com.google.api.client.util.Charsets
Deprecated.
ISO-8859-1 charset.
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).
isRecordEvent() - Static method in class com.google.api.client.http.OpenCensusUtils
Returns whether spans should be recorded locally.
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, 308.
isRequired(HttpResponse) - Method in interface com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler.BackOffRequired
Invoked when an abnormal response is received and determines if back-off is required.
isSetFixedLengthStreamingModeIntCalled() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
 
isSetFixedLengthStreamingModeLongCalled() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
 
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()).
isSymbolicLink(File) - Static method in class com.google.api.client.util.IOUtils
Deprecated.
use java.nio.file.Path#isSymbolicLink
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

join(Iterable<?>) - Method in class com.google.api.client.util.Joiner
Returns a string containing the string representation of each of parts, using the previously configured separator between each.
Joiner - Class in com.google.api.client.util
An object which joins pieces of text (specified as an array, Iterable, varargs or even a Map) with a separator.
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
 
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
 
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
 
JsonObjectParser(JsonObjectParser.Builder) - Constructor for class com.google.api.client.json.JsonObjectParser
 
JsonObjectParser.Builder - Class in com.google.api.client.json
Builder.
JsonParser - Class in com.google.api.client.json
Abstract low-level JSON parser.
JsonParser() - Constructor for class com.google.api.client.json.JsonParser
 
JsonPolymorphicTypeMap - Annotation Type in com.google.api.client.json
Beta
Declares that the data type enclosing this field is polymorphic, and that the value of this field in a heterogeneous JSON schema will determine what type the data should be parsed into.
JsonPolymorphicTypeMap.TypeDef - Annotation Type in com.google.api.client.json
Declares a mapping between a key value and a referenced class.
JsonRpcRequest - Class in com.google.api.client.json.rpc2
Beta
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.
JsonWebSignature - Class in com.google.api.client.json.webtoken
JsonWebSignature(JsonWebSignature.Header, JsonWebToken.Payload, byte[], byte[]) - Constructor for class com.google.api.client.json.webtoken.JsonWebSignature
 
JsonWebSignature.Header - Class in com.google.api.client.json.webtoken
Header as specified in Reserved Header Parameter Names.
JsonWebSignature.Parser - Class in com.google.api.client.json.webtoken
JWS parser.
JsonWebToken - Class in com.google.api.client.json.webtoken
JsonWebToken(JsonWebToken.Header, JsonWebToken.Payload) - Constructor for class com.google.api.client.json.webtoken.JsonWebToken
 
JsonWebToken.Header - Class in com.google.api.client.json.webtoken
Header as specified in JWT Header.
JsonWebToken.Payload - Class in com.google.api.client.json.webtoken
Payload as specified in Reserved Claim Names.
JWS_SIGNATURE - Static variable in class com.google.api.client.testing.json.webtoken.TestCertificates
A test JWS signature.

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.
keySet() - Method in class com.google.api.client.util.store.AbstractMemoryDataStore
 
keySet() - Method in interface com.google.api.client.util.store.DataStore
Returns the unmodifiable set of all stored keys.
keyValueMap - Variable in class com.google.api.client.util.store.AbstractMemoryDataStore
Data store map from the key to the value.

L

limit(InputStream, long) - Static method in class com.google.api.client.util.ByteStreams
Deprecated.
Wraps an input stream, limiting the number of bytes which can be read.
LINE_SEPARATOR - Static variable in class com.google.api.client.util.StringUtils
Line separator to use for this OS, i.e.
Lists - Class in com.google.api.client.util
Static utility methods pertaining to List instances.
loadKeyStore(KeyStore, InputStream, String) - Static method in class com.google.api.client.util.SecurityUtils
Loads a key store from a stream.
loadKeyStoreFromCertificates(KeyStore, CertificateFactory, InputStream) - Static method in class com.google.api.client.util.SecurityUtils
Loads a key store with certificates generated from the specified stream using CertificateFactory.generateCertificates(InputStream).
loadPrivateKeyFromKeyStore(KeyStore, InputStream, String, String, String) - Static method in class com.google.api.client.util.SecurityUtils
Retrieves a private key from the specified key store stream and specified key store.
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
 
LoggingStreamingContent - Class in com.google.api.client.util
Wraps another streaming content without modifying the content, but also logging content using LoggingOutputStream.
LoggingStreamingContent(StreamingContent, Logger, Level, int) - Constructor for class com.google.api.client.util.LoggingStreamingContent
 
LogRecordingHandler - Class in com.google.api.client.testing.util
Beta
Logging handler that stores log records.
LogRecordingHandler() - Constructor for class com.google.api.client.testing.util.LogRecordingHandler
 
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.
Maps - Class in com.google.api.client.util
Static utility methods pertaining to Map instances.
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.
MemoryDataStoreFactory - Class in com.google.api.client.util.store
Thread-safe in-memory implementation of a data store factory.
MemoryDataStoreFactory() - Constructor for class com.google.api.client.util.store.MemoryDataStoreFactory
 
messages() - Method in class com.google.api.client.testing.util.LogRecordingHandler
Returns a new instance of a list of published record messages.
MockBackOff - Class in com.google.api.client.testing.util
Beta
Mock for BackOff that always returns a fixed number.
MockBackOff() - Constructor for class com.google.api.client.testing.util.MockBackOff
 
MockHttpClient - Class in com.google.api.client.testing.http.apache
Beta
Mock for HttpClient that does not actually make any network calls.
MockHttpClient() - Constructor for class com.google.api.client.testing.http.apache.MockHttpClient
 
MockHttpContent - Class in com.google.api.client.testing.http
Beta
Mock for HttpContent.
MockHttpContent() - Constructor for class com.google.api.client.testing.http.MockHttpContent
 
MockHttpTransport - Class in com.google.api.client.testing.http
MockHttpTransport() - Constructor for class com.google.api.client.testing.http.MockHttpTransport
 
MockHttpTransport(MockHttpTransport.Builder) - Constructor for class com.google.api.client.testing.http.MockHttpTransport
 
MockHttpTransport.Builder - Class in com.google.api.client.testing.http
Beta
Builder for MockHttpTransport.
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.json
Beta
Mock for JsonFactory.
MockJsonFactory() - Constructor for class com.google.api.client.testing.json.MockJsonFactory
 
MockJsonGenerator - Class in com.google.api.client.testing.json
MockJsonParser - Class in com.google.api.client.testing.json
Beta
Mock for JsonParser.
MockJsonParser(JsonFactory) - Constructor for class com.google.api.client.testing.json.MockJsonParser
 
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
 
MockSleeper - Class in com.google.api.client.testing.util
Beta
Mock for Sleeper.
MockSleeper() - Constructor for class com.google.api.client.testing.util.MockSleeper
 
MultipartContent - Class in com.google.api.client.http
MultipartContent() - Constructor for class com.google.api.client.http.MultipartContent
 
MultipartContent(String) - Constructor for class com.google.api.client.http.MultipartContent
 
MultipartContent.Part - Class in com.google.api.client.http
Single part of a multi-part request.

N

NanoClock - Interface in com.google.api.client.util
Nano clock which can be used to measure elapsed time in nanoseconds.
nanoTime() - Method in interface com.google.api.client.util.NanoClock
Returns the current value of the most precise available system timer, in nanoseconds for use to measure elapsed time, to match the behavior of System.nanoTime().
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.
newArrayList() - Static method in class com.google.api.client.util.Lists
Returns a new mutable, empty ArrayList instance.
newArrayList(Iterable<? extends E>) - Static method in class com.google.api.client.util.Lists
Returns a new mutable ArrayList instance containing the given elements.
newArrayList(Iterator<? extends E>) - Static method in class com.google.api.client.util.Lists
Returns a new mutable ArrayList instance containing the given elements.
newArrayListWithCapacity(int) - Static method in class com.google.api.client.util.Lists
Creates an ArrayList instance backed by an array of the exact size specified; equivalent to ArrayList(int).
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
Deprecated.
Creates a new instance of the Apache HTTP client that is used by the ApacheHttpTransport() constructor.
newEncodedRsaPrivateKeyBytes() - Static method in class com.google.api.client.testing.util.SecurityTestUtils
Returns a new copy of a sample encoded RSA private key that matches SecurityTestUtils.newEncodedRsaPublicKeyBytes().
newEncodedRsaPublicKeyBytes() - Static method in class com.google.api.client.testing.util.SecurityTestUtils
Returns a new copy of a sample encoded public key that matches SecurityTestUtils.newEncodedRsaPrivateKeyBytes().
newHashMap() - Static method in class com.google.api.client.util.Maps
Returns a new mutable, empty HashMap instance.
newHashSet() - Static method in class com.google.api.client.util.Sets
Returns a new mutable, empty HashSet instance.
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.
newLinkedHashMap() - Static method in class com.google.api.client.util.Maps
Returns a new mutable, empty, insertion-ordered LinkedHashMap instance.
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.
newRsaPrivateKey() - Static method in class com.google.api.client.testing.util.SecurityTestUtils
Returns a new sample RSA private key that matches SecurityTestUtils.newRsaPublicKey().
newRsaPublicKey() - Static method in class com.google.api.client.testing.util.SecurityTestUtils
Returns a new sample RSA public key that matches SecurityTestUtils.newRsaPrivateKey().
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.
newTreeMap() - Static method in class com.google.api.client.util.Maps
Returns a new mutable, empty TreeMap instance using the natural ordering of its elements.
newTreeSet() - Static method in class com.google.api.client.util.Sets
Returns a new mutable, empty TreeSet instance sorted by the natural sort ordering of its elements.
next(Sleeper, BackOff) - Static method in class com.google.api.client.util.BackOffUtils
Runs the next iteration of the back-off policy, and returns whether to continue to retry the operation.
nextBackOffMillis() - Method in class com.google.api.client.testing.util.MockBackOff
 
nextBackOffMillis() - Method in interface com.google.api.client.util.BackOff
Gets the number of milliseconds to wait before retrying the operation or BackOff.STOP to indicate that no retries should be made.
nextBackOffMillis() - Method in class com.google.api.client.util.ExponentialBackOff
Gets the number of milliseconds to wait before retrying the operation or BackOff.STOP to indicate that no retries should be made.
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.json.MockJsonParser
 
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.
nullOf(Class<T>) - 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.
Objects - Class in com.google.api.client.util
Helper functions that can operate on any Object.
Objects.ToStringHelper - Class in com.google.api.client.util
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.
ofSecondsAndNanos(long, int) - Static method in class com.google.api.client.util.DateTime.SecondsAndNanos
 
omitNullValues() - Method in class com.google.api.client.util.Objects.ToStringHelper
Configures the Objects.ToStringHelper so Objects.ToStringHelper.toString() will ignore properties with null value.
on(char) - Static method in class com.google.api.client.util.Joiner
Returns a joiner which automatically places separator between consecutive elements.
ON_SERVER_ERROR - Static variable in interface com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler.BackOffRequired
Back-off required implementation which its HttpBackOffUnsuccessfulResponseHandler.BackOffRequired.isRequired(HttpResponse) returns true if a server error occurred (5xx).
OpenCensusUtils - Class in com.google.api.client.http
Beta
Utilities for Census monitoring and tracing.
openConnection(URL) - Method in interface com.google.api.client.http.javanet.ConnectionFactory
Creates a new HttpURLConnection from the given url.
openConnection(URL) - Method in class com.google.api.client.http.javanet.DefaultConnectionFactory
 
OPTIONS - Static variable in class com.google.api.client.http.HttpMethods
HTTP OPTIONS method.

P

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 using UrlEncodedParser.parse(Reader, Object).
parse(String, Object, boolean) - 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 using UrlEncodedParser.parse(Reader, Object).
parse(Reader, 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(Reader, Object, boolean) - 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(Class<T>) - 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.
parse(Class<T>, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
Beta
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) - 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.
parse(Type, boolean, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
Beta
Parse a JSON object, array, or value into a new instance of the given destination class, optionally using the given parser customizer.
parse(Object) - Method in class com.google.api.client.json.JsonParser
Parse a JSON object from the given JSON parser into the given destination object.
parse(Object, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
Beta
Parse a JSON object from the given JSON parser into the given destination object, optionally using the given parser customizer.
parse(JsonFactory, String) - Static method in class com.google.api.client.json.webtoken.JsonWebSignature
Parses the given JWS token string and returns the parsed JsonWebSignature.
parse(String) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Parser
Parses a JWS token into a parsed JsonWebSignature.
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>) - 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, and then closes the parser.
parseAndClose(Class<T>, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
Beta
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) - 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.
parseAndClose(Object, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
Beta
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.
parseArray(Class<?>, Class<T>) - Method in class com.google.api.client.json.JsonParser
Parse a JSON Array from the given JSON parser into the given destination collection.
parseArray(Class<?>, Class<T>, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
Beta
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>) - Method in class com.google.api.client.json.JsonParser
Parse a JSON Array from the given JSON parser into the given destination collection.
parseArray(Collection<? super T>, Class<T>, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
Beta
Parse a JSON Array from the given JSON parser into the given destination collection, optionally using the given parser customizer.
parseArrayAndClose(Class<?>, Class<T>) - 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.
parseArrayAndClose(Class<?>, Class<T>, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
Beta
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>) - 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.
parseArrayAndClose(Collection<? super T>, Class<T>, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
Beta
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 HttpRequest.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 HttpRequest.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.
parsePrimitiveValue(Type, String) - Static method in class com.google.api.client.util.Data
Parses the given string value based on the given primitive type.
parser(JsonFactory) - Static method in class com.google.api.client.json.webtoken.JsonWebSignature
Returns a new instance of a JWS parser.
Parser(JsonFactory) - Constructor for class com.google.api.client.json.webtoken.JsonWebSignature.Parser
 
parseRfc3339(String) - Static method in class com.google.api.client.util.DateTime
Parses an RFC3339 date/time value.
parseRfc3339ToSecondsAndNanos(String) - Static method in class com.google.api.client.util.DateTime
Parses an RFC3339 timestamp to a pair of seconds and nanoseconds since Unix Epoch.
Part() - Constructor for class com.google.api.client.http.MultipartContent.Part
 
Part(HttpContent) - Constructor for class com.google.api.client.http.MultipartContent.Part
 
Part(HttpHeaders, HttpContent) - Constructor for class com.google.api.client.http.MultipartContent.Part
 
PATCH - Static variable in class com.google.api.client.http.HttpMethods
HTTP PATCH method.
Payload() - Constructor for class com.google.api.client.json.webtoken.JsonWebToken.Payload
 
PemReader - Class in com.google.api.client.util
Beta
PEM file reader.
PemReader(Reader) - Constructor for class com.google.api.client.util.PemReader
 
PemReader.Section - Class in com.google.api.client.util
Section in the PEM file.
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) - Constructor for class com.google.api.client.util.escape.PercentEscaper
Constructs a URI escaper with the specified safe characters.
PercentEscaper(String, boolean) - Constructor for class com.google.api.client.util.escape.PercentEscaper
Deprecated.
use PercentEscaper(String safeChars) instead which is the same as invoking this method with plusForSpace set to false. Escaping spaces as plus signs does not conform to the URI specification.
POST - Static variable in class com.google.api.client.http.HttpMethods
HTTP POST method.
Preconditions - Class in com.google.api.client.util
Simple static methods to be called at the start of your own methods to verify correct arguments and state.
propagate(Throwable) - Static method in class com.google.api.client.util.Throwables
Propagates throwable as-is if it is an instance of RuntimeException or Error, or else as a last resort, wraps it in a RuntimeException then propagates.
propagateIfPossible(Throwable) - Static method in class com.google.api.client.util.Throwables
Propagates throwable exactly as-is, if and only if it is an instance of RuntimeException or Error.
propagateIfPossible(Throwable, Class<X>) - Static method in class com.google.api.client.util.Throwables
Propagates throwable exactly as-is, if and only if it is an instance of RuntimeException, Error, or declaredType.
propagateTracingContext(Span, HttpHeaders) - Static method in class com.google.api.client.http.OpenCensusUtils
Propagate information of current tracing context.
publish(LogRecord) - Method in class com.google.api.client.testing.util.LogRecordingHandler
 
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(InputStream, byte[], int, int) - Static method in class com.google.api.client.util.ByteStreams
Deprecated.
Reads some bytes from an input stream and stores them into the buffer array b.
read() - Method in class com.google.api.client.util.LoggingInputStream
 
read(byte[], int, int) - Method in class com.google.api.client.util.LoggingInputStream
 
readFirstSectionAndClose(Reader) - Static method in class com.google.api.client.util.PemReader
Reads the first section in the PEM file, and then closes the reader.
readFirstSectionAndClose(Reader, String) - Static method in class com.google.api.client.util.PemReader
Reads the first section in the PEM file, optionally based on a title to look for, and then closes the reader.
readNextSection() - Method in class com.google.api.client.util.PemReader
Reads the next section in the PEM file or null for end of file.
readNextSection(String) - Method in class com.google.api.client.util.PemReader
Reads the next section in the PEM file, optionally based on a title to look for.
recordReceivedMessageEvent(Span, long) - Static method in class com.google.api.client.http.OpenCensusUtils
Records a new message event which contains the size of the response content.
recordSentMessageEvent(Span, long) - Static method in class com.google.api.client.http.OpenCensusUtils
Records a new message event which contains the size of the request content.
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
Deprecated.
Reset Back off counters (if any) in an implementation-specific fashion.
reset() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
Deprecated.
Sets the interval back to the initial retry interval and restarts the timer.
reset() - Method in class com.google.api.client.testing.util.MockBackOff
 
reset() - Method in interface com.google.api.client.util.BackOff
Reset to initial state.
reset() - Method in class com.google.api.client.util.ExponentialBackOff
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.MultipartContent
 
retrySupported() - Method in class com.google.api.client.testing.http.MockHttpContent
 

S

SAFE_PLUS_RESERVED_CHARS_URLENCODER - Static variable in class com.google.api.client.util.escape.PercentEscaper
Contains the safe characters plus all reserved characters.
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.
SAFEUSERINFOCHARS_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 user info part, as specified in RFC 3986.
save() - Method in class com.google.api.client.util.store.AbstractMemoryDataStore
SecurityTestUtils - Class in com.google.api.client.testing.util
Beta
Utilities and constants related to testing the library util package.
SecurityUtils - Class in com.google.api.client.util
Utilities related to Java security.
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(Object) - Static method in class com.google.api.client.util.IOUtils
Serializes the given object value to a newly allocated byte array.
serialize(Object, OutputStream) - Static method in class com.google.api.client.util.IOUtils
Serializes the given object value to an output stream, and close the output stream.
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.GenericUrl
 
set(String, Object) - Method in class com.google.api.client.http.HttpHeaders
 
set(String, Object) - Method in class com.google.api.client.json.GenericJson
 
set(String, Object) - Method in class com.google.api.client.json.rpc2.JsonRpcRequest
 
set(String, Object) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
 
set(String, Object) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Header
 
set(String, Object) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
 
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, V) - Method in class com.google.api.client.util.store.AbstractMemoryDataStore
 
set(String, V) - Method in interface com.google.api.client.util.store.DataStore
Stores the given value for the given key (replacing any existing value).
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.
setAge(Long) - Method in class com.google.api.client.http.HttpHeaders
Sets the "Age" header or null for none.
setAlgorithm(String) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
Sets the algorithm header parameter that identifies the cryptographic algorithm used to secure the JWS or null for none.
setAttemptCount(int) - Method in class com.google.api.client.http.HttpResponseException.Builder
Sets the attempt count for the related HTTP request execution.
setAudience(Object) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
Sets the audience claim that identifies the audience that the JWT is intended for (should either be a String or a List<String>) 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.
setBackOffMillis(long) - Method in class com.google.api.client.testing.util.MockBackOff
Sets the fixed back-off milliseconds (defaults to 0).
setBackOffPolicy(BackOffPolicy) - Method in class com.google.api.client.http.HttpRequest
setBackOffRequired(HttpBackOffUnsuccessfulResponseHandler.BackOffRequired) - Method in class com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler
Sets the HttpBackOffUnsuccessfulResponseHandler.BackOffRequired instance which determines if back-off is required based on an abnormal HTTP response.
setBasicAuthentication(String, String) - Method in class com.google.api.client.http.HttpHeaders
setBoundary(String) - Method in class com.google.api.client.http.MultipartContent
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
 
setConnectionFactory(ConnectionFactory) - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
Sets the ConnectionFactory or null to use a DefaultConnectionFactory.
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(String) - Method in class com.google.api.client.http.HttpResponseException.Builder
Sets the HTTP response content or null for none.
setContent(HttpContent) - Method in class com.google.api.client.http.MultipartContent.Part
Sets the HTTP content or null for none.
setContent(byte[]) - Method in class com.google.api.client.testing.http.MockHttpContent
Sets the HTTP content.
setContent(String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
Sets the response content to the given content string.
setContent(byte[]) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
Sets the response content to the given byte array.
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.http.LowLevelHttpRequest
Sets the content encoding (for example "gzip") 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.http.LowLevelHttpRequest
Sets the content length or less than zero if not known.
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.
setContentParts(Collection<? extends HttpContent>) - Method in class com.google.api.client.http.MultipartContent
Sets the HTTP content parts of the HTTP multipart request, where each part is assumed to have no HTTP headers and no encoding.
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.LowLevelHttpRequest
Sets the content type or null for none.
setContentType(String) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Header
Sets the content type header parameter used to declare structural information about the JWT or null for none.
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.
setCritical(List<String>) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
Sets the header parameter names that define extensions used in the JWS header that MUST be understood and processed 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
 
setEncoding(HttpEncoding) - Method in class com.google.api.client.http.HttpRequest
Sets the HTTP content encoding or null for none.
setEncoding(HttpEncoding) - Method in class com.google.api.client.http.MultipartContent.Part
Sets the HTTP encoding or null for none.
setErrorStream(InputStream) - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
Sets the error stream.
setETag(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "ETag" header or null for none.
setExpirationTimeSeconds(Long) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
Sets the expiration time claim that identifies the expiration time (in seconds) on or after which the token MUST NOT be accepted for processing 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 the given field in the given object to the given value using reflection.
setFixedLengthStreamingMode(int) - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
 
setFixedLengthStreamingMode(long) - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
 
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.
setHeaderClass(Class<? extends JsonWebSignature.Header>) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Parser
Sets the header class to use for parsing.
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.
setHeaders(HttpHeaders) - Method in class com.google.api.client.http.HttpResponseException.Builder
Sets the HTTP response headers.
setHeaders(HttpHeaders) - Method in class com.google.api.client.http.MultipartContent.Part
Sets the HTTP headers or null for none.
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.
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.
setIfRange(String) - Method in class com.google.api.client.http.HttpHeaders
Sets the "If-Range" 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
Deprecated.
Sets the initial retry interval in milliseconds.
setInitialIntervalMillis(int) - Method in class com.google.api.client.util.ExponentialBackOff.Builder
Sets the initial retry interval in milliseconds.
setInputStream(InputStream) - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
Sets the input stream.
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.
setIOExceptionHandler(HttpIOExceptionHandler) - Method in class com.google.api.client.http.HttpRequest
Beta
Sets the HTTP I/O exception handler or null for none.
setIsRecordEvent(boolean) - Static method in class com.google.api.client.http.OpenCensusUtils
Sets whether spans should be recorded locally.
setIssuedAtTimeSeconds(Long) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
Sets the issued at claim that identifies the time (in seconds) at which the JWT was issued or null for none.
setIssuer(String) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
Sets the issuer claim that identifies the principal that issued the JWT or null for none.
setJwk(String) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
Sets the JSON Web Key header parameter that is a public key that corresponds to the key used to digitally sign the JWS or null for none.
setJwkUrl(String) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
Sets the JSON Web Key URL header parameter that is an absolute URL that refers to a resource for a set of JSON-encoded public keys, one of which corresponds to the key that was used to digitally sign the JWS or null for none.
setJwtId(String) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
Sets the JWT ID claim that provides a unique identifier for the JWT or null for none.
setKeyId(String) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
Sets the key ID header parameter that is a hint indicating which specific key owned by the signer should be used to validate the digital signature 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.
setLowLevelHttpRequest(MockLowLevelHttpRequest) - Method in class com.google.api.client.testing.http.MockHttpTransport.Builder
setLowLevelHttpResponse(MockLowLevelHttpResponse) - Method in class com.google.api.client.testing.http.MockHttpTransport.Builder
setMaxElapsedTimeMillis(int) - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
Deprecated.
Sets the maximum elapsed time in milliseconds.
setMaxElapsedTimeMillis(int) - Method in class com.google.api.client.util.ExponentialBackOff.Builder
Sets the maximum elapsed time in milliseconds.
setMaxIntervalMillis(int) - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
Deprecated.
Sets the maximum value of the back off period in milliseconds.
setMaxIntervalMillis(int) - Method in class com.google.api.client.util.ExponentialBackOff.Builder
Sets the maximum value of the back off period in milliseconds.
setMaxTries(int) - Method in class com.google.api.client.testing.util.MockBackOff
Sets the maximum number of tries before returning BackOff.STOP (defaults to 10).
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.MultipartContent
 
setMediaType(HttpMediaType) - Method in class com.google.api.client.http.UrlEncodedContent
 
setMessage(String) - Method in class com.google.api.client.http.HttpResponseException.Builder
Sets the detail message to use or null for none.
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
Deprecated.
Sets the value to multiply the current interval with for each retry attempt.
setMultiplier(double) - Method in class com.google.api.client.util.ExponentialBackOff.Builder
Sets the value to multiply the current interval with for each retry attempt.
setNanoClock(NanoClock) - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
Deprecated.
Sets the nano clock (NanoClock.SYSTEM by default).
setNanoClock(NanoClock) - Method in class com.google.api.client.util.ExponentialBackOff.Builder
Sets the nano clock (NanoClock.SYSTEM by default).
setNotBeforeTimeSeconds(Long) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
Sets the not before claim that identifies the time (in seconds) before which the token MUST NOT be accepted for processing or null for none.
setNumberOfRetries(int) - Method in class com.google.api.client.http.HttpRequest
Sets the number of retries that will be allowed to execute before the request will be terminated or 0 to not retry requests.
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.
setParts(Collection<MultipartContent.Part>) - Method in class com.google.api.client.http.MultipartContent
Sets the parts of the HTTP multipart request.
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.
setPayloadClass(Class<? extends JsonWebToken.Payload>) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Parser
Sets the payload class to use for parsing.
setPort(int) - Method in class com.google.api.client.http.GenericUrl
Sets the port number, for example 443.
setPropagationTextFormat(TextFormat) - Static method in class com.google.api.client.http.OpenCensusUtils
Sets the TextFormat used in context propagation.
setPropagationTextFormatSetter(TextFormat.Setter) - Static method in class com.google.api.client.http.OpenCensusUtils
Sets the TextFormat.Setter used in context propagation.
setProxy(HttpHost) - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
Deprecated.
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
Deprecated.
Sets the HTTP proxy selector to use ProxySelectorRoutePlanner or null for DefaultHttpRoutePlanner.
setRandomizationFactor(double) - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
Deprecated.
Sets the randomization factor to use for creating a range around the retry interval.
setRandomizationFactor(double) - Method in class com.google.api.client.util.ExponentialBackOff.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.
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.apache.MockHttpClient
Sets the HTTP response code to use.
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
Sets the HTTP response interceptor or null for none.
setResponseReturnRawInputStream(boolean) - Method in class com.google.api.client.http.HttpRequest
Sets whether HttpResponse.getContent() should return raw input stream for this request.
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
Deprecated.
(scheduled to be removed in 1.18) Use HttpRequest.setIOExceptionHandler(HttpIOExceptionHandler) instead.
setRetrySupported(boolean) - Method in class com.google.api.client.http.InputStreamContent
Sets whether or not retry is supported.
Sets - Class in com.google.api.client.util
Static utility methods pertaining to Set instances.
setScheme(String) - Method in class com.google.api.client.http.GenericUrl
Sets the scheme (lowercase), for example "https".
setSleeper(Sleeper) - Method in class com.google.api.client.http.HttpBackOffIOExceptionHandler
Sets the sleeper.
setSleeper(Sleeper) - Method in class com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler
Sets the sleeper.
setSleeper(Sleeper) - Method in class com.google.api.client.http.HttpRequest
Sets the sleeper.
setSocketFactory(SSLSocketFactory) - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
Deprecated.
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.http.HttpResponseException.Builder
Sets the HTTP status code or 0 for none.
setStatusCode(int) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
Sets the status code of HTTP response.
setStatusMessage(String) - Method in class com.google.api.client.http.HttpResponseException.Builder
Sets the HTTP status message or null for none.
setStreamingContent(StreamingContent) - Method in class com.google.api.client.http.LowLevelHttpRequest
Sets the streaming content or null for no content.
setSubject(String) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
Sets the subject claim identifying the principal that is the subject of the JWT or null for none.
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.json.webtoken.JsonWebSignature.Header
 
setType(String) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Header
Sets the type header parameter used to declare the type of this object or null for none.
setType(String) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
Sets the type claim that is used to declare a type for the contents of this JWT Claims Set or null for none.
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
Sets 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.
setUseRawRedirectUrls(boolean) - Method in class com.google.api.client.http.HttpRequest
Sets whether to use raw redirect URLs.
setUserInfo(String) - Method in class com.google.api.client.http.GenericUrl
Sets the user info or null for none, for example "username:password".
setValue(Object, Object) - Method in class com.google.api.client.util.FieldInfo
Sets this field in the given object to the given value 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.
setWrapperKey(String) - Method in class com.google.api.client.http.json.JsonHttpContent
Sets the wrapper key for the JSON content or null for none.
setWrapperKeys(Collection<String>) - Method in class com.google.api.client.json.JsonObjectParser.Builder
Sets the wrapper keys for the JSON content.
setWriteTimeout(int) - Method in class com.google.api.client.http.HttpRequest
Sets the timeout in milliseconds to send POST/PUT data or 0 for an infinite timeout.
setWriteTimeout(int) - Method in class com.google.api.client.http.LowLevelHttpRequest
Sets the write timeout for POST/PUT requests.
setX509Certificates(List<String>) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
Sets the X.509 certificate chain header parameter contains the X.509 public key certificate or certificate chain corresponding to the key used to digitally sign the JWS or null for none.
setX509Thumbprint(String) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
Sets the X.509 certificate thumbprint header parameter that provides a base64url encoded SHA-1 thumbprint (a.k.a.
setX509Url(String) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
Sets the X.509 URL header parameter that is an absolute URL that refers to a resource for the X.509 public key certificate or certificate chain corresponding to the key used to digitally sign the JWS or null for none.
setZeroContent() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
Sets the content to null and the content length to 0.
shutdown() - Method in class com.google.api.client.http.apache.ApacheHttpTransport
Deprecated.
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.
sign(Signature, PrivateKey, byte[]) - Static method in class com.google.api.client.util.SecurityUtils
Signs content using a private key.
signUsingRsaSha256(PrivateKey, JsonFactory, JsonWebSignature.Header, JsonWebToken.Payload) - Static method in class com.google.api.client.json.webtoken.JsonWebSignature
Signs a given JWS header and payload based on the given private key using RSA and SHA-256 as described in JWS using RSA SHA-256.
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.
size() - Method in class com.google.api.client.util.store.AbstractDataStore
Returns the number of stored keys.
size() - Method in class com.google.api.client.util.store.AbstractMemoryDataStore
 
size() - Method in interface com.google.api.client.util.store.DataStore
Returns the number of stored keys.
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.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.
sleep(long) - Method in class com.google.api.client.testing.util.MockSleeper
 
sleep(long) - Method in interface com.google.api.client.util.Sleeper
Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds as specified in Thread.sleep(long).
Sleeper - Interface in com.google.api.client.util
Sleeper interface to use for requesting the current thread to sleep as specified in Thread.sleep(long).
SPAN_NAME_HTTP_REQUEST_EXECUTE - Static variable in class com.google.api.client.http.OpenCensusUtils
Span name for tracing HttpRequest.execute().
SslUtils - Class in com.google.api.client.util
SSL utilities.
STATUS_CODE_ACCEPTED - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for a successful request that has been received but not yet acted upon.
STATUS_CODE_BAD_GATEWAY - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for a bad gateway.
STATUS_CODE_BAD_REQUEST - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for a request that could not be understood by the server.
STATUS_CODE_CONFLICT - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for a request that could not be completed due to a resource conflict.
STATUS_CODE_CREATED - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for a successful request that has been fulfilled to create a new resource.
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_METHOD_NOT_ALLOWED - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for a method specified in the Request-Line is not allowed for the resource identified by the Request-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_PRECONDITION_FAILED - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for a request for which one of the conditions it was made under has failed.
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.
STATUS_CODE_UNPROCESSABLE_ENTITY - Static variable in class com.google.api.client.http.HttpStatusCodes
Status code for a request for which the content-type and the request's syntax were correct but server was not able to process entity.
STOP - Static variable in interface com.google.api.client.http.BackOffPolicy
Deprecated.
Value indicating that no more retries should be made, see BackOffPolicy.getNextBackOffMillis().
STOP - Static variable in interface com.google.api.client.util.BackOff
Indicates that no more retries should be made for use in BackOff.nextBackOffMillis().
STOP_BACKOFF - Static variable in interface com.google.api.client.util.BackOff
Fixed back-off policy that always returns #STOP for BackOff.nextBackOffMillis(), meaning that the operation should not be retried.
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.
StreamingContent - Interface in com.google.api.client.util
Deprecated.
use com.google.common.io.ByteSink
Strings - Class in com.google.api.client.util
Static utility methods pertaining to String instances.
StringUtils - Class in com.google.api.client.util
Utilities for strings.
supportsMethod(String) - Method in class com.google.api.client.http.apache.ApacheHttpTransport
Deprecated.
 
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
 
SYSTEM - Static variable in interface com.google.api.client.util.Clock
Provides the default System implementation of a Clock by using System.currentTimeMillis().
SYSTEM - Static variable in interface com.google.api.client.util.NanoClock
Provides the default System implementation of a nano clock by using System.nanoTime().

T

TestableByteArrayInputStream - Class in com.google.api.client.testing.util
Beta
Testable extension for a byte array input stream.
TestableByteArrayInputStream(byte[]) - Constructor for class com.google.api.client.testing.util.TestableByteArrayInputStream
 
TestableByteArrayInputStream(byte[], int, int) - Constructor for class com.google.api.client.testing.util.TestableByteArrayInputStream
 
TestableByteArrayOutputStream - Class in com.google.api.client.testing.util
Beta
Testable extension for a byte array output stream.
TestableByteArrayOutputStream() - Constructor for class com.google.api.client.testing.util.TestableByteArrayOutputStream
 
TestCertificates - Class in com.google.api.client.testing.json.webtoken
Beta
Test certificates.
TestCertificates() - Constructor for class com.google.api.client.testing.json.webtoken.TestCertificates
 
TestCertificates.CertData - Class in com.google.api.client.testing.json.webtoken
Beta
Wrapper for a PEM encoded certificate providing utility routines.
Throwables - Class in com.google.api.client.util
Static utility methods pertaining to instances of Throwable.
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.
toPathParts(String, boolean) - Static method in class com.google.api.client.http.GenericUrl
Returns the path parts (decoded if not verbatim).
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.json.webtoken.JsonWebToken
 
toString() - Method in class com.google.api.client.util.DateTime.SecondsAndNanos
 
toString() - Method in class com.google.api.client.util.DateTime
 
toString() - Method in class com.google.api.client.util.GenericData
 
toString() - Method in class com.google.api.client.util.Objects.ToStringHelper
 
toString() - Method in class com.google.api.client.util.store.AbstractMemoryDataStore
 
toString(DataStore<?>) - Static method in class com.google.api.client.util.store.DataStoreUtils
Returns a debug string for the given data store to be used as an implementation of Object.toString().
toStringHelper(Object) - Static method in class com.google.api.client.util.Objects
Creates an instance of Objects.ToStringHelper.
toStringRfc3339() - Method in class com.google.api.client.util.DateTime
Formats the value as an RFC 3339 date/time string.
toURI() - Method in class com.google.api.client.http.GenericUrl
Constructs the URI based on the string representation of the URL from GenericUrl.build().
toURL() - Method in class com.google.api.client.http.GenericUrl
Constructs the URL based on the string representation of the URL from GenericUrl.build().
toURL(String) - Method in class com.google.api.client.http.GenericUrl
Constructs the URL based on URL(URL, String) with this URL representation from GenericUrl.toURL() and a relative url.
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
Beta
Returns a verifier that trusts all host names.
trustAllSSLContext() - Static method in class com.google.api.client.util.SslUtils
Beta
Returns an SSL context in which all X.509 certificates are trusted.
trustCertificates(KeyStore) - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
Deprecated.
Sets the SSL socket factory based on a root certificate trust store.
trustCertificates(KeyStore) - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
Sets the SSL socket factory based on a root certificate trust store.
trustCertificates(KeyStore, KeyStore, String) - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
Beta
Sets the SSL socket factory based on a root certificate trust store and a client certificate key store.
trustCertificatesFromJavaKeyStore(InputStream, String) - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
Deprecated.
Sets the SSL socket factory based on root certificates in a Java KeyStore.
trustCertificatesFromJavaKeyStore(InputStream, String) - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
Sets the SSL socket factory based on root certificates in a Java KeyStore.
trustCertificatesFromStream(InputStream) - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
Deprecated.
Sets the SSL socket factory based root certificates generated from the specified stream using CertificateFactory.generateCertificates(InputStream).
trustCertificatesFromStream(InputStream) - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
Sets the SSL socket factory based root certificates generated from the specified stream using CertificateFactory.generateCertificates(InputStream).
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
Initialize the UrlEncodedContent with the legacy and deprecated escapeUri encoder
UrlEncodedContent(Object, boolean) - Constructor for class com.google.api.client.http.UrlEncodedContent
Initialize the UrlEncodedContent with or without the legacy and deprecated escapeUri encoder
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
 
UTF_8 - Static variable in class com.google.api.client.util.Charsets
Deprecated.
UTF-8 charset.

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.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.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.
values() - Method in class com.google.api.client.util.store.AbstractMemoryDataStore
 
values() - Method in interface com.google.api.client.util.store.DataStore
Returns the unmodifiable collection of all stored values.
verify(Signature, PublicKey, byte[], byte[]) - Static method in class com.google.api.client.util.SecurityUtils
Verifies the signature of signed content based on a public key.
verify(Signature, X509TrustManager, List<String>, byte[], byte[]) - Static method in class com.google.api.client.util.SecurityUtils
Verifies the signature of signed content based on a certificate chain.
verifySignature(PublicKey) - Method in class com.google.api.client.json.webtoken.JsonWebSignature
Verifies the signature of the content.
verifySignature(X509TrustManager) - Method in class com.google.api.client.json.webtoken.JsonWebSignature
Beta
Verifies the signature of the content using the certificate chain embedded in the signature.
verifySignature() - Method in class com.google.api.client.json.webtoken.JsonWebSignature
Beta
Verifies the signature of the content using the certificate chain embedded in the signature.
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.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.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.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.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.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(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.json.MockJsonGenerator
 
writeNumber(long) - Method in class com.google.api.client.testing.json.MockJsonGenerator
 
writeNumber(BigInteger) - Method in class com.google.api.client.testing.json.MockJsonGenerator
 
writeNumber(float) - Method in class com.google.api.client.testing.json.MockJsonGenerator
 
writeNumber(double) - Method in class com.google.api.client.testing.json.MockJsonGenerator
 
writeNumber(BigDecimal) - Method in class com.google.api.client.testing.json.MockJsonGenerator
 
writeNumber(String) - Method in class com.google.api.client.testing.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.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.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.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
 
writeTo(OutputStream) - Method in class com.google.api.client.http.HttpEncodingStreamingContent
 
writeTo(OutputStream) - Method in class com.google.api.client.http.json.JsonHttpContent
 
writeTo(OutputStream) - Method in class com.google.api.client.http.MultipartContent
 
writeTo(OutputStream) - Method in class com.google.api.client.http.UrlEncodedContent
 
writeTo(OutputStream) - Method in class com.google.api.client.testing.http.MockHttpContent
 
writeTo(OutputStream) - Method in class com.google.api.client.util.ByteArrayStreamingContent
Deprecated.
 
writeTo(OutputStream) - Method in class com.google.api.client.util.LoggingStreamingContent
 
writeTo(OutputStream) - Method in interface com.google.api.client.util.StreamingContent
Deprecated.
Writes the byte content to the given output stream.

Z

ZERO_BACKOFF - Static variable in interface com.google.api.client.util.BackOff
Fixed back-off policy whose back-off time is always zero, meaning that the operation is retried immediately without waiting.
A B C D E F G H I J K L M N O P R S T U V W Z 
Skip navigation links

Copyright © 2011–2023 Google. All rights reserved.