<filename>proto/gen/python/your/service/v1/your_service_pb2.py<gh_stars>0
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: your/service/v1/your_service.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 symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='your/service/v1/your_service.proto',
  package='your.service.v1',
  syntax='proto3',
  serialized_options=b'Z?github.com/cppup/test_grpc_restful/proto/gen/go/your/service/v1',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\"your/service/v1/your_service.proto\x12\x0fyour.service.v1\x1a\x1cgoogle/api/annotations.proto\"\x1e\n\rStringMessage\x12\r\n\x05value\x18\x01 \x01(\t2r\n\x0bYourService\x12\x63\n\x04\x45\x63ho\x12\x1e.your.service.v1.StringMessage\x1a\x1e.your.service.v1.StringMessage\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v1/example/echo:\x01*BAZ?github.com/cppup/test_grpc_restful/proto/gen/go/your/service/v1b\x06proto3'
  ,
  dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,])




_STRINGMESSAGE = _descriptor.Descriptor(
  name='StringMessage',
  full_name='your.service.v1.StringMessage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='value', full_name='your.service.v1.StringMessage.value', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=85,
  serialized_end=115,
)

DESCRIPTOR.message_types_by_name['StringMessage'] = _STRINGMESSAGE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

StringMessage = _reflection.GeneratedProtocolMessageType('StringMessage', (_message.Message,), {
  'DESCRIPTOR' : _STRINGMESSAGE,
  '__module__' : 'your.service.v1.your_service_pb2'
  # @@protoc_insertion_point(class_scope:your.service.v1.StringMessage)
  })
_sym_db.RegisterMessage(StringMessage)


DESCRIPTOR._options = None

_YOURSERVICE = _descriptor.ServiceDescriptor(
  name='YourService',
  full_name='your.service.v1.YourService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=117,
  serialized_end=231,
  methods=[
  _descriptor.MethodDescriptor(
    name='Echo',
    full_name='your.service.v1.YourService.Echo',
    index=0,
    containing_service=None,
    input_type=_STRINGMESSAGE,
    output_type=_STRINGMESSAGE,
    serialized_options=b'\202\323\344\223\002\025\"\020/v1/example/echo:\001*',
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_YOURSERVICE)

DESCRIPTOR.services_by_name['YourService'] = _YOURSERVICE

# @@protoc_insertion_point(module_scope)

<filename>proto/gen/python/your/service/v1/your_service_pb2.py<gh_stars>0
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: your/service/v1/your_service.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 symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='your/service/v1/your_service.proto',
  package='your.service.v1',
  syntax='proto3',
  serialized_options=b'Z?github.com/cppup/test_grpc_restful/proto/gen/go/your/service/v1',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\"your/service/v1/your_service.proto\x12\x0fyour.service.v1\x1a\x1cgoogle/api/annotations.proto\"\x1e\n\rStringMessage\x12\r\n\x05value\x18\x01 \x01(\t2r\n\x0bYourService\x12\x63\n\x04\x45\x63ho\x12\x1e.your.service.v1.StringMessage\x1a\x1e.your.service.v1.StringMessage\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v1/example/echo:\x01*BAZ?github.com/cppup/test_grpc_restful/proto/gen/go/your/service/v1b\x06proto3'
  ,
  dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,])




_STRINGMESSAGE = _descriptor.Descriptor(
  name='StringMessage',
  full_name='your.service.v1.StringMessage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='value', full_name='your.service.v1.StringMessage.value', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=85,
  serialized_end=115,
)

DESCRIPTOR.message_types_by_name['StringMessage'] = _STRINGMESSAGE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

StringMessage = _reflection.GeneratedProtocolMessageType('StringMessage', (_message.Message,), {
  'DESCRIPTOR' : _STRINGMESSAGE,
  '__module__' : 'your.service.v1.your_service_pb2'
  # @@protoc_insertion_point(class_scope:your.service.v1.StringMessage)
  })
_sym_db.RegisterMessage(StringMessage)


DESCRIPTOR._options = None

_YOURSERVICE = _descriptor.ServiceDescriptor(
  name='YourService',
  full_name='your.service.v1.YourService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=117,
  serialized_end=231,
  methods=[
  _descriptor.MethodDescriptor(
    name='Echo',
    full_name='your.service.v1.YourService.Echo',
    index=0,
    containing_service=None,
    input_type=_STRINGMESSAGE,
    output_type=_STRINGMESSAGE,
    serialized_options=b'\202\323\344\223\002\025\"\020/v1/example/echo:\001*',
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_YOURSERVICE)

DESCRIPTOR.services_by_name['YourService'] = _YOURSERVICE

# @@protoc_insertion_point(module_scope)

# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler.  DO NOT EDIT! # source: your/service/v1/your_service.proto # @@protoc_insertion_point(imports) # @@protoc_insertion_point(class_scope:your.service.v1.StringMessage) # @@protoc_insertion_point(module_scope)