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

A

AbstractApiFuture<V> - Class in com.google.api.core
Abstract implementation of ApiFuture that mirrors AbstractFuture in Guava.
AbstractApiFuture() - Constructor for class com.google.api.core.AbstractApiFuture
 
AbstractApiService - Class in com.google.api.core
Base class for ApiService.
AbstractApiService() - Constructor for class com.google.api.core.AbstractApiService
 
addCallback(ApiFuture<V>, ApiFutureCallback<? super V>) - Static method in class com.google.api.core.ApiFutures
 
addListener(Runnable, Executor) - Method in class com.google.api.core.AbstractApiFuture
 
addListener(ApiService.Listener, Executor) - Method in class com.google.api.core.AbstractApiService
 
addListener(Runnable, Executor) - Method in interface com.google.api.core.ApiFuture
 
addListener(Runnable, Executor) - Method in class com.google.api.core.ApiFutureToListenableFuture
 
addListener(ApiService.Listener, Executor) - Method in interface com.google.api.core.ApiService
Registers a ApiService.Listener to be executed on the given executor.
addListener(Runnable, Executor) - Method in class com.google.api.core.ForwardingApiFuture
 
allAsList(Iterable<? extends ApiFuture<? extends V>>) - Static method in class com.google.api.core.ApiFutures
 
ApiAsyncFunction<F,T> - Interface in com.google.api.core
Transforms a value, possibly asynchronously.
ApiClock - Interface in com.google.api.core
An interface for getting the current value of a high-resolution time source, in nanoseconds.
ApiFunction<F,T> - Interface in com.google.api.core
Legacy version of Function.
ApiFuture<V> - Interface in com.google.api.core
A Future that can have a listener added.
ApiFutureCallback<V> - Interface in com.google.api.core
A callback for accepting the results of an ApiFuture.
ApiFutures - Class in com.google.api.core
Static utility methods for the ApiFuture interface.
ApiFutureToListenableFuture<V> - Class in com.google.api.core
INTERNAL USE ONLY.
ApiFutureToListenableFuture(ApiFuture<V>) - Constructor for class com.google.api.core.ApiFutureToListenableFuture
 
ApiService - Interface in com.google.api.core
An object with an operational state, plus asynchronous ApiService.startAsync() and ApiService.stopAsync() lifecycle methods to transition between states.
ApiService.Listener - Class in com.google.api.core
A listener for the various state changes that a ApiService goes through in its lifecycle.
ApiService.State - Enum in com.google.api.core
The lifecycle states of a service.
apply(F) - Method in interface com.google.api.core.ApiAsyncFunction
Returns an output Future to use in place of the given input.
apply(F) - Method in interface com.google.api.core.ApiFunction
 
awaitRunning() - Method in class com.google.api.core.AbstractApiService
 
awaitRunning(long, TimeUnit) - Method in class com.google.api.core.AbstractApiService
 
awaitRunning() - Method in interface com.google.api.core.ApiService
Waits for the ApiService to reach the running state.
awaitRunning(long, TimeUnit) - Method in interface com.google.api.core.ApiService
Waits for the ApiService to reach the running state for no more than the given time.
awaitTerminated() - Method in class com.google.api.core.AbstractApiService
 
awaitTerminated(long, TimeUnit) - Method in class com.google.api.core.AbstractApiService
 
awaitTerminated() - Method in interface com.google.api.core.ApiService
Waits for the ApiService to reach the terminated state.
awaitTerminated(long, TimeUnit) - Method in interface com.google.api.core.ApiService
Waits for the ApiService to reach a terminal state (either terminated or failed) for no more than the given time.

B

BetaApi - Annotation Type in com.google.api.core
Indicates a public API that can change at any time, and has no guarantee of API stability and backward-compatibility.

C

cancel(boolean) - Method in class com.google.api.core.AbstractApiFuture
 
cancel(boolean) - Method in class com.google.api.core.ApiFutureToListenableFuture
 
cancel(boolean) - Method in class com.google.api.core.ForwardingApiFuture
 
catching(ApiFuture<? extends V>, Class<X>, ApiFunction<? super X, ? extends V>) - Static method in class com.google.api.core.ApiFutures
 
clear() - Method in class com.google.api.pathtemplate.TemplatedResourceName
Deprecated.
com.google.api.core - package com.google.api.core
 
com.google.api.pathtemplate - package com.google.api.pathtemplate
 
com.google.api.resourcenames - package com.google.api.resourcenames
 
containsKey(Object) - Method in class com.google.api.pathtemplate.TemplatedResourceName
 
containsValue(Object) - Method in class com.google.api.pathtemplate.TemplatedResourceName
 
create() - Static method in class com.google.api.core.SettableApiFuture
 
