io.envoyproxy.envoy.service.ratelimit.v2.RlsProto Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/service/ratelimit/v2/rls.proto
package io.envoyproxy.envoy.service.ratelimit.v2;
public final class RlsProto {
private RlsProto() {}
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_envoy_service_ratelimit_v2_RateLimitRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_envoy_service_ratelimit_v2_RateLimitRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_envoy_service_ratelimit_v2_RateLimitResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_envoy_service_ratelimit_v2_RateLimitResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_envoy_service_ratelimit_v2_RateLimitResponse_RateLimit_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_envoy_service_ratelimit_v2_RateLimitResponse_RateLimit_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_envoy_service_ratelimit_v2_RateLimitResponse_DescriptorStatus_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_envoy_service_ratelimit_v2_RateLimitResponse_DescriptorStatus_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n$envoy/service/ratelimit/v2/rls.proto\022\032" +
"envoy.service.ratelimit.v2\032\034envoy/api/v2" +
"/core/base.proto\032&envoy/api/v2/ratelimit" +
"/ratelimit.proto\032\036udpa/annotations/migra" +
"te.proto\032\035udpa/annotations/status.proto\"" +
"y\n\020RateLimitRequest\022\016\n\006domain\030\001 \001(\t\022@\n\013d" +
"escriptors\030\002 \003(\0132+.envoy.api.v2.ratelimi" +
"t.RateLimitDescriptor\022\023\n\013hits_addend\030\003 \001" +
"(\r\"\361\005\n\021RateLimitResponse\022H\n\014overall_code" +
"\030\001 \001(\01622.envoy.service.ratelimit.v2.Rate" +
"LimitResponse.Code\022P\n\010statuses\030\002 \003(\0132>.e" +
"nvoy.service.ratelimit.v2.RateLimitRespo" +
"nse.DescriptorStatus\022P\n\007headers\030\003 \003(\0132\036." +
"envoy.api.v2.core.HeaderValueB\037\362\230\376\217\005\031\n\027r" +
"esponse_headers_to_add\022>\n\026request_header" +
"s_to_add\030\004 \003(\0132\036.envoy.api.v2.core.Heade" +
"rValue\032\300\001\n\tRateLimit\022\014\n\004name\030\003 \001(\t\022\031\n\021re" +
"quests_per_unit\030\001 \001(\r\022J\n\004unit\030\002 \001(\0162<.en" +
"voy.service.ratelimit.v2.RateLimitRespon" +
"se.RateLimit.Unit\">\n\004Unit\022\013\n\007UNKNOWN\020\000\022\n" +
"\n\006SECOND\020\001\022\n\n\006MINUTE\020\002\022\010\n\004HOUR\020\003\022\007\n\003DAY\020" +
"\004\032\275\001\n\020DescriptorStatus\022@\n\004code\030\001 \001(\01622.e" +
"nvoy.service.ratelimit.v2.RateLimitRespo" +
"nse.Code\022N\n\rcurrent_limit\030\002 \001(\01327.envoy." +
"service.ratelimit.v2.RateLimitResponse.R" +
"ateLimit\022\027\n\017limit_remaining\030\003 \001(\r\"+\n\004Cod" +
"e\022\013\n\007UNKNOWN\020\000\022\006\n\002OK\020\001\022\016\n\nOVER_LIMIT\020\0022\204" +
"\001\n\020RateLimitService\022p\n\017ShouldRateLimit\022," +
".envoy.service.ratelimit.v2.RateLimitReq" +
"uest\032-.envoy.service.ratelimit.v2.RateLi" +
"mitResponse\"\000B\220\001\n(io.envoyproxy.envoy.se" +
"rvice.ratelimit.v2B\010RlsProtoP\001ZMgithub.c" +
"om/envoyproxy/go-control-plane/envoy/ser" +
"vice/ratelimit/v2;ratelimitv2\210\001\001\272\200\310\321\006\002\020\001" +
"b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
io.envoyproxy.envoy.api.v2.core.BaseProto.getDescriptor(),
io.envoyproxy.envoy.api.v2.ratelimit.RatelimitProto.getDescriptor(),
udpa.annotations.Migrate.getDescriptor(),
udpa.annotations.Status.getDescriptor(),
});
internal_static_envoy_service_ratelimit_v2_RateLimitRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_envoy_service_ratelimit_v2_RateLimitRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_envoy_service_ratelimit_v2_RateLimitRequest_descriptor,
new java.lang.String[] { "Domain", "Descriptors", "HitsAddend", });
internal_static_envoy_service_ratelimit_v2_RateLimitResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_envoy_service_ratelimit_v2_RateLimitResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_envoy_service_ratelimit_v2_RateLimitResponse_descriptor,
new java.lang.String[] { "OverallCode", "Statuses", "Headers", "RequestHeadersToAdd", });
internal_static_envoy_service_ratelimit_v2_RateLimitResponse_RateLimit_descriptor =
internal_static_envoy_service_ratelimit_v2_RateLimitResponse_descriptor.getNestedTypes().get(0);
internal_static_envoy_service_ratelimit_v2_RateLimitResponse_RateLimit_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_envoy_service_ratelimit_v2_RateLimitResponse_RateLimit_descriptor,
new java.lang.String[] { "Name", "RequestsPerUnit", "Unit", });
internal_static_envoy_service_ratelimit_v2_RateLimitResponse_DescriptorStatus_descriptor =
internal_static_envoy_service_ratelimit_v2_RateLimitResponse_descriptor.getNestedTypes().get(1);
internal_static_envoy_service_ratelimit_v2_RateLimitResponse_DescriptorStatus_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_envoy_service_ratelimit_v2_RateLimitResponse_DescriptorStatus_descriptor,
new java.lang.String[] { "Code", "CurrentLimit", "LimitRemaining", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(udpa.annotations.Migrate.fieldMigrate);
registry.add(udpa.annotations.Status.fileStatus);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
io.envoyproxy.envoy.api.v2.core.BaseProto.getDescriptor();
io.envoyproxy.envoy.api.v2.ratelimit.RatelimitProto.getDescriptor();
udpa.annotations.Migrate.getDescriptor();
udpa.annotations.Status.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}