Skip to content
Snippets Groups Projects
slice_pb2.py 2.38 KiB
Newer Older
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: slice.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()


from . 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.proto2\xa7\x01\n\x0cSliceService\x12\x31\n\x0b\x43reateSlice\x12\x0e.context.Slice\x1a\x10.context.SliceId\"\x00\x12\x31\n\x0bUpdateSlice\x12\x0e.context.Slice\x1a\x10.context.SliceId\"\x00\x12\x31\n\x0b\x44\x65leteSlice\x12\x10.context.SliceId\x1a\x0e.context.Empty\"\x00\x62\x06proto3'
  ,
  dependencies=[context__pb2.DESCRIPTOR,])



_sym_db.RegisterFileDescriptor(DESCRIPTOR)



_SLICESERVICE = _descriptor.ServiceDescriptor(
  name='SliceService',
  full_name='slice.SliceService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=38,
  serialized_end=205,
  methods=[
  _descriptor.MethodDescriptor(
    name='CreateSlice',
    full_name='slice.SliceService.CreateSlice',
    index=0,
    containing_service=None,
    input_type=context__pb2._SLICE,
    output_type=context__pb2._SLICEID,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='UpdateSlice',
    full_name='slice.SliceService.UpdateSlice',
    index=1,
    containing_service=None,
    input_type=context__pb2._SLICE,
    output_type=context__pb2._SLICEID,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='DeleteSlice',
    full_name='slice.SliceService.DeleteSlice',
    index=2,
    containing_service=None,
    input_type=context__pb2._SLICEID,
    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)