- 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
-
- convert(AllocateQuotaResponse) - Static method in enum com.google.api.control.model.QuotaErrorInfo
-
- 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.
- registerResourceNameResolver(ResourceName.Resolver) - Static method in class com.google.api.control.model.ResourceName
-
- 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.
- 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.