- GenericData - Class in com.google.api.client.util
-
Generic data that stores all unknown data key name/value pairs.
- GenericData() - Constructor for class com.google.api.client.util.GenericData
-
Constructs with case-insensitive keys.
- GenericData(EnumSet<GenericData.Flags>) - Constructor for class com.google.api.client.util.GenericData
-
- GenericData.Flags - Enum in com.google.api.client.util
-
Flags that impact behavior of generic data.
- GenericJson - Class in com.google.api.client.json
-
Generic JSON data that stores all unknown key name/value pairs.
- GenericJson() - Constructor for class com.google.api.client.json.GenericJson
-
- GenericUrl - Class in com.google.api.client.http
-
- GenericUrl() - Constructor for class com.google.api.client.http.GenericUrl
-
- GenericUrl(String) - Constructor for class com.google.api.client.http.GenericUrl
-
Constructs a GenericUrl from a URL encoded string.
- GenericUrl(String, boolean) - Constructor for class com.google.api.client.http.GenericUrl
-
Constructs a GenericUrl from a string.
- GenericUrl(URI) - Constructor for class com.google.api.client.http.GenericUrl
-
Constructs from a URI.
- GenericUrl(URI, boolean) - Constructor for class com.google.api.client.http.GenericUrl
-
Constructs from a URI.
- GenericUrl(URL) - Constructor for class com.google.api.client.http.GenericUrl
-
Constructs from a URL.
- GenericUrl(URL, boolean) - Constructor for class com.google.api.client.http.GenericUrl
-
Constructs from a URL.
- GenericXml - Class in com.google.api.client.xml
-
Beta
Generic XML data that stores all unknown key name/value pairs.
- GenericXml() - Constructor for class com.google.api.client.xml.GenericXml
-
- GET - Static variable in class com.google.api.client.http.HttpMethods
-
HTTP GET method.
- get(Object) - Method in class com.google.api.client.util.ArrayMap
-
Returns the value set for the given key or null
if there is no such mapping or if the
mapping value is null
.
- get(Object) - Method in class com.google.api.client.util.GenericData
-
- get(String) - Method in class com.google.api.client.util.store.AbstractMemoryDataStore
-
- get(String) - Method in interface com.google.api.client.util.store.DataStore
-
Returns the stored value for the given key or null
if not found.
- getAccept() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "Accept"
header or null
for none.
- getAcceptEncoding() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "Accept-Encoding"
header or null
for none.
- getAge() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "Age"
header or null
for none.
- getAlgorithm() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Returns the algorithm header parameter that identifies the cryptographic algorithm used to
secure the JWS or null
for none.
- getAliasForUri(String) - Method in class com.google.api.client.xml.XmlNamespaceDictionary
-
Returns the namespace alias (or ""
for the default namespace) for the given namespace
URI.
- getAliasToUriMap() - Method in class com.google.api.client.xml.XmlNamespaceDictionary
-
Returns an unmodified set of map entries for the map from namespace alias (or ""
for
the default namespace) to namespace URI.
- getAll(String) - Method in class com.google.api.client.http.GenericUrl
-
Returns all query parameter values for the given query parameter name.
- getArrayComponentType(Type) - Static method in class com.google.api.client.util.Types
-
- getAudience() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Returns the audience claim that identifies the audience that the JWT is intended for (should
either be a String
or a List<String>
) or null
for none.
- getAudienceAsList() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Returns the list of audience claim that identifies the audience that the JWT is intended for
or empty for none.
- getAuthenticate() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "WWW-Authenticate"
header or null
for none.
- getAuthenticateAsList() - Method in class com.google.api.client.http.HttpHeaders
-
Returns all "WWW-Authenticate"
headers or null
for none.
- getAuthorization() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "Authorization"
header or null
for none.
- getAuthorizationAsList() - Method in class com.google.api.client.http.HttpHeaders
-
Returns all "Authorization"
headers or null
for none.
- getBackOff() - Method in class com.google.api.client.http.HttpBackOffIOExceptionHandler
-
Returns the back-off.
- getBackOff() - Method in class com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler
-
Returns the back-off.
- getBackOffPolicy() - Method in class com.google.api.client.http.HttpRequest
-
- getBackOffRequired() - Method in class com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler
-
- getBase64DecodedBytes() - Method in class com.google.api.client.util.PemReader.Section
-
Returns the base64-decoded bytes (modifiable array).
- getBase64Der() - Method in class com.google.api.client.testing.json.webtoken.TestCertificates.CertData
-
- getBigIntegerValue() - Method in class com.google.api.client.json.JsonParser
-
Returns the
BigInteger
value of the current token.
- getBigIntegerValue() - Method in class com.google.api.client.testing.json.MockJsonParser
-
- getBound(WildcardType) - Static method in class com.google.api.client.util.Types
-
Returns the only bound of the given wildcard type.
- getBoundary() - Method in class com.google.api.client.http.MultipartContent
-
Returns the boundary string to use.
- getBuffer() - Method in class com.google.api.client.testing.util.TestableByteArrayInputStream
-
Returns the written buffer value as a modifiable byte array.
- getBuffer() - Method in class com.google.api.client.testing.util.TestableByteArrayOutputStream
-
Returns the written buffer value as a modifiable byte array.
- getBytesUtf8(String) - Static method in class com.google.api.client.util.StringUtils
-
Encodes the given string into a sequence of bytes using the UTF-8 charset, storing the result
into a new byte array.
- getBytesWritten() - Method in class com.google.api.client.util.LoggingByteArrayOutputStream
-
Returns the bytes written to the stream (may or may not have been logged).
- getByteValue() - Method in class com.google.api.client.json.JsonParser
-
Returns the byte value of the current token.
- getByteValue() - Method in class com.google.api.client.testing.json.MockJsonParser
-
- getCacheControl() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "Cache-Control"
header or null
for none.
- getCertfificate() - Method in class com.google.api.client.testing.json.webtoken.TestCertificates.CertData
-
- getCharset() - Method in class com.google.api.client.http.AbstractHttpContent
-
Returns the charset specified in the media type or ISO_8859_1 if not specified.
- getCharsetParameter() - Method in class com.google.api.client.http.HttpMediaType
-
Returns the specified charset or null
if unset.
- getChunkLength() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
- getClassInfo() - Method in class com.google.api.client.util.FieldInfo
-
Returns the class information of the field's declaring class.
- getClassInfo() - Method in class com.google.api.client.util.GenericData
-
Returns the class information.
- getCloseInputStream() - Method in class com.google.api.client.http.AbstractInputStreamContent
-
- getConnectTimeout() - Method in class com.google.api.client.http.HttpRequest
-
Returns the timeout in milliseconds to establish a connection or 0
for an infinite
timeout.
- getContent() - Method in class com.google.api.client.http.HttpEncodingStreamingContent
-
Returns the streaming content.
- getContent() - Method in class com.google.api.client.http.HttpRequest
-
Returns the HTTP request content or null
for none.
- getContent() - Method in class com.google.api.client.http.HttpResponse
-
Returns the content of the HTTP response.
- getContent() - Method in class com.google.api.client.http.HttpResponseException.Builder
-
Returns the HTTP response content or null
for none.
- getContent() - Method in exception com.google.api.client.http.HttpResponseException
-
Returns the HTTP response content or null
for none.
- getContent() - Method in class com.google.api.client.http.LowLevelHttpResponse
-
Returns the HTTP response content input stream or null
for none.
- getContent() - Method in class com.google.api.client.http.MultipartContent.Part
-
Returns the HTTP content or null
for none.
- getContent(HttpRequest) - Static method in class com.google.api.client.http.UrlEncodedContent
-
- getContent() - Method in class com.google.api.client.testing.http.MockHttpContent
-
Returns the HTTP content.
- getContent() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
- getContentAsString() - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
-
Returns HTTP content as a string, taking care of any encodings of the content if necessary.
- getContentCharset() - Method in class com.google.api.client.http.HttpResponse
-
Returns the
Charset
specified in the Content-Type of this response or the ISO-8859-1
charset as a default.
- getContentEncoding() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "Content-Encoding"
header or null
for none.
- getContentEncoding() - Method in class com.google.api.client.http.HttpResponse
-
Returns the content encoding or null
for none.
- getContentEncoding() - Method in class com.google.api.client.http.LowLevelHttpRequest
-
Returns the content encoding (for example "gzip"
) or null
for none.
- getContentEncoding() - Method in class com.google.api.client.http.LowLevelHttpResponse
-
Returns the content encoding (for example "gzip"
) or null
for none.
- getContentEncoding() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
- getContentLength() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "Content-Length"
header or null
for none.
- getContentLength() - Method in class com.google.api.client.http.LowLevelHttpRequest
-
Returns the content length or less than zero if not known.
- getContentLength() - Method in class com.google.api.client.http.LowLevelHttpResponse
-
Returns the content length or 0
for none.
- getContentLength() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
- getContentLoggingLimit() - Method in class com.google.api.client.http.HttpRequest
-
- getContentLoggingLimit() - Method in class com.google.api.client.http.HttpResponse
-
- getContentMD5() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "Content-MD5"
header or null
for none.
- getContentRange() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "Content-Range"
header or null
for none.
- getContentType() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "Content-Type"
header or null
for none.
- getContentType() - Method in class com.google.api.client.http.HttpResponse
-
Returns the content type or null
for none.
- getContentType() - Method in class com.google.api.client.http.LowLevelHttpRequest
-
Returns the content type or null
for none.
- getContentType() - Method in class com.google.api.client.http.LowLevelHttpResponse
-
Returns the content type or null
for none.
- getContentType() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Header
-
Returns the content type header parameter used to declare structural information about the
JWT or null
for none.
- getContentType() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
- getCookie() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "Cookie"
header or null
for none.
- getCount() - Method in class com.google.api.client.testing.util.MockSleeper
-
- getCritical() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Returns an array listing the header parameter names that define extensions used in the JWS
header that MUST be understood and processed or null
for none.
- getCurrentIntervalMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.
Returns the current retry interval in milliseconds.
- getCurrentIntervalMillis() - Method in class com.google.api.client.util.ExponentialBackOff
-
Returns the current retry interval in milliseconds.
- getCurrentName() - Method in class com.google.api.client.json.JsonParser
-
Returns the most recent field name or null
for array values or for root-level values.
- getCurrentName() - Method in class com.google.api.client.testing.json.MockJsonParser
-
- getCurrentToken() - Method in class com.google.api.client.json.JsonParser
-
Returns the token the parser currently points to or null
for none (at start of input or
after end of input).
- getCurrentToken() - Method in class com.google.api.client.testing.json.MockJsonParser
-
- getData() - Method in class com.google.api.client.http.json.JsonHttpContent
-
Returns the JSON key name/value data.
- getData() - Method in class com.google.api.client.http.UrlEncodedContent
-
Returns the key name/value data or null
for none.
- getData() - Method in class com.google.api.client.http.xml.atom.AtomContent
-
Returns the key name/value pair data for the Atom entry or Atom feed.
- getData() - Method in class com.google.api.client.http.xml.XmlHttpContent
-
Returns the key/value pair data.
- getDataDirectory() - Method in class com.google.api.client.extensions.android.util.store.FileDataStoreFactory
-
Returns the data directory.
- getDataDirectory() - Method in class com.google.api.client.util.store.FileDataStoreFactory
-
Returns the data directory.
- getDataStore(String) - Method in class com.google.api.client.util.store.AbstractDataStoreFactory
-
- getDataStore(String) - Method in interface com.google.api.client.util.store.DataStoreFactory
-
Returns a type-specific data store based on the given unique ID.
- getDataStoreFactory() - Method in class com.google.api.client.util.store.AbstractDataStore
-
Returns the data store factory.
- getDataStoreFactory() - Method in interface com.google.api.client.util.store.DataStore
-
Returns the data store factory.
- getDate() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "Date"
header or null
for none.
- getDecimalValue() - Method in class com.google.api.client.json.JsonParser
-
Returns the
BigDecimal
value of the current token.
- getDecimalValue() - Method in class com.google.api.client.testing.json.MockJsonParser
-
- getDefaultInstance() - Static method in class com.google.api.client.extensions.android.json.AndroidJsonFactory
-
Returns a global thread-safe instance.
- getDefaultInstance() - Static method in class com.google.api.client.extensions.appengine.datastore.AppEngineDataStoreFactory
-
- getDefaultInstance() - Static method in class com.google.api.client.extensions.appengine.http.UrlFetchTransport
-
Returns a global thread-safe instance.
- getDefaultInstance() - Static method in class com.google.api.client.json.gson.GsonFactory
-
Beta
Returns a global thread-safe instance.
- getDefaultInstance() - Static method in class com.google.api.client.json.jackson2.JacksonFactory
-
Deprecated.
Returns a global thread-safe instance.
- getDefaultInstance() - Static method in class com.google.api.client.util.store.MemoryDataStoreFactory
-
Returns a global thread-safe instance.
- getDefaultKeyManagerFactory() - Static method in class com.google.api.client.util.SslUtils
-
Returns the default key manager factory.
- getDefaultKeyStore() - Static method in class com.google.api.client.util.SecurityUtils
-
- getDefaultTrustManagerFactory() - Static method in class com.google.api.client.util.SslUtils
-
Returns the default trust manager factory.
- getDer() - Method in class com.google.api.client.testing.json.webtoken.TestCertificates.CertData
-
- getDisableMemcache() - Method in class com.google.api.client.extensions.appengine.datastore.AppEngineDataStoreFactory.Builder
-
Returns whether to disable the memcache.
- getDisableMemcache() - Method in class com.google.api.client.extensions.appengine.datastore.AppEngineDataStoreFactory
-
Returns whether to disable the memcache (which is enabled by default).
- getDoNotValidateCertificate() - Method in class com.google.api.client.extensions.appengine.http.UrlFetchTransport.Builder
-
- getDoubleValue() - Method in class com.google.api.client.json.JsonParser
-
Returns the double value of the current token.
- getDoubleValue() - Method in class com.google.api.client.testing.json.MockJsonParser
-
- getElapsedTimeMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.
- getElapsedTimeMillis() - Method in class com.google.api.client.util.ExponentialBackOff
-
- getElementName() - Method in class com.google.api.client.http.xml.XmlHttpContent
-
Returns the XML element local name, optionally prefixed by its namespace alias, for example
"atom:entry"
.
- getEncoding() - Method in class com.google.api.client.http.HttpEncodingStreamingContent
-
Returns the HTTP encoding.
- getEncoding() - Method in class com.google.api.client.http.HttpRequest
-
Returns the HTTP content encoding or null
for none.
- getEncoding() - Method in class com.google.api.client.http.MultipartContent.Part
-
Returns the HTTP encoding or null
for none.
- getEndSpanOptions(Integer) - Static method in class com.google.api.client.http.OpenCensusUtils
-
Returns an EndSpanOptions
to end a http span according to the status code.
- getEntryClass() - Method in class com.google.api.client.http.xml.atom.AtomFeedParser
-
Returns the Atom entry class to parse.
- getErrorStream() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
- getEs256SignatureAlgorithm() - Static method in class com.google.api.client.util.SecurityUtils
-
Returns the SHA-256 with ECDSA signature algorithm
- getETag() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "ETag"
header or null
for none.
- getExpirationTimeSeconds() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Returns the expiration time (in seconds) claim that identifies the expiration time on or
after which the token MUST NOT be accepted for processing or null
for none.
- getExpires() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "Expires"
header or null
for none.
- getFactory() - Method in class com.google.api.client.json.GenericJson
-
Returns the JSON factory or null
for none.
- getFactory() - Method in class com.google.api.client.json.JsonGenerator
-
Returns the JSON factory from which this generator was created.
- getFactory() - Method in class com.google.api.client.json.JsonParser
-
Returns the JSON factory from which this generator was created.
- getFactory() - Method in class com.google.api.client.testing.json.MockJsonGenerator
-
- getFactory() - Method in class com.google.api.client.testing.json.MockJsonParser
-
- getFeedClass() - Method in class com.google.api.client.xml.atom.AbstractAtomFeedParser
-
Returns the feed class to parse.
- getField(String) - Method in class com.google.api.client.util.ClassInfo
-
- getField() - Method in class com.google.api.client.util.FieldInfo
-
Returns the field.
- getFieldInfo(String) - Method in class com.google.api.client.util.ClassInfo
-
- getFieldInfos() - Method in class com.google.api.client.util.ClassInfo
-
Returns an unmodifiable collection of the FieldInfo
s for this class, without any
guarantee of order.
- getFieldValue(Field, Object) - Static method in class com.google.api.client.util.FieldInfo
-
Returns the value of the given field in the given object using reflection.
- getFile() - Method in class com.google.api.client.http.FileContent
-
Returns the file.
- getFirst(String) - Method in class com.google.api.client.http.GenericUrl
-
Returns the first query parameter value for the given query parameter name.
- getFirstHeaderStringValue(String) - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first header string value for the given header name.
- getFirstHeaderValue(String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
-
Returns the value of the first header of the given name or null
for none.
- getFloatValue() - Method in class com.google.api.client.json.JsonParser
-
Returns the float value of the current token.
- getFloatValue() - Method in class com.google.api.client.testing.json.MockJsonParser
-
- getFollowRedirects() - Method in class com.google.api.client.http.HttpRequest
-
Returns whether to follow redirects automatically.
- getFragment() - Method in class com.google.api.client.http.GenericUrl
-
Returns the fragment component or null
for none.
- getGenericType() - Method in class com.google.api.client.util.FieldInfo
-
Returns the field's generic type, which is a class, parameterized type, generic array type, or
type variable, but not a wildcard type.
- getHeader() - Method in class com.google.api.client.json.webtoken.JsonWebSignature
-
- getHeader() - Method in class com.google.api.client.json.webtoken.JsonWebToken
-
Returns the header.
- getHeaderClass() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Parser
-
Returns the header class to use for parsing.
- getHeaderCount() - Method in class com.google.api.client.http.LowLevelHttpResponse
-
Returns the number of HTTP response headers.
- getHeaderCount() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
- getHeaderField(String) - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
- getHeaderFields() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
- getHeaderName(int) - Method in class com.google.api.client.http.LowLevelHttpResponse
-
Returns the HTTP response header name at the given zero-based index.
- getHeaderName(int) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
- getHeaderNames() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Returns the list of header names of HTTP response.
- getHeaders() - Method in class com.google.api.client.http.HttpRequest
-
Returns the HTTP request headers.
- getHeaders() - Method in class com.google.api.client.http.HttpResponse
-
Returns the HTTP response headers.
- getHeaders() - Method in class com.google.api.client.http.HttpResponseException.Builder
-
Returns the HTTP response headers.
- getHeaders() - Method in exception com.google.api.client.http.HttpResponseException
-
Returns the HTTP response headers.
- getHeaders() - Method in class com.google.api.client.http.MultipartContent.Part
-
Returns the HTTP headers or null
for none.
- getHeaders() - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
-
Returns an unmodifiable view of the map of lowercase header name to values.
- getHeaderStringValues(String) - Method in class com.google.api.client.http.HttpHeaders
-
Returns an unmodifiable list of the header string values for the given header name.
- getHeaderValue(int) - Method in class com.google.api.client.http.LowLevelHttpResponse
-
Returns the HTTP response header value at the given zero-based index.
- getHeaderValue(int) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
- getHeaderValues(String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
-
Returns the unmodifiable list of values of the headers of the given name (may be empty).
- getHeaderValues() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Returns the list of header values of HTTP response.
- getHost() - Method in class com.google.api.client.http.GenericUrl
-
Returns the host, for example "www.google.com"
.
- getHostnameVerifier() - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
-
Returns the host name verifier or null
for the default.
- getHttpClient() - Method in class com.google.api.client.http.apache.ApacheHttpTransport
-
Deprecated.
Returns the Apache HTTP client.
- getHttpClient() - Method in class com.google.api.client.http.apache.v2.ApacheHttpTransport
-
Returns the Apache HTTP client.
- getHttpParams() - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
-
Deprecated.
Returns the HTTP parameters.
- getId() - Method in class com.google.api.client.json.rpc2.JsonRpcRequest
-
Returns the identifier established by the client that must be a string or a number or null
for a notification and therefore not expect to receive a response.
- getId() - Method in class com.google.api.client.util.store.AbstractDataStore
-
- getId() - Method in interface com.google.api.client.util.store.DataStore
-
Returns the data store ID.
- getIfMatch() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "If-Match"
header or null
for none.
- getIfModifiedSince() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "If-Modified-Since"
header or null
for none.
- getIfNoneMatch() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "If-None-Match"
header or null
for none.
- getIfRange() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "If-Range"
header or null
for none.
- getIfUnmodifiedSince() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "If-Unmodified-Since"
header or null
for none.
- getIgnoreCase() - Method in class com.google.api.client.util.ClassInfo
-
Returns whether field names are case sensitive.
- getIndexOfKey(K) - Method in class com.google.api.client.util.ArrayMap
-
Returns the index of the given key or -1
if there is no such key.
- getInitialIntervalMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
-
Deprecated.
Returns the initial retry interval in milliseconds.
- getInitialIntervalMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.
Returns the initial retry interval in milliseconds.
- getInitialIntervalMillis() - Method in class com.google.api.client.util.ExponentialBackOff.Builder
-
Returns the initial retry interval in milliseconds.
- getInitialIntervalMillis() - Method in class com.google.api.client.util.ExponentialBackOff
-
Returns the initial retry interval in milliseconds.
- getInitializer() - Method in class com.google.api.client.http.HttpRequestFactory
-
Returns the HTTP request initializer or null
for none.
- getInputStream() - Method in class com.google.api.client.http.AbstractInputStreamContent
-
- getInputStream() - Method in class com.google.api.client.http.ByteArrayContent
-
- getInputStream() - Method in class com.google.api.client.http.FileContent
-
- getInputStream() - Method in class com.google.api.client.http.InputStreamContent
-
- getInputStream() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
- getInputStream() - Method in class com.google.api.client.xml.atom.AbstractAtomFeedParser
-
Returns the input stream to read.
- getInterceptor() - Method in class com.google.api.client.http.HttpRequest
-
Returns the HTTP request execute interceptor to intercept the start of
HttpRequest.execute()
(before executing the HTTP request) or
null
for none.
- getIntValue() - Method in class com.google.api.client.json.JsonParser
-
Returns the int value of the current token.
- getIntValue() - Method in class com.google.api.client.testing.json.MockJsonParser
-
- getIOExceptionHandler() - Method in class com.google.api.client.http.HttpRequest
-
Beta
Returns the HTTP I/O exception handler or
null
for none.
- getIssuedAtTimeSeconds() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Returns the issued at claim that identifies the time (in seconds) at which the JWT was issued
or null
for none.
- getIssuer() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Returns the issuer claim that identifies the principal that issued the JWT or null
for none.
- getIterableParameter(Type) - Static method in class com.google.api.client.util.Types
-
Returns the type parameter of
Iterable
that is assignable from the given iterable type.
- getJavaKeyStore() - Static method in class com.google.api.client.util.SecurityUtils
-
Returns the Java KeyStore (JKS).
- getJsonFactory() - Method in class com.google.api.client.http.json.JsonHttpContent
-
Returns the JSON factory.
- getJsonFactory() - Method in class com.google.api.client.json.JsonObjectParser.Builder
-
Returns the JSON factory.
- getJsonFactory() - Method in class com.google.api.client.json.JsonObjectParser
-
Returns the JSON factory.
- getJsonFactory() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Parser
-
Returns the JSON factory.
- getJsonWebSignature() - Static method in class com.google.api.client.testing.json.webtoken.TestCertificates
-
- getJwk() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Returns the JSON Web Key header parameter that is a public key that corresponds to the key
used to digitally sign the JWS or null
for none.
- getJwkUrl() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Returns the JSON Web Key URL header parameter that is an absolute URL that refers to a
resource for a set of JSON-encoded public keys, one of which corresponds to the key that was
used to digitally sign the JWS or null
for none.
- getJwtId() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Returns the JWT ID claim that provides a unique identifier for the JWT or null
for
none.
- getKey(int) - Method in class com.google.api.client.util.ArrayMap
-
Returns the key at the given index or null
if out of bounds.
- getKeyId() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Returns the key ID header parameter that is a hint indicating which specific key owned by the
signer should be used to validate the digital signature or null
for none.
- getLastMillis() - Method in class com.google.api.client.testing.util.MockSleeper
-
- getLastModified() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "Last-Modified"
header or null
for none.
- getLength() - Method in class com.google.api.client.http.AbstractHttpContent
-
- getLength() - Method in class com.google.api.client.http.ByteArrayContent
-
- getLength() - Method in class com.google.api.client.http.EmptyContent
-
- getLength() - Method in class com.google.api.client.http.FileContent
-
- getLength() - Method in interface com.google.api.client.http.HttpContent
-
Returns the content length or less than zero if not known.
- getLength() - Method in class com.google.api.client.http.InputStreamContent
-
- getLength() - Method in class com.google.api.client.http.protobuf.ProtoHttpContent
-
- getLength() - Method in class com.google.api.client.testing.http.MockHttpContent
-
- getLocation() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "Location"
header or null
for none.
- getLogStream() - Method in class com.google.api.client.util.LoggingInputStream
-
Returns the log stream.
- getLogStream() - Method in class com.google.api.client.util.LoggingOutputStream
-
Returns the log stream.
- getLongValue() - Method in class com.google.api.client.json.JsonParser
-
Returns the long value of the current token.
- getLongValue() - Method in class com.google.api.client.testing.json.MockJsonParser
-
- getLowLevelHttpRequest() - Method in class com.google.api.client.testing.http.MockHttpTransport.Builder
-
- getLowLevelHttpRequest() - Method in class com.google.api.client.testing.http.MockHttpTransport
-
- getMapValueParameter(Type) - Static method in class com.google.api.client.util.Types
-
Returns the value type parameter of
Map
that is assignable from the given map type.
- getMaxElapsedTimeMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
-
Deprecated.
Returns the maximum elapsed time in milliseconds.
- getMaxElapsedTimeMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.
Returns the maximum elapsed time in milliseconds.
- getMaxElapsedTimeMillis() - Method in class com.google.api.client.util.ExponentialBackOff.Builder
-
Returns the maximum elapsed time in milliseconds.
- getMaxElapsedTimeMillis() - Method in class com.google.api.client.util.ExponentialBackOff
-
Returns the maximum elapsed time in milliseconds.
- getMaximumBytesToLog() - Method in class com.google.api.client.util.LoggingByteArrayOutputStream
-
Returns the maximum number of bytes to log (may be 0
to avoid logging content).
- getMaxIntervalMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
-
Deprecated.
Returns the maximum value of the back off period in milliseconds.
- getMaxIntervalMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.
Returns the maximum value of the back off period in milliseconds.
- getMaxIntervalMillis() - Method in class com.google.api.client.util.ExponentialBackOff.Builder
-
Returns the maximum value of the back off period in milliseconds.
- getMaxIntervalMillis() - Method in class com.google.api.client.util.ExponentialBackOff
-
Returns the maximum value of the back off period in milliseconds.
- getMaxTries() - Method in class com.google.api.client.testing.util.MockBackOff
-
Returns the maximum number of tries before returning
BackOff.STOP
.
- getMediaType() - Method in class com.google.api.client.http.AbstractHttpContent
-
Returns the media type to use for the Content-Type header, or null
if unspecified.
- getMediaType() - Method in class com.google.api.client.http.HttpResponse
-
Returns the parsed Content-Type in form of a
HttpMediaType
or
null
if no
content-type was set.
- getMemcacheExpiration() - Method in class com.google.api.client.extensions.appengine.datastore.AppEngineDataStoreFactory.Builder
-
Returns the Memcache expiration policy on puts.
- getMessage() - Method in class com.google.api.client.http.HttpResponseException.Builder
-
Returns the detail message to use or null
for none.
- getMessage() - Method in class com.google.api.client.http.protobuf.ProtoHttpContent
-
Returns the message to serialize.
- getMethod() - Method in class com.google.api.client.json.rpc2.JsonRpcRequest
-
Returns the name of the method to be invoked.
- getMimeVersion() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "MIME-Version"
header or null
for none.
- getMultiplier() - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
-
Deprecated.
Returns the value to multiply the current interval with for each retry attempt.
- getMultiplier() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.
Returns the value to multiply the current interval with for each retry attempt.
- getMultiplier() - Method in class com.google.api.client.util.ExponentialBackOff.Builder
-
Returns the value to multiply the current interval with for each retry attempt.
- getMultiplier() - Method in class com.google.api.client.util.ExponentialBackOff
-
Returns the value to multiply the current interval with for each retry attempt.
- getName() - Method in class com.google.api.client.http.GZipEncoding
-
- getName() - Method in interface com.google.api.client.http.HttpEncoding
-
Returns the content encoding name (for example "gzip"
) or null
for none.
- getName() - Method in class com.google.api.client.util.FieldInfo
-
Returns the data key name associated with the field for a non-enum-constant with a
Key
annotation, or data key value associated with the enum constant with a
Value
annotation
or
null
for an enum constant with a
NullValue
annotation.
- getNames() - Method in class com.google.api.client.util.ClassInfo
-
Returns an unmodifiable sorted set (with any possible
null
member first) of
names
.
- getNamespaceDictionary() - Method in class com.google.api.client.http.xml.AbstractXmlHttpContent
-
Returns the XML namespace dictionary.
- getNamespaceDictionary() - Method in class com.google.api.client.xml.atom.AbstractAtomFeedParser
-
Returns the XML namespace dictionary.
- getNamespaceDictionary() - Method in class com.google.api.client.xml.XmlObjectParser
-
Returns the XML namespace dictionary.
- getNanoClock() - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
-
Deprecated.
Returns the nano clock.
- getNanoClock() - Method in class com.google.api.client.util.ExponentialBackOff.Builder
-
Returns the nano clock.
- getNanos() - Method in class com.google.api.client.util.DateTime.SecondsAndNanos
-
- getNextBackOffMillis() - Method in interface com.google.api.client.http.BackOffPolicy
-
Deprecated.
Gets the number of milliseconds to wait before retrying an HTTP request.
- getNextBackOffMillis() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.
Gets the number of milliseconds to wait before retrying an HTTP request.
- getNotBeforeTimeSeconds() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Returns the not before claim that identifies the time (in seconds) before which the token
MUST NOT be accepted for processing or null
for none.
- getNumberOfRetries() - Method in class com.google.api.client.http.HttpRequest
-
Returns the number of retries that will be allowed to execute before the request will be
terminated or 0
to not retry requests.
- getNumberOfTries() - Method in class com.google.api.client.testing.util.MockBackOff
-
Returns the number of tries so far.
- getOutputStream() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
- getParameter(String) - Method in class com.google.api.client.http.HttpMediaType
-
Returns the value of the specified parameter or null
if not found.
- getParameters() - Method in class com.google.api.client.http.HttpMediaType
-
Returns an unmodifiable map of all specified parameters.
- getParameters() - Method in class com.google.api.client.json.rpc2.JsonRpcRequest
-
Returns the structured value that holds the parameter values to be used during the invocation
of the method or null
for none.
- getParser() - Method in class com.google.api.client.http.HttpRequest
-
Returns the
ObjectParser
used to parse the response or
null
for none.
- getParser() - Method in class com.google.api.client.xml.atom.AbstractAtomFeedParser
-
Returns the XML pull parser to use.
- getParts() - Method in class com.google.api.client.http.MultipartContent
-
Returns an unmodifiable view of the parts of the HTTP multipart request.
- getPassword() - Method in class com.google.api.client.http.BasicAuthentication
-
Returns the password.
- getPathParts() - Method in class com.google.api.client.http.GenericUrl
-
Returns the decoded path component by parts with each part separated by a '/'
or null
for none.
- getPayload() - Method in class com.google.api.client.json.webtoken.JsonWebToken
-
Returns the payload.
- getPayloadClass() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Parser
-
Returns the payload class to use for parsing.
- getPkcs12KeyStore() - Static method in class com.google.api.client.util.SecurityUtils
-
Returns the PKCS12 key store.
- getPkixKeyManagerFactory() - Static method in class com.google.api.client.util.SslUtils
-
Returns the PKIX key manager factory.
- getPkixTrustManagerFactory() - Static method in class com.google.api.client.util.SslUtils
-
Returns the PKIX trust manager factory.
- getPort() - Method in class com.google.api.client.http.GenericUrl
-
Returns the port number or -1
if undefined, for example 443
.
- getPrivateKey(KeyStore, String, String) - Static method in class com.google.api.client.util.SecurityUtils
-
Returns the private key from the key store.
- getRandomizationFactor() - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
-
Deprecated.
Returns the randomization factor to use for creating a range around the retry interval.
- getRandomizationFactor() - Method in class com.google.api.client.http.ExponentialBackOffPolicy
-
Deprecated.
Returns the randomization factor to use for creating a range around the retry interval.
- getRandomizationFactor() - Method in class com.google.api.client.util.ExponentialBackOff.Builder
-
Returns the randomization factor to use for creating a range around the retry interval.
- getRandomizationFactor() - Method in class com.google.api.client.util.ExponentialBackOff
-
Returns the randomization factor to use for creating a range around the retry interval.
- getRange() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "Range"
header or null
for none.
- getRawArrayComponentType(List<Type>, Type) - Static method in class com.google.api.client.util.Types
-
Returns the raw array component type to use -- for example for the first parameter of
Array.newInstance(Class, int)
-- for the given component type.
- getRawClass(ParameterizedType) - Static method in class com.google.api.client.util.Types
-
- getRawPath() - Method in class com.google.api.client.http.GenericUrl
-
- getReadTimeout() - Method in class com.google.api.client.http.HttpRequest
-
Returns the timeout in milliseconds to read data from an established connection or 0
for an infinite timeout.
- getReasonPhrase() - Method in class com.google.api.client.http.LowLevelHttpResponse
-
Returns the HTTP reason phrase or null
for none.
- getReasonPhrase() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
- getRequest() - Method in class com.google.api.client.http.HttpResponse
-
Returns the HTTP request.
- getRequestMethod() - Method in class com.google.api.client.http.HttpRequest
-
Returns the HTTP request method or null
for none.
- getResponse() - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
-
- getResponseCode() - Method in class com.google.api.client.testing.http.apache.MockHttpClient
-
Returns the HTTP response code to use.
- getResponseCode() - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
- getResponseHeaders() - Method in class com.google.api.client.http.HttpRequest
-
Returns the HTTP response headers.
- getResponseInterceptor() - Method in class com.google.api.client.http.HttpRequest
-
Returns the HTTP response interceptor or null
for none.
- getResponseReturnRawInputStream() - Method in class com.google.api.client.http.HttpRequest
-
- getRetryAfter() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "Retry-After"
header or null
for none.
- getRetryOnExecuteIOException() - Method in class com.google.api.client.http.HttpRequest
-
- getRsaKeyFactory() - Static method in class com.google.api.client.util.SecurityUtils
-
Returns the RSA key factory.
- getScheme() - Method in class com.google.api.client.http.GenericUrl
-
Returns the scheme (lowercase), for example "https"
.
- getSeconds() - Method in class com.google.api.client.util.DateTime.SecondsAndNanos
-
- getSha1WithRsaSignatureAlgorithm() - Static method in class com.google.api.client.util.SecurityUtils
-
Returns the SHA-1 with RSA signature algorithm.
- getSha256WithRsaSignatureAlgorithm() - Static method in class com.google.api.client.util.SecurityUtils
-
Returns the SHA-256 with RSA signature algorithm.
- getShortValue() - Method in class com.google.api.client.json.JsonParser
-
Returns the short value of the current token.
- getShortValue() - Method in class com.google.api.client.testing.json.MockJsonParser
-
- getSignatureBytes() - Method in class com.google.api.client.json.webtoken.JsonWebSignature
-
Returns the bytes of the signature.
- getSignedContentBytes() - Method in class com.google.api.client.json.webtoken.JsonWebSignature
-
Returns the bytes of the signature content.
- getSleeper() - Method in class com.google.api.client.http.HttpBackOffIOExceptionHandler
-
Returns the sleeper.
- getSleeper() - Method in class com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler
-
Returns the sleeper.
- getSleeper() - Method in class com.google.api.client.http.HttpRequest
-
Returns the sleeper.
- getSslContext() - Static method in class com.google.api.client.util.SslUtils
-
Returns the SSL context for "SSL" algorithm.
- getSSLSocketFactory() - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
-
Deprecated.
Returns the SSL socket factory (SSLSocketFactory.getSocketFactory()
by default).
- getSslSocketFactory() - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
-
Returns the SSL socket factory.
- getStatusCode() - Method in class com.google.api.client.http.HttpResponse
-
Returns the HTTP status code or 0
for none.
- getStatusCode() - Method in class com.google.api.client.http.HttpResponseException.Builder
-
Returns the HTTP status code or 0
for none.
- getStatusCode() - Method in exception com.google.api.client.http.HttpResponseException
-
Returns the HTTP status code or 0
for none.
- getStatusCode() - Method in class com.google.api.client.http.LowLevelHttpResponse
-
Returns the response status code or <=0
for none.
- getStatusCode() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
- getStatusLine() - Method in class com.google.api.client.http.LowLevelHttpResponse
-
Returns the response status line or null
for none.
- getStatusLine() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
- getStatusMessage() - Method in class com.google.api.client.http.HttpResponse
-
Returns the HTTP status message or null
for none.
- getStatusMessage() - Method in class com.google.api.client.http.HttpResponseException.Builder
-
Returns the HTTP status message or null
for none.
- getStatusMessage() - Method in exception com.google.api.client.http.HttpResponseException
-
Returns the HTTP status message or null
for none.
- getStreamingContent() - Method in class com.google.api.client.http.LowLevelHttpRequest
-
Returns the streaming content or null
for no content.
- getSubject() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Returns the subject claim identifying the principal that is the subject of the JWT or null
for none.
- getSubType() - Method in class com.google.api.client.http.HttpMediaType
-
Returns the sub media type, for example "plain"
when using "text"
.
- getSuperParameterizedType(Type, Class<?>) - Static method in class com.google.api.client.util.Types
-
Returns the parameterized type that is or extends the given type that matches the given super
class.
- getSupportedMethods() - Method in class com.google.api.client.testing.http.MockHttpTransport.Builder
-
Returns the supported HTTP methods or null
to specify that all methods are supported.
- getSupportedMethods() - Method in class com.google.api.client.testing.http.MockHttpTransport
-
Returns the unmodifiable set of supported HTTP methods or null
to specify that all
methods are supported.
- getSuppressUserAgentSuffix() - Method in class com.google.api.client.http.HttpRequest
-
- getText() - Method in class com.google.api.client.json.JsonParser
-
- getText() - Method in class com.google.api.client.testing.json.MockJsonParser
-
- getThrowExceptionOnExecuteError() - Method in class com.google.api.client.http.HttpRequest
-
Returns whether to throw an exception at the end of
HttpRequest.execute()
on an HTTP error code
(non-2XX) after all retries and response handlers have been exhausted.
- getTimeZoneShift() - Method in class com.google.api.client.util.DateTime
-
Returns the time zone shift from UTC in minutes or 0
for date-only value.
- getTitle() - Method in class com.google.api.client.util.PemReader.Section
-
Returns the title.
- getTlsSslContext() - Static method in class com.google.api.client.util.SslUtils
-
Returns the SSL context for "TLS" algorithm.
- getTracer() - Static method in class com.google.api.client.http.OpenCensusUtils
-
Returns the tracing component of OpenCensus.
- getTransport() - Method in class com.google.api.client.http.HttpRequest
-
Returns the HTTP transport.
- getTransport() - Method in class com.google.api.client.http.HttpRequestFactory
-
Returns the HTTP transport.
- getTransport() - Method in class com.google.api.client.http.HttpResponse
-
Returns the HTTP transport.
- getTrustManager() - Method in class com.google.api.client.testing.json.webtoken.TestCertificates.CertData
-
- getType() - Method in class com.google.api.client.http.AbstractHttpContent
-
- getType() - Method in class com.google.api.client.http.AbstractInputStreamContent
-
- getType() - Method in class com.google.api.client.http.EmptyContent
-
- getType() - Method in interface com.google.api.client.http.HttpContent
-
Returns the content type or null
for none.
- getType() - Method in class com.google.api.client.http.HttpMediaType
-
Returns the main media type, for example "text"
, or null
for '*'.
- getType() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Header
-
Returns the type header parameter used to declare the type of this object or null
for
none.
- getType() - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Returns the type claim that is used to declare a type for the contents of this JWT Claims Set
or null
for none.
- getType() - Method in class com.google.api.client.testing.http.MockHttpContent
-
- getType() - Method in class com.google.api.client.util.FieldInfo
-
Returns the field's type.
- getUnderlyingClass() - Method in class com.google.api.client.util.ClassInfo
-
Returns the underlying class.
- getUnknownKeys() - Method in class com.google.api.client.util.GenericData
-
Returns the map of unknown data key name to value.
- getUnsuccessfulResponseHandler() - Method in class com.google.api.client.http.HttpRequest
-
Returns the HTTP unsuccessful (non-2XX) response handler or null
for none.
- getUriForAlias(String) - Method in class com.google.api.client.xml.XmlNamespaceDictionary
-
Returns the namespace URI for the given namespace alias (or ""
for the default
namespace).
- getUriToAliasMap() - Method in class com.google.api.client.xml.XmlNamespaceDictionary
-
Returns an unmodified set of map entries for the map from namespace URI to namespace alias (or
""
for the default namespace).
- getUrl() - Method in class com.google.api.client.http.HttpRequest
-
Returns the HTTP request URL.
- getUrl() - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
-
Returns the request URL or null
for none.
- getUserAgent() - Method in class com.google.api.client.http.HttpHeaders
-
Returns the first "User-Agent"
header or null
for none.
- getUseRawRedirectUrls() - Method in class com.google.api.client.http.HttpRequest
-
Return whether to use raw redirect URLs.
- getUserInfo() - Method in class com.google.api.client.http.GenericUrl
-
Returns the user info or null
for none, for example "username:password"
.
- getUsername() - Method in class com.google.api.client.http.BasicAuthentication
-
Returns the username.
- getValidateCertificate() - Method in class com.google.api.client.extensions.appengine.http.UrlFetchTransport.Builder
-
- getValue(int) - Method in class com.google.api.client.util.ArrayMap
-
Returns the value at the given index or null
if out of bounds.
- getValue() - Method in class com.google.api.client.util.DateTime
-
Returns the date/time value expressed as the number of milliseconds since the Unix epoch.
- getValue(Object) - Method in class com.google.api.client.util.FieldInfo
-
Returns the value of the field in the given object instance using reflection.
- getVersion() - Method in class com.google.api.client.json.rpc2.JsonRpcRequest
-
Returns the version of the JSON-RPC protocol which is "2.0"
.
- getWarning() - Method in class com.google.api.client.http.HttpHeaders
-
Returns all "Warning"
headers or null
for none.
- getWrapperKey() - Method in class com.google.api.client.http.json.JsonHttpContent
-
Returns the wrapper key for the JSON content or null
for none.
- getWrapperKeys() - Method in class com.google.api.client.json.JsonObjectParser.Builder
-
Returns the wrapper keys for the JSON content.
- getWrapperKeys() - Method in class com.google.api.client.json.JsonObjectParser
-
Returns the unmodifiable set of wrapper keys for the JSON content.
- getWriteTimeout() - Method in class com.google.api.client.http.HttpRequest
-
Returns the timeout in milliseconds to send POST/PUT data or 0
for an infinite timeout.
- getX509CertificateFactory() - Static method in class com.google.api.client.util.SecurityUtils
-
Returns the X.509 certificate factory.
- getX509Certificates() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Returns the X.509 certificate chain header parameter contains the X.509 public key
certificate or certificate chain corresponding to the key used to digitally sign the JWS or
null
for none.
- getX509Thumbprint() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Returns the X.509 certificate thumbprint header parameter that provides a base64url encoded
SHA-1 thumbprint (a.k.a.
- getX509Url() - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Returns the X.509 URL header parameter that is an absolute URL that refers to a resource for
the X.509 public key certificate or certificate chain corresponding to the key used to
digitally sign the JWS or null
for none.
- GsonFactory - Class in com.google.api.client.json.gson
-
Low-level JSON library implementation based on GSON.
- GsonFactory() - Constructor for class com.google.api.client.json.gson.GsonFactory
-
- GZipEncoding - Class in com.google.api.client.http
-
GZip HTTP content encoding.
- GZipEncoding() - Constructor for class com.google.api.client.http.GZipEncoding
-
- SAFE_PLUS_RESERVED_CHARS_URLENCODER - Static variable in class com.google.api.client.util.escape.PercentEscaper
-
Contains the safe characters plus all reserved characters.
- SAFECHARS_URLENCODER - Static variable in class com.google.api.client.util.escape.PercentEscaper
-
A string of safe characters that mimics the behavior of
URLEncoder
.
- SAFEPATHCHARS_URLENCODER - Static variable in class com.google.api.client.util.escape.PercentEscaper
-
A string of characters that do not need to be encoded when used in URI path segments, as
specified in RFC 3986.
- SAFEQUERYSTRINGCHARS_URLENCODER - Static variable in class com.google.api.client.util.escape.PercentEscaper
-
A string of characters that do not need to be encoded when used in URI query strings, as
specified in RFC 3986.
- SAFEUSERINFOCHARS_URLENCODER - Static variable in class com.google.api.client.util.escape.PercentEscaper
-
A string of characters that do not need to be encoded when used in URI user info part, as
specified in RFC 3986.
- save() - Method in class com.google.api.client.util.store.AbstractMemoryDataStore
-
- SecurityTestUtils - Class in com.google.api.client.testing.util
-
Beta
Utilities and constants related to testing the library
util
package.
- SecurityUtils - Class in com.google.api.client.util
-
Utilities related to Java security.
- serialize(Object) - Method in class com.google.api.client.json.JsonGenerator
-
Serializes the given JSON value object, or if value
is null
it does no
serialization.
- serialize(Object) - Static method in class com.google.api.client.util.IOUtils
-
Serializes the given object value to a newly allocated byte array.
- serialize(Object, OutputStream) - Static method in class com.google.api.client.util.IOUtils
-
Serializes the given object value to an output stream, and close the output stream.
- serialize(XmlSerializer, String, String, Object) - Method in class com.google.api.client.xml.XmlNamespaceDictionary
-
Shows a debug string representation of an element data object of key/value pairs.
- serialize(XmlSerializer, String, Object) - Method in class com.google.api.client.xml.XmlNamespaceDictionary
-
Shows a debug string representation of an element data object of key/value pairs.
- serializeHeadersForMultipartRequests(HttpHeaders, StringBuilder, Logger, Writer) - Static method in class com.google.api.client.http.HttpHeaders
-
Serializes headers to an
Writer
for Multi-part requests.
- set(String, Object) - Method in class com.google.api.client.http.GenericUrl
-
- set(String, Object) - Method in class com.google.api.client.http.HttpHeaders
-
- set(String, Object) - Method in class com.google.api.client.json.GenericJson
-
- set(String, Object) - Method in class com.google.api.client.json.rpc2.JsonRpcRequest
-
- set(String, Object) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
- set(String, Object) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Header
-
- set(String, Object) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
- set(String, Object) - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest.ExtendsGenericJson
-
- set(int, K, V) - Method in class com.google.api.client.util.ArrayMap
-
Sets the key/value mapping at the given index, overriding any existing key/value mapping.
- set(int, V) - Method in class com.google.api.client.util.ArrayMap
-
Sets the value at the given index, overriding any existing value mapping.
- set(String, Object) - Method in class com.google.api.client.util.GenericData
-
Sets the given field value (may be null
) for the given field name.
- set(String, V) - Method in class com.google.api.client.util.store.AbstractMemoryDataStore
-
- set(String, V) - Method in interface com.google.api.client.util.store.DataStore
-
Stores the given value for the given key (replacing any existing value).
- set(String, Object) - Method in class com.google.api.client.xml.GenericXml
-
- set(String, String) - Method in class com.google.api.client.xml.XmlNamespaceDictionary
-
Adds a namespace of the given alias and URI.
- setAccept(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "Accept"
header or null
for none.
- setAcceptEncoding(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "Accept-Encoding"
header or null
for none.
- setAge(Long) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "Age"
header or null
for none.
- setAlgorithm(String) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Sets the algorithm header parameter that identifies the cryptographic algorithm used to
secure the JWS or null
for none.
- setAudience(Object) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Sets the audience claim that identifies the audience that the JWT is intended for (should
either be a String
or a List<String>
) or null
for none.
- setAuthenticate(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "WWW-Authenticate"
header or null
for none.
- setAuthorization(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "Authorization"
header or null
for none.
- setAuthorization(List<String>) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "Authorization"
header or null
for none.
- setBackOffMillis(long) - Method in class com.google.api.client.testing.util.MockBackOff
-
Sets the fixed back-off milliseconds (defaults to 0
).
- setBackOffPolicy(BackOffPolicy) - Method in class com.google.api.client.http.HttpRequest
-
- setBackOffRequired(HttpBackOffUnsuccessfulResponseHandler.BackOffRequired) - Method in class com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler
-
- setBasicAuthentication(String, String) - Method in class com.google.api.client.http.HttpHeaders
-
- setBoundary(String) - Method in class com.google.api.client.http.MultipartContent
-
Sets the boundary string to use.
- setCacheControl(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "Cache-Control"
header or null
for none.
- setCharsetParameter(Charset) - Method in class com.google.api.client.http.HttpMediaType
-
Sets the charset parameter of the media type.
- setCloseInputStream(boolean) - Method in class com.google.api.client.http.AbstractInputStreamContent
-
- setCloseInputStream(boolean) - Method in class com.google.api.client.http.ByteArrayContent
-
- setCloseInputStream(boolean) - Method in class com.google.api.client.http.FileContent
-
- setCloseInputStream(boolean) - Method in class com.google.api.client.http.InputStreamContent
-
- setConnectionFactory(ConnectionFactory) - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
-
- setConnectTimeout(int) - Method in class com.google.api.client.http.HttpRequest
-
Sets the timeout in milliseconds to establish a connection or 0
for an infinite
timeout.
- setContent(HttpContent) - Method in class com.google.api.client.http.HttpRequest
-
Sets the HTTP request content or null
for none.
- setContent(String) - Method in class com.google.api.client.http.HttpResponseException.Builder
-
Sets the HTTP response content or null
for none.
- setContent(HttpContent) - Method in class com.google.api.client.http.MultipartContent.Part
-
Sets the HTTP content or null
for none.
- setContent(byte[]) - Method in class com.google.api.client.testing.http.MockHttpContent
-
Sets the HTTP content.
- setContent(String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Sets the response content to the given content string.
- setContent(byte[]) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Sets the response content to the given byte array.
- setContent(InputStream) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Sets the input stream content of HTTP response or null
for none.
- setContentEncoding(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "Content-Encoding"
header or null
for none.
- setContentEncoding(String) - Method in class com.google.api.client.http.LowLevelHttpRequest
-
Sets the content encoding (for example "gzip"
) or null
for none.
- setContentEncoding(String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Sets the content encoding or null
for none.
- setContentLength(Long) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "Content-Length"
header or null
for none.
- setContentLength(long) - Method in class com.google.api.client.http.LowLevelHttpRequest
-
Sets the content length or less than zero if not known.
- setContentLength(long) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Sets the content length or -1
for unknown.
- setContentLoggingLimit(int) - Method in class com.google.api.client.http.HttpRequest
-
- setContentLoggingLimit(int) - Method in class com.google.api.client.http.HttpResponse
-
- setContentMD5(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "Content-MD5"
header or null
for none.
- setContentParts(Collection<? extends HttpContent>) - Method in class com.google.api.client.http.MultipartContent
-
Sets the HTTP content parts of the HTTP multipart request, where each part is assumed to have
no HTTP headers and no encoding.
- setContentRange(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "Content-Range"
header or null
for none.
- setContentType(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "Content-Type"
header or null
for none.
- setContentType(String) - Method in class com.google.api.client.http.LowLevelHttpRequest
-
Sets the content type or null
for none.
- setContentType(String) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Header
-
Sets the content type header parameter used to declare structural information about the JWT
or null
for none.
- setContentType(String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Sets the content type of HTTP response or null
for none.
- setCookie(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "Cookie"
header or null
for none.
- setCritical(List<String>) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Sets the header parameter names that define extensions used in the JWS header that MUST be
understood and processed or null
for none.
- setCurlLoggingEnabled(boolean) - Method in class com.google.api.client.http.HttpRequest
-
Sets whether logging in form of curl commands should be enabled for this request.
- setData(Object) - Method in class com.google.api.client.http.UrlEncodedContent
-
Sets the key name/value data.
- setDate(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "Date"
header or null
for none.
- setDisableMemcache(boolean) - Method in class com.google.api.client.extensions.appengine.datastore.AppEngineDataStoreFactory.Builder
-
Sets whether to disable the memcache (false
by default).
- setDoOutput(boolean) - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
- setEncoding(HttpEncoding) - Method in class com.google.api.client.http.HttpRequest
-
Sets the HTTP content encoding or null
for none.
- setEncoding(HttpEncoding) - Method in class com.google.api.client.http.MultipartContent.Part
-
Sets the HTTP encoding or null
for none.
- setErrorStream(InputStream) - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
Sets the error stream.
- setETag(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "ETag"
header or null
for none.
- setExpirationTimeSeconds(Long) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Sets the expiration time claim that identifies the expiration time (in seconds) on or after
which the token MUST NOT be accepted for processing or null
for none.
- setExpires(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "Expires"
header or null
for none.
- setFactory(JsonFactory) - Method in class com.google.api.client.json.GenericJson
-
Sets the JSON factory or null
for none.
- setFieldValue(Field, Object, Object) - Static method in class com.google.api.client.util.FieldInfo
-
Sets the given field in the given object to the given value using reflection.
- setFollowRedirects(boolean) - Method in class com.google.api.client.http.HttpRequest
-
Sets whether to follow redirects automatically.
- setFragment(String) - Method in class com.google.api.client.http.GenericUrl
-
Sets the fragment component or null
for none.
- setHeaderClass(Class<? extends JsonWebSignature.Header>) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Parser
-
Sets the header class to use for parsing.
- setHeaderNames(List<String>) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Sets the list of header names of HTTP response.
- setHeaders(HttpHeaders) - Method in class com.google.api.client.http.HttpRequest
-
Sets the HTTP request headers.
- setHeaders(HttpHeaders) - Method in class com.google.api.client.http.HttpResponseException.Builder
-
Sets the HTTP response headers.
- setHeaders(HttpHeaders) - Method in class com.google.api.client.http.MultipartContent.Part
-
Sets the HTTP headers or null
for none.
- setHeaderValues(List<String>) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Sets the list of header values of HTTP response.
- setHost(String) - Method in class com.google.api.client.http.GenericUrl
-
Sets the host, for example "www.google.com"
.
- setHostnameVerifier(HostnameVerifier) - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
-
Sets the host name verifier or null
for the default.
- setId(Object) - Method in class com.google.api.client.json.rpc2.JsonRpcRequest
-
Sets the identifier established by the client that must be a string or a number or null
for a notification and therefore not expect to receive a response.
- setIfMatch(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "If-Match"
header or null
for none.
- setIfModifiedSince(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "If-Modified-Since"
header or null
for none.
- setIfNoneMatch(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "If-None-Match"
header or null
for none.
- setIfRange(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "If-Range"
header or null
for none.
- setIfUnmodifiedSince(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "If-Unmodified-Since"
header or null
for none.
- setInitialIntervalMillis(int) - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
-
Deprecated.
Sets the initial retry interval in milliseconds.
- setInitialIntervalMillis(int) - Method in class com.google.api.client.util.ExponentialBackOff.Builder
-
Sets the initial retry interval in milliseconds.
- setInputStream(InputStream) - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
Sets the input stream.
- setInterceptor(HttpExecuteInterceptor) - Method in class com.google.api.client.http.HttpRequest
-
Sets the HTTP request execute interceptor to intercept the start of
HttpRequest.execute()
(before
executing the HTTP request) or
null
for none.
- setIOExceptionHandler(HttpIOExceptionHandler) - Method in class com.google.api.client.http.HttpRequest
-
Beta
Sets the HTTP I/O exception handler or
null
for none.
- setIsRecordEvent(boolean) - Static method in class com.google.api.client.http.OpenCensusUtils
-
Sets whether spans should be recorded locally.
- setIssuedAtTimeSeconds(Long) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Sets the issued at claim that identifies the time (in seconds) at which the JWT was issued or
null
for none.
- setIssuer(String) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Sets the issuer claim that identifies the principal that issued the JWT or null
for
none.
- setJwk(String) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Sets the JSON Web Key header parameter that is a public key that corresponds to the key used
to digitally sign the JWS or null
for none.
- setJwkUrl(String) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Sets the JSON Web Key URL header parameter that is an absolute URL that refers to a resource
for a set of JSON-encoded public keys, one of which corresponds to the key that was used to
digitally sign the JWS or null
for none.
- setJwtId(String) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Sets the JWT ID claim that provides a unique identifier for the JWT or null
for none.
- setKeyId(String) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Sets the key ID header parameter that is a hint indicating which specific key owned by the
signer should be used to validate the digital signature or null
for none.
- setLastModified(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "Last-Modified"
header or null
for none.
- setLength(long) - Method in class com.google.api.client.http.InputStreamContent
-
Sets the content length or less than zero if not known.
- setLength(long) - Method in class com.google.api.client.testing.http.MockHttpContent
-
Returns the HTTP content length or -1
for unknown.
- setLocation(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "Location"
header or null
for none.
- setLoggingEnabled(boolean) - Method in class com.google.api.client.http.HttpRequest
-
Sets whether logging should be enabled for this request.
- setLoggingEnabled(boolean) - Method in class com.google.api.client.http.HttpResponse
-
Sets whether logging should be enabled on this response.
- setLowLevelHttpRequest(MockLowLevelHttpRequest) - Method in class com.google.api.client.testing.http.MockHttpTransport.Builder
-
- setLowLevelHttpResponse(MockLowLevelHttpResponse) - Method in class com.google.api.client.testing.http.MockHttpTransport.Builder
-
- setMaxElapsedTimeMillis(int) - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
-
Deprecated.
Sets the maximum elapsed time in milliseconds.
- setMaxElapsedTimeMillis(int) - Method in class com.google.api.client.util.ExponentialBackOff.Builder
-
Sets the maximum elapsed time in milliseconds.
- setMaxIntervalMillis(int) - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
-
Deprecated.
Sets the maximum value of the back off period in milliseconds.
- setMaxIntervalMillis(int) - Method in class com.google.api.client.util.ExponentialBackOff.Builder
-
Sets the maximum value of the back off period in milliseconds.
- setMaxTries(int) - Method in class com.google.api.client.testing.util.MockBackOff
-
Sets the maximum number of tries before returning
BackOff.STOP
(defaults to
10
).
- setMediaType(HttpMediaType) - Method in class com.google.api.client.http.AbstractHttpContent
-
Sets the media type to use for the Content-Type header, or null
if unspecified.
- setMediaType(HttpMediaType) - Method in class com.google.api.client.http.json.JsonHttpContent
-
- setMediaType(HttpMediaType) - Method in class com.google.api.client.http.MultipartContent
-
- setMediaType(HttpMediaType) - Method in class com.google.api.client.http.protobuf.ProtoHttpContent
-
- setMediaType(HttpMediaType) - Method in class com.google.api.client.http.UrlEncodedContent
-
- setMediaType(HttpMediaType) - Method in class com.google.api.client.http.xml.AbstractXmlHttpContent
-
- setMediaType(HttpMediaType) - Method in class com.google.api.client.http.xml.atom.AtomContent
-
- setMediaType(HttpMediaType) - Method in class com.google.api.client.http.xml.XmlHttpContent
-
- setMemcacheExpiration(Expiration) - Method in class com.google.api.client.extensions.appengine.datastore.AppEngineDataStoreFactory.Builder
-
Sets the Memcache expiration policy on puts.
- setMessage(String) - Method in class com.google.api.client.http.HttpResponseException.Builder
-
Sets the detail message to use or null
for none.
- setMethod(String) - Method in class com.google.api.client.json.rpc2.JsonRpcRequest
-
Sets the name of the method to be invoked.
- setMimeVersion(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "MIME-Version"
header or null
for none.
- setMultiplier(double) - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
-
Deprecated.
Sets the value to multiply the current interval with for each retry attempt.
- setMultiplier(double) - Method in class com.google.api.client.util.ExponentialBackOff.Builder
-
Sets the value to multiply the current interval with for each retry attempt.
- setNanoClock(NanoClock) - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
-
Deprecated.
- setNanoClock(NanoClock) - Method in class com.google.api.client.util.ExponentialBackOff.Builder
-
- setNotBeforeTimeSeconds(Long) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Sets the not before claim that identifies the time (in seconds) before which the token MUST
NOT be accepted for processing or null
for none.
- setNumberOfRetries(int) - Method in class com.google.api.client.http.HttpRequest
-
Sets the number of retries that will be allowed to execute before the request will be
terminated or 0
to not retry requests.
- setOutputStream(OutputStream) - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
- setParameter(String, String) - Method in class com.google.api.client.http.HttpMediaType
-
Sets the media parameter to the specified value.
- setParameters(Object) - Method in class com.google.api.client.json.rpc2.JsonRpcRequest
-
Sets the structured value that holds the parameter values to be used during the invocation of
the method or null
for none.
- setParser(ObjectParser) - Method in class com.google.api.client.http.HttpRequest
-
Sets the
ObjectParser
used to parse the response to this request or
null
for
none.
- setParts(Collection<MultipartContent.Part>) - Method in class com.google.api.client.http.MultipartContent
-
Sets the parts of the HTTP multipart request.
- setPathParts(List<String>) - Method in class com.google.api.client.http.GenericUrl
-
Sets the decoded path component by parts with each part separated by a '/'
or null
for none.
- setPayloadClass(Class<? extends JsonWebToken.Payload>) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Parser
-
Sets the payload class to use for parsing.
- setPort(int) - Method in class com.google.api.client.http.GenericUrl
-
Sets the port number, for example 443
.
- setPropagationTextFormat(TextFormat) - Static method in class com.google.api.client.http.OpenCensusUtils
-
Sets the TextFormat
used in context propagation.
- setPropagationTextFormatSetter(TextFormat.Setter) - Static method in class com.google.api.client.http.OpenCensusUtils
-
Sets the TextFormat.Setter
used in context propagation.
- setProxy(HttpHost) - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
-
Deprecated.
- setProxy(Proxy) - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
-
- setProxySelector(ProxySelector) - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
-
Deprecated.
Sets the HTTP proxy selector to use ProxySelectorRoutePlanner
or null
for
DefaultHttpRoutePlanner
.
- setRandomizationFactor(double) - Method in class com.google.api.client.http.ExponentialBackOffPolicy.Builder
-
Deprecated.
Sets the randomization factor to use for creating a range around the retry interval.
- setRandomizationFactor(double) - Method in class com.google.api.client.util.ExponentialBackOff.Builder
-
Sets the randomization factor to use for creating a range around the retry interval.
- setRange(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "Range"
header or null
for none.
- setRawPath(String) - Method in class com.google.api.client.http.GenericUrl
-
- setReadTimeout(int) - Method in class com.google.api.client.http.HttpRequest
-
Sets the timeout in milliseconds to read data from an established connection or 0
for
an infinite timeout.
- setReasonPhrase(String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Sets the HTTP reason phrase or null
for none.
- setRequestMethod(String) - Method in class com.google.api.client.http.HttpRequest
-
Sets the HTTP request method or null
for none.
- setResponse(MockLowLevelHttpResponse) - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
-
- setResponseCode(int) - Method in class com.google.api.client.testing.http.apache.MockHttpClient
-
Sets the HTTP response code to use.
- setResponseCode(int) - Method in class com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
Sets the HTTP response status code.
- setResponseHeaders(HttpHeaders) - Method in class com.google.api.client.http.HttpRequest
-
Sets the HTTP response headers.
- setResponseInterceptor(HttpResponseInterceptor) - Method in class com.google.api.client.http.HttpRequest
-
Sets the HTTP response interceptor or null
for none.
- setResponseReturnRawInputStream(boolean) - Method in class com.google.api.client.http.HttpRequest
-
- setRetryAfter(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "Retry-After"
header or null
for none.
- setRetryOnExecuteIOException(boolean) - Method in class com.google.api.client.http.HttpRequest
-
- setRetrySupported(boolean) - Method in class com.google.api.client.http.InputStreamContent
-
Sets whether or not retry is supported.
- Sets - Class in com.google.api.client.util
-
Static utility methods pertaining to
Set
instances.
- setScheme(String) - Method in class com.google.api.client.http.GenericUrl
-
Sets the scheme (lowercase), for example "https"
.
- setSleeper(Sleeper) - Method in class com.google.api.client.http.HttpBackOffIOExceptionHandler
-
Sets the sleeper.
- setSleeper(Sleeper) - Method in class com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler
-
Sets the sleeper.
- setSleeper(Sleeper) - Method in class com.google.api.client.http.HttpRequest
-
Sets the sleeper.
- setSlugHeader(HttpHeaders, String) - Static method in class com.google.api.client.xml.atom.Atom
-
Sets the "Slug"
header, properly escaping the header value.
- setSocketFactory(SSLSocketFactory) - Method in class com.google.api.client.http.apache.ApacheHttpTransport.Builder
-
Deprecated.
Sets the SSL socket factory (SSLSocketFactory.getSocketFactory()
by default).
- setSslSocketFactory(SSLSocketFactory) - Method in class com.google.api.client.http.javanet.NetHttpTransport.Builder
-
Sets the SSL socket factory or null
for the default.
- setStatusCode(int) - Method in class com.google.api.client.http.HttpResponseException.Builder
-
Sets the HTTP status code or 0
for none.
- setStatusCode(int) - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Sets the status code of HTTP response.
- setStatusMessage(String) - Method in class com.google.api.client.http.HttpResponseException.Builder
-
Sets the HTTP status message or null
for none.
- setStreamingContent(StreamingContent) - Method in class com.google.api.client.http.LowLevelHttpRequest
-
Sets the streaming content or null
for no content.
- setSubject(String) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Sets the subject claim identifying the principal that is the subject of the JWT or null
for none.
- setSubType(String) - Method in class com.google.api.client.http.HttpMediaType
-
Sets the sub media type, for example "plain"
when using "text"
.
- setSupportedMethods(Set<String>) - Method in class com.google.api.client.testing.http.MockHttpTransport.Builder
-
Sets the supported HTTP methods or null
to specify that all methods are supported.
- setSuppressUserAgentSuffix(boolean) - Method in class com.google.api.client.http.HttpRequest
-
- setThrowExceptionOnExecuteError(boolean) - Method in class com.google.api.client.http.HttpRequest
-
Sets whether to throw an exception at the end of
HttpRequest.execute()
on a HTTP error code
(non-2XX) after all retries and response handlers have been exhausted.
- setTime(long) - Method in class com.google.api.client.testing.http.FixedClock
-
Changes the time value this time provider is returning.
- setTimeout(int, int) - Method in class com.google.api.client.http.LowLevelHttpRequest
-
Sets the connection and read timeouts.
- setType(String) - Method in class com.google.api.client.http.AbstractInputStreamContent
-
Sets the content type or null
for none.
- setType(String) - Method in class com.google.api.client.http.ByteArrayContent
-
- setType(String) - Method in class com.google.api.client.http.FileContent
-
- setType(String) - Method in class com.google.api.client.http.HttpMediaType
-
Sets the (main) media type, for example "text"
.
- setType(String) - Method in class com.google.api.client.http.InputStreamContent
-
- setType(String) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
- setType(String) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Header
-
Sets the type header parameter used to declare the type of this object or null
for
none.
- setType(String) - Method in class com.google.api.client.json.webtoken.JsonWebToken.Payload
-
Sets the type claim that is used to declare a type for the contents of this JWT Claims Set or
null
for none.
- setType(String) - Method in class com.google.api.client.testing.http.MockHttpContent
-
Sets the HTTP content type or null
for none.
- setUnknownKeys(Map<String, Object>) - Method in class com.google.api.client.util.GenericData
-
Sets the map of unknown data key name to value.
- setUnsuccessfulResponseHandler(HttpUnsuccessfulResponseHandler) - Method in class com.google.api.client.http.HttpRequest
-
Sets the HTTP unsuccessful (non-2XX) response handler or null
for none.
- setUp() - Method in class com.google.api.client.test.util.store.AbstractDataStoreFactoryTest
-
- setUrl(GenericUrl) - Method in class com.google.api.client.http.HttpRequest
-
Sets the HTTP request URL.
- setUrl(String) - Method in class com.google.api.client.testing.http.MockLowLevelHttpRequest
-
Sets the request URL or null
for none.
- setUserAgent(String) - Method in class com.google.api.client.http.HttpHeaders
-
Sets the "User-Agent"
header or null
for none.
- setUseRawRedirectUrls(boolean) - Method in class com.google.api.client.http.HttpRequest
-
Sets whether to use raw redirect URLs.
- setUserInfo(String) - Method in class com.google.api.client.http.GenericUrl
-
Sets the user info or null
for none, for example "username:password"
.
- setValue(Object, Object) - Method in class com.google.api.client.util.FieldInfo
-
Sets this field in the given object to the given value using reflection.
- setValues() - Method in class com.google.api.client.util.ArrayValueMap
-
Sets the fields of the given object using the values collected during parsing of the object's
fields.
- setWrapperKey(String) - Method in class com.google.api.client.http.json.JsonHttpContent
-
Sets the wrapper key for the JSON content or null
for none.
- setWrapperKeys(Collection<String>) - Method in class com.google.api.client.json.JsonObjectParser.Builder
-
Sets the wrapper keys for the JSON content.
- setWriteTimeout(int) - Method in class com.google.api.client.http.HttpRequest
-
Sets the timeout in milliseconds to send POST/PUT data or 0
for an infinite timeout.
- setWriteTimeout(int) - Method in class com.google.api.client.http.LowLevelHttpRequest
-
Sets the write timeout for POST/PUT requests.
- setX509Certificates(List<String>) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Sets the X.509 certificate chain header parameter contains the X.509 public key certificate
or certificate chain corresponding to the key used to digitally sign the JWS or null
for none.
- setX509Thumbprint(String) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Sets the X.509 certificate thumbprint header parameter that provides a base64url encoded
SHA-1 thumbprint (a.k.a.
- setX509Url(String) - Method in class com.google.api.client.json.webtoken.JsonWebSignature.Header
-
Sets the X.509 URL header parameter that is an absolute URL that refers to a resource for the
X.509 public key certificate or certificate chain corresponding to the key used to digitally
sign the JWS or null
for none.
- setZeroContent() - Method in class com.google.api.client.testing.http.MockLowLevelHttpResponse
-
Sets the content to null
and the content length to 0.
- shutdown() - Method in class com.google.api.client.http.apache.ApacheHttpTransport
-
Deprecated.
Shuts down the connection manager and releases allocated resources.
- shutdown() - Method in class com.google.api.client.http.apache.v2.ApacheHttpTransport
-
Shuts down the connection manager and releases allocated resources.
- shutdown() - Method in class com.google.api.client.http.HttpTransport
-
Default implementation does nothing, but subclasses may override to possibly release allocated
system resources or close connections.
- sign(Signature, PrivateKey, byte[]) - Static method in class com.google.api.client.util.SecurityUtils
-
Signs content using a private key.
- signUsingRsaSha256(PrivateKey, JsonFactory, JsonWebSignature.Header, JsonWebToken.Payload) - Static method in class com.google.api.client.json.webtoken.JsonWebSignature
-
Signs a given JWS header and payload based on the given private key using RSA and SHA-256 as
described in
JWS using
RSA SHA-256.
- Simple() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.Simple
-
- simple - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.WildCardTypes
-
- SIMPLE_GENERIC_URL - Static variable in class com.google.api.client.testing.http.HttpTesting
-
- SIMPLE_URL - Static variable in class com.google.api.client.testing.http.HttpTesting
-
A simple string URL for testing of value "http://google.com/"
.
- size() - Method in class com.google.api.client.util.ArrayMap
-
Returns the number of key-value pairs set.
- size() - Method in class com.google.api.client.util.store.AbstractDataStore
-
Returns the number of stored keys.
- size() - Method in class com.google.api.client.util.store.AbstractMemoryDataStore
-
- size() - Method in interface com.google.api.client.util.store.DataStore
-
Returns the number of stored keys.
- skipChildren() - Method in class com.google.api.client.json.JsonParser
-
- skipChildren() - Method in class com.google.api.client.testing.json.MockJsonParser
-
- skipToKey(String) - Method in class com.google.api.client.json.JsonParser
-
Skips the values of all keys in the current object until it finds the given key.
- skipToKey(Set<String>) - Method in class com.google.api.client.json.JsonParser
-
Skips the values of all keys in the current object until it finds one of the given keys.
- sleep(long) - Method in class com.google.api.client.testing.util.MockSleeper
-
- sleep(long) - Method in interface com.google.api.client.util.Sleeper
-
Causes the currently executing thread to sleep (temporarily cease execution) for the specified
number of milliseconds as specified in
Thread.sleep(long)
.
- Sleeper - Interface in com.google.api.client.util
-
Sleeper interface to use for requesting the current thread to sleep as specified in
Thread.sleep(long)
.
- SPAN_NAME_HTTP_REQUEST_EXECUTE - Static variable in class com.google.api.client.http.OpenCensusUtils
-
- SslUtils - Class in com.google.api.client.util
-
SSL utilities.
- STATUS_CODE_ACCEPTED - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a successful request that has been received but not yet acted upon.
- STATUS_CODE_BAD_GATEWAY - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a bad gateway.
- STATUS_CODE_BAD_REQUEST - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a request that could not be understood by the server.
- STATUS_CODE_CONFLICT - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a request that could not be completed due to a resource conflict.
- STATUS_CODE_CREATED - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a successful request that has been fulfilled to create a new resource.
- STATUS_CODE_FORBIDDEN - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a server that understood the request, but is refusing to fulfill it.
- STATUS_CODE_FOUND - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a resource that has temporarily moved to a new URI.
- STATUS_CODE_METHOD_NOT_ALLOWED - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a method specified in the Request-Line is not allowed for the resource
identified by the Request-URI.
- STATUS_CODE_MOVED_PERMANENTLY - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a resource that has permanently moved to a new URI.
- STATUS_CODE_MULTIPLE_CHOICES - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a resource corresponding to any one of a set of representations.
- STATUS_CODE_NO_CONTENT - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a successful request with no content information.
- STATUS_CODE_NOT_FOUND - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a server that has not found anything matching the Request-URI.
- STATUS_CODE_NOT_MODIFIED - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a resource that access is allowed but the document has not been modified.
- STATUS_CODE_OK - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a successful request.
- STATUS_CODE_PRECONDITION_FAILED - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a request for which one of the conditions it was made under has failed.
- STATUS_CODE_SEE_OTHER - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a resource that has moved to a new URI and should be retrieved using GET.
- STATUS_CODE_SERVER_ERROR - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for an internal server error.
- STATUS_CODE_SERVICE_UNAVAILABLE - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a service that is unavailable on the server.
- STATUS_CODE_TEMPORARY_REDIRECT - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a resource that has temporarily moved to a new URI.
- STATUS_CODE_UNAUTHORIZED - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a request that requires user authentication.
- STATUS_CODE_UNPROCESSABLE_ENTITY - Static variable in class com.google.api.client.http.HttpStatusCodes
-
Status code for a request for which the content-type and the request's syntax were correct but
server was not able to process entity.
- STOP - Static variable in interface com.google.api.client.http.BackOffPolicy
-
Deprecated.
- STOP - Static variable in interface com.google.api.client.util.BackOff
-
- STOP_BACKOFF - Static variable in interface com.google.api.client.util.BackOff
-
- stopAfterEndTag(String, String) - Method in class com.google.api.client.xml.Xml.CustomizeParser
-
Returns whether to stop parsing when reaching the end tag of an XML element after it has been
processed.
- stopAt(Object, String) - Method in class com.google.api.client.json.CustomizeJsonParser
-
Returns whether to stop parsing at the given key of the given context object.
- stopBeforeStartTag(String, String) - Method in class com.google.api.client.xml.Xml.CustomizeParser
-
Returns whether to stop parsing when reaching the start tag of an XML element before it has
been processed.
- str - Variable in class com.google.api.client.test.json.AbstractJsonFactoryTest.AnyType
-
- StreamingContent - Interface in com.google.api.client.util
-
- StringNullValue() - Constructor for class com.google.api.client.test.json.AbstractJsonFactoryTest.StringNullValue
-
- Strings - Class in com.google.api.client.util
-
Static utility methods pertaining to String
instances.
- StringUtils - Class in com.google.api.client.util
-
Utilities for strings.
- subtestParse_void(String) - Method in class com.google.api.client.test.json.AbstractJsonFactoryTest
-
- supportsMethod(String) - Method in class com.google.api.client.extensions.appengine.http.UrlFetchTransport
-
- supportsMethod(String) - Method in class com.google.api.client.http.apache.ApacheHttpTransport
-
Deprecated.
- supportsMethod(String) - Method in class com.google.api.client.http.apache.v2.ApacheHttpTransport
-
- supportsMethod(String) - Method in class com.google.api.client.http.HttpTransport
-
Returns whether a specified HTTP method is supported by this transport.
- supportsMethod(String) - Method in class com.google.api.client.http.javanet.NetHttpTransport
-
- supportsMethod(String) - Method in class com.google.api.client.testing.http.MockHttpTransport
-
- SYSTEM - Static variable in interface com.google.api.client.util.Clock
-
- SYSTEM - Static variable in interface com.google.api.client.util.NanoClock
-
Provides the default System implementation of a nano clock by using
System.nanoTime()
.