Coverage for src / mysingle / protos / services / genai / v1 / dsl_validator_pb2.py: 0%

37 statements  

« prev     ^ index     » next       coverage.py v7.12.0, created at 2025-12-02 00:58 +0900

1# -*- coding: utf-8 -*- 

2# Generated by the protocol buffer compiler. DO NOT EDIT! 

3# NO CHECKED-IN PROTOBUF GENCODE 

4# source: services/genai/v1/dsl_validator.proto 

5# Protobuf Python Version: 6.33.1 

6"""Generated protocol buffer code.""" 

7 

8from google.protobuf import descriptor as _descriptor 

9from google.protobuf import descriptor_pool as _descriptor_pool 

10from google.protobuf import runtime_version as _runtime_version 

11from google.protobuf import symbol_database as _symbol_database 

12from google.protobuf.internal import builder as _builder 

13 

14_runtime_version.ValidateProtobufRuntimeVersion( 

15 _runtime_version.Domain.PUBLIC, 

16 6, 

17 33, 

18 1, 

19 "", 

20 "services/genai/v1/dsl_validator.proto", 

21) 

22# @@protoc_insertion_point(imports) 

23 

24_sym_db = _symbol_database.Default() 

25 

26 

27DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( 

28 b'\n%services/genai/v1/dsl_validator.proto\x12\x13genai.dsl_validator\x1a\x12\x63ommon/error.proto\x1a\x15\x63ommon/metadata.proto"\xb1\x01\n\x12ValidateDSLRequest\x12\x19\n\x08\x64sl_code\x18\x01 \x01(\tR\x07\x64slCode\x12L\n\x0fvalidation_type\x18\x02 \x01(\x0e\x32#.genai.dsl_validator.ValidationTypeR\x0evalidationType\x12\x32\n\x08metadata\x18\x03 \x01(\x0b\x32\x16.genai.common.MetadataR\x08metadata"\xe7\x01\n\x13ValidateDSLResponse\x12\x19\n\x08is_valid\x18\x01 \x01(\x08R\x07isValid\x12\x45\n\rsyntax_errors\x18\x02 \x03(\x0b\x32 .genai.dsl_validator.SyntaxErrorR\x0csyntaxErrors\x12L\n\x11semantic_warnings\x18\x03 \x03(\x0b\x32\x1f.genai.common.ValidationWarningR\x10semanticWarnings\x12 \n\x0bsuggestions\x18\x04 \x03(\tR\x0bsuggestions"\x87\x01\n\x0bSyntaxError\x12\x12\n\x04line\x18\x01 \x01(\x05R\x04line\x12\x16\n\x06\x63olumn\x18\x02 \x01(\x05R\x06\x63olumn\x12\x18\n\x07message\x18\x03 \x01(\tR\x07message\x12\x1a\n\x08\x65xpected\x18\x04 \x01(\tR\x08\x65xpected\x12\x16\n\x06\x61\x63tual\x18\x05 \x01(\tR\x06\x61\x63tual"\xda\x01\n\x16\x41utocompleteDSLRequest\x12\x1f\n\x0bpartial_dsl\x18\x01 \x01(\tR\npartialDsl\x12\'\n\x0f\x63ursor_position\x18\x02 \x01(\x05R\x0e\x63ursorPosition\x12\x42\n\x07\x63ontext\x18\x03 \x01(\x0b\x32(.genai.dsl_validator.AutocompleteContextR\x07\x63ontext\x12\x32\n\x08metadata\x18\x04 \x01(\x0b\x32\x16.genai.common.MetadataR\x08metadata"P\n\x13\x41utocompleteContext\x12\x18\n\x07section\x18\x01 \x01(\tR\x07section\x12\x1f\n\x0bparent_node\x18\x02 \x01(\tR\nparentNode"h\n\x17\x41utocompleteDSLResponse\x12M\n\x0bsuggestions\x18\x01 \x03(\x0b\x32+.genai.dsl_validator.AutocompleteSuggestionR\x0bsuggestions"\xee\x01\n\x16\x41utocompleteSuggestion\x12\x14\n\x05value\x18\x01 \x01(\tR\x05value\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x37\n\x04type\x18\x03 \x01(\x0e\x32#.genai.dsl_validator.SuggestionTypeR\x04type\x12=\n\nconfidence\x18\x04 \x01(\x0b\x32\x1d.genai.common.ConfidenceScoreR\nconfidence\x12$\n\rdocumentation\x18\x05 \x01(\tR\rdocumentation"`\n\x14GetSyntaxHelpRequest\x12\x14\n\x05topic\x18\x01 \x01(\tR\x05topic\x12\x32\n\x08metadata\x18\x02 \x01(\x0b\x32\x16.genai.common.MetadataR\x08metadata"\x92\x01\n\x15GetSyntaxHelpResponse\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08\x65xamples\x18\x03 \x03(\tR\x08\x65xamples\x12%\n\x0erelated_topics\x18\x04 \x03(\tR\rrelatedTopics*\x85\x01\n\x0eValidationType\x12\x1f\n\x1bVALIDATION_TYPE_UNSPECIFIED\x10\x00\x12\x1a\n\x16VALIDATION_TYPE_SYNTAX\x10\x01\x12\x1c\n\x18VALIDATION_TYPE_SEMANTIC\x10\x02\x12\x18\n\x14VALIDATION_TYPE_FULL\x10\x03*\xc6\x01\n\x0eSuggestionType\x12\x1f\n\x1bSUGGESTION_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17SUGGESTION_TYPE_KEYWORD\x10\x01\x12\x1c\n\x18SUGGESTION_TYPE_FUNCTION\x10\x02\x12\x1d\n\x19SUGGESTION_TYPE_PARAMETER\x10\x03\x12\x1c\n\x18SUGGESTION_TYPE_VARIABLE\x10\x04\x12\x1b\n\x17SUGGESTION_TYPE_SECTION\x10\x05\x32\xcd\x02\n\x13\x44SLValidatorService\x12`\n\x0bValidateDSL\x12\'.genai.dsl_validator.ValidateDSLRequest\x1a(.genai.dsl_validator.ValidateDSLResponse\x12l\n\x0f\x41utocompleteDSL\x12+.genai.dsl_validator.AutocompleteDSLRequest\x1a,.genai.dsl_validator.AutocompleteDSLResponse\x12\x66\n\rGetSyntaxHelp\x12).genai.dsl_validator.GetSyntaxHelpRequest\x1a*.genai.dsl_validator.GetSyntaxHelpResponseb\x06proto3' 

29) 

