momento 0.1.0 → 0.4.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/.release-please-manifest.json +3 -0
  3. data/.rubocop.yml +26 -1
  4. data/.ruby-version +1 -1
  5. data/.yardopts +2 -0
  6. data/CHANGELOG.md +119 -0
  7. data/CONTRIBUTING.md +6 -7
  8. data/Gemfile +1 -6
  9. data/Gemfile.lock +34 -24
  10. data/README.md +143 -38
  11. data/README.template.md +93 -0
  12. data/examples/.gitignore +1 -0
  13. data/examples/Gemfile +5 -0
  14. data/examples/README.md +34 -0
  15. data/examples/compact.rb +47 -0
  16. data/examples/example.rb +72 -0
  17. data/examples/file.rb +58 -0
  18. data/lib/README-generating-pb.txt +1 -1
  19. data/lib/momento/auth/credential_provider.rb +78 -0
  20. data/lib/momento/cache_client.rb +457 -0
  21. data/lib/momento/collection_ttl.rb +79 -0
  22. data/lib/momento/config/configuration.rb +16 -0
  23. data/lib/momento/config/configurations.rb +17 -0
  24. data/lib/momento/config/transport/grpc_configuration.rb +25 -0
  25. data/lib/momento/config/transport/static_transport_strategy.rb +12 -0
  26. data/lib/momento/config/transport/transport_strategy.rb +16 -0
  27. data/lib/momento/error/grpc_details.rb +38 -0
  28. data/lib/momento/error/transport_details.rb +20 -0
  29. data/lib/momento/error/types.rb +247 -0
  30. data/lib/momento/error.rb +54 -0
  31. data/lib/momento/error_builder.rb +50 -0
  32. data/lib/momento/exceptions.rb +7 -0
  33. data/lib/momento/generated/README.md +16 -0
  34. data/lib/momento/generated/auth_pb.rb +52 -0
  35. data/lib/momento/generated/auth_services_pb.rb +27 -0
  36. data/lib/momento/generated/cacheclient_pb.rb +203 -0
  37. data/lib/momento/generated/cacheclient_services_pb.rb +90 -0
  38. data/lib/momento/generated/cacheping_pb.rb +38 -0
  39. data/lib/momento/generated/cacheping_services_pb.rb +23 -0
  40. data/lib/momento/generated/cachepubsub_pb.rb +48 -0
  41. data/lib/momento/generated/cachepubsub_services_pb.rb +56 -0
  42. data/lib/momento/generated/common_pb.rb +44 -0
  43. data/lib/momento/generated/controlclient_pb.rb +72 -0
  44. data/lib/momento/generated/controlclient_services_pb.rb +35 -0
  45. data/lib/momento/generated/extensions_pb.rb +35 -0
  46. data/lib/momento/generated/generate_protos.sh +47 -0
  47. data/lib/momento/generated/leaderboard_pb.rb +56 -0
  48. data/lib/momento/generated/leaderboard_services_pb.rb +57 -0
  49. data/lib/momento/generated/permissionmessages_pb.rb +48 -0
  50. data/lib/momento/generated/token_pb.rb +43 -0
  51. data/lib/momento/generated/token_services_pb.rb +23 -0
  52. data/lib/momento/generated/webhook_pb.rb +49 -0
  53. data/lib/momento/generated/webhook_services_pb.rb +32 -0
  54. data/lib/momento/{create_cache_response.rb → response/control/create_cache_response.rb} +33 -24
  55. data/lib/momento/{delete_cache_response.rb → response/control/delete_cache_response.rb} +28 -21
  56. data/lib/momento/response/control/list_caches_response.rb +80 -0
  57. data/lib/momento/response/delete_response.rb +45 -0
  58. data/lib/momento/response/error.rb +10 -3
  59. data/lib/momento/response/get_response.rb +107 -0
  60. data/lib/momento/response/response.rb +67 -0
  61. data/lib/momento/response/response_builder.rb +18 -0
  62. data/lib/momento/response/set_response.rb +59 -0
  63. data/lib/momento/response/sort_order.rb +11 -0
  64. data/lib/momento/response/sorted_set/sorted_set_fetch_response.rb +107 -0
  65. data/lib/momento/response/sorted_set/sorted_set_put_element_response.rb +44 -0
  66. data/lib/momento/response/sorted_set/sorted_set_put_elements_response.rb +44 -0
  67. data/lib/momento/ttl.rb +48 -0
  68. data/lib/momento/version.rb +2 -1
  69. data/lib/momento.rb +6 -1
  70. data/momento.gemspec +6 -3
  71. data/release-please-config.json +15 -0
  72. data/sig/momento/auth/credential_provider.rbs +11 -0
  73. data/sig/momento/cache_client.rbs +12 -0
  74. data/sig/momento/collection_ttl.rbs +22 -0
  75. data/sig/momento/config/configuration.rbs +9 -0
  76. data/sig/momento/config/configurations.rbs +9 -0
  77. data/sig/momento/config/transport/grpc_configuration.rbs +7 -0
  78. data/sig/momento/config/transport/transport_strategy.rbs +7 -0
  79. data/sig/momento/list_caches_response.rbs +7 -0
  80. data/sig/momento/sorted_set_fetch_response.rbs +13 -0
  81. data/sig/momento/sorted_set_put_element_response.rbs +5 -0
  82. data/sig/momento/sorted_set_put_elements_response.rbs +5 -0
  83. metadata +127 -28
  84. data/examples/basic.rb +0 -45
  85. data/lib/momento/cacheclient_pb.rb +0 -332
  86. data/lib/momento/cacheclient_services_pb.rb +0 -42
  87. data/lib/momento/controlclient_pb.rb +0 -71
  88. data/lib/momento/controlclient_services_pb.rb +0 -29
  89. data/lib/momento/delete_response.rb +0 -33
  90. data/lib/momento/get_response.rb +0 -80
  91. data/lib/momento/list_caches_response.rb +0 -53
  92. data/lib/momento/response.rb +0 -17
  93. data/lib/momento/set_response.rb +0 -39
  94. data/lib/momento/simple_cache_client.rb +0 -204
