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\027validate/validate.prot" +
"o\"y\n\020RateLimitRequest\022\016\n\006domain\030\001 \001(\t\022@\n" +
"\013descriptors\030\002 \003(\0132+.envoy.api.v2.rateli" +
"mit.RateLimitDescriptor\022\023\n\013hits_addend\030\003" +
" \001(\r\"\202\005\n\021RateLimitResponse\022H\n\014overall_co" +
"de\030\001 \001(\01622.envoy.service.ratelimit.v2.Ra" +
"teLimitResponse.Code\022P\n\010statuses\030\002 \003(\0132>" +
".envoy.service.ratelimit.v2.RateLimitRes" +
"ponse.DescriptorStatus\022/\n\007headers\030\003 \003(\0132" +
"\036.envoy.api.v2.core.HeaderValue\032\262\001\n\tRate" +
"Limit\022\031\n\021requests_per_unit\030\001 \001(\r\022J\n\004unit" +
"\030\002 \001(\0162<.envoy.service.ratelimit.v2.Rate" +
"LimitResponse.RateLimit.Unit\">\n\004Unit\022\013\n\007" +
"UNKNOWN\020\000\022\n\n\006SECOND\020\001\022\n\n\006MINUTE\020\002\022\010\n\004HOU" +
"R\020\003\022\007\n\003DAY\020\004\032\275\001\n\020DescriptorStatus\022@\n\004cod" +
"e\030\001 \001(\01622.envoy.service.ratelimit.v2.Rat" +
"eLimitResponse.Code\022N\n\rcurrent_limit\030\002 \001" +
"(\01327.envoy.service.ratelimit.v2.RateLimi" +
"tResponse.RateLimit\022\027\n\017limit_remaining\030\003" +
" \001(\r\"+\n\004Code\022\013\n\007UNKNOWN\020\000\022\006\n\002OK\020\001\022\016\n\nOVE" +
"R_LIMIT\020\0022\204\001\n\020RateLimitService\022p\n\017Should" +
"RateLimit\022,.envoy.service.ratelimit.v2.R" +
"ateLimitRequest\032-.envoy.service.ratelimi" +
"t.v2.RateLimitResponse\"\000B6\n(io.envoyprox" +
"y.envoy.service.ratelimit.v2B\010RlsProtoP\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(),
com.lyft.pgv.validate.Validate.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", });
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[] { "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", });
io.envoyproxy.envoy.api.v2.core.BaseProto.getDescriptor();
io.envoyproxy.envoy.api.v2.ratelimit.RatelimitProto.getDescriptor();
com.lyft.pgv.validate.Validate.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}