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

A

add(Operation) - Method in class com.google.api.control.aggregator.OperationAggregator
Combines op with the other operation(s) merged into this instance.
add(Money, Money, boolean) - Static method in class com.google.api.control.model.Moneys
Add two instances of Money.
add(Money, Money) - Static method in class com.google.api.control.model.Moneys
Add two instances of Money.
addHeaderParam(String, String) - Method in class com.google.api.control.model.MethodRegistry.Info
 
addResponse(CheckRequest, CheckResponse) - Method in class com.google.api.control.aggregator.CheckRequestAggregator
Adds the response from sending req to this instances cache.
addSample(double, Distribution) - Static method in class com.google.api.control.model.Distributions
Updates as new distribution that contains value added to an existing one.
addUrlQueryParam(String, String) - Method in class com.google.api.control.model.MethodRegistry.Info
 
allocateQuota(AllocateQuotaRequest) - Method in class com.google.api.control.aggregator.QuotaRequestAggregator
 
allocateQuota(AllocateQuotaRequest) - Method in class com.google.api.control.Client
 
apiKeyHeaderParam() - Method in class com.google.api.control.model.MethodRegistry.Info
 
apiKeyUrlQueryParam() - Method in class com.google.api.control.model.MethodRegistry.Info
 
asCheckRequest(Clock) - Method in class com.google.api.control.model.CheckRequestInfo
Returns the CheckRequest instance corresponding to this instance.
asLogEntry(String, long) - Method in class com.google.api.control.model.ReportRequestInfo
Make a LogEntry from the instance.
asOperation() - Method in class com.google.api.control.aggregator.OperationAggregator
 
asOperation(Clock) - Method in class com.google.api.control.model.OperationInfo
Returns the Operation instance corresponding to this instance.
asQuotaOperation() - Method in class com.google.api.control.aggregator.QuotaOperationAggregator
 
asQuotaRequest(Clock) - Method in class com.google.api.control.model.QuotaRequestInfo
Returns the AllocateQuotaRequest instance corresponding to this instance.
asReportRequest(ReportingRule, Clock) - Method in class com.google.api.control.model.ReportRequestInfo
Make a LogEntry from the instance.
AuthInfo(Map<String, Set<String>>) - Constructor for class com.google.api.control.model.MethodRegistry.AuthInfo
 

B

build() - Method in class com.google.api.control.Client.Builder
 
Builder(String) - Constructor for class com.google.api.control.Client.Builder
 

C

cacheResponse(AllocateQuotaRequest, AllocateQuotaResponse) - Method in class com.google.api.control.aggregator.QuotaRequestAggregator
 
check(CheckRequest) - Method in class com.google.api.control.aggregator.CheckRequestAggregator
Determine if a cached response corresponds to req.
check(CheckRequest) - Method in class com.google.api.control.Client
Process a check request.
CheckAggregationOptions - Class in com.google.api.control.aggregator
Holds values used to configure check aggregation.
CheckAggregationOptions(int, int, int) - Constructor for class com.google.api.control.aggregator.CheckAggregationOptions
Constructor
CheckAggregationOptions() - Constructor for class com.google.api.control.aggregator.CheckAggregationOptions
No-arg constructor Creates an instance initialized with the default values.
CheckErrorInfo - Enum in com.google.api.control.model
CheckErrorInfo translates the CheckError received in a CheckResponse to HTTP codes and messages.
CheckRequestAggregator - Class in com.google.api.control.aggregator
Caches and aggregates CheckRequests.
CheckRequestAggregator(String, CheckAggregationOptions, Map<String, MetricDescriptor.MetricKind>, Ticker) - Constructor for class com.google.api.control.aggregator.CheckRequestAggregator
Constructor.
CheckRequestAggregator(String, CheckAggregationOptions, Map<String, MetricDescriptor.MetricKind>) - Constructor for class com.google.api.control.aggregator.CheckRequestAggregator
Constructor.
CheckRequestAggregator(String, CheckAggregationOptions) - Constructor for class com.google.api.control.aggregator.CheckRequestAggregator
Constructor.
CheckRequestInfo - Class in com.google.api.control.model
Holds information about a CheckRequest to be obtained from the HTTP layer.
CheckRequestInfo() - Constructor for class com.google.api.control.model.CheckRequestInfo
 
CheckRequestInfo(OperationInfo) - Constructor for class com.google.api.control.model.CheckRequestInfo
 
checkValid(Money) - Static method in class com.google.api.control.model.Moneys
Determine if an instance of Money is valid.
clear() - Method in class com.google.api.control.aggregator.CheckRequestAggregator
Clears this instances cache of aggregated operations.
clear() - Method in class com.google.api.control.aggregator.QuotaRequestAggregator
Clears this instances cache of aggregated operations.
clear() - Method in class com.google.api.control.aggregator.ReportRequestAggregator
Clears this instances cache of aggregated operations.
clear() - Method in class com.google.api.control.model.ResourceName
Deprecated.
Client - Class in com.google.api.control
Client is a package-level facade that encapsulates all service control functionality.
Client(String, CheckAggregationOptions, ReportAggregationOptions, QuotaAggregationOptions, ServiceControl, ThreadFactory, Client.SchedulerFactory, int, Ticker) - Constructor for class com.google.api.control.Client
 
Client.Builder - Class in com.google.api.control
Builder provide structure to the construction of a Client
com.google.api.control - package com.google.api.control
 
com.google.api.control.aggregator - package com.google.api.control.aggregator
 
com.google.api.control.model - package com.google.api.control.model
 
com.google.api.control.util - package com.google.api.control.util
 
COMPARATOR - Static variable in class com.google.api.control.model.Timestamps
A Comparator of Timestamp
ConfigFilter - Class in com.google.api.control
ConfigFilter used to load the Service and associated objects and make them available
ConfigFilter(ConfigFilter.Loader) - Constructor for class com.google.api.control.ConfigFilter
 
ConfigFilter.Loader - Interface in com.google.api.control
Loader specifies a method for loading a Service instance.
containsKey(Object) - Method in class com.google.api.control.model.ResourceName
 
containsValue(Object) - Method in class com.google.api.control.model.ResourceName
 
ControlFilter - Class in com.google.api.control
ControlFilter is a Filter that provides service control.
ControlFilter(Client, String, Ticker, Clock, HttpTransport) - Constructor for class com.google.api.control.ControlFilter
 
ControlFilter() - Constructor for class com.google.api.control.ControlFilter
 
convert(CheckResponse) - Static method in enum com.google.api.control.model.CheckErrorInfo
Determines the CheckErrorInfo corresponding to response.
convert(AllocateQuotaResponse) - Static method in enum com.google.api.control.model.QuotaErrorInfo
Determines the QuotaErrorInfo corresponding to response.
create(Map<String, Long>) - Static method in class com.google.api.control.model.MethodRegistry.QuotaInfo
 
create(String) - Static method in class com.google.api.control.model.PathTemplate
Creates a path template from a string.
create(PathTemplate, String) - Static method in class com.google.api.control.model.ResourceName
Creates a new resource name based on given template and path.
create(PathTemplate, Map<String, String>) - Static method in class com.google.api.control.model.ResourceName
Creates a new resource name from a template and a value assignment for variables.
createCache(ConcurrentLinkedDeque<T>) - Method in class com.google.api.control.aggregator.CheckAggregationOptions
Creates a Cache configured by this instance.
createCache(ConcurrentLinkedDeque<T>, Ticker) - Method in class com.google.api.control.aggregator.CheckAggregationOptions
Creates a Cache configured by this instance.
createCache(ConcurrentLinkedDeque<T>) - Method in class com.google.api.control.aggregator.ReportAggregationOptions
Creates a Cache configured by this instance.
createCache(ConcurrentLinkedDeque<T>, Ticker) - Method in class com.google.api.control.aggregator.ReportAggregationOptions
Creates a Cache configured by this instance.
createClient(String) - Method in class com.google.api.control.ControlFilter
A template method for constructing clients.
createExplicit(double[]) - Static method in class com.google.api.control.model.Distributions
Creates a Distribution with ExplicitBuckets.
createExponential(int, double, double) - Static method in class com.google.api.control.model.Distributions
Creates an Distribution with ExponentialBuckets.
createFromFullName(PathTemplate, String) - Static method in class com.google.api.control.model.ResourceName
Creates a new resource name based on given template and path, where the path contains an endpoint.
createLinear(int, double, double) - Static method in class com.google.api.control.model.Distributions
Creates a Distribution with LinearBuckets.
createWithoutUrlEncoding(String) - Static method in class com.google.api.control.model.PathTemplate
Creates a path template from a string.

D

decode(String) - Method in class com.google.api.control.model.PathTemplate
Matches the template into a list of positional values.
DEFAULT - Static variable in class com.google.api.control.model.MethodRegistry.QuotaInfo
 
DEFAULT_FLUSH_CACHE_ENTRY_INTERVAL_MILLIS - Static variable in class com.google.api.control.aggregator.CheckAggregationOptions
The default flush cache entry interval.
DEFAULT_FLUSH_CACHE_ENTRY_INTERVAL_MILLIS - Static variable in class com.google.api.control.aggregator.ReportAggregationOptions
The default flush cache entry interval
DEFAULT_KIND - Static variable in class com.google.api.control.aggregator.OperationAggregator
Used when the kinds is not specified, or for metric names that are not specified in kinds
DEFAULT_NUM_ENTRIES - Static variable in class com.google.api.control.aggregator.CheckAggregationOptions
The default aggregation cache size.
DEFAULT_NUM_ENTRIES - Static variable in class com.google.api.control.aggregator.QuotaAggregationOptions
 
DEFAULT_NUM_ENTRIES - Static variable in class com.google.api.control.aggregator.ReportAggregationOptions
The default aggregation cache size.
DEFAULT_REFRESH_MILLIS - Static variable in class com.google.api.control.aggregator.QuotaAggregationOptions
 
