# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: chromiumos/test/api/test_libs_service.proto
"""Generated protocol buffer code."""
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='chromiumos/test/api/test_libs_service.proto',
  package='chromiumos.test.api',
  syntax='proto3',
  serialized_options=b'Z-go.chromium.org/chromiumos/config/go/test/api',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n+chromiumos/test/api/test_libs_service.proto\x12\x13\x63hromiumos.test.api\")\n\rGetLibSuccess\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\t\"\xa7\x01\n\rGetLibFailure\x12\x39\n\x06reason\x18\x01 \x01(\x0e\x32).chromiumos.test.api.GetLibFailure.Reason\"[\n\x06Reason\x12\x12\n\x0eREASON_UNKNOWN\x10\x00\x12\x1b\n\x17REASON_UNREGISTERED_LIB\x10\x01\x12 \n\x1cREASON_CONTAINER_START_ERROR\x10\x02\"?\n\rGetLibRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x0f\n\x07options\x18\x03 \x03(\t\"\x89\x01\n\x0eGetLibResponse\x12\x35\n\x07success\x18\x01 \x01(\x0b\x32\".chromiumos.test.api.GetLibSuccessH\x00\x12\x35\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\".chromiumos.test.api.GetLibFailureH\x00\x42\t\n\x07outcome\"-\n\x0eKillLibRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07options\x18\x02 \x01(\t\"\x11\n\x0fKillLibResponse2\x90\x02\n\x0fTestLibsService\x12S\n\x08StartLib\x12\".chromiumos.test.api.GetLibRequest\x1a#.chromiumos.test.api.GetLibResponse\x12R\n\x07\x46indLib\x12\".chromiumos.test.api.GetLibRequest\x1a#.chromiumos.test.api.GetLibResponse\x12T\n\x07KillLib\x12#.chromiumos.test.api.KillLibRequest\x1a$.chromiumos.test.api.KillLibResponseB/Z-go.chromium.org/chromiumos/config/go/test/apib\x06proto3'
)



_GETLIBFAILURE_REASON = _descriptor.EnumDescriptor(
  name='Reason',
  full_name='chromiumos.test.api.GetLibFailure.Reason',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='REASON_UNKNOWN', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='REASON_UNREGISTERED_LIB', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='REASON_CONTAINER_START_ERROR', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=188,
  serialized_end=279,
)
_sym_db.RegisterEnumDescriptor(_GETLIBFAILURE_REASON)


_GETLIBSUCCESS = _descriptor.Descriptor(
  name='GetLibSuccess',
  full_name='chromiumos.test.api.GetLibSuccess',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='chromiumos.test.api.GetLibSuccess.id', index=0,
      number=1, 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),
    _descriptor.FieldDescriptor(
      name='port', full_name='chromiumos.test.api.GetLibSuccess.port', 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=68,
  serialized_end=109,
)


_GETLIBFAILURE = _descriptor.Descriptor(
  name='GetLibFailure',
  full_name='chromiumos.test.api.GetLibFailure',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='reason', full_name='chromiumos.test.api.GetLibFailure.reason', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _GETLIBFAILURE_REASON,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=112,
  serialized_end=279,
)


_GETLIBREQUEST = _descriptor.Descriptor(
  name='GetLibRequest',
  full_name='chromiumos.test.api.GetLibRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='chromiumos.test.api.GetLibRequest.name', index=0,
      number=1, 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),
    _descriptor.FieldDescriptor(
      name='version', full_name='chromiumos.test.api.GetLibRequest.version', 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),
    _descriptor.FieldDescriptor(
      name='options', full_name='chromiumos.test.api.GetLibRequest.options', index=2,
      number=3, type=9, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      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=281,
  serialized_end=344,
)


_GETLIBRESPONSE = _descriptor.Descriptor(
  name='GetLibResponse',
  full_name='chromiumos.test.api.GetLibResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='success', full_name='chromiumos.test.api.GetLibResponse.success', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      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='failure', full_name='chromiumos.test.api.GetLibResponse.failure', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      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=[
    _descriptor.OneofDescriptor(
      name='outcome', full_name='chromiumos.test.api.GetLibResponse.outcome',
      index=0, containing_type=None,
      create_key=_descriptor._internal_create_key,
    fields=[]),
  ],
  serialized_start=347,
  serialized_end=484,
)


_KILLLIBREQUEST = _descriptor.Descriptor(
  name='KillLibRequest',
  full_name='chromiumos.test.api.KillLibRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='chromiumos.test.api.KillLibRequest.id', index=0,
      number=1, 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),
    _descriptor.FieldDescriptor(
      name='options', full_name='chromiumos.test.api.KillLibRequest.options', 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=486,
  serialized_end=531,
)


_KILLLIBRESPONSE = _descriptor.Descriptor(
  name='KillLibResponse',
  full_name='chromiumos.test.api.KillLibResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=533,
  serialized_end=550,
)