create(String) - Static method in class com.google.api.pathtemplate.PathTemplate
Creates a path template from a string.
create(PathTemplate, String) - Static method in class com.google.api.pathtemplate.TemplatedResourceName
Creates a new resource name based on given template and path.
create(PathTemplate, Map<String, String>) - Static method in class com.google.api.pathtemplate.TemplatedResourceName
Creates a new resource name from a template and a value assignment for variables.
createFromFullName(PathTemplate, String) - Static method in class com.google.api.pathtemplate.TemplatedResourceName
Creates a new resource name based on given template and path, where the path contains an endpoint.
createWithoutUrlEncoding(String) - Static method in class com.google.api.pathtemplate.PathTemplate
Creates a path template from a string.
CurrentMillisClock - Class in com.google.api.core
Implementation of the ApiClock interface, which uses System.currentTimeMillis() as time source.

D

decode(String) - Method in class com.google.api.pathtemplate.PathTemplate
Matches the template into a list of positional values.
doStart() - Method in class com.google.api.core.AbstractApiService
 
doStop() - Method in class com.google.api.core.AbstractApiService
 

E

encode(String...) - Method in class com.google.api.pathtemplate.PathTemplate
Instantiates the template from the given positional parameters.
endpoint() - Method in class com.google.api.pathtemplate.TemplatedResourceName
Returns the endpoint of this resource name, or null if none is defined.
endsWithCustomVerb() - Method in class com.google.api.pathtemplate.PathTemplate
Returns true of this template ends with a custom verb.
endsWithLiteral() - Method in class com.google.api.pathtemplate.PathTemplate
Returns true of this template ends with a literal.
entrySet() - Method in class com.google.api.pathtemplate.TemplatedResourceName
 
equals(Object) - Method in class com.google.api.pathtemplate.PathTemplate
 
equals(Object) - Method in class com.google.api.pathtemplate.TemplatedResourceName
 
equals(Object) - Method in class com.google.api.resourcenames.UntypedResourceName
 

F

failed(ApiService.State, Throwable) - Method in class com.google.api.core.ApiService.Listener
Called when the service transitions to the FAILED state.
failureCause() - Method in class com.google.api.core.AbstractApiService
 
failureCause() - Method in interface com.google.api.core.ApiService
Returns the Throwable that caused this service to fail.
ForwardingApiFuture<T> - Class in com.google.api.core
 
ForwardingApiFuture(ApiFuture<T>) - Constructor for class com.google.api.core.ForwardingApiFuture
 
from(ResourceName) - Static method in class com.google.api.resourcenames.UntypedResourceName
 

G

get() - Method in class com.google.api.core.AbstractApiFuture
 
get(long, TimeUnit) - Method in class com.google.api.core.AbstractApiFuture
 
get() - Method in class com.google.api.core.ApiFutureToListenableFuture
 
get(long, TimeUnit) - Method in class com.google.api.core.ApiFutureToListenableFuture
 
get() - Method in class com.google.api.core.ForwardingApiFuture
 
get(long, TimeUnit) - Method in class com.google.api.core.ForwardingApiFuture
 
get(Object) - Method in class com.google.api.pathtemplate.TemplatedResourceName
 
get() - Method in interface com.google.api.pathtemplate.ValidationException.Supplier
 
getDefaultClock() - Static method in class com.google.api.core.CurrentMillisClock
 
getDefaultClock() - Static method in class com.google.api.core.NanoClock
 
getType() - Method in interface com.google.api.resourcenames.ResourceName
The ResourceNameType of the resource name object.
getType() - Method in class com.google.api.resourcenames.UntypedResourceName
 

H

hasEndpoint() - Method in class com.google.api.pathtemplate.TemplatedResourceName
Checks whether the resource name has an endpoint.
hashCode() - Method in class com.google.api.pathtemplate.PathTemplate
 
hashCode() - Method in class com.google.api.pathtemplate.TemplatedResourceName
 
hashCode() - Method in class com.google.api.resourcenames.UntypedResourceName
 
HOSTNAME_VAR - Static variable in class com.google.api.pathtemplate.PathTemplate
A constant identifying the special variable used for endpoint bindings in the result of PathTemplate.matchFromFullName(String).

I

immediateFailedFuture(Throwable) - Static method in class com.google.api.core.ApiFutures
 
immediateFuture(V) - Static method in class com.google.api.core.ApiFutures
 
instance() - Static method in class com.google.api.resourcenames.UntypedResourceNameType
 
