com.google.api.UsageOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/usage.proto
// Protobuf Java Version: 3.25.3
package com.google.api;
public interface UsageOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.api.Usage)
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.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.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.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.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.google.protobuf.ByteString
getProducerNotificationChannelBytes();
}