DEFAULT_RESPONSE_EXPIRATION_MILLIS - Static variable in class com.google.api.control.aggregator.CheckAggregationOptions
The default response expiration interval.
DEFAULT_SCHEDULER_FACTORY - Static variable in class com.google.api.control.Client
 
DEFAULT_TIMEOUT_MILLIS - Static variable in class com.google.api.control.aggregator.QuotaAggregationOptions
 
destroy() - Method in class com.google.api.control.ConfigFilter
 
destroy() - Method in class com.google.api.control.ControlFilter
 
Distributions - Class in com.google.api.control.model
Utility methods for working with Distribution instances.
DO_NOT_LOG_STATS - Static variable in class com.google.api.control.Client
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.google.api.control.ConfigFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.google.api.control.ControlFilter
 

E

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

F

flush() - Method in class com.google.api.control.aggregator.CheckRequestAggregator
Flushes this instance's cache.
flush() - Method in class com.google.api.control.aggregator.QuotaRequestAggregator
 
flush() - Method in class com.google.api.control.aggregator.ReportRequestAggregator
Flushes this instance's cache.
fromEpoch(long) - Static method in class com.google.api.control.model.Timestamps
Obtain the current time from the unix epoch
fromKnownInputs(String[], Set<String>, Set<String>) - Static method in class com.google.api.control.model.ReportingRule
'Constructor' that uses names of known KnownMetrics and KnownLabels.
fromService(Service) - Static method in class com.google.api.control.model.ReportingRule
'Constructor' that uses a Service.
fullMessage(String, String) - Method in enum com.google.api.control.model.CheckErrorInfo
Expands message with the project Id and detail where necessary
fullMessage(String, String) - Method in enum com.google.api.control.model.QuotaErrorInfo
Expands message with the project Id and detail where necessary

G

generatedFlushRequests(Iterable<OperationAggregator>) - Method in class com.google.api.control.aggregator.ReportRequestAggregator
 
get(Object) - Method in class com.google.api.control.model.ResourceName
 
getApiKey() - Method in class com.google.api.control.model.OperationInfo
 
getApiMethod() - Method in class com.google.api.control.model.ReportRequestInfo
 
getApiName() - Method in class com.google.api.control.model.ReportRequestInfo
 
getApiVersion() - Method in class com.google.api.control.model.ReportRequestInfo
 
getAudiencesForProvider(String) - Method in class com.google.api.control.model.MethodRegistry.AuthInfo
 
getAuthAudience() - Method in class com.google.api.control.model.ReportRequestInfo
 
getAuthInfo() - Method in class com.google.api.control.model.MethodRegistry.Info
 
getAuthIssuer() - Method in class com.google.api.control.model.ReportRequestInfo
 
getBackendAddress() - Method in class com.google.api.control.model.MethodRegistry.Info
 
getBackendTimeMillis() - Method in class com.google.api.control.model.ReportRequestInfo
 
getBodyFieldPath() - Method in class com.google.api.control.model.MethodRegistry.Info
 
getClientIp() - Method in class com.google.api.control.model.CheckRequestInfo
 
getClientIp() - Method in class com.google.api.control.model.QuotaRequestInfo
 
getConfigId() - Method in class com.google.api.control.model.QuotaRequestInfo
 
getConsumerProjectId() - Method in class com.google.api.control.model.OperationInfo
 
getErrorCause() - Method in class com.google.api.control.model.ReportRequestInfo
 
getExpirationMillis() - Method in class com.google.api.control.aggregator.CheckAggregationOptions
 
getFlushCacheEntryIntervalMillis() - Method in class com.google.api.control.aggregator.CheckAggregationOptions
 
getFlushCacheEntryIntervalMillis() - Method in class com.google.api.control.aggregator.ReportAggregationOptions
 
getFlushIntervalMillis() - Method in class com.google.api.control.aggregator.CheckRequestAggregator
 
getFlushIntervalMillis() - Method in class com.google.api.control.aggregator.QuotaRequestAggregator
 
getFlushIntervalMillis() - Method in class com.google.api.control.aggregator.ReportRequestAggregator
 
getHttpCode() - Method in enum com.google.api.control.model.CheckErrorInfo
 
getHttpCode() - Method in enum com.google.api.control.model.QuotaErrorInfo
 
getKind() - Method in enum com.google.api.control.model.KnownMetrics
 
getLabels() - Method in class com.google.api.control.model.ReportingRule
 
getLocation() - Method in class com.google.api.control.model.ReportRequestInfo
 
getLogMessage() - Method in class com.google.api.control.model.ReportRequestInfo
 
getLogs() - Method in class com.google.api.control.model.ReportingRule
 
getMessage() - Method in enum com.google.api.control.model.CheckErrorInfo
 
getMessage() - Method in enum com.google.api.control.model.QuotaErrorInfo
 
getMethod() - Method in class com.google.api.control.model.ReportRequestInfo
 