_GETLIBFAILURE.fields_by_name['reason'].enum_type = _GETLIBFAILURE_REASON
_GETLIBFAILURE_REASON.containing_type = _GETLIBFAILURE
_GETLIBRESPONSE.fields_by_name['success'].message_type = _GETLIBSUCCESS
_GETLIBRESPONSE.fields_by_name['failure'].message_type = _GETLIBFAILURE
_GETLIBRESPONSE.oneofs_by_name['outcome'].fields.append(
  _GETLIBRESPONSE.fields_by_name['success'])
_GETLIBRESPONSE.fields_by_name['success'].containing_oneof = _GETLIBRESPONSE.oneofs_by_name['outcome']
_GETLIBRESPONSE.oneofs_by_name['outcome'].fields.append(
  _GETLIBRESPONSE.fields_by_name['failure'])
_GETLIBRESPONSE.fields_by_name['failure'].containing_oneof = _GETLIBRESPONSE.oneofs_by_name['outcome']
DESCRIPTOR.message_types_by_name['GetLibSuccess'] = _GETLIBSUCCESS
DESCRIPTOR.message_types_by_name['GetLibFailure'] = _GETLIBFAILURE
DESCRIPTOR.message_types_by_name['GetLibRequest'] = _GETLIBREQUEST
DESCRIPTOR.message_types_by_name['GetLibResponse'] = _GETLIBRESPONSE
DESCRIPTOR.message_types_by_name['KillLibRequest'] = _KILLLIBREQUEST
DESCRIPTOR.message_types_by_name['KillLibResponse'] = _KILLLIBRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

GetLibSuccess = _reflection.GeneratedProtocolMessageType('GetLibSuccess', (_message.Message,), {
  'DESCRIPTOR' : _GETLIBSUCCESS,
  '__module__' : 'chromiumos.test.api.test_libs_service_pb2'
  # @@protoc_insertion_point(class_scope:chromiumos.test.api.GetLibSuccess)
  })
_sym_db.RegisterMessage(GetLibSuccess)

GetLibFailure = _reflection.GeneratedProtocolMessageType('GetLibFailure', (_message.Message,), {
  'DESCRIPTOR' : _GETLIBFAILURE,
  '__module__' : 'chromiumos.test.api.test_libs_service_pb2'
  # @@protoc_insertion_point(class_scope:chromiumos.test.api.GetLibFailure)
  })
_sym_db.RegisterMessage(GetLibFailure)

GetLibRequest = _reflection.GeneratedProtocolMessageType('GetLibRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETLIBREQUEST,
  '__module__' : 'chromiumos.test.api.test_libs_service_pb2'
  # @@protoc_insertion_point(class_scope:chromiumos.test.api.GetLibRequest)
  })
_sym_db.RegisterMessage(GetLibRequest)

GetLibResponse = _reflection.GeneratedProtocolMessageType('GetLibResponse', (_message.Message,), {
  'DESCRIPTOR' : _GETLIBRESPONSE,
  '__module__' : 'chromiumos.test.api.test_libs_service_pb2'
  # @@protoc_insertion_point(class_scope:chromiumos.test.api.GetLibResponse)
  })
_sym_db.RegisterMessage(GetLibResponse)

KillLibRequest = _reflection.GeneratedProtocolMessageType('KillLibRequest', (_message.Message,), {
  'DESCRIPTOR' : _KILLLIBREQUEST,
  '__module__' : 'chromiumos.test.api.test_libs_service_pb2'
  # @@protoc_insertion_point(class_scope:chromiumos.test.api.KillLibRequest)
  })
_sym_db.RegisterMessage(KillLibRequest)

KillLibResponse = _reflection.GeneratedProtocolMessageType('KillLibResponse', (_message.Message,), {
  'DESCRIPTOR' : _KILLLIBRESPONSE,
  '__module__' : 'chromiumos.test.api.test_libs_service_pb2'
  # @@protoc_insertion_point(class_scope:chromiumos.test.api.KillLibResponse)
  })
_sym_db.RegisterMessage(KillLibResponse)


DESCRIPTOR._options = None

_TESTLIBSSERVICE = _descriptor.ServiceDescriptor(
  name='TestLibsService',
  full_name='chromiumos.test.api.TestLibsService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=553,
  serialized_end=825,
  methods=[
  _descriptor.MethodDescriptor(
    name='StartLib',
    full_name='chromiumos.test.api.TestLibsService.StartLib',
    index=0,
    containing_service=None,
    input_type=_GETLIBREQUEST,
    output_type=_GETLIBRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='FindLib',
    full_name='chromiumos.test.api.TestLibsService.FindLib',
    index=1,
    containing_service=None,
    input_type=_GETLIBREQUEST,
    output_type=_GETLIBRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='KillLib',
    full_name='chromiumos.test.api.TestLibsService.KillLib',
    index=2,
    containing_service=None,
    input_type=_KILLLIBREQUEST,
    output_type=_KILLLIBRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_TESTLIBSSERVICE)

DESCRIPTOR.services_by_name['TestLibsService'] = _TESTLIBSSERVICE

# @@protoc_insertion_point(module_scope)