instantiate(Map<String, String>) - Method in class com.google.api.pathtemplate.PathTemplate
Instantiate the template based on the given variable assignment.
instantiate(String...) - Method in class com.google.api.pathtemplate.PathTemplate
Shortcut for PathTemplate.instantiate(Map) with a vararg parameter for keys and values.
instantiatePartial(Map<String, String>) - Method in class com.google.api.pathtemplate.PathTemplate
Same like PathTemplate.instantiate(Map) but allows for unbound variables, which are substituted using their original syntax.
InternalApi - Annotation Type in com.google.api.core
Annotates a program element (class, method, package etc) which is internal to its containing library, not part of the public API, and should not be used by users of the library.
interruptTask() - Method in class com.google.api.core.AbstractApiFuture
 
isCancelled() - Method in class com.google.api.core.AbstractApiFuture
 
isCancelled() - Method in class com.google.api.core.ApiFutureToListenableFuture
 
isCancelled() - Method in class com.google.api.core.ForwardingApiFuture
 
isDone() - Method in class com.google.api.core.AbstractApiFuture
 
isDone() - Method in class com.google.api.core.ApiFutureToListenableFuture
 
isDone() - Method in class com.google.api.core.ForwardingApiFuture
 
isEmpty() - Method in class com.google.api.pathtemplate.TemplatedResourceName
 
isParsableFrom(String) - Static method in class com.google.api.resourcenames.UntypedResourceName
 
isRunning() - Method in class com.google.api.core.AbstractApiService
 
isRunning() - Method in interface com.google.api.core.ApiService
Returns true if this service is running.

K

keySet() - Method in class com.google.api.pathtemplate.TemplatedResourceName
 

L

ListenableFutureToApiFuture<V> - Class in com.google.api.core
INTERNAL USE ONLY.
ListenableFutureToApiFuture(ListenableFuture<V>) - Constructor for class com.google.api.core.ListenableFutureToApiFuture
 
Listener() - Constructor for class com.google.api.core.ApiService.Listener
 

M

match(String) - Method in class com.google.api.pathtemplate.PathTemplate
Matches the path, returning a map from variable names to matched values.
matches(String) - Method in class com.google.api.pathtemplate.PathTemplate
Returns true if the template matches the path.
matchFromFullName(String) - Method in class com.google.api.pathtemplate.PathTemplate
Matches the path, where the first segment is interpreted as the host name regardless of whether it starts with '//' or not.
millisTime() - Method in interface com.google.api.core.ApiClock
Returns the current value of this clock's high-resolution time source, in milliseconds.
millisTime() - Method in class com.google.api.core.CurrentMillisClock
 
millisTime() - Method in class com.google.api.core.NanoClock
 

N

NanoClock - Class in com.google.api.core
Default implementation of the ApiClock interface, using call to System.nanoTime().
nanoTime() - Method in interface com.google.api.core.ApiClock
Returns the current value of this clock's high-resolution time source, in nanoseconds.
nanoTime() - Method in class com.google.api.core.CurrentMillisClock
 
nanoTime() - Method in class com.google.api.core.NanoClock
 
notifyFailed(Throwable) - Method in class com.google.api.core.AbstractApiService
 
notifyStarted() - Method in class com.google.api.core.AbstractApiService
 
notifyStopped() - Method in class com.google.api.core.AbstractApiService
 

O

onFailure(Throwable) - Method in interface com.google.api.core.ApiFutureCallback
 
onSuccess(V) - Method in interface com.google.api.core.ApiFutureCallback
 

P

parentName() - Method in class com.google.api.pathtemplate.TemplatedResourceName
Returns the parent resource name.
parentTemplate() - Method in class com.google.api.pathtemplate.PathTemplate
Returns a template for the parent of this template.
parse(String) - Method in class com.google.api.pathtemplate.PathTemplate
Creates a resource name from this template and a path.
parse(String) - Static method in class com.google.api.resourcenames.UntypedResourceName
 
PathTemplate - Class in com.google.api.pathtemplate
Represents a path template.
popCurrentThreadValidationContext() - Static method in exception com.google.api.pathtemplate.ValidationException
Clears the validation context.
pushCurrentThreadValidationContext(ValidationException.Supplier<String>) - Static method in exception com.google.api.pathtemplate.ValidationException
Sets the validation context description.
pushCurrentThreadValidationContext(String) - Static method in exception com.google.api.pathtemplate.ValidationException
 
put(String, String) - Method in class com.google.api.pathtemplate.TemplatedResourceName
Deprecated.
putAll(Map<? extends String, ? extends String>) - Method in class com.google.api.pathtemplate.TemplatedResourceName
Deprecated.

R

