github.com/cosmos/cosmos-proto@v1.0.0-beta.3/cosmos.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc v3.19.1 5 // source: cosmos_proto/cosmos.proto 6 7 package cosmos_proto 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 descriptorpb "google.golang.org/protobuf/types/descriptorpb" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type ScalarType int32 25 26 const ( 27 ScalarType_SCALAR_TYPE_UNSPECIFIED ScalarType = 0 28 ScalarType_SCALAR_TYPE_STRING ScalarType = 1 29 ScalarType_SCALAR_TYPE_BYTES ScalarType = 2 30 ) 31 32 // Enum value maps for ScalarType. 33 var ( 34 ScalarType_name = map[int32]string{ 35 0: "SCALAR_TYPE_UNSPECIFIED", 36 1: "SCALAR_TYPE_STRING", 37 2: "SCALAR_TYPE_BYTES", 38 } 39 ScalarType_value = map[string]int32{ 40 "SCALAR_TYPE_UNSPECIFIED": 0, 41 "SCALAR_TYPE_STRING": 1, 42 "SCALAR_TYPE_BYTES": 2, 43 } 44 ) 45 46 func (x ScalarType) Enum() *ScalarType { 47 p := new(ScalarType) 48 *p = x 49 return p 50 } 51 52 func (x ScalarType) String() string { 53 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 54 } 55 56 func (ScalarType) Descriptor() protoreflect.EnumDescriptor { 57 return file_cosmos_proto_cosmos_proto_enumTypes[0].Descriptor() 58 } 59 60 func (ScalarType) Type() protoreflect.EnumType { 61 return &file_cosmos_proto_cosmos_proto_enumTypes[0] 62 } 63 64 func (x ScalarType) Number() protoreflect.EnumNumber { 65 return protoreflect.EnumNumber(x) 66 } 67 68 // Deprecated: Use ScalarType.Descriptor instead. 69 func (ScalarType) EnumDescriptor() ([]byte, []int) { 70 return file_cosmos_proto_cosmos_proto_rawDescGZIP(), []int{0} 71 } 72 73 // InterfaceDescriptor describes an interface type to be used with 74 // accepts_interface and implements_interface and declared by declare_interface. 75 type InterfaceDescriptor struct { 76 state protoimpl.MessageState 77 sizeCache protoimpl.SizeCache 78 unknownFields protoimpl.UnknownFields 79 80 // name is the name of the interface. It should be a short-name (without 81 // a period) such that the fully qualified name of the interface will be 82 // package.name, ex. for the package a.b and interface named C, the 83 // fully-qualified name will be a.b.C. 84 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 85 // description is a human-readable description of the interface and its 86 // purpose. 87 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 88 } 89 90 func (x *InterfaceDescriptor) Reset() { 91 *x = InterfaceDescriptor{} 92 if protoimpl.UnsafeEnabled { 93 mi := &file_cosmos_proto_cosmos_proto_msgTypes[0] 94 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 95 ms.StoreMessageInfo(mi) 96 } 97 } 98 99 func (x *InterfaceDescriptor) String() string { 100 return protoimpl.X.MessageStringOf(x) 101 } 102 103 func (*InterfaceDescriptor) ProtoMessage() {} 104 105 func (x *InterfaceDescriptor) ProtoReflect() protoreflect.Message { 106 mi := &file_cosmos_proto_cosmos_proto_msgTypes[0] 107 if protoimpl.UnsafeEnabled && x != nil { 108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 109 if ms.LoadMessageInfo() == nil { 110 ms.StoreMessageInfo(mi) 111 } 112 return ms 113 } 114 return mi.MessageOf(x) 115 } 116 117 // Deprecated: Use InterfaceDescriptor.ProtoReflect.Descriptor instead. 118 func (*InterfaceDescriptor) Descriptor() ([]byte, []int) { 119 return file_cosmos_proto_cosmos_proto_rawDescGZIP(), []int{0} 120 } 121 122 func (x *InterfaceDescriptor) GetName() string { 123 if x != nil { 124 return x.Name 125 } 126 return "" 127 } 128 129 func (x *InterfaceDescriptor) GetDescription() string { 130 if x != nil { 131 return x.Description 132 } 133 return "" 134 } 135 136 // ScalarDescriptor describes an scalar type to be used with 137 // the scalar field option and declared by declare_scalar. 138 // Scalars extend simple protobuf built-in types with additional 139 // syntax and semantics, for instance to represent big integers. 140 // Scalars should ideally define an encoding such that there is only one 141 // valid syntactical representation for a given semantic meaning, 142 // i.e. the encoding should be deterministic. 143 type ScalarDescriptor struct { 144 state protoimpl.MessageState 145 sizeCache protoimpl.SizeCache 146 unknownFields protoimpl.UnknownFields 147 148 // name is the name of the scalar. It should be a short-name (without 149 // a period) such that the fully qualified name of the scalar will be 150 // package.name, ex. for the package a.b and scalar named C, the 151 // fully-qualified name will be a.b.C. 152 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 153 // description is a human-readable description of the scalar and its 154 // encoding format. For instance a big integer or decimal scalar should 155 // specify precisely the expected encoding format. 156 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 157 // field_type is the type of field with which this scalar can be used. 158 // Scalars can be used with one and only one type of field so that 159 // encoding standards and simple and clear. Currently only string and 160 // bytes fields are supported for scalars. 161 FieldType []ScalarType `protobuf:"varint,3,rep,packed,name=field_type,json=fieldType,proto3,enum=cosmos_proto.ScalarType" json:"field_type,omitempty"` 162 } 163 164 func (x *ScalarDescriptor) Reset() { 165 *x = ScalarDescriptor{} 166 if protoimpl.UnsafeEnabled { 167 mi := &file_cosmos_proto_cosmos_proto_msgTypes[1] 168 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 169 ms.StoreMessageInfo(mi) 170 } 171 } 172 173 func (x *ScalarDescriptor) String() string { 174 return protoimpl.X.MessageStringOf(x) 175 } 176 177 func (*ScalarDescriptor) ProtoMessage() {} 178 179 func (x *ScalarDescriptor) ProtoReflect() protoreflect.Message { 180 mi := &file_cosmos_proto_cosmos_proto_msgTypes[1] 181 if protoimpl.UnsafeEnabled && x != nil { 182 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 183 if ms.LoadMessageInfo() == nil { 184 ms.StoreMessageInfo(mi) 185 } 186 return ms 187 } 188 return mi.MessageOf(x) 189 } 190 191 // Deprecated: Use ScalarDescriptor.ProtoReflect.Descriptor instead. 192 func (*ScalarDescriptor) Descriptor() ([]byte, []int) { 193 return file_cosmos_proto_cosmos_proto_rawDescGZIP(), []int{1} 194 } 195 196 func (x *ScalarDescriptor) GetName() string { 197 if x != nil { 198 return x.Name 199 } 200 return "" 201 } 202 203 func (x *ScalarDescriptor) GetDescription() string { 204 if x != nil { 205 return x.Description 206 } 207 return "" 208 } 209 210 func (x *ScalarDescriptor) GetFieldType() []ScalarType { 211 if x != nil { 212 return x.FieldType 213 } 214 return nil 215 } 216 217 var file_cosmos_proto_cosmos_proto_extTypes = []protoimpl.ExtensionInfo{ 218 { 219 ExtendedType: (*descriptorpb.MessageOptions)(nil), 220 ExtensionType: ([]string)(nil), 221 Field: 93001, 222 Name: "cosmos_proto.implements_interface", 223 Tag: "bytes,93001,rep,name=implements_interface", 224 Filename: "cosmos_proto/cosmos.proto", 225 }, 226 { 227 ExtendedType: (*descriptorpb.FieldOptions)(nil), 228 ExtensionType: (*string)(nil), 229 Field: 93001, 230 Name: "cosmos_proto.accepts_interface", 231 Tag: "bytes,93001,opt,name=accepts_interface", 232 Filename: "cosmos_proto/cosmos.proto", 233 }, 234 { 235 ExtendedType: (*descriptorpb.FieldOptions)(nil), 236 ExtensionType: (*string)(nil), 237 Field: 93002, 238 Name: "cosmos_proto.scalar", 239 Tag: "bytes,93002,opt,name=scalar", 240 Filename: "cosmos_proto/cosmos.proto", 241 }, 242 { 243 ExtendedType: (*descriptorpb.FileOptions)(nil), 244 ExtensionType: ([]*InterfaceDescriptor)(nil), 245 Field: 793021, 246 Name: "cosmos_proto.declare_interface", 247 Tag: "bytes,793021,rep,name=declare_interface", 248 Filename: "cosmos_proto/cosmos.proto", 249 }, 250 { 251 ExtendedType: (*descriptorpb.FileOptions)(nil), 252 ExtensionType: ([]*ScalarDescriptor)(nil), 253 Field: 793022, 254 Name: "cosmos_proto.declare_scalar", 255 Tag: "bytes,793022,rep,name=declare_scalar", 256 Filename: "cosmos_proto/cosmos.proto", 257 }, 258 } 259 260 // Extension fields to descriptorpb.MessageOptions. 261 var ( 262 // implements_interface is used to indicate the type name of the interface 263 // that a message implements so that it can be used in google.protobuf.Any 264 // fields that accept that interface. A message can implement multiple 265 // interfaces. Interfaces should be declared using a declare_interface 266 // file option. 267 // 268 // repeated string implements_interface = 93001; 269 E_ImplementsInterface = &file_cosmos_proto_cosmos_proto_extTypes[0] 270 ) 271 272 // Extension fields to descriptorpb.FieldOptions. 273 var ( 274 // accepts_interface is used to annotate that a google.protobuf.Any 275 // field accepts messages that implement the specified interface. 276 // Interfaces should be declared using a declare_interface file option. 277 // 278 // optional string accepts_interface = 93001; 279 E_AcceptsInterface = &file_cosmos_proto_cosmos_proto_extTypes[1] 280 // scalar is used to indicate that this field follows the formatting defined 281 // by the named scalar which should be declared with declare_scalar. Code 282 // generators may choose to use this information to map this field to a 283 // language-specific type representing the scalar. 284 // 285 // optional string scalar = 93002; 286 E_Scalar = &file_cosmos_proto_cosmos_proto_extTypes[2] 287 ) 288 289 // Extension fields to descriptorpb.FileOptions. 290 var ( 291 // declare_interface declares an interface type to be used with 292 // accepts_interface and implements_interface. Interface names are 293 // expected to follow the following convention such that their declaration 294 // can be discovered by tools: for a given interface type a.b.C, it is 295 // expected that the declaration will be found in a protobuf file named 296 // a/b/interfaces.proto in the file descriptor set. 297 // 298 // repeated cosmos_proto.InterfaceDescriptor declare_interface = 793021; 299 E_DeclareInterface = &file_cosmos_proto_cosmos_proto_extTypes[3] 300 // declare_scalar declares a scalar type to be used with 301 // the scalar field option. Scalar names are 302 // expected to follow the following convention such that their declaration 303 // can be discovered by tools: for a given scalar type a.b.C, it is 304 // expected that the declaration will be found in a protobuf file named 305 // a/b/scalars.proto in the file descriptor set. 306 // 307 // repeated cosmos_proto.ScalarDescriptor declare_scalar = 793022; 308 E_DeclareScalar = &file_cosmos_proto_cosmos_proto_extTypes[4] 309 ) 310 311 var File_cosmos_proto_cosmos_proto protoreflect.FileDescriptor 312 313 var file_cosmos_proto_cosmos_proto_rawDesc = []byte{ 314 0x0a, 0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 315 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x63, 0x6f, 0x73, 316 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 317 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 318 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x13, 0x49, 319 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 320 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 321 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 322 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 323 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x81, 0x01, 0x0a, 0x10, 0x53, 0x63, 0x61, 324 0x6c, 0x61, 0x72, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x12, 0x0a, 325 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 326 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 327 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 328 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 329 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 330 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x54, 0x79, 0x70, 331 0x65, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2a, 0x58, 0x0a, 0x0a, 332 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x43, 333 0x41, 0x4c, 0x41, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 334 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x43, 0x41, 0x4c, 0x41, 335 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 336 0x15, 0x0a, 0x11, 0x53, 0x43, 0x41, 0x4c, 0x41, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 337 0x59, 0x54, 0x45, 0x53, 0x10, 0x02, 0x3a, 0x54, 0x0a, 0x14, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 338 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x1f, 339 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 340 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 341 0xc9, 0xd6, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 342 0x6e, 0x74, 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x3a, 0x4c, 0x0a, 0x11, 343 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 344 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 345 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 346 0x18, 0xc9, 0xd6, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 347 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x3a, 0x37, 0x0a, 0x06, 0x73, 0x63, 348 0x61, 0x6c, 0x61, 0x72, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 349 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 350 0x6f, 0x6e, 0x73, 0x18, 0xca, 0xd6, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x61, 351 0x6c, 0x61, 0x72, 0x3a, 0x6e, 0x0a, 0x11, 0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x65, 0x5f, 0x69, 352 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 353 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 354 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xbd, 0xb3, 0x30, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 355 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x49, 0x6e, 356 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 357 0x72, 0x52, 0x10, 0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 358 0x61, 0x63, 0x65, 0x3a, 0x65, 0x0a, 0x0e, 0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x65, 0x5f, 0x73, 359 0x63, 0x61, 0x6c, 0x61, 0x72, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 360 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 361 0x6f, 0x6e, 0x73, 0x18, 0xbe, 0xb3, 0x30, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 362 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x63, 0x61, 0x6c, 0x61, 363 0x72, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x0d, 0x64, 0x65, 0x63, 364 0x6c, 0x61, 0x72, 0x65, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x42, 0x9e, 0x01, 0x0a, 0x10, 0x63, 365 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 366 0x0b, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 367 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 368 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 369 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 370 0x6f, 0xa2, 0x02, 0x03, 0x43, 0x58, 0x58, 0xaa, 0x02, 0x0b, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 371 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xca, 0x02, 0x0b, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x50, 0x72, 372 0x6f, 0x74, 0x6f, 0xe2, 0x02, 0x17, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x50, 0x72, 0x6f, 0x74, 373 0x6f, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 374 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 375 0x74, 0x6f, 0x33, 376 } 377 378 var ( 379 file_cosmos_proto_cosmos_proto_rawDescOnce sync.Once 380 file_cosmos_proto_cosmos_proto_rawDescData = file_cosmos_proto_cosmos_proto_rawDesc 381 ) 382 383 func file_cosmos_proto_cosmos_proto_rawDescGZIP() []byte { 384 file_cosmos_proto_cosmos_proto_rawDescOnce.Do(func() { 385 file_cosmos_proto_cosmos_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_proto_cosmos_proto_rawDescData) 386 }) 387 return file_cosmos_proto_cosmos_proto_rawDescData 388 } 389 390 var file_cosmos_proto_cosmos_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 391 var file_cosmos_proto_cosmos_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 392 var file_cosmos_proto_cosmos_proto_goTypes = []interface{}{ 393 (ScalarType)(0), // 0: cosmos_proto.ScalarType 394 (*InterfaceDescriptor)(nil), // 1: cosmos_proto.InterfaceDescriptor 395 (*ScalarDescriptor)(nil), // 2: cosmos_proto.ScalarDescriptor 396 (*descriptorpb.MessageOptions)(nil), // 3: google.protobuf.MessageOptions 397 (*descriptorpb.FieldOptions)(nil), // 4: google.protobuf.FieldOptions 398 (*descriptorpb.FileOptions)(nil), // 5: google.protobuf.FileOptions 399 } 400 var file_cosmos_proto_cosmos_proto_depIdxs = []int32{ 401 0, // 0: cosmos_proto.ScalarDescriptor.field_type:type_name -> cosmos_proto.ScalarType 402 3, // 1: cosmos_proto.implements_interface:extendee -> google.protobuf.MessageOptions 403 4, // 2: cosmos_proto.accepts_interface:extendee -> google.protobuf.FieldOptions 404 4, // 3: cosmos_proto.scalar:extendee -> google.protobuf.FieldOptions 405 5, // 4: cosmos_proto.declare_interface:extendee -> google.protobuf.FileOptions 406 5, // 5: cosmos_proto.declare_scalar:extendee -> google.protobuf.FileOptions 407 1, // 6: cosmos_proto.declare_interface:type_name -> cosmos_proto.InterfaceDescriptor 408 2, // 7: cosmos_proto.declare_scalar:type_name -> cosmos_proto.ScalarDescriptor 409 8, // [8:8] is the sub-list for method output_type 410 8, // [8:8] is the sub-list for method input_type 411 6, // [6:8] is the sub-list for extension type_name 412 1, // [1:6] is the sub-list for extension extendee 413 0, // [0:1] is the sub-list for field type_name 414 } 415 416 func init() { file_cosmos_proto_cosmos_proto_init() } 417 func file_cosmos_proto_cosmos_proto_init() { 418 if File_cosmos_proto_cosmos_proto != nil { 419 return 420 } 421 if !protoimpl.UnsafeEnabled { 422 file_cosmos_proto_cosmos_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 423 switch v := v.(*InterfaceDescriptor); i { 424 case 0: 425 return &v.state 426 case 1: 427 return &v.sizeCache 428 case 2: 429 return &v.unknownFields 430 default: 431 return nil 432 } 433 } 434 file_cosmos_proto_cosmos_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 435 switch v := v.(*ScalarDescriptor); i { 436 case 0: 437 return &v.state 438 case 1: 439 return &v.sizeCache 440 case 2: 441 return &v.unknownFields 442 default: 443 return nil 444 } 445 } 446 } 447 type x struct{} 448 out := protoimpl.TypeBuilder{ 449 File: protoimpl.DescBuilder{ 450 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 451 RawDescriptor: file_cosmos_proto_cosmos_proto_rawDesc, 452 NumEnums: 1, 453 NumMessages: 2, 454 NumExtensions: 5, 455 NumServices: 0, 456 }, 457 GoTypes: file_cosmos_proto_cosmos_proto_goTypes, 458 DependencyIndexes: file_cosmos_proto_cosmos_proto_depIdxs, 459 EnumInfos: file_cosmos_proto_cosmos_proto_enumTypes, 460 MessageInfos: file_cosmos_proto_cosmos_proto_msgTypes, 461 ExtensionInfos: file_cosmos_proto_cosmos_proto_extTypes, 462 }.Build() 463 File_cosmos_proto_cosmos_proto = out.File 464 file_cosmos_proto_cosmos_proto_rawDesc = nil 465 file_cosmos_proto_cosmos_proto_goTypes = nil 466 file_cosmos_proto_cosmos_proto_depIdxs = nil 467 }