Skip to content
Snippets Groups Projects
grpcService_pb2.py 4.66 KiB
Newer Older
Pablo Armingol's avatar
Pablo Armingol committed
# Copyright 2022-2024 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: grpcService.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
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_pool.Default().AddSerializedFile(b'\n\x11grpcService.proto\x12\x0esrc.main.proto\"!\n\x0e\x63ommandRequest\x12\x0f\n\x07\x63ommand\x18\x01 \x01(\t\"9\n\x0f\x63ommandResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x15\n\rerror_message\x18\x02 \x01(\t\"\x0f\n\rLSPdb_Request\"$\n\x0eLSPdb_Response\x12\x12\n\nLSPdb_data\x18\x02 \x01(\t\"\x11\n\x0fSession_Request\"(\n\x10Session_Response\x12\x14\n\x0cSession_data\x18\x02 \x01(\t2\xf8\x01\n\npceService\x12I\n\x06update\x12\x1e.src.main.proto.commandRequest\x1a\x1f.src.main.proto.commandResponse\x12I\n\x08getLSPdb\x12\x1d.src.main.proto.LSPdb_Request\x1a\x1e.src.main.proto.LSPdb_Response\x12T\n\x0fgetSessionsInfo\x12\x1f.src.main.proto.Session_Request\x1a .src.main.proto.Session_Responseb\x06proto3')

_COMMANDREQUEST = DESCRIPTOR.message_types_by_name['commandRequest']
_COMMANDRESPONSE = DESCRIPTOR.message_types_by_name['commandResponse']
_LSPDB_REQUEST = DESCRIPTOR.message_types_by_name['LSPdb_Request']
_LSPDB_RESPONSE = DESCRIPTOR.message_types_by_name['LSPdb_Response']
_SESSION_REQUEST = DESCRIPTOR.message_types_by_name['Session_Request']
_SESSION_RESPONSE = DESCRIPTOR.message_types_by_name['Session_Response']
commandRequest = _reflection.GeneratedProtocolMessageType('commandRequest', (_message.Message,), {
  'DESCRIPTOR' : _COMMANDREQUEST,
  '__module__' : 'grpcService_pb2'
  # @@protoc_insertion_point(class_scope:src.main.proto.commandRequest)
  })
_sym_db.RegisterMessage(commandRequest)

commandResponse = _reflection.GeneratedProtocolMessageType('commandResponse', (_message.Message,), {
  'DESCRIPTOR' : _COMMANDRESPONSE,
  '__module__' : 'grpcService_pb2'
  # @@protoc_insertion_point(class_scope:src.main.proto.commandResponse)
  })
_sym_db.RegisterMessage(commandResponse)

LSPdb_Request = _reflection.GeneratedProtocolMessageType('LSPdb_Request', (_message.Message,), {
  'DESCRIPTOR' : _LSPDB_REQUEST,
  '__module__' : 'grpcService_pb2'
  # @@protoc_insertion_point(class_scope:src.main.proto.LSPdb_Request)
  })
_sym_db.RegisterMessage(LSPdb_Request)

LSPdb_Response = _reflection.GeneratedProtocolMessageType('LSPdb_Response', (_message.Message,), {
  'DESCRIPTOR' : _LSPDB_RESPONSE,
  '__module__' : 'grpcService_pb2'
  # @@protoc_insertion_point(class_scope:src.main.proto.LSPdb_Response)
  })
_sym_db.RegisterMessage(LSPdb_Response)

Session_Request = _reflection.GeneratedProtocolMessageType('Session_Request', (_message.Message,), {
  'DESCRIPTOR' : _SESSION_REQUEST,
  '__module__' : 'grpcService_pb2'
  # @@protoc_insertion_point(class_scope:src.main.proto.Session_Request)
  })
_sym_db.RegisterMessage(Session_Request)

Session_Response = _reflection.GeneratedProtocolMessageType('Session_Response', (_message.Message,), {
  'DESCRIPTOR' : _SESSION_RESPONSE,
  '__module__' : 'grpcService_pb2'
  # @@protoc_insertion_point(class_scope:src.main.proto.Session_Response)
  })
_sym_db.RegisterMessage(Session_Response)

_PCESERVICE = DESCRIPTOR.services_by_name['pceService']
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  _COMMANDREQUEST._serialized_start=37
  _COMMANDREQUEST._serialized_end=70
  _COMMANDRESPONSE._serialized_start=72
  _COMMANDRESPONSE._serialized_end=129
  _LSPDB_REQUEST._serialized_start=131
  _LSPDB_REQUEST._serialized_end=146
  _LSPDB_RESPONSE._serialized_start=148
  _LSPDB_RESPONSE._serialized_end=184
  _SESSION_REQUEST._serialized_start=186
  _SESSION_REQUEST._serialized_end=203
  _SESSION_RESPONSE._serialized_start=205
  _SESSION_RESPONSE._serialized_end=245
  _PCESERVICE._serialized_start=248
  _PCESERVICE._serialized_end=496
# @@protoc_insertion_point(module_scope)