com.google.api.servicecontrol.v1.QuotaControllerProto 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 final class QuotaControllerProto {
private QuotaControllerProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_api_servicecontrol_v1_AllocateQuotaRequest_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_api_servicecontrol_v1_AllocateQuotaRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_api_servicecontrol_v1_QuotaOperation_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_api_servicecontrol_v1_QuotaOperation_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_api_servicecontrol_v1_QuotaOperation_LabelsEntry_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_api_servicecontrol_v1_QuotaOperation_LabelsEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_api_servicecontrol_v1_AllocateQuotaResponse_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_api_servicecontrol_v1_AllocateQuotaResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_api_servicecontrol_v1_QuotaError_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_api_servicecontrol_v1_QuotaError_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n3google/api/servicecontrol/v1/quota_con" +
"troller.proto\022\034google.api.servicecontrol" +
".v1\032\034google/api/annotations.proto\032/googl" +
"e/api/servicecontrol/v1/metric_value.pro" +
"to\"\301\002\n\024AllocateQuotaRequest\022\024\n\014service_n" +
"ame\030\001 \001(\t\022H\n\022allocate_operation\030\002 \001(\0132,." +
"google.api.servicecontrol.v1.QuotaOperat" +
"ion\022^\n\017allocation_mode\030\003 \001(\0162A.google.ap" +
"i.servicecontrol.v1.AllocateQuotaRequest" +
".AllocationModeB\002\030\001\022\031\n\021service_config_id",
"\030\004 \001(\t\"N\n\016AllocationMode\022\017\n\013UNSPECIFIED\020" +
"\000\022\n\n\006NORMAL\020\001\022\017\n\013BEST_EFFORT\020\002\022\016\n\nCHECK_" +
"ONLY\020\003\"\245\003\n\016QuotaOperation\022\024\n\014operation_i" +
"d\030\001 \001(\t\022\023\n\013method_name\030\002 \001(\t\022\023\n\013consumer" +
"_id\030\003 \001(\t\022H\n\006labels\030\004 \003(\01328.google.api.s" +
"ervicecontrol.v1.QuotaOperation.LabelsEn" +
"try\022C\n\rquota_metrics\030\005 \003(\0132,.google.api." +
"servicecontrol.v1.MetricValueSet\022J\n\nquot" +
"a_mode\030\006 \001(\01626.google.api.servicecontrol" +
".v1.QuotaOperation.QuotaMode\032-\n\013LabelsEn",
"try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"I\n\tQ" +
"uotaMode\022\017\n\013UNSPECIFIED\020\000\022\n\n\006NORMAL\020\001\022\017\n" +
"\013BEST_EFFORT\020\002\022\016\n\nCHECK_ONLY\020\003\"\320\001\n\025Alloc" +
"ateQuotaResponse\022\024\n\014operation_id\030\001 \001(\t\022A" +
"\n\017allocate_errors\030\002 \003(\0132(.google.api.ser" +
"vicecontrol.v1.QuotaError\022C\n\rquota_metri" +
"cs\030\003 \003(\0132,.google.api.servicecontrol.v1." +
"MetricValueSet\022\031\n\021service_config_id\030\004 \001(" +
"\t\"\314\004\n\nQuotaError\022;\n\004code\030\001 \001(\0162-.google." +
"api.servicecontrol.v1.QuotaError.Code\022\017\n",
"\007subject\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\"\332\003\n\004" +
"Code\022\017\n\013UNSPECIFIED\020\000\022\026\n\022RESOURCE_EXHAUS" +
"TED\020\010\022\025\n\021PROJECT_SUSPENDED\020g\022\027\n\023SERVICE_" +
"NOT_ENABLED\020h\022\026\n\022BILLING_NOT_ACTIVE\020k\022\023\n" +
"\017PROJECT_DELETED\020l\022\023\n\017PROJECT_INVALID\020r\022" +
"\026\n\022IP_ADDRESS_BLOCKED\020m\022\023\n\017REFERER_BLOCK" +
"ED\020n\022\026\n\022CLIENT_APP_BLOCKED\020o\022\023\n\017API_KEY_" +
"INVALID\020i\022\023\n\017API_KEY_EXPIRED\020p\022\032\n\026SPATUL" +
"A_HEADER_INVALID\020s\022\025\n\021LOAS_ROLE_INVALID\020" +
"v\022\023\n\017NO_LOAS_PROJECT\020w\022\037\n\032PROJECT_STATUS",
"_UNAVAILABLE\020\254\002\022\037\n\032SERVICE_STATUS_UNAVAI" +
"LABLE\020\255\002\022\037\n\032BILLING_STATUS_UNAVAILABLE\020\256" +
"\002\022\035\n\030QUOTA_SYSTEM_UNAVAILABLE\020\257\0022\302\001\n\017Quo" +
"taController\022\256\001\n\rAllocateQuota\0222.google." +
"api.servicecontrol.v1.AllocateQuotaReque" +
"st\0323.google.api.servicecontrol.v1.Alloca" +
"teQuotaResponse\"4\202\323\344\223\002.\")/v1/services/{s" +
"ervice_name}:allocateQuota:\001*B=\n com.goo" +
"gle.api.servicecontrol.v1B\024QuotaControll" +
"erProtoP\001\370\001\001b\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.servicecontrol.v1.MetricValueSetProto.getDescriptor(),
}, assigner);
internal_static_google_api_servicecontrol_v1_AllocateQuotaRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_api_servicecontrol_v1_AllocateQuotaRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_api_servicecontrol_v1_AllocateQuotaRequest_descriptor,
new java.lang.String[] { "ServiceName", "AllocateOperation", "AllocationMode", "ServiceConfigId", });
internal_static_google_api_servicecontrol_v1_QuotaOperation_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_google_api_servicecontrol_v1_QuotaOperation_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_api_servicecontrol_v1_QuotaOperation_descriptor,
new java.lang.String[] { "OperationId", "MethodName", "ConsumerId", "Labels", "QuotaMetrics", "QuotaMode", });
internal_static_google_api_servicecontrol_v1_QuotaOperation_LabelsEntry_descriptor =
internal_static_google_api_servicecontrol_v1_QuotaOperation_descriptor.getNestedTypes().get(0);
internal_static_google_api_servicecontrol_v1_QuotaOperation_LabelsEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_api_servicecontrol_v1_QuotaOperation_LabelsEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_google_api_servicecontrol_v1_AllocateQuotaResponse_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_google_api_servicecontrol_v1_AllocateQuotaResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_api_servicecontrol_v1_AllocateQuotaResponse_descriptor,
new java.lang.String[] { "OperationId", "AllocateErrors", "QuotaMetrics", "ServiceConfigId", });
internal_static_google_api_servicecontrol_v1_QuotaError_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_google_api_servicecontrol_v1_QuotaError_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_api_servicecontrol_v1_QuotaError_descriptor,
new java.lang.String[] { "Code", "Subject", "Description", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.AnnotationsProto.http);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
com.google.api.AnnotationsProto.getDescriptor();
com.google.api.servicecontrol.v1.MetricValueSetProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}