com.google.api.UsageOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grpc-core-proto Show documentation
Show all versions of grpc-core-proto Show documentation
GoogleAPI classes generated from core protos
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/usage.proto
package com.google.api;
public interface UsageOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.api.Usage)
com.google.protobuf.MessageOrBuilder {
/**
* optional .google.api.Usage.ServiceAccess service_access = 4;
*
*
* Controls which users can see or activate the service.
*
*/
int getServiceAccessValue();
/**
* optional .google.api.Usage.ServiceAccess service_access = 4;
*
*
* Controls which users can see or activate the service.
*
*/
com.google.api.Usage.ServiceAccess getServiceAccess();
/**
* repeated string requirements = 1;
*
*
* 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'.
*
*/
com.google.protobuf.ProtocolStringList
getRequirementsList();
/**
* repeated string requirements = 1;
*
*
* 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'.
*
*/
int getRequirementsCount();
/**
* repeated string requirements = 1;
*
*
* 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'.
*
*/
java.lang.String getRequirements(int index);
/**
* repeated string requirements = 1;
*
*
* 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'.
*
*/
com.google.protobuf.ByteString
getRequirementsBytes(int index);
/**
* repeated string depends_on_services = 2;
*
*
* Services that must be activated in order for this service to be used.
* The set of services activated as a result of these relations are all
* activated in parallel with no guaranteed order of activation.
* Each string is a service name, e.g. `calendar.googleapis.com`.
*
*/
com.google.protobuf.ProtocolStringList
getDependsOnServicesList();
/**
* repeated string depends_on_services = 2;
*
*
* Services that must be activated in order for this service to be used.
* The set of services activated as a result of these relations are all
* activated in parallel with no guaranteed order of activation.
* Each string is a service name, e.g. `calendar.googleapis.com`.
*
*/
int getDependsOnServicesCount();
/**
* repeated string depends_on_services = 2;
*
*
* Services that must be activated in order for this service to be used.
* The set of services activated as a result of these relations are all
* activated in parallel with no guaranteed order of activation.
* Each string is a service name, e.g. `calendar.googleapis.com`.
*
*/
java.lang.String getDependsOnServices(int index);
/**
* repeated string depends_on_services = 2;
*
*
* Services that must be activated in order for this service to be used.
* The set of services activated as a result of these relations are all
* activated in parallel with no guaranteed order of activation.
* Each string is a service name, e.g. `calendar.googleapis.com`.
*
*/
com.google.protobuf.ByteString
getDependsOnServicesBytes(int index);
/**
* repeated string activation_hooks = 3;
*
*
* Services that must be contacted before a consumer can begin using the
* service. Each service will be contacted in sequence, and, if any activation
* call fails, the entire activation will fail. Each hook is of the form
* <service.name>/<hook-id>, where <hook-id> is optional; for example:
* 'robotservice.googleapis.com/default'.
*
*/
com.google.protobuf.ProtocolStringList
getActivationHooksList();
/**
* repeated string activation_hooks = 3;
*
*
* Services that must be contacted before a consumer can begin using the
* service. Each service will be contacted in sequence, and, if any activation
* call fails, the entire activation will fail. Each hook is of the form
* <service.name>/<hook-id>, where <hook-id> is optional; for example:
* 'robotservice.googleapis.com/default'.
*
*/
int getActivationHooksCount();
/**
* repeated string activation_hooks = 3;
*
*
* Services that must be contacted before a consumer can begin using the
* service. Each service will be contacted in sequence, and, if any activation
* call fails, the entire activation will fail. Each hook is of the form
* <service.name>/<hook-id>, where <hook-id> is optional; for example:
* 'robotservice.googleapis.com/default'.
*
*/
java.lang.String getActivationHooks(int index);
/**
* repeated string activation_hooks = 3;
*
*
* Services that must be contacted before a consumer can begin using the
* service. Each service will be contacted in sequence, and, if any activation
* call fails, the entire activation will fail. Each hook is of the form
* <service.name>/<hook-id>, where <hook-id> is optional; for example:
* 'robotservice.googleapis.com/default'.
*
*/
com.google.protobuf.ByteString
getActivationHooksBytes(int index);
/**
* repeated string deactivation_hooks = 5;
*
*
* Services that must be contacted before a consumer can deactivate a
* service. Each service will be contacted in sequence, and, if any
* deactivation call fails, the entire deactivation will fail. Each hook is
* of the form <service.name>/<hook-id>, where <hook-id> is optional; for
* example:
* 'compute.googleapis.com/'.
*
*/
com.google.protobuf.ProtocolStringList
getDeactivationHooksList();
/**
* repeated string deactivation_hooks = 5;
*
*
* Services that must be contacted before a consumer can deactivate a
* service. Each service will be contacted in sequence, and, if any
* deactivation call fails, the entire deactivation will fail. Each hook is
* of the form <service.name>/<hook-id>, where <hook-id> is optional; for
* example:
* 'compute.googleapis.com/'.
*
*/
int getDeactivationHooksCount();
/**
* repeated string deactivation_hooks = 5;
*
*
* Services that must be contacted before a consumer can deactivate a
* service. Each service will be contacted in sequence, and, if any
* deactivation call fails, the entire deactivation will fail. Each hook is
* of the form <service.name>/<hook-id>, where <hook-id> is optional; for
* example:
* 'compute.googleapis.com/'.
*
*/
java.lang.String getDeactivationHooks(int index);
/**
* repeated string deactivation_hooks = 5;
*
*
* Services that must be contacted before a consumer can deactivate a
* service. Each service will be contacted in sequence, and, if any
* deactivation call fails, the entire deactivation will fail. Each hook is
* of the form <service.name>/<hook-id>, where <hook-id> is optional; for
* example:
* 'compute.googleapis.com/'.
*
*/
com.google.protobuf.ByteString
getDeactivationHooksBytes(int index);
/**
* repeated .google.api.UsageRule rules = 6;
*
*
* Individual rules for configuring usage on selected methods.
*
*/
java.util.List
getRulesList();
/**
* repeated .google.api.UsageRule rules = 6;
*
*
* Individual rules for configuring usage on selected methods.
*
*/
com.google.api.UsageRule getRules(int index);
/**
* repeated .google.api.UsageRule rules = 6;
*
*
* Individual rules for configuring usage on selected methods.
*
*/
int getRulesCount();
/**
* repeated .google.api.UsageRule rules = 6;
*
*
* Individual rules for configuring usage on selected methods.
*
*/
java.util.List extends com.google.api.UsageRuleOrBuilder>
getRulesOrBuilderList();
/**
* repeated .google.api.UsageRule rules = 6;
*
*
* Individual rules for configuring usage on selected methods.
*
*/
com.google.api.UsageRuleOrBuilder getRulesOrBuilder(
int index);
}