github.com/amazechain/amc@v0.1.3/api/protocol/ext/options.pb.go (about) 1 // Copyright 2022 The AmazeChain Authors 2 // This file is part of the AmazeChain library. 3 // 4 // The AmazeChain library is free software: you can redistribute it and/or modify 5 // it under the terms of the GNU Lesser General Public License as published by 6 // the Free Software Foundation, either version 3 of the License, or 7 // (at your option) any later version. 8 // 9 // The AmazeChain library is distributed in the hope that it will be useful, 10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 // GNU Lesser General Public License for more details. 13 // 14 // You should have received a copy of the GNU Lesser General Public License 15 // along with the AmazeChain library. If not, see <http://www.gnu.org/licenses/>. 16 17 // Code generated by protoc-gen-go. DO NOT EDIT. 18 // versions: 19 // protoc-gen-go v1.28.0 20 // protoc v3.20.0 21 // source: options.proto 22 23 package ext 24 25 import ( 26 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 27 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 28 descriptorpb "google.golang.org/protobuf/types/descriptorpb" 29 reflect "reflect" 30 ) 31 32 const ( 33 // Verify that this generated code is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 35 // Verify that runtime/protoimpl is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 37 ) 38 39 var file_options_proto_extTypes = []protoimpl.ExtensionInfo{ 40 { 41 ExtendedType: (*descriptorpb.FieldOptions)(nil), 42 ExtensionType: (*string)(nil), 43 Field: 50000, 44 Name: "ext.cast_type", 45 Tag: "bytes,50000,opt,name=cast_type", 46 Filename: "options.proto", 47 }, 48 { 49 ExtendedType: (*descriptorpb.FieldOptions)(nil), 50 ExtensionType: (*string)(nil), 51 Field: 50001, 52 Name: "ext.ssz_size", 53 Tag: "bytes,50001,opt,name=ssz_size", 54 Filename: "options.proto", 55 }, 56 { 57 ExtendedType: (*descriptorpb.FieldOptions)(nil), 58 ExtensionType: (*string)(nil), 59 Field: 50002, 60 Name: "ext.ssz_max", 61 Tag: "bytes,50002,opt,name=ssz_max", 62 Filename: "options.proto", 63 }, 64 { 65 ExtendedType: (*descriptorpb.FieldOptions)(nil), 66 ExtensionType: (*string)(nil), 67 Field: 50003, 68 Name: "ext.spec_name", 69 Tag: "bytes,50003,opt,name=spec_name", 70 Filename: "options.proto", 71 }, 72 } 73 74 // Extension fields to descriptorpb.FieldOptions. 75 var ( 76 // optional string cast_type = 50000; 77 E_CastType = &file_options_proto_extTypes[0] 78 // optional string ssz_size = 50001; 79 E_SszSize = &file_options_proto_extTypes[1] 80 // optional string ssz_max = 50002; 81 E_SszMax = &file_options_proto_extTypes[2] 82 // optional string spec_name = 50003; 83 E_SpecName = &file_options_proto_extTypes[3] 84 ) 85 86 var File_options_proto protoreflect.FileDescriptor 87 88 var file_options_proto_rawDesc = []byte{ 89 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 90 0x03, 0x65, 0x78, 0x74, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 91 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 92 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x3c, 0x0a, 0x09, 0x63, 0x61, 0x73, 0x74, 0x5f, 0x74, 93 0x79, 0x70, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 94 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 95 0x6e, 0x73, 0x18, 0xd0, 0x86, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x73, 0x74, 96 0x54, 0x79, 0x70, 0x65, 0x3a, 0x3a, 0x0a, 0x08, 0x73, 0x73, 0x7a, 0x5f, 0x73, 0x69, 0x7a, 0x65, 97 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 98 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 99 0xd1, 0x86, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x73, 0x7a, 0x53, 0x69, 0x7a, 0x65, 100 0x3a, 0x38, 0x0a, 0x07, 0x73, 0x73, 0x7a, 0x5f, 0x6d, 0x61, 0x78, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 101 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 102 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd2, 0x86, 0x03, 0x20, 0x01, 103 0x28, 0x09, 0x52, 0x06, 0x73, 0x73, 0x7a, 0x4d, 0x61, 0x78, 0x3a, 0x3c, 0x0a, 0x09, 0x73, 0x70, 104 0x65, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 105 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 106 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd3, 0x86, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 107 0x73, 0x70, 0x65, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x2c, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 108 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6d, 0x61, 0x7a, 0x65, 0x63, 0x68, 0x61, 0x69, 109 0x6e, 0x2f, 0x61, 0x6d, 0x63, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 110 0x6f, 0x6c, 0x2f, 0x65, 0x78, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 111 } 112 113 var file_options_proto_goTypes = []interface{}{ 114 (*descriptorpb.FieldOptions)(nil), // 0: google.protobuf.FieldOptions 115 } 116 var file_options_proto_depIdxs = []int32{ 117 0, // 0: ext.cast_type:extendee -> google.protobuf.FieldOptions 118 0, // 1: ext.ssz_size:extendee -> google.protobuf.FieldOptions 119 0, // 2: ext.ssz_max:extendee -> google.protobuf.FieldOptions 120 0, // 3: ext.spec_name:extendee -> google.protobuf.FieldOptions 121 4, // [4:4] is the sub-list for method output_type 122 4, // [4:4] is the sub-list for method input_type 123 4, // [4:4] is the sub-list for extension type_name 124 0, // [0:4] is the sub-list for extension extendee 125 0, // [0:0] is the sub-list for field type_name 126 } 127 128 func init() { file_options_proto_init() } 129 func file_options_proto_init() { 130 if File_options_proto != nil { 131 return 132 } 133 type x struct{} 134 out := protoimpl.TypeBuilder{ 135 File: protoimpl.DescBuilder{ 136 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 137 RawDescriptor: file_options_proto_rawDesc, 138 NumEnums: 0, 139 NumMessages: 0, 140 NumExtensions: 4, 141 NumServices: 0, 142 }, 143 GoTypes: file_options_proto_goTypes, 144 DependencyIndexes: file_options_proto_depIdxs, 145 ExtensionInfos: file_options_proto_extTypes, 146 }.Build() 147 File_options_proto = out.File 148 file_options_proto_rawDesc = nil 149 file_options_proto_goTypes = nil 150 file_options_proto_depIdxs = nil 151 }