All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.servicecontrol.v1.AllocateQuotaResponseOrBuilder Maven / Gradle / Ivy

/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/api/servicecontrol/v1/quota_controller.proto

// Protobuf Java Version: 3.25.5
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; * * @return The operationId. */ java.lang.String getOperationId(); /** * * *
   * The same operation_id value used in the AllocateQuotaRequest. Used for
   * logging and diagnostics purposes.
   * 
* * string operation_id = 1; * * @return The bytes for operationId. */ 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 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. 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. 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. 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. 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. 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. 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. 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. 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 getQuotaMetricsOrBuilderList(); /** * * *
   * Quota metrics to indicate the result of allocation. Depending on the
   * request, one or more of the following metrics will be included:
   *
   * 1. 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. 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; * * @return The serviceConfigId. */ java.lang.String getServiceConfigId(); /** * * *
   * ID of the actual config used to process the request.
   * 
* * string service_config_id = 4; * * @return The bytes for serviceConfigId. */ com.google.protobuf.ByteString getServiceConfigIdBytes(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy