com.aliyun.openservices.ons.shaded.com.google.api.UsageOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2020 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/usage.proto
package com.aliyun.openservices.ons.shaded.com.google.api;
public interface UsageOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.api.Usage)
com.aliyun.openservices.ons.shaded.com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Requirements that must be satisfied before a consumer project can use the
* service. Each requirement is of the form <service.name>/<requirement-id>;
* for example 'serviceusage.googleapis.com/billing-enabled'.
*
*
* repeated string requirements = 1;
*
* @return A list containing the requirements.
*/
java.util.List getRequirementsList();
/**
*
*
*
* Requirements that must be satisfied before a consumer project can use the
* service. Each requirement is of the form <service.name>/<requirement-id>;
* for example 'serviceusage.googleapis.com/billing-enabled'.
*
*
* repeated string requirements = 1;
*
* @return The count of requirements.
*/
int getRequirementsCount();
/**
*
*
*
* Requirements that must be satisfied before a consumer project can use the
* service. Each requirement is of the form <service.name>/<requirement-id>;
* for example 'serviceusage.googleapis.com/billing-enabled'.
*
*
* repeated string requirements = 1;
*
* @param index The index of the element to return.
* @return The requirements at the given index.
*/
java.lang.String getRequirements(int index);
/**
*
*
*
* Requirements that must be satisfied before a consumer project can use the
* service. Each requirement is of the form <service.name>/<requirement-id>;
* for example 'serviceusage.googleapis.com/billing-enabled'.
*
*
* repeated string requirements = 1;
*
* @param index The index of the value to return.
* @return The bytes of the requirements at the given index.
*/
com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString getRequirementsBytes(int index);
/**
*
*
*
* A list of usage rules that apply to individual API methods.
* **NOTE:** All service configuration rules follow "last one wins" order.
*
*
* repeated .google.api.UsageRule rules = 6;
*/
java.util.List getRulesList();
/**
*
*
*
* A list of usage rules that apply to individual API methods.
* **NOTE:** All service configuration rules follow "last one wins" order.
*
*
* repeated .google.api.UsageRule rules = 6;
*/
com.aliyun.openservices.ons.shaded.com.google.api.UsageRule getRules(int index);
/**
*
*
*
* A list of usage rules that apply to individual API methods.
* **NOTE:** All service configuration rules follow "last one wins" order.
*
*
* repeated .google.api.UsageRule rules = 6;
*/
int getRulesCount();
/**
*
*
*
* A list of usage rules that apply to individual API methods.
* **NOTE:** All service configuration rules follow "last one wins" order.
*
*
* repeated .google.api.UsageRule rules = 6;
*/
java.util.List extends com.aliyun.openservices.ons.shaded.com.google.api.UsageRuleOrBuilder> getRulesOrBuilderList();
/**
*
*
*
* A list of usage rules that apply to individual API methods.
* **NOTE:** All service configuration rules follow "last one wins" order.
*
*
* repeated .google.api.UsageRule rules = 6;
*/
com.aliyun.openservices.ons.shaded.com.google.api.UsageRuleOrBuilder getRulesOrBuilder(int index);
/**
*
*
*
* The full resource name of a channel used for sending notifications to the
* service producer.
* Google Service Management currently only supports
* [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification
* channel. To use Google Cloud Pub/Sub as the channel, this must be the name
* of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format
* documented in https://cloud.google.com/pubsub/docs/overview.
*
*
* string producer_notification_channel = 7;
*
* @return The producerNotificationChannel.
*/
java.lang.String getProducerNotificationChannel();
/**
*
*
*
* The full resource name of a channel used for sending notifications to the
* service producer.
* Google Service Management currently only supports
* [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification
* channel. To use Google Cloud Pub/Sub as the channel, this must be the name
* of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format
* documented in https://cloud.google.com/pubsub/docs/overview.
*
*
* string producer_notification_channel = 7;
*
* @return The bytes for producerNotificationChannel.
*/
com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString getProducerNotificationChannelBytes();
}