@@ -0,0 +1,203 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
4
+ # source: cacheclient.proto
5
+
6
+ require 'google/protobuf'
7
+
8
+ require_relative 'common_pb'
9
+
10
+ descriptor_data = "\n\x11\x63\x61\x63heclient.proto\x12\x0c\x63\x61\x63he_client\x1a\x0c\x63ommon.proto\" \n\x0b_GetRequest\x12\x11\n\tcache_key\x18\x01 \x01(\x0c\"_\n\x0c_GetResponse\x12*\n\x06result\x18\x01 \x01(\x0e\x32\x1a.cache_client.ECacheResult\x12\x12\n\ncache_body\x18\x02 \x01(\x0c\x12\x0f\n\x07message\x18\x03 \x01(\t\"<\n\x10_GetBatchRequest\x12(\n\x05items\x18\x01 \x03(\x0b\x32\x19.cache_client._GetRequest\"#\n\x0e_DeleteRequest\x12\x11\n\tcache_key\x18\x01 \x01(\x0c\"\x11\n\x0f_DeleteResponse\"N\n\x0b_SetRequest\x12\x11\n\tcache_key\x18\x01 \x01(\x0c\x12\x12\n\ncache_body\x18\x02 \x01(\x0c\x12\x18\n\x10ttl_milliseconds\x18\x03 \x01(\x04\"K\n\x0c_SetResponse\x12*\n\x06result\x18\x01 \x01(\x0e\x32\x1a.cache_client.ECacheResult\x12\x0f\n\x07message\x18\x02 \x01(\t\"<\n\x10_SetBatchRequest\x12(\n\x05items\x18\x01 \x03(\x0b\x32\x19.cache_client._SetRequest\"\xd9\x02\n\r_SetIfRequest\x12\x11\n\tcache_key\x18\x01 \x01(\x0c\x12\x12\n\ncache_body\x18\x02 \x01(\x0c\x12\x18\n\x10ttl_milliseconds\x18\x03 \x01(\x04\x12\"\n\x07present\x18\x04 \x01(\x0b\x32\x0f.common.PresentH\x00\x12;\n\x15present_and_not_equal\x18\x05 \x01(\x0b\x32\x1a.common.PresentAndNotEqualH\x00\x12 \n\x06\x61\x62sent\x18\x06 \x01(\x0b\x32\x0e.common.AbsentH\x00\x12\x1e\n\x05\x65qual\x18\x07 \x01(\x0b\x32\r.common.EqualH\x00\x12\x30\n\x0f\x61\x62sent_or_equal\x18\x08 \x01(\x0b\x32\x15.common.AbsentOrEqualH\x00\x12%\n\tnot_equal\x18\t \x01(\x0b\x32\x10.common.NotEqualH\x00\x42\x0b\n\tcondition\"\xaa\x01\n\x0e_SetIfResponse\x12\x36\n\x06stored\x18\x01 \x01(\x0b\x32$.cache_client._SetIfResponse._StoredH\x00\x12=\n\nnot_stored\x18\x02 \x01(\x0b\x32'.cache_client._SetIfResponse._NotStoredH\x00\x1a\t\n\x07_Stored\x1a\x0c\n\n_NotStoredB\x08\n\x06result\"Y\n\x16_SetIfNotExistsRequest\x12\x11\n\tcache_key\x18\x01 \x01(\x0c\x12\x12\n\ncache_body\x18\x02 \x01(\x0c\x12\x18\n\x10ttl_milliseconds\x18\x03 \x01(\x04\"\xc5\x01\n\x17_SetIfNotExistsResponse\x12?\n\x06stored\x18\x01 \x01(\x0b\x32-.cache_client._SetIfNotExistsResponse._StoredH\x00\x12\x46\n\nnot_stored\x18\x02 \x01(\x0b\x32\x30.cache_client._SetIfNotExistsResponse._NotStoredH\x00\x1a\t\n\x07_Stored\x1a\x0c\n\n_NotStoredB\x08\n\x06result\"'\n\x11_KeysExistRequest\x12\x12\n\ncache_keys\x18\x01 \x03(\x0c\"$\n\x12_KeysExistResponse\x12\x0e\n\x06\x65xists\x18\x01 \x03(\x08\"P\n\x11_IncrementRequest\x12\x11\n\tcache_key\x18\x01 \x01(\x0c\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x12\x18\n\x10ttl_milliseconds\x18\x03 \x01(\x04\"#\n\x12_IncrementResponse\x12\r\n\x05value\x18\x01 \x01(\x03\"\xa1\x01\n\x11_UpdateTtlRequest\x12\x11\n\tcache_key\x18\x01 \x01(\x0c\x12\"\n\x18increase_to_milliseconds\x18\x02 \x01(\x04H\x00\x12\"\n\x18\x64\x65\x63rease_to_milliseconds\x18\x03 \x01(\x04H\x00\x12#\n\x19overwrite_to_milliseconds\x18\x04 \x01(\x04H\x00\x42\x0c\n\nupdate_ttl\"\xee\x01\n\x12_UpdateTtlResponse\x12\x34\n\x03set\x18\x01 \x01(\x0b\x32%.cache_client._UpdateTtlResponse._SetH\x00\x12;\n\x07not_set\x18\x02 \x01(\x0b\x32(.cache_client._UpdateTtlResponse._NotSetH\x00\x12<\n\x07missing\x18\x03 \x01(\x0b\x32).cache_client._UpdateTtlResponse._MissingH\x00\x1a\x06\n\x04_Set\x1a\t\n\x07_NotSet\x1a\n\n\x08_MissingB\x08\n\x06result\"'\n\x12_ItemGetTtlRequest\x12\x11\n\tcache_key\x18\x01 \x01(\x0c\"\xcd\x01\n\x13_ItemGetTtlResponse\x12\x39\n\x05\x66ound\x18\x01 \x01(\x0b\x32(.cache_client._ItemGetTtlResponse._FoundH\x00\x12=\n\x07missing\x18\x02 \x01(\x0b\x32*.cache_client._ItemGetTtlResponse._MissingH\x00\x1a&\n\x06_Found\x12\x1c\n\x14remaining_ttl_millis\x18\x01 \x01(\x04\x1a\n\n\x08_MissingB\x08\n\x06result\"(\n\x13_ItemGetTypeRequest\x12\x11\n\tcache_key\x18\x01 \x01(\x0c\"\xbd\x02\n\x14_ItemGetTypeResponse\x12:\n\x05\x66ound\x18\x01 \x01(\x0b\x32).cache_client._ItemGetTypeResponse._FoundH\x00\x12>\n\x07missing\x18\x02 \x01(\x0b\x32+.cache_client._ItemGetTypeResponse._MissingH\x00\x1aH\n\x06_Found\x12>\n\titem_type\x18\x01 \x01(\x0e\x32+.cache_client._ItemGetTypeResponse.ItemType\x1a\n\n\x08_Missing\"I\n\x08ItemType\x12\n\n\x06SCALAR\x10\x00\x12\x0e\n\nDICTIONARY\x10\x01\x12\x07\n\x03SET\x10\x02\x12\x08\n\x04LIST\x10\x03\x12\x0e\n\nSORTED_SET\x10\x04\x42\x08\n\x06result\"@\n\x15_DictionaryGetRequest\x12\x17\n\x0f\x64ictionary_name\x18\x01 \x01(\x0c\x12\x0e\n\x06\x66ields\x18\x02 \x03(\x0c\"\xea\x02\n\x16_DictionaryGetResponse\x12<\n\x05\x66ound\x18\x01 \x01(\x0b\x32+.cache_client._DictionaryGetResponse._FoundH\x00\x12@\n\x07missing\x18\x02 \x01(\x0b\x32-.cache_client._DictionaryGetResponse._MissingH\x00\x1a\\\n\x1a_DictionaryGetResponsePart\x12*\n\x06result\x18\x01 \x01(\x0e\x32\x1a.cache_client.ECacheResult\x12\x12\n\ncache_body\x18\x02 \x01(\x0c\x1aX\n\x06_Found\x12N\n\x05items\x18\x01 \x03(\x0b\x32?.cache_client._DictionaryGetResponse._DictionaryGetResponsePart\x1a\n\n\x08_MissingB\x0c\n\ndictionary\"2\n\x17_DictionaryFetchRequest\x12\x17\n\x0f\x64ictionary_name\x18\x01 \x01(\x0c\"9\n\x19_DictionaryFieldValuePair\x12\r\n\x05\x66ield\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\"\xfa\x01\n\x18_DictionaryFetchResponse\x12>\n\x05\x66ound\x18\x01 \x01(\x0b\x32-.cache_client._DictionaryFetchResponse._FoundH\x00\x12\x42\n\x07missing\x18\x02 \x01(\x0b\x32/.cache_client._DictionaryFetchResponse._MissingH\x00\x1a@\n\x06_Found\x12\x36\n\x05items\x18\x01 \x03(\x0b\x32'.cache_client._DictionaryFieldValuePair\x1a\n\n\x08_MissingB\x0c\n\ndictionary\"\x97\x01\n\x15_DictionarySetRequest\x12\x17\n\x0f\x64ictionary_name\x18\x01 \x01(\x0c\x12\x36\n\x05items\x18\x02 \x03(\x0b\x32'.cache_client._DictionaryFieldValuePair\x12\x18\n\x10ttl_milliseconds\x18\x03 \x01(\x04\x12\x13\n\x0brefresh_ttl\x18\x04 \x01(\x08\"\x18\n\x16_DictionarySetResponse\"\x84\x01\n\x1b_DictionaryIncrementRequest\x12\x17\n\x0f\x64ictionary_name\x18\x01 \x01(\x0c\x12\r\n\x05\x66ield\x18\x02 \x01(\x0c\x12\x0e\n\x06\x61mount\x18\x03 \x01(\x03\x12\x18\n\x10ttl_milliseconds\x18\x04 \x01(\x04\x12\x13\n\x0brefresh_ttl\x18\x05 \x01(\x08\"-\n\x1c_DictionaryIncrementResponse\x12\r\n\x05value\x18\x01 \x01(\x03\"\xd4\x01\n\x18_DictionaryDeleteRequest\x12\x17\n\x0f\x64ictionary_name\x18\x01 \x01(\x0c\x12;\n\x04some\x18\x02 \x01(\x0b\x32+.cache_client._DictionaryDeleteRequest.SomeH\x00\x12\x39\n\x03\x61ll\x18\x03 \x01(\x0b\x32*.cache_client._DictionaryDeleteRequest.AllH\x00\x1a\x16\n\x04Some\x12\x0e\n\x06\x66ields\x18\x01 \x03(\x0c\x1a\x05\n\x03\x41llB\x08\n\x06\x64\x65lete\"\x1b\n\x19_DictionaryDeleteResponse\"3\n\x18_DictionaryLengthRequest\x12\x17\n\x0f\x64ictionary_name\x18\x01 \x01(\x0c\"\xd5\x01\n\x19_DictionaryLengthResponse\x12?\n\x05\x66ound\x18\x01 \x01(\x0b\x32..cache_client._DictionaryLengthResponse._FoundH\x00\x12\x43\n\x07missing\x18\x02 \x01(\x0b\x32\x30.cache_client._DictionaryLengthResponse._MissingH\x00\x1a\x18\n\x06_Found\x12\x0e\n\x06length\x18\x01 \x01(\r\x1a\n\n\x08_MissingB\x0c\n\ndictionary\"$\n\x10_SetFetchRequest\x12\x10\n\x08set_name\x18\x01 \x01(\x0c\"\xb8\x01\n\x11_SetFetchResponse\x12\x37\n\x05\x66ound\x18\x01 \x01(\x0b\x32&.cache_client._SetFetchResponse._FoundH\x00\x12;\n\x07missing\x18\x02 \x01(\x0b\x32(.cache_client._SetFetchResponse._MissingH\x00\x1a\x1a\n\x06_Found\x12\x10\n\x08\x65lements\x18\x01 \x03(\x0c\x1a\n\n\x08_MissingB\x05\n\x03set\"4\n\x11_SetSampleRequest\x12\x10\n\x08set_name\x18\x01 \x01(\x0c\x12\r\n\x05limit\x18\x02 \x01(\x04\"\xbb\x01\n\x12_SetSampleResponse\x12\x38\n\x05\x66ound\x18\x01 \x01(\x0b\x32'.cache_client._SetSampleResponse._FoundH\x00\x12<\n\x07missing\x18\x02 \x01(\x0b\x32).cache_client._SetSampleResponse._MissingH\x00\x1a\x1a\n\x06_Found\x12\x10\n\x08\x65lements\x18\x01 \x03(\x0c\x1a\n\n\x08_MissingB\x05\n\x03set\"e\n\x10_SetUnionRequest\x12\x10\n\x08set_name\x18\x01 \x01(\x0c\x12\x10\n\x08\x65lements\x18\x02 \x03(\x0c\x12\x18\n\x10ttl_milliseconds\x18\x03 \x01(\x04\x12\x13\n\x0brefresh_ttl\x18\x04 \x01(\x08\"\x13\n\x11_SetUnionResponse\"\xba\x03\n\x15_SetDifferenceRequest\x12\x10\n\x08set_name\x18\x01 \x01(\x0c\x12?\n\x07minuend\x18\x02 \x01(\x0b\x32,.cache_client._SetDifferenceRequest._MinuendH\x00\x12\x45\n\nsubtrahend\x18\x03 \x01(\x0b\x32/.cache_client._SetDifferenceRequest._SubtrahendH\x00\x1a\x1c\n\x08_Minuend\x12\x10\n\x08\x65lements\x18\x01 \x03(\x0c\x1a\xda\x01\n\x0b_Subtrahend\x12\x43\n\x03set\x18\x01 \x01(\x0b\x32\x34.cache_client._SetDifferenceRequest._Subtrahend._SetH\x00\x12M\n\x08identity\x18\x02 \x01(\x0b\x32\x39.cache_client._SetDifferenceRequest._Subtrahend._IdentityH\x00\x1a\x18\n\x04_Set\x12\x10\n\x08\x65lements\x18\x01 \x03(\x0c\x1a\x0b\n\t_IdentityB\x10\n\x0esubtrahend_setB\x0c\n\ndifference\"\xb5\x01\n\x16_SetDifferenceResponse\x12<\n\x05\x66ound\x18\x01 \x01(\x0b\x32+.cache_client._SetDifferenceResponse._FoundH\x00\x12@\n\x07missing\x18\x02 \x01(\x0b\x32-.cache_client._SetDifferenceResponse._MissingH\x00\x1a\x08\n\x06_Found\x1a\n\n\x08_MissingB\x05\n\x03set\"9\n\x13_SetContainsRequest\x12\x10\n\x08set_name\x18\x01 \x01(\x0c\x12\x10\n\x08\x65lements\x18\x02 \x03(\x0c\"\xc1\x01\n\x14_SetContainsResponse\x12:\n\x05\x66ound\x18\x01 \x01(\x0b\x32).cache_client._SetContainsResponse._FoundH\x00\x12>\n\x07missing\x18\x02 \x01(\x0b\x32+.cache_client._SetContainsResponse._MissingH\x00\x1a\x1a\n\x06_Found\x12\x10\n\x08\x63ontains\x18\x01 \x03(\x08\x1a\n\n\x08_MissingB\x05\n\x03set\"%\n\x11_SetLengthRequest\x12\x10\n\x08set_name\x18\x01 \x01(\x0c\"\xb9\x01\n\x12_SetLengthResponse\x12\x38\n\x05\x66ound\x18\x01 \x01(\x0b\x32'.cache_client._SetLengthResponse._FoundH\x00\x12<\n\x07missing\x18\x02 \x01(\x0b\x32).cache_client._SetLengthResponse._MissingH\x00\x1a\x18\n\x06_Found\x12\x0e\n\x06length\x18\x01 \x01(\r\x1a\n\n\x08_MissingB\x05\n\x03set\"1\n\x0e_SetPopRequest\x12\x10\n\x08set_name\x18\x01 \x01(\x0c\x12\r\n\x05\x63ount\x18\x02 \x01(\r\"\xb2\x01\n\x0f_SetPopResponse\x12\x35\n\x05\x66ound\x18\x01 \x01(\x0b\x32$.cache_client._SetPopResponse._FoundH\x00\x12\x39\n\x07missing\x18\x02 \x01(\x0b\x32&.cache_client._SetPopResponse._MissingH\x00\x1a\x1a\n\x06_Found\x12\x10\n\x08\x65lements\x18\x01 \x03(\x0c\x1a\n\n\x08_MissingB\x05\n\x03set\"\x8f\x01\n\x1c_ListConcatenateFrontRequest\x12\x11\n\tlist_name\x18\x01 \x01(\x0c\x12\x0e\n\x06values\x18\x02 \x03(\x0c\x12\x18\n\x10ttl_milliseconds\x18\x03 \x01(\x04\x12\x13\n\x0brefresh_ttl\x18\x04 \x01(\x08\x12\x1d\n\x15truncate_back_to_size\x18\x05 \x01(\r\"4\n\x1d_ListConcatenateFrontResponse\x12\x13\n\x0blist_length\x18\x01 \x01(\r\"\x8f\x01\n\x1b_ListConcatenateBackRequest\x12\x11\n\tlist_name\x18\x01 \x01(\x0c\x12\x0e\n\x06values\x18\x02 \x03(\x0c\x12\x18\n\x10ttl_milliseconds\x18\x03 \x01(\x04\x12\x13\n\x0brefresh_ttl\x18\x04 \x01(\x08\x12\x1e\n\x16truncate_front_to_size\x18\x05 \x01(\r\"3\n\x1c_ListConcatenateBackResponse\x12\x13\n\x0blist_length\x18\x01 \x01(\r\"\x87\x01\n\x15_ListPushFrontRequest\x12\x11\n\tlist_name\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x12\x18\n\x10ttl_milliseconds\x18\x03 \x01(\x04\x12\x13\n\x0brefresh_ttl\x18\x04 \x01(\x08\x12\x1d\n\x15truncate_back_to_size\x18\x05 \x01(\r\"-\n\x16_ListPushFrontResponse\x12\x13\n\x0blist_length\x18\x01 \x01(\r\"\x87\x01\n\x14_ListPushBackRequest\x12\x11\n\tlist_name\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x12\x18\n\x10ttl_milliseconds\x18\x03 \x01(\x04\x12\x13\n\x0brefresh_ttl\x18\x04 \x01(\x08\x12\x1e\n\x16truncate_front_to_size\x18\x05 \x01(\r\",\n\x15_ListPushBackResponse\x12\x13\n\x0blist_length\x18\x01 \x01(\r\")\n\x14_ListPopFrontRequest\x12\x11\n\tlist_name\x18\x01 \x01(\x0c\"\xd7\x01\n\x15_ListPopFrontResponse\x12;\n\x05\x66ound\x18\x01 \x01(\x0b\x32*.cache_client._ListPopFrontResponse._FoundH\x00\x12?\n\x07missing\x18\x02 \x01(\x0b\x32,.cache_client._ListPopFrontResponse._MissingH\x00\x1a,\n\x06_Found\x12\r\n\x05\x66ront\x18\x01 \x01(\x0c\x12\x13\n\x0blist_length\x18\x02 \x01(\r\x1a\n\n\x08_MissingB\x06\n\x04list\"(\n\x13_ListPopBackRequest\x12\x11\n\tlist_name\x18\x01 \x01(\x0c\"\xd3\x01\n\x14_ListPopBackResponse\x12:\n\x05\x66ound\x18\x01 \x01(\x0b\x32).cache_client._ListPopBackResponse._FoundH\x00\x12>\n\x07missing\x18\x02 \x01(\x0b\x32+.cache_client._ListPopBackResponse._MissingH\x00\x1a+\n\x06_Found\x12\x0c\n\x04\x62\x61\x63k\x18\x01 \x01(\x0c\x12\x13\n\x0blist_length\x18\x02 \x01(\r\x1a\n\n\x08_MissingB\x06\n\x04list\"0\n\n_ListRange\x12\x13\n\x0b\x62\x65gin_index\x18\x01 \x01(\r\x12\r\n\x05\x63ount\x18\x02 \x01(\r\"\xe2\x01\n\x11_ListEraseRequest\x12\x11\n\tlist_name\x18\x01 \x01(\x0c\x12;\n\x04some\x18\x02 \x01(\x0b\x32+.cache_client._ListEraseRequest._ListRangesH\x00\x12\x33\n\x03\x61ll\x18\x03 \x01(\x0b\x32$.cache_client._ListEraseRequest._AllH\x00\x1a\x06\n\x04_All\x1a\x37\n\x0b_ListRanges\x12(\n\x06ranges\x18\x01 \x03(\x0b\x32\x18.cache_client._ListRangeB\x07\n\x05\x65rase\"\xbf\x01\n\x12_ListEraseResponse\x12\x38\n\x05\x66ound\x18\x01 \x01(\x0b\x32'.cache_client._ListEraseResponse._FoundH\x00\x12<\n\x07missing\x18\x02 \x01(\x0b\x32).cache_client._ListEraseResponse._MissingH\x00\x1a\x1d\n\x06_Found\x12\x13\n\x0blist_length\x18\x01 \x01(\r\x1a\n\n\x08_MissingB\x06\n\x04list\"T\n\x12_ListRemoveRequest\x12\x11\n\tlist_name\x18\x01 \x01(\x0c\x12!\n\x17\x61ll_elements_with_value\x18\x02 \x01(\x0cH\x00\x42\x08\n\x06remove\"\xc2\x01\n\x13_ListRemoveResponse\x12\x39\n\x05\x66ound\x18\x01 \x01(\x0b\x32(.cache_client._ListRemoveResponse._FoundH\x00\x12=\n\x07missing\x18\x02 \x01(\x0b\x32*.cache_client._ListRemoveResponse._MissingH\x00\x1a\x1d\n\x06_Found\x12\x13\n\x0blist_length\x18\x01 \x01(\r\x1a\n\n\x08_MissingB\x06\n\x04list\"\xd2\x01\n\x11_ListFetchRequest\x12\x11\n\tlist_name\x18\x01 \x01(\x0c\x12-\n\x0funbounded_start\x18\x02 \x01(\x0b\x32\x12.common._UnboundedH\x00\x12\x19\n\x0finclusive_start\x18\x03 \x01(\x11H\x00\x12+\n\runbounded_end\x18\x04 \x01(\x0b\x32\x12.common._UnboundedH\x01\x12\x17\n\rexclusive_end\x18\x05 \x01(\x11H\x01\x42\r\n\x0bstart_indexB\x0b\n\tend_index\"\x82\x02\n\x12_ListRetainRequest\x12\x11\n\tlist_name\x18\x01 \x01(\x0c\x12-\n\x0funbounded_start\x18\x02 \x01(\x0b\x32\x12.common._UnboundedH\x00\x12\x19\n\x0finclusive_start\x18\x03 \x01(\x11H\x00\x12+\n\runbounded_end\x18\x04 \x01(\x0b\x32\x12.common._UnboundedH\x01\x12\x17\n\rexclusive_end\x18\x05 \x01(\x11H\x01\x12\x18\n\x10ttl_milliseconds\x18\x06 \x01(\x04\x12\x13\n\x0brefresh_ttl\x18\x07 \x01(\x08\x42\r\n\x0bstart_indexB\x0b\n\tend_index\"\xc2\x01\n\x13_ListRetainResponse\x12\x39\n\x05\x66ound\x18\x01 \x01(\x0b\x32(.cache_client._ListRetainResponse._FoundH\x00\x12=\n\x07missing\x18\x02 \x01(\x0b\x32*.cache_client._ListRetainResponse._MissingH\x00\x1a\x1d\n\x06_Found\x12\x13\n\x0blist_length\x18\x01 \x01(\r\x1a\n\n\x08_MissingB\x06\n\x04list\"\xba\x01\n\x12_ListFetchResponse\x12\x38\n\x05\x66ound\x18\x01 \x01(\x0b\x32'.cache_client._ListFetchResponse._FoundH\x00\x12<\n\x07missing\x18\x02 \x01(\x0b\x32).cache_client._ListFetchResponse._MissingH\x00\x1a\x18\n\x06_Found\x12\x0e\n\x06values\x18\x01 \x03(\x0c\x1a\n\n\x08_MissingB\x06\n\x04list\"'\n\x12_ListLengthRequest\x12\x11\n\tlist_name\x18\x01 \x01(\x0c\"\xbd\x01\n\x13_ListLengthResponse\x12\x39\n\x05\x66ound\x18\x01 \x01(\x0b\x32(.cache_client._ListLengthResponse._FoundH\x00\x12=\n\x07missing\x18\x02 \x01(\x0b\x32*.cache_client._ListLengthResponse._MissingH\x00\x1a\x18\n\x06_Found\x12\x0e\n\x06length\x18\x01 \x01(\r\x1a\n\n\x08_MissingB\x06\n\x04list\"1\n\x11_SortedSetElement\x12\r\n\x05value\x18\x01 \x01(\x0c\x12\r\n\x05score\x18\x02 \x01(\x01\"\x8a\x01\n\x14_SortedSetPutRequest\x12\x10\n\x08set_name\x18\x01 \x01(\x0c\x12\x31\n\x08\x65lements\x18\x02 \x03(\x0b\x32\x1f.cache_client._SortedSetElement\x12\x18\n\x10ttl_milliseconds\x18\x03 \x01(\x04\x12\x13\n\x0brefresh_ttl\x18\x04 \x01(\x08\"\x17\n\x15_SortedSetPutResponse\"\xc0\x06\n\x16_SortedSetFetchRequest\x12\x10\n\x08set_name\x18\x01 \x01(\x0c\x12\x39\n\x05order\x18\x02 \x01(\x0e\x32*.cache_client._SortedSetFetchRequest.Order\x12\x13\n\x0bwith_scores\x18\x03 \x01(\x08\x12\x41\n\x08\x62y_index\x18\x04 \x01(\x0b\x32-.cache_client._SortedSetFetchRequest._ByIndexH\x00\x12\x41\n\x08\x62y_score\x18\x05 \x01(\x0b\x32-.cache_client._SortedSetFetchRequest._ByScoreH\x00\x1a\xb6\x01\n\x08_ByIndex\x12-\n\x0funbounded_start\x18\x01 \x01(\x0b\x32\x12.common._UnboundedH\x00\x12\x1f\n\x15inclusive_start_index\x18\x02 \x01(\x11H\x00\x12+\n\runbounded_end\x18\x03 \x01(\x0b\x32\x12.common._UnboundedH\x01\x12\x1d\n\x13\x65xclusive_end_index\x18\x04 \x01(\x11H\x01\x42\x07\n\x05startB\x05\n\x03\x65nd\x1a\xd3\x02\n\x08_ByScore\x12+\n\runbounded_min\x18\x01 \x01(\x0b\x32\x12.common._UnboundedH\x00\x12I\n\tmin_score\x18\x02 \x01(\x0b\x32\x34.cache_client._SortedSetFetchRequest._ByScore._ScoreH\x00\x12+\n\runbounded_max\x18\x03 \x01(\x0b\x32\x12.common._UnboundedH\x01\x12I\n\tmax_score\x18\x04 \x01(\x0b\x32\x34.cache_client._SortedSetFetchRequest._ByScore._ScoreH\x01\x12\x0e\n\x06offset\x18\x05 \x01(\r\x12\r\n\x05\x63ount\x18\x06 \x01(\x11\x1a*\n\x06_Score\x12\r\n\x05score\x18\x01 \x01(\x01\x12\x11\n\texclusive\x18\x02 \x01(\x08\x42\x05\n\x03minB\x05\n\x03max\"&\n\x05Order\x12\r\n\tASCENDING\x10\x00\x12\x0e\n\nDESCENDING\x10\x01\x42\x07\n\x05range\"\xd5\x03\n\x17_SortedSetFetchResponse\x12=\n\x05\x66ound\x18\x01 \x01(\x0b\x32,.cache_client._SortedSetFetchResponse._FoundH\x00\x12\x41\n\x07missing\x18\x02 \x01(\x0b\x32..cache_client._SortedSetFetchResponse._MissingH\x00\x1a\x9d\x02\n\x06_Found\x12\\\n\x12values_with_scores\x18\x01 \x01(\x0b\x32>.cache_client._SortedSetFetchResponse._Found._ValuesWithScoresH\x00\x12\x46\n\x06values\x18\x02 \x01(\x0b\x32\x34.cache_client._SortedSetFetchResponse._Found._ValuesH\x00\x1a\x46\n\x11_ValuesWithScores\x12\x31\n\x08\x65lements\x18\x01 \x03(\x0b\x32\x1f.cache_client._SortedSetElement\x1a\x19\n\x07_Values\x12\x0e\n\x06values\x18\x01 \x03(\x0c\x42\n\n\x08\x65lements\x1a\n\n\x08_MissingB\x0c\n\nsorted_set\"=\n\x19_SortedSetGetScoreRequest\x12\x10\n\x08set_name\x18\x01 \x01(\x0c\x12\x0e\n\x06values\x18\x02 \x03(\x0c\"\xa4\x03\n\x1a_SortedSetGetScoreResponse\x12I\n\x05\x66ound\x18\x01 \x01(\x0b\x32\x38.cache_client._SortedSetGetScoreResponse._SortedSetFoundH\x00\x12M\n\x07missing\x18\x02 \x01(\x0b\x32:.cache_client._SortedSetGetScoreResponse._SortedSetMissingH\x00\x1a[\n\x1e_SortedSetGetScoreResponsePart\x12*\n\x06result\x18\x01 \x01(\x0e\x32\x1a.cache_client.ECacheResult\x12\r\n\x05score\x18\x02 \x01(\x01\x1al\n\x0f_SortedSetFound\x12Y\n\x08\x65lements\x18\x01 \x03(\x0b\x32G.cache_client._SortedSetGetScoreResponse._SortedSetGetScoreResponsePart\x1a\x13\n\x11_SortedSetMissingB\x0c\n\nsorted_set\"\xd7\x01\n\x17_SortedSetRemoveRequest\x12\x10\n\x08set_name\x18\x01 \x01(\x0c\x12\x39\n\x03\x61ll\x18\x02 \x01(\x0b\x32*.cache_client._SortedSetRemoveRequest._AllH\x00\x12;\n\x04some\x18\x03 \x01(\x0b\x32+.cache_client._SortedSetRemoveRequest._SomeH\x00\x1a\x06\n\x04_All\x1a\x17\n\x05_Some\x12\x0e\n\x06values\x18\x01 \x03(\x0c\x42\x11\n\x0fremove_elements\"\x1a\n\x18_SortedSetRemoveResponse\"|\n\x1a_SortedSetIncrementRequest\x12\x10\n\x08set_name\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x12\x0e\n\x06\x61mount\x18\x03 \x01(\x01\x12\x18\n\x10ttl_milliseconds\x18\x04 \x01(\x04\x12\x13\n\x0brefresh_ttl\x18\x05 \x01(\x08\",\n\x1b_SortedSetIncrementResponse\x12\r\n\x05score\x18\x01 \x01(\x01\"\xa0\x01\n\x18_SortedSetGetRankRequest\x12\x10\n\x08set_name\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x12;\n\x05order\x18\x03 \x01(\x0e\x32,.cache_client._SortedSetGetRankRequest.Order\"&\n\x05Order\x12\r\n\tASCENDING\x10\x00\x12\x0e\n\nDESCENDING\x10\x01\"\xa8\x02\n\x19_SortedSetGetRankResponse\x12Q\n\x0c\x65lement_rank\x18\x01 \x01(\x0b\x32\x39.cache_client._SortedSetGetRankResponse._RankResponsePartH\x00\x12L\n\x07missing\x18\x02 \x01(\x0b\x32\x39.cache_client._SortedSetGetRankResponse._SortedSetMissingH\x00\x1aM\n\x11_RankResponsePart\x12*\n\x06result\x18\x01 \x01(\x0e\x32\x1a.cache_client.ECacheResult\x12\x0c\n\x04rank\x18\x02 \x01(\x04\x1a\x13\n\x11_SortedSetMissingB\x06\n\x04rank\"+\n\x17_SortedSetLengthRequest\x12\x10\n\x08set_name\x18\x01 \x01(\x0c\"\xd2\x01\n\x18_SortedSetLengthResponse\x12>\n\x05\x66ound\x18\x01 \x01(\x0b\x32-.cache_client._SortedSetLengthResponse._FoundH\x00\x12\x42\n\x07missing\x18\x02 \x01(\x0b\x32/.cache_client._SortedSetLengthResponse._MissingH\x00\x1a\x18\n\x06_Found\x12\x0e\n\x06length\x18\x01 \x01(\r\x1a\n\n\x08_MissingB\x0c\n\nsorted_set\"\xfe\x01\n\x1e_SortedSetLengthByScoreRequest\x12\x10\n\x08set_name\x18\x01 \x01(\x0c\x12\x17\n\rinclusive_min\x18\x02 \x01(\x01H\x00\x12\x17\n\rexclusive_min\x18\x03 \x01(\x01H\x00\x12+\n\runbounded_min\x18\x04 \x01(\x0b\x32\x12.common._UnboundedH\x00\x12\x17\n\rinclusive_max\x18\x05 \x01(\x01H\x01\x12\x17\n\rexclusive_max\x18\x06 \x01(\x01H\x01\x12+\n\runbounded_max\x18\x07 \x01(\x0b\x32\x12.common._UnboundedH\x01\x42\x05\n\x03minB\x05\n\x03max\"\xe7\x01\n\x1f_SortedSetLengthByScoreResponse\x12\x45\n\x05\x66ound\x18\x01 \x01(\x0b\x32\x34.cache_client._SortedSetLengthByScoreResponse._FoundH\x00\x12I\n\x07missing\x18\x02 \x01(\x0b\x32\x36.cache_client._SortedSetLengthByScoreResponse._MissingH\x00\x1a\x18\n\x06_Found\x12\x0e\n\x06length\x18\x01 \x01(\r\x1a\n\n\x08_MissingB\x0c\n\nsorted_set*<\n\x0c\x45\x43\x61\x63heResult\x12\x0b\n\x07Invalid\x10\x00\x12\x06\n\x02Ok\x10\x01\x12\x07\n\x03Hit\x10\x02\x12\x08\n\x04Miss\x10\x03\"\x04\x08\x04\x10\x06\x32\xff\x1e\n\x03Scs\x12>\n\x03Get\x12\x19.cache_client._GetRequest\x1a\x1a.cache_client._GetResponse\"\x00\x12J\n\x08GetBatch\x12\x1e.cache_client._GetBatchRequest\x1a\x1a.cache_client._GetResponse\"\x00\x30\x01\x12>\n\x03Set\x12\x19.cache_client._SetRequest\x1a\x1a.cache_client._SetResponse\"\x00\x12J\n\x08SetBatch\x12\x1e.cache_client._SetBatchRequest\x1a\x1a.cache_client._SetResponse\"\x00\x30\x01\x12\x44\n\x05SetIf\x12\x1b.cache_client._SetIfRequest\x1a\x1c.cache_client._SetIfResponse\"\x00\x12\x62\n\x0eSetIfNotExists\x12$.cache_client._SetIfNotExistsRequest\x1a%.cache_client._SetIfNotExistsResponse\"\x03\x88\x02\x01\x12G\n\x06\x44\x65lete\x12\x1c.cache_client._DeleteRequest\x1a\x1d.cache_client._DeleteResponse\"\x00\x12P\n\tKeysExist\x12\x1f.cache_client._KeysExistRequest\x1a .cache_client._KeysExistResponse\"\x00\x12P\n\tIncrement\x12\x1f.cache_client._IncrementRequest\x1a .cache_client._IncrementResponse\"\x00\x12P\n\tUpdateTtl\x12\x1f.cache_client._UpdateTtlRequest\x1a .cache_client._UpdateTtlResponse\"\x00\x12S\n\nItemGetTtl\x12 .cache_client._ItemGetTtlRequest\x1a!.cache_client._ItemGetTtlResponse\"\x00\x12V\n\x0bItemGetType\x12!.cache_client._ItemGetTypeRequest\x1a\".cache_client._ItemGetTypeResponse\"\x00\x12\\\n\rDictionaryGet\x12#.cache_client._DictionaryGetRequest\x1a$.cache_client._DictionaryGetResponse\"\x00\x12\x62\n\x0f\x44ictionaryFetch\x12%.cache_client._DictionaryFetchRequest\x1a&.cache_client._DictionaryFetchResponse\"\x00\x12\\\n\rDictionarySet\x12#.cache_client._DictionarySetRequest\x1a$.cache_client._DictionarySetResponse\"\x00\x12n\n\x13\x44ictionaryIncrement\x12).cache_client._DictionaryIncrementRequest\x1a*.cache_client._DictionaryIncrementResponse\"\x00\x12\x65\n\x10\x44ictionaryDelete\x12&.cache_client._DictionaryDeleteRequest\x1a'.cache_client._DictionaryDeleteResponse\"\x00\x12\x65\n\x10\x44ictionaryLength\x12&.cache_client._DictionaryLengthRequest\x1a'.cache_client._DictionaryLengthResponse\"\x00\x12M\n\x08SetFetch\x12\x1e.cache_client._SetFetchRequest\x1a\x1f.cache_client._SetFetchResponse\"\x00\x12P\n\tSetSample\x12\x1f.cache_client._SetSampleRequest\x1a .cache_client._SetSampleResponse\"\x00\x12M\n\x08SetUnion\x12\x1e.cache_client._SetUnionRequest\x1a\x1f.cache_client._SetUnionResponse\"\x00\x12\\\n\rSetDifference\x12#.cache_client._SetDifferenceRequest\x1a$.cache_client._SetDifferenceResponse\"\x00\x12V\n\x0bSetContains\x12!.cache_client._SetContainsRequest\x1a\".cache_client._SetContainsResponse\"\x00\x12P\n\tSetLength\x12\x1f.cache_client._SetLengthRequest\x1a .cache_client._SetLengthResponse\"\x00\x12G\n\x06SetPop\x12\x1c.cache_client._SetPopRequest\x1a\x1d.cache_client._SetPopResponse\"\x00\x12\\\n\rListPushFront\x12#.cache_client._ListPushFrontRequest\x1a$.cache_client._ListPushFrontResponse\"\x00\x12Y\n\x0cListPushBack\x12\".cache_client._ListPushBackRequest\x1a#.cache_client._ListPushBackResponse\"\x00\x12Y\n\x0cListPopFront\x12\".cache_client._ListPopFrontRequest\x1a#.cache_client._ListPopFrontResponse\"\x00\x12V\n\x0bListPopBack\x12!.cache_client._ListPopBackRequest\x1a\".cache_client._ListPopBackResponse\"\x00\x12P\n\tListErase\x12\x1f.cache_client._ListEraseRequest\x1a .cache_client._ListEraseResponse\"\x00\x12S\n\nListRemove\x12 .cache_client._ListRemoveRequest\x1a!.cache_client._ListRemoveResponse\"\x00\x12P\n\tListFetch\x12\x1f.cache_client._ListFetchRequest\x1a .cache_client._ListFetchResponse\"\x00\x12S\n\nListLength\x12 .cache_client._ListLengthRequest\x1a!.cache_client._ListLengthResponse\"\x00\x12q\n\x14ListConcatenateFront\x12*.cache_client._ListConcatenateFrontRequest\x1a+.cache_client._ListConcatenateFrontResponse\"\x00\x12n\n\x13ListConcatenateBack\x12).cache_client._ListConcatenateBackRequest\x1a*.cache_client._ListConcatenateBackResponse\"\x00\x12S\n\nListRetain\x12 .cache_client._ListRetainRequest\x1a!.cache_client._ListRetainResponse\"\x00\x12Y\n\x0cSortedSetPut\x12\".cache_client._SortedSetPutRequest\x1a#.cache_client._SortedSetPutResponse\"\x00\x12_\n\x0eSortedSetFetch\x12$.cache_client._SortedSetFetchRequest\x1a%.cache_client._SortedSetFetchResponse\"\x00\x12h\n\x11SortedSetGetScore\x12'.cache_client._SortedSetGetScoreRequest\x1a(.cache_client._SortedSetGetScoreResponse\"\x00\x12\x62\n\x0fSortedSetRemove\x12%.cache_client._SortedSetRemoveRequest\x1a&.cache_client._SortedSetRemoveResponse\"\x00\x12k\n\x12SortedSetIncrement\x12(.cache_client._SortedSetIncrementRequest\x1a).cache_client._SortedSetIncrementResponse\"\x00\x12\x65\n\x10SortedSetGetRank\x12&.cache_client._SortedSetGetRankRequest\x1a'.cache_client._SortedSetGetRankResponse\"\x00\x12\x62\n\x0fSortedSetLength\x12%.cache_client._SortedSetLengthRequest\x1a&.cache_client._SortedSetLengthResponse\"\x00\x12w\n\x16SortedSetLengthByScore\x12,.cache_client._SortedSetLengthByScoreRequest\x1a-.cache_client._SortedSetLengthByScoreResponse\"\x00\x42\x64\n\x11grpc.cache_clientP\x01Z0github.com/momentohq/client-sdk-go;client_sdk_go\xaa\x02\x1aMomento.Protos.CacheClientb\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError
17
+ # Compatibility code: will be removed in the next major version.
18
+ require_relative 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ["common.Present", "common.proto"]
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
31
+ end
32
+ end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
35
+ end
36
+
37
+ module MomentoProtos
38
+ module CacheClient
39
+ PB__GetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._GetRequest").msgclass
40
+ PB__GetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._GetResponse").msgclass
41
+ PB__GetBatchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._GetBatchRequest").msgclass
42
+ PB__DeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DeleteRequest").msgclass
43
+ PB__DeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DeleteResponse").msgclass
44
+ PB__SetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetRequest").msgclass
45
+ PB__SetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetResponse").msgclass
46
+ PB__SetBatchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetBatchRequest").msgclass
47
+ PB__SetIfRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetIfRequest").msgclass
48
+ PB__SetIfResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetIfResponse").msgclass
49
+ PB__SetIfResponse::PB__Stored = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetIfResponse._Stored").msgclass
50
+ PB__SetIfResponse::PB__NotStored = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetIfResponse._NotStored").msgclass
51
+ PB__SetIfNotExistsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetIfNotExistsRequest").msgclass
52
+ PB__SetIfNotExistsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetIfNotExistsResponse").msgclass
53
+ PB__SetIfNotExistsResponse::PB__Stored = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetIfNotExistsResponse._Stored").msgclass
54
+ PB__SetIfNotExistsResponse::PB__NotStored = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetIfNotExistsResponse._NotStored").msgclass
55
+ PB__KeysExistRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._KeysExistRequest").msgclass
56
+ PB__KeysExistResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._KeysExistResponse").msgclass
57
+ PB__IncrementRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._IncrementRequest").msgclass
58
+ PB__IncrementResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._IncrementResponse").msgclass
59
+ PB__UpdateTtlRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._UpdateTtlRequest").msgclass
60
+ PB__UpdateTtlResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._UpdateTtlResponse").msgclass
61
+ PB__UpdateTtlResponse::PB__Set = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._UpdateTtlResponse._Set").msgclass
62
+ PB__UpdateTtlResponse::PB__NotSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._UpdateTtlResponse._NotSet").msgclass
63
+ PB__UpdateTtlResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._UpdateTtlResponse._Missing").msgclass
64
+ PB__ItemGetTtlRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ItemGetTtlRequest").msgclass
65
+ PB__ItemGetTtlResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ItemGetTtlResponse").msgclass
66
+ PB__ItemGetTtlResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ItemGetTtlResponse._Found").msgclass
67
+ PB__ItemGetTtlResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ItemGetTtlResponse._Missing").msgclass
68
+ PB__ItemGetTypeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ItemGetTypeRequest").msgclass
69
+ PB__ItemGetTypeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ItemGetTypeResponse").msgclass
70
+ PB__ItemGetTypeResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ItemGetTypeResponse._Found").msgclass
71
+ PB__ItemGetTypeResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ItemGetTypeResponse._Missing").msgclass
72
+ PB__ItemGetTypeResponse::ItemType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ItemGetTypeResponse.ItemType").enummodule
73
+ PB__DictionaryGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionaryGetRequest").msgclass
74
+ PB__DictionaryGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionaryGetResponse").msgclass
75
+ PB__DictionaryGetResponse::PB__DictionaryGetResponsePart = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionaryGetResponse._DictionaryGetResponsePart").msgclass
76
+ PB__DictionaryGetResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionaryGetResponse._Found").msgclass
77
+ PB__DictionaryGetResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionaryGetResponse._Missing").msgclass
78
+ PB__DictionaryFetchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionaryFetchRequest").msgclass
79
+ PB__DictionaryFieldValuePair = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionaryFieldValuePair").msgclass
80
+ PB__DictionaryFetchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionaryFetchResponse").msgclass
81
+ PB__DictionaryFetchResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionaryFetchResponse._Found").msgclass
82
+ PB__DictionaryFetchResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionaryFetchResponse._Missing").msgclass
83
+ PB__DictionarySetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionarySetRequest").msgclass
84
+ PB__DictionarySetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionarySetResponse").msgclass
85
+ PB__DictionaryIncrementRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionaryIncrementRequest").msgclass
86
+ PB__DictionaryIncrementResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionaryIncrementResponse").msgclass
87
+ PB__DictionaryDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionaryDeleteRequest").msgclass
88
+ PB__DictionaryDeleteRequest::Some = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionaryDeleteRequest.Some").msgclass
89
+ PB__DictionaryDeleteRequest::All = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionaryDeleteRequest.All").msgclass
90
+ PB__DictionaryDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionaryDeleteResponse").msgclass
91
+ PB__DictionaryLengthRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionaryLengthRequest").msgclass
92
+ PB__DictionaryLengthResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionaryLengthResponse").msgclass
93
+ PB__DictionaryLengthResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionaryLengthResponse._Found").msgclass
94
+ PB__DictionaryLengthResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._DictionaryLengthResponse._Missing").msgclass
95
+ PB__SetFetchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetFetchRequest").msgclass
96
+ PB__SetFetchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetFetchResponse").msgclass
97
+ PB__SetFetchResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetFetchResponse._Found").msgclass
98
+ PB__SetFetchResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetFetchResponse._Missing").msgclass
99
+ PB__SetSampleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetSampleRequest").msgclass
100
+ PB__SetSampleResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetSampleResponse").msgclass
101
+ PB__SetSampleResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetSampleResponse._Found").msgclass
102
+ PB__SetSampleResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetSampleResponse._Missing").msgclass
103
+ PB__SetUnionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetUnionRequest").msgclass
104
+ PB__SetUnionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetUnionResponse").msgclass
105
+ PB__SetDifferenceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetDifferenceRequest").msgclass
106
+ PB__SetDifferenceRequest::PB__Minuend = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetDifferenceRequest._Minuend").msgclass
107
+ PB__SetDifferenceRequest::PB__Subtrahend = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetDifferenceRequest._Subtrahend").msgclass
108
+ PB__SetDifferenceRequest::PB__Subtrahend::PB__Set = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetDifferenceRequest._Subtrahend._Set").msgclass
109
+ PB__SetDifferenceRequest::PB__Subtrahend::PB__Identity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetDifferenceRequest._Subtrahend._Identity").msgclass
110
+ PB__SetDifferenceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetDifferenceResponse").msgclass
111
+ PB__SetDifferenceResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetDifferenceResponse._Found").msgclass
112
+ PB__SetDifferenceResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetDifferenceResponse._Missing").msgclass
113
+ PB__SetContainsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetContainsRequest").msgclass
114
+ PB__SetContainsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetContainsResponse").msgclass
115
+ PB__SetContainsResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetContainsResponse._Found").msgclass
116
+ PB__SetContainsResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetContainsResponse._Missing").msgclass
117
+ PB__SetLengthRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetLengthRequest").msgclass
118
+ PB__SetLengthResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetLengthResponse").msgclass
119
+ PB__SetLengthResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetLengthResponse._Found").msgclass
120
+ PB__SetLengthResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetLengthResponse._Missing").msgclass
121
+ PB__SetPopRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetPopRequest").msgclass
122
+ PB__SetPopResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetPopResponse").msgclass
123
+ PB__SetPopResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetPopResponse._Found").msgclass
124
+ PB__SetPopResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SetPopResponse._Missing").msgclass
125
+ PB__ListConcatenateFrontRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListConcatenateFrontRequest").msgclass
126
+ PB__ListConcatenateFrontResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListConcatenateFrontResponse").msgclass
127
+ PB__ListConcatenateBackRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListConcatenateBackRequest").msgclass
128
+ PB__ListConcatenateBackResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListConcatenateBackResponse").msgclass
129
+ PB__ListPushFrontRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListPushFrontRequest").msgclass
130
+ PB__ListPushFrontResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListPushFrontResponse").msgclass
131
+ PB__ListPushBackRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListPushBackRequest").msgclass
132
+ PB__ListPushBackResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListPushBackResponse").msgclass
133
+ PB__ListPopFrontRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListPopFrontRequest").msgclass
134
+ PB__ListPopFrontResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListPopFrontResponse").msgclass
135
+ PB__ListPopFrontResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListPopFrontResponse._Found").msgclass
136
+ PB__ListPopFrontResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListPopFrontResponse._Missing").msgclass
137
+ PB__ListPopBackRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListPopBackRequest").msgclass
138
+ PB__ListPopBackResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListPopBackResponse").msgclass
139
+ PB__ListPopBackResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListPopBackResponse._Found").msgclass
140
+ PB__ListPopBackResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListPopBackResponse._Missing").msgclass
141
+ PB__ListRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListRange").msgclass
142
+ PB__ListEraseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListEraseRequest").msgclass
143
+ PB__ListEraseRequest::PB__All = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListEraseRequest._All").msgclass
144
+ PB__ListEraseRequest::PB__ListRanges = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListEraseRequest._ListRanges").msgclass
145
+ PB__ListEraseResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListEraseResponse").msgclass
146
+ PB__ListEraseResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListEraseResponse._Found").msgclass
147
+ PB__ListEraseResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListEraseResponse._Missing").msgclass
148
+ PB__ListRemoveRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListRemoveRequest").msgclass
149
+ PB__ListRemoveResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListRemoveResponse").msgclass
150
+ PB__ListRemoveResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListRemoveResponse._Found").msgclass
151
+ PB__ListRemoveResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListRemoveResponse._Missing").msgclass
152
+ PB__ListFetchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListFetchRequest").msgclass
153
+ PB__ListRetainRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListRetainRequest").msgclass
154
+ PB__ListRetainResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListRetainResponse").msgclass
155
+ PB__ListRetainResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListRetainResponse._Found").msgclass
156
+ PB__ListRetainResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListRetainResponse._Missing").msgclass
157
+ PB__ListFetchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListFetchResponse").msgclass
158
+ PB__ListFetchResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListFetchResponse._Found").msgclass
159
+ PB__ListFetchResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListFetchResponse._Missing").msgclass
160
+ PB__ListLengthRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListLengthRequest").msgclass
161
+ PB__ListLengthResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListLengthResponse").msgclass
162
+ PB__ListLengthResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListLengthResponse._Found").msgclass
163
+ PB__ListLengthResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._ListLengthResponse._Missing").msgclass
164
+ PB__SortedSetElement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetElement").msgclass
165
+ PB__SortedSetPutRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetPutRequest").msgclass
166
+ PB__SortedSetPutResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetPutResponse").msgclass
167
+ PB__SortedSetFetchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetFetchRequest").msgclass
168
+ PB__SortedSetFetchRequest::PB__ByIndex = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetFetchRequest._ByIndex").msgclass
169
+ PB__SortedSetFetchRequest::PB__ByScore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetFetchRequest._ByScore").msgclass
170
+ PB__SortedSetFetchRequest::PB__ByScore::PB__Score = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetFetchRequest._ByScore._Score").msgclass
171
+ PB__SortedSetFetchRequest::Order = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetFetchRequest.Order").enummodule
172
+ PB__SortedSetFetchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetFetchResponse").msgclass
173
+ PB__SortedSetFetchResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetFetchResponse._Found").msgclass
174
+ PB__SortedSetFetchResponse::PB__Found::PB__ValuesWithScores = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetFetchResponse._Found._ValuesWithScores").msgclass
175
+ PB__SortedSetFetchResponse::PB__Found::PB__Values = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetFetchResponse._Found._Values").msgclass
176
+ PB__SortedSetFetchResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetFetchResponse._Missing").msgclass
177
+ PB__SortedSetGetScoreRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetGetScoreRequest").msgclass
178
+ PB__SortedSetGetScoreResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetGetScoreResponse").msgclass
179
+ PB__SortedSetGetScoreResponse::PB__SortedSetGetScoreResponsePart = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetGetScoreResponse._SortedSetGetScoreResponsePart").msgclass
180
+ PB__SortedSetGetScoreResponse::PB__SortedSetFound = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetGetScoreResponse._SortedSetFound").msgclass
181
+ PB__SortedSetGetScoreResponse::PB__SortedSetMissing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetGetScoreResponse._SortedSetMissing").msgclass
182
+ PB__SortedSetRemoveRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetRemoveRequest").msgclass
183
+ PB__SortedSetRemoveRequest::PB__All = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetRemoveRequest._All").msgclass
184
+ PB__SortedSetRemoveRequest::PB__Some = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetRemoveRequest._Some").msgclass
185
+ PB__SortedSetRemoveResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetRemoveResponse").msgclass
186
+ PB__SortedSetIncrementRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetIncrementRequest").msgclass
187
+ PB__SortedSetIncrementResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetIncrementResponse").msgclass
188
+ PB__SortedSetGetRankRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetGetRankRequest").msgclass
189
+ PB__SortedSetGetRankRequest::Order = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetGetRankRequest.Order").enummodule
190
+ PB__SortedSetGetRankResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetGetRankResponse").msgclass
191
+ PB__SortedSetGetRankResponse::PB__RankResponsePart = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetGetRankResponse._RankResponsePart").msgclass
192
+ PB__SortedSetGetRankResponse::PB__SortedSetMissing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetGetRankResponse._SortedSetMissing").msgclass
193
+ PB__SortedSetLengthRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetLengthRequest").msgclass
194
+ PB__SortedSetLengthResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetLengthResponse").msgclass
195
+ PB__SortedSetLengthResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetLengthResponse._Found").msgclass
196
+ PB__SortedSetLengthResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetLengthResponse._Missing").msgclass
197
+ PB__SortedSetLengthByScoreRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetLengthByScoreRequest").msgclass
198
+ PB__SortedSetLengthByScoreResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetLengthByScoreResponse").msgclass
199
+ PB__SortedSetLengthByScoreResponse::PB__Found = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetLengthByScoreResponse._Found").msgclass
200
+ PB__SortedSetLengthByScoreResponse::PB__Missing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._SortedSetLengthByScoreResponse._Missing").msgclass
201
+ ECacheResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client.ECacheResult").enummodule
202
+ end
203
+ end
@@ -0,0 +1,90 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: cacheclient.proto for package 'cache_client'
3
+
4
+ require 'grpc'
5
+ require_relative 'cacheclient_pb'
6
+
7
+ module MomentoProtos
8
+ module CacheClient
9
+ module Scs
10
+ class Service
11
+ include ::GRPC::GenericService
12
+
13
+ self.marshal_class_method = :encode
14
+ self.unmarshal_class_method = :decode
15
+ self.service_name = 'cache_client.Scs'
16
+
17
+ rpc :Get, ::MomentoProtos::CacheClient::PB__GetRequest, ::MomentoProtos::CacheClient::PB__GetResponse
18
+ rpc :GetBatch, ::MomentoProtos::CacheClient::PB__GetBatchRequest, stream(::MomentoProtos::CacheClient::PB__GetResponse)
19
+ rpc :Set, ::MomentoProtos::CacheClient::PB__SetRequest, ::MomentoProtos::CacheClient::PB__SetResponse
20
+ rpc :SetBatch, ::MomentoProtos::CacheClient::PB__SetBatchRequest, stream(::MomentoProtos::CacheClient::PB__SetResponse)
21
+ rpc :SetIf, ::MomentoProtos::CacheClient::PB__SetIfRequest, ::MomentoProtos::CacheClient::PB__SetIfResponse
22
+ # Deprecated because we have SetIf - Absent to cover this case.
23
+ rpc :SetIfNotExists, ::MomentoProtos::CacheClient::PB__SetIfNotExistsRequest, ::MomentoProtos::CacheClient::PB__SetIfNotExistsResponse
24
+ rpc :Delete, ::MomentoProtos::CacheClient::PB__DeleteRequest, ::MomentoProtos::CacheClient::PB__DeleteResponse
25
+ rpc :KeysExist, ::MomentoProtos::CacheClient::PB__KeysExistRequest, ::MomentoProtos::CacheClient::PB__KeysExistResponse
26
+ rpc :Increment, ::MomentoProtos::CacheClient::PB__IncrementRequest, ::MomentoProtos::CacheClient::PB__IncrementResponse
27
+ rpc :UpdateTtl, ::MomentoProtos::CacheClient::PB__UpdateTtlRequest, ::MomentoProtos::CacheClient::PB__UpdateTtlResponse
28
+ rpc :ItemGetTtl, ::MomentoProtos::CacheClient::PB__ItemGetTtlRequest, ::MomentoProtos::CacheClient::PB__ItemGetTtlResponse
29
+ rpc :ItemGetType, ::MomentoProtos::CacheClient::PB__ItemGetTypeRequest, ::MomentoProtos::CacheClient::PB__ItemGetTypeResponse
30
+ rpc :DictionaryGet, ::MomentoProtos::CacheClient::PB__DictionaryGetRequest, ::MomentoProtos::CacheClient::PB__DictionaryGetResponse
31
+ rpc :DictionaryFetch, ::MomentoProtos::CacheClient::PB__DictionaryFetchRequest, ::MomentoProtos::CacheClient::PB__DictionaryFetchResponse
32
+ rpc :DictionarySet, ::MomentoProtos::CacheClient::PB__DictionarySetRequest, ::MomentoProtos::CacheClient::PB__DictionarySetResponse
33
+ rpc :DictionaryIncrement, ::MomentoProtos::CacheClient::PB__DictionaryIncrementRequest, ::MomentoProtos::CacheClient::PB__DictionaryIncrementResponse
34
+ rpc :DictionaryDelete, ::MomentoProtos::CacheClient::PB__DictionaryDeleteRequest, ::MomentoProtos::CacheClient::PB__DictionaryDeleteResponse
35
+ rpc :DictionaryLength, ::MomentoProtos::CacheClient::PB__DictionaryLengthRequest, ::MomentoProtos::CacheClient::PB__DictionaryLengthResponse
36
+ rpc :SetFetch, ::MomentoProtos::CacheClient::PB__SetFetchRequest, ::MomentoProtos::CacheClient::PB__SetFetchResponse
37
+ rpc :SetSample, ::MomentoProtos::CacheClient::PB__SetSampleRequest, ::MomentoProtos::CacheClient::PB__SetSampleResponse
38
+ rpc :SetUnion, ::MomentoProtos::CacheClient::PB__SetUnionRequest, ::MomentoProtos::CacheClient::PB__SetUnionResponse
39
+ rpc :SetDifference, ::MomentoProtos::CacheClient::PB__SetDifferenceRequest, ::MomentoProtos::CacheClient::PB__SetDifferenceResponse
40
+ rpc :SetContains, ::MomentoProtos::CacheClient::PB__SetContainsRequest, ::MomentoProtos::CacheClient::PB__SetContainsResponse
41
+ rpc :SetLength, ::MomentoProtos::CacheClient::PB__SetLengthRequest, ::MomentoProtos::CacheClient::PB__SetLengthResponse
42
+ rpc :SetPop, ::MomentoProtos::CacheClient::PB__SetPopRequest, ::MomentoProtos::CacheClient::PB__SetPopResponse
43
+ rpc :ListPushFront, ::MomentoProtos::CacheClient::PB__ListPushFrontRequest, ::MomentoProtos::CacheClient::PB__ListPushFrontResponse
44
+ rpc :ListPushBack, ::MomentoProtos::CacheClient::PB__ListPushBackRequest, ::MomentoProtos::CacheClient::PB__ListPushBackResponse
45
+ rpc :ListPopFront, ::MomentoProtos::CacheClient::PB__ListPopFrontRequest, ::MomentoProtos::CacheClient::PB__ListPopFrontResponse
46
+ rpc :ListPopBack, ::MomentoProtos::CacheClient::PB__ListPopBackRequest, ::MomentoProtos::CacheClient::PB__ListPopBackResponse
47
+ rpc :ListErase, ::MomentoProtos::CacheClient::PB__ListEraseRequest, ::MomentoProtos::CacheClient::PB__ListEraseResponse
48
+ rpc :ListRemove, ::MomentoProtos::CacheClient::PB__ListRemoveRequest, ::MomentoProtos::CacheClient::PB__ListRemoveResponse
49
+ rpc :ListFetch, ::MomentoProtos::CacheClient::PB__ListFetchRequest, ::MomentoProtos::CacheClient::PB__ListFetchResponse
50
+ rpc :ListLength, ::MomentoProtos::CacheClient::PB__ListLengthRequest, ::MomentoProtos::CacheClient::PB__ListLengthResponse
51
+ rpc :ListConcatenateFront, ::MomentoProtos::CacheClient::PB__ListConcatenateFrontRequest, ::MomentoProtos::CacheClient::PB__ListConcatenateFrontResponse
52
+ rpc :ListConcatenateBack, ::MomentoProtos::CacheClient::PB__ListConcatenateBackRequest, ::MomentoProtos::CacheClient::PB__ListConcatenateBackResponse
53
+ rpc :ListRetain, ::MomentoProtos::CacheClient::PB__ListRetainRequest, ::MomentoProtos::CacheClient::PB__ListRetainResponse
54
+ # Sorted Set Operations
55
+ # A sorted set is a collection of elements ordered by their score.
56
+ # The elements with same score are ordered lexicographically.
57
+ #
58
+ # Add or Updates new element with its score to the Sorted Set.
59
+ # If sorted set doesn't exist, a new one is created with the specified
60
+ # element and its associated score.
61
+ # If an element exists, then its associate score gets overridden with the one
62
+ # provided in this operation.
63
+ rpc :SortedSetPut, ::MomentoProtos::CacheClient::PB__SortedSetPutRequest, ::MomentoProtos::CacheClient::PB__SortedSetPutResponse
64
+ # Fetches a subset of elements in the sorted set.
65
+ rpc :SortedSetFetch, ::MomentoProtos::CacheClient::PB__SortedSetFetchRequest, ::MomentoProtos::CacheClient::PB__SortedSetFetchResponse
66
+ # Gets the specified element and its associated score if it exists in the
67
+ # sorted set.
68
+ rpc :SortedSetGetScore, ::MomentoProtos::CacheClient::PB__SortedSetGetScoreRequest, ::MomentoProtos::CacheClient::PB__SortedSetGetScoreResponse
69
+ # Removes specified elements and their associated scores
70
+ rpc :SortedSetRemove, ::MomentoProtos::CacheClient::PB__SortedSetRemoveRequest, ::MomentoProtos::CacheClient::PB__SortedSetRemoveResponse
71
+ # Changes the score associated with the element by specified amount.
72
+ # If the provided amount is negative, then the score associated with the
73
+ # element is decremented.
74
+ # If the element that needs to be incremented isn't present in the sorted
75
+ # set, it is added with specified number as the score.
76
+ # If the set itself doesn't exist then a new one with specified element and
77
+ # score is created.
78
+ rpc :SortedSetIncrement, ::MomentoProtos::CacheClient::PB__SortedSetIncrementRequest, ::MomentoProtos::CacheClient::PB__SortedSetIncrementResponse
79
+ # Gives the rank of an element.
80
+ rpc :SortedSetGetRank, ::MomentoProtos::CacheClient::PB__SortedSetGetRankRequest, ::MomentoProtos::CacheClient::PB__SortedSetGetRankResponse
81
+ # Returns length of the sorted set
82
+ rpc :SortedSetLength, ::MomentoProtos::CacheClient::PB__SortedSetLengthRequest, ::MomentoProtos::CacheClient::PB__SortedSetLengthResponse
83
+ # Returns number of elements in the sorted set between a given min and max score
84
+ rpc :SortedSetLengthByScore, ::MomentoProtos::CacheClient::PB__SortedSetLengthByScoreRequest, ::MomentoProtos::CacheClient::PB__SortedSetLengthByScoreResponse
85
+ end
86
+
87
+ Stub = Service.rpc_stub_class
88
+ end
89
+ end
90
+ end
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
4
+ # source: cacheping.proto
5
+
6
+ require 'google/protobuf'
7
+
8
+ descriptor_data = "\n\x0f\x63\x61\x63heping.proto\x12\x0c\x63\x61\x63he_client\"\x0e\n\x0c_PingRequest\"\x0f\n\r_PingResponse2I\n\x04Ping\x12\x41\n\x04Ping\x12\x1a.cache_client._PingRequest\x1a\x1b.cache_client._PingResponse\"\x00\x42\x62\n\x11grpc.cache_clientP\x01Z0github.com/momentohq/client-sdk-go;client_sdk_go\xaa\x02\x18Momento.Protos.CachePingb\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError
15
+ # Compatibility code: will be removed in the next major version.
16
+ require_relative 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = []
23
+ imports.each do |type_name, expected_filename|
24
+ import_file = pool.lookup(type_name).file_descriptor
25
+ if import_file.name != expected_filename
26
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
27
+ end
28
+ end
29
+ warn "Each proto file must use a consistent fully-qualified name."
30
+ warn "This will become an error in the next major version."
31
+ end
32
+
33
+ module MomentoProtos
34
+ module CacheClient
35
+ PB__PingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._PingRequest").msgclass
36
+ PB__PingResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client._PingResponse").msgclass
37
+ end
38
+ end
@@ -0,0 +1,23 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: cacheping.proto for package 'cache_client'
3
+
4
+ require 'grpc'
5
+ require_relative 'cacheping_pb'
6
+
7
+ module MomentoProtos
8
+ module CacheClient
9
+ module Ping
10
+ class Service
11
+ include ::GRPC::GenericService
12
+
13
+ self.marshal_class_method = :encode
14
+ self.unmarshal_class_method = :decode
15
+ self.service_name = 'cache_client.Ping'
16
+
17
+ rpc :Ping, ::MomentoProtos::CacheClient::PB__PingRequest, ::MomentoProtos::CacheClient::PB__PingResponse
18
+ end
19
+
20
+ Stub = Service.rpc_stub_class
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,48 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
4
+ # source: cachepubsub.proto
5
+
6
+ require 'google/protobuf'
7
+
8
+ require_relative 'common_pb'
9
+ require_relative 'extensions_pb'
10
+
11
+ descriptor_data = "\n\x11\x63\x61\x63hepubsub.proto\x12\x13\x63\x61\x63he_client.pubsub\x1a\x0c\x63ommon.proto\x1a\x10\x65xtensions.proto\"k\n\x0f_PublishRequest\x12\x12\n\ncache_name\x18\x01 \x01(\t\x12\r\n\x05topic\x18\x02 \x01(\t\x12/\n\x05value\x18\x03 \x01(\x0b\x32 .cache_client.pubsub._TopicValue:\x04\x80\xb5\x18\x00\"h\n\x14_SubscriptionRequest\x12\x12\n\ncache_name\x18\x01 \x01(\t\x12\r\n\x05topic\x18\x02 \x01(\t\x12'\n\x1fresume_at_topic_sequence_number\x18\x03 \x01(\x04:\x04\x80\xb5\x18\x01\"\xc0\x01\n\x11_SubscriptionItem\x12/\n\x04item\x18\x01 \x01(\x0b\x32\x1f.cache_client.pubsub._TopicItemH\x00\x12<\n\rdiscontinuity\x18\x02 \x01(\x0b\x32#.cache_client.pubsub._DiscontinuityH\x00\x12\x34\n\theartbeat\x18\x03 \x01(\x0b\x32\x1f.cache_client.pubsub._HeartbeatH\x00\x42\x06\n\x04kind\"r\n\n_TopicItem\x12\x1d\n\x15topic_sequence_number\x18\x01 \x01(\x04\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .cache_client.pubsub._TopicValue\x12\x14\n\x0cpublisher_id\x18\x03 \x01(\t\"7\n\x0b_TopicValue\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12\x10\n\x06\x62inary\x18\x02 \x01(\x0cH\x00\x42\x06\n\x04kind\"I\n\x0e_Discontinuity\x12\x1b\n\x13last_topic_sequence\x18\x01 \x01(\x04\x12\x1a\n\x12new_topic_sequence\x18\x02 \x01(\x04\"\x0c\n\n_Heartbeat2\xab\x01\n\x06Pubsub\x12?\n\x07Publish\x12$.cache_client.pubsub._PublishRequest\x1a\x0e.common._Empty\x12`\n\tSubscribe\x12).cache_client.pubsub._SubscriptionRequest\x1a&.cache_client.pubsub._SubscriptionItem0\x01\x42r\n\x18grpc.cache_client.pubsubP\x01Z0github.com/momentohq/client-sdk-go;client_sdk_go\xaa\x02!Momento.Protos.CacheClient.Pubsubb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError
18
+ # Compatibility code: will be removed in the next major version.
19
+ require_relative 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = []
26
+ imports.each do |type_name, expected_filename|
27
+ import_file = pool.lookup(type_name).file_descriptor
28
+ if import_file.name != expected_filename
29
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
+ end
31
+ end
32
+ warn "Each proto file must use a consistent fully-qualified name."
33
+ warn "This will become an error in the next major version."
34
+ end
35
+
36
+ module MomentoProtos
37
+ module CacheClient
38
+ module Pubsub
39
+ PB__PublishRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client.pubsub._PublishRequest").msgclass
40
+ PB__SubscriptionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client.pubsub._SubscriptionRequest").msgclass
41
+ PB__SubscriptionItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client.pubsub._SubscriptionItem").msgclass
42
+ PB__TopicItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client.pubsub._TopicItem").msgclass
43
+ PB__TopicValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client.pubsub._TopicValue").msgclass
44
+ PB__Discontinuity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client.pubsub._Discontinuity").msgclass
45
+ PB__Heartbeat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cache_client.pubsub._Heartbeat").msgclass
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,56 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: cachepubsub.proto for package 'cache_client.pubsub'
3
+
4
+ require 'grpc'
5
+ require_relative 'cachepubsub_pb'
6
+
7
+ module MomentoProtos
8
+ module CacheClient
9
+ module Pubsub
10
+ module Pubsub
11
+ # For working with topics in a cache.
12
+ # Momento topics are conceptually located on a cache. They are best-effort multicast.
13
+ # To use them, create a cache then start subscribing and publishing!
14
+ #
15
+ # Momento topic subscriptions try to give you information about the quality of the
16
+ # stream you are receiving. For example, you might miss messages if your network
17
+ # is slow, or if some intermediate switch fails, or due to rate limiting. It is
18
+ # also possible, though we try to avoid it, that messages could briefly come out
19
+ # of order between subscribers.
20
+ # We try to tell you when things like this happen via a Discontinuity in your
21
+ # subscription stream. If you do not care about occasional discontinuities then
22
+ # don't bother handling them! You might still want to log them just in case ;-)
23
+ class Service
24
+ include ::GRPC::GenericService
25
+
26
+ self.marshal_class_method = :encode
27
+ self.unmarshal_class_method = :decode
28
+ self.service_name = 'cache_client.pubsub.Pubsub'
29
+
30
+ # Publish a message to a topic.
31
+ #
32
+ # If a topic has no subscribers, then the effect of Publish MAY be either of:
33
+ # * It is dropped and the topic is nonexistent.
34
+ # * It is accepted to the topic as the next message.
35
+ #
36
+ # Publish() does not wait for subscribers to accept. It returns Ok upon accepting
37
+ # the topic value. It also returns Ok if there are no subscribers and the value
38
+ # happens to be dropped. Publish() can not guarantee delivery in theory but in
39
+ # practice it should almost always deliver to subscribers.
40
+ #
41
+ # REQUIRES HEADER authorization: Momento auth token
42
+ rpc :Publish, ::MomentoProtos::CacheClient::Pubsub::PB__PublishRequest, ::Common::PB__Empty
43
+ # Subscribe to notifications from a topic.
44
+ #
45
+ # You will receive a stream of values and (hopefully occasional) discontinuities.
46
+ # Values will appear as copies of the payloads you Publish() to the topic.
47
+ #
48
+ # REQUIRES HEADER authorization: Momento auth token
49
+ rpc :Subscribe, ::MomentoProtos::CacheClient::Pubsub::PB__SubscriptionRequest, stream(::MomentoProtos::CacheClient::Pubsub::PB__SubscriptionItem)
50
+ end
51
+
52
+ Stub = Service.rpc_stub_class
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,44 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
4
+ # source: common.proto
5
+
6
+ require 'google/protobuf'
7
+
8
+ descriptor_data = "\n\x0c\x63ommon.proto\x12\x06\x63ommon\"\t\n\x07Present\",\n\x12PresentAndNotEqual\x12\x16\n\x0evalue_to_check\x18\x01 \x01(\x0c\"\x08\n\x06\x41\x62sent\"\x1f\n\x05\x45qual\x12\x16\n\x0evalue_to_check\x18\x01 \x01(\x0c\"'\n\rAbsentOrEqual\x12\x16\n\x0evalue_to_check\x18\x01 \x01(\x0c\"\"\n\x08NotEqual\x12\x16\n\x0evalue_to_check\x18\x01 \x01(\x0c\"\x0c\n\n_Unbounded\"\x08\n\x06_EmptyBY\n\x0bgrpc.commonP\x01Z0github.com/momentohq/client-sdk-go;client_sdk_go\xaa\x02\x15Momento.Protos.Commonb\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError
15
+ # Compatibility code: will be removed in the next major version.
16
+ require_relative 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = []
23
+ imports.each do |type_name, expected_filename|
24
+ import_file = pool.lookup(type_name).file_descriptor
25
+ if import_file.name != expected_filename
26
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
27
+ end
28
+ end
29
+ warn "Each proto file must use a consistent fully-qualified name."
30
+ warn "This will become an error in the next major version."
31
+ end
32
+
33
+ module MomentoProtos
34
+ module Common
35
+ Present = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.Present").msgclass
36
+ PresentAndNotEqual = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.PresentAndNotEqual").msgclass
37
+ Absent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.Absent").msgclass
38
+ Equal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.Equal").msgclass
39
+ AbsentOrEqual = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.AbsentOrEqual").msgclass
40
+ NotEqual = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.NotEqual").msgclass
41
+ PB__Unbounded = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common._Unbounded").msgclass
42
+ PB__Empty = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common._Empty").msgclass
43
+ end
44
+ end