github.com/hashicorp/go-plugin@v1.6.0/examples/grpc/plugin-python/proto/kv_pb2.py (about)

     1  # Copyright (c) HashiCorp, Inc.
     2  # SPDX-License-Identifier: MPL-2.0
     3  
     4  # -*- coding: utf-8 -*-
     5  # Generated by the protocol buffer compiler.  DO NOT EDIT!
     6  # source: proto/kv.proto
     7  """Generated protocol buffer code."""
     8  from google.protobuf import descriptor as _descriptor
     9  from google.protobuf import descriptor_pool as _descriptor_pool
    10  from google.protobuf import symbol_database as _symbol_database
    11  from google.protobuf.internal import builder as _builder
    12  # @@protoc_insertion_point(imports)
    13  
    14  _sym_db = _symbol_database.Default()
    15  
    16  
    17  
    18  
    19  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0eproto/kv.proto\x12\x05proto\"\x1e\n\nGetRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\"#\n\x0bGetResponse\x12\x14\n\x05value\x18\x01 \x01(\x0cR\x05value\"4\n\nPutRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\"\x07\n\x05\x45mpty2Z\n\x02KV\x12,\n\x03Get\x12\x11.proto.GetRequest\x1a\x12.proto.GetResponse\x12&\n\x03Put\x12\x11.proto.PutRequest\x1a\x0c.proto.EmptyB\tZ\x07./protob\x06proto3')
    20  
    21  _globals = globals()
    22  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
    23  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.kv_pb2', _globals)
    24  if _descriptor._USE_C_DESCRIPTORS == False:
    25    _globals['DESCRIPTOR']._options = None
    26    _globals['DESCRIPTOR']._serialized_options = b'Z\007./proto'
    27    _globals['_GETREQUEST']._serialized_start=25
    28    _globals['_GETREQUEST']._serialized_end=55
    29    _globals['_GETRESPONSE']._serialized_start=57
    30    _globals['_GETRESPONSE']._serialized_end=92
    31    _globals['_PUTREQUEST']._serialized_start=94
    32    _globals['_PUTREQUEST']._serialized_end=146
    33    _globals['_EMPTY']._serialized_start=148
    34    _globals['_EMPTY']._serialized_end=155
    35    _globals['_KV']._serialized_start=157
    36    _globals['_KV']._serialized_end=247
    37  # @@protoc_insertion_point(module_scope)