com.google.api.servicecontrol.v1.AllocateQuotaResponseOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of endpoints-management-protos Show documentation
Show all versions of endpoints-management-protos Show documentation
Contains the generated protocol buffer surface used by Endpoints
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/servicecontrol/v1/quota_controller.proto
package com.google.api.servicecontrol.v1;
public interface AllocateQuotaResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.api.servicecontrol.v1.AllocateQuotaResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* The same operation_id value used in the AllocateQuotaRequest. Used for
* logging and diagnostics purposes.
*
*
* string operation_id = 1;
*/
java.lang.String getOperationId();
/**
*
* The same operation_id value used in the AllocateQuotaRequest. Used for
* logging and diagnostics purposes.
*
*
* string operation_id = 1;
*/
com.google.protobuf.ByteString
getOperationIdBytes();
/**
*
* Indicates the decision of the allocate.
*
*
* repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
*/
java.util.List
getAllocateErrorsList();
/**
*
* Indicates the decision of the allocate.
*
*
* repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
*/
com.google.api.servicecontrol.v1.QuotaError getAllocateErrors(int index);
/**
*
* Indicates the decision of the allocate.
*
*
* repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
*/
int getAllocateErrorsCount();
/**
*
* Indicates the decision of the allocate.
*
*
* repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
*/
java.util.List extends com.google.api.servicecontrol.v1.QuotaErrorOrBuilder>
getAllocateErrorsOrBuilderList();
/**
*
* Indicates the decision of the allocate.
*
*
* repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
*/
com.google.api.servicecontrol.v1.QuotaErrorOrBuilder getAllocateErrorsOrBuilder(
int index);
/**
*
* Quota metrics to indicate the result of allocation. Depending on the
* request, one or more of the following metrics will be included:
* 1. For rate quota, per quota group or per quota metric incremental usage
* will be specified using the following delta metric:
* "serviceruntime.googleapis.com/api/consumer/quota_used_count"
* 2. For allocation quota, per quota metric total usage will be specified
* using the following gauge metric:
* "serviceruntime.googleapis.com/allocation/consumer/quota_used_count"
* 3. For both rate quota and allocation quota, the quota limit reached
* condition will be specified using the following boolean metric:
* "serviceruntime.googleapis.com/quota/exceeded"
*
*
* repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
*/
java.util.List
getQuotaMetricsList();
/**
*
* Quota metrics to indicate the result of allocation. Depending on the
* request, one or more of the following metrics will be included:
* 1. For rate quota, per quota group or per quota metric incremental usage
* will be specified using the following delta metric:
* "serviceruntime.googleapis.com/api/consumer/quota_used_count"
* 2. For allocation quota, per quota metric total usage will be specified
* using the following gauge metric:
* "serviceruntime.googleapis.com/allocation/consumer/quota_used_count"
* 3. For both rate quota and allocation quota, the quota limit reached
* condition will be specified using the following boolean metric:
* "serviceruntime.googleapis.com/quota/exceeded"
*
*
* repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
*/
com.google.api.servicecontrol.v1.MetricValueSet getQuotaMetrics(int index);
/**
*
* Quota metrics to indicate the result of allocation. Depending on the
* request, one or more of the following metrics will be included:
* 1. For rate quota, per quota group or per quota metric incremental usage
* will be specified using the following delta metric:
* "serviceruntime.googleapis.com/api/consumer/quota_used_count"
* 2. For allocation quota, per quota metric total usage will be specified
* using the following gauge metric:
* "serviceruntime.googleapis.com/allocation/consumer/quota_used_count"
* 3. For both rate quota and allocation quota, the quota limit reached
* condition will be specified using the following boolean metric:
* "serviceruntime.googleapis.com/quota/exceeded"
*
*
* repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
*/
int getQuotaMetricsCount();
/**
*
* Quota metrics to indicate the result of allocation. Depending on the
* request, one or more of the following metrics will be included:
* 1. For rate quota, per quota group or per quota metric incremental usage
* will be specified using the following delta metric:
* "serviceruntime.googleapis.com/api/consumer/quota_used_count"
* 2. For allocation quota, per quota metric total usage will be specified
* using the following gauge metric:
* "serviceruntime.googleapis.com/allocation/consumer/quota_used_count"
* 3. For both rate quota and allocation quota, the quota limit reached
* condition will be specified using the following boolean metric:
* "serviceruntime.googleapis.com/quota/exceeded"
*
*
* repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
*/
java.util.List extends com.google.api.servicecontrol.v1.MetricValueSetOrBuilder>
getQuotaMetricsOrBuilderList();
/**
*
* Quota metrics to indicate the result of allocation. Depending on the
* request, one or more of the following metrics will be included:
* 1. For rate quota, per quota group or per quota metric incremental usage
* will be specified using the following delta metric:
* "serviceruntime.googleapis.com/api/consumer/quota_used_count"
* 2. For allocation quota, per quota metric total usage will be specified
* using the following gauge metric:
* "serviceruntime.googleapis.com/allocation/consumer/quota_used_count"
* 3. For both rate quota and allocation quota, the quota limit reached
* condition will be specified using the following boolean metric:
* "serviceruntime.googleapis.com/quota/exceeded"
*
*
* repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
*/
com.google.api.servicecontrol.v1.MetricValueSetOrBuilder getQuotaMetricsOrBuilder(
int index);
/**
*
* ID of the actual config used to process the request.
*
*
* string service_config_id = 4;
*/
java.lang.String getServiceConfigId();
/**
*
* ID of the actual config used to process the request.
*
*
* string service_config_id = 4;
*/
com.google.protobuf.ByteString
getServiceConfigIdBytes();
}