getMethodInfo(ServletRequest) - Static method in class com.google.api.control.ConfigFilter
 
getMetricCosts() - Method in class com.google.api.control.model.MethodRegistry.QuotaInfo
 
getMetricCosts() - Method in class com.google.api.control.model.QuotaRequestInfo
 
getMetrics() - Method in class com.google.api.control.model.ReportingRule
 
getName() - Method in enum com.google.api.control.model.KnownLabels
 
getName() - Method in enum com.google.api.control.model.KnownMetrics
 
getName() - Method in enum com.google.api.control.model.ReportRequestInfo.ReportedPlatforms
 
getNumEntries() - Method in class com.google.api.control.aggregator.CheckAggregationOptions
 
getNumEntries() - Method in class com.google.api.control.aggregator.QuotaAggregationOptions
 
getNumEntries() - Method in class com.google.api.control.aggregator.ReportAggregationOptions
 
getOperationConsumerId() - Method in class com.google.api.control.model.OperationInfo
 
getOperationId() - Method in class com.google.api.control.model.OperationInfo
 
getOperationName() - Method in class com.google.api.control.model.OperationInfo
 
getOverheadTimeMillis() - Method in class com.google.api.control.model.ReportRequestInfo
 
getPlatform() - Method in class com.google.api.control.model.ReportRequestInfo
 
getProducerProjectId() - Method in class com.google.api.control.model.ReportRequestInfo
 
getProtocol() - Method in class com.google.api.control.model.ReportRequestInfo
 
getQuotaInfo() - Method in class com.google.api.control.model.MethodRegistry.Info
 
getReferer() - Method in class com.google.api.control.model.OperationInfo
 
getRefreshMillis() - Method in class com.google.api.control.aggregator.QuotaAggregationOptions
 
getRegistry(ServletRequest) - Static method in class com.google.api.control.ConfigFilter
 
getReportRule(ServletRequest) - Static method in class com.google.api.control.ConfigFilter
 
getRequestSize() - Method in class com.google.api.control.model.ReportRequestInfo
 
getRequestTimeMillis() - Method in class com.google.api.control.model.ReportRequestInfo
 
getResponseCode() - Method in class com.google.api.control.model.ReportRequestInfo
 
getResponseSize() - Method in class com.google.api.control.model.ReportRequestInfo
 
getSelector() - Method in class com.google.api.control.model.MethodRegistry.Info
 
getService(ServletRequest) - Static method in class com.google.api.control.ConfigFilter
 
getServiceName() - Method in class com.google.api.control.aggregator.CheckRequestAggregator
 
getServiceName() - Method in class com.google.api.control.aggregator.ReportRequestAggregator
 
getServiceName(ServletRequest) - Static method in class com.google.api.control.ConfigFilter
 
getServiceName() - Method in class com.google.api.control.model.OperationInfo
 
getSystemLabels() - Method in class com.google.api.control.model.CheckRequestInfo
 
getSystemLabels() - Method in class com.google.api.control.model.OperationInfo
 
getSystemLabels() - Method in class com.google.api.control.model.QuotaRequestInfo
 
getTemplate() - Method in class com.google.api.control.model.MethodRegistry.Info
 
getTimeoutMillis() - Method in class com.google.api.control.aggregator.QuotaAggregationOptions
 
getType() - Method in enum com.google.api.control.model.KnownLabels
 
getType() - Method in enum com.google.api.control.model.KnownMetrics
 
getUpdater() - Method in enum com.google.api.control.model.KnownLabels
 
getUpdater() - Method in enum com.google.api.control.model.KnownMetrics
 
getUrl() - Method in class com.google.api.control.model.ReportRequestInfo
 

H

hasEndpoint() - Method in class com.google.api.control.model.ResourceName
Checks whether the resource name has an endpoint.
hashCode() - Method in class com.google.api.control.model.PathTemplate
 
hashCode() - Method in class com.google.api.control.model.ResourceName
 
headerParam(String) - Method in class com.google.api.control.model.MethodRegistry.Info
 
HOSTNAME_VAR - Static variable in class com.google.api.control.model.PathTemplate
A constant identifying the special variable used for endpoint bindings in the result of PathTemplate.matchFromFullName(String).

I

Info(String, MethodRegistry.AuthInfo, MethodRegistry.QuotaInfo) - Constructor for class com.google.api.control.model.MethodRegistry.Info
 
init(FilterConfig) - Method in class com.google.api.control.ConfigFilter
 
init(FilterConfig) - Method in class com.google.api.control.ControlFilter
 
instantiate(Map<String, String>) - Method in class com.google.api.control.model.PathTemplate
Instantiate the template based on the given variable assignment.
instantiate(String...) - Method in class com.google.api.control.model.PathTemplate
Shortcut for PathTemplate.instantiate(Map) with a vararg parameter for keys and values.
instantiatePartial(Map<String, String>) - Method in class com.google.api.control.model.PathTemplate
Same like PathTemplate.instantiate(Map) but allows for unbound variables, which are substituted using their original syntax.
isApiKeyError() - Method in enum com.google.api.control.model.CheckErrorInfo
 
