All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.stigg.sidecar.proto.v1.SidecarProto Maven / Gradle / Ivy

There is a newer version: 2.186.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: stigg/sidecar/v1/sidecar.proto

package io.stigg.sidecar.proto.v1;

public final class SidecarProto {
  private SidecarProto() {}

  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_stigg_sidecar_v1_EntitlementFeature_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_EntitlementFeature_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_BooleanEntitlement_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_BooleanEntitlement_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_NumericEntitlement_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_NumericEntitlement_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_MeteredEntitlement_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_MeteredEntitlement_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_Entitlement_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_Entitlement_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_GetEntitlementsRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_GetEntitlementsRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_GetEntitlementsResponse_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_GetEntitlementsResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_BooleanEntitlementFallback_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_BooleanEntitlementFallback_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_BooleanEntitlementOptions_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_BooleanEntitlementOptions_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_GetBooleanEntitlementRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_GetBooleanEntitlementRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_GetBooleanEntitlementResponse_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_GetBooleanEntitlementResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_NumericEntitlementFallback_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_NumericEntitlementFallback_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_NumericEntitlementOptions_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_NumericEntitlementOptions_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_GetNumericEntitlementRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_GetNumericEntitlementRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_GetNumericEntitlementResponse_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_GetNumericEntitlementResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_MeteredEntitlementFallback_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_MeteredEntitlementFallback_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_MeteredEntitlementOptions_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_MeteredEntitlementOptions_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_GetMeteredEntitlementRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_GetMeteredEntitlementRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_GetMeteredEntitlementResponse_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_GetMeteredEntitlementResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_RedisOptions_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_RedisOptions_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_EntitlementFallback_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_EntitlementFallback_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_ApiConfig_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_ApiConfig_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_LocalSidecarConfig_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_LocalSidecarConfig_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_LocalSidecarConfig_EntitlementsFallbackEntry_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_LocalSidecarConfig_EntitlementsFallbackEntry_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_ReportUsageRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_ReportUsageRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_EventDimensionValue_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_EventDimensionValue_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_Event_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_Event_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_Event_DimensionsEntry_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_Event_DimensionsEntry_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_ReportUsageResponse_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_ReportUsageResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_ReportEventsRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_ReportEventsRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_ReloadEntitlementsRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_ReloadEntitlementsRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_stigg_sidecar_v1_ReloadEntitlementsResponse_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_stigg_sidecar_v1_ReloadEntitlementsResponse_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\036stigg/sidecar/v1/sidecar.proto\022\020stigg."
          + "sidecar.v1\032\033google/protobuf/empty.proto\032"
          + "\037google/protobuf/timestamp.proto\"\237\002\n\022Ent"
          + "itlementFeature\022\016\n\002id\030\001 \001(\tR\002id\022@\n\014featu"
          + "re_type\030\002 \001(\0162\035.stigg.sidecar.v1.Feature"
          + "TypeR\013featureType\022\031\n\005units\030\003 \001(\tH\000R\005unit"
          + "s\210\001\001\022&\n\014units_plural\030\004 \001(\tH\001R\013unitsPlura"
          + "l\210\001\001\022:\n\nmeter_type\030\005 \001(\0162\033.stigg.sidecar"
          + ".v1.MeterTypeR\tmeterType\022\035\n\nis_metered\030\006"
          + " \001(\010R\tisMeteredB\010\n\006_unitsB\017\n\r_units_plur"
          + "al\"e\n\022BooleanEntitlement\022C\n\007feature\030\004 \001("
          + "\0132$.stigg.sidecar.v1.EntitlementFeatureH"
          + "\000R\007feature\210\001\001B\n\n\010_feature\"\255\001\n\022NumericEnt"
          + "itlement\022C\n\007feature\030\004 \001(\0132$.stigg.sideca"
          + "r.v1.EntitlementFeatureH\000R\007feature\210\001\001\022\031\n"
          + "\005value\030\005 \001(\005H\001R\005value\210\001\001\022!\n\014is_unlimited"
          + "\030\006 \001(\010R\013isUnlimitedB\n\n\010_featureB\010\n\006_valu"
          + "e\"\243\003\n\022MeteredEntitlement\022C\n\007feature\030\004 \001("
          + "\0132$.stigg.sidecar.v1.EntitlementFeatureH"
          + "\000R\007feature\210\001\001\022$\n\013usage_limit\030\005 \001(\001H\001R\nus"
          + "ageLimit\210\001\001\022!\n\014is_unlimited\030\006 \001(\010R\013isUnl"
          + "imited\022#\n\rcurrent_usage\030\007 \001(\001R\014currentUs"
          + "age\022P\n\014reset_period\030\t \001(\0162(.stigg.sideca"
          + "r.v1.EntitlementResetPeriodH\002R\013resetPeri"
          + "od\210\001\001\022G\n\017next_reset_date\030\n \001(\0132\032.google."
          + "protobuf.TimestampH\003R\rnextResetDate\210\001\001B\n"
          + "\n\010_featureB\016\n\014_usage_limitB\017\n\r_reset_per"
          + "iodB\022\n\020_next_reset_date\"\342\001\n\013Entitlement\022"
          + "@\n\007boolean\030\001 \001(\0132$.stigg.sidecar.v1.Bool"
          + "eanEntitlementH\000R\007boolean\022@\n\007numeric\030\002 \001"
          + "(\0132$.stigg.sidecar.v1.NumericEntitlement"
          + "H\000R\007numeric\022@\n\007metered\030\003 \001(\0132$.stigg.sid"
          + "ecar.v1.MeteredEntitlementH\000R\007meteredB\r\n"
          + "\013entitlement\"o\n\026GetEntitlementsRequest\022\037"
          + "\n\013customer_id\030\001 \001(\tR\ncustomerId\022$\n\013resou"
          + "rce_id\030\002 \001(\tH\000R\nresourceId\210\001\001B\016\n\014_resour"
          + "ce_id\"\\\n\027GetEntitlementsResponse\022A\n\014enti"
          + "tlements\030\001 \003(\0132\035.stigg.sidecar.v1.Entitl"
          + "ementR\014entitlements\";\n\032BooleanEntitlemen"
          + "tFallback\022\035\n\nhas_access\030\001 \001(\010R\thasAccess"
          + "\"w\n\031BooleanEntitlementOptions\022M\n\010fallbac"
          + "k\030\001 \001(\0132,.stigg.sidecar.v1.BooleanEntitl"
          + "ementFallbackH\000R\010fallback\210\001\001B\013\n\t_fallbac"
          + "k\"\354\001\n\034GetBooleanEntitlementRequest\022\037\n\013cu"
          + "stomer_id\030\001 \001(\tR\ncustomerId\022\035\n\nfeature_i"
          + "d\030\002 \001(\tR\tfeatureId\022$\n\013resource_id\030\003 \001(\tH"
          + "\000R\nresourceId\210\001\001\022J\n\007options\030\004 \001(\0132+.stig"
          + "g.sidecar.v1.BooleanEntitlementOptionsH\001"
          + "R\007options\210\001\001B\016\n\014_resource_idB\n\n\010_options"
          + "\"\235\002\n\035GetBooleanEntitlementResponse\022\035\n\nha"
          + "s_access\030\001 \001(\010R\thasAccess\022\037\n\013is_fallback"
          + "\030\002 \001(\010R\nisFallback\022[\n\024access_denied_reas"
          + "on\030\003 \001(\0162$.stigg.sidecar.v1.AccessDenied"
          + "ReasonH\000R\022accessDeniedReason\210\001\001\022F\n\013entit"
          + "lement\030\004 \001(\0132$.stigg.sidecar.v1.BooleanE"
          + "ntitlementR\013entitlementB\027\n\025_access_denie"
          + "d_reason\"\231\001\n\032NumericEntitlementFallback\022"
          + "\035\n\nhas_access\030\001 \001(\010R\thasAccess\022\031\n\005value\030"
          + "\002 \001(\005H\000R\005value\210\001\001\022&\n\014is_unlimited\030\003 \001(\010H"
          + "\001R\013isUnlimited\210\001\001B\010\n\006_valueB\017\n\r_is_unlim"
          + "ited\"w\n\031NumericEntitlementOptions\022M\n\010fal"
          + "lback\030\001 \001(\0132,.stigg.sidecar.v1.NumericEn"
          + "titlementFallbackH\000R\010fallback\210\001\001B\013\n\t_fal"
          + "lback\"\354\001\n\034GetNumericEntitlementRequest\022\037"
          + "\n\013customer_id\030\001 \001(\tR\ncustomerId\022\035\n\nfeatu"
          + "re_id\030\002 \001(\tR\tfeatureId\022$\n\013resource_id\030\003 "
          + "\001(\tH\000R\nresourceId\210\001\001\022J\n\007options\030\004 \001(\0132+."
          + "stigg.sidecar.v1.NumericEntitlementOptio"
          + "nsH\001R\007options\210\001\001B\016\n\014_resource_idB\n\n\010_opt"
          + "ions\"\235\002\n\035GetNumericEntitlementResponse\022\035"
          + "\n\nhas_access\030\001 \001(\010R\thasAccess\022\037\n\013is_fall"
          + "back\030\002 \001(\010R\nisFallback\022[\n\024access_denied_"
          + "reason\030\003 \001(\0162$.stigg.sidecar.v1.AccessDe"
          + "niedReasonH\000R\022accessDeniedReason\210\001\001\022F\n\013e"
          + "ntitlement\030\004 \001(\0132$.stigg.sidecar.v1.Nume"
          + "ricEntitlementR\013entitlementB\027\n\025_access_d"
          + "enied_reason\"\252\001\n\032MeteredEntitlementFallb"
          + "ack\022\035\n\nhas_access\030\001 \001(\010R\thasAccess\022$\n\013us"
          + "age_limit\030\002 \001(\001H\000R\nusageLimit\210\001\001\022&\n\014is_u"
          + "nlimited\030\003 \001(\010H\001R\013isUnlimited\210\001\001B\016\n\014_usa"
          + "ge_limitB\017\n\r_is_unlimited\"\271\001\n\031MeteredEnt"
          + "itlementOptions\022,\n\017requested_usage\030\001 \001(\001"
          + "H\000R\016requestedUsage\210\001\001\022M\n\010fallback\030\002 \001(\0132"
          + ",.stigg.sidecar.v1.MeteredEntitlementFal"
          + "lbackH\001R\010fallback\210\001\001B\022\n\020_requested_usage"
          + "B\013\n\t_fallback\"\354\001\n\034GetMeteredEntitlementR"
          + "equest\022\037\n\013customer_id\030\001 \001(\tR\ncustomerId\022"
          + "\035\n\nfeature_id\030\002 \001(\tR\tfeatureId\022$\n\013resour"
          + "ce_id\030\003 \001(\tH\000R\nresourceId\210\001\001\022J\n\007options\030"
          + "\004 \001(\0132+.stigg.sidecar.v1.MeteredEntitlem"
          + "entOptionsH\001R\007options\210\001\001B\016\n\014_resource_id"
          + "B\n\n\010_options\"\306\002\n\035GetMeteredEntitlementRe"
          + "sponse\022\035\n\nhas_access\030\001 \001(\010R\thasAccess\022\037\n"
          + "\013is_fallback\030\002 \001(\010R\nisFallback\022[\n\024access"
          + "_denied_reason\030\003 \001(\0162$.stigg.sidecar.v1."
          + "AccessDeniedReasonH\000R\022accessDeniedReason"
          + "\210\001\001\022\'\n\017requested_usage\030\004 \001(\001R\016requestedU"
          + "sage\022F\n\013entitlement\030\005 \001(\0132$.stigg.sideca"
          + "r.v1.MeteredEntitlementR\013entitlementB\027\n\025"
          + "_access_denied_reason\"\230\002\n\014RedisOptions\022-"
          + "\n\022environment_prefix\030\001 \001(\tR\021environmentP"
          + "refix\022\027\n\004host\030\002 \001(\tH\000R\004host\210\001\001\022\027\n\004port\030\003"
          + " \001(\005H\001R\004port\210\001\001\022\023\n\002db\030\004 \001(\005H\002R\002db\210\001\001\022\037\n\010"
          + "username\030\005 \001(\tH\003R\010username\210\001\001\022\037\n\010passwor"
          + "d\030\006 \001(\tH\004R\010password\210\001\001\022\025\n\003ttl\030\007 \001(\005H\005R\003t"
          + "tl\210\001\001B\007\n\005_hostB\007\n\005_portB\005\n\003_dbB\013\n\t_usern"
          + "ameB\013\n\t_passwordB\006\n\004_ttl\"\377\001\n\023Entitlement"
          + "Fallback\022H\n\007boolean\030\001 \001(\0132,.stigg.sideca"
          + "r.v1.BooleanEntitlementFallbackH\000R\007boole"
          + "an\022H\n\007numeric\030\002 \001(\0132,.stigg.sidecar.v1.N"
          + "umericEntitlementFallbackH\000R\007numeric\022H\n\007"
          + "metered\030\003 \001(\0132,.stigg.sidecar.v1.Metered"
          + "EntitlementFallbackH\000R\007meteredB\n\n\010fallba"
          + "ck\"\277\001\n\tApiConfig\022\027\n\007api_key\030\001 \001(\tR\006apiKe"
          + "y\022\034\n\007api_url\030\002 \001(\tH\000R\006apiUrl\210\001\001\022&\n\014edge_"
          + "enabled\030\003 \001(\010H\001R\013edgeEnabled\210\001\001\022%\n\014edge_"
          + "api_url\030\004 \001(\tH\002R\nedgeApiUrl\210\001\001B\n\n\010_api_u"
          + "rlB\017\n\r_edge_enabledB\017\n\r_edge_api_url\"\347\003\n"
          + "\022LocalSidecarConfig\022\"\n\nws_enabled\030\005 \001(\010H"
          + "\000R\twsEnabled\210\001\001\022\032\n\006ws_url\030\006 \001(\tH\001R\005wsUrl"
          + "\210\001\001\0229\n\005redis\030\007 \001(\0132\036.stigg.sidecar.v1.Re"
          + "disOptionsH\002R\005redis\210\001\001\022s\n\025entitlements_f"
          + "allback\030\010 \003(\0132>.stigg.sidecar.v1.LocalSi"
          + "decarConfig.EntitlementsFallbackEntryR\024e"
          + "ntitlementsFallback\0224\n\024cache_max_size_by"
          + "tes\030\t \001(\003H\003R\021cacheMaxSizeBytes\210\001\001\032n\n\031Ent"
          + "itlementsFallbackEntry\022\020\n\003key\030\001 \001(\tR\003key"
          + "\022;\n\005value\030\002 \001(\0132%.stigg.sidecar.v1.Entit"
          + "lementFallbackR\005value:\0028\001B\r\n\013_ws_enabled"
          + "B\t\n\007_ws_urlB\010\n\006_redisB\027\n\025_cache_max_size"
          + "_bytes\"\211\002\n\022ReportUsageRequest\022\037\n\013custome"
          + "r_id\030\001 \001(\tR\ncustomerId\022$\n\013resource_id\030\002 "
          + "\001(\tH\000R\nresourceId\210\001\001\022\035\n\nfeature_id\030\003 \001(\t"
          + "R\tfeatureId\022\024\n\005value\030\004 \001(\001R\005value\022S\n\017upd"
          + "ate_behavior\030\005 \001(\0162%.stigg.sidecar.v1.Us"
          + "ageUpdateBehaviorH\001R\016updateBehavior\210\001\001B\016"
          + "\n\014_resource_idB\022\n\020_update_behavior\"\217\001\n\023E"
          + "ventDimensionValue\022#\n\014string_value\030\001 \001(\t"
          + "H\000R\013stringValue\022#\n\014number_value\030\002 \001(\001H\000R"
          + "\013numberValue\022%\n\rboolean_value\030\003 \001(\010H\000R\014b"
          + "ooleanValueB\007\n\005value\"\242\003\n\005Event\022\035\n\nevent_"
          + "name\030\001 \001(\tR\teventName\022\037\n\013customer_id\030\002 \001"
          + "(\tR\ncustomerId\022\'\n\017idempotency_key\030\003 \001(\tR"
          + "\016idempotencyKey\022$\n\013resource_id\030\004 \001(\tH\000R\n"
          + "resourceId\210\001\001\022G\n\ndimensions\030\005 \003(\0132\'.stig"
          + "g.sidecar.v1.Event.DimensionsEntryR\ndime"
          + "nsions\022=\n\ttimestamp\030\006 \001(\0132\032.google.proto"
          + "buf.TimestampH\001R\ttimestamp\210\001\001\032d\n\017Dimensi"
          + "onsEntry\022\020\n\003key\030\001 \001(\tR\003key\022;\n\005value\030\002 \001("
          + "\0132%.stigg.sidecar.v1.EventDimensionValue"
          + "R\005value:\0028\001B\016\n\014_resource_idB\014\n\n_timestam"
          + "p\"<\n\023ReportUsageResponse\022%\n\016measurement_"
          + "id\030\001 \001(\tR\rmeasurementId\"F\n\023ReportEventsR"
          + "equest\022/\n\006events\030\001 \003(\0132\027.stigg.sidecar.v"
          + "1.EventR\006events\"r\n\031ReloadEntitlementsReq"
          + "uest\022\037\n\013customer_id\030\001 \001(\tR\ncustomerId\022$\n"
          + "\013resource_id\030\002 \001(\tH\000R\nresourceId\210\001\001B\016\n\014_"
          + "resource_id\"R\n\032ReloadEntitlementsRespons"
          + "e\0224\n\026entitled_entity_exists\030\001 \001(\010R\024entit"
          + "ledEntityExists*\306\003\n\022AccessDeniedReason\022$"
          + "\n ACCESS_DENIED_REASON_UNSPECIFIED\020\000\022 \n\034"
          + "ACCESS_DENIED_REASON_UNKNOWN\020\001\022-\n)ACCESS"
          + "_DENIED_REASON_CUSTOMER_IS_ARCHIVED\020\002\022+\n"
          + "\'ACCESS_DENIED_REASON_CUSTOMER_NOT_FOUND"
          + "\020\003\0224\n0ACCESS_DENIED_REASON_CUSTOMER_RESO"
          + "URCE_NOT_FOUND\020\004\022*\n&ACCESS_DENIED_REASON"
          + "_FEATURE_NOT_FOUND\020\005\022/\n+ACCESS_DENIED_RE"
          + "ASON_NO_ACTIVE_SUBSCRIPTION\020\006\022?\n;ACCESS_"
          + "DENIED_REASON_NO_FEATURE_ENTITLEMENT_IN_"
          + "SUBSCRIPTION\020\007\0228\n4ACCESS_DENIED_REASON_R"
          + "EQUESTED_USAGE_EXCEEDING_LIMIT\020\010*^\n\013Feat"
          + "ureType\022\034\n\030FEATURE_TYPE_UNSPECIFIED\020\000\022\030\n"
          + "\024FEATURE_TYPE_BOOLEAN\020\001\022\027\n\023FEATURE_TYPE_"
          + "NUMBER\020\002*t\n\tMeterType\022\032\n\026METER_TYPE_UNSP"
          + "ECIFIED\020\000\022\023\n\017METER_TYPE_NONE\020\001\022\032\n\026METER_"
          + "TYPE_FLUCTUATING\020\002\022\032\n\026METER_TYPE_INCREME"
          + "NTAL\020\003*\361\001\n\026EntitlementResetPeriod\022(\n$ENT"
          + "ITLEMENT_RESET_PERIOD_UNSPECIFIED\020\000\022 \n\034E"
          + "NTITLEMENT_RESET_PERIOD_DAY\020\001\022!\n\035ENTITLE"
          + "MENT_RESET_PERIOD_HOUR\020\002\022\"\n\036ENTITLEMENT_"
          + "RESET_PERIOD_MONTH\020\003\022!\n\035ENTITLEMENT_RESE"
          + "T_PERIOD_WEEK\020\004\022!\n\035ENTITLEMENT_RESET_PER"
          + "IOD_YEAR\020\005*|\n\023UsageUpdateBehavior\022%\n!USA"
          + "GE_UPDATE_BEHAVIOR_UNSPECIFIED\020\000\022\037\n\033USAG"
          + "E_UPDATE_BEHAVIOR_DELTA\020\001\022\035\n\031USAGE_UPDAT"
          + "E_BEHAVIOR_SET\020\0022\202\006\n\016SidecarService\022f\n\017G"
          + "etEntitlements\022(.stigg.sidecar.v1.GetEnt"
          + "itlementsRequest\032).stigg.sidecar.v1.GetE"
          + "ntitlementsResponse\022x\n\025GetBooleanEntitle"
          + "ment\022..stigg.sidecar.v1.GetBooleanEntitl"
          + "ementRequest\032/.stigg.sidecar.v1.GetBoole"
          + "anEntitlementResponse\022x\n\025GetNumericEntit"
          + "lement\022..stigg.sidecar.v1.GetNumericEnti"
          + "tlementRequest\032/.stigg.sidecar.v1.GetNum"
          + "ericEntitlementResponse\022x\n\025GetMeteredEnt"
          + "itlement\022..stigg.sidecar.v1.GetMeteredEn"
          + "titlementRequest\032/.stigg.sidecar.v1.GetM"
          + "eteredEntitlementResponse\022Z\n\013ReportUsage"
          + "\022$.stigg.sidecar.v1.ReportUsageRequest\032%"
          + ".stigg.sidecar.v1.ReportUsageResponse\022M\n"
          + "\014ReportEvents\022%.stigg.sidecar.v1.ReportE"
          + "ventsRequest\032\026.google.protobuf.Empty\022o\n\022"
          + "ReloadEntitlements\022+.stigg.sidecar.v1.Re"
          + "loadEntitlementsRequest\032,.stigg.sidecar."
          + "v1.ReloadEntitlementsResponseB\213\001\n\031io.sti"
          + "gg.sidecar.proto.v1B\014SidecarProtoP\001\242\002\003SS"
          + "X\252\002\020Stigg.Sidecar.V1\312\002\020Stigg\\Sidecar\\V1\342"
          + "\002\034Stigg\\Sidecar\\V1\\GPBMetadata\352\002\022Stigg::"
          + "Sidecar::V1b\006proto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.protobuf.EmptyProto.getDescriptor(),
              com.google.protobuf.TimestampProto.getDescriptor(),
            });
    internal_static_stigg_sidecar_v1_EntitlementFeature_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_stigg_sidecar_v1_EntitlementFeature_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_EntitlementFeature_descriptor,
            new java.lang.String[] {
              "Id",
              "FeatureType",
              "Units",
              "UnitsPlural",
              "MeterType",
              "IsMetered",
              "Units",
              "UnitsPlural",
            });
    internal_static_stigg_sidecar_v1_BooleanEntitlement_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_stigg_sidecar_v1_BooleanEntitlement_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_BooleanEntitlement_descriptor,
            new java.lang.String[] {
              "Feature", "Feature",
            });
    internal_static_stigg_sidecar_v1_NumericEntitlement_descriptor =
        getDescriptor().getMessageTypes().get(2);
    internal_static_stigg_sidecar_v1_NumericEntitlement_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_NumericEntitlement_descriptor,
            new java.lang.String[] {
              "Feature", "Value", "IsUnlimited", "Feature", "Value",
            });
    internal_static_stigg_sidecar_v1_MeteredEntitlement_descriptor =
        getDescriptor().getMessageTypes().get(3);
    internal_static_stigg_sidecar_v1_MeteredEntitlement_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_MeteredEntitlement_descriptor,
            new java.lang.String[] {
              "Feature",
              "UsageLimit",
              "IsUnlimited",
              "CurrentUsage",
              "ResetPeriod",
              "NextResetDate",
              "Feature",
              "UsageLimit",
              "ResetPeriod",
              "NextResetDate",
            });
    internal_static_stigg_sidecar_v1_Entitlement_descriptor =
        getDescriptor().getMessageTypes().get(4);
    internal_static_stigg_sidecar_v1_Entitlement_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_Entitlement_descriptor,
            new java.lang.String[] {
              "Boolean", "Numeric", "Metered", "Entitlement",
            });
    internal_static_stigg_sidecar_v1_GetEntitlementsRequest_descriptor =
        getDescriptor().getMessageTypes().get(5);
    internal_static_stigg_sidecar_v1_GetEntitlementsRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_GetEntitlementsRequest_descriptor,
            new java.lang.String[] {
              "CustomerId", "ResourceId", "ResourceId",
            });
    internal_static_stigg_sidecar_v1_GetEntitlementsResponse_descriptor =
        getDescriptor().getMessageTypes().get(6);
    internal_static_stigg_sidecar_v1_GetEntitlementsResponse_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_GetEntitlementsResponse_descriptor,
            new java.lang.String[] {
              "Entitlements",
            });
    internal_static_stigg_sidecar_v1_BooleanEntitlementFallback_descriptor =
        getDescriptor().getMessageTypes().get(7);
    internal_static_stigg_sidecar_v1_BooleanEntitlementFallback_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_BooleanEntitlementFallback_descriptor,
            new java.lang.String[] {
              "HasAccess",
            });
    internal_static_stigg_sidecar_v1_BooleanEntitlementOptions_descriptor =
        getDescriptor().getMessageTypes().get(8);
    internal_static_stigg_sidecar_v1_BooleanEntitlementOptions_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_BooleanEntitlementOptions_descriptor,
            new java.lang.String[] {
              "Fallback", "Fallback",
            });
    internal_static_stigg_sidecar_v1_GetBooleanEntitlementRequest_descriptor =
        getDescriptor().getMessageTypes().get(9);
    internal_static_stigg_sidecar_v1_GetBooleanEntitlementRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_GetBooleanEntitlementRequest_descriptor,
            new java.lang.String[] {
              "CustomerId", "FeatureId", "ResourceId", "Options", "ResourceId", "Options",
            });
    internal_static_stigg_sidecar_v1_GetBooleanEntitlementResponse_descriptor =
        getDescriptor().getMessageTypes().get(10);
    internal_static_stigg_sidecar_v1_GetBooleanEntitlementResponse_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_GetBooleanEntitlementResponse_descriptor,
            new java.lang.String[] {
              "HasAccess", "IsFallback", "AccessDeniedReason", "Entitlement", "AccessDeniedReason",
            });
    internal_static_stigg_sidecar_v1_NumericEntitlementFallback_descriptor =
        getDescriptor().getMessageTypes().get(11);
    internal_static_stigg_sidecar_v1_NumericEntitlementFallback_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_NumericEntitlementFallback_descriptor,
            new java.lang.String[] {
              "HasAccess", "Value", "IsUnlimited", "Value", "IsUnlimited",
            });
    internal_static_stigg_sidecar_v1_NumericEntitlementOptions_descriptor =
        getDescriptor().getMessageTypes().get(12);
    internal_static_stigg_sidecar_v1_NumericEntitlementOptions_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_NumericEntitlementOptions_descriptor,
            new java.lang.String[] {
              "Fallback", "Fallback",
            });
    internal_static_stigg_sidecar_v1_GetNumericEntitlementRequest_descriptor =
        getDescriptor().getMessageTypes().get(13);
    internal_static_stigg_sidecar_v1_GetNumericEntitlementRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_GetNumericEntitlementRequest_descriptor,
            new java.lang.String[] {
              "CustomerId", "FeatureId", "ResourceId", "Options", "ResourceId", "Options",
            });
    internal_static_stigg_sidecar_v1_GetNumericEntitlementResponse_descriptor =
        getDescriptor().getMessageTypes().get(14);
    internal_static_stigg_sidecar_v1_GetNumericEntitlementResponse_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_GetNumericEntitlementResponse_descriptor,
            new java.lang.String[] {
              "HasAccess", "IsFallback", "AccessDeniedReason", "Entitlement", "AccessDeniedReason",
            });
    internal_static_stigg_sidecar_v1_MeteredEntitlementFallback_descriptor =
        getDescriptor().getMessageTypes().get(15);
    internal_static_stigg_sidecar_v1_MeteredEntitlementFallback_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_MeteredEntitlementFallback_descriptor,
            new java.lang.String[] {
              "HasAccess", "UsageLimit", "IsUnlimited", "UsageLimit", "IsUnlimited",
            });
    internal_static_stigg_sidecar_v1_MeteredEntitlementOptions_descriptor =
        getDescriptor().getMessageTypes().get(16);
    internal_static_stigg_sidecar_v1_MeteredEntitlementOptions_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_MeteredEntitlementOptions_descriptor,
            new java.lang.String[] {
              "RequestedUsage", "Fallback", "RequestedUsage", "Fallback",
            });
    internal_static_stigg_sidecar_v1_GetMeteredEntitlementRequest_descriptor =
        getDescriptor().getMessageTypes().get(17);
    internal_static_stigg_sidecar_v1_GetMeteredEntitlementRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_GetMeteredEntitlementRequest_descriptor,
            new java.lang.String[] {
              "CustomerId", "FeatureId", "ResourceId", "Options", "ResourceId", "Options",
            });
    internal_static_stigg_sidecar_v1_GetMeteredEntitlementResponse_descriptor =
        getDescriptor().getMessageTypes().get(18);
    internal_static_stigg_sidecar_v1_GetMeteredEntitlementResponse_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_GetMeteredEntitlementResponse_descriptor,
            new java.lang.String[] {
              "HasAccess",
              "IsFallback",
              "AccessDeniedReason",
              "RequestedUsage",
              "Entitlement",
              "AccessDeniedReason",
            });
    internal_static_stigg_sidecar_v1_RedisOptions_descriptor =
        getDescriptor().getMessageTypes().get(19);
    internal_static_stigg_sidecar_v1_RedisOptions_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_RedisOptions_descriptor,
            new java.lang.String[] {
              "EnvironmentPrefix",
              "Host",
              "Port",
              "Db",
              "Username",
              "Password",
              "Ttl",
              "Host",
              "Port",
              "Db",
              "Username",
              "Password",
              "Ttl",
            });
    internal_static_stigg_sidecar_v1_EntitlementFallback_descriptor =
        getDescriptor().getMessageTypes().get(20);
    internal_static_stigg_sidecar_v1_EntitlementFallback_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_EntitlementFallback_descriptor,
            new java.lang.String[] {
              "Boolean", "Numeric", "Metered", "Fallback",
            });
    internal_static_stigg_sidecar_v1_ApiConfig_descriptor =
        getDescriptor().getMessageTypes().get(21);
    internal_static_stigg_sidecar_v1_ApiConfig_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_ApiConfig_descriptor,
            new java.lang.String[] {
              "ApiKey",
              "ApiUrl",
              "EdgeEnabled",
              "EdgeApiUrl",
              "ApiUrl",
              "EdgeEnabled",
              "EdgeApiUrl",
            });
    internal_static_stigg_sidecar_v1_LocalSidecarConfig_descriptor =
        getDescriptor().getMessageTypes().get(22);
    internal_static_stigg_sidecar_v1_LocalSidecarConfig_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_LocalSidecarConfig_descriptor,
            new java.lang.String[] {
              "WsEnabled",
              "WsUrl",
              "Redis",
              "EntitlementsFallback",
              "CacheMaxSizeBytes",
              "WsEnabled",
              "WsUrl",
              "Redis",
              "CacheMaxSizeBytes",
            });
    internal_static_stigg_sidecar_v1_LocalSidecarConfig_EntitlementsFallbackEntry_descriptor =
        internal_static_stigg_sidecar_v1_LocalSidecarConfig_descriptor.getNestedTypes().get(0);
    internal_static_stigg_sidecar_v1_LocalSidecarConfig_EntitlementsFallbackEntry_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_LocalSidecarConfig_EntitlementsFallbackEntry_descriptor,
            new java.lang.String[] {
              "Key", "Value",
            });
    internal_static_stigg_sidecar_v1_ReportUsageRequest_descriptor =
        getDescriptor().getMessageTypes().get(23);
    internal_static_stigg_sidecar_v1_ReportUsageRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_ReportUsageRequest_descriptor,
            new java.lang.String[] {
              "CustomerId",
              "ResourceId",
              "FeatureId",
              "Value",
              "UpdateBehavior",
              "ResourceId",
              "UpdateBehavior",
            });
    internal_static_stigg_sidecar_v1_EventDimensionValue_descriptor =
        getDescriptor().getMessageTypes().get(24);
    internal_static_stigg_sidecar_v1_EventDimensionValue_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_EventDimensionValue_descriptor,
            new java.lang.String[] {
              "StringValue", "NumberValue", "BooleanValue", "Value",
            });
    internal_static_stigg_sidecar_v1_Event_descriptor = getDescriptor().getMessageTypes().get(25);
    internal_static_stigg_sidecar_v1_Event_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_Event_descriptor,
            new java.lang.String[] {
              "EventName",
              "CustomerId",
              "IdempotencyKey",
              "ResourceId",
              "Dimensions",
              "Timestamp",
              "ResourceId",
              "Timestamp",
            });
    internal_static_stigg_sidecar_v1_Event_DimensionsEntry_descriptor =
        internal_static_stigg_sidecar_v1_Event_descriptor.getNestedTypes().get(0);
    internal_static_stigg_sidecar_v1_Event_DimensionsEntry_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_Event_DimensionsEntry_descriptor,
            new java.lang.String[] {
              "Key", "Value",
            });
    internal_static_stigg_sidecar_v1_ReportUsageResponse_descriptor =
        getDescriptor().getMessageTypes().get(26);
    internal_static_stigg_sidecar_v1_ReportUsageResponse_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_ReportUsageResponse_descriptor,
            new java.lang.String[] {
              "MeasurementId",
            });
    internal_static_stigg_sidecar_v1_ReportEventsRequest_descriptor =
        getDescriptor().getMessageTypes().get(27);
    internal_static_stigg_sidecar_v1_ReportEventsRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_ReportEventsRequest_descriptor,
            new java.lang.String[] {
              "Events",
            });
    internal_static_stigg_sidecar_v1_ReloadEntitlementsRequest_descriptor =
        getDescriptor().getMessageTypes().get(28);
    internal_static_stigg_sidecar_v1_ReloadEntitlementsRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_ReloadEntitlementsRequest_descriptor,
            new java.lang.String[] {
              "CustomerId", "ResourceId", "ResourceId",
            });
    internal_static_stigg_sidecar_v1_ReloadEntitlementsResponse_descriptor =
        getDescriptor().getMessageTypes().get(29);
    internal_static_stigg_sidecar_v1_ReloadEntitlementsResponse_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_stigg_sidecar_v1_ReloadEntitlementsResponse_descriptor,
            new java.lang.String[] {
              "EntitledEntityExists",
            });
    com.google.protobuf.EmptyProto.getDescriptor();
    com.google.protobuf.TimestampProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy