com.google.api.servicecontrol.v1.AllocateQuotaRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of endpoints-management-protos Show documentation
Show all versions of endpoints-management-protos Show documentation
Contains the generated protocol buffer surface used by Endpoints
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/servicecontrol/v1/quota_controller.proto
package com.google.api.servicecontrol.v1;
public interface AllocateQuotaRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.api.servicecontrol.v1.AllocateQuotaRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* Name of the service as specified in the service configuration. For example,
* `"pubsub.googleapis.com"`.
* See [google.api.Service][] for the definition of a service name.
*
*
* string service_name = 1;
*/
java.lang.String getServiceName();
/**
*
* Name of the service as specified in the service configuration. For example,
* `"pubsub.googleapis.com"`.
* See [google.api.Service][] for the definition of a service name.
*
*
* string service_name = 1;
*/
com.google.protobuf.ByteString
getServiceNameBytes();
/**
*
* Operation that describes the quota allocation.
*
*
* .google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
*/
boolean hasAllocateOperation();
/**
*
* Operation that describes the quota allocation.
*
*
* .google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
*/
com.google.api.servicecontrol.v1.QuotaOperation getAllocateOperation();
/**
*
* Operation that describes the quota allocation.
*
*
* .google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
*/
com.google.api.servicecontrol.v1.QuotaOperationOrBuilder getAllocateOperationOrBuilder();
/**
*
* Allocation mode for this operation.
* Deprecated: use QuotaMode inside the QuotaOperation.
*
*
* .google.api.servicecontrol.v1.AllocateQuotaRequest.AllocationMode allocation_mode = 3 [deprecated = true];
*/
@java.lang.Deprecated int getAllocationModeValue();
/**
*
* Allocation mode for this operation.
* Deprecated: use QuotaMode inside the QuotaOperation.
*
*
* .google.api.servicecontrol.v1.AllocateQuotaRequest.AllocationMode allocation_mode = 3 [deprecated = true];
*/
@java.lang.Deprecated com.google.api.servicecontrol.v1.AllocateQuotaRequest.AllocationMode getAllocationMode();
/**
*
* Specifies which version of service configuration should be used to process
* the request. If unspecified or no matching version can be found, the latest
* one will be used.
*
*
* string service_config_id = 4;
*/
java.lang.String getServiceConfigId();
/**
*
* Specifies which version of service configuration should be used to process
* the request. If unspecified or no matching version can be found, the latest
* one will be used.
*
*
* string service_config_id = 4;
*/
com.google.protobuf.ByteString
getServiceConfigIdBytes();
}