com.google.api.serviceusage.v1beta1.ConsumerQuotaMetricOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-service-usage-v1beta1 Show documentation
Show all versions of proto-google-cloud-service-usage-v1beta1 Show documentation
Proto library for google-cloud-service-usage
/*
* 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/serviceusage/v1beta1/resources.proto
// Protobuf Java Version: 3.25.5
package com.google.api.serviceusage.v1beta1;
public interface ConsumerQuotaMetricOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.api.serviceusage.v1beta1.ConsumerQuotaMetric)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The resource name of the quota settings on this metric for this consumer.
*
* An example name would be:
* `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus`
*
* The resource name is intended to be opaque and should not be parsed for
* its component strings, since its representation could change in the future.
*
*
* string name = 1;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* The resource name of the quota settings on this metric for this consumer.
*
* An example name would be:
* `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus`
*
* The resource name is intended to be opaque and should not be parsed for
* its component strings, since its representation could change in the future.
*
*
* string name = 1;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* The name of the metric.
*
* An example name would be:
* `compute.googleapis.com/cpus`
*
*
* string metric = 4;
*
* @return The metric.
*/
java.lang.String getMetric();
/**
*
*
*
* The name of the metric.
*
* An example name would be:
* `compute.googleapis.com/cpus`
*
*
* string metric = 4;
*
* @return The bytes for metric.
*/
com.google.protobuf.ByteString getMetricBytes();
/**
*
*
*
* The display name of the metric.
*
* An example name would be:
* `CPUs`
*
*
* string display_name = 2;
*
* @return The displayName.
*/
java.lang.String getDisplayName();
/**
*
*
*
* The display name of the metric.
*
* An example name would be:
* `CPUs`
*
*
* string display_name = 2;
*
* @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
/**
*
*
*
* The consumer quota for each quota limit defined on the metric.
*
*
* repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
*
*/
java.util.List
getConsumerQuotaLimitsList();
/**
*
*
*
* The consumer quota for each quota limit defined on the metric.
*
*
* repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
*
*/
com.google.api.serviceusage.v1beta1.ConsumerQuotaLimit getConsumerQuotaLimits(int index);
/**
*
*
*
* The consumer quota for each quota limit defined on the metric.
*
*
* repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
*
*/
int getConsumerQuotaLimitsCount();
/**
*
*
*
* The consumer quota for each quota limit defined on the metric.
*
*
* repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
*
*/
java.util.List extends com.google.api.serviceusage.v1beta1.ConsumerQuotaLimitOrBuilder>
getConsumerQuotaLimitsOrBuilderList();
/**
*
*
*
* The consumer quota for each quota limit defined on the metric.
*
*
* repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
*
*/
com.google.api.serviceusage.v1beta1.ConsumerQuotaLimitOrBuilder getConsumerQuotaLimitsOrBuilder(
int index);
/**
*
*
*
* The quota limits targeting the descendant containers of the
* consumer in request.
*
* If the consumer in request is of type `organizations`
* or `folders`, the field will list per-project limits in the metric; if the
* consumer in request is of type `project`, the field will be empty.
*
* The `quota_buckets` field of each descendant consumer quota limit will not
* be populated.
*
*
*
* repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
*
*/
java.util.List
getDescendantConsumerQuotaLimitsList();
/**
*
*
*
* The quota limits targeting the descendant containers of the
* consumer in request.
*
* If the consumer in request is of type `organizations`
* or `folders`, the field will list per-project limits in the metric; if the
* consumer in request is of type `project`, the field will be empty.
*
* The `quota_buckets` field of each descendant consumer quota limit will not
* be populated.
*
*
*
* repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
*
*/
com.google.api.serviceusage.v1beta1.ConsumerQuotaLimit getDescendantConsumerQuotaLimits(
int index);
/**
*
*
*
* The quota limits targeting the descendant containers of the
* consumer in request.
*
* If the consumer in request is of type `organizations`
* or `folders`, the field will list per-project limits in the metric; if the
* consumer in request is of type `project`, the field will be empty.
*
* The `quota_buckets` field of each descendant consumer quota limit will not
* be populated.
*
*
*
* repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
*
*/
int getDescendantConsumerQuotaLimitsCount();
/**
*
*
*
* The quota limits targeting the descendant containers of the
* consumer in request.
*
* If the consumer in request is of type `organizations`
* or `folders`, the field will list per-project limits in the metric; if the
* consumer in request is of type `project`, the field will be empty.
*
* The `quota_buckets` field of each descendant consumer quota limit will not
* be populated.
*
*
*
* repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
*
*/
java.util.List extends com.google.api.serviceusage.v1beta1.ConsumerQuotaLimitOrBuilder>
getDescendantConsumerQuotaLimitsOrBuilderList();
/**
*
*
*
* The quota limits targeting the descendant containers of the
* consumer in request.
*
* If the consumer in request is of type `organizations`
* or `folders`, the field will list per-project limits in the metric; if the
* consumer in request is of type `project`, the field will be empty.
*
* The `quota_buckets` field of each descendant consumer quota limit will not
* be populated.
*
*
*
* repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
*
*/
com.google.api.serviceusage.v1beta1.ConsumerQuotaLimitOrBuilder
getDescendantConsumerQuotaLimitsOrBuilder(int index);
/**
*
*
*
* The units in which the metric value is reported.
*
*
* string unit = 5;
*
* @return The unit.
*/
java.lang.String getUnit();
/**
*
*
*
* The units in which the metric value is reported.
*
*
* string unit = 5;
*
* @return The bytes for unit.
*/
com.google.protobuf.ByteString getUnitBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy