Current section
Files
Jump to
Current section
Files
generated/controlclient.pb.ex
defmodule Momento.Protos.ControlClient.DeleteCacheRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
def descriptor do
# credo:disable-for-next-line
%Google.Protobuf.DescriptorProto{
name: "_DeleteCacheRequest",
field: [
%Google.Protobuf.FieldDescriptorProto{
name: "cache_name",
extendee: nil,
number: 1,
label: :LABEL_OPTIONAL,
type: :TYPE_STRING,
type_name: nil,
default_value: nil,
options: nil,
oneof_index: nil,
json_name: "cacheName",
proto3_optional: nil,
__unknown_fields__: []
}
],
nested_type: [],
enum_type: [],
extension_range: [],
extension: [],
options: nil,
oneof_decl: [],
reserved_range: [],
reserved_name: [],
__unknown_fields__: []
}
end
field :cache_name, 1, type: :string, json_name: "cacheName"
end
defmodule Momento.Protos.ControlClient.DeleteCacheResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
def descriptor do
# credo:disable-for-next-line
%Google.Protobuf.DescriptorProto{
name: "_DeleteCacheResponse",
field: [],
nested_type: [],
enum_type: [],
extension_range: [],
extension: [],
options: nil,
oneof_decl: [],
reserved_range: [],
reserved_name: [],
__unknown_fields__: []
}
end
end
defmodule Momento.Protos.ControlClient.CreateCacheRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
def descriptor do
# credo:disable-for-next-line
%Google.Protobuf.DescriptorProto{
name: "_CreateCacheRequest",
field: [
%Google.Protobuf.FieldDescriptorProto{
name: "cache_name",
extendee: nil,
number: 1,
label: :LABEL_OPTIONAL,
type: :TYPE_STRING,
type_name: nil,
default_value: nil,
options: nil,
oneof_index: nil,
json_name: "cacheName",
proto3_optional: nil,
__unknown_fields__: []
}
],
nested_type: [],
enum_type: [],
extension_range: [],
extension: [],
options: nil,
oneof_decl: [],
reserved_range: [],
reserved_name: [],
__unknown_fields__: []
}
end
field :cache_name, 1, type: :string, json_name: "cacheName"
end
defmodule Momento.Protos.ControlClient.CreateCacheResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
def descriptor do
# credo:disable-for-next-line
%Google.Protobuf.DescriptorProto{
name: "_CreateCacheResponse",
field: [],
nested_type: [],
enum_type: [],
extension_range: [],
extension: [],
options: nil,
oneof_decl: [],
reserved_range: [],
reserved_name: [],
__unknown_fields__: []
}
end
end
defmodule Momento.Protos.ControlClient.ListCachesRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
def descriptor do
# credo:disable-for-next-line
%Google.Protobuf.DescriptorProto{
name: "_ListCachesRequest",
field: [
%Google.Protobuf.FieldDescriptorProto{
name: "next_token",
extendee: nil,
number: 1,
label: :LABEL_OPTIONAL,
type: :TYPE_STRING,
type_name: nil,
default_value: nil,
options: nil,
oneof_index: nil,
json_name: "nextToken",
proto3_optional: nil,
__unknown_fields__: []
}
],
nested_type: [],
enum_type: [],
extension_range: [],
extension: [],
options: nil,
oneof_decl: [],
reserved_range: [],
reserved_name: [],
__unknown_fields__: []
}
end
field :next_token, 1, type: :string, json_name: "nextToken"
end
defmodule Momento.Protos.ControlClient.Cache do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
def descriptor do
# credo:disable-for-next-line
%Google.Protobuf.DescriptorProto{
name: "_Cache",
field: [
%Google.Protobuf.FieldDescriptorProto{
name: "cache_name",
extendee: nil,
number: 1,
label: :LABEL_OPTIONAL,
type: :TYPE_STRING,
type_name: nil,
default_value: nil,
options: nil,
oneof_index: nil,
json_name: "cacheName",
proto3_optional: nil,
__unknown_fields__: []
}
],
nested_type: [],
enum_type: [],
extension_range: [],
extension: [],
options: nil,
oneof_decl: [],
reserved_range: [],
reserved_name: [],
__unknown_fields__: []
}
end
field :cache_name, 1, type: :string, json_name: "cacheName"
end
defmodule Momento.Protos.ControlClient.ListCachesResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
def descriptor do
# credo:disable-for-next-line
%Google.Protobuf.DescriptorProto{
name: "_ListCachesResponse",
field: [
%Google.Protobuf.FieldDescriptorProto{
name: "cache",
extendee: nil,
number: 1,
label: :LABEL_REPEATED,
type: :TYPE_MESSAGE,
type_name: ".control_client._Cache",
default_value: nil,
options: nil,
oneof_index: nil,
json_name: "cache",
proto3_optional: nil,
__unknown_fields__: []
},
%Google.Protobuf.FieldDescriptorProto{
name: "next_token",
extendee: nil,
number: 2,
label: :LABEL_OPTIONAL,
type: :TYPE_STRING,
type_name: nil,
default_value: nil,
options: nil,
oneof_index: nil,
json_name: "nextToken",
proto3_optional: nil,
__unknown_fields__: []
}
],
nested_type: [],
enum_type: [],
extension_range: [],
extension: [],
options: nil,
oneof_decl: [],
reserved_range: [],
reserved_name: [],
__unknown_fields__: []
}
end
field :cache, 1, repeated: true, type: Momento.Protos.ControlClient.Cache
field :next_token, 2, type: :string, json_name: "nextToken"
end
defmodule Momento.Protos.ControlClient.CreateSigningKeyRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
def descriptor do
# credo:disable-for-next-line
%Google.Protobuf.DescriptorProto{
name: "_CreateSigningKeyRequest",
field: [
%Google.Protobuf.FieldDescriptorProto{
name: "ttl_minutes",
extendee: nil,
number: 1,
label: :LABEL_OPTIONAL,
type: :TYPE_UINT32,
type_name: nil,
default_value: nil,
options: nil,
oneof_index: nil,
json_name: "ttlMinutes",
proto3_optional: nil,
__unknown_fields__: []
}
],
nested_type: [],
enum_type: [],
extension_range: [],
extension: [],
options: nil,
oneof_decl: [],
reserved_range: [],
reserved_name: [],
__unknown_fields__: []
}
end
field :ttl_minutes, 1, type: :uint32, json_name: "ttlMinutes"
end
defmodule Momento.Protos.ControlClient.CreateSigningKeyResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
def descriptor do
# credo:disable-for-next-line
%Google.Protobuf.DescriptorProto{
name: "_CreateSigningKeyResponse",
field: [
%Google.Protobuf.FieldDescriptorProto{
name: "key",
extendee: nil,
number: 1,
label: :LABEL_OPTIONAL,
type: :TYPE_STRING,
type_name: nil,
default_value: nil,
options: nil,
oneof_index: nil,
json_name: "key",
proto3_optional: nil,
__unknown_fields__: []
},
%Google.Protobuf.FieldDescriptorProto{
name: "expires_at",
extendee: nil,
number: 2,
label: :LABEL_OPTIONAL,
type: :TYPE_UINT64,
type_name: nil,
default_value: nil,
options: nil,
oneof_index: nil,
json_name: "expiresAt",
proto3_optional: nil,
__unknown_fields__: []
}
],
nested_type: [],
enum_type: [],
extension_range: [],
extension: [],
options: nil,
oneof_decl: [],
reserved_range: [],
reserved_name: [],
__unknown_fields__: []
}
end
field :key, 1, type: :string
field :expires_at, 2, type: :uint64, json_name: "expiresAt"
end
defmodule Momento.Protos.ControlClient.RevokeSigningKeyRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
def descriptor do
# credo:disable-for-next-line
%Google.Protobuf.DescriptorProto{
name: "_RevokeSigningKeyRequest",
field: [
%Google.Protobuf.FieldDescriptorProto{
name: "key_id",
extendee: nil,
number: 1,
label: :LABEL_OPTIONAL,
type: :TYPE_STRING,
type_name: nil,
default_value: nil,
options: nil,
oneof_index: nil,
json_name: "keyId",
proto3_optional: nil,
__unknown_fields__: []
}
],
nested_type: [],
enum_type: [],
extension_range: [],
extension: [],
options: nil,
oneof_decl: [],
reserved_range: [],
reserved_name: [],
__unknown_fields__: []
}
end
field :key_id, 1, type: :string, json_name: "keyId"
end
defmodule Momento.Protos.ControlClient.RevokeSigningKeyResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
def descriptor do
# credo:disable-for-next-line
%Google.Protobuf.DescriptorProto{
name: "_RevokeSigningKeyResponse",
field: [],
nested_type: [],
enum_type: [],
extension_range: [],
extension: [],
options: nil,
oneof_decl: [],
reserved_range: [],
reserved_name: [],
__unknown_fields__: []
}
end
end
defmodule Momento.Protos.ControlClient.SigningKey do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
def descriptor do
# credo:disable-for-next-line
%Google.Protobuf.DescriptorProto{
name: "_SigningKey",
field: [
%Google.Protobuf.FieldDescriptorProto{
name: "key_id",
extendee: nil,
number: 1,
label: :LABEL_OPTIONAL,
type: :TYPE_STRING,
type_name: nil,
default_value: nil,
options: nil,
oneof_index: nil,
json_name: "keyId",
proto3_optional: nil,
__unknown_fields__: []
},
%Google.Protobuf.FieldDescriptorProto{
name: "expires_at",
extendee: nil,
number: 2,
label: :LABEL_OPTIONAL,
type: :TYPE_UINT64,
type_name: nil,
default_value: nil,
options: nil,
oneof_index: nil,
json_name: "expiresAt",
proto3_optional: nil,
__unknown_fields__: []
}
],
nested_type: [],
enum_type: [],
extension_range: [],
extension: [],
options: nil,
oneof_decl: [],
reserved_range: [],
reserved_name: [],
__unknown_fields__: []
}
end
field :key_id, 1, type: :string, json_name: "keyId"
field :expires_at, 2, type: :uint64, json_name: "expiresAt"
end
defmodule Momento.Protos.ControlClient.ListSigningKeysRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
def descriptor do
# credo:disable-for-next-line
%Google.Protobuf.DescriptorProto{
name: "_ListSigningKeysRequest",
field: [
%Google.Protobuf.FieldDescriptorProto{
name: "next_token",
extendee: nil,
number: 1,
label: :LABEL_OPTIONAL,
type: :TYPE_STRING,
type_name: nil,
default_value: nil,
options: nil,
oneof_index: nil,
json_name: "nextToken",
proto3_optional: nil,
__unknown_fields__: []
}
],
nested_type: [],
enum_type: [],
extension_range: [],
extension: [],
options: nil,
oneof_decl: [],
reserved_range: [],
reserved_name: [],
__unknown_fields__: []
}
end
field :next_token, 1, type: :string, json_name: "nextToken"
end
defmodule Momento.Protos.ControlClient.ListSigningKeysResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
def descriptor do
# credo:disable-for-next-line
%Google.Protobuf.DescriptorProto{
name: "_ListSigningKeysResponse",
field: [
%Google.Protobuf.FieldDescriptorProto{
name: "signing_key",
extendee: nil,
number: 1,
label: :LABEL_REPEATED,
type: :TYPE_MESSAGE,
type_name: ".control_client._SigningKey",
default_value: nil,
options: nil,
oneof_index: nil,
json_name: "signingKey",
proto3_optional: nil,
__unknown_fields__: []
},
%Google.Protobuf.FieldDescriptorProto{
name: "next_token",
extendee: nil,
number: 2,
label: :LABEL_OPTIONAL,
type: :TYPE_STRING,
type_name: nil,
default_value: nil,
options: nil,
oneof_index: nil,
json_name: "nextToken",
proto3_optional: nil,
__unknown_fields__: []
}
],
nested_type: [],
enum_type: [],
extension_range: [],
extension: [],
options: nil,
oneof_decl: [],
reserved_range: [],
reserved_name: [],
__unknown_fields__: []
}
end
field :signing_key, 1,
repeated: true,
type: Momento.Protos.ControlClient.SigningKey,
json_name: "signingKey"
field :next_token, 2, type: :string, json_name: "nextToken"
end
defmodule Momento.Protos.ControlClient.FlushCacheRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
def descriptor do
# credo:disable-for-next-line
%Google.Protobuf.DescriptorProto{
name: "_FlushCacheRequest",
field: [
%Google.Protobuf.FieldDescriptorProto{
name: "cache_name",
extendee: nil,
number: 1,
label: :LABEL_OPTIONAL,
type: :TYPE_STRING,
type_name: nil,
default_value: nil,
options: nil,
oneof_index: nil,
json_name: "cacheName",
proto3_optional: nil,
__unknown_fields__: []
}
],
nested_type: [],
enum_type: [],
extension_range: [],
extension: [],
options: nil,
oneof_decl: [],
reserved_range: [],
reserved_name: [],
__unknown_fields__: []
}
end
field :cache_name, 1, type: :string, json_name: "cacheName"
end
defmodule Momento.Protos.ControlClient.FlushCacheResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
def descriptor do
# credo:disable-for-next-line
%Google.Protobuf.DescriptorProto{
name: "_FlushCacheResponse",
field: [],
nested_type: [],
enum_type: [],
extension_range: [],
extension: [],
options: nil,
oneof_decl: [],
reserved_range: [],
reserved_name: [],
__unknown_fields__: []
}
end
end
defmodule Momento.Protos.ControlClient.ScsControl.Service do
@moduledoc false
use GRPC.Service, name: "control_client.ScsControl", protoc_gen_elixir_version: "0.12.0"
def descriptor do
# credo:disable-for-next-line
%Google.Protobuf.ServiceDescriptorProto{
name: "ScsControl",
method: [
%Google.Protobuf.MethodDescriptorProto{
name: "CreateCache",
input_type: ".control_client._CreateCacheRequest",
output_type: ".control_client._CreateCacheResponse",
options: %Google.Protobuf.MethodOptions{
deprecated: false,
idempotency_level: :IDEMPOTENCY_UNKNOWN,
uninterpreted_option: [],
__pb_extensions__: %{},
__unknown_fields__: []
},
client_streaming: false,
server_streaming: false,
__unknown_fields__: []
},
%Google.Protobuf.MethodDescriptorProto{
name: "DeleteCache",
input_type: ".control_client._DeleteCacheRequest",
output_type: ".control_client._DeleteCacheResponse",
options: %Google.Protobuf.MethodOptions{
deprecated: false,
idempotency_level: :IDEMPOTENCY_UNKNOWN,
uninterpreted_option: [],
__pb_extensions__: %{},
__unknown_fields__: []
},
client_streaming: false,
server_streaming: false,
__unknown_fields__: []
},
%Google.Protobuf.MethodDescriptorProto{
name: "ListCaches",
input_type: ".control_client._ListCachesRequest",
output_type: ".control_client._ListCachesResponse",
options: %Google.Protobuf.MethodOptions{
deprecated: false,
idempotency_level: :IDEMPOTENCY_UNKNOWN,
uninterpreted_option: [],
__pb_extensions__: %{},
__unknown_fields__: []
},
client_streaming: false,
server_streaming: false,
__unknown_fields__: []
},
%Google.Protobuf.MethodDescriptorProto{
name: "FlushCache",
input_type: ".control_client._FlushCacheRequest",
output_type: ".control_client._FlushCacheResponse",
options: %Google.Protobuf.MethodOptions{
deprecated: false,
idempotency_level: :IDEMPOTENCY_UNKNOWN,
uninterpreted_option: [],
__pb_extensions__: %{},
__unknown_fields__: []
},
client_streaming: false,
server_streaming: false,
__unknown_fields__: []
},
%Google.Protobuf.MethodDescriptorProto{
name: "CreateSigningKey",
input_type: ".control_client._CreateSigningKeyRequest",
output_type: ".control_client._CreateSigningKeyResponse",
options: %Google.Protobuf.MethodOptions{
deprecated: false,
idempotency_level: :IDEMPOTENCY_UNKNOWN,
uninterpreted_option: [],
__pb_extensions__: %{},
__unknown_fields__: []
},
client_streaming: false,
server_streaming: false,
__unknown_fields__: []
},
%Google.Protobuf.MethodDescriptorProto{
name: "RevokeSigningKey",
input_type: ".control_client._RevokeSigningKeyRequest",
output_type: ".control_client._RevokeSigningKeyResponse",
options: %Google.Protobuf.MethodOptions{
deprecated: false,
idempotency_level: :IDEMPOTENCY_UNKNOWN,
uninterpreted_option: [],
__pb_extensions__: %{},
__unknown_fields__: []
},
client_streaming: false,
server_streaming: false,
__unknown_fields__: []
},
%Google.Protobuf.MethodDescriptorProto{
name: "ListSigningKeys",
input_type: ".control_client._ListSigningKeysRequest",
output_type: ".control_client._ListSigningKeysResponse",
options: %Google.Protobuf.MethodOptions{
deprecated: false,
idempotency_level: :IDEMPOTENCY_UNKNOWN,
uninterpreted_option: [],
__pb_extensions__: %{},
__unknown_fields__: []
},
client_streaming: false,
server_streaming: false,
__unknown_fields__: []
}
],
options: nil,
__unknown_fields__: []
}
end
rpc :CreateCache,
Momento.Protos.ControlClient.CreateCacheRequest,
Momento.Protos.ControlClient.CreateCacheResponse
rpc :DeleteCache,
Momento.Protos.ControlClient.DeleteCacheRequest,
Momento.Protos.ControlClient.DeleteCacheResponse
rpc :ListCaches,
Momento.Protos.ControlClient.ListCachesRequest,
Momento.Protos.ControlClient.ListCachesResponse
rpc :FlushCache,
Momento.Protos.ControlClient.FlushCacheRequest,
Momento.Protos.ControlClient.FlushCacheResponse
rpc :CreateSigningKey,
Momento.Protos.ControlClient.CreateSigningKeyRequest,
Momento.Protos.ControlClient.CreateSigningKeyResponse
rpc :RevokeSigningKey,
Momento.Protos.ControlClient.RevokeSigningKeyRequest,
Momento.Protos.ControlClient.RevokeSigningKeyResponse
rpc :ListSigningKeys,
Momento.Protos.ControlClient.ListSigningKeysRequest,
Momento.Protos.ControlClient.ListSigningKeysResponse
end
defmodule Momento.Protos.ControlClient.ScsControl.Stub do
@moduledoc false
use GRPC.Stub, service: Momento.Protos.ControlClient.ScsControl.Service
end