# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: gapic/samplegen_utils/snippet_metadata.proto
# type: ignore
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
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,gapic/samplegen_utils/snippet_metadata.proto\x12-google.cloud.tools.snippetgen.snippetindex.v1\"\xa7\x01\n\x05Index\x12T\n\x0e\x63lient_library\x18\x01 \x01(\x0b\x32<.google.cloud.tools.snippetgen.snippetindex.v1.ClientLibrary\x12H\n\x08snippets\x18\x02 \x03(\x0b\x32\x36.google.cloud.tools.snippetgen.snippetindex.v1.Snippet\"\x9f\x06\n\x07Snippet\x12\x12\n\nregion_tag\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x0c\n\x04\x66ile\x18\x04 \x01(\t\x12I\n\x08language\x18\x05 \x01(\x0e\x32\x37.google.cloud.tools.snippetgen.snippetindex.v1.Language\x12R\n\rclient_method\x18\x06 \x01(\x0b\x32;.google.cloud.tools.snippetgen.snippetindex.v1.ClientMethod\x12\x11\n\tcanonical\x18\x07 \x01(\x08\x12M\n\x06origin\x18\x08 \x01(\x0e\x32=.google.cloud.tools.snippetgen.snippetindex.v1.Snippet.Origin\x12P\n\x08segments\x18\t \x03(\x0b\x32>.google.cloud.tools.snippetgen.snippetindex.v1.Snippet.Segment\x1a\xa7\x02\n\x07Segment\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\x12X\n\x04type\x18\x03 \x01(\x0e\x32J.google.cloud.tools.snippetgen.snippetindex.v1.Snippet.Segment.SegmentType\"\xa5\x01\n\x0bSegmentType\x12\x1c\n\x18SEGMENT_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\t\n\x05SHORT\x10\x02\x12\x19\n\x15\x43LIENT_INITIALIZATION\x10\x03\x12\x1a\n\x16REQUEST_INITIALIZATION\x10\x04\x12\x15\n\x11REQUEST_EXECUTION\x10\x05\x12\x15\n\x11RESPONSE_HANDLING\x10\x06\"Q\n\x06Origin\x12\x16\n\x12ORIGIN_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x41PI_DEFINITION\x10\x01\x12\n\n\x06\x43ONFIG\x10\x02\x12\x0f\n\x0bHANDWRITTEN\x10\x03\"\xf2\x02\n\x0c\x43lientMethod\x12\x12\n\nshort_name\x18\x01 \x01(\t\x12\x11\n\tfull_name\x18\x02 \x01(\t\x12\r\n\x05\x61sync\x18\x03 \x01(\x08\x12Y\n\nparameters\x18\x04 \x03(\x0b\x32\x45.google.cloud.tools.snippetgen.snippetindex.v1.ClientMethod.Parameter\x12\x13\n\x0bresult_type\x18\x05 \x01(\t\x12L\n\x06\x63lient\x18\x06 \x01(\x0b\x32<.google.cloud.tools.snippetgen.snippetindex.v1.ServiceClient\x12\x45\n\x06method\x18\x07 \x01(\x0b\x32\x35.google.cloud.tools.snippetgen.snippetindex.v1.Method\x1a\'\n\tParameter\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"6\n\rServiceClient\x12\x12\n\nshort_name\x18\x01 \x01(\t\x12\x11\n\tfull_name\x18\x02 \x01(\t\"\xbb\x01\n\rClientLibrary\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12I\n\x08language\x18\x03 \x01(\x0e\x32\x37.google.cloud.tools.snippetgen.snippetindex.v1.Language\x12@\n\x04\x61pis\x18\x04 \x03(\x0b\x32\x32.google.cloud.tools.snippetgen.snippetindex.v1.Api\"x\n\x06Method\x12\x12\n\nshort_name\x18\x01 \x01(\t\x12\x11\n\tfull_name\x18\x02 \x01(\t\x12G\n\x07service\x18\x03 \x01(\x0b\x32\x36.google.cloud.tools.snippetgen.snippetindex.v1.Service\"0\n\x07Service\x12\x12\n\nshort_name\x18\x01 \x01(\t\x12\x11\n\tfull_name\x18\x02 \x01(\t\"\"\n\x03\x41pi\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t*\xef\x01\n\x08Language\x12\x18\n\x14LANGUAGE_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x43_PLUS_PLUS\x10\x01\x12\x0b\n\x07\x43_SHARP\x10\x02\x12\x08\n\x04\x44\x41RT\x10\x03\x12\n\n\x06\x45LIXIR\x10\x04\x12\n\n\x06\x45RLANG\x10\x05\x12\x0b\n\x07\x46_SHARP\x10\x06\x12\x06\n\x02GO\x10\x07\x12\x08\n\x04JAVA\x10\x08\x12\x0e\n\nJAVASCRIPT\x10\t\x12\n\n\x06KOTLIN\x10\n\x12\x07\n\x03PHP\x10\x0b\x12\n\n\x06PYTHON\x10\x0c\x12\x08\n\x04RUBY\x10\r\x12\x08\n\x04RUST\x10\x0e\x12\t\n\x05SWIFT\x10\x0f\x12\x0e\n\nTYPESCRIPT\x10\x10\x12\n\n\x06VB_NET\x10\x11\x42\x95\x01\xaa\x02-Google.Cloud.Tools.SnippetGen.SnippetIndex.V1\xca\x02-Google\\Cloud\\Tools\\SnippetGen\\SnippetIndex\\V1\xea\x02\x32Google::Cloud::Tools::SnippetGen::SnippetIndex::V1b\x06proto3')

_LANGUAGE = DESCRIPTOR.enum_types_by_name['Language']
Language = enum_type_wrapper.EnumTypeWrapper(_LANGUAGE)
LANGUAGE_UNSPECIFIED = 0
C_PLUS_PLUS = 1
C_SHARP = 2
DART = 3
ELIXIR = 4
ERLANG = 5
F_SHARP = 6
GO = 7
JAVA = 8
JAVASCRIPT = 9
KOTLIN = 10
PHP = 11
PYTHON = 12
RUBY = 13
RUST = 14
SWIFT = 15
TYPESCRIPT = 16
VB_NET = 17


_INDEX = DESCRIPTOR.message_types_by_name['Index']
_SNIPPET = DESCRIPTOR.message_types_by_name['Snippet']
_SNIPPET_SEGMENT = _SNIPPET.nested_types_by_name['Segment']
_CLIENTMETHOD = DESCRIPTOR.message_types_by_name['ClientMethod']
_CLIENTMETHOD_PARAMETER = _CLIENTMETHOD.nested_types_by_name['Parameter']
_SERVICECLIENT = DESCRIPTOR.message_types_by_name['ServiceClient']
_CLIENTLIBRARY = DESCRIPTOR.message_types_by_name['ClientLibrary']
_METHOD = DESCRIPTOR.message_types_by_name['Method']
_SERVICE = DESCRIPTOR.message_types_by_name['Service']
_API = DESCRIPTOR.message_types_by_name['Api']
_SNIPPET_SEGMENT_SEGMENTTYPE = _SNIPPET_SEGMENT.enum_types_by_name['SegmentType']
_SNIPPET_ORIGIN = _SNIPPET.enum_types_by_name['Origin']
Index = _reflection.GeneratedProtocolMessageType('Index', (_message.Message,), {
    'DESCRIPTOR': _INDEX,
    '__module__': 'gapic.samplegen_utils.snippet_metadata_pb2'
    # @@protoc_insertion_point(class_scope:google.cloud.tools.snippetgen.snippetindex.v1.Index)
    })
_sym_db.RegisterMessage(Index)

Snippet = _reflection.GeneratedProtocolMessageType('Snippet', (_message.Message,), {

    'Segment': _reflection.GeneratedProtocolMessageType('Segment', (_message.Message,), {
        'DESCRIPTOR': _SNIPPET_SEGMENT,
        '__module__': 'gapic.samplegen_utils.snippet_metadata_pb2'
        # @@protoc_insertion_point(class_scope:google.cloud.tools.snippetgen.snippetindex.v1.Snippet.Segment)
    }),
    'DESCRIPTOR': _SNIPPET,
    '__module__': 'gapic.samplegen_utils.snippet_metadata_pb2'
    # @@protoc_insertion_point(class_scope:google.cloud.tools.snippetgen.snippetindex.v1.Snippet)
    })
_sym_db.RegisterMessage(Snippet)
_sym_db.RegisterMessage(Snippet.Segment)

ClientMethod = _reflection.GeneratedProtocolMessageType('ClientMethod', (_message.Message,), {

    'Parameter': _reflection.GeneratedProtocolMessageType('Parameter', (_message.Message,), {
        'DESCRIPTOR': _CLIENTMETHOD_PARAMETER,
        '__module__': 'gapic.samplegen_utils.snippet_metadata_pb2'
        # @@protoc_insertion_point(class_scope:google.cloud.tools.snippetgen.snippetindex.v1.ClientMethod.Parameter)
    }),
    'DESCRIPTOR': _CLIENTMETHOD,
    '__module__': 'gapic.samplegen_utils.snippet_metadata_pb2'
    # @@protoc_insertion_point(class_scope:google.cloud.tools.snippetgen.snippetindex.v1.ClientMethod)
    })
_sym_db.RegisterMessage(ClientMethod)
_sym_db.RegisterMessage(ClientMethod.Parameter)

ServiceClient = _reflection.GeneratedProtocolMessageType('ServiceClient', (_message.Message,), {
    'DESCRIPTOR': _SERVICECLIENT,
    '__module__': 'gapic.samplegen_utils.snippet_metadata_pb2'
    # @@protoc_insertion_point(class_scope:google.cloud.tools.snippetgen.snippetindex.v1.ServiceClient)
    })
_sym_db.RegisterMessage(ServiceClient)

ClientLibrary = _reflection.GeneratedProtocolMessageType('ClientLibrary', (_message.Message,), {
    'DESCRIPTOR': _CLIENTLIBRARY,
    '__module__': 'gapic.samplegen_utils.snippet_metadata_pb2'
    # @@protoc_insertion_point(class_scope:google.cloud.tools.snippetgen.snippetindex.v1.ClientLibrary)
    })
_sym_db.RegisterMessage(ClientLibrary)

Method = _reflection.GeneratedProtocolMessageType('Method', (_message.Message,), {
    'DESCRIPTOR': _METHOD,
    '__module__': 'gapic.samplegen_utils.snippet_metadata_pb2'
    # @@protoc_insertion_point(class_scope:google.cloud.tools.snippetgen.snippetindex.v1.Method)
    })
_sym_db.RegisterMessage(Method)

Service = _reflection.GeneratedProtocolMessageType('Service', (_message.Message,), {
    'DESCRIPTOR': _SERVICE,
    '__module__': 'gapic.samplegen_utils.snippet_metadata_pb2'
    # @@protoc_insertion_point(class_scope:google.cloud.tools.snippetgen.snippetindex.v1.Service)
    })
_sym_db.RegisterMessage(Service)

Api = _reflection.GeneratedProtocolMessageType('Api', (_message.Message,), {
    'DESCRIPTOR': _API,
    '__module__': 'gapic.samplegen_utils.snippet_metadata_pb2'
    # @@protoc_insertion_point(class_scope:google.cloud.tools.snippetgen.snippetindex.v1.Api)
    })
_sym_db.RegisterMessage(Api)

if _descriptor._USE_C_DESCRIPTORS == False:

    DESCRIPTOR._options = None
    DESCRIPTOR._serialized_options = b'\252\002-Google.Cloud.Tools.SnippetGen.SnippetIndex.V1\312\002-Google\\Cloud\\Tools\\SnippetGen\\SnippetIndex\\V1\352\0022Google::Cloud::Tools::SnippetGen::SnippetIndex::V1'
    _LANGUAGE._serialized_start = 1895
    _LANGUAGE._serialized_end = 2134
    _INDEX._serialized_start = 96
    _INDEX._serialized_end = 263
    _SNIPPET._serialized_start = 266
    _SNIPPET._serialized_end = 1065
    _SNIPPET_SEGMENT._serialized_start = 687
    _SNIPPET_SEGMENT._serialized_end = 982
    _SNIPPET_SEGMENT_SEGMENTTYPE._serialized_start = 817
    _SNIPPET_SEGMENT_SEGMENTTYPE._serialized_end = 982
    _SNIPPET_ORIGIN._serialized_start = 984
    _SNIPPET_ORIGIN._serialized_end = 1065
    _CLIENTMETHOD._serialized_start = 1068
    _CLIENTMETHOD._serialized_end = 1438
    _CLIENTMETHOD_PARAMETER._serialized_start = 1399
    _CLIENTMETHOD_PARAMETER._serialized_end = 1438
    _SERVICECLIENT._serialized_start = 1440
    _SERVICECLIENT._serialized_end = 1494
    _CLIENTLIBRARY._serialized_start = 1497
    _CLIENTLIBRARY._serialized_end = 1684
    _METHOD._serialized_start = 1686
    _METHOD._serialized_end = 1806
    _SERVICE._serialized_start = 1808
    _SERVICE._serialized_end = 1856
    _API._serialized_start = 1858
    _API._serialized_end = 1892
# @@protoc_insertion_point(module_scope)