isApiKeyValid() - Method in class com.google.api.control.model.OperationInfo
 
isEmpty() - Method in class com.google.api.control.model.ResourceName
 
isProviderIdAllowed(String) - Method in class com.google.api.control.model.MethodRegistry.AuthInfo
 
isReallyError() - Method in enum com.google.api.control.model.QuotaErrorInfo
 
isSupported(LabelDescriptor) - Static method in enum com.google.api.control.model.KnownLabels
Determines if the given label descriptor is supported
isSupported(MetricDescriptor) - Static method in enum com.google.api.control.model.KnownMetrics
Determines if the given MetricDescriptor is supported.
isSupported(LabelDescriptor) - Method in interface com.google.api.control.model.ReportingRule.LabelTest
 
isSupported(MetricDescriptor) - Method in interface com.google.api.control.model.ReportingRule.MetricTest
 

K

keySet() - Method in class com.google.api.control.model.ResourceName
 
KnownLabels - Enum in com.google.api.control.model
KnownLabels enumerates the well-known labels and allows them to be added to the ReportRequest's labels.
KnownLabels.Update - Interface in com.google.api.control.model
Update defines a function that allows a ReportRequestInfo to be used to update labels to be added to a ReportRequest
KnownMetrics - Enum in com.google.api.control.model
KnownMetric enumerates the well-known metrics and allows them to be added to the ReportRequest.

L

load() - Method in interface com.google.api.control.ConfigFilter.Loader
 
lookup(String, String) - Method in class com.google.api.control.model.MethodRegistry
Finds the Info instance that matches httpMethod and url.

M

match(String) - Method in class com.google.api.control.model.PathTemplate
Matches the path, returning a map from variable names to matched values.
matches(LabelDescriptor) - Method in enum com.google.api.control.model.KnownLabels
Determines if d matches this KnownLabel instance.
matches(MetricDescriptor) - Method in enum com.google.api.control.model.KnownMetrics
Determines if d matches this KnownMetric instance.
matches(String) - Method in class com.google.api.control.model.PathTemplate
Returns true if the template matches the path.
matchFromFullName(String) - Method in class com.google.api.control.model.PathTemplate
Matches the path, where the first segment is interpreted as the host name regardless of whether it starts with '//' or not.
MAX_NANOS - Static variable in class com.google.api.control.model.Moneys
 
MAX_OPERATION_COUNT - Static variable in class com.google.api.control.aggregator.ReportRequestAggregator
The maximum number of operations to send in a report request.
merge(MetricDescriptor.MetricKind, MetricValue, MetricValue) - Static method in class com.google.api.control.aggregator.MetricValues
Merge prior with latest.
merge(Distribution, Distribution) - Static method in class com.google.api.control.model.Distributions
Merge prior with latest.
mergeOperation(QuotaOperation) - Method in class com.google.api.control.aggregator.QuotaOperationAggregator
 
MethodRegistry - Class in com.google.api.control.model
MethodRegistry provides registry of the API methods defined by a Service.
MethodRegistry(Service) - Constructor for class com.google.api.control.model.MethodRegistry
 
MethodRegistry.AuthInfo - Class in com.google.api.control.model
Consolidates authentication information about methods defined in a Service
MethodRegistry.Info - Class in com.google.api.control.model
Consolidates information about methods defined in a Service
MethodRegistry.QuotaInfo - Class in com.google.api.control.model
 
MetricValues - Class in com.google.api.control.aggregator
Provide functions that enable aggregation of MetricValues.
Moneys - Class in com.google.api.control.model
Utility methods for working with Money instances.

N

NO_UPDATE - Static variable in enum com.google.api.control.model.KnownLabels
A null implementation of KnownLabels.Update
NON_CACHING - Static variable in class com.google.api.control.aggregator.CheckRequestAggregator
The flush interval returned by CheckRequestAggregator.getFlushIntervalMillis() when an instance is configured to be non-caching.
NON_CACHING - Static variable in class com.google.api.control.aggregator.QuotaRequestAggregator
 
NON_CACHING - Static variable in class com.google.api.control.aggregator.ReportRequestAggregator
The flush interval returned by ReportRequestAggregator.getFlushIntervalMillis() when an instance is configured to be non-caching.
now(Clock) - Static method in class com.google.api.control.model.Timestamps
Obtain the current time from a Clock

O

OperationAggregator - Class in com.google.api.control.aggregator
Container that implements operation aggregation.
OperationAggregator(Operation, Map<String, MetricDescriptor.MetricKind>) - Constructor for class com.google.api.control.aggregator.OperationAggregator
Constructor.
OperationInfo - Class in com.google.api.control.model
Holds basic information about an operation to be obtained from the HTTP layer.
OperationInfo() - Constructor for class com.google.api.control.model.OperationInfo
 

P

