# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: slice.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()


import context_pb2 as context__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='slice.proto',
  package='slice',
  syntax='proto3',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x0bslice.proto\x12\x05slice\x1a\rcontext.proto\"3\n\rSliceEndpoint\x12\"\n\x07port_id\x18\x01 \x01(\x0b\x32\x11.context.EndPoint\"\xa9\x01\n\x0eTransportSlice\x12 \n\x08slice_id\x18\x01 \x01(\x0b\x32\x0e.slice.SliceId\x12\'\n\tendpoints\x18\x02 \x03(\x0b\x32\x14.slice.SliceEndpoint\x12(\n\x0b\x63onstraints\x18\x03 \x03(\x0b\x32\x13.context.Constraint\x12\"\n\x06status\x18\x04 \x01(\x0b\x32\x12.slice.SliceStatus\"*\n\x07SliceId\x12\x1f\n\x08slice_id\x18\x01 \x01(\x0b\x32\r.context.Uuid\"W\n\x0bSliceStatus\x12 \n\x08slice_id\x18\x01 \x01(\x0b\x32\x0e.slice.SliceId\x12&\n\x06status\x18\x02 \x01(\x0e\x32\x16.slice.SliceStatusEnum*@\n\x0fSliceStatusEnum\x12\x0b\n\x07PLANNED\x10\x00\x12\x08\n\x04INIT\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\n\n\x06\x44\x45INIT\x10\x03\x32\x88\x01\n\x0cSliceService\x12@\n\x11\x43reateUpdateSlice\x12\x15.slice.TransportSlice\x1a\x12.slice.SliceStatus\"\x00\x12\x36\n\x0b\x44\x65leteSlice\x12\x15.slice.TransportSlice\x1a\x0e.context.Empty\"\x00\x62\x06proto3'
  ,
  dependencies=[context__pb2.DESCRIPTOR,])

_SLICESTATUSENUM = _descriptor.EnumDescriptor(
  name='SliceStatusEnum',
  full_name='slice.SliceStatusEnum',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='PLANNED', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='INIT', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='ACTIVE', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='DEINIT', index=3, number=3,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=395,
  serialized_end=459,
)
_sym_db.RegisterEnumDescriptor(_SLICESTATUSENUM)

SliceStatusEnum = enum_type_wrapper.EnumTypeWrapper(_SLICESTATUSENUM)
PLANNED = 0
INIT = 1
ACTIVE = 2
DEINIT = 3



_SLICEENDPOINT = _descriptor.Descriptor(
  name='SliceEndpoint',
  full_name='slice.SliceEndpoint',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='port_id', full_name='slice.SliceEndpoint.port_id', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=37,
  serialized_end=88,
)


_TRANSPORTSLICE = _descriptor.Descriptor(
  name='TransportSlice',
  full_name='slice.TransportSlice',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='slice_id', full_name='slice.TransportSlice.slice_id', 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='endpoints', full_name='slice.TransportSlice.endpoints', 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,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='constraints', full_name='slice.TransportSlice.constraints', index=2,
      number=3, 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,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='status', full_name='slice.TransportSlice.status', index=3,
      number=4, 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=[
  ],
  serialized_start=91,
  serialized_end=260,
)


_SLICEID = _descriptor.Descriptor(
  name='SliceId',
  full_name='slice.SliceId',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='slice_id', full_name='slice.SliceId.slice_id', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=262,
  serialized_end=304,
)


_SLICESTATUS = _descriptor.Descriptor(
  name='SliceStatus',
  full_name='slice.SliceStatus',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='slice_id', full_name='slice.SliceStatus.slice_id', 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='status', full_name='slice.SliceStatus.status', index=1,
      number=2, 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=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=306,
  serialized_end=393,
)

_SLICEENDPOINT.fields_by_name['port_id'].message_type = context__pb2._ENDPOINT
_TRANSPORTSLICE.fields_by_name['slice_id'].message_type = _SLICEID
_TRANSPORTSLICE.fields_by_name['endpoints'].message_type = _SLICEENDPOINT
_TRANSPORTSLICE.fields_by_name['constraints'].message_type = context__pb2._CONSTRAINT
_TRANSPORTSLICE.fields_by_name['status'].message_type = _SLICESTATUS
_SLICEID.fields_by_name['slice_id'].message_type = context__pb2._UUID
_SLICESTATUS.fields_by_name['slice_id'].message_type = _SLICEID
_SLICESTATUS.fields_by_name['status'].enum_type = _SLICESTATUSENUM
DESCRIPTOR.message_types_by_name['SliceEndpoint'] = _SLICEENDPOINT
DESCRIPTOR.message_types_by_name['TransportSlice'] = _TRANSPORTSLICE
DESCRIPTOR.message_types_by_name['SliceId'] = _SLICEID
DESCRIPTOR.message_types_by_name['SliceStatus'] = _SLICESTATUS
DESCRIPTOR.enum_types_by_name['SliceStatusEnum'] = _SLICESTATUSENUM
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

SliceEndpoint = _reflection.GeneratedProtocolMessageType('SliceEndpoint', (_message.Message,), {
  'DESCRIPTOR' : _SLICEENDPOINT,
  '__module__' : 'slice_pb2'
  # @@protoc_insertion_point(class_scope:slice.SliceEndpoint)
  })
_sym_db.RegisterMessage(SliceEndpoint)

TransportSlice = _reflection.GeneratedProtocolMessageType('TransportSlice', (_message.Message,), {
  'DESCRIPTOR' : _TRANSPORTSLICE,
  '__module__' : 'slice_pb2'
  # @@protoc_insertion_point(class_scope:slice.TransportSlice)
  })
_sym_db.RegisterMessage(TransportSlice)

SliceId = _reflection.GeneratedProtocolMessageType('SliceId', (_message.Message,), {
  'DESCRIPTOR' : _SLICEID,
  '__module__' : 'slice_pb2'
  # @@protoc_insertion_point(class_scope:slice.SliceId)
  })
_sym_db.RegisterMessage(SliceId)

SliceStatus = _reflection.GeneratedProtocolMessageType('SliceStatus', (_message.Message,), {
  'DESCRIPTOR' : _SLICESTATUS,
  '__module__' : 'slice_pb2'
  # @@protoc_insertion_point(class_scope:slice.SliceStatus)
  })
_sym_db.RegisterMessage(SliceStatus)



_SLICESERVICE = _descriptor.ServiceDescriptor(
  name='SliceService',
  full_name='slice.SliceService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=462,
  serialized_end=598,
  methods=[
  _descriptor.MethodDescriptor(
    name='CreateUpdateSlice',
    full_name='slice.SliceService.CreateUpdateSlice',
    index=0,
    containing_service=None,
    input_type=_TRANSPORTSLICE,
    output_type=_SLICESTATUS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='DeleteSlice',
    full_name='slice.SliceService.DeleteSlice',
    index=1,
    containing_service=None,
    input_type=_TRANSPORTSLICE,
    output_type=context__pb2._EMPTY,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_SLICESERVICE)

DESCRIPTOR.services_by_name['SliceService'] = _SLICESERVICE

# @@protoc_insertion_point(module_scope)
