# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: cache_storage.proto

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 descriptor_pb2
# @@protoc_insertion_point(imports)




DESCRIPTOR = _descriptor.FileDescriptor(
  name='cache_storage.proto',
  package='content',
  serialized_pb='\n\x13\x63\x61\x63he_storage.proto\x12\x07\x63ontent\"k\n\x11\x43\x61\x63heStorageIndex\x12/\n\x05\x63\x61\x63he\x18\x01 \x03(\x0b\x32 .content.CacheStorageIndex.Cache\x12\x0e\n\x06origin\x18\x02 \x01(\t\x1a\x15\n\x05\x43\x61\x63he\x12\x0c\n\x04name\x18\x01 \x02(\t\"-\n\x0e\x43\x61\x63heHeaderMap\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\r\n\x05value\x18\x02 \x02(\t\"H\n\x0c\x43\x61\x63heRequest\x12\x0e\n\x06method\x18\x01 \x02(\t\x12(\n\x07headers\x18\x02 \x03(\x0b\x32\x17.content.CacheHeaderMap\"\xa8\x02\n\rCacheResponse\x12\x13\n\x0bstatus_code\x18\x01 \x02(\x05\x12\x13\n\x0bstatus_text\x18\x02 \x02(\t\x12:\n\rresponse_type\x18\x03 \x02(\x0e\x32#.content.CacheResponse.ResponseType\x12(\n\x07headers\x18\x04 \x03(\x0b\x32\x17.content.CacheHeaderMap\x12\x0b\n\x03url\x18\x05 \x01(\t\"z\n\x0cResponseType\x12\x0e\n\nBASIC_TYPE\x10\x00\x12\r\n\tCORS_TYPE\x10\x01\x12\x10\n\x0c\x44\x45\x46\x41ULT_TYPE\x10\x02\x12\x0e\n\nERROR_TYPE\x10\x03\x12\x0f\n\x0bOPAQUE_TYPE\x10\x04\x12\x18\n\x14OPAQUE_REDIRECT_TYPE\x10\x05\"a\n\rCacheMetadata\x12&\n\x07request\x18\x01 \x02(\x0b\x32\x15.content.CacheRequest\x12(\n\x08response\x18\x02 \x02(\x0b\x32\x16.content.CacheResponseB\x02H\x03')



_CACHERESPONSE_RESPONSETYPE = _descriptor.EnumDescriptor(
  name='ResponseType',
  full_name='content.CacheResponse.ResponseType',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='BASIC_TYPE', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='CORS_TYPE', index=1, number=1,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='DEFAULT_TYPE', index=2, number=2,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='ERROR_TYPE', index=3, number=3,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='OPAQUE_TYPE', index=4, number=4,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='OPAQUE_REDIRECT_TYPE', index=5, number=5,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=437,
  serialized_end=559,
)


_CACHESTORAGEINDEX_CACHE = _descriptor.Descriptor(
  name='Cache',
  full_name='content.CacheStorageIndex.Cache',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='content.CacheStorageIndex.Cache.name', index=0,
      number=1, type=9, cpp_type=9, label=2,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=118,
  serialized_end=139,
)

_CACHESTORAGEINDEX = _descriptor.Descriptor(
  name='CacheStorageIndex',
  full_name='content.CacheStorageIndex',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='cache', full_name='content.CacheStorageIndex.cache', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='origin', full_name='content.CacheStorageIndex.origin', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[_CACHESTORAGEINDEX_CACHE, ],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=32,
  serialized_end=139,
)


_CACHEHEADERMAP = _descriptor.Descriptor(
  name='CacheHeaderMap',
  full_name='content.CacheHeaderMap',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='content.CacheHeaderMap.name', index=0,
      number=1, type=9, cpp_type=9, label=2,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='value', full_name='content.CacheHeaderMap.value', index=1,
      number=2, type=9, cpp_type=9, label=2,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=141,
  serialized_end=186,
)


_CACHEREQUEST = _descriptor.Descriptor(
  name='CacheRequest',
  full_name='content.CacheRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='method', full_name='content.CacheRequest.method', index=0,
      number=1, type=9, cpp_type=9, label=2,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='headers', full_name='content.CacheRequest.headers', index=1,
      number=2, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=188,
  serialized_end=260,
)


_CACHERESPONSE = _descriptor.Descriptor(
  name='CacheResponse',
  full_name='content.CacheResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='status_code', full_name='content.CacheResponse.status_code', index=0,
      number=1, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='status_text', full_name='content.CacheResponse.status_text', index=1,
      number=2, type=9, cpp_type=9, label=2,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='response_type', full_name='content.CacheResponse.response_type', index=2,
      number=3, type=14, cpp_type=8, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='headers', full_name='content.CacheResponse.headers', index=3,
      number=4, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='url', full_name='content.CacheResponse.url', index=4,
      number=5, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _CACHERESPONSE_RESPONSETYPE,
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=263,
  serialized_end=559,
)


_CACHEMETADATA = _descriptor.Descriptor(
  name='CacheMetadata',
  full_name='content.CacheMetadata',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='request', full_name='content.CacheMetadata.request', index=0,
      number=1, type=11, cpp_type=10, label=2,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='response', full_name='content.CacheMetadata.response', index=1,
      number=2, type=11, cpp_type=10, label=2,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=561,
  serialized_end=658,
)

_CACHESTORAGEINDEX_CACHE.containing_type = _CACHESTORAGEINDEX;
_CACHESTORAGEINDEX.fields_by_name['cache'].message_type = _CACHESTORAGEINDEX_CACHE
_CACHEREQUEST.fields_by_name['headers'].message_type = _CACHEHEADERMAP
_CACHERESPONSE.fields_by_name['response_type'].enum_type = _CACHERESPONSE_RESPONSETYPE
_CACHERESPONSE.fields_by_name['headers'].message_type = _CACHEHEADERMAP
_CACHERESPONSE_RESPONSETYPE.containing_type = _CACHERESPONSE;
_CACHEMETADATA.fields_by_name['request'].message_type = _CACHEREQUEST
_CACHEMETADATA.fields_by_name['response'].message_type = _CACHERESPONSE
DESCRIPTOR.message_types_by_name['CacheStorageIndex'] = _CACHESTORAGEINDEX
DESCRIPTOR.message_types_by_name['CacheHeaderMap'] = _CACHEHEADERMAP
DESCRIPTOR.message_types_by_name['CacheRequest'] = _CACHEREQUEST
DESCRIPTOR.message_types_by_name['CacheResponse'] = _CACHERESPONSE
DESCRIPTOR.message_types_by_name['CacheMetadata'] = _CACHEMETADATA

class CacheStorageIndex(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType

  class Cache(_message.Message):
    __metaclass__ = _reflection.GeneratedProtocolMessageType
    DESCRIPTOR = _CACHESTORAGEINDEX_CACHE

    # @@protoc_insertion_point(class_scope:content.CacheStorageIndex.Cache)
  DESCRIPTOR = _CACHESTORAGEINDEX

  # @@protoc_insertion_point(class_scope:content.CacheStorageIndex)

class CacheHeaderMap(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _CACHEHEADERMAP

  # @@protoc_insertion_point(class_scope:content.CacheHeaderMap)

class CacheRequest(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _CACHEREQUEST

  # @@protoc_insertion_point(class_scope:content.CacheRequest)

class CacheResponse(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _CACHERESPONSE

  # @@protoc_insertion_point(class_scope:content.CacheResponse)

class CacheMetadata(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _CACHEMETADATA

  # @@protoc_insertion_point(class_scope:content.CacheMetadata)


DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), 'H\003')
# @@protoc_insertion_point(module_scope)