parentName() - Method in class com.google.api.control.model.ResourceName
Returns the parent resource name.
parentTemplate() - Method in class com.google.api.control.model.PathTemplate
Returns a template for the parent of this template.
parse(String) - Method in class com.google.api.control.model.PathTemplate
Creates a resource name from this template and a path.
PathTemplate - Class in com.google.api.control.model
Represents a path template.
performUpdate(ReportRequestInfo, Map<String, String>) - Method in enum com.google.api.control.model.KnownLabels
Updates labels with request data
performUpdate(ReportRequestInfo, Operation.Builder) - Method in enum com.google.api.control.model.KnownMetrics
Adds metrics to an operation from the provided request data
popCurrentThreadValidationContext() - Static method in exception com.google.api.control.model.ValidationException
Clears the validation context.
pushCurrentThreadValidationContext(Supplier<String>) - Static method in exception com.google.api.control.model.ValidationException
Sets the validation context description.
pushCurrentThreadValidationContext(String) - Static method in exception com.google.api.control.model.ValidationException
 
put(String, String) - Method in class com.google.api.control.model.ResourceName
Deprecated.
putAll(Map<? extends String, ? extends String>) - Method in class com.google.api.control.model.ResourceName
Deprecated.
putLabels(Hasher, Map<String, String>) - Static method in class com.google.api.control.aggregator.Signing
Updates h with the contents of labels.
putMetricValue(Hasher, MetricValue) - Static method in class com.google.api.control.aggregator.MetricValues
Updates h with the contents of value.

Q

QuotaAggregationOptions - Class in com.google.api.control.aggregator
Holds values used to configure quota aggregation.
QuotaAggregationOptions() - Constructor for class com.google.api.control.aggregator.QuotaAggregationOptions
 
QuotaAggregationOptions(int, int, int) - Constructor for class com.google.api.control.aggregator.QuotaAggregationOptions
 
QuotaErrorInfo - Enum in com.google.api.control.model
CheckErrorInfo translates the CheckError received in a CheckResponse to HTTP codes and messages.
QuotaInfo() - Constructor for class com.google.api.control.model.MethodRegistry.QuotaInfo
 
QuotaOperationAggregator - Class in com.google.api.control.aggregator
Created by tangd on 5/22/17.
QuotaOperationAggregator(QuotaOperation) - Constructor for class com.google.api.control.aggregator.QuotaOperationAggregator
 
QuotaRequestAggregator - Class in com.google.api.control.aggregator
Caches and aggregates AllocateQuotaRequests.
QuotaRequestAggregator(String, QuotaAggregationOptions, Ticker) - Constructor for class com.google.api.control.aggregator.QuotaRequestAggregator
 
QuotaRequestInfo - Class in com.google.api.control.model
Holds information about an AllocateQuotaRequest to be obtained from the HTTP layer.
QuotaRequestInfo() - Constructor for class com.google.api.control.model.QuotaRequestInfo
 
QuotaRequestInfo(OperationInfo) - Constructor for class com.google.api.control.model.QuotaRequestInfo
 

R

registerResourceNameResolver(ResourceName.Resolver) - Static method in class com.google.api.control.model.ResourceName
Sets the resource name resolver which is used by the ResourceName.resolve(Class, String) method.
remove(Object) - Method in class com.google.api.control.model.ResourceName
Deprecated.
report(ReportRequest) - Method in class com.google.api.control.aggregator.ReportRequestAggregator
Adds a report request to this instance's cache.
report(ReportRequest) - Method in class com.google.api.control.Client
Process a report request.
ReportAggregationOptions - Class in com.google.api.control.aggregator
Holds values used to configure report aggregation.
ReportAggregationOptions(int, int) - Constructor for class com.google.api.control.aggregator.ReportAggregationOptions
Constructor
ReportAggregationOptions() - Constructor for class com.google.api.control.aggregator.ReportAggregationOptions
No-arg constructor Creates an instance initialized with the default values.
ReportingRule - Class in com.google.api.control.model
ReportingRule determines how to fill a report request.
ReportingRule.LabelTest - Interface in com.google.api.control.model
LabelSupporter defines a method that determines if a metric is supported
ReportingRule.MetricTest - Interface in com.google.api.control.model
MetricSupporter defines a method that determines is a metric is supported
ReportRequestAggregator - Class in com.google.api.control.aggregator
A container that aggregates service control ReportRequests.
ReportRequestAggregator(String, ReportAggregationOptions, Map<String, MetricDescriptor.MetricKind>, Ticker) - Constructor for class com.google.api.control.aggregator.ReportRequestAggregator
Constructor.
ReportRequestAggregator(String, ReportAggregationOptions, Map<String, MetricDescriptor.MetricKind>) - Constructor for class com.google.api.control.aggregator.ReportRequestAggregator
Constructor.
ReportRequestAggregator(String, ReportAggregationOptions) - Constructor for class com.google.api.control.aggregator.ReportRequestAggregator
Constructor.
ReportRequestInfo - Class in com.google.api.control.model
Holds information about a ReportRequest to be obtained from the HTTP layer.
ReportRequestInfo() - Constructor for class com.google.api.control.model.ReportRequestInfo
Default constructor, Does not initialize the fields of the base OperationInfo.
ReportRequestInfo(OperationInfo) - Constructor for class com.google.api.control.model.ReportRequestInfo
A copy constructor that initializes the OperationInfo fields from a base instance.
ReportRequestInfo.ErrorCause - Enum in com.google.api.control.model
Enumerates the reported causes of errors.
ReportRequestInfo.ReportedPlatforms - Enum in com.google.api.control.model
ReportedPlatform enumerates the platforms that may be reported.
ReportRequestInfo.ReportedProtocols - Enum in com.google.api.control.model
ReportedProtocols enumerates the protocols that may be reported.
resolve(Class<T>, String) - Method in class com.google.api.control.model.ResourceName
Attempts to resolve a resource name into a resource, by calling the associated API.
resolve(Class<T>, ResourceName, String) - Method in interface com.google.api.control.model.ResourceName.Resolver
Resolves the resource name into a resource by calling the underlying API.
ResourceName - Class in com.google.api.control.model
Class for representing and working with resource names.
ResourceName.Resolver - Interface in com.google.api.control.model
Represents a resource name resolver which can be registered with this class.

