Skip navigation links
C D E F G H I K M P R S T U V W 

C

clear() - Method in class com.google.api.pathtemplate.TemplatedResourceName
Deprecated.
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(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.

D

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

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

from(ResourceName) - Static method in class com.google.api.resourcenames.UntypedResourceName
 

G

get(Object) - Method in class com.google.api.pathtemplate.TemplatedResourceName
 
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

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.
isEmpty() - Method in class com.google.api.pathtemplate.TemplatedResourceName
 
isParsableFrom(String) - Static method in class com.google.api.resourcenames.UntypedResourceName
 

K

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

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.

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(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.

S

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
 
startsWith(TemplatedResourceName) - Method in class com.google.api.pathtemplate.TemplatedResourceName
Returns true of the resource name starts with the parent resource name, i.e.
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.
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
 

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.
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.
C D E F G H I K M P R S T U V W 
Skip navigation links