A B C D E F G H I J K L M N O P R S T U V W X Y Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- A() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.A
- AbstractAtomFeedParser<T> - Class in com.google.api.client.xml.atom
-
Beta
Abstract base class for an Atom feed parser when the feed type is known in advance. - AbstractAtomFeedParser(XmlNamespaceDictionary, XmlPullParser, InputStream, Class<T>) - Constructor for class com.google.api.client.xml.atom.AbstractAtomFeedParser
- AbstractDataStore<V extends Serializable> - Class in com.google.api.client.util.store
-
Abstract data store implementation.
- AbstractDataStore(DataStoreFactory, String) - Constructor for class com.google.api.client.util.store.AbstractDataStore
- AbstractDataStoreFactory - Class in com.google.api.client.util.store
-
Abstract data store factory implementation.
- AbstractDataStoreFactory() - Constructor for class com.google.api.client.util.store.AbstractDataStoreFactory
- AbstractDataStoreFactoryTest - Class in com.google.api.client.test.util.store
-
Tests
DataStoreFactory
. - AbstractDataStoreFactoryTest() - Constructor for class com.google.api.client.test.util.store.AbstractDataStoreFactoryTest
- AbstractHttpContent - Class in com.google.api.client.http
-
Abstract implementation of an HTTP content with typical options.
- AbstractHttpContent(HttpMediaType) - Constructor for class com.google.api.client.http.AbstractHttpContent
- AbstractHttpContent(String) - Constructor for class com.google.api.client.http.AbstractHttpContent
- AbstractInputStreamContent - Class in com.google.api.client.http
-
Serializes HTTP request content from an input stream into an output stream.
- AbstractInputStreamContent(String) - Constructor for class com.google.api.client.http.AbstractInputStreamContent
- AbstractJsonFactoryTest - Class in com.google.api.client.test.json
-
Abstract test case for testing a
JsonFactory
. - AbstractJsonFactoryTest(String) - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest
- AbstractJsonFactoryTest.A - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.Animal - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.AnimalGenericJson - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.AnyType - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.ArrayType - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.BooleanTypes - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.Centipede - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.CollectionOfCollectionType - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.Dog - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.DogGenericJson - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.DogWithFamily - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.DoubleListTypeVariableType - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.E - Enum in com.google.api.client.test.json
- AbstractJsonFactoryTest.Entry - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.EnumValue - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.ExtendsGenericJson - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.Feed - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.FloatMapTypeVariableType - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.Human - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.HumanWithPets - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.IntArrayTypeVariableType - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.IntegerTypeVariableType - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.MapOfMapType - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.NumberTypes - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.NumberTypesAsString - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.NumericTypedSubclass1 - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.NumericTypedSubclass2 - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.NumericValueTypedSubclass1 - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.NumericValueTypedSubclass2 - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.PolymorphicSelfReferencing - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.PolymorphicWithDuplicateTypeKeys - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.PolymorphicWithIllegalValueType - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.PolymorphicWithMultipleAnnotations - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.PolymorphicWithNumericType - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.PolymorphicWithNumericValueType - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.Simple - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.StringNullValue - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.TestClass - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.TypeVariablesPassedAround - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.TypeVariableType<T> - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.V - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.WildCardTypes - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.X<XT> - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.Y<YT> - Class in com.google.api.client.test.json
- AbstractJsonFactoryTest.Z<ZT> - Class in com.google.api.client.test.json
- AbstractXmlHttpContent - Class in com.google.api.client.http.xml
-
Beta
Abstract serializer for XML HTTP content based on the data key/value mapping object for an item. - AbstractXmlHttpContent(XmlNamespaceDictionary) - Constructor for class com.google.api.client.http.xml.AbstractXmlHttpContent
- add(String, Object) - Method in class com.google.api.client.util.Objects.ToStringHelper
-
Adds a name/value pair to the formatted output in
name=value
format. - add(K, V) - Method in class com.google.api.client.util.ArrayMap
-
Adds the key/value mapping at the end of the list.
- addHeader(String, String) - Method in class com.google.api.client.http.LowLevelHttpRequest
-
Adds a header to the HTTP request.
- addHeader(String, String) - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
Sets a custom response header.
- addHeader(String, String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
- addHeader(String, String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Adds a header to the response.
- addPart(MultipartContent.Part) - Method in class com.google.api.client.http.MultipartContent
-
Adds an HTTP multipart part.
- ALT_CONTENT_TYPE - Static variable in class com.google.api.client.protobuf.ProtocolBuffers
-
"application/x-protobuffer"
content type. - ALWAYS - Static variable in interface com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler.BackOffRequired
-
Back-off required implementation which returns
true
to everyHttpBackOffUnsuccessfulResponseHandler.BackOffRequired.isRequired(HttpResponse)
call. - Animal() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.Animal
- ANIMAL_WITHOUT_TYPE - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- AnimalGenericJson() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.AnimalGenericJson
- AnyType() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.AnyType
- ApacheHttpTransport - Class in com.google.api.client.http.apache
-
Thread-safe HTTP transport based on the Apache HTTP Client library.
- ApacheHttpTransport() - Constructor for class com.google.api.client.http.apache.ApacheHttpTransport
-
Constructor that uses
ApacheHttpTransport.newDefaultHttpClient()
for the Apache HTTP client. - ApacheHttpTransport(HttpClient) - Constructor for class com.google.api.client.http.apache.ApacheHttpTransport
-
Constructor that allows an alternative Apache HTTP client to be used.
- ApacheHttpTransport.Builder - Class in com.google.api.client.http.apache
-
Builder for
ApacheHttpTransport
. - appendRawPath(String) - Method in class com.google.api.client.http.GenericUrl
-
Appends the given raw encoded path to the current
GenericUrl.pathParts
, setting field only if it isnull
or empty. - arr - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.AnyType
- arr - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.CollectionOfCollectionType
- arr - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.StringNullValue
- arr - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.TypeVariableType
- arr2 - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.StringNullValue
- ArrayMap<K,V> - Class in com.google.api.client.util
-
Memory-efficient map of keys to values with list-style random-access semantics.
- ArrayMap() - Constructor for class com.google.api.client.util.ArrayMap
- ArrayType() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.ArrayType
- ArrayValueMap - Class in com.google.api.client.util
-
Collects the array values of a key/value data object, writing the fields or map values only after all values have been collected.
- ArrayValueMap(Object) - Constructor for class com.google.api.client.util.ArrayValueMap
- Atom - Class in com.google.api.client.xml.atom
-
Beta
Atom Utilities. - ATOM_NAMESPACE - Static variable in class com.google.api.client.xml.atom.Atom
-
Atom namespace.
- AtomContent - Class in com.google.api.client.http.xml.atom
-
Beta
Serializes Atom XML HTTP content based on the data key/value mapping object for an Atom entry. - AtomContent(XmlNamespaceDictionary, Object, boolean) - Constructor for class com.google.api.client.http.xml.atom.AtomContent
- AtomFeedParser<T,E> - Class in com.google.api.client.http.xml.atom
-
Beta
Atom feed pull parser when the Atom entry class is known in advance. - AtomFeedParser(XmlNamespaceDictionary, XmlPullParser, InputStream, Class<T>, Class<E>) - Constructor for class com.google.api.client.http.xml.atom.AtomFeedParser
B
- BackOff - Interface in com.google.api.client.util
-
Back-off policy when retrying an operation.
- BackOffPolicy - Interface in com.google.api.client.http
-
Deprecated.(scheduled to be removed in 1.18) Use
HttpBackOffUnsuccessfulResponseHandler
instead. - BackOffUtils - Class in com.google.api.client.util
- Base64 - Class in com.google.api.client.util
-
Proxy for version 1.6 (or newer) of the Apache Commons Codec
Base64
implementation. - BasicAuthentication - Class in com.google.api.client.http
-
Basic authentication HTTP request initializer as specified in Basic Authentication Scheme
- BasicAuthentication(String, String) - Constructor for class com.google.api.client.http.BasicAuthentication
- bestFriend - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.Human
- Beta - Annotation Type in com.google.api.client.util
-
Use this annotation to indicate that a public API (class, method or field) is beta.
- BetaDetector - Class in com.google.api.client.findbugs
-
Findbugs plugin detector which detects usage of
Beta
in your code. - BetaDetector(BugReporter) - Constructor for class com.google.api.client.findbugs.BetaDetector
- BOGUS_CA_CERT - Static variable in class com.google.api.client.testing.json.webtoken.TestCertificates
-
CA certificate signed with a bogus key.
- bool - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.AnyType
- BOOLEAN_TYPE_EMPTY - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- BOOLEAN_TYPE_EMPTY_OUTPUT - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- BOOLEAN_TYPE_FALSE - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- BOOLEAN_TYPE_NULL - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- BOOLEAN_TYPE_NULL_OUTPUT - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- BOOLEAN_TYPE_TRUE - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- BOOLEAN_TYPE_WRONG - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- BooleanTypes() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.BooleanTypes
- build() - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
-
Returns a new instance of
ApacheHttpTransport
based on the options. - build() - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
-
Deprecated.Builds a new instance of
ExponentialBackOffPolicy
. - build() - Method in class com.google.api.client.http.GenericUrl
-
Constructs the string representation of the URL, including the path specified by
GenericUrl.pathParts
and the query parameters specified by this generic URL. - build() - Method in class com.google.api.client.http.HttpMediaType
-
Builds the full media type string which can be passed in the Content-Type header.
- build() - Method in class com.google.api.client.http.HttpResponseException.Builder
-
Returns a new instance of
HttpResponseException
based on this builder. - build() - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
-
Returns a new instance of
NetHttpTransport
based on the options. - build() - Method in class com.google.api.client.json.JsonObjectParser.Builder
-
Returns a new instance of a JSON object parser.
- build() - Method in class com.google.api.client.testing.http.MockHttpTransport.Builder
-
Builds a new instance of
MockHttpTransport
. - build() - Method in class com.google.api.client.util.ExponentialBackOff.Builder
-
Builds a new instance of
ExponentialBackOff
. - buildAuthority() - Method in class com.google.api.client.http.GenericUrl
-
Constructs the portion of the URL containing the scheme, host and port.
- buildDeleteRequest(GenericUrl) - Method in class com.google.api.client.http.HttpRequestFactory
-
Builds a
DELETE
request for the given URL. - builder() - Static method in class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.Returns an instance of a new builder.
- builder() - Static method in class com.google.api.client.testing.http.MockHttpTransport
-
Deprecated.(to be removed in the future) Use
Builder()
instead. - Builder() - Constructor for class com.google.api.client.http.apache.ApacheHttpTransport.Builder
- Builder() - Constructor for class com.google.api.client.http.ExponentialBackOffPolicy.Builder
-
Deprecated.
- Builder() - Constructor for class com.google.api.client.http.javanet.NetHttpTransport.Builder
- Builder() - Constructor for class com.google.api.client.testing.http.MockHttpTransport.Builder
-
Constructs a new
MockHttpTransport.Builder
. - Builder() - Constructor for class com.google.api.client.util.ExponentialBackOff.Builder
- Builder(int, String, HttpHeaders) - Constructor for class com.google.api.client.http.HttpResponseException.Builder
- Builder(HttpResponse) - Constructor for class com.google.api.client.http.HttpResponseException.Builder
- Builder(JsonFactory) - Constructor for class com.google.api.client.json.JsonObjectParser.Builder
- buildGetRequest(GenericUrl) - Method in class com.google.api.client.http.HttpRequestFactory
-
Builds a
GET
request for the given URL. - buildHeadRequest(GenericUrl) - Method in class com.google.api.client.http.HttpRequestFactory
-
Builds a
HEAD
request for the given URL. - buildPatchRequest(GenericUrl, HttpContent) - Method in class com.google.api.client.http.HttpRequestFactory
-
Builds a
PATCH
request for the given URL and content. - buildPostRequest(GenericUrl, HttpContent) - Method in class com.google.api.client.http.HttpRequestFactory
-
Builds a
POST
request for the given URL and content. - buildPutRequest(GenericUrl, HttpContent) - Method in class com.google.api.client.http.HttpRequestFactory
-
Builds a
PUT
request for the given URL and content. - buildRelativeUrl() - Method in class com.google.api.client.http.GenericUrl
-
Constructs the portion of the URL beginning at the rooted path.
- buildRequest(String, GenericUrl, HttpContent) - Method in class com.google.api.client.http.HttpRequestFactory
-
Builds a request for the given HTTP method, URL, and content.
- buildRequest(String, String) - Method in class com.google.api.client.http.apache.ApacheHttpTransport
- buildRequest(String, String) - Method in class com.google.api.client.http.HttpTransport
-
Builds a low level HTTP request for the given HTTP method.
- buildRequest(String, String) - Method in class com.google.api.client.http.javanet.NetHttpTransport
- buildRequest(String, String) - Method in class com.google.api.client.testing.http.MockHttpTransport
- ByteArrayContent - Class in com.google.api.client.http
-
Concrete implementation of
AbstractInputStreamContent
that generates repeatable input streams based on the contents of byte array. - ByteArrayContent(String, byte[]) - Constructor for class com.google.api.client.http.ByteArrayContent
-
Constructor from byte array content that has already been encoded.
- ByteArrayContent(String, byte[], int, int) - Constructor for class com.google.api.client.http.ByteArrayContent
-
Constructor from byte array content that has already been encoded, specifying a range of bytes to read from the input byte array.
- ByteArrayStreamingContent - Class in com.google.api.client.util
-
Streaming content whose source is a byte array.
- ByteArrayStreamingContent(byte[]) - Constructor for class com.google.api.client.util.ByteArrayStreamingContent
- ByteArrayStreamingContent(byte[], int, int) - Constructor for class com.google.api.client.util.ByteArrayStreamingContent
- ByteStreams - Class in com.google.api.client.util
-
Provides utility methods for working with byte arrays and I/O streams.
C
- CA_CERT - Static variable in class com.google.api.client.testing.json.webtoken.TestCertificates
-
Test CA Certificate.
- CA_KEY - Static variable in class com.google.api.client.testing.json.webtoken.TestCertificates
-
Private key for
CA_CERT
. - Centipede() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.Centipede
- CENTIPEDE - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- 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 usedCharEscaper
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
. - 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 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() - 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
- 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.
- 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.jdo - package com.google.api.client.extensions.jdo
-
Support for the JDO data store.
- com.google.api.client.findbugs - package com.google.api.client.findbugs
-
Findbugs package which supports custom Google APIs Client library findbugs Plugins.
- com.google.api.client.http - package com.google.api.client.http
-
Subset of HTTP 1.1 needed from the specification in RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1.
- com.google.api.client.http.apache - package com.google.api.client.http.apache
-
HTTP Transport library for Google API's based on Apache HTTP Client version 4.
- com.google.api.client.http.javanet - package com.google.api.client.http.javanet
-
HTTP Transport library for Google API's based on the
java.net
package. - com.google.api.client.http.json - package com.google.api.client.http.json
-
JSON HTTP library based on the pluggable HTTP library.
- com.google.api.client.http.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
-
Utilities for JSON as specified in RFC 4627: The application/json Media Type for JavaScript Object Notation (JSON) and Introducing 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.jackson - package com.google.api.client.json.jackson
-
Low-level implementation of the JSON parser library based on the Jackson 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
- 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
-
Beta
Utilities for XML. - com.google.api.client.xml.atom - package com.google.api.client.xml.atom
-
Beta
Utilities for Atom XML. - computeLength() - Method in class com.google.api.client.http.AbstractHttpContent
-
Computes and returns the content length or less than zero if not known.
- computeLength(HttpContent) - Static method in class com.google.api.client.http.AbstractHttpContent
-
Returns the computed content length based using
IOUtils.computeLength(StreamingContent)
or instead-1
ifHttpContent.retrySupported()
isfalse
because the stream must not be read twice. - computeLength(StreamingContent) - Static method in class com.google.api.client.util.IOUtils
-
Computes and returns the byte content length for a streaming content by calling
StreamingContent.writeTo(OutputStream)
on a fake output stream that only counts bytes written. - computeMessageBuffer(HttpResponse) - Static method in exception com.google.api.client.http.HttpResponseException
-
Returns an exception message string builder to use for the given HTTP response.
- connect() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
- CONNECT - Static variable in class com.google.api.client.http.HttpMethods
-
HTTP CONNECT method.
- ConnectionFactory - Interface in com.google.api.client.http.javanet
-
Given a
URL
instance, produces anHttpURLConnection
. - 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 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 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() - 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.
- 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.
- 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.jdo.JdoDataStoreFactory
- createDataStore(String) - Method in class com.google.api.client.util.store.AbstractDataStoreFactory
-
Returns a new instance of a type-specific data store based on the given unique ID.
- createDataStore(String) - Method in class com.google.api.client.util.store.FileDataStoreFactory
- createDataStore(String) - Method in class com.google.api.client.util.store.MemoryDataStoreFactory
- createJsonGenerator(OutputStream, Charset) - Method in class com.google.api.client.json.gson.GsonFactory
- createJsonGenerator(OutputStream, Charset) - Method in class com.google.api.client.json.jackson.JacksonFactory
- createJsonGenerator(OutputStream, Charset) - 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(OutputStream, Charset) - Method in class com.google.api.client.testing.json.MockJsonFactory
- createJsonGenerator(Writer) - Method in class com.google.api.client.json.gson.GsonFactory
- createJsonGenerator(Writer) - Method in class com.google.api.client.json.jackson.JacksonFactory
- createJsonGenerator(Writer) - Method in class com.google.api.client.json.jackson2.JacksonFactory
- 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(Writer) - Method in class com.google.api.client.testing.json.MockJsonFactory
- createJsonObjectParser() - Method in class com.google.api.client.json.JsonFactory
-
Creates an object parser which uses this factory to parse JSON data.
- createJsonParser(InputStream) - Method in class com.google.api.client.json.gson.GsonFactory
- createJsonParser(InputStream) - Method in class com.google.api.client.json.jackson.JacksonFactory
- createJsonParser(InputStream) - 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) - Method in class com.google.api.client.testing.json.MockJsonFactory
- createJsonParser(InputStream, Charset) - Method in class com.google.api.client.json.gson.GsonFactory
- createJsonParser(InputStream, Charset) - Method in class com.google.api.client.json.jackson.JacksonFactory
- createJsonParser(InputStream, Charset) - Method in class com.google.api.client.json.jackson2.JacksonFactory
- 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(InputStream, Charset) - Method in class com.google.api.client.testing.json.MockJsonFactory
- createJsonParser(Reader) - Method in class com.google.api.client.json.gson.GsonFactory
- createJsonParser(Reader) - Method in class com.google.api.client.json.jackson.JacksonFactory
- createJsonParser(Reader) - Method in class com.google.api.client.json.jackson2.JacksonFactory
- 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(Reader) - Method in class com.google.api.client.testing.json.MockJsonFactory
- createJsonParser(String) - Method in class com.google.api.client.json.gson.GsonFactory
- createJsonParser(String) - Method in class com.google.api.client.json.jackson.JacksonFactory
- createJsonParser(String) - Method in class com.google.api.client.json.jackson2.JacksonFactory
- 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(String) - 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
D
- Data - Class in com.google.api.client.util
-
Utilities for working with key/value data based on the
Key
annotation. - Data() - Constructor for class com.google.api.client.util.Data
- DataStore<V extends Serializable> - Interface in com.google.api.client.util.store
-
Stores and manages serializable data of a specific type, where the key is a string and the value is a
Serializable
object. - DataStoreFactory - Interface in com.google.api.client.util.store
-
Factory for a store that manages serializable data, where the key is a string and the value is a
Serializable
object. - DataStoreUtils - Class in com.google.api.client.util.store
-
Utilities for data stores.
- DateTime - Class in com.google.api.client.util
-
Immutable representation of a date with an optional time and an optional time zone based on RFC 3339.
- DateTime(boolean, long, Integer) - Constructor for class com.google.api.client.util.DateTime
-
Instantiates
DateTime
, which may represent a date-only value, from the number of milliseconds since the Unix epoch, and a shift from UTC in minutes. - DateTime(long) - Constructor for class com.google.api.client.util.DateTime
-
Instantiates
DateTime
from the number of milliseconds since the Unix epoch. - DateTime(long, int) - Constructor for class com.google.api.client.util.DateTime
-
Instantiates
DateTime
from the number of milliseconds since the Unix epoch, and a shift from UTC in minutes. - DateTime(String) - Constructor for class com.google.api.client.util.DateTime
- DateTime(Date) - Constructor for class com.google.api.client.util.DateTime
- DateTime(Date, TimeZone) - Constructor for class com.google.api.client.util.DateTime
- decodeBase64(byte[]) - Static method in class com.google.api.client.util.Base64
-
Decodes Base64 data into octets.
- decodeBase64(String) - Static method in class com.google.api.client.util.Base64
-
Decodes a Base64 String into octets.
- decodeUri(String) - Static method in class com.google.api.client.util.escape.CharEscapers
-
Percent-decodes a US-ASCII string into a Unicode string.
- deepCopy(Object, Object) - Static method in class com.google.api.client.util.Data
-
Makes a deep copy of the given source object into the destination object that is assumed to be constructed using
Object.clone()
. - DEFAULT - Static variable in interface com.google.api.client.util.Sleeper
-
Provides the default implementation based on
Thread.sleep(long)
. - DEFAULT_INITIAL_INTERVAL_MILLIS - Static variable in class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.The default initial interval value in milliseconds (0.5 seconds).
- DEFAULT_INITIAL_INTERVAL_MILLIS - Static variable in class com.google.api.client.util.ExponentialBackOff
-
The default initial interval value in milliseconds (0.5 seconds).
- DEFAULT_MAX_ELAPSED_TIME_MILLIS - Static variable in class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.The default maximum elapsed time in milliseconds (15 minutes).
- DEFAULT_MAX_ELAPSED_TIME_MILLIS - Static variable in class com.google.api.client.util.ExponentialBackOff
-
The default maximum elapsed time in milliseconds (15 minutes).
- DEFAULT_MAX_INTERVAL_MILLIS - Static variable in class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.The default maximum back off time in milliseconds (1 minute).
- DEFAULT_MAX_INTERVAL_MILLIS - Static variable in class com.google.api.client.util.ExponentialBackOff
-
The default maximum back off time in milliseconds (1 minute).
- DEFAULT_MULTIPLIER - Static variable in class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.The default multiplier value (1.5 which is 50% increase per back off).
- DEFAULT_MULTIPLIER - Static variable in class com.google.api.client.util.ExponentialBackOff
-
The default multiplier value (1.5 which is 50% increase per back off).
- DEFAULT_NUMBER_OF_RETRIES - Static variable in class com.google.api.client.http.HttpRequest
-
The default number of retries that will be allowed to execute before the request will be terminated.
- DEFAULT_RANDOMIZATION_FACTOR - Static variable in class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.The default randomization factor (0.5 which results in a random period ranging between 50% below and 50% above the retry interval).
- DEFAULT_RANDOMIZATION_FACTOR - Static variable in class com.google.api.client.util.ExponentialBackOff
-
The default randomization factor (0.5 which results in a random period ranging between 50% below and 50% above the retry interval).
- DefaultConnectionFactory - Class in com.google.api.client.http.javanet
-
Default implementation of
ConnectionFactory
, which simply attempts to open the connection with an optionalProxy
. - DefaultConnectionFactory() - Constructor for class com.google.api.client.http.javanet.DefaultConnectionFactory
- DefaultConnectionFactory(Proxy) - Constructor for class com.google.api.client.http.javanet.DefaultConnectionFactory
- delete(String) - Method in interface com.google.api.client.util.store.DataStore
-
Deletes the stored key and value based on the given key, or ignored if the key doesn't already exist.
- DELETE - Static variable in class com.google.api.client.http.HttpMethods
-
HTTP DELETE method.
- deserialize(byte[]) - Static method in class com.google.api.client.util.IOUtils
-
Deserializes the given byte array into to a newly allocated object.
- deserialize(InputStream) - Static method in class com.google.api.client.util.IOUtils
-
Deserializes the given input stream into to a newly allocated object, and close the input stream.
- disconnect() - Method in class com.google.api.client.http.HttpResponse
-
Close the HTTP response content using
HttpResponse.ignore()
, and disconnect usingLowLevelHttpResponse.disconnect()
. - disconnect() - Method in class com.google.api.client.http.LowLevelHttpResponse
-
Default implementation does nothing, but subclasses may override to attempt to abort the connection or release allocated system resources for this connection.
- disconnect() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
- disconnect() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
- Dog() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.Dog
- DOG - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- DOG_EXTRA_INFO - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- DOG_EXTRA_INFO_ORDERED - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- DOG_OPTIMIZED - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- DOG_WITH_FAMILY - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- DOG_WITH_NO_FAMILY - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- DOG_WITH_NO_FAMILY_PARSED - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- DogGenericJson() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.DogGenericJson
- DogWithFamily() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.DogWithFamily
- doNotValidateCertificate() - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
-
Beta
Disables validating server SSL certificates by setting the SSL socket factory usingSslUtils.trustAllSSLContext()
for the SSL context andSSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER
for the host name verifier. - doNotValidateCertificate() - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
-
Beta
Disables validating server SSL certificates by setting the SSL socket factory usingSslUtils.trustAllSSLContext()
for the SSL context andSslUtils.trustAllHostnameVerifier()
for the host name verifier. - doOutputCalled() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
Returns whether
URLConnection.doOutput
was called. - DoubleListTypeVariableType() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.DoubleListTypeVariableType
- download(OutputStream) - Method in class com.google.api.client.http.HttpResponse
-
Writes the content of the HTTP response into the given destination output stream.
E
- EmptyContent - Class in com.google.api.client.http
-
Empty HTTP content of length zero just to force
HttpRequest.execute()
to add the headerContent-Length: 0
. - EmptyContent() - Constructor for class com.google.api.client.http.EmptyContent
- enablePrettyPrint() - Method in class com.google.api.client.json.JsonGenerator
-
Requests that the output be pretty printed (by default it is not).
- encode(StreamingContent, OutputStream) - Method in class com.google.api.client.http.GZipEncoding
- encode(StreamingContent, OutputStream) - Method in interface com.google.api.client.http.HttpEncoding
-
Encodes the streaming content into the output stream.
- encodeBase64(byte[]) - Static method in class com.google.api.client.util.Base64
-
Encodes binary data using the base64 algorithm but does not chunk the output.
- encodeBase64String(byte[]) - Static method in class com.google.api.client.util.Base64
-
Encodes binary data using the base64 algorithm but does not chunk the output.
- encodeBase64URLSafe(byte[]) - Static method in class com.google.api.client.util.Base64
-
Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output.
- encodeBase64URLSafeString(byte[]) - Static method in class com.google.api.client.util.Base64
-
Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output.
- END_ARRAY - com.google.api.client.json.JsonToken
-
End of a JSON array (']').
- END_OBJECT - com.google.api.client.json.JsonToken
-
End of a JSON object ('}').
- ensureCapacity(int) - Method in class com.google.api.client.util.ArrayMap
-
Ensures that the capacity of the internal arrays is at least a given capacity.
- entries - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.Feed
- Entry() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.Entry
- entrySet() - Method in class com.google.api.client.util.ArrayMap
- entrySet() - Method in class com.google.api.client.util.GenericData
- enumValue() - Method in class com.google.api.client.util.FieldInfo
- EnumValue() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.EnumValue
- equal(Object, Object) - Static method in class com.google.api.client.util.Objects
-
Determines whether two possibly-null objects are equal.
- equals(Object) - Method in class com.google.api.client.http.GenericUrl
- equals(Object) - Method in class com.google.api.client.http.HttpMediaType
- equals(Object) - Method in class com.google.api.client.util.DateTime
- equalsIgnoreParameters(HttpMediaType) - Method in class com.google.api.client.http.HttpMediaType
-
Returns
true
if the specified media type has both the same type and subtype, orfalse
if they don't match or the media type isnull
. - equalsIgnoreParameters(String, String) - Static method in class com.google.api.client.http.HttpMediaType
-
Returns
true
if the two specified media types have the same type and subtype, or if both types arenull
. - ERROR_BUF - Static variable in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
Deprecated.As of 1.20. Use
MockHttpURLConnection.setErrorStream(InputStream)
instead. - escape(int) - Method in class com.google.api.client.util.escape.PercentEscaper
-
Escapes the given Unicode code point in UTF-8.
- escape(int) - Method in class com.google.api.client.util.escape.UnicodeEscaper
-
Returns the escaped form of the given Unicode code point, or
null
if this code point does not need to be escaped. - escape(String) - Method in class com.google.api.client.util.escape.Escaper
-
Returns the escaped form of a given literal string.
- escape(String) - Method in class com.google.api.client.util.escape.PercentEscaper
- escape(String) - Method in class com.google.api.client.util.escape.UnicodeEscaper
-
Returns the escaped form of a given literal string.
- Escaper - Class in com.google.api.client.util.escape
-
An object that converts literal text into a format safe for inclusion in a particular context (such as an XML document).
- Escaper() - Constructor for class com.google.api.client.util.escape.Escaper
- escapeSlow(String, int) - Method in class com.google.api.client.util.escape.UnicodeEscaper
-
Returns the escaped form of a given literal string, starting at the given index.
- escapeUri(String) - Static method in class com.google.api.client.util.escape.CharEscapers
-
Escapes the string value so it can be safely included in URIs.
- escapeUriPath(String) - Static method in class com.google.api.client.util.escape.CharEscapers
-
Escapes the string value so it can be safely included in URI path segments.
- escapeUriPathWithoutReserved(String) - Static method in class com.google.api.client.util.escape.CharEscapers
-
Escapes a URI path but retains all reserved characters, including all general delimiters.
- escapeUriQuery(String) - Static method in class com.google.api.client.util.escape.CharEscapers
-
Escapes the string value so it can be safely included in URI query string segments.
- escapeUriUserInfo(String) - Static method in class com.google.api.client.util.escape.CharEscapers
-
Escapes the string value so it can be safely included in URI user info part.
- execute() - Method in class com.google.api.client.http.HttpRequest
-
Execute the HTTP request and returns the HTTP response.
- execute() - Method in class com.google.api.client.http.LowLevelHttpRequest
-
Executes the request and returns a low-level HTTP response object.
- execute() - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
- executeAsync() - Method in class com.google.api.client.http.HttpRequest
-
Beta
Executes this request asynchronously usingHttpRequest.executeAsync(Executor)
in a single separate thread usingExecutors.newSingleThreadExecutor()
. - executeAsync(Executor) - Method in class com.google.api.client.http.HttpRequest
-
Beta
Executes this request asynchronously in a single separate thread using the supplied executor. - expand(String, Object, boolean) - Static method in class com.google.api.client.http.UriTemplate
-
Expands templates in a URI.
- expand(String, String, Object, boolean) - Static method in class com.google.api.client.http.UriTemplate
-
Expands templates in a URI template that is relative to a base URL.
- ExponentialBackOff - Class in com.google.api.client.util
-
Implementation of
BackOff
that increases the back off period for each retry attempt using a randomization function that grows exponentially. - ExponentialBackOff() - Constructor for class com.google.api.client.util.ExponentialBackOff
-
Creates an instance of ExponentialBackOffPolicy using default values.
- ExponentialBackOff(ExponentialBackOff.Builder) - Constructor for class com.google.api.client.util.ExponentialBackOff
- ExponentialBackOff.Builder - Class in com.google.api.client.util
-
Builder for
ExponentialBackOff
. - ExponentialBackOffPolicy - Class in com.google.api.client.http
-
Deprecated.(scheduled to be removed in 1.18). Use
HttpBackOffUnsuccessfulResponseHandler
withExponentialBackOff
instead. - ExponentialBackOffPolicy() - Constructor for class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.Creates an instance of ExponentialBackOffPolicy using default values.
- ExponentialBackOffPolicy(ExponentialBackOffPolicy.Builder) - Constructor for class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.
- ExponentialBackOffPolicy.Builder - Class in com.google.api.client.http
-
Deprecated.
- ExtendsGenericJson() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.ExtendsGenericJson
F
- Feed() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.Feed
- FIELD_NAME - com.google.api.client.json.JsonToken
-
JSON field name.
- FieldInfo - Class in com.google.api.client.util
-
Parses field information to determine data key name/value pair associated with the field.
- FileContent - Class in com.google.api.client.http
-
Concrete implementation of
AbstractInputStreamContent
that generates repeatable input streams based on the contents of a file. - FileContent(String, File) - Constructor for class com.google.api.client.http.FileContent
- FileDataStoreFactory - Class in com.google.api.client.util.store
-
Thread-safe file implementation of a credential store.
- FileDataStoreFactory(File) - Constructor for class com.google.api.client.util.store.FileDataStoreFactory
- FixedClock - Class in com.google.api.client.testing.http
-
Beta
A thread-safe fixed time implementation of the Clock to be used for unit testing. - FixedClock() - Constructor for class com.google.api.client.testing.http.FixedClock
-
Initializes the FixedClock with 0 millis as start time.
- FixedClock(long) - Constructor for class com.google.api.client.testing.http.FixedClock
-
Initializes the FixedClock with the specified time.
- FloatMapTypeVariableType() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.FloatMapTypeVariableType
- flush() - Method in class com.google.api.client.json.JsonGenerator
-
Flushes any buffered content to the underlying output stream or writer.
- flush() - Method in class com.google.api.client.testing.json.MockJsonGenerator
- flush() - Method in class com.google.api.client.testing.util.LogRecordingHandler
- foo - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.TestClass
- FOO_BAR_COM_CERT - Static variable in class com.google.api.client.testing.json.webtoken.TestCertificates
-
Test leaf certificate.
- FOO_BAR_COM_KEY - Static variable in class com.google.api.client.testing.json.webtoken.TestCertificates
-
Private key for
FOO_BAR_COM_CERT
. - forEntry(XmlNamespaceDictionary, Object) - Static method in class com.google.api.client.http.xml.atom.AtomContent
-
Returns a new instance of HTTP content for an Atom entry.
- forFeed(XmlNamespaceDictionary, Object) - Static method in class com.google.api.client.http.xml.atom.AtomContent
-
Returns a new instance of HTTP content for an Atom feed.
- fromHttpHeaders(HttpHeaders) - Method in class com.google.api.client.http.HttpHeaders
-
Puts all headers of the
HttpHeaders
object into thisHttpHeaders
object. - fromHttpResponse(LowLevelHttpResponse, StringBuilder) - Method in class com.google.api.client.http.HttpHeaders
-
Puts all headers of the
LowLevelHttpResponse
into thisHttpHeaders
object. - fromInputStream(InputStream, Class<T>) - Method in class com.google.api.client.json.JsonFactory
-
Parse and close an input stream as a JSON object, array, or value into a new instance of the given destination class using
JsonParser.parseAndClose(Class)
. - fromInputStream(InputStream, Charset, Class<T>) - Method in class com.google.api.client.json.JsonFactory
-
Parse and close an input stream as a JSON object, array, or value into a new instance of the given destination class using
JsonParser.parseAndClose(Class)
. - fromReader(Reader, Class<T>) - Method in class com.google.api.client.json.JsonFactory
-
Parse and close a reader as a JSON object, array, or value into a new instance of the given destination class using
JsonParser.parseAndClose(Class)
. - fromString(String, Class<T>) - Method in class com.google.api.client.json.JsonFactory
-
Parses a string value as a JSON object, array, or value into a new instance of the given destination class using
JsonParser.parse(Class)
. - fromString(String, String) - Static method in class com.google.api.client.http.ByteArrayContent
-
Returns a new instance with the UTF-8 encoding (using
StringUtils.getBytesUtf8(String)
) of the given content string.
G
- GenericData - Class in com.google.api.client.util
-
Generic data that stores all unknown data key name/value pairs.
- GenericData() - Constructor for class com.google.api.client.util.GenericData
-
Constructs with case-insensitive keys.
- GenericData(EnumSet<GenericData.Flags>) - Constructor for class com.google.api.client.util.GenericData
- GenericData.Flags - Enum in com.google.api.client.util
-
Flags that impact behavior of generic data.
- GenericJson - Class in com.google.api.client.json
-
Generic JSON data that stores all unknown key name/value pairs.
- GenericJson() - Constructor for class com.google.api.client.json.GenericJson
- GenericUrl - Class in com.google.api.client.http
-
URL builder in which the query parameters are specified as generic data key/value pairs, based on the specification RFC 3986: Uniform Resource Identifier (URI).
- GenericUrl() - Constructor for class com.google.api.client.http.GenericUrl
- GenericUrl(String) - Constructor for class com.google.api.client.http.GenericUrl
-
Constructs from an encoded URL.
- GenericUrl(URI) - 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.
- 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(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 isnull
. - get(Object) - Method in class com.google.api.client.util.GenericData
- 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. - GET - Static variable in class com.google.api.client.http.HttpMethods
-
HTTP GET method.
- getAccept() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first
"Accept"
header ornull
for none. - getAcceptEncoding() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first
"Accept-Encoding"
header ornull
for none. - getAge() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first
"Age"
header ornull
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
-
Returns the component type of the given array type, assuming
Types.isArray(Type)
. - 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 aList<String>
) ornull
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 ornull
for none. - getAuthenticateAsList() - Method in class com.google.api.client.http.HttpHeaders
-
Returns all
"WWW-Authenticate"
headers ornull
for none. - getAuthorization() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first
"Authorization"
header ornull
for none. - getAuthorizationAsList() - Method in class com.google.api.client.http.HttpHeaders
-
Returns all
"Authorization"
headers ornull
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
-
Deprecated.(scheduled to be removed in 1.18).
HttpRequest.setUnsuccessfulResponseHandler(HttpUnsuccessfulResponseHandler)
with a newHttpBackOffUnsuccessfulResponseHandler
instead. - getBackOffRequired() - Method in class com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler
-
Returns the
HttpBackOffUnsuccessfulResponseHandler.BackOffRequired
instance which determines if back-off is required based on an abnormal HTTP response. - getBase64DecodedBytes() - Method in class com.google.api.client.util.PemReader.Section
-
Returns the base64-decoded bytes (modifiable array).
- getBase64Der() - Method in class com.google.api.client.testing.json.webtoken.TestCertificates.CertData
- getBigIntegerValue() - Method in class com.google.api.client.json.JsonParser
-
Returns the
BigInteger
value of the current token. - getBigIntegerValue() - Method in class com.google.api.client.testing.json.MockJsonParser
- getBound(WildcardType) - Static method in class com.google.api.client.util.Types
-
Returns the only bound of the given wildcard type.
- getBoundary() - Method in class com.google.api.client.http.MultipartContent
-
Returns the boundary string to use.
- getBuffer() - Method in class com.google.api.client.testing.util.TestableByteArrayInputStream
-
Returns the written buffer value as a modifiable byte array.
- getBuffer() - Method in class com.google.api.client.testing.util.TestableByteArrayOutputStream
-
Returns the written buffer value as a modifiable byte array.
- getBytesUtf8(String) - Static method in class com.google.api.client.util.StringUtils
-
Encodes the given string into a sequence of bytes using the UTF-8 charset, storing the result into a new byte array.
- getBytesWritten() - Method in class com.google.api.client.util.LoggingByteArrayOutputStream
-
Returns the bytes written to the stream (may or may not have been logged).
- getByteValue() - Method in class com.google.api.client.json.JsonParser
-
Returns the byte value of the current token.
- getByteValue() - Method in class com.google.api.client.testing.json.MockJsonParser
- getCacheControl() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first
"Cache-Control"
header ornull
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. - getClassInfo() - Method in class com.google.api.client.util.FieldInfo
-
Returns the class information of the field's declaring class.
- getClassInfo() - Method in class com.google.api.client.util.GenericData
-
Returns the class information.
- getCloseInputStream() - Method in class com.google.api.client.http.AbstractInputStreamContent
-
Returns whether the input stream should be closed at the end of
AbstractInputStreamContent.writeTo(java.io.OutputStream)
. - getConnectTimeout() - Method in class com.google.api.client.http.HttpRequest
-
Returns the timeout in milliseconds to establish a connection or
0
for an infinite timeout. - getContent() - Method in class com.google.api.client.http.HttpEncodingStreamingContent
-
Returns the streaming content.
- getContent() - Method in class com.google.api.client.http.HttpRequest
-
Returns the HTTP request content or
null
for none. - getContent() - Method in class com.google.api.client.http.HttpResponse
-
Returns the content of the HTTP response.
- getContent() - Method in class com.google.api.client.http.HttpResponseException.Builder
-
Returns the HTTP response content or
null
for none. - getContent() - Method in exception com.google.api.client.http.HttpResponseException
-
Returns the HTTP response content or
null
for none. - getContent() - Method in class com.google.api.client.http.LowLevelHttpResponse
-
Returns the HTTP response content input stream or
null
for none. - getContent() - Method in class com.google.api.client.http.MultipartContent.Part
-
Returns the HTTP content or
null
for none. - getContent() - 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
- getContent(HttpRequest) - Static method in class com.google.api.client.http.UrlEncodedContent
-
Returns the URL-encoded content of the given HTTP request, or if none return and set as content a new instance of
UrlEncodedContent
(whoseUrlEncodedContent.getData()
is an implementation ofMap
). - 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 ornull
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"
) ornull
for none. - getContentEncoding() - Method in class com.google.api.client.http.LowLevelHttpResponse
-
Returns the content encoding (for example
"gzip"
) ornull
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 ornull
for none. - getContentLength() - Method in class com.google.api.client.http.LowLevelHttpRequest
-
Returns the content length or less than zero if not known.
- getContentLength() - Method in class com.google.api.client.http.LowLevelHttpResponse
-
Returns the content length or
0
for none. - getContentLength() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
- getContentLoggingLimit() - Method in class com.google.api.client.http.HttpRequest
-
Returns the limit to the content size that will be logged during
HttpRequest.execute()
. - getContentLoggingLimit() - Method in class com.google.api.client.http.HttpResponse
-
Returns the limit to the content size that will be logged during
HttpResponse.getContent()
. - getContentMD5() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first
"Content-MD5"
header ornull
for none. - getContentRange() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first
"Content-Range"
header ornull
for none. - getContentType() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first
"Content-Type"
header ornull
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 ornull
for none. - getCount() - Method in class com.google.api.client.testing.util.MockSleeper
-
Returns the number of times
MockSleeper.sleep(long)
was called. - getCritical() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Returns the array listing the header parameter names that define extensions that are 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 ornull
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.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
-
Returns the default key store using
KeyStore.getDefaultType()
. - getDefaultTrustManagerFactory() - Static method in class com.google.api.client.util.SslUtils
-
Returns the default trust manager factory.
- getDer() - Method in class com.google.api.client.testing.json.webtoken.TestCertificates.CertData
- getDoubleValue() - Method in class com.google.api.client.json.JsonParser
-
Returns the double value of the current token.
- getDoubleValue() - Method in class com.google.api.client.testing.json.MockJsonParser
- getElapsedTimeMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.Returns the elapsed time in milliseconds since an
ExponentialBackOffPolicy
instance is created and is reset whenExponentialBackOffPolicy.reset()
is called. - getElapsedTimeMillis() - Method in class com.google.api.client.util.ExponentialBackOff
-
Returns the elapsed time in milliseconds since an
ExponentialBackOff
instance is created and is reset whenExponentialBackOff.reset()
is called. - getElementName() - Method in class com.google.api.client.http.xml.XmlHttpContent
-
Returns the XML element local name, optionally prefixed by its namespace alias, for example
"atom:entry"
. - 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. - 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 ornull
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 ornull
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() - Method in class com.google.api.client.util.FieldInfo
-
Returns the field.
- getField(String) - Method in class com.google.api.client.util.ClassInfo
-
Returns the field for the given
FieldInfo.getName()
. - getFieldInfo(String) - Method in class com.google.api.client.util.ClassInfo
-
Returns the information for the given
FieldInfo.getName()
. - getFieldInfos() - Method in class com.google.api.client.util.ClassInfo
-
Returns an unmodifiable collection of the
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 instance using reflection.
- getFile() - Method in class com.google.api.client.http.FileContent
-
Returns the file.
- getFirst(String) - Method in class com.google.api.client.http.GenericUrl
-
Returns the first query parameter value for the given query parameter name.
- getFirstHeaderStringValue(String) - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first header string value for the given header name.
- getFirstHeaderValue(String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
-
Returns the value of the first header of the given name or
null
for none. - getFloatValue() - Method in class com.google.api.client.json.JsonParser
-
Returns the float value of the current token.
- getFloatValue() - Method in class com.google.api.client.testing.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() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Returns the list of header values of HTTP response.
- 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).
- getHost() - Method in class com.google.api.client.http.GenericUrl
-
Returns the host, for example
"www.google.com"
. - getHostnameVerifier() - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
-
Returns the host name verifier or
null
for the default. - getHttpClient() - Method in class com.google.api.client.http.apache.ApacheHttpTransport
-
Returns the Apache HTTP client.
- getHttpParams() - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
-
Returns the HTTP parameters.
- 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 ornull
for none. - getIfModifiedSince() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first
"If-Modified-Since"
header ornull
for none. - getIfNoneMatch() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first
"If-None-Match"
header ornull
for none. - getIfRange() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first
"If-Range"
header ornull
for none. - getIfUnmodifiedSince() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first
"If-Unmodified-Since"
header ornull
for none. - getIgnoreCase() - Method in class com.google.api.client.util.ClassInfo
-
Returns whether field names are case sensitive.
- getIndexOfKey(K) - Method in class com.google.api.client.util.ArrayMap
-
Returns the index of the given key or
-1
if there is no such key. - getInitialIntervalMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
-
Deprecated.Returns the initial retry interval in milliseconds.
- getInitialIntervalMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.Returns the initial retry interval in milliseconds.
- getInitialIntervalMillis() - Method in class com.google.api.client.util.ExponentialBackOff.Builder
-
Returns the initial retry interval in milliseconds.
- getInitialIntervalMillis() - Method in class com.google.api.client.util.ExponentialBackOff
-
Returns the initial retry interval in milliseconds.
- getInitializer() - Method in class com.google.api.client.http.HttpRequestFactory
-
Returns the HTTP request initializer or
null
for none. - getInputStream() - Method in class com.google.api.client.http.AbstractInputStreamContent
-
Return an input stream for the specific implementation type of
AbstractInputStreamContent
. - getInputStream() - Method in class com.google.api.client.http.ByteArrayContent
- getInputStream() - Method in class com.google.api.client.http.FileContent
- getInputStream() - Method in class com.google.api.client.http.InputStreamContent
- getInputStream() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
- 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) ornull
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
- getIssuedAtTimeSeconds() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Returns the issued at claim that identifies the time (in seconds) at which the JWT was issued or
null
for none. - getIssuer() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Returns the issuer claim that identifies the principal that issued the JWT or
null
for none. - getIterableParameter(Type) - Static method in class com.google.api.client.util.Types
-
Returns the type parameter of
Iterable
that is assignable from the given iterable type. - getJavaKeyStore() - Static method in class com.google.api.client.util.SecurityUtils
-
Returns the Java KeyStore (JKS).
- getJsonFactory() - Method in class com.google.api.client.http.json.JsonHttpContent
-
Returns the JSON factory.
- getJsonFactory() - Method in class com.google.api.client.json.JsonObjectParser.Builder
-
Returns the JSON factory.
- getJsonFactory() - Method in class com.google.api.client.json.JsonObjectParser
-
Returns the JSON factory.
- getJsonFactory() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Parser
-
Returns the JSON factory.
- getJsonWebSignature() - Static method in class com.google.api.client.testing.json.webtoken.TestCertificates
- getJwk() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Returns the JSON Web Key header parameter that is a public key that corresponds to the key used to digitally sign the JWS or
null
for none. - getJwkUrl() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Returns the JSON Web Key URL header parameter that is an absolute URL that refers to a resource for a set of JSON-encoded public keys, one of which corresponds to the key that was used to digitally sign the JWS or
null
for none. - getJwtId() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Returns the JWT ID claim that provides a unique identifier for the JWT or
null
for none. - getKey(int) - Method in class com.google.api.client.util.ArrayMap
-
Returns the key at the given index or
null
if out of bounds. - getKeyId() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Returns the key ID header parameter that is a hint indicating which specific key owned by the signer should be used to validate the digital signature or
null
for none. - getLastMillis() - Method in class com.google.api.client.testing.util.MockSleeper
-
Returns the value of
millis
parameter whenMockSleeper.sleep(long)
was last called or0
if not called. - getLastModified() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first
"Last-Modified"
header ornull
for none. - getLength() - Method in class com.google.api.client.http.AbstractHttpContent
-
Default implementation calls
AbstractHttpContent.computeLength()
once and caches it for future invocations, but subclasses may override. - getLength() - Method in class com.google.api.client.http.ByteArrayContent
- getLength() - Method in class com.google.api.client.http.EmptyContent
- getLength() - Method in class com.google.api.client.http.FileContent
- getLength() - Method in interface com.google.api.client.http.HttpContent
-
Returns the content length or less than zero if not known.
- getLength() - Method in class com.google.api.client.http.InputStreamContent
- getLength() - Method in class com.google.api.client.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 ornull
for none. - getLogStream() - Method in class com.google.api.client.util.LoggingInputStream
-
Returns the log stream.
- getLogStream() - Method in class com.google.api.client.util.LoggingOutputStream
-
Returns the log stream.
- getLongValue() - Method in class com.google.api.client.json.JsonParser
-
Returns the long value of the current token.
- getLongValue() - Method in class com.google.api.client.testing.json.MockJsonParser
- getLowLevelHttpRequest() - Method in class com.google.api.client.testing.http.MockHttpTransport.Builder
-
Returns the
MockLowLevelHttpRequest
that is associated with thisMockHttpTransport.Builder
, ornull
if no such instance exists. - getLowLevelHttpRequest() - Method in class com.google.api.client.testing.http.MockHttpTransport
-
Returns the
MockLowLevelHttpRequest
that is associated with thisMockHttpTransport.Builder
, ornull
if no such instance exists. - getMapValueParameter(Type) - Static method in class com.google.api.client.util.Types
-
Returns the value type parameter of
Map
that is assignable from the given map type. - getMaxElapsedTimeMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
-
Deprecated.Returns the maximum elapsed time in milliseconds.
- getMaxElapsedTimeMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.Returns the maximum elapsed time in milliseconds.
- getMaxElapsedTimeMillis() - Method in class com.google.api.client.util.ExponentialBackOff.Builder
-
Returns the maximum elapsed time in milliseconds.
- getMaxElapsedTimeMillis() - Method in class com.google.api.client.util.ExponentialBackOff
-
Returns the maximum elapsed time in milliseconds.
- getMaximumBytesToLog() - Method in class com.google.api.client.util.LoggingByteArrayOutputStream
-
Returns the maximum number of bytes to log (may be
0
to avoid logging content). - getMaxIntervalMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
-
Deprecated.Returns the maximum value of the back off period in milliseconds.
- getMaxIntervalMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.Returns the maximum value of the back off period in milliseconds.
- getMaxIntervalMillis() - Method in class com.google.api.client.util.ExponentialBackOff.Builder
-
Returns the maximum value of the back off period in milliseconds.
- getMaxIntervalMillis() - Method in class com.google.api.client.util.ExponentialBackOff
-
Returns the maximum value of the back off period in milliseconds.
- getMaxTries() - Method in class com.google.api.client.testing.util.MockBackOff
-
Returns the maximum number of tries before returning
BackOff.STOP
. - getMediaType() - Method in class com.google.api.client.http.AbstractHttpContent
-
Returns the media type to use for the Content-Type header, or
null
if unspecified. - getMediaType() - Method in class com.google.api.client.http.HttpResponse
-
Returns the parsed Content-Type in form of a
HttpMediaType
ornull
if no content-type was set. - getMessage() - Method in class com.google.api.client.http.HttpResponseException.Builder
-
Returns the detail message to use or
null
for none. - 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 ornull
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"
) ornull
for none. - getName() - Method in class com.google.api.client.util.FieldInfo
- getNames() - Method in class com.google.api.client.util.ClassInfo
-
Returns an unmodifiable sorted set (with any possible
null
member first) ofnames
. - 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.
- 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 ornull
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
'/'
ornull
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 example443
. - 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 ornull
for none. - getRawArrayComponentType(List<Type>, Type) - Static method in class com.google.api.client.util.Types
-
Returns the raw array component type to use -- for example for the first parameter of
Array.newInstance(Class, int)
-- for the given component type. - getRawClass(ParameterizedType) - Static method in class com.google.api.client.util.Types
-
Returns the raw class for the given parameter type as defined in
ParameterizedType.getRawType()
. - getRawPath() - Method in class com.google.api.client.http.GenericUrl
-
Returns the raw encoded path computed from the
GenericUrl.pathParts
. - getReadTimeout() - Method in class com.google.api.client.http.HttpRequest
-
Returns the timeout in milliseconds to read data from an established connection or
0
for an infinite timeout. - getReasonPhrase() - Method in class com.google.api.client.http.LowLevelHttpResponse
-
Returns the HTTP reason phrase or
null
for none. - getReasonPhrase() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
- getRequest() - Method in class com.google.api.client.http.HttpResponse
-
Returns the HTTP request.
- getRequestMethod() - Method in class com.google.api.client.http.HttpRequest
-
Returns the HTTP request method or
null
for none. - getResponse() - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
-
HTTP response to return from
MockLowLevelHttpRequest.execute()
. - getResponseCode() - Method in class com.google.api.client.testing.http.apache.MockHttpClient
-
Returns the HTTP response code to use.
- getResponseCode() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
- getResponseHeaders() - Method in class com.google.api.client.http.HttpRequest
-
Returns the HTTP response headers.
- getResponseInterceptor() - Method in class com.google.api.client.http.HttpRequest
-
Returns the HTTP response interceptor or
null
for none. - getRetryAfter() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first
"Retry-After"
header ornull
for none. - getRetryOnExecuteIOException() - Method in class com.google.api.client.http.HttpRequest
-
Deprecated.(scheduled to be removed in 1.18) Use
HttpRequest.setIOExceptionHandler(HttpIOExceptionHandler)
instead. - getRsaKeyFactory() - Static method in class com.google.api.client.util.SecurityUtils
-
Returns the RSA key factory.
- getScheme() - Method in class com.google.api.client.http.GenericUrl
-
Returns the scheme (lowercase), for example
"https"
. - 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 modifiable array of bytes of the signature.
- getSignedContentBytes() - Method in class com.google.api.client.json.webtoken.JsonWebSignature
-
Returns the modifiable array of 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.javanet.NetHttpTransport.Builder
-
Returns the SSL socket factory.
- getSSLSocketFactory() - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
-
Returns the SSL socket factory (
SSLSocketFactory.getSocketFactory()
by default). - getStatusCode() - Method in class com.google.api.client.http.HttpResponse
-
Returns the HTTP status code or
0
for none. - getStatusCode() - Method in class com.google.api.client.http.HttpResponseException.Builder
-
Returns the HTTP status code or
0
for none. - getStatusCode() - Method in exception com.google.api.client.http.HttpResponseException
-
Returns the HTTP status code or
0
for none. - getStatusCode() - Method in class com.google.api.client.http.LowLevelHttpResponse
-
Returns the response status code or
<=0
for none. - getStatusCode() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
- getStatusLine() - Method in class com.google.api.client.http.LowLevelHttpResponse
-
Returns the response status line or
null
for none. - getStatusLine() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
- getStatusMessage() - Method in class com.google.api.client.http.HttpResponse
-
Returns the HTTP status message or
null
for none. - getStatusMessage() - Method in class com.google.api.client.http.HttpResponseException.Builder
-
Returns the HTTP status message or
null
for none. - getStatusMessage() - Method in exception com.google.api.client.http.HttpResponseException
-
Returns the HTTP status message or
null
for none. - getStreamingContent() - Method in class com.google.api.client.http.LowLevelHttpRequest
-
Returns the streaming content or
null
for no content. - getSubject() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Returns the subject claim identifying the principal that is the subject of the JWT or
null
for none. - getSubType() - Method in class com.google.api.client.http.HttpMediaType
-
Returns the sub media type, for example
"plain"
when using"text"
. - getSuperParameterizedType(Type, Class<?>) - Static method in class com.google.api.client.util.Types
-
Returns the parameterized type that is or extends the given type that matches the given super class.
- getSupportedMethods() - Method in class com.google.api.client.testing.http.MockHttpTransport.Builder
-
Returns the supported HTTP methods or
null
to specify that all methods are supported. - getSupportedMethods() - Method in class com.google.api.client.testing.http.MockHttpTransport
-
Returns the unmodifiable set of supported HTTP methods or
null
to specify that all methods are supported. - getSuppressUserAgentSuffix() - Method in class com.google.api.client.http.HttpRequest
-
Returns whether to not add the suffix
HttpRequest.USER_AGENT_SUFFIX
to the User-Agent header. - getText() - Method in class com.google.api.client.json.JsonParser
-
Returns a textual representation of the current token or
null
ifJsonParser.getCurrentToken()
isnull
. - 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.
- 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"
, ornull
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 ornull
for none. - getUserInfo() - Method in class com.google.api.client.http.GenericUrl
-
Returns the user info or
null
for none, for example"username:password"
. - getUsername() - Method in class com.google.api.client.http.BasicAuthentication
-
Returns the username.
- getValue() - 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(int) - Method in class com.google.api.client.util.ArrayMap
-
Returns the value at the given index or
null
if out of bounds. - 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"
. - 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.
- getX509Certificate() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Deprecated.
- 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
H
- handleIOException(HttpRequest, boolean) - Method in class com.google.api.client.http.HttpBackOffIOExceptionHandler
-
Invoked when an
IOException
is thrown during an HTTP request. - handleIOException(HttpRequest, boolean) - Method in interface com.google.api.client.http.HttpIOExceptionHandler
-
Invoked when an
IOException
is thrown during an HTTP request. - handleRedirect(int, HttpHeaders) - Method in class com.google.api.client.http.HttpRequest
-
Sets up this request object to handle the necessary redirect if redirects are turned on, it is a redirect status code and the header has a location.
- handleResponse(HttpRequest, HttpResponse, boolean) - Method in class com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler
-
Handler that will be invoked when an abnormal response is received.
- handleResponse(HttpRequest, HttpResponse, boolean) - Method in interface com.google.api.client.http.HttpUnsuccessfulResponseHandler
-
Handler that will be invoked when an abnormal response is received.
- handleResponse(HttpRequest, HttpResponse, boolean) - Method in class com.google.api.client.testing.http.MockHttpUnsuccessfulResponseHandler
- handleUnrecognizedKey(Object, String) - Method in class com.google.api.client.json.CustomizeJsonParser
-
Called when the given unrecognized key is encountered in the given context object.
- hashCode() - Method in class com.google.api.client.http.GenericUrl
- hashCode() - Method in class com.google.api.client.http.HttpMediaType
- hashCode() - Method in class com.google.api.client.util.DateTime
- HEAD - Static variable in class com.google.api.client.http.HttpMethods
-
HTTP HEAD method.
- Header() - Constructor for class com.google.api.client.json.webtoken.JsonWebSignature.Header
- Header() - Constructor for class com.google.api.client.json.webtoken.JsonWebToken.Header
- HttpBackOffIOExceptionHandler - Class in com.google.api.client.http
- HttpBackOffIOExceptionHandler(BackOff) - Constructor for class com.google.api.client.http.HttpBackOffIOExceptionHandler
-
Constructs a new instance from a
BackOff
. - HttpBackOffUnsuccessfulResponseHandler - Class in com.google.api.client.http
- HttpBackOffUnsuccessfulResponseHandler(BackOff) - Constructor for class com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler
-
Constructs a new instance from a
BackOff
. - HttpBackOffUnsuccessfulResponseHandler.BackOffRequired - Interface in com.google.api.client.http
- HttpContent - Interface in com.google.api.client.http
-
Serializes HTTP request content into an output stream.
- HttpEncoding - Interface in com.google.api.client.http
-
HTTP content encoding.
- HttpEncodingStreamingContent - Class in com.google.api.client.http
-
Streaming content based on an HTTP encoding.
- HttpEncodingStreamingContent(StreamingContent, HttpEncoding) - Constructor for class com.google.api.client.http.HttpEncodingStreamingContent
- HttpExecuteInterceptor - Interface in com.google.api.client.http
-
HTTP request execute interceptor to intercept the start of
HttpRequest.execute()
before executing the HTTP request. - HttpHeaders - Class in com.google.api.client.http
-
Stores HTTP headers used in an HTTP request or response, as defined in Header Field Definitions.
- HttpHeaders() - Constructor for class com.google.api.client.http.HttpHeaders
- HttpIOExceptionHandler - Interface in com.google.api.client.http
- HttpMediaType - Class in com.google.api.client.http
-
HTTP Media-type as specified in the HTTP RFC ( {@link "http://tools.ietf.org/html/rfc2616#section-3.7"}).
- HttpMediaType(String) - Constructor for class com.google.api.client.http.HttpMediaType
-
Creates a
HttpMediaType
by parsing the specified media type string. - HttpMediaType(String, String) - Constructor for class com.google.api.client.http.HttpMediaType
-
Initializes the
HttpMediaType
by setting the specified media type. - HttpMethods - Class in com.google.api.client.http
-
HTTP request method constants specified in RFC 2616 Section 5.1.1.
- HttpRequest - Class in com.google.api.client.http
-
HTTP request.
- HttpRequestFactory - Class in com.google.api.client.http
-
Thread-safe light-weight HTTP request factory layer on top of the HTTP transport that has an optional
HTTP request initializer
for initializing requests. - HttpRequestInitializer - Interface in com.google.api.client.http
-
HTTP request initializer.
- HttpResponse - Class in com.google.api.client.http
-
HTTP response.
- HttpResponseException - Exception in com.google.api.client.http
-
Exception thrown when an error status code is detected in an HTTP response.
- HttpResponseException(HttpResponse) - Constructor for exception com.google.api.client.http.HttpResponseException
-
Constructor that constructs a detail message from the given HTTP response that includes the status code, status message and HTTP response content.
- HttpResponseException(HttpResponseException.Builder) - Constructor for exception com.google.api.client.http.HttpResponseException
- HttpResponseException.Builder - Class in com.google.api.client.http
-
Builder.
- HttpResponseInterceptor - Interface in com.google.api.client.http
-
HTTP response interceptor to intercept the end of
HttpRequest.execute()
before returning a successful response or throwing an exception for an unsuccessful response. - HttpStatusCodes - Class in com.google.api.client.http
-
Constants enumerating the HTTP status codes.
- HttpStatusCodes() - Constructor for class com.google.api.client.http.HttpStatusCodes
- HttpTesting - Class in com.google.api.client.testing.http
-
Beta
Utilities and constants related to testing the HTTP library. - HttpTransport - Class in com.google.api.client.http
-
Thread-safe abstract HTTP transport.
- HttpTransport() - Constructor for class com.google.api.client.http.HttpTransport
- HttpUnsuccessfulResponseHandler - Interface in com.google.api.client.http
-
Interface which handles abnormal HTTP responses (in other words not 2XX).
- Human() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.Human
- HUMAN - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- HUMAN_WITH_PETS - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- HUMAN_WITH_PETS_PARSED - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- HumanWithPets() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.HumanWithPets
I
- ignore() - Method in class com.google.api.client.http.HttpResponse
-
Closes the content of the HTTP response from
HttpResponse.getContent()
, ignoring any content. - IGNORE_CASE - com.google.api.client.util.GenericData.Flags
-
Whether keys are case sensitive.
- IGNORED_VALUE - com.google.api.client.test.json.AbstractJsonFactoryTest.E
- initialize(HttpRequest) - Method in class com.google.api.client.http.BasicAuthentication
- initialize(HttpRequest) - Method in interface com.google.api.client.http.HttpRequestInitializer
-
Initializes a request.
- initSslContext(SSLContext, KeyStore, TrustManagerFactory) - Static method in class com.google.api.client.util.SslUtils
-
Initializes the SSL context to the trust managers supplied by the trust manager factory for the given trust store.
- INPUT_BUF - Static variable in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
Deprecated.As of 1.20. Use
MockHttpURLConnection.setInputStream(InputStream)
instead. - InputStreamContent - Class in com.google.api.client.http
-
Concrete implementation of
AbstractInputStreamContent
that simply handles the transfer of data from an input stream to an output stream. - InputStreamContent(String, InputStream) - Constructor for class com.google.api.client.http.InputStreamContent
- IntArrayTypeVariableType() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.IntArrayTypeVariableType
- integerArr - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.ArrayType
- IntegerTypeVariableType() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.IntegerTypeVariableType
- intercept(HttpRequest) - Method in class com.google.api.client.http.BasicAuthentication
- intercept(HttpRequest) - Method in interface com.google.api.client.http.HttpExecuteInterceptor
-
Invoked at the start of
HttpRequest.execute()
before executing the HTTP request. - interceptResponse(HttpResponse) - Method in interface com.google.api.client.http.HttpResponseInterceptor
-
Invoked at the end of
HttpRequest.execute()
before returning a successful response or throwing an exception for an unsuccessful response. - IOUtils - Class in com.google.api.client.util
-
Utilities for I/O streams.
- IOUtils() - Constructor for class com.google.api.client.util.IOUtils
- isArray(Type) - Static method in class com.google.api.client.util.Types
-
Returns whether the given type is an array.
- isAssignableToOrFrom(Class<?>, Class<?>) - Static method in class com.google.api.client.util.Types
-
Returns whether a class is either assignable to or from another class.
- isBackOffRequired(int) - Method in interface com.google.api.client.http.BackOffPolicy
-
Deprecated.Determines if back off is required based on the specified status code.
- isBackOffRequired(int) - Method in class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.Determines if back off is required based on the specified status code.
- isCalled() - Method in class com.google.api.client.testing.http.MockHttpUnsuccessfulResponseHandler
-
Returns whether the
MockHttpUnsuccessfulResponseHandler.handleResponse(com.google.api.client.http.HttpRequest, com.google.api.client.http.HttpResponse, boolean)
method was called or not. - isClosed() - Method in class com.google.api.client.testing.json.MockJsonParser
-
Returns whether
MockJsonParser.close()
was called. - isClosed() - Method in class com.google.api.client.testing.util.TestableByteArrayInputStream
-
Returns whether the output stream has been closed.
- isClosed() - Method in class com.google.api.client.testing.util.TestableByteArrayOutputStream
-
Returns whether the output stream has been closed.
- isCurlLoggingEnabled() - Method in class com.google.api.client.http.HttpRequest
-
Returns whether logging in form of curl commands is enabled for this request.
- isDateOnly() - Method in class com.google.api.client.util.DateTime
-
Returns whether this is a date-only value.
- isDisconnected() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Returns whether
MockLowLevelHttpResponse.disconnect()
has been called. - isEmpty() - Method in class com.google.api.client.util.store.AbstractDataStore
-
Returns whether there are any stored keys.
- isEmpty() - Method in interface com.google.api.client.util.store.DataStore
-
Returns whether there are any stored keys.
- isEntry() - Method in class com.google.api.client.http.xml.atom.AtomContent
-
Returns
true
for an Atom entry orfalse
for an Atom feed. - isEnum() - Method in class com.google.api.client.util.ClassInfo
-
Returns the underlying class is an enum.
- isFinal() - Method in class com.google.api.client.util.FieldInfo
-
Returns whether the field is final.
- isLoggingEnabled() - Method in class com.google.api.client.http.HttpRequest
-
Returns whether logging should be enabled for this request.
- isLoggingEnabled() - Method in class com.google.api.client.http.HttpResponse
-
Returns whether logging should be enabled on this response.
- isNull(Object) - Static method in class com.google.api.client.util.Data
-
Returns whether the given object is the magic object that represents the null value of its class.
- isNullOrEmpty(String) - Static method in class com.google.api.client.util.Strings
-
Returns
true
if the given string is null or is the empty string. - ISO_8859_1 - Static variable in class com.google.api.client.util.Charsets
-
ISO-8859-1 charset.
- isPrimitive() - Method in class com.google.api.client.util.FieldInfo
-
Returns whether the field is primitive as defined by
Data.isPrimitive(Type)
. - isPrimitive(Type) - Static method in class com.google.api.client.util.Data
-
Returns whether the given type is one of the supported primitive classes like number and date/time, or is a wildcard of one.
- isRedirect(int) - Static method in class com.google.api.client.http.HttpStatusCodes
-
Returns whether the given HTTP response status code is a redirect code
301, 302, 303, 307
. - isRequired(HttpResponse) - Method in interface com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler.BackOffRequired
-
Invoked when an abnormal response is received and determines if back-off is required.
- isSuccess(int) - Static method in class com.google.api.client.http.HttpStatusCodes
-
Returns whether the given HTTP response status code is a success code
>= 200 and < 300
. - isSuccessStatusCode() - Method in class com.google.api.client.http.HttpResponse
-
Returns whether received a successful HTTP status code
>= 200 && < 300
(seeHttpResponse.getStatusCode()
). - isSuccessStatusCode() - Method in exception com.google.api.client.http.HttpResponseException
-
Returns whether received a successful HTTP status code
>= 200 && < 300
(seeHttpResponseException.getStatusCode()
). - isSymbolicLink(File) - Static method in class com.google.api.client.util.IOUtils
-
Returns whether the given file is a symbolic link.
- isValueOfPrimitiveType(Object) - Static method in class com.google.api.client.util.Data
-
Returns whether to given value is
null
or its class is primitive as defined byData.isPrimitive(Type)
. - iterableOf(Object) - Static method in class com.google.api.client.util.Types
-
Returns an iterable for an input iterable or array value.
J
- JacksonFactory - Class in com.google.api.client.json.jackson
-
Low-level JSON library implementation based on Jackson.
- JacksonFactory - Class in com.google.api.client.json.jackson2
-
Low-level JSON library implementation based on Jackson 2.
- JacksonFactory() - Constructor for class com.google.api.client.json.jackson.JacksonFactory
- JacksonFactory() - Constructor for class com.google.api.client.json.jackson2.JacksonFactory
- JdoDataStoreFactory - Class in com.google.api.client.extensions.jdo
-
Thread-safe JDO implementation of a data store factory.
- JdoDataStoreFactory(PersistenceManagerFactory) - Constructor for class com.google.api.client.extensions.jdo.JdoDataStoreFactory
- join(Iterable<?>) - Method in class com.google.api.client.util.Joiner
-
Returns a string containing the string representation of each of
parts
, using the previously configured separator between each. - Joiner - Class in com.google.api.client.util
- Json - Class in com.google.api.client.json
-
JSON utilities.
- Json() - Constructor for class com.google.api.client.json.Json
- JsonFactory - Class in com.google.api.client.json
-
Abstract low-level JSON factory.
- JsonFactory() - Constructor for class com.google.api.client.json.JsonFactory
- JsonGenerator - Class in com.google.api.client.json
-
Abstract low-level JSON serializer.
- JsonGenerator() - Constructor for class com.google.api.client.json.JsonGenerator
- JsonHttpContent - Class in com.google.api.client.http.json
-
Serializes JSON HTTP content based on the data key/value mapping object for an item.
- JsonHttpContent(JsonFactory, Object) - Constructor for class com.google.api.client.http.json.JsonHttpContent
- JsonObjectParser - Class in com.google.api.client.json
-
Parses JSON data into an data class of key/value pairs.
- JsonObjectParser(JsonFactory) - Constructor for class com.google.api.client.json.JsonObjectParser
- JsonObjectParser(JsonObjectParser.Builder) - Constructor for class com.google.api.client.json.JsonObjectParser
- JsonObjectParser.Builder - Class in com.google.api.client.json
-
Builder.
- JsonParser - Class in com.google.api.client.json
-
Abstract low-level JSON parser.
- JsonParser() - Constructor for class com.google.api.client.json.JsonParser
- JsonPolymorphicTypeMap - Annotation Type in com.google.api.client.json
-
Beta
Declares that the data type enclosing this field is polymorphic, and that the value of this field in a heterogeneous JSON schema will determine what type the data should be parsed into. - JsonPolymorphicTypeMap.TypeDef - Annotation Type in com.google.api.client.json
-
Declares a mapping between a key value and a referenced class.
- JsonRpcRequest - Class in com.google.api.client.json.rpc2
-
Beta
JSON-RPC 2.0 request object. - JsonRpcRequest() - Constructor for class com.google.api.client.json.rpc2.JsonRpcRequest
- JsonString - Annotation Type in com.google.api.client.json
-
Use this annotation to specify that a declared numeric Java field should map to a JSON string.
- JsonToken - Enum in com.google.api.client.json
-
JSON token in the low-level JSON library.
- JsonWebSignature - Class in com.google.api.client.json.webtoken
- JsonWebSignature(JsonWebSignature.Header, JsonWebToken.Payload, byte[], byte[]) - Constructor for class com.google.api.client.json.webtoken.JsonWebSignature
- JsonWebSignature.Header - Class in com.google.api.client.json.webtoken
-
Header as specified in Reserved Header Parameter Names.
- JsonWebSignature.Parser - Class in com.google.api.client.json.webtoken
-
JWS parser.
- JsonWebToken - Class in com.google.api.client.json.webtoken
- JsonWebToken(JsonWebToken.Header, JsonWebToken.Payload) - Constructor for class com.google.api.client.json.webtoken.JsonWebToken
- JsonWebToken.Header - Class in com.google.api.client.json.webtoken
-
Header as specified in JWT Header.
- JsonWebToken.Payload - Class in com.google.api.client.json.webtoken
-
Payload as specified in Reserved Claim Names.
- JWS_SIGNATURE - Static variable in class com.google.api.client.testing.json.webtoken.TestCertificates
-
A test JWS signature.
K
- key() - Method in annotation type com.google.api.client.json.JsonPolymorphicTypeMap.TypeDef
-
The string value to represent a specific type.
- Key - Annotation Type in com.google.api.client.util
-
Use this annotation to specify that a field is a data key, optionally providing the data key name to use.
- keySet() - Method in interface com.google.api.client.util.store.DataStore
-
Returns the unmodifiable set of all stored keys.
L
- limit(InputStream, long) - Static method in class com.google.api.client.util.ByteStreams
-
Wraps an input stream, limiting the number of bytes which can be read.
- LINE_SEPARATOR - Static variable in class com.google.api.client.util.StringUtils
-
Line separator to use for this OS, i.e.
- list - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.TypeVariableType
- Lists - Class in com.google.api.client.util
-
Static utility methods pertaining to
List
instances. - loadKeyStore(KeyStore, InputStream, String) - Static method in class com.google.api.client.util.SecurityUtils
-
Loads a key store from a stream.
- loadKeyStoreFromCertificates(KeyStore, CertificateFactory, InputStream) - Static method in class com.google.api.client.util.SecurityUtils
-
Loads a key store with certificates generated from the specified stream using
CertificateFactory.generateCertificates(InputStream)
. - loadPrivateKeyFromKeyStore(KeyStore, InputStream, String, String, String) - Static method in class com.google.api.client.util.SecurityUtils
-
Retrieves a private key from the specified key store stream and specified key store.
- LoggingByteArrayOutputStream - Class in com.google.api.client.util
-
Thread-safe byte array output stream that logs what was written to it when the stream is closed.
- LoggingByteArrayOutputStream(Logger, Level, int) - Constructor for class com.google.api.client.util.LoggingByteArrayOutputStream
- LoggingInputStream - Class in com.google.api.client.util
-
Thread-safe input stream wrapper that forwards all reads to a given input stream, while logging all reads to a
LoggingByteArrayOutputStream
. - LoggingInputStream(InputStream, Logger, Level, int) - Constructor for class com.google.api.client.util.LoggingInputStream
- LoggingOutputStream - Class in com.google.api.client.util
-
Thread-safe output stream wrapper that forwards all writes to a given output stream, while logging all writes to a
LoggingByteArrayOutputStream
. - LoggingOutputStream(OutputStream, Logger, Level, int) - Constructor for class com.google.api.client.util.LoggingOutputStream
- LoggingStreamingContent - Class in com.google.api.client.util
-
Wraps another streaming content without modifying the content, but also logging content using
LoggingOutputStream
. - LoggingStreamingContent(StreamingContent, Logger, Level, int) - Constructor for class com.google.api.client.util.LoggingStreamingContent
- LogRecordingHandler - Class in com.google.api.client.testing.util
-
Beta
Logging handler that stores log records. - LogRecordingHandler() - Constructor for class com.google.api.client.testing.util.LogRecordingHandler
- lower - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.WildCardTypes
- LowLevelHttpRequest - Class in com.google.api.client.http
-
Low-level HTTP request.
- LowLevelHttpRequest() - Constructor for class com.google.api.client.http.LowLevelHttpRequest
- LowLevelHttpResponse - Class in com.google.api.client.http
-
Low-level HTTP response.
- LowLevelHttpResponse() - Constructor for class com.google.api.client.http.LowLevelHttpResponse
M
- map - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.A
- map - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.WildCardTypes
- mapInWild - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.WildCardTypes
- mapOf(Object) - Static method in class com.google.api.client.util.Data
-
Returns the map to use for the given data that is treated as a map from string key to some value.
- MapOfMapType() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.MapOfMapType
- Maps - Class in com.google.api.client.util
-
Static utility methods pertaining to
Map
instances. - mapUpper - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.WildCardTypes
- MEDIA_TYPE - Static variable in class com.google.api.client.http.UrlEncodedParser
-
"application/x-www-form-urlencoded"
media type with UTF-8 encoding. - MEDIA_TYPE - Static variable in class com.google.api.client.json.Json
-
"application/json; charset=utf-8"
media type used as a default for JSON parsing. - MEDIA_TYPE - Static variable in class com.google.api.client.xml.atom.Atom
-
"application/atom+xml; charset=utf-8"
media type used as a default for Atom parsing. - MEDIA_TYPE - Static variable in class com.google.api.client.xml.Xml
-
"application/xml; charset=utf-8"
media type used as a default for XML parsing. - MemoryDataStoreFactory - Class in com.google.api.client.util.store
-
Thread-safe in-memory implementation of a data store factory.
- MemoryDataStoreFactory() - Constructor for class com.google.api.client.util.store.MemoryDataStoreFactory
- messages() - Method in class com.google.api.client.testing.util.LogRecordingHandler
-
Returns a new instance of a list of published record messages.
- MockBackOff - Class in com.google.api.client.testing.util
- MockBackOff() - Constructor for class com.google.api.client.testing.util.MockBackOff
- MockHttpClient - Class in com.google.api.client.testing.http.apache
- MockHttpClient() - Constructor for class com.google.api.client.testing.http.apache.MockHttpClient
- MockHttpContent - Class in com.google.api.client.testing.http
- MockHttpContent() - Constructor for class com.google.api.client.testing.http.MockHttpContent
- MockHttpTransport - Class in com.google.api.client.testing.http
- MockHttpTransport() - Constructor for class com.google.api.client.testing.http.MockHttpTransport
- MockHttpTransport(MockHttpTransport.Builder) - Constructor for class com.google.api.client.testing.http.MockHttpTransport
- MockHttpTransport.Builder - Class in com.google.api.client.testing.http
- MockHttpUnsuccessfulResponseHandler - Class in com.google.api.client.testing.http
- MockHttpUnsuccessfulResponseHandler(boolean) - Constructor for class com.google.api.client.testing.http.MockHttpUnsuccessfulResponseHandler
-
Create an instance of
MockHttpUnsuccessfulResponseHandler
. - MockHttpURLConnection - Class in com.google.api.client.testing.http.javanet
- MockHttpURLConnection(URL) - Constructor for class com.google.api.client.testing.http.javanet.MockHttpURLConnection
- MockJsonFactory - Class in com.google.api.client.testing.json
- MockJsonFactory() - Constructor for class com.google.api.client.testing.json.MockJsonFactory
- MockJsonGenerator - Class in com.google.api.client.testing.json
- MockJsonParser - Class in com.google.api.client.testing.json
- MockLowLevelHttpRequest - Class in com.google.api.client.testing.http
- MockLowLevelHttpRequest() - Constructor for class com.google.api.client.testing.http.MockLowLevelHttpRequest
- MockLowLevelHttpRequest(String) - Constructor for class com.google.api.client.testing.http.MockLowLevelHttpRequest
- MockLowLevelHttpResponse - Class in com.google.api.client.testing.http
- MockLowLevelHttpResponse() - Constructor for class com.google.api.client.testing.http.MockLowLevelHttpResponse
- MockSleeper - Class in com.google.api.client.testing.util
- MockSleeper() - Constructor for class com.google.api.client.testing.util.MockSleeper
- MultipartContent - Class in com.google.api.client.http
-
Serializes MIME multipart content as specified by RFC 2387: The MIME Multipart/Related Content-type and RFC 2046: Multipurpose Internet Mail Extensions: The Multipart/mixed (primary) subtype.
- MultipartContent() - Constructor for class com.google.api.client.http.MultipartContent
- MultipartContent.Part - Class in com.google.api.client.http
-
Single part of a multi-part request.
- MULTIPLE_ANNOTATIONS_JSON - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
N
- name - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.Animal
- name - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.AnimalGenericJson
- name - Variable in class com.google.api.client.xml.GenericXml
-
Optional XML element local name prefixed by its namespace alias -- for example
"atom:entry"
-- ornull
if not set. - namespaceDictionary - Variable in class com.google.api.client.xml.GenericXml
-
Optional namespace dictionary or
null
if not set. - NanoClock - Interface in com.google.api.client.util
-
Nano clock which can be used to measure elapsed time in nanoseconds.
- nanoTime() - Method in interface com.google.api.client.util.NanoClock
-
Returns the current value of the most precise available system timer, in nanoseconds for use to measure elapsed time, to match the behavior of
System.nanoTime()
. - NetHttpTransport - Class in com.google.api.client.http.javanet
-
Thread-safe HTTP low-level transport based on the
java.net
package. - NetHttpTransport() - Constructor for class com.google.api.client.http.javanet.NetHttpTransport
-
Constructor with the default behavior.
- NetHttpTransport.Builder - Class in com.google.api.client.http.javanet
-
Builder for
NetHttpTransport
. - newArrayList() - Static method in class com.google.api.client.util.Lists
-
Returns a new mutable, empty
ArrayList
instance. - newArrayList(Iterable<? extends E>) - Static method in class com.google.api.client.util.Lists
-
Returns a new mutable
ArrayList
instance containing the given elements. - newArrayList(Iterator<? extends E>) - Static method in class com.google.api.client.util.Lists
-
Returns a new mutable
ArrayList
instance containing the given elements. - newArrayListWithCapacity(int) - Static method in class com.google.api.client.util.Lists
-
Creates an
ArrayList
instance backed by an array of the exact size specified; equivalent toArrayList(int)
. - newCollectionInstance(Type) - Static method in class com.google.api.client.util.Data
-
Returns a new collection instance for the given type.
- newDataStoreFactory() - Method in class com.google.api.client.test.util.store.AbstractDataStoreFactoryTest
-
Returns a new instance of the data store factory to test.
- newDefaultHttpClient() - Static method in class com.google.api.client.http.apache.ApacheHttpTransport
-
Creates a new instance of the Apache HTTP client that is used by the
ApacheHttpTransport()
constructor. - newEncodedRsaPrivateKeyBytes() - Static method in class com.google.api.client.testing.util.SecurityTestUtils
-
Returns a new copy of a sample encoded RSA private key that matches
SecurityTestUtils.newEncodedRsaPublicKeyBytes()
. - newEncodedRsaPublicKeyBytes() - Static method in class com.google.api.client.testing.util.SecurityTestUtils
-
Returns a new copy of a sample encoded public key that matches
SecurityTestUtils.newEncodedRsaPrivateKeyBytes()
. - newFactory() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- newHashMap() - Static method in class com.google.api.client.util.Maps
-
Returns a new mutable, empty
HashMap
instance. - newHashSet() - Static method in class com.google.api.client.util.Sets
-
Returns a new mutable, empty
HashSet
instance. - newInstance(Class<T>) - Static method in class com.google.api.client.util.Types
-
Creates a new instance of the given class by invoking its default constructor.
- newInstanceForArray(Object, Field) - Method in class com.google.api.client.json.CustomizeJsonParser
-
Returns a new instance value for the given field in the given context object for a JSON array or
null
for the default behavior. - newInstanceForObject(Object, Class<?>) - Method in class com.google.api.client.json.CustomizeJsonParser
-
Returns a new instance value for the given field class in the given context object for JSON Object or
null
for the default behavior. - newLinkedHashMap() - Static method in class com.google.api.client.util.Maps
-
Returns a new mutable, empty, insertion-ordered
LinkedHashMap
instance. - newMapInstance(Class<?>) - Static method in class com.google.api.client.util.Data
-
Returns a new instance of a map based on the given field class.
- newRsaPrivateKey() - Static method in class com.google.api.client.testing.util.SecurityTestUtils
-
Returns a new sample RSA private key that matches
SecurityTestUtils.newRsaPublicKey()
. - newRsaPublicKey() - Static method in class com.google.api.client.testing.util.SecurityTestUtils
-
Returns a new sample RSA public key that matches
SecurityTestUtils.newRsaPrivateKey()
. - newStringUtf8(byte[]) - Static method in class com.google.api.client.util.StringUtils
-
Constructs a new
String
by decoding the specified array of bytes using the UTF-8 charset. - newTreeMap() - Static method in class com.google.api.client.util.Maps
-
Returns a new mutable, empty
TreeMap
instance using the natural ordering of its elements. - newTreeSet() - Static method in class com.google.api.client.util.Sets
-
Returns a new mutable, empty
TreeSet
instance sorted by the natural sort ordering of its elements. - next(Sleeper, BackOff) - Static method in class com.google.api.client.util.BackOffUtils
-
Runs the next iteration of the back-off policy, and returns whether to continue to retry the operation.
- nextBackOffMillis() - Method in class com.google.api.client.testing.util.MockBackOff
- nextBackOffMillis() - Method in interface com.google.api.client.util.BackOff
-
Gets the number of milliseconds to wait before retrying the operation or
BackOff.STOP
to indicate that no retries should be made. - nextBackOffMillis() - Method in class com.google.api.client.util.ExponentialBackOff
-
Gets the number of milliseconds to wait before retrying the operation or
BackOff.STOP
to indicate that no retries should be made. - nextEscapeIndex(CharSequence, int, int) - Method in class com.google.api.client.util.escape.PercentEscaper
- nextEscapeIndex(CharSequence, int, int) - Method in class com.google.api.client.util.escape.UnicodeEscaper
-
Scans a sub-sequence of characters from a given
CharSequence
, returning the index of the next character that requires escaping. - nextToken() - Method in class com.google.api.client.json.JsonParser
-
Returns the next token from the stream or
null
to indicate end of input. - nextToken() - Method in class com.google.api.client.testing.json.MockJsonParser
- nicknames - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.DogWithFamily
- NOT_AVAILABLE - com.google.api.client.json.JsonToken
-
Some other token.
- nul - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.AnyType
- NULL - com.google.api.client.test.json.AbstractJsonFactoryTest.E
- NULL_BIG_DECIMAL - Static variable in class com.google.api.client.util.Data
-
The single instance of the magic null object for a
BigDecimal
. - NULL_BIG_INTEGER - Static variable in class com.google.api.client.util.Data
-
The single instance of the magic null object for a
BigInteger
. - NULL_BOOLEAN - Static variable in class com.google.api.client.util.Data
-
The single instance of the magic null object for a
Boolean
. - NULL_BYTE - Static variable in class com.google.api.client.util.Data
-
The single instance of the magic null object for a
Byte
. - NULL_CHARACTER - Static variable in class com.google.api.client.util.Data
-
The single instance of the magic null object for a
Character
. - NULL_DATE_TIME - Static variable in class com.google.api.client.util.Data
-
The single instance of the magic null object for a
DateTime
. - NULL_DOUBLE - Static variable in class com.google.api.client.util.Data
-
The single instance of the magic null object for a
Double
. - NULL_FLOAT - Static variable in class com.google.api.client.util.Data
-
The single instance of the magic null object for a
Float
. - NULL_INTEGER - Static variable in class com.google.api.client.util.Data
-
The single instance of the magic null object for a
Integer
. - NULL_LONG - Static variable in class com.google.api.client.util.Data
-
The single instance of the magic null object for a
Long
. - NULL_SHORT - Static variable in class com.google.api.client.util.Data
-
The single instance of the magic null object for a
Short
. - NULL_STRING - Static variable in class com.google.api.client.util.Data
-
The single instance of the magic null object for a
String
. - nullOf(Class<?>) - Static method in class com.google.api.client.util.Data
-
Returns the single instance of the magic object that represents the "null" value for the given Java class (including array or enum).
- nullValue - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.EnumValue
- nullValue - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.TypeVariableType
- NullValue - Annotation Type in com.google.api.client.util
-
Use this annotation to specify that an enum constant is the "null" data value to use for
Data.nullOf(Class)
. - num - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.AnyType
- numberOfLegs - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.Animal
- numberOfLegs - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.AnimalGenericJson
- NumberTypes() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.NumberTypes
- NumberTypesAsString() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.NumberTypesAsString
- NumericTypedSubclass1() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.NumericTypedSubclass1
- NumericTypedSubclass2() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.NumericTypedSubclass2
- NumericValueTypedSubclass1() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.NumericValueTypedSubclass1
- NumericValueTypedSubclass2() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.NumericValueTypedSubclass2
O
- obj - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.AnyType
- ObjectParser - Interface in com.google.api.client.util
-
Parses a data source into the specified data type.
- Objects - Class in com.google.api.client.util
-
Helper functions that can operate on any
Object
. - Objects.ToStringHelper - Class in com.google.api.client.util
-
Support class for
Objects.toStringHelper(java.lang.Object)
. - of(Class<?>) - Static method in class com.google.api.client.util.ClassInfo
-
Returns the class information for the given underlying class.
- of(Class<?>, boolean) - Static method in class com.google.api.client.util.ClassInfo
-
Returns the class information for the given underlying class.
- of(Enum<?>) - Static method in class com.google.api.client.util.FieldInfo
-
Returns the field information for the given enum value.
- of(Object...) - Static method in class com.google.api.client.util.ArrayMap
-
Returns a new instance of an array map of the given key value pairs in alternating order.
- of(Field) - Static method in class com.google.api.client.util.FieldInfo
-
Returns the field information for the given field.
- omitNullValues() - Method in class com.google.api.client.util.Objects.ToStringHelper
-
Configures the
Objects.ToStringHelper
soObjects.ToStringHelper.toString()
will ignore properties with null value. - on(char) - Static method in class com.google.api.client.util.Joiner
-
Returns a joiner which automatically places
separator
between consecutive elements. - ON_SERVER_ERROR - Static variable in interface com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler.BackOffRequired
-
Back-off required implementation which its
HttpBackOffUnsuccessfulResponseHandler.BackOffRequired.isRequired(HttpResponse)
returnstrue
if a server error occurred (5xx). - openConnection(URL) - Method in interface com.google.api.client.http.javanet.ConnectionFactory
-
Creates a new
HttpURLConnection
from the givenurl
. - openConnection(URL) - Method in class com.google.api.client.http.javanet.DefaultConnectionFactory
- OPTIONS - Static variable in class com.google.api.client.http.HttpMethods
-
HTTP OPTIONS method.
- OTHER_VALUE - com.google.api.client.test.json.AbstractJsonFactoryTest.E
- otherValue - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.EnumValue
P
- parse(JsonFactory, String) - Static method in class com.google.api.client.json.webtoken.JsonWebSignature
-
Parses the given JWS token string and returns the parsed
JsonWebSignature
. - parse(Reader, Object) - Static method in class com.google.api.client.http.UrlEncodedParser
-
Parses the given URL-encoded content into the given data object of data key name/value pairs, including support for repeating data key names.
- parse(Class<T>) - Method in class com.google.api.client.json.JsonParser
-
Parse a JSON object, array, or value into a new instance of the given destination class.
- parse(Class<T>, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
-
Beta
Parse a JSON object, array, or value into a new instance of the given destination class, optionally using the given parser customizer. - parse(Object) - Method in class com.google.api.client.json.JsonParser
-
Parse a JSON object from the given JSON parser into the given destination object.
- parse(Object, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
-
Beta
Parse a JSON object from the given JSON parser into the given destination object, optionally using the given parser customizer. - parse(Type, boolean) - Method in class com.google.api.client.json.JsonParser
-
Parse a JSON object, array, or value into a new instance of the given destination class.
- parse(Type, boolean, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
-
Beta
Parse a JSON object, array, or value into a new instance of the given destination class, optionally using the given parser customizer. - parse(String) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Parser
-
Parses a JWS token into a parsed
JsonWebSignature
. - parse(String, Object) - Static method in class com.google.api.client.http.UrlEncodedParser
-
Parses the given URL-encoded content into the given data object of data key name/value pairs using
UrlEncodedParser.parse(Reader, Object)
. - parseAndClose(InputStream, Class<T>) - Static method in class com.google.api.client.protobuf.ProtocolBuffers
-
Parses protocol buffer content from an input stream (closing the input stream) into a protocol buffer message.
- parseAndClose(InputStream, Charset, Class<T>) - Method in class com.google.api.client.http.UrlEncodedParser
- parseAndClose(InputStream, Charset, Class<T>) - Method in class com.google.api.client.json.JsonObjectParser
- parseAndClose(InputStream, Charset, Class<T>) - Method in class com.google.api.client.protobuf.ProtoObjectParser
- parseAndClose(InputStream, Charset, Class<T>) - Method in interface com.google.api.client.util.ObjectParser
-
Parses the given input stream into a new instance of the the given data class of key/value pairs and closes the input stream.
- parseAndClose(InputStream, Charset, Class<T>) - Method in class com.google.api.client.xml.XmlObjectParser
- parseAndClose(InputStream, Charset, Type) - Method in class com.google.api.client.http.UrlEncodedParser
- parseAndClose(InputStream, Charset, Type) - Method in class com.google.api.client.json.JsonObjectParser
- parseAndClose(InputStream, Charset, Type) - Method in class com.google.api.client.protobuf.ProtoObjectParser
- parseAndClose(InputStream, Charset, Type) - Method in interface com.google.api.client.util.ObjectParser
-
Parses the given input stream into a new instance of the the given data type of key/value pairs and closes the input stream.
- parseAndClose(InputStream, Charset, Type) - Method in class com.google.api.client.xml.XmlObjectParser
- parseAndClose(Reader, Class<T>) - Method in class com.google.api.client.http.UrlEncodedParser
- parseAndClose(Reader, Class<T>) - Method in class com.google.api.client.json.JsonObjectParser
- parseAndClose(Reader, Class<T>) - Method in class com.google.api.client.protobuf.ProtoObjectParser
- parseAndClose(Reader, Class<T>) - Method in interface com.google.api.client.util.ObjectParser
-
Parses the given reader into a new instance of the the given data class of key/value pairs and closes the reader.
- parseAndClose(Reader, Class<T>) - Method in class com.google.api.client.xml.XmlObjectParser
- parseAndClose(Reader, Type) - Method in class com.google.api.client.http.UrlEncodedParser
- parseAndClose(Reader, Type) - Method in class com.google.api.client.json.JsonObjectParser
- parseAndClose(Reader, Type) - Method in class com.google.api.client.protobuf.ProtoObjectParser
- parseAndClose(Reader, Type) - Method in interface com.google.api.client.util.ObjectParser
-
Parses the given reader into a new instance of the the given data type of key/value pairs and closes the reader.
- parseAndClose(Reader, Type) - Method in class com.google.api.client.xml.XmlObjectParser
- parseAndClose(Class<T>) - Method in class com.google.api.client.json.JsonParser
-
Parse a JSON object, array, or value into a new instance of the given destination class, and then closes the parser.
- parseAndClose(Class<T>, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
-
Beta
Parse a JSON object, array, or value into a new instance of the given destination class usingJsonParser.parse(Class, CustomizeJsonParser)
, and then closes the parser. - parseAndClose(Object) - Method in class com.google.api.client.json.JsonParser
-
Parse a JSON Object from the given JSON parser -- which is closed after parsing completes -- into the given destination object.
- parseAndClose(Object, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
-
Beta
Parse a JSON Object from the given JSON parser -- which is closed after parsing completes -- into the given destination object, optionally using the given parser customizer. - parseArray(Class<?>, Class<T>) - Method in class com.google.api.client.json.JsonParser
-
Parse a JSON Array from the given JSON parser into the given destination collection.
- parseArray(Class<?>, Class<T>, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
-
Beta
Parse a JSON Array from the given JSON parser into the given destination collection, optionally using the given parser customizer. - parseArray(Collection<? super T>, Class<T>) - Method in class com.google.api.client.json.JsonParser
-
Parse a JSON Array from the given JSON parser into the given destination collection.
- parseArray(Collection<? super T>, Class<T>, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
-
Beta
Parse a JSON Array from the given JSON parser into the given destination collection, optionally using the given parser customizer. - parseArrayAndClose(Class<?>, Class<T>) - Method in class com.google.api.client.json.JsonParser
-
Parse a JSON Array from the given JSON parser (which is closed after parsing completes) into the given destination collection.
- parseArrayAndClose(Class<?>, Class<T>, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
-
Beta
Parse a JSON Array from the given JSON parser (which is closed after parsing completes) into the given destination collection, optionally using the given parser customizer. - parseArrayAndClose(Collection<? super T>, Class<T>) - Method in class com.google.api.client.json.JsonParser
-
Parse a JSON Array from the given JSON parser (which is closed after parsing completes) into the given destination collection.
- parseArrayAndClose(Collection<? super T>, Class<T>, CustomizeJsonParser) - Method in class com.google.api.client.json.JsonParser
-
Beta
Parse a JSON Array from the given JSON parser (which is closed after parsing completes) into the given destination collection, optionally using the given parser customizer. - parseAs(Class<T>) - Method in class com.google.api.client.http.HttpResponse
-
Parses the content of the HTTP response from
HttpResponse.getContent()
and reads it into a data class of key/value pairs using the parser returned byHttpRequest.getParser()
. - parseAs(Type) - Method in class com.google.api.client.http.HttpResponse
-
Parses the content of the HTTP response from
HttpResponse.getContent()
and reads it into a data type of key/value pairs using the parser returned byHttpRequest.getParser()
. - parseAsString() - Method in class com.google.api.client.http.HttpResponse
-
Parses the content of the HTTP response from
HttpResponse.getContent()
and reads it into a string. - parseElement(XmlPullParser, Object, XmlNamespaceDictionary, Xml.CustomizeParser) - Static method in class com.google.api.client.xml.Xml
-
Parses an XML element using the given XML pull parser into the given destination object.
- parseEntryInternal() - Method in class com.google.api.client.http.xml.atom.AtomFeedParser
- parseEntryInternal() - Method in class com.google.api.client.xml.atom.AbstractAtomFeedParser
-
Parses a single entry.
- parseFeed() - Method in class com.google.api.client.xml.atom.AbstractAtomFeedParser
-
Parse the feed and return a new parsed instance of the feed type.
- parseNextEntry() - Method in class com.google.api.client.http.xml.atom.AtomFeedParser
- parseNextEntry() - Method in class com.google.api.client.xml.atom.AbstractAtomFeedParser
-
Parse the next item in the feed and return a new parsed instance of the item type.
- parsePrimitiveValue(Type, String) - Static method in class com.google.api.client.util.Data
-
Parses the given string value based on the given primitive type.
- parser(JsonFactory) - Static method in class com.google.api.client.json.webtoken.JsonWebSignature
-
Returns a new instance of a JWS parser.
- Parser(JsonFactory) - Constructor for class com.google.api.client.json.webtoken.JsonWebSignature.Parser
- parseRfc3339(String) - Static method in class com.google.api.client.util.DateTime
-
Parses an RFC3339 date/time value.
- Part() - Constructor for class com.google.api.client.http.MultipartContent.Part
- Part(HttpContent) - Constructor for class com.google.api.client.http.MultipartContent.Part
- Part(HttpHeaders, HttpContent) - Constructor for class com.google.api.client.http.MultipartContent.Part
- PATCH - Static variable in class com.google.api.client.http.HttpMethods
-
HTTP PATCH method.
- Payload() - Constructor for class com.google.api.client.json.webtoken.JsonWebToken.Payload
- PemReader - Class in com.google.api.client.util
-
Beta
PEM file reader. - PemReader(Reader) - Constructor for class com.google.api.client.util.PemReader
- PemReader.Section - Class in com.google.api.client.util
-
Section in the PEM file.
- PercentEscaper - Class in com.google.api.client.util.escape
-
A
UnicodeEscaper
that escapes some set of Java characters using the URI percent encoding scheme. - PercentEscaper(String, boolean) - Constructor for class com.google.api.client.util.escape.PercentEscaper
-
Constructs a URI escaper with the specified safe characters and optional handling of the space character.
- POLYMORPHIC_NUMERIC_TYPE_1 - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- POLYMORPHIC_NUMERIC_TYPE_2 - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- POLYMORPHIC_NUMERIC_UNSPECIFIED_TYPE - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- POLYMORPHIC_SELF_REFERENCING - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- POLYMORPHIC_WITH_UNKNOWN_KEY - Static variable in class com.google.api.client.test.json.AbstractJsonFactoryTest
- PolymorphicSelfReferencing() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.PolymorphicSelfReferencing
- PolymorphicWithDuplicateTypeKeys() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.PolymorphicWithDuplicateTypeKeys
- PolymorphicWithIllegalValueType() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.PolymorphicWithIllegalValueType
- PolymorphicWithMultipleAnnotations() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.PolymorphicWithMultipleAnnotations
- PolymorphicWithNumericType() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.PolymorphicWithNumericType
- PolymorphicWithNumericValueType() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.PolymorphicWithNumericValueType
- POST - Static variable in class com.google.api.client.http.HttpMethods
-
HTTP POST method.
- Preconditions - Class in com.google.api.client.util
-
Simple static methods to be called at the start of your own methods to verify correct arguments and state.
- propagate(Throwable) - Static method in class com.google.api.client.util.Throwables
-
Propagates
throwable
as-is if it is an instance ofRuntimeException
orError
, or else as a last resort, wraps it in aRuntimeException
then propagates. - propagateIfPossible(Throwable) - Static method in class com.google.api.client.util.Throwables
- propagateIfPossible(Throwable, Class<X>) - Static method in class com.google.api.client.util.Throwables
-
Propagates
throwable
exactly as-is, if and only if it is an instance ofRuntimeException
,Error
, ordeclaredType
. - ProtocolBuffers - Class in com.google.api.client.protobuf
-
Beta
Utilities for protocol buffers. - ProtoHttpContent - Class in com.google.api.client.http.protobuf
-
Beta
Serializes of a protocol buffer message to HTTP content. - ProtoHttpContent(MessageLite) - Constructor for class com.google.api.client.http.protobuf.ProtoHttpContent
- ProtoObjectParser - Class in com.google.api.client.protobuf
-
Beta
Parses protocol buffer HTTP response content into a protocol buffer message. - ProtoObjectParser() - Constructor for class com.google.api.client.protobuf.ProtoObjectParser
- publish(LogRecord) - Method in class com.google.api.client.testing.util.LogRecordingHandler
- put(Field, Class<?>, Object) - Method in class com.google.api.client.util.ArrayValueMap
-
Puts an additional value for the given field, accumulating values on repeated calls on the same field.
- put(String, Class<?>, Object) - Method in class com.google.api.client.util.ArrayValueMap
-
Puts an additional value for the given key name, accumulating values on repeated calls on the same key name.
- put(String, Object) - Method in class com.google.api.client.util.GenericData
- put(K, V) - Method in class com.google.api.client.util.ArrayMap
-
Sets the value for the given key, overriding any existing value.
- PUT - Static variable in class com.google.api.client.http.HttpMethods
-
HTTP PUT method.
- putAll(Map<? extends String, ?>) - Method in class com.google.api.client.util.GenericData
R
- read() - Method in class com.google.api.client.util.LoggingInputStream
- read(byte[], int, int) - Method in class com.google.api.client.util.LoggingInputStream
- read(InputStream, byte[], int, int) - Static method in class com.google.api.client.util.ByteStreams
-
Reads some bytes from an input stream and stores them into the buffer array
b
. - readFirstSectionAndClose(Reader) - Static method in class com.google.api.client.util.PemReader
-
Reads the first section in the PEM file, and then closes the reader.
- readFirstSectionAndClose(Reader, String) - Static method in class com.google.api.client.util.PemReader
-
Reads the first section in the PEM file, optionally based on a title to look for, and then closes the reader.
- readNextSection() - Method in class com.google.api.client.util.PemReader
-
Reads the next section in the PEM file or
null
for end of file. - readNextSection(String) - Method in class com.google.api.client.util.PemReader
-
Reads the next section in the PEM file, optionally based on a title to look for.
- ref() - Method in annotation type com.google.api.client.json.JsonPolymorphicTypeMap.TypeDef
-
The
Class
that is referenced by this key value. - remove(int) - Method in class com.google.api.client.util.ArrayMap
-
Removes the key/value mapping at the given index, or ignored if the index is out of bounds.
- remove(Object) - Method in class com.google.api.client.util.ArrayMap
-
Removes the key-value pair of the given key, or ignore if the key cannot be found.
- remove(Object) - Method in class com.google.api.client.util.GenericData
- removeParameter(String) - Method in class com.google.api.client.http.HttpMediaType
-
Removes the specified media parameter.
- reset() - Method in interface com.google.api.client.http.BackOffPolicy
-
Deprecated.Reset Back off counters (if any) in an implementation-specific fashion.
- reset() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.Sets the interval back to the initial retry interval and restarts the timer.
- reset() - Method in class com.google.api.client.testing.util.MockBackOff
- reset() - Method in interface com.google.api.client.util.BackOff
-
Reset to initial state.
- reset() - Method in class com.google.api.client.util.ExponentialBackOff
-
Sets the interval back to the initial retry interval and restarts the timer.
- resolveTypeVariable(List<Type>, TypeVariable<?>) - Static method in class com.google.api.client.util.Types
-
Resolves the actual type of the given type variable that comes from a field type based on the given context list.
- resolveWildcardTypeOrTypeVariable(List<Type>, Type) - Static method in class com.google.api.client.util.Data
-
Aggressively resolves the given type in such a way that the resolved type is not a wildcard type or a type variable, returning
Object.class
if the type variable cannot be resolved. - retrySupported() - Method in class com.google.api.client.http.AbstractHttpContent
-
Default implementation returns
true
, but subclasses may override. - retrySupported() - Method in class com.google.api.client.http.ByteArrayContent
- retrySupported() - Method in class com.google.api.client.http.EmptyContent
- retrySupported() - Method in class com.google.api.client.http.FileContent
- retrySupported() - Method in interface com.google.api.client.http.HttpContent
-
Returns whether or not retry is supported on this content type.
- retrySupported() - Method in class com.google.api.client.http.InputStreamContent
- retrySupported() - Method in class com.google.api.client.http.MultipartContent
- retrySupported() - Method in class com.google.api.client.testing.http.MockHttpContent
S
- SAFE_PLUS_RESERVED_CHARS_URLENCODER - Static variable in class com.google.api.client.util.escape.PercentEscaper
-
Contains the 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.
- sawOpcode(int) - Method in class com.google.api.client.findbugs.BetaDetector
- SecurityTestUtils - Class in com.google.api.client.testing.util
- 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
isnull
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, 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, 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(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.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(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, 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.
- set(String, V) - Method in interface com.google.api.client.util.store.DataStore
-
Stores the given value for the given key (replacing any existing value).
- setAccept(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the
"Accept"
header ornull
for none. - setAcceptEncoding(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the
"Accept-Encoding"
header ornull
for none. - setAge(Long) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the
"Age"
header ornull
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 aList<String>
) ornull
for none. - setAuthenticate(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the
"WWW-Authenticate"
header ornull
for none. - setAuthorization(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the
"Authorization"
header ornull
for none. - setAuthorization(List<String>) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the
"Authorization"
header ornull
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
-
Deprecated.(scheduled to be removed in 1.18). Use
HttpRequest.setUnsuccessfulResponseHandler(HttpUnsuccessfulResponseHandler)
with a newHttpBackOffUnsuccessfulResponseHandler
instead. - setBackOffRequired(HttpBackOffUnsuccessfulResponseHandler.BackOffRequired) - Method in class com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler
-
Sets the
HttpBackOffUnsuccessfulResponseHandler.BackOffRequired
instance which determines if back-off is required based on an abnormal HTTP response. - setBasicAuthentication(String, String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the
HttpHeaders.authorization
header as specified in Basic Authentication Scheme. - 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 ornull
for none. - setCharsetParameter(Charset) - Method in class com.google.api.client.http.HttpMediaType
-
Sets the charset parameter of the media type.
- setCloseInputStream(boolean) - Method in class com.google.api.client.http.AbstractInputStreamContent
-
Sets whether the input stream should be closed at the end of
AbstractInputStreamContent.writeTo(java.io.OutputStream)
. - setCloseInputStream(boolean) - Method in class com.google.api.client.http.ByteArrayContent
- setCloseInputStream(boolean) - Method in class com.google.api.client.http.FileContent
- setCloseInputStream(boolean) - Method in class com.google.api.client.http.InputStreamContent
- setConnectionFactory(ConnectionFactory) - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
- 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(byte[]) - Method in class com.google.api.client.testing.http.MockHttpContent
-
Sets the HTTP content.
- setContent(byte[]) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Sets the response content to the given byte array.
- setContent(HttpContent) - Method in class com.google.api.client.http.HttpRequest
-
Sets the HTTP request content or
null
for none. - setContent(HttpContent) - Method in class com.google.api.client.http.MultipartContent.Part
-
Sets the HTTP content or
null
for none. - setContent(InputStream) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Sets the input stream content of HTTP response 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(String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Sets the response content to the given content string.
- setContentEncoding(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the
"Content-Encoding"
header ornull
for none. - setContentEncoding(String) - Method in class com.google.api.client.http.LowLevelHttpRequest
-
Sets the content encoding (for example
"gzip"
) ornull
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.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. - setContentLength(Long) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the
"Content-Length"
header ornull
for none. - setContentLoggingLimit(int) - Method in class com.google.api.client.http.HttpRequest
-
Set the limit to the content size that will be logged during
HttpRequest.execute()
. - setContentLoggingLimit(int) - Method in class com.google.api.client.http.HttpResponse
-
Set the limit to the content size that will be logged during
HttpResponse.getContent()
. - setContentMD5(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the
"Content-MD5"
header ornull
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 ornull
for none. - setContentType(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the
"Content-Type"
header ornull
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 ornull
for none. - setCritical(List<String>) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Sets the array listing the header parameter names that define extensions that are 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 ornull
for none. - setDoOutput(boolean) - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
- setEncoding(HttpEncoding) - Method in class com.google.api.client.http.HttpRequest
-
Sets the HTTP content encoding or
null
for none. - setEncoding(HttpEncoding) - Method in class com.google.api.client.http.MultipartContent.Part
-
Sets the HTTP encoding or
null
for none. - setErrorStream(InputStream) - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
Sets the error stream.
- setETag(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the
"ETag"
header ornull
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 ornull
for none. - setFactory(JsonFactory) - Method in class com.google.api.client.json.GenericJson
-
Sets the JSON factory or
null
for none. - setFieldValue(Field, Object, Object) - Static method in class com.google.api.client.util.FieldInfo
-
Sets to the given value of the given field in the given object instance using reflection.
- setFollowRedirects(boolean) - Method in class com.google.api.client.http.HttpRequest
-
Sets whether to follow redirects automatically.
- setFragment(String) - Method in class com.google.api.client.http.GenericUrl
-
Sets the fragment component or
null
for none. - 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 ornull
for none. - setIfModifiedSince(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the
"If-Modified-Since"
header ornull
for none. - setIfNoneMatch(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the
"If-None-Match"
header ornull
for none. - setIfRange(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the
"If-Range"
header ornull
for none. - setIfUnmodifiedSince(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the
"If-Unmodified-Since"
header ornull
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) ornull
for none. - setIOExceptionHandler(HttpIOExceptionHandler) - Method in class com.google.api.client.http.HttpRequest
- 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 ornull
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 ornull
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
-
Sets the
MockLowLevelHttpRequest
that will be returned byMockHttpTransport.buildRequest(java.lang.String, java.lang.String)
, if non-null
. - setLowLevelHttpResponse(MockLowLevelHttpResponse) - Method in class com.google.api.client.testing.http.MockHttpTransport.Builder
-
Sets the
MockLowLevelHttpResponse
that will be the result when theMockLowLevelHttpRequest
returned byMockHttpTransport.buildRequest(java.lang.String, java.lang.String)
is executed. - 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 to10
). - 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
- 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 ornull
for none. - setMultiplier(double) - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
-
Deprecated.Sets the value to multiply the current interval with for each retry attempt.
- setMultiplier(double) - Method in class com.google.api.client.util.ExponentialBackOff.Builder
-
Sets the value to multiply the current interval with for each retry attempt.
- setNanoClock(NanoClock) - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
-
Deprecated.Sets the nano clock (
NanoClock.SYSTEM
by default). - setNanoClock(NanoClock) - Method in class com.google.api.client.util.ExponentialBackOff.Builder
-
Sets the nano clock (
NanoClock.SYSTEM
by default). - setNotBeforeTimeSeconds(Long) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Sets the not before claim that identifies the time (in seconds) before which the token MUST NOT be accepted for processing or
null
for none. - setNumberOfRetries(int) - Method in class com.google.api.client.http.HttpRequest
-
Sets the number of retries that will be allowed to execute before the request will be terminated or
0
to not retry requests. - setOutputStream(OutputStream) - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
Sets the output stream or
null
to throw anUnknownServiceException
whenMockHttpURLConnection.getOutputStream()
is called. - setParameter(String, String) - Method in class com.google.api.client.http.HttpMediaType
-
Sets the media parameter to the specified value.
- setParameters(Object) - Method in class com.google.api.client.json.rpc2.JsonRpcRequest
-
Sets the structured value that holds the parameter values to be used during the invocation of the method or
null
for none. - setParser(ObjectParser) - Method in class com.google.api.client.http.HttpRequest
-
Sets the
ObjectParser
used to parse the response to this request ornull
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
'/'
ornull
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
. - setProxy(Proxy) - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
-
Sets the HTTP proxy or
null
to use the proxy settings from system properties. - setProxy(HttpHost) - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
-
Sets the HTTP proxy to use
DefaultHttpRoutePlanner
ornull
to useApacheHttpTransport.Builder.setProxySelector(ProxySelector)
withProxySelector.getDefault()
. - setProxySelector(ProxySelector) - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
-
Sets the HTTP proxy selector to use
ProxySelectorRoutePlanner
ornull
forDefaultHttpRoutePlanner
. - 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 ornull
for none. - setRawPath(String) - Method in class com.google.api.client.http.GenericUrl
-
Sets the
GenericUrl.pathParts
from the given raw encoded path. - setReadTimeout(int) - Method in class com.google.api.client.http.HttpRequest
-
Sets the timeout in milliseconds to read data from an established connection or
0
for an infinite timeout. - setReasonPhrase(String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Sets the HTTP reason phrase or
null
for none. - setRequestMethod(String) - Method in class com.google.api.client.http.HttpRequest
-
Sets the HTTP request method or
null
for none. - setResponse(MockLowLevelHttpResponse) - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
-
Sets the HTTP response to return from
MockLowLevelHttpRequest.execute()
. - setResponseCode(int) - Method in class com.google.api.client.testing.http.apache.MockHttpClient
-
Sets the HTTP response code to use.
- setResponseCode(int) - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
Sets the HTTP response status code.
- setResponseHeaders(HttpHeaders) - Method in class com.google.api.client.http.HttpRequest
-
Sets the HTTP response headers.
- setResponseInterceptor(HttpResponseInterceptor) - Method in class com.google.api.client.http.HttpRequest
-
Sets the HTTP response interceptor or
null
for none. - setRetryAfter(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the
"Retry-After"
header ornull
for none. - setRetryOnExecuteIOException(boolean) - Method in class com.google.api.client.http.HttpRequest
-
Deprecated.(scheduled to be removed in 1.18) Use
HttpRequest.setIOExceptionHandler(HttpIOExceptionHandler)
instead. - setRetrySupported(boolean) - Method in class com.google.api.client.http.InputStreamContent
-
Sets whether or not retry is supported.
- Sets - Class in com.google.api.client.util
-
Static utility methods pertaining to
Set
instances. - setScheme(String) - Method in class com.google.api.client.http.GenericUrl
-
Sets the scheme (lowercase), for example
"https"
. - setSleeper(Sleeper) - Method in class com.google.api.client.http.HttpBackOffIOExceptionHandler
-
Sets the sleeper.
- setSleeper(Sleeper) - Method in class com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler
-
Sets the sleeper.
- setSleeper(Sleeper) - Method in class com.google.api.client.http.HttpRequest
-
Sets the sleeper.
- 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
-
Sets the SSL socket factory (
SSLSocketFactory.getSocketFactory()
by default). - setSslSocketFactory(SSLSocketFactory) - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
-
Sets the SSL socket factory or
null
for the default. - setStatusCode(int) - Method in class com.google.api.client.http.HttpResponseException.Builder
-
Sets the HTTP status code or
0
for none. - setStatusCode(int) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Sets the status code of HTTP response.
- setStatusMessage(String) - Method in class com.google.api.client.http.HttpResponseException.Builder
-
Sets the HTTP status message or
null
for none. - setStreamingContent(StreamingContent) - Method in class com.google.api.client.http.LowLevelHttpRequest
-
Sets the streaming content or
null
for no content. - setSubject(String) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Sets the subject claim identifying the principal that is the subject of the JWT or
null
for none. - setSubType(String) - Method in class com.google.api.client.http.HttpMediaType
-
Sets the sub media type, for example
"plain"
when using"text"
. - setSupportedMethods(Set<String>) - Method in class com.google.api.client.testing.http.MockHttpTransport.Builder
-
Sets the supported HTTP methods or
null
to specify that all methods are supported. - setSuppressUserAgentSuffix(boolean) - Method in class com.google.api.client.http.HttpRequest
-
Sets whether to not add the suffix
HttpRequest.USER_AGENT_SUFFIX
to the User-Agent header. - setThrowExceptionOnExecuteError(boolean) - Method in class com.google.api.client.http.HttpRequest
-
Sets whether to throw an exception at the end of
HttpRequest.execute()
on a HTTP error code (non-2XX) after all retries and response handlers have been exhausted. - setTime(long) - Method in class com.google.api.client.testing.http.FixedClock
-
Changes the time value this time provider is returning.
- setTimeout(int, int) - Method in class com.google.api.client.http.LowLevelHttpRequest
-
Sets the connection and read timeouts.
- setType(String) - Method in class com.google.api.client.http.AbstractInputStreamContent
-
Sets the content type or
null
for none. - setType(String) - Method in class com.google.api.client.http.ByteArrayContent
- setType(String) - Method in class com.google.api.client.http.FileContent
- setType(String) - Method in class com.google.api.client.http.HttpMediaType
-
Sets the (main) media type, for example
"text"
. - setType(String) - Method in class com.google.api.client.http.InputStreamContent
- setType(String) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
- setType(String) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Header
-
Sets the type header parameter used to declare the type of this object or
null
for none. - setType(String) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Sets the type claim that is used to declare a type for the contents of this JWT Claims Set or
null
for none. - setType(String) - Method in class com.google.api.client.testing.http.MockHttpContent
-
Sets the HTTP content type or
null
for none. - setUnknownKeys(Map<String, Object>) - Method in class com.google.api.client.util.GenericData
-
Sets the map of unknown data key name to value.
- setUnsuccessfulResponseHandler(HttpUnsuccessfulResponseHandler) - Method in class com.google.api.client.http.HttpRequest
-
Sets the HTTP unsuccessful (non-2XX) response handler or
null
for none. - 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 ornull
for none. - 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 to the given value of the field in the given object instance using reflection.
- setValues() - Method in class com.google.api.client.util.ArrayValueMap
-
Sets the fields of the given object using the values collected during parsing of the object's fields.
- 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.
- setX509Certificate(String) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Deprecated.
- 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
-
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 - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.WildCardTypes
- Simple() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.Simple
- SIMPLE_GENERIC_URL - Static variable in class com.google.api.client.testing.http.HttpTesting
-
A simple generic URL for testing of value
HttpTesting.SIMPLE_URL
. - SIMPLE_URL - Static variable in class com.google.api.client.testing.http.HttpTesting
-
A simple string URL for testing of value
"http://google.com/"
. - size() - Method in class com.google.api.client.util.ArrayMap
-
Returns the number of key-value pairs set.
- size() - Method in class com.google.api.client.util.store.AbstractDataStore
-
Returns the number of stored keys.
- size() - Method in interface com.google.api.client.util.store.DataStore
-
Returns the number of stored keys.
- skipChildren() - Method in class com.google.api.client.json.JsonParser
-
Skips to the matching
JsonToken.END_ARRAY
if current token isJsonToken.START_ARRAY
, the matchingJsonToken.END_OBJECT
if the current token isJsonToken.START_OBJECT
, else does nothing. - skipChildren() - Method in class com.google.api.client.testing.json.MockJsonParser
- skipToKey(String) - Method in class com.google.api.client.json.JsonParser
-
Skips the values of all keys in the current object until it finds the given key.
- skipToKey(Set<String>) - Method in class com.google.api.client.json.JsonParser
-
Skips the values of all keys in the current object until it finds one of the given keys.
- sleep(long) - Method in class com.google.api.client.testing.util.MockSleeper
- sleep(long) - Method in interface com.google.api.client.util.Sleeper
-
Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds as specified in
Thread.sleep(long)
. - Sleeper - Interface in com.google.api.client.util
-
Sleeper interface to use for requesting the current thread to sleep as specified in
Thread.sleep(long)
. - SslUtils - Class in com.google.api.client.util
-
SSL utilities.
- START_ARRAY - com.google.api.client.json.JsonToken
-
Start of a JSON array ('[').
- START_OBJECT - com.google.api.client.json.JsonToken
-
Start of a JSON object ('{').
- STATUS_CODE_BAD_GATEWAY - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a bad gateway.
- 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_FORBIDDEN - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a server that understood the request, but is refusing to fulfill it.
- STATUS_CODE_FOUND - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a resource that has temporarily moved to a new URI.
- STATUS_CODE_MOVED_PERMANENTLY - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a resource that has permanently moved to a new URI.
- STATUS_CODE_MULTIPLE_CHOICES - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a resource corresponding to any one of a set of representations.
- STATUS_CODE_NO_CONTENT - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a successful request with no content information.
- STATUS_CODE_NOT_FOUND - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a server that has not found anything matching the Request-URI.
- STATUS_CODE_NOT_MODIFIED - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a resource that access is allowed but the document has not been modified.
- STATUS_CODE_OK - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a successful request.
- STATUS_CODE_SEE_OTHER - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a resource that has moved to a new URI and should be retrieved using GET.
- STATUS_CODE_SERVER_ERROR - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for an internal server error.
- STATUS_CODE_SERVICE_UNAVAILABLE - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a service that is unavailable on the server.
- STATUS_CODE_TEMPORARY_REDIRECT - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a resource that has temporarily moved to a new URI.
- STATUS_CODE_UNAUTHORIZED - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a request that requires user authentication.
- STOP - Static variable in interface com.google.api.client.http.BackOffPolicy
-
Deprecated.Value indicating that no more retries should be made, see
BackOffPolicy.getNextBackOffMillis()
. - STOP - Static variable in interface com.google.api.client.util.BackOff
-
Indicates that no more retries should be made for use in
BackOff.nextBackOffMillis()
. - STOP_BACKOFF - Static variable in interface com.google.api.client.util.BackOff
-
Fixed back-off policy that always returns
#STOP
forBackOff.nextBackOffMillis()
, meaning that the operation should not be retried. - 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.http.apache.ApacheHttpTransport
- supportsMethod(String) - Method in class com.google.api.client.http.HttpTransport
-
Returns whether a specified HTTP method is supported by this transport.
- supportsMethod(String) - Method in class com.google.api.client.http.javanet.NetHttpTransport
- supportsMethod(String) - Method in class com.google.api.client.testing.http.MockHttpTransport
- SYSTEM - Static variable in interface com.google.api.client.util.Clock
-
Provides the default System implementation of a Clock by using
System.currentTimeMillis()
. - SYSTEM - Static variable in interface com.google.api.client.util.NanoClock
-
Provides the default System implementation of a nano clock by using
System.nanoTime()
.
T
- tearDown() - Method in class com.google.api.client.test.util.store.AbstractDataStoreFactoryTest
- TestableByteArrayInputStream - Class in com.google.api.client.testing.util
-
Beta
Testable extension for a byte array input stream. - TestableByteArrayInputStream(byte[]) - Constructor for class com.google.api.client.testing.util.TestableByteArrayInputStream
- TestableByteArrayInputStream(byte[], int, int) - Constructor for class com.google.api.client.testing.util.TestableByteArrayInputStream
- TestableByteArrayOutputStream - Class in com.google.api.client.testing.util
-
Beta
Testable extension for a byte array output stream. - TestableByteArrayOutputStream() - Constructor for class com.google.api.client.testing.util.TestableByteArrayOutputStream
- TestCertificates - Class in com.google.api.client.testing.json.webtoken
-
Beta
Test certificates. - TestCertificates() - Constructor for class com.google.api.client.testing.json.webtoken.TestCertificates
- TestCertificates.CertData - Class in com.google.api.client.testing.json.webtoken
-
Beta
Wrapper for a PEM encoded certificate providing utility routines. - TestClass() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.TestClass
- testClear() - Method in class com.google.api.client.test.util.store.AbstractDataStoreFactoryTest
- testContainsKeyAndValue() - Method in class com.google.api.client.test.util.store.AbstractDataStoreFactoryTest
- testCreateJsonParser_nullCharset() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testCurrentToken() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testDelete() - Method in class com.google.api.client.test.util.store.AbstractDataStoreFactoryTest
- testFactory() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testGenerate_infinityOrNanError() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testGenerateEntry() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testGenerateFeed() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testGson() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testId() - Method in class com.google.api.client.test.util.store.AbstractDataStoreFactoryTest
- testJsonHttpContent_simple() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testJsonHttpContent_wrapped() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testJsonObjectParser_inputStream() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testJsonObjectParser_inputStreamWrapped() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testJsonObjectParser_reader() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testJsonObjectParser_readerWrapped() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testKeySet() - Method in class com.google.api.client.test.util.store.AbstractDataStoreFactoryTest
- testLarge() - Method in class com.google.api.client.test.util.store.AbstractDataStoreFactoryTest
- testNextToken() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testObjectParserParse_entry() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testObjectParserParse_stringList() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParse() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParse_array() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParse_boolean() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParse_class() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParse_empty() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParse_emptyGenericJson() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParse_emptyMap() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParse_void() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParseEntry() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParseEntryAsMap() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParseFeed() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_anyType() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_arrayType() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_bool() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_collectionType() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_doubleListTypeVariableType() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_emptyArray() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_enumValue() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_extendsGenericJson() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_floatMapTypeVariableType() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_hashmapForMapType() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_heterogeneousSchema_genericJson() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_heterogeneousSchema_illegalValueType() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_heterogeneousSchema_missingType() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_heterogeneousSchema_numericType() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_heterogeneousSchema_numericValueType() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_heterogeneousSchema_withArrays() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_heterogeneousSchema_withNullArrays() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_heterogeneousSchema_withObject() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_heterogeneousSchemata() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_intArray() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_intArrayTypeVariableType() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_integerTypeVariableType() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_mapType() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_null() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_nullInputStream() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_nullReader() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_nullString() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_nullValue() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_num() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_numberTypes() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_partialEmpty() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_partialEmptyArray() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_partialEntry() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_polymorphicClass_duplicateTypeKeys() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_polymorphicClass_mapOfPolymorphicClasses() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_polymorphicClass_noMatchingTypeKey() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_polymorphicClass_selfReferencing() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_polymorphicClass_tooManyAnnotations() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_string() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_stringArray() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_treemapForTypeVariableType() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_typeVariablesPassAround() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testParser_wildCardType() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testSet() - Method in class com.google.api.client.test.util.store.AbstractDataStoreFactoryTest
- testSkipChildren_array() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testSkipChildren_object() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testSkipChildren_string() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testSkipToKey_firstKey() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testSkipToKey_found() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testSkipToKey_lastKey() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testSkipToKey_missing() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testSkipToKey_missingEmpty() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testSkipToKey_multipleKeys() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testSkipToKey_noMatch() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testSkipToKey_startWithFieldName() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testToByteArray_entry() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testToFromString() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testToFromString_UTF8() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testToPrettyString_entryApproximate() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testToPrettyString_FeedApproximate() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testToString_entry() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testToString_Feed() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testToString_withFactory() - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
- testValues() - Method in class com.google.api.client.test.util.store.AbstractDataStoreFactoryTest
- Throwables - Class in com.google.api.client.util
-
Static utility methods pertaining to instances of
Throwable
. - title - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.Entry
- toArray(Collection<?>, Class<?>) - Static method in class com.google.api.client.util.Types
-
Returns a new array of the given component type (possibly a Java primitive) that is a copy of the content of the given collection.
- toByteArray(Object) - Method in class com.google.api.client.json.JsonFactory
-
Returns a UTF-8 encoded byte array of the serialized JSON representation for the given item using
JsonGenerator.serialize(Object)
. - toPathParts(String) - Static method in class com.google.api.client.http.GenericUrl
-
Returns the decoded path parts for the given encoded path.
- toPrettyString() - Method in class com.google.api.client.json.GenericJson
-
Returns a pretty-printed serialized JSON string representation or
GenericJson.toString()
ifGenericJson.getFactory()
isnull
. - toPrettyString(Object) - Method in class com.google.api.client.json.JsonFactory
-
Returns a pretty-printed serialized JSON string representation for the given item using
JsonGenerator.serialize(Object)
withJsonGenerator.enablePrettyPrint()
. - toString() - Method in class com.google.api.client.http.GenericUrl
- toString() - Method in class com.google.api.client.http.HttpMediaType
- toString() - Method in class com.google.api.client.json.GenericJson
- toString() - Method in class com.google.api.client.json.webtoken.JsonWebToken
- toString() - Method in class com.google.api.client.util.DateTime
- toString() - Method in class com.google.api.client.util.Objects.ToStringHelper
- toString() - Method in class com.google.api.client.xml.GenericXml
- toString(DataStore<?>) - Static method in class com.google.api.client.util.store.DataStoreUtils
-
Returns a debug string for the given data store to be used as an implementation of
Object.toString()
. - toString(Object) - Method in class com.google.api.client.json.JsonFactory
-
Returns a serialized JSON string representation for the given item using
JsonGenerator.serialize(Object)
. - toStringHelper(Object) - Static method in class com.google.api.client.util.Objects
-
Creates an instance of
Objects.ToStringHelper
. - toStringOf(Object) - Static method in class com.google.api.client.xml.Xml
-
Shows a debug string representation of an element data object of key/value pairs.
- toStringOf(String, Object) - Method in class com.google.api.client.xml.XmlNamespaceDictionary
-
Shows a debug string representation of an element data object of key/value pairs.
- toStringRfc3339() - Method in class com.google.api.client.util.DateTime
-
Formats the value as an RFC 3339 date/time string.
- toURI() - Method in class com.google.api.client.http.GenericUrl
-
Constructs the URI based on the string representation of the URL from
GenericUrl.build()
. - toURL() - Method in class com.google.api.client.http.GenericUrl
-
Constructs the URL based on the string representation of the URL from
GenericUrl.build()
. - toURL(String) - Method in class com.google.api.client.http.GenericUrl
-
Constructs the URL based on
URL(URL, String)
with this URL representation fromGenericUrl.toURL()
and a relative url. - TRACE - Static variable in class com.google.api.client.http.HttpMethods
-
HTTP TRACE method.
- tricksKnown - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.Dog
- tricksKnown - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.DogGenericJson
- trim() - Method in class com.google.api.client.util.ArrayMap
-
Trims the internal array storage to minimize memory usage.
- trustAllHostnameVerifier() - Static method in class com.google.api.client.util.SslUtils
-
Beta
Returns a verifier that trusts all host names. - trustAllSSLContext() - Static method in class com.google.api.client.util.SslUtils
-
Beta
Returns an SSL context in which all X.509 certificates are trusted. - trustCertificates(KeyStore) - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
-
Sets the SSL socket factory based on a root certificate trust store.
- trustCertificates(KeyStore) - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
-
Sets the SSL socket factory based on a root certificate trust store.
- trustCertificatesFromJavaKeyStore(InputStream, String) - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
-
Sets the SSL socket factory based on root certificates in a Java KeyStore.
- trustCertificatesFromJavaKeyStore(InputStream, String) - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
-
Sets the SSL socket factory based on root certificates in a Java KeyStore.
- trustCertificatesFromStream(InputStream) - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
-
Sets the SSL socket factory based root certificates generated from the specified stream using
CertificateFactory.generateCertificates(InputStream)
. - trustCertificatesFromStream(InputStream) - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
-
Sets the SSL socket factory based root certificates generated from the specified stream using
CertificateFactory.generateCertificates(InputStream)
. - type - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.Animal
- type - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.AnimalGenericJson
- typeDefinitions() - Method in annotation type com.google.api.client.json.JsonPolymorphicTypeMap
-
The list of mappings from key value to a referenced
Class
. - Types - Class in com.google.api.client.util
-
Utilities for working with Java types.
- TypeVariablesPassedAround() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.TypeVariablesPassedAround
- TypeVariableType() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.TypeVariableType
U
- UnicodeEscaper - Class in com.google.api.client.util.escape
-
An
Escaper
that converts literal text into a format safe for inclusion in a particular context (such as an XML document). - UnicodeEscaper() - Constructor for class com.google.api.client.util.escape.UnicodeEscaper
- upper - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.WildCardTypes
- UriTemplate - Class in com.google.api.client.http
-
Expands URI Templates.
- UriTemplate() - Constructor for class com.google.api.client.http.UriTemplate
- UrlEncodedContent - Class in com.google.api.client.http
-
Implements support for HTTP form content encoding serialization of type
application/x-www-form-urlencoded
as specified in the HTML 4.0 Specification. - UrlEncodedContent(Object) - Constructor for class com.google.api.client.http.UrlEncodedContent
- UrlEncodedParser - Class in com.google.api.client.http
-
Implements support for HTTP form content encoding parsing of type
application/x-www-form-urlencoded
as specified in the HTML 4.0 Specification. - UrlEncodedParser() - Constructor for class com.google.api.client.http.UrlEncodedParser
- USER_AGENT_SUFFIX - Static variable in class com.google.api.client.http.HttpRequest
-
User agent suffix for all requests.
- usingProxy() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
- UTF_8 - Static variable in class com.google.api.client.util.Charsets
-
UTF-8 charset.
V
- V() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.V
- value - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.EnumValue
- value - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.MapOfMapType
- value - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.StringNullValue
- value - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.TypeVariableType
- value() - Method in annotation type com.google.api.client.util.Key
-
Override the data key name of the field or
"##default"
to use the Java field's name. - value() - Method in annotation type com.google.api.client.util.Value
-
Override the string data value of the field or
"##default"
to use the Java field's name. - Value - Annotation Type in com.google.api.client.util
-
Use this annotation to specify that an enum constant is a string data value, optionally providing the string data value to use.
- VALUE - com.google.api.client.test.json.AbstractJsonFactoryTest.E
- VALUE_FALSE - com.google.api.client.json.JsonToken
-
JSON field
false
value. - VALUE_NULL - com.google.api.client.json.JsonToken
-
JSON
null
. - VALUE_NUMBER_FLOAT - com.google.api.client.json.JsonToken
-
JSON field number value of an arbitrary-precision decimal number.
- VALUE_NUMBER_INT - com.google.api.client.json.JsonToken
-
JSON field number value of an integer with an arbitrary number of digits and no fractional part.
- VALUE_STRING - com.google.api.client.json.JsonToken
-
JSON field string value.
- VALUE_TRUE - com.google.api.client.json.JsonToken
-
JSON field
true
value. - valueOf(String) - Static method in enum com.google.api.client.json.JsonToken
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.api.client.test.json.AbstractJsonFactoryTest.E
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.api.client.util.GenericData.Flags
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.google.api.client.json.JsonToken
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.api.client.test.json.AbstractJsonFactoryTest.E
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.api.client.util.GenericData.Flags
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in interface com.google.api.client.util.store.DataStore
-
Returns the unmodifiable collection of all stored values.
- verify(Signature, PublicKey, byte[], byte[]) - Static method in class com.google.api.client.util.SecurityUtils
-
Verifies the signature of signed content based on a public key.
- verify(Signature, X509TrustManager, List<String>, byte[], byte[]) - Static method in class com.google.api.client.util.SecurityUtils
-
Verifies the signature of signed content based on a certificate chain.
- verifySignature() - Method in class com.google.api.client.json.webtoken.JsonWebSignature
-
Beta
Verifies the signature of the content using the certificate chain embedded in the signature. - verifySignature(PublicKey) - Method in class com.google.api.client.json.webtoken.JsonWebSignature
-
Verifies the signature of the content.
- verifySignature(X509TrustManager) - Method in class com.google.api.client.json.webtoken.JsonWebSignature
-
Beta
Verifies the signature of the content using the certificate chain embedded in the signature. - VERSION - Static variable in class com.google.api.client.http.HttpRequest
-
Current version of the Google API Client Library for Java.
W
- WildCardTypes() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.WildCardTypes
- write(byte[], int, int) - Method in class com.google.api.client.util.LoggingByteArrayOutputStream
- write(byte[], int, int) - Method in class com.google.api.client.util.LoggingOutputStream
- write(int) - Method in class com.google.api.client.util.LoggingByteArrayOutputStream
- write(int) - Method in class com.google.api.client.util.LoggingOutputStream
- writeBoolean(boolean) - Method in class com.google.api.client.json.JsonGenerator
-
Writes a literal JSON boolean value ('true' or 'false').
- writeBoolean(boolean) - Method in class com.google.api.client.testing.json.MockJsonGenerator
- writeEndArray() - Method in class com.google.api.client.json.JsonGenerator
-
Writes a JSON end array character ']'.
- writeEndArray() - Method in class com.google.api.client.testing.json.MockJsonGenerator
- writeEndObject() - Method in class com.google.api.client.json.JsonGenerator
-
Writes a JSON end object character '}'.
- writeEndObject() - Method in class com.google.api.client.testing.json.MockJsonGenerator
- writeFieldName(String) - Method in class com.google.api.client.json.JsonGenerator
-
Writes a JSON quoted field name.
- writeFieldName(String) - Method in class com.google.api.client.testing.json.MockJsonGenerator
- writeNull() - Method in class com.google.api.client.json.JsonGenerator
-
Writes a literal JSON null value.
- writeNull() - Method in class com.google.api.client.testing.json.MockJsonGenerator
- writeNumber(double) - Method in class com.google.api.client.json.JsonGenerator
-
Writes a JSON double value.
- writeNumber(double) - Method in class com.google.api.client.testing.json.MockJsonGenerator
- writeNumber(float) - Method in class com.google.api.client.json.JsonGenerator
-
Writes a JSON float value.
- writeNumber(float) - Method in class com.google.api.client.testing.json.MockJsonGenerator
- writeNumber(int) - Method in class com.google.api.client.json.JsonGenerator
-
Writes a JSON int value.
- writeNumber(int) - Method in class com.google.api.client.testing.json.MockJsonGenerator
- writeNumber(long) - Method in class com.google.api.client.json.JsonGenerator
-
Writes a JSON long value.
- writeNumber(long) - Method in class com.google.api.client.testing.json.MockJsonGenerator
- writeNumber(String) - Method in class com.google.api.client.json.JsonGenerator
-
Writes a JSON numeric value that has already been encoded properly.
- writeNumber(String) - Method in class com.google.api.client.testing.json.MockJsonGenerator
- writeNumber(BigDecimal) - Method in class com.google.api.client.json.JsonGenerator
-
Writes a JSON big decimal value.
- writeNumber(BigDecimal) - Method in class com.google.api.client.testing.json.MockJsonGenerator
- writeNumber(BigInteger) - Method in class com.google.api.client.json.JsonGenerator
-
Writes a JSON big integer value.
- writeNumber(BigInteger) - Method in class com.google.api.client.testing.json.MockJsonGenerator
- writeStartArray() - Method in class com.google.api.client.json.JsonGenerator
-
Writes a JSON start array character '['.
- writeStartArray() - Method in class com.google.api.client.testing.json.MockJsonGenerator
- writeStartObject() - Method in class com.google.api.client.json.JsonGenerator
-
Writes a JSON start object character '{'.
- writeStartObject() - Method in class com.google.api.client.testing.json.MockJsonGenerator
- writeString(String) - Method in class com.google.api.client.json.JsonGenerator
-
Writes a JSON quoted string value.
- writeString(String) - Method in class com.google.api.client.testing.json.MockJsonGenerator
- writeTo(OutputStream) - Method in class com.google.api.client.http.AbstractInputStreamContent
- writeTo(OutputStream) - Method in class com.google.api.client.http.EmptyContent
- writeTo(OutputStream) - Method in interface com.google.api.client.http.HttpContent
- writeTo(OutputStream) - Method in class com.google.api.client.http.HttpEncodingStreamingContent
- writeTo(OutputStream) - Method in class com.google.api.client.http.json.JsonHttpContent
- writeTo(OutputStream) - Method in class com.google.api.client.http.MultipartContent
- writeTo(OutputStream) - Method in class com.google.api.client.http.protobuf.ProtoHttpContent
- writeTo(OutputStream) - Method in class com.google.api.client.http.UrlEncodedContent
- writeTo(OutputStream) - Method in class com.google.api.client.http.xml.AbstractXmlHttpContent
- writeTo(OutputStream) - Method in class com.google.api.client.testing.http.MockHttpContent
- writeTo(OutputStream) - Method in class com.google.api.client.util.ByteArrayStreamingContent
- writeTo(OutputStream) - Method in class com.google.api.client.util.LoggingStreamingContent
- writeTo(OutputStream) - Method in interface com.google.api.client.util.StreamingContent
-
Writes the byte content to the given output stream.
- writeTo(XmlSerializer) - Method in class com.google.api.client.http.xml.AbstractXmlHttpContent
-
Writes the content to the given XML serializer.
- writeTo(XmlSerializer) - Method in class com.google.api.client.http.xml.atom.AtomContent
- writeTo(XmlSerializer) - Method in class com.google.api.client.http.xml.XmlHttpContent
X
- X() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.X
- Xml - Class in com.google.api.client.xml
-
Beta
XML utilities. - Xml.CustomizeParser - Class in com.google.api.client.xml
-
Customizes the behavior of XML parsing.
- XmlHttpContent - Class in com.google.api.client.http.xml
-
Beta
Serializes XML HTTP content based on the data key/value mapping object for an item. - XmlHttpContent(XmlNamespaceDictionary, String, Object) - Constructor for class com.google.api.client.http.xml.XmlHttpContent
-
XML namespace dictionary.
- XmlNamespaceDictionary - Class in com.google.api.client.xml
-
Beta
Thread-safe XML namespace dictionary that provides a one-to-one map of namespace alias to URI. - XmlNamespaceDictionary() - Constructor for class com.google.api.client.xml.XmlNamespaceDictionary
- XmlObjectParser - Class in com.google.api.client.xml
-
Beta
XML HTTP parser into an data class of key/value pairs. - XmlObjectParser(XmlNamespaceDictionary) - Constructor for class com.google.api.client.xml.XmlObjectParser
-
Creates an XmlObjectParser using the specified non-null namespace dictionary.
Y
- Y() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.Y
Z
- Z() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.Z
- ZERO_BACKOFF - Static variable in interface com.google.api.client.util.BackOff
-
Fixed back-off policy whose back-off time is always zero, meaning that the operation is retried immediately without waiting.
All Classes All Packages