- 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
.
- CENTIPEDE - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
-
- Centipede() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.Centipede
-
- CENTIPEDE_EXTRA_INFO - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
-
- CENTIPEDE_OPTIMIZED - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
-
- 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 dealing with CharEscaper
s, and some commonly used CharEscaper
instances.
- Charsets - Class in com.google.api.client.util
-
Contains constant definitions for some standard
Charset
instances that are guaranteed to
be supported by all Java platform implementations.
- 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.
- checkContentType(String) - Static method in class com.google.api.client.xml.atom.Atom
-
Checks the given content type matches the Atom content type specified in
Atom.MEDIA_TYPE
.
- checkMinimumSdkLevel(int) - Static method in class com.google.api.client.extensions.android.AndroidUtils
-
- 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.
- children - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.DogWithFamily
-
- 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.
- clone() - Method in class com.google.api.client.xml.GenericXml
-
- close() - Method in class com.google.api.client.json.JsonGenerator
-
Closes the serializer and the underlying output stream or writer, and releases any memory
associated with it.
- close() - Method in class com.google.api.client.json.JsonParser
-
Closes the parser and the underlying input stream or reader, and releases any memory associated
with it.
- close() - Method in class com.google.api.client.testing.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.
- close() - Method in class com.google.api.client.xml.atom.AbstractAtomFeedParser
-
Closes the underlying parser.
- codePointAt(CharSequence, int, int) - Static method in class com.google.api.client.util.escape.UnicodeEscaper
-
Returns the Unicode code point of the character at the given index.
- CollectionOfCollectionType() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.CollectionOfCollectionType
-
- Collections2 - Class in com.google.api.client.util
-
Static utility methods pertaining to
Collection
instances.
- color - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.Centipede
-
- com.google.api.client.extensions.android - package com.google.api.client.extensions.android
-
Beta
Utilities for Android.
- com.google.api.client.extensions.android.http - package com.google.api.client.extensions.android.http
-
Beta
Utilities for Android HTTP transport.
- com.google.api.client.extensions.android.json - package com.google.api.client.extensions.android.json
-
Beta
Low-level implementation of the GSON parser library built-in to the Android 3.0 SDK.
- com.google.api.client.extensions.appengine.datastore - package com.google.api.client.extensions.appengine.datastore
-
Support for the App Engine data store.
- com.google.api.client.extensions.appengine.http - package com.google.api.client.extensions.appengine.http
-
- com.google.api.client.http - package com.google.api.client.http
-
- 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.apache.v2 - package com.google.api.client.http.apache.v2
-
HTTP Transport library for Google API's based on Apache HTTP Client version 4.5+.
- com.google.api.client.http.javanet - package com.google.api.client.http.javanet
-
HTTP Transport library for Google API's based on the java.net
package.
- com.google.api.client.http.json - package com.google.api.client.http.json
-
JSON HTTP library based on the pluggable HTTP library.
- com.google.api.client.http.protobuf - package com.google.api.client.http.protobuf
-
- com.google.api.client.http.xml - package com.google.api.client.http.xml
-
Beta
XML HTTP library based on the pluggable HTTP library.
- com.google.api.client.http.xml.atom - package com.google.api.client.http.xml.atom
-
Beta
Atom XML HTTP library based on the pluggable HTTP library.
- com.google.api.client.json - package com.google.api.client.json
-
- com.google.api.client.json.gson - package com.google.api.client.json.gson
-
Low-level implementation of the GSON parser library based on the
GSON JSON library.
- com.google.api.client.json.jackson2 - package com.google.api.client.json.jackson2
-
Low-level implementation of the JSON parser library based on the
Jackson 2 JSON library.
- com.google.api.client.json.rpc2 - package com.google.api.client.json.rpc2
-
- com.google.api.client.json.webtoken - package com.google.api.client.json.webtoken
-
- com.google.api.client.protobuf - package com.google.api.client.protobuf
-
- com.google.api.client.test.json - package com.google.api.client.test.json
-
Classes used for testing of JSON library implementations.
- com.google.api.client.test.util.store - package com.google.api.client.test.util.store
-
Abstract tests for data stores.
- 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.
- com.google.api.client.xml - package com.google.api.client.xml
-
- com.google.api.client.xml.atom - package com.google.api.client.xml.atom
-
Beta
Utilities for Atom XML.
- com.google.api.services.samples.dailymotion.cmdline.simple - package com.google.api.services.samples.dailymotion.cmdline.simple
-
- 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
-
- computeLength(StreamingContent) - Static method in class com.google.api.client.util.IOUtils
-
- 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
-
- 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.
- CONTENT_TYPE - Static variable in class com.google.api.client.protobuf.ProtocolBuffers
-
"application/x-protobuf"
content type.
- copy(InputStream, OutputStream) - Static method in class com.google.api.client.util.ByteStreams
-
Copies all bytes from the input stream to the output stream.
- copy(InputStream, OutputStream) - Static method in class com.google.api.client.util.IOUtils
-
Writes the content provided by the given source input stream into the given destination output
stream.
- copy(InputStream, OutputStream, boolean) - Static method in class com.google.api.client.util.IOUtils
-
Writes the content provided by the given source input stream into the given destination output
stream, optionally closing the input stream.
- create(HttpResponse, XmlNamespaceDictionary, Class<T>, Class<E>) - Static method in class com.google.api.client.http.xml.atom.AtomFeedParser
-
Parses the given HTTP response using the given feed class and entry class.
- create() - Static method in class com.google.api.client.util.ArrayMap
-
Returns a new instance of an array map with initial capacity of zero.
- create(int) - Static method in class com.google.api.client.util.ArrayMap
-
Returns a new instance of an array map of the given initial capacity.
- 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.extensions.appengine.datastore.AppEngineDataStoreFactory
-
- 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.extensions.android.json.AndroidJsonFactory
-
- createJsonGenerator(Writer) - Method in class com.google.api.client.extensions.android.json.AndroidJsonFactory
-
- createJsonGenerator(OutputStream, Charset) - Method in class com.google.api.client.json.gson.GsonFactory
-
- createJsonGenerator(Writer) - Method in class com.google.api.client.json.gson.GsonFactory
-
- createJsonGenerator(OutputStream, Charset) - Method in class com.google.api.client.json.jackson2.JacksonFactory
-
- createJsonGenerator(Writer) - Method in class com.google.api.client.json.jackson2.JacksonFactory
-
- 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.extensions.android.json.AndroidJsonFactory
-
- createJsonParser(InputStream, Charset) - Method in class com.google.api.client.extensions.android.json.AndroidJsonFactory
-
- createJsonParser(String) - Method in class com.google.api.client.extensions.android.json.AndroidJsonFactory
-
- createJsonParser(Reader) - Method in class com.google.api.client.extensions.android.json.AndroidJsonFactory
-
- createJsonParser(InputStream) - Method in class com.google.api.client.json.gson.GsonFactory
-
- createJsonParser(InputStream, Charset) - Method in class com.google.api.client.json.gson.GsonFactory
-
- createJsonParser(String) - Method in class com.google.api.client.json.gson.GsonFactory
-
- createJsonParser(Reader) - Method in class com.google.api.client.json.gson.GsonFactory
-
- createJsonParser(Reader) - Method in class com.google.api.client.json.jackson2.JacksonFactory
-
- createJsonParser(InputStream) - Method in class com.google.api.client.json.jackson2.JacksonFactory
-
- createJsonParser(InputStream, Charset) - Method in class com.google.api.client.json.jackson2.JacksonFactory
-
- createJsonParser(String) - Method in class com.google.api.client.json.jackson2.JacksonFactory
-
- 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
-
- createParser() - Static method in class com.google.api.client.xml.Xml
-
Returns a new XML pull parser.
- createRequestFactory() - Method in class com.google.api.client.http.HttpTransport
-
Returns a new instance of an HTTP request factory based on this HTTP transport.
- createRequestFactory(HttpRequestInitializer) - Method in class com.google.api.client.http.HttpTransport
-
Returns a new instance of an HTTP request factory based on this HTTP transport with the given
HTTP request initializer.
- createSerializer() - Static method in class com.google.api.client.xml.Xml
-
Returns a new XML serializer.
- currentTimeMillis() - Method in class com.google.api.client.testing.http.FixedClock
-
- currentTimeMillis() - Method in interface com.google.api.client.util.Clock
-
Returns the current time in milliseconds since midnight, January 1, 1970 UTC, to match the
behavior of
System.currentTimeMillis()
.
- CustomizeJsonParser - Class in com.google.api.client.json
-
Beta
Customizes the behavior of a JSON parser.
- CustomizeJsonParser() - Constructor for class com.google.api.client.json.CustomizeJsonParser
-
- CustomizeParser() - Constructor for class com.google.api.client.xml.Xml.CustomizeParser
-
- 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
-
- GenericUrl() - Constructor for class com.google.api.client.http.GenericUrl
-
- GenericUrl(String) - Constructor for class com.google.api.client.http.GenericUrl
-
Constructs from an encoded URL.
- GenericUrl(String, boolean) - Constructor for class com.google.api.client.http.GenericUrl
-
Constructs from an encoded URL.
- 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.
- GenericXml - Class in com.google.api.client.xml
-
Beta
Generic XML data that stores all unknown key name/value pairs.
- GenericXml() - Constructor for class com.google.api.client.xml.GenericXml
-
- GET - Static variable in class com.google.api.client.http.HttpMethods
-
HTTP GET method.
- get(Object) - Method in class com.google.api.client.util.ArrayMap
-
Returns the value set for the given key or null
if there is no such mapping or if the
mapping value is null
.
- get(Object) - Method in class com.google.api.client.util.GenericData
-
- 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.
- getAliasForUri(String) - Method in class com.google.api.client.xml.XmlNamespaceDictionary
-
Returns the namespace alias (or ""
for the default namespace) for the given namespace
URI.
- getAliasToUriMap() - Method in class com.google.api.client.xml.XmlNamespaceDictionary
-
Returns an unmodified set of map entries for the map from namespace alias (or ""
for
the default namespace) to namespace URI.
- getAll(String) - Method in class com.google.api.client.http.GenericUrl
-
Returns all query parameter values for the given query parameter name.
- getArrayComponentType(Type) - Static method in class com.google.api.client.util.Types
-
- 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
-
- 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 Charsets#UTF_8
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
-
- 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
-
- 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
-
- getContentLoggingLimit() - Method in class com.google.api.client.http.HttpResponse
-
- 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
-
- 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.
- getData() - Method in class com.google.api.client.http.xml.atom.AtomContent
-
Returns the key name/value pair data for the Atom entry or Atom feed.
- getData() - Method in class com.google.api.client.http.xml.XmlHttpContent
-
Returns the key/value pair data.
- 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.extensions.android.json.AndroidJsonFactory
-
Returns a global thread-safe instance.
- getDefaultInstance() - Static method in class com.google.api.client.extensions.appengine.datastore.AppEngineDataStoreFactory
-
- getDefaultInstance() - Static method in class com.google.api.client.extensions.appengine.http.UrlFetchTransport
-
Returns a global thread-safe instance.
- getDefaultInstance() - Static method in class com.google.api.client.json.gson.GsonFactory
-
Beta
Returns a global thread-safe instance.
- getDefaultInstance() - Static method in class com.google.api.client.json.jackson2.JacksonFactory
-
Returns a global thread-safe instance.
- 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
-
- 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
-
- getDisableMemcache() - Method in class com.google.api.client.extensions.appengine.datastore.AppEngineDataStoreFactory.Builder
-
Returns whether to disable the memcache.
- getDisableMemcache() - Method in class com.google.api.client.extensions.appengine.datastore.AppEngineDataStoreFactory
-
Returns whether to disable the memcache (which is enabled by default).
- getDoNotValidateCertificate() - Method in class com.google.api.client.extensions.appengine.http.UrlFetchTransport.Builder
-
- 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.
- getElapsedTimeMillis() - Method in class com.google.api.client.util.ExponentialBackOff
-
- getElementName() - Method in class com.google.api.client.http.xml.XmlHttpContent
-
Returns the XML element local name, optionally prefixed by its namespace alias, for example
"atom:entry"
.
- 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.
- getEntryClass() - Method in class com.google.api.client.http.xml.atom.AtomFeedParser
-
Returns the Atom entry class to parse.
- getErrorStream() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
- 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
-
- getFeedClass() - Method in class com.google.api.client.xml.atom.AbstractAtomFeedParser
-
Returns the feed class to parse.
- getField(String) - Method in class com.google.api.client.util.ClassInfo
-
- getField() - Method in class com.google.api.client.util.FieldInfo
-
Returns the field.
- getFieldInfo(String) - Method in class com.google.api.client.util.ClassInfo
-
- getFieldInfos() - Method in class com.google.api.client.util.ClassInfo
-
Returns an unmodifiable collection of the FieldInfo
s 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.
- getHttpClient() - Method in class com.google.api.client.http.apache.v2.ApacheHttpTransport
-
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
-
- 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
-
- getInputStream() - Method in class com.google.api.client.xml.atom.AbstractAtomFeedParser
-
Returns the input stream to read.
- getInterceptor() - Method in class com.google.api.client.http.HttpRequest
-
Returns the HTTP request execute interceptor to intercept the start of
HttpRequest.execute()
(before executing the HTTP request) or
null
for none.
- getIntValue() - Method in class com.google.api.client.json.JsonParser
-
Returns the int value of the current token.
- getIntValue() - Method in class com.google.api.client.testing.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
-
- 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
-
- 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.http.protobuf.ProtoHttpContent
-
- 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
-
- getLowLevelHttpRequest() - Method in class com.google.api.client.testing.http.MockHttpTransport
-
- 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.
- getMemcacheExpiration() - Method in class com.google.api.client.extensions.appengine.datastore.AppEngineDataStoreFactory.Builder
-
Returns the Memcache expiration policy on puts.
- getMessage() - Method in class com.google.api.client.http.HttpResponseException.Builder
-
Returns the detail message to use or null
for none.
- getMessage() - Method in class com.google.api.client.http.protobuf.ProtoHttpContent
-
Returns the message to serialize.
- 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
.
- getNamespaceDictionary() - Method in class com.google.api.client.http.xml.AbstractXmlHttpContent
-
Returns the XML namespace dictionary.
- getNamespaceDictionary() - Method in class com.google.api.client.xml.atom.AbstractAtomFeedParser
-
Returns the XML namespace dictionary.
- getNamespaceDictionary() - Method in class com.google.api.client.xml.XmlObjectParser
-
Returns the XML namespace dictionary.
- 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.
- getParser() - Method in class com.google.api.client.xml.atom.AbstractAtomFeedParser
-
Returns the XML pull parser to use.
- getParts() - Method in class com.google.api.client.http.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
-
- getRawPath() - Method in class com.google.api.client.http.GenericUrl
-
- 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
-
- 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
-
- 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
-
- 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
-
- getText() - Method in class com.google.api.client.json.JsonParser
-
- 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.
- getUriForAlias(String) - Method in class com.google.api.client.xml.XmlNamespaceDictionary
-
Returns the namespace URI for the given namespace alias (or ""
for the default
namespace).
- getUriToAliasMap() - Method in class com.google.api.client.xml.XmlNamespaceDictionary
-
Returns an unmodified set of map entries for the map from namespace URI to namespace alias (or
""
for the default namespace).
- getUrl() - Method in class com.google.api.client.http.HttpRequest
-
Returns the HTTP request URL.
- getUrl() - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
-
Returns the request URL or null
for none.
- getUserAgent() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "User-Agent"
header or null
for none.
- 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.
- getValidateCertificate() - Method in class com.google.api.client.extensions.appengine.http.UrlFetchTransport.Builder
-
- 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.
- GsonFactory - Class in com.google.api.client.json.gson
-
Low-level JSON library implementation based on GSON.
- GsonFactory() - Constructor for class com.google.api.client.json.gson.GsonFactory
-
- GZipEncoding - Class in com.google.api.client.http
-
GZip HTTP content encoding.
- GZipEncoding() - Constructor for class com.google.api.client.http.GZipEncoding
-
- SAFE_PLUS_RESERVED_CHARS_URLENCODER - Static variable in class com.google.api.client.util.escape.PercentEscaper
-
Contains the save 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.
- serialize(XmlSerializer, String, String, Object) - Method in class com.google.api.client.xml.XmlNamespaceDictionary
-
Shows a debug string representation of an element data object of key/value pairs.
- serialize(XmlSerializer, String, Object) - Method in class com.google.api.client.xml.XmlNamespaceDictionary
-
Shows a debug string representation of an element data object of key/value pairs.
- serializeHeadersForMultipartRequests(HttpHeaders, StringBuilder, Logger, Writer) - Static method in class com.google.api.client.http.HttpHeaders
-
Serializes headers to an
Writer
for Multi-part requests.
- set(String, Object) - Method in class com.google.api.client.http.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(String, Object) - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest.ExtendsGenericJson
-
- 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).
- set(String, Object) - Method in class com.google.api.client.xml.GenericXml
-
- set(String, String) - Method in class com.google.api.client.xml.XmlNamespaceDictionary
-
Adds a namespace of the given alias and URI.
- setAccept(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "Accept"
header or null
for none.
- setAcceptEncoding(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "Accept-Encoding"
header or null
for none.
- 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.
- 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
-
- 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
-
- 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
-
- 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
-
- setContentLoggingLimit(int) - Method in class com.google.api.client.http.HttpResponse
-
- 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.
- setDisableMemcache(boolean) - Method in class com.google.api.client.extensions.appengine.datastore.AppEngineDataStoreFactory.Builder
-
Sets whether to disable the memcache (false
by default).
- 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.
- 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.protobuf.ProtoHttpContent
-
- setMediaType(HttpMediaType) - Method in class com.google.api.client.http.UrlEncodedContent
-
- setMediaType(HttpMediaType) - Method in class com.google.api.client.http.xml.AbstractXmlHttpContent
-
- setMediaType(HttpMediaType) - Method in class com.google.api.client.http.xml.atom.AtomContent
-
- setMediaType(HttpMediaType) - Method in class com.google.api.client.http.xml.XmlHttpContent
-
- setMemcacheExpiration(Expiration) - Method in class com.google.api.client.extensions.appengine.datastore.AppEngineDataStoreFactory.Builder
-
Sets the Memcache expiration policy on puts.
- 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.
- setNanoClock(NanoClock) - Method in class com.google.api.client.util.ExponentialBackOff.Builder
-
- 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
-
- 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.
- setProxy(Proxy) - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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.
- setSlugHeader(HttpHeaders, String) - Static method in class com.google.api.client.xml.atom.Atom
-
Sets the "Slug"
header, properly escaping the header value.
- 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
-
- 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.
- setUp() - Method in class com.google.api.client.test.util.store.AbstractDataStoreFactoryTest
-
- 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.apache.v2.ApacheHttpTransport
-
Shuts down the connection manager and releases allocated resources.
- shutdown() - Method in class com.google.api.client.http.HttpTransport
-
Default implementation does nothing, but subclasses may override to possibly release allocated
system resources or close connections.
- 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() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.Simple
-
- simple - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.WildCardTypes
-
- SIMPLE_GENERIC_URL - Static variable in class com.google.api.client.testing.http.HttpTesting
-
- 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
-
- 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
-
- 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.
- STOP - Static variable in interface com.google.api.client.util.BackOff
-
- STOP_BACKOFF - Static variable in interface com.google.api.client.util.BackOff
-
- stopAfterEndTag(String, String) - Method in class com.google.api.client.xml.Xml.CustomizeParser
-
Returns whether to stop parsing when reaching the end tag of an XML element after it has been
processed.
- stopAt(Object, String) - Method in class com.google.api.client.json.CustomizeJsonParser
-
Returns whether to stop parsing at the given key of the given context object.
- stopBeforeStartTag(String, String) - Method in class com.google.api.client.xml.Xml.CustomizeParser
-
Returns whether to stop parsing when reaching the start tag of an XML element before it has
been processed.
- str - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.AnyType
-
- StreamingContent - Interface in com.google.api.client.util
-
Streaming content interface to write bytes to an output stream.
- StringNullValue() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.StringNullValue
-
- 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.
- subtestParse_void(String) - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
-
- supportsMethod(String) - Method in class com.google.api.client.extensions.appengine.http.UrlFetchTransport
-
- supportsMethod(String) - Method in class com.google.api.client.http.apache.ApacheHttpTransport
-
Deprecated.
- supportsMethod(String) - Method in class com.google.api.client.http.apache.v2.ApacheHttpTransport
-
- supportsMethod(String) - Method in class com.google.api.client.http.HttpTransport
-
Returns whether a specified HTTP method is supported by this transport.
- supportsMethod(String) - Method in class com.google.api.client.http.javanet.NetHttpTransport
-
- supportsMethod(String) - Method in class com.google.api.client.testing.http.MockHttpTransport
-
- SYSTEM - Static variable in interface com.google.api.client.util.Clock
-
- SYSTEM - Static variable in interface com.google.api.client.util.NanoClock
-
Provides the default System implementation of a nano clock by using
System.nanoTime()
.