momento 0.2.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/.release-please-manifest.json +1 -1
  3. data/.rubocop.yml +14 -1
  4. data/.ruby-version +1 -1
  5. data/CHANGELOG.md +105 -0
  6. data/CONTRIBUTING.md +5 -6
  7. data/Gemfile +1 -6
  8. data/Gemfile.lock +34 -28
  9. data/README.md +64 -44
  10. data/README.template.md +30 -25
  11. data/examples/.gitignore +1 -0
  12. data/examples/Gemfile +1 -1
  13. data/examples/README.md +5 -6
  14. data/examples/compact.rb +13 -9
  15. data/examples/example.rb +24 -8
  16. data/examples/file.rb +7 -6
  17. data/lib/README-generating-pb.txt +1 -1
  18. data/lib/momento/auth/credential_provider.rb +78 -0
  19. data/lib/momento/cache_client.rb +478 -0
  20. data/lib/momento/collection_ttl.rb +79 -0
  21. data/lib/momento/config/configuration.rb +42 -0
  22. data/lib/momento/config/configurations.rb +24 -0
  23. data/lib/momento/config/transport/grpc_configuration.rb +35 -0
  24. data/lib/momento/config/transport/static_transport_strategy.rb +12 -0
  25. data/lib/momento/config/transport/transport_strategy.rb +16 -0
  26. data/lib/momento/error/types.rb +22 -0
  27. data/lib/momento/generated/README.md +16 -0
  28. data/lib/momento/generated/auth_pb.rb +52 -0
  29. data/lib/momento/generated/auth_services_pb.rb +27 -0
  30. data/lib/momento/generated/cacheclient_pb.rb +203 -0
  31. data/lib/momento/generated/cacheclient_services_pb.rb +90 -0
  32. data/lib/momento/generated/cacheping_pb.rb +38 -0
  33. data/lib/momento/generated/cacheping_services_pb.rb +23 -0
  34. data/lib/momento/generated/cachepubsub_pb.rb +48 -0
  35. data/lib/momento/generated/cachepubsub_services_pb.rb +56 -0
  36. data/lib/momento/generated/common_pb.rb +44 -0
  37. data/lib/momento/generated/controlclient_pb.rb +72 -0
  38. data/lib/momento/generated/controlclient_services_pb.rb +35 -0
  39. data/lib/momento/generated/extensions_pb.rb +35 -0
  40. data/lib/momento/generated/generate_protos.sh +47 -0
  41. data/lib/momento/generated/leaderboard_pb.rb +56 -0
  42. data/lib/momento/generated/leaderboard_services_pb.rb +57 -0
  43. data/lib/momento/generated/permissionmessages_pb.rb +48 -0
  44. data/lib/momento/generated/token_pb.rb +43 -0
  45. data/lib/momento/generated/token_services_pb.rb +23 -0
  46. data/lib/momento/generated/webhook_pb.rb +49 -0
  47. data/lib/momento/generated/webhook_services_pb.rb +32 -0
  48. data/lib/momento/response/control/create_cache_response.rb +61 -0
  49. data/lib/momento/{delete_cache_response_builder.rb → response/control/delete_cache_response.rb} +24 -3
  50. data/lib/momento/response/control/list_caches_response.rb +80 -0
  51. data/lib/momento/{delete_response_builder.rb → response/delete_response.rb} +24 -2
  52. data/lib/momento/{get_response.rb → response/get_response.rb} +39 -9
  53. data/lib/momento/{response.rb → response/response.rb} +11 -14
  54. data/lib/momento/response/set_response.rb +59 -0
  55. data/lib/momento/response/sort_order.rb +11 -0
  56. data/lib/momento/response/sorted_set/sorted_set_fetch_response.rb +107 -0
  57. data/lib/momento/response/sorted_set/sorted_set_put_element_response.rb +44 -0
  58. data/lib/momento/response/sorted_set/sorted_set_put_elements_response.rb +44 -0
  59. data/lib/momento/version.rb +1 -1
  60. data/lib/momento.rb +6 -1
  61. data/momento.gemspec +5 -3
  62. data/release-please-config.json +1 -1
  63. data/sig/momento/auth/credential_provider.rbs +11 -0
  64. data/sig/momento/cache_client.rbs +11 -0
  65. data/sig/momento/collection_ttl.rbs +22 -0
  66. data/sig/momento/config/configuration.rbs +13 -0
  67. data/sig/momento/config/configurations.rbs +9 -0
  68. data/sig/momento/config/transport/grpc_configuration.rbs +9 -0
  69. data/sig/momento/config/transport/transport_strategy.rbs +7 -0
  70. data/sig/momento/list_caches_response.rbs +7 -0
  71. data/sig/momento/sorted_set_fetch_response.rbs +13 -0
  72. data/sig/momento/sorted_set_put_element_response.rbs +5 -0
  73. data/sig/momento/sorted_set_put_elements_response.rbs +5 -0
  74. metadata +101 -40
  75. data/lib/momento/cacheclient_pb.rb +0 -334
  76. data/lib/momento/cacheclient_services_pb.rb +0 -44
  77. data/lib/momento/controlclient_pb.rb +0 -73
  78. data/lib/momento/controlclient_services_pb.rb +0 -31
  79. data/lib/momento/create_cache_response.rb +0 -37
  80. data/lib/momento/create_cache_response_builder.rb +0 -27
  81. data/lib/momento/delete_cache_response.rb +0 -24
  82. data/lib/momento/delete_response.rb +0 -24
  83. data/lib/momento/get_response_builder.rb +0 -37
  84. data/lib/momento/list_caches_response.rb +0 -77
  85. data/lib/momento/list_caches_response_builder.rb +0 -25
  86. data/lib/momento/set_response.rb +0 -39
  87. data/lib/momento/set_response_builder.rb +0 -25
  88. data/lib/momento/simple_cache_client.rb +0 -336
  89. /data/lib/momento/{response_builder.rb → response/response_builder.rb} +0 -0