30 

31_globals = globals() 

32_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) 

33_builder.BuildTopDescriptorsAndMessages( 

34 DESCRIPTOR, "services.genai.v1.dsl_validator_pb2", _globals 

35) 

36if not _descriptor._USE_C_DESCRIPTORS: 

37 DESCRIPTOR._loaded_options = None 

38 _globals["_VALIDATIONTYPE"]._serialized_start = 1555 

39 _globals["_VALIDATIONTYPE"]._serialized_end = 1688 

40 _globals["_SUGGESTIONTYPE"]._serialized_start = 1691 

41 _globals["_SUGGESTIONTYPE"]._serialized_end = 1889 

42 _globals["_VALIDATEDSLREQUEST"]._serialized_start = 106 

43 _globals["_VALIDATEDSLREQUEST"]._serialized_end = 283 

44 _globals["_VALIDATEDSLRESPONSE"]._serialized_start = 286 

45 _globals["_VALIDATEDSLRESPONSE"]._serialized_end = 517 

46 _globals["_SYNTAXERROR"]._serialized_start = 520 

47 _globals["_SYNTAXERROR"]._serialized_end = 655 

48 _globals["_AUTOCOMPLETEDSLREQUEST"]._serialized_start = 658 

49 _globals["_AUTOCOMPLETEDSLREQUEST"]._serialized_end = 876 

50 _globals["_AUTOCOMPLETECONTEXT"]._serialized_start = 878 

51 _globals["_AUTOCOMPLETECONTEXT"]._serialized_end = 958 

52 _globals["_AUTOCOMPLETEDSLRESPONSE"]._serialized_start = 960 

53 _globals["_AUTOCOMPLETEDSLRESPONSE"]._serialized_end = 1064 

54 _globals["_AUTOCOMPLETESUGGESTION"]._serialized_start = 1067 

55 _globals["_AUTOCOMPLETESUGGESTION"]._serialized_end = 1305 

56 _globals["_GETSYNTAXHELPREQUEST"]._serialized_start = 1307 

57 _globals["_GETSYNTAXHELPREQUEST"]._serialized_end = 1403 

58 _globals["_GETSYNTAXHELPRESPONSE"]._serialized_start = 1406 

59 _globals["_GETSYNTAXHELPRESPONSE"]._serialized_end = 1552 

60 _globals["_DSLVALIDATORSERVICE"]._serialized_start = 1892 

61 _globals["_DSLVALIDATORSERVICE"]._serialized_end = 2225 

62# @@protoc_insertion_point(module_scope)