S

SCC_CALLER_IP - Static variable in class com.google.api.control.model.OperationInfo
 
SCC_REFERER - Static variable in class com.google.api.control.model.OperationInfo
 
SCC_SERVICE_AGENT - Static variable in class com.google.api.control.model.OperationInfo
 
SCC_USER_AGENT - Static variable in class com.google.api.control.model.OperationInfo
 
SERVICE_AGENT - Static variable in enum com.google.api.control.model.KnownLabels
The service agent to record in report requests
ServiceManagementConfigFilter - Class in com.google.api.control
ServiceManagementConfigFilter is a ConfigFilter where the service definition is loaded from the service management api.
ServiceManagementConfigFilter() - Constructor for class com.google.api.control.ServiceManagementConfigFilter
No-op constructor.
setAllowUnregisteredCalls(boolean) - Method in class com.google.api.control.model.MethodRegistry.Info
 
setApiKey(String) - Method in class com.google.api.control.model.OperationInfo
 
setApiKeyValid(boolean) - Method in class com.google.api.control.model.OperationInfo
 
setApiMethod(String) - Method in class com.google.api.control.model.ReportRequestInfo
 
setApiName(String) - Method in class com.google.api.control.model.ReportRequestInfo
 
setApiVersion(String) - Method in class com.google.api.control.model.ReportRequestInfo
 
setAuthAudience(String) - Method in class com.google.api.control.model.ReportRequestInfo
 
setAuthIssuer(String) - Method in class com.google.api.control.model.ReportRequestInfo
 
setBackendAddress(String) - Method in class com.google.api.control.model.MethodRegistry.Info
 
setBackendTimeMillis(long) - Method in class com.google.api.control.model.ReportRequestInfo
 
setBodyFieldPath(String) - Method in class com.google.api.control.model.MethodRegistry.Info
 
setCheckOptions(CheckAggregationOptions) - Method in class com.google.api.control.Client.Builder
 
setClientIp(String) - Method in class com.google.api.control.model.CheckRequestInfo
 
setClientIp(String) - Method in class com.google.api.control.model.QuotaRequestInfo
 
setConfigId(String) - Method in class com.google.api.control.model.QuotaRequestInfo
 
setConsumerProjectId(String) - Method in class com.google.api.control.model.OperationInfo
 
setErrorCause(ReportRequestInfo.ErrorCause) - Method in class com.google.api.control.model.ReportRequestInfo
 
setFactory(ThreadFactory) - Method in class com.google.api.control.Client.Builder
 
setHttpTransport(HttpTransport) - Method in class com.google.api.control.Client.Builder
 
setLocation(String) - Method in class com.google.api.control.model.ReportRequestInfo
 
setLogMessage(String) - Method in class com.google.api.control.model.ReportRequestInfo
 
setMethod(String) - Method in class com.google.api.control.model.ReportRequestInfo
 
setMetricCosts(Map<String, Long>) - Method in class com.google.api.control.model.QuotaRequestInfo
 
setOperationId(String) - Method in class com.google.api.control.model.OperationInfo
 
setOperationName(String) - Method in class com.google.api.control.model.OperationInfo
 
setOverheadTimeMillis(long) - Method in class com.google.api.control.model.ReportRequestInfo
 
setPlatform(ReportRequestInfo.ReportedPlatforms) - Method in class com.google.api.control.model.ReportRequestInfo
 
setProducerProjectId(String) - Method in class com.google.api.control.model.ReportRequestInfo
 
setProjectId(String) - Method in class com.google.api.control.ControlFilter
A template method used while initializing the filter.
setProtocol(ReportRequestInfo.ReportedProtocols) - Method in class com.google.api.control.model.ReportRequestInfo
 
setQuotaOptions(QuotaAggregationOptions) - Method in class com.google.api.control.Client.Builder
 
