public interface UsageOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProducerNotificationChannel()
The full resource name of a channel used for sending notifications to the
service producer.
|
ByteString |
getProducerNotificationChannelBytes()
The full resource name of a channel used for sending notifications to the
service producer.
|
java.lang.String |
getRequirements(int index)
Requirements that must be satisfied before a consumer project can use the
service.
|
ByteString |
getRequirementsBytes(int index)
Requirements that must be satisfied before a consumer project can use the
service.
|
int |
getRequirementsCount()
Requirements that must be satisfied before a consumer project can use the
service.
|
java.util.List<java.lang.String> |
getRequirementsList()
Requirements that must be satisfied before a consumer project can use the
service.
|
UsageRule |
getRules(int index)
A list of usage rules that apply to individual API methods.
|
int |
getRulesCount()
A list of usage rules that apply to individual API methods.
|
java.util.List<UsageRule> |
getRulesList()
A list of usage rules that apply to individual API methods.
|
UsageRuleOrBuilder |
getRulesOrBuilder(int index)
A list of usage rules that apply to individual API methods.
|
java.util.List<? extends UsageRuleOrBuilder> |
getRulesOrBuilderList()
A list of usage rules that apply to individual API methods.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.util.List<java.lang.String> 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;
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;
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;
ByteString getRequirementsBytes(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;
java.util.List<UsageRule> 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;
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 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;
UsageRuleOrBuilder getRulesOrBuilder(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.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;
ByteString getProducerNotificationChannelBytes()
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;