registerResourceNameResolver(TemplatedResourceName.Resolver) - Static method in class com.google.api.pathtemplate.TemplatedResourceName
Sets the resource name resolver which is used by the TemplatedResourceName.resolve(Class, String) method.
remove(Object) - Method in class com.google.api.pathtemplate.TemplatedResourceName
Deprecated.
resolve(Class<T>, String) - Method in class com.google.api.pathtemplate.TemplatedResourceName
Attempts to resolve a resource name into a resource, by calling the associated API.
resolve(Class<T>, TemplatedResourceName, String) - Method in interface com.google.api.pathtemplate.TemplatedResourceName.Resolver
Resolves the resource name into a resource by calling the underlying API.
ResourceName - Interface in com.google.api.resourcenames
An interface that generated resource name types must implement.
ResourceNameType - Interface in com.google.api.resourcenames
An interface that resource name types must implement.
running() - Method in class com.google.api.core.ApiService.Listener
Called when the service transitions from STARTING to RUNNING.

S

set(V) - Method in class com.google.api.core.AbstractApiFuture
 
setException(Throwable) - Method in class com.google.api.core.AbstractApiFuture
 
SettableApiFuture<V> - Class in com.google.api.core
An ApiFuture whose result can be set.
singleVar() - Method in class com.google.api.pathtemplate.PathTemplate
Returns the name of a singleton variable used by this template.
size() - Method in class com.google.api.pathtemplate.TemplatedResourceName
 
startAsync() - Method in class com.google.api.core.AbstractApiService
 
startAsync() - Method in interface com.google.api.core.ApiService
If the service state is ApiService.State.NEW, this initiates service startup and returns immediately.
starting() - Method in class com.google.api.core.ApiService.Listener
Called when the service transitions from NEW to STARTING.
startsWith(TemplatedResourceName) - Method in class com.google.api.pathtemplate.TemplatedResourceName
Returns true of the resource name starts with the parent resource name, i.e.
state() - Method in class com.google.api.core.AbstractApiService
 
state() - Method in interface com.google.api.core.ApiService
Returns the lifecycle state of the service.
stopAsync() - Method in class com.google.api.core.AbstractApiService
 
stopAsync() - Method in interface com.google.api.core.ApiService
If the service is starting or running, this initiates service shutdown and returns immediately.
stopping(ApiService.State) - Method in class com.google.api.core.ApiService.Listener
Called when the service transitions to the STOPPING state.
subTemplate(String) - Method in class com.google.api.pathtemplate.PathTemplate
Returns a path template for the sub-path of the given variable.

T

template() - Method in class com.google.api.pathtemplate.TemplatedResourceName
Gets the template associated with this resource name.
TemplatedResourceName - Class in com.google.api.pathtemplate
Class for representing and working with resource names.
TemplatedResourceName.Resolver - Interface in com.google.api.pathtemplate
Represents a resource name resolver which can be registered with this class.
terminated(ApiService.State) - Method in class com.google.api.core.ApiService.Listener
Called when the service transitions to the TERMINATED state.
toRawString() - Method in class com.google.api.pathtemplate.PathTemplate
Returns a raw version of the template as a string.
toString() - Method in class com.google.api.pathtemplate.PathTemplate
Returns a pretty version of the template as a string.
toString() - Method in class com.google.api.pathtemplate.TemplatedResourceName
 
toString() - Method in class com.google.api.resourcenames.UntypedResourceName
 
transform(ApiFuture<? extends V>, ApiFunction<? super V, ? extends X>) - Static method in class com.google.api.core.ApiFutures
 
transformAsync(ApiFuture<I>, ApiAsyncFunction<I, O>) - Static method in class com.google.api.core.ApiFutures
 

U

UntypedResourceName - Class in com.google.api.resourcenames
A class to represent a ResourceName with an unknown format.
UntypedResourceNameType - Class in com.google.api.resourcenames
The ResourceNameType for UntypedResourceName.

V

validate(String, String) - Method in class com.google.api.pathtemplate.PathTemplate
Throws a ValidationException if the template doesn't match the path.
validatedMatch(String, String) - Method in class com.google.api.pathtemplate.PathTemplate
Matches the path, returning a map from variable names to matched values.
ValidationException - Exception in com.google.api.pathtemplate
Exception thrown if there is a validation problem with a path template, http config, or related framework methods.
ValidationException(String, Object...) - Constructor for exception com.google.api.pathtemplate.ValidationException
Construct validation exception with implicit context.
ValidationException.Supplier<T> - Interface in com.google.api.pathtemplate
 
valueOf(String) - Static method in enum com.google.api.core.ApiService.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.api.core.ApiService.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.google.api.pathtemplate.TemplatedResourceName
 
vars() - Method in class com.google.api.pathtemplate.PathTemplate
Returns the set of variable names used in the template.

W

withEndpoint(String) - Method in class com.google.api.pathtemplate.TemplatedResourceName
Returns a resource name with specified endpoint.
withoutVars() - Method in class com.google.api.pathtemplate.PathTemplate
Returns a template where all variable bindings have been replaced by wildcards, but which is equivalent regards matching to this one.
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links