@@ -0,0 +1,79 @@
1
+ module Momento
2
+ # Represents the desired behavior for managing the TTL on collection objects.
3
+ #
4
+ # For cache operations that modify a collection (dictionaries, lists, or sets), there
5
+ # are a few things to consider. The first time the collection is created, we need to
6
+ # set a TTL on it. For subsequent operations that modify the collection you may choose
7
+ # to update the TTL in order to prolong the life of the cached collection object, or
8
+ # you may choose to leave the TTL unmodified in order to ensure that the collection
9
+ # expires at the original TTL.
10
+ #
11
+ # The default behaviour is to refresh the TTL (to prolong the life of the collection)
12
+ # each time it is written using the client's default item TTL.
13
+ class CollectionTtl
14
+ attr_reader :ttl_seconds, :refresh_ttl
15
+
16
+ # Create a CollectionTtl with optional ttl seconds and refresh.
17
+ # @param ttl_seconds [Integer | nil] the time to live of the collection. Uses the client default TTL if nil.
18
+ # @param refresh_ttl [Boolean] whether to refresh the collection's ttl when performing a cache operation.
19
+ # @return [Momento::CollectionTtl]
20
+ def initialize(ttl_seconds = nil, refresh_ttl: true)
21
+ validate_ttl_seconds(ttl_seconds) unless ttl_seconds.nil?
22
+ @ttl_seconds = ttl_seconds
23
+ @refresh_ttl = refresh_ttl
24
+ end
25
+
26
+ def ttl_milliseconds
27
+ @ttl_seconds.nil? ? nil : @ttl_seconds * 1000
28
+ end
29
+
30
+ # Creates a CollectionTtl that refreshes and uses the default client TTL.
31
+ # @return [Momento::CollectionTtl]
32
+ def self.from_cache_ttl
33
+ new
34
+ end
35
+
36
+ # Creates a CollectionTtl with the given TTL.
37
+ # @param ttl_seconds [Integer | nil] the time to live of the collection. Uses the client default TTL if nil.
38
+ # @return [Momento::CollectionTtl]
39
+ def self.of(ttl_seconds)
40
+ new(ttl_seconds)
41
+ end
42
+
43
+ # Creates a CollectionTtl that sets refresh to true if ttl_seconds is provided and false otherwise
44
+ # @param ttl_seconds [Integer | nil] the time to live of the collection. If not nil, refresh is set to true.
45
+ # @return [Momento::CollectionTtl]
46
+ def self.refresh_ttl_if_provided(ttl_seconds = nil)
47
+ new(ttl_seconds, refresh_ttl: !ttl_seconds.nil?)
48
+ end
49
+
50
+ # Copy constructor that uses the given TTL only if the parent CollectionTtl doesn't have one.
51
+ # @param ttl_seconds [Integer | nil] the time to live of the collection. Will be ignored if the parent has a TTL.
52
+ # @return [Momento::CollectionTtl]
53
+ def with_ttl_if_absent(ttl_seconds)
54
+ self.class.new(@ttl_seconds || ttl_seconds, refresh_ttl: @refresh_ttl)
55
+ end
56
+
57
+ # Copy constructor that uses the parent TTL and refreshes.
58
+ # @return [Momento::CollectionTtl]
59
+ def with_refresh_ttl_on_updates
60
+ self.class.new(@ttl_seconds)
61
+ end
62
+
63
+ # Copy constructor that uses the parent TTL and does not refresh.
64
+ # @return [Momento::CollectionTtl]
65
+ def with_no_refresh_ttl_on_updates
66
+ self.class.new(@ttl_seconds, refresh_ttl: false)
67
+ end
68
+
69
+ def to_s
70
+ "ttl: #{@ttl_seconds || 'null'}, refreshTtl: #{@refresh_ttl ? 'true' : 'false'}"
71
+ end
72
+
73
+ private
74
+
75
+ def validate_ttl_seconds(ttl_seconds)
76
+ raise ArgumentError, "TTL must be a positive integer" unless ttl_seconds.is_a?(Integer) && ttl_seconds.positive?
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,42 @@
1
+ module Momento
2
+ module Cache
3
+ # Configuration options for Momento CacheClient
4
+ class Configuration
5
+ attr_reader :transport_strategy
6
+
7
+ # Convenience function to set the client timeout in milliseconds. If the server has not responded within the
8
+ # specified time, the client will terminate the request with a DeadlineExceeded error.
9
+ def with_timeout(timeout_millis)
10
+ transport_strategy = @transport_strategy
11
+ grpc_config = transport_strategy.grpc_configuration
12
+ Configuration.new(
13
+ transport_strategy.with_grpc_configuration(
14
+ grpc_config.with_deadline(timeout_millis)
15
+ )
16
+ )
17
+ end
18
+
19
+ # Convenience function to set the number of TCP connections for the client. Each connection can multiplex up
20
+ # to 100 concurrent requests. The default is 1, and this should not be overridden unless you are making a high
21
+ # volume of requests. Can help distribute traffic more evenly for high-throughput use cases.
22
+ def with_num_connections(num_connections)
23
+ transport_strategy = @transport_strategy
24
+ grpc_config = transport_strategy.grpc_configuration
25
+ Configuration.new(
26
+ transport_strategy.with_grpc_configuration(
27
+ grpc_config.with_num_grpc_channels(num_connections)
28
+ )
29
+ )
30
+ end
31
+
32
+ # Copy constructor; creates a new Configuration with the specified transport strategy
33
+ def with_transport_strategy(transport_strategy)
34
+ Configuration.new(transport_strategy)
35
+ end
36
+
37
+ def initialize(transport_strategy)
38
+ @transport_strategy = transport_strategy
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,24 @@
1
+ require_relative 'configuration'
2
+ require_relative 'transport/transport_strategy'
3
+ require_relative 'transport/static_transport_strategy'
4
+ require_relative 'transport/grpc_configuration'
5
+
6
+ module Momento
7
+ module Cache
8
+ module Configurations
9
+ # Default Laptop configuration with 5000ms client timeout
10
+ class Laptop < Cache::Configuration
11
+ def self.latest
12
+ return Configuration.new(StaticTransportStrategy.new(GrpcConfiguration.new(5000)))
13
+ end
14
+ end
15
+
16
+ # Default Laptop configuration with 1100ms client timeout
17
+ class InRegion < Cache::Configuration
18
+ def self.latest
19
+ return Configuration.new(StaticTransportStrategy.new(GrpcConfiguration.new(1100)))
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,35 @@
1
+ module Momento
2
+ # Encapsulates gRPC configuration tunables
3
+ class GrpcConfiguration
4
+ # Number of milliseconds the client is willing to wait for an RPC to
5
+ # complete before it is terminated with a DeadlineExceeded error
6
+ attr_reader :deadline
7
+
8
+ # Number of gRPC channels to create. Each channel can multiplex up to
9
+ # 100 concurrent requests. The default is 1, and this should not be
10
+ # overridden unless you are making a high volume of requests.
11
+ attr_reader :num_grpc_channels
12
+
13
+ def with_deadline(deadline)
14
+ return GrpcConfiguration.new(deadline, @num_grpc_channels)
15
+ end
16
+
17
+ def with_num_grpc_channels(num_grpc_channels)
18
+ return GrpcConfiguration.new(@deadline, num_grpc_channels)
19
+ end
20
+
21
+ def initialize(deadline, num_grpc_channels = 1)
22
+ unless deadline.is_a? Integer
23
+ raise Momento::Error::InvalidArgumentError,
24
+ 'Client timeout must be an integer'
25
+ end
26
+ if (deadline.is_a? Integer) && (deadline < 1)
27
+ raise Momento::Error::InvalidArgumentError,
28
+ 'Client timeout must be positive'
29
+ end
30
+
31
+ @deadline = deadline
32
+ @num_grpc_channels = num_grpc_channels
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,12 @@
1
+ require_relative 'transport_strategy'
2
+
3
+ module Momento
4
+ # Predefined transport strategy for communicating with the Momento server
5
+ class StaticTransportStrategy < TransportStrategy
6
+ attr_reader :grpc_configuration
7
+
8
+ def with_grpc_configuration(grpc_configuration)
9
+ return StaticTransportStrategy.new(grpc_configuration)
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,16 @@
1
+ module Momento
2
+ # Low-level gRPC settings for communication with the Momento server
3
+ class TransportStrategy
4
+ attr_reader :grpc_configuration
5
+
6
+ def with_grpc_configuration(grpc_configuration)
7
+ return TransportStrategy.new(grpc_configuration)
8
+ end
9
+
10
+ def initialize(grpc_configuration)
11
+ @grpc_configuration = grpc_configuration
12
+ rescue StandardError
13
+ raise Momento::Error::InvalidArgumentError, 'invalid gRPC configuration'
14
+ end
15
+ end
16
+ end
@@ -77,6 +77,21 @@ module Momento
77
77
  end