setReferer(String) - Method in class com.google.api.control.model.OperationInfo
 
setReportOptions(ReportAggregationOptions) - Method in class com.google.api.control.Client.Builder
 
setRequestSize(long) - Method in class com.google.api.control.model.ReportRequestInfo
 
setRequestTimeMillis(long) - Method in class com.google.api.control.model.ReportRequestInfo
 
setResponseCode(int) - Method in class com.google.api.control.model.ReportRequestInfo
 
setResponseSize(long) - Method in class com.google.api.control.model.ReportRequestInfo
 
setSchedulerFactory(Client.SchedulerFactory) - Method in class com.google.api.control.Client.Builder
 
setSelector(String) - Method in class com.google.api.control.model.MethodRegistry.Info
 
setServiceName(String) - Method in class com.google.api.control.model.OperationInfo
 
setStatsLogFrequency(int) - Method in class com.google.api.control.Client.Builder
 
setTemplate(PathTemplate) - Method in class com.google.api.control.model.MethodRegistry.Info
 
setTicker(Ticker) - Method in class com.google.api.control.Client.Builder
 
setUrl(String) - Method in class com.google.api.control.model.ReportRequestInfo
 
shouldAllowUnregisteredCalls() - Method in class com.google.api.control.model.MethodRegistry.Info
 
sign(CheckRequest) - Static method in class com.google.api.control.aggregator.CheckRequestAggregator
Obtains the HashCode for the contents of value.
sign(MetricValue) - Static method in class com.google.api.control.aggregator.MetricValues
Obtains the HashCode for the contents of value.
Signing - Class in com.google.api.control.aggregator
Provides functions that support the creation of signatures.
singleVar() - Method in class com.google.api.control.model.PathTemplate
Returns the name of a singleton variable used by this template.
size() - Method in class com.google.api.control.model.ResourceName
 
start() - Method in class com.google.api.control.Client
Starts processing.
startsWith(ResourceName) - Method in class com.google.api.control.model.ResourceName
Returns true of the resource name starts with the parent resource name, i.e.
statsLogFrequency() - Method in class com.google.api.control.ControlFilter
 
stop() - Method in class com.google.api.control.Client
Stops processing.
StringUtils - Class in com.google.api.control.util
String utilities.
stripTrailingSlash(String) - Static method in class com.google.api.control.util.StringUtils
Strips the trailing slash from a string if it has a trailing slash; otherwise return the string unchanged.
subTemplate(String) - Method in class com.google.api.control.model.PathTemplate
Returns a path template for the sub-path of the given variable.

T

template() - Method in class com.google.api.control.model.ResourceName
Gets the template associated with this resource name.
Timestamps - Class in com.google.api.control.model
 
toRawString() - Method in class com.google.api.control.model.PathTemplate
Returns a raw version of the template as a string.
toString() - Method in class com.google.api.control.model.PathTemplate
Returns a pretty version of the template as a string.
toString() - Method in class com.google.api.control.model.ResourceName
 

U

update(String, ReportRequestInfo, Map<String, String>) - Method in interface com.google.api.control.model.KnownLabels.Update
Updates the label in labels with the given name from info.
urlQueryParam(String) - Method in class com.google.api.control.model.MethodRegistry.Info
 
USER_AGENT - Static variable in enum com.google.api.control.model.KnownLabels
The user agent to record in report requests At the moment (2016/08/02), the user agent must be either 'ESP' or 'ESF'

V

validate(String, String) - Method in class com.google.api.control.model.PathTemplate
Throws a ValidationException if the template doesn't match the path.
validatedMatch(String, String) - Method in class com.google.api.control.model.PathTemplate
Matches the path, returning a map from variable names to matched values.
ValidationException - Exception in com.google.api.control.model
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.control.model.ValidationException
Construct validation exception with implicit context.
valueOf(String) - Static method in enum com.google.api.control.model.CheckErrorInfo
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.api.control.model.KnownLabels
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.api.control.model.KnownMetrics
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.api.control.model.QuotaErrorInfo
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.api.control.model.ReportRequestInfo.ErrorCause
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.api.control.model.ReportRequestInfo.ReportedPlatforms
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.api.control.model.ReportRequestInfo.ReportedProtocols
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.api.control.model.CheckErrorInfo
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.api.control.model.KnownLabels
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.api.control.model.KnownMetrics
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.api.control.model.QuotaErrorInfo
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.api.control.model.ReportRequestInfo.ErrorCause
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.api.control.model.ReportRequestInfo.ReportedPlatforms
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.api.control.model.ReportRequestInfo.ReportedProtocols
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.google.api.control.model.ResourceName
 
vars() - Method in class com.google.api.control.model.PathTemplate
Returns the set of variable names used in the template.

W

withEndpoint(String) - Method in class com.google.api.control.model.ResourceName
Returns a resource name with specified endpoint.
withoutVars() - Method in class com.google.api.control.model.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 Q R S T U V W 
Skip navigation links