# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: cacheclient.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor.FileDescriptor(
  name='cacheclient.proto',
  package='cache_client',
  syntax='proto3',
  serialized_options=b'\n\021grpc.cache_clientP\001',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x11\x63\x61\x63heclient.proto\x12\x0c\x63\x61\x63he_client\" \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\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(\r\"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\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\x85\x01\n\x03Scs\x12>\n\x03Get\x12\x19.cache_client._GetRequest\x1a\x1a.cache_client._GetResponse\"\x00\x12>\n\x03Set\x12\x19.cache_client._SetRequest\x1a\x1a.cache_client._SetResponse\"\x00\x42\x15\n\x11grpc.cache_clientP\x01\x62\x06proto3'
)

_ECACHERESULT = _descriptor.EnumDescriptor(
  name='ECacheResult',
  full_name='cache_client.ECacheResult',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='Invalid', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='Ok', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='Hit', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='Miss', index=3, number=3,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=323,
  serialized_end=383,
)
_sym_db.RegisterEnumDescriptor(_ECACHERESULT)

ECacheResult = enum_type_wrapper.EnumTypeWrapper(_ECACHERESULT)
Invalid = 0
Ok = 1
Hit = 2
Miss = 3



__GETREQUEST = _descriptor.Descriptor(
  name='_GetRequest',
  full_name='cache_client._GetRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='cache_key', full_name='cache_client._GetRequest.cache_key', index=0,
      number=1, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=b"",
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=35,
  serialized_end=67,
)


__GETRESPONSE = _descriptor.Descriptor(
  name='_GetResponse',
  full_name='cache_client._GetResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='result', full_name='cache_client._GetResponse.result', index=0,
      number=1, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='cache_body', full_name='cache_client._GetResponse.cache_body', index=1,
      number=2, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=b"",
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='message', full_name='cache_client._GetResponse.message', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=69,
  serialized_end=164,
)


__SETREQUEST = _descriptor.Descriptor(
  name='_SetRequest',
  full_name='cache_client._SetRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='cache_key', full_name='cache_client._SetRequest.cache_key', index=0,
      number=1, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=b"",
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='cache_body', full_name='cache_client._SetRequest.cache_body', index=1,
      number=2, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=b"",
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='ttl_milliseconds', full_name='cache_client._SetRequest.ttl_milliseconds', index=2,
      number=3, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=166,
  serialized_end=244,
)


__SETRESPONSE = _descriptor.Descriptor(
  name='_SetResponse',
  full_name='cache_client._SetResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='result', full_name='cache_client._SetResponse.result', index=0,
      number=1, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='message', full_name='cache_client._SetResponse.message', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=246,
  serialized_end=321,
)

__GETRESPONSE.fields_by_name['result'].enum_type = _ECACHERESULT
__SETRESPONSE.fields_by_name['result'].enum_type = _ECACHERESULT
DESCRIPTOR.message_types_by_name['_GetRequest'] = __GETREQUEST
DESCRIPTOR.message_types_by_name['_GetResponse'] = __GETRESPONSE
DESCRIPTOR.message_types_by_name['_SetRequest'] = __SETREQUEST
DESCRIPTOR.message_types_by_name['_SetResponse'] = __SETRESPONSE
DESCRIPTOR.enum_types_by_name['ECacheResult'] = _ECACHERESULT
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

_GetRequest = _reflection.GeneratedProtocolMessageType('_GetRequest', (_message.Message,), {
  'DESCRIPTOR' : __GETREQUEST,
  '__module__' : 'cacheclient_pb2'
  # @@protoc_insertion_point(class_scope:cache_client._GetRequest)
  })
_sym_db.RegisterMessage(_GetRequest)

_GetResponse = _reflection.GeneratedProtocolMessageType('_GetResponse', (_message.Message,), {
  'DESCRIPTOR' : __GETRESPONSE,
  '__module__' : 'cacheclient_pb2'
  # @@protoc_insertion_point(class_scope:cache_client._GetResponse)
  })
_sym_db.RegisterMessage(_GetResponse)

_SetRequest = _reflection.GeneratedProtocolMessageType('_SetRequest', (_message.Message,), {
  'DESCRIPTOR' : __SETREQUEST,
  '__module__' : 'cacheclient_pb2'
  # @@protoc_insertion_point(class_scope:cache_client._SetRequest)
  })
_sym_db.RegisterMessage(_SetRequest)

_SetResponse = _reflection.GeneratedProtocolMessageType('_SetResponse', (_message.Message,), {
  'DESCRIPTOR' : __SETRESPONSE,
  '__module__' : 'cacheclient_pb2'
  # @@protoc_insertion_point(class_scope:cache_client._SetResponse)
  })
_sym_db.RegisterMessage(_SetResponse)


DESCRIPTOR._options = None

_SCS = _descriptor.ServiceDescriptor(
  name='Scs',
  full_name='cache_client.Scs',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=386,
  serialized_end=519,
  methods=[
  _descriptor.MethodDescriptor(
    name='Get',
    full_name='cache_client.Scs.Get',
    index=0,
    containing_service=None,
    input_type=__GETREQUEST,
    output_type=__GETRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='Set',
    full_name='cache_client.Scs.Set',
    index=1,
    containing_service=None,
    input_type=__SETREQUEST,
    output_type=__SETRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_SCS)

DESCRIPTOR.services_by_name['Scs'] = _SCS

# @@protoc_insertion_point(module_scope)
