# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: cached_network_parameters.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='cached_network_parameters.proto',
  package='net',
  serialized_pb='\n\x1f\x63\x61\x63hed_network_parameters.proto\x12\x03net\"\xc7\x02\n\x17\x43\x61\x63hedNetworkParameters\x12\x16\n\x0eserving_region\x18\x01 \x01(\t\x12+\n#bandwidth_estimate_bytes_per_second\x18\x02 \x01(\x05\x12/\n\'max_bandwidth_estimate_bytes_per_second\x18\x05 \x01(\x05\x12\'\n\x1fmax_bandwidth_timestamp_seconds\x18\x06 \x01(\x03\x12\x12\n\nmin_rtt_ms\x18\x03 \x01(\x05\x12!\n\x19previous_connection_state\x18\x04 \x01(\x05\x12\x11\n\ttimestamp\x18\x07 \x01(\x03\"C\n\x17PreviousConnectionState\x12\x0e\n\nSLOW_START\x10\x00\x12\x18\n\x14\x43ONGESTION_AVOIDANCE\x10\x01\x42\x02H\x03')



_CACHEDNETWORKPARAMETERS_PREVIOUSCONNECTIONSTATE = _descriptor.EnumDescriptor(
  name='PreviousConnectionState',
  full_name='net.CachedNetworkParameters.PreviousConnectionState',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='SLOW_START', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='CONGESTION_AVOIDANCE', index=1, number=1,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=301,
  serialized_end=368,
)


_CACHEDNETWORKPARAMETERS = _descriptor.Descriptor(
  name='CachedNetworkParameters',
  full_name='net.CachedNetworkParameters',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='serving_region', full_name='net.CachedNetworkParameters.serving_region', index=0,
      number=1, 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),
    _descriptor.FieldDescriptor(
      name='bandwidth_estimate_bytes_per_second', full_name='net.CachedNetworkParameters.bandwidth_estimate_bytes_per_second', index=1,
      number=2, type=5, cpp_type=1, label=1,
      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='max_bandwidth_estimate_bytes_per_second', full_name='net.CachedNetworkParameters.max_bandwidth_estimate_bytes_per_second', index=2,
      number=5, type=5, cpp_type=1, label=1,
      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='max_bandwidth_timestamp_seconds', full_name='net.CachedNetworkParameters.max_bandwidth_timestamp_seconds', index=3,
      number=6, type=3, cpp_type=2, label=1,
      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='min_rtt_ms', full_name='net.CachedNetworkParameters.min_rtt_ms', index=4,
      number=3, type=5, cpp_type=1, label=1,
      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='previous_connection_state', full_name='net.CachedNetworkParameters.previous_connection_state', index=5,
      number=4, type=5, cpp_type=1, label=1,
      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='timestamp', full_name='net.CachedNetworkParameters.timestamp', index=6,
      number=7, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _CACHEDNETWORKPARAMETERS_PREVIOUSCONNECTIONSTATE,
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=41,
  serialized_end=368,
)

_CACHEDNETWORKPARAMETERS_PREVIOUSCONNECTIONSTATE.containing_type = _CACHEDNETWORKPARAMETERS;
DESCRIPTOR.message_types_by_name['CachedNetworkParameters'] = _CACHEDNETWORKPARAMETERS

class CachedNetworkParameters(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _CACHEDNETWORKPARAMETERS

  # @@protoc_insertion_point(class_scope:net.CachedNetworkParameters)


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