78
78
  end
79
79
 
80
+ # Error connecting to Momento servers.
81
+ class ConnectionError < RuntimeError
82
+ include Momento::Error
83
+
84
+ # (see Momento::Error#error_code)
85
+ def error_code
86
+ :CONNECTION_ERROR
87
+ end
88
+
89
+ # (see Momento::Error#message)
90
+ def message
91
+ "Error connecting to Momento servers."
92
+ end
93
+ end
94
+
80
95
  # System is not in a state required for the operation\'s execution
81
96
  class FailedPreconditionError < RuntimeError
82
97
  include Momento::Error
@@ -111,11 +126,18 @@ module Momento
111
126
  class InvalidArgumentError < ArgumentError
112
127
  include Momento::Error
113
128
 
129
+ def initialize(details = "")
130
+ @details = details
131
+ super(message)
132
+ end
133
+
114
134
  # (see Momento::Error#error_code)
115
135
  def error_code
116
136
  :INVALID_ARGUMENT_ERROR
117
137
  end
118
138
 
139
+ attr_reader :details
140
+
119
141
  # (see Momento::Error#message)
120
142
  def message
121
143
  "Invalid argument passed to Momento client: #{details}"
@@ -0,0 +1,16 @@
1
+ # Generate proto code
2
+
3
+ 1. Change into this directory, specify the path to the protos directory in the bash script, then run it:
4
+
5
+ ```
6
+ cd path/to/client-sdk-ruby/lib/momento/generated/
7
+ export PROTO_PATH="path/to/client-protos/proto/"
8
+ ./generate_protos.sh
9
+ ```
10
+
11
+ 2. Verify unit tests still pass by going back to the top-level directory and running `rspec`:
12
+
13
+ ```
14
+ cd ../../..
15
+ rspec
16
+ ```
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
4
+ # source: auth.proto
5
+
6
+ require 'google/protobuf'
7
+
8
+ require_relative 'permissionmessages_pb'
9
+
10
+ descriptor_data = "\n\nauth.proto\x12\x04\x61uth\x1a\x18permissionmessages.proto\"\x0f\n\r_LoginRequest\"\xfc\x02\n\x0e_LoginResponse\x12<\n\x0e\x64irect_browser\x18\x01 \x01(\x0b\x32\".auth._LoginResponse.DirectBrowserH\x00\x12\x32\n\tlogged_in\x18\x02 \x01(\x0b\x32\x1d.auth._LoginResponse.LoggedInH\x00\x12/\n\x07message\x18\x03 \x01(\x0b\x32\x1c.auth._LoginResponse.MessageH\x00\x12+\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x1a.auth._LoginResponse.ErrorH\x00\x1a<\n\x08LoggedIn\x12\x15\n\rsession_token\x18\x01 \x01(\t\x12\x19\n\x11valid_for_seconds\x18\x02 \x01(\r\x1a\x1c\n\x05\x45rror\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x1a\x1c\n\rDirectBrowser\x12\x0b\n\x03url\x18\x01 \x01(\t\x1a\x17\n\x07Message\x12\x0c\n\x04text\x18\x01 \x01(\tB\x07\n\x05state\"\xb7\x02\n\x18_GenerateApiTokenRequest\x12\x35\n\x05never\x18\x01 \x01(\x0b\x32$.auth._GenerateApiTokenRequest.NeverH\x00\x12\x39\n\x07\x65xpires\x18\x02 \x01(\x0b\x32&.auth._GenerateApiTokenRequest.ExpiresH\x00\x12\x12\n\nauth_token\x18\x03 \x01(\t\x12\x35\n\x0bpermissions\x18\x04 \x01(\x0b\x32 .permission_messages.Permissions\x12\x10\n\x08token_id\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x1a\x07\n\x05Never\x1a$\n\x07\x45xpires\x12\x19\n\x11valid_for_seconds\x18\x01 \x01(\rB\x08\n\x06\x65xpiry\"j\n\x19_GenerateApiTokenResponse\x12\x0f\n\x07\x61pi_key\x18\x01 \x01(\t\x12\x15\n\rrefresh_token\x18\x02 \x01(\t\x12\x10\n\x08\x65ndpoint\x18\x03 \x01(\t\x12\x13\n\x0bvalid_until\x18\x04 \x01(\x04\"A\n\x17_RefreshApiTokenRequest\x12\x0f\n\x07\x61pi_key\x18\x01 \x01(\t\x12\x15\n\rrefresh_token\x18\x02 \x01(\t\"i\n\x18_RefreshApiTokenResponse\x12\x0f\n\x07\x61pi_key\x18\x01 \x01(\t\x12\x15\n\rrefresh_token\x18\x02 \x01(\t\x12\x10\n\x08\x65ndpoint\x18\x03 \x01(\t\x12\x13\n\x0bvalid_until\x18\x04 \x01(\x04\x32\xe9\x01\n\x04\x41uth\x12\x36\n\x05Login\x12\x13.auth._LoginRequest\x1a\x14.auth._LoginResponse\"\x00\x30\x01\x12U\n\x10GenerateApiToken\x12\x1e.auth._GenerateApiTokenRequest\x1a\x1f.auth._GenerateApiTokenResponse\"\x00\x12R\n\x0fRefreshApiToken\x12\x1d.auth._RefreshApiTokenRequest\x1a\x1e.auth._RefreshApiTokenResponse\"\x00\x42\x42\n\x0cmomento.authP\x01Z0github.com/momentohq/client-sdk-go;client_sdk_gob\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
+ ["permission_messages.Permissions", "permissionmessages.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 Auth
39
+ PB__LoginRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("auth._LoginRequest").msgclass
40
+ PB__LoginResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("auth._LoginResponse").msgclass
41
+ PB__LoginResponse::LoggedIn = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("auth._LoginResponse.LoggedIn").msgclass
42
+ PB__LoginResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("auth._LoginResponse.Error").msgclass
43
+ PB__LoginResponse::DirectBrowser = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("auth._LoginResponse.DirectBrowser").msgclass
44
+ PB__LoginResponse::Message = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("auth._LoginResponse.Message").msgclass
45
+ PB__GenerateApiTokenRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("auth._GenerateApiTokenRequest").msgclass
46
+ PB__GenerateApiTokenRequest::Never = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("auth._GenerateApiTokenRequest.Never").msgclass
47
+ PB__GenerateApiTokenRequest::Expires = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("auth._GenerateApiTokenRequest.Expires").msgclass
48
+ PB__GenerateApiTokenResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("auth._GenerateApiTokenResponse").msgclass
49
+ PB__RefreshApiTokenRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("auth._RefreshApiTokenRequest").msgclass
50
+ PB__RefreshApiTokenResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("auth._RefreshApiTokenResponse").msgclass
51
+ end
52
+ end
@@ -0,0 +1,27 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: auth.proto for package 'auth'
3
+
4
+ require 'grpc'
5
+ require_relative 'auth_pb'
6
+
7
+ module MomentoProtos
8
+ module Auth
9
+ module Auth
10
+ class Service
11
+ include ::GRPC::GenericService
12
+
13
+ self.marshal_class_method = :encode
14
+ self.unmarshal_class_method = :decode
15
+ self.service_name = 'auth.Auth'
16
+
17
+ rpc :Login, ::Auth::PB__LoginRequest, stream(::Auth::PB__LoginResponse)
18
+ # api for initially generating api and refresh tokens
19
+ rpc :GenerateApiToken, ::Auth::PB__GenerateApiTokenRequest, ::Auth::PB__GenerateApiTokenResponse
20
+ # api for programmatically refreshing api and refresh tokens
21
+ rpc :RefreshApiToken, ::Auth::PB__RefreshApiTokenRequest, ::Auth::PB__RefreshApiTokenResponse
22
+ end
23
+
24
+ Stub = Service.rpc_stub_class
25
+ end
26
+ end
27
+ end
@@ -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