code.vegaprotocol.io/vega@v0.79.0/protos/vega/data/v1/spec.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc (unknown) 5 // source: vega/data/v1/spec.proto 6 7 package v1 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 // Type describes the data type of properties that are supported by the data source 24 // engine. 25 type PropertyKey_Type int32 26 27 const ( 28 // The default value. 29 PropertyKey_TYPE_UNSPECIFIED PropertyKey_Type = 0 30 // Any type. 31 PropertyKey_TYPE_EMPTY PropertyKey_Type = 1 32 // Integer type. 33 PropertyKey_TYPE_INTEGER PropertyKey_Type = 2 34 // String type. 35 PropertyKey_TYPE_STRING PropertyKey_Type = 3 36 // Boolean type. 37 PropertyKey_TYPE_BOOLEAN PropertyKey_Type = 4 38 // Any floating point decimal type. 39 PropertyKey_TYPE_DECIMAL PropertyKey_Type = 5 40 // Timestamp date type. 41 PropertyKey_TYPE_TIMESTAMP PropertyKey_Type = 6 42 ) 43 44 // Enum value maps for PropertyKey_Type. 45 var ( 46 PropertyKey_Type_name = map[int32]string{ 47 0: "TYPE_UNSPECIFIED", 48 1: "TYPE_EMPTY", 49 2: "TYPE_INTEGER", 50 3: "TYPE_STRING", 51 4: "TYPE_BOOLEAN", 52 5: "TYPE_DECIMAL", 53 6: "TYPE_TIMESTAMP", 54 } 55 PropertyKey_Type_value = map[string]int32{ 56 "TYPE_UNSPECIFIED": 0, 57 "TYPE_EMPTY": 1, 58 "TYPE_INTEGER": 2, 59 "TYPE_STRING": 3, 60 "TYPE_BOOLEAN": 4, 61 "TYPE_DECIMAL": 5, 62 "TYPE_TIMESTAMP": 6, 63 } 64 ) 65 66 func (x PropertyKey_Type) Enum() *PropertyKey_Type { 67 p := new(PropertyKey_Type) 68 *p = x 69 return p 70 } 71 72 func (x PropertyKey_Type) String() string { 73 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 74 } 75 76 func (PropertyKey_Type) Descriptor() protoreflect.EnumDescriptor { 77 return file_vega_data_v1_spec_proto_enumTypes[0].Descriptor() 78 } 79 80 func (PropertyKey_Type) Type() protoreflect.EnumType { 81 return &file_vega_data_v1_spec_proto_enumTypes[0] 82 } 83 84 func (x PropertyKey_Type) Number() protoreflect.EnumNumber { 85 return protoreflect.EnumNumber(x) 86 } 87 88 // Deprecated: Use PropertyKey_Type.Descriptor instead. 89 func (PropertyKey_Type) EnumDescriptor() ([]byte, []int) { 90 return file_vega_data_v1_spec_proto_rawDescGZIP(), []int{1, 0} 91 } 92 93 // Operator describes the type of comparison. 94 type Condition_Operator int32 95 96 const ( 97 // The default value 98 Condition_OPERATOR_UNSPECIFIED Condition_Operator = 0 99 // Verify if the property values are strictly equal or not. 100 Condition_OPERATOR_EQUALS Condition_Operator = 1 101 // Verify if the data source data value is greater than the Condition value. 102 Condition_OPERATOR_GREATER_THAN Condition_Operator = 2 103 // Verify if the data source data value is greater than or equal to the Condition 104 // value. 105 Condition_OPERATOR_GREATER_THAN_OR_EQUAL Condition_Operator = 3 106 // Verify if the data source data value is less than the Condition value. 107 Condition_OPERATOR_LESS_THAN Condition_Operator = 4 108 // Verify if the data source data value is less or equal to than the Condition 109 // value. 110 Condition_OPERATOR_LESS_THAN_OR_EQUAL Condition_Operator = 5 111 ) 112 113 // Enum value maps for Condition_Operator. 114 var ( 115 Condition_Operator_name = map[int32]string{ 116 0: "OPERATOR_UNSPECIFIED", 117 1: "OPERATOR_EQUALS", 118 2: "OPERATOR_GREATER_THAN", 119 3: "OPERATOR_GREATER_THAN_OR_EQUAL", 120 4: "OPERATOR_LESS_THAN", 121 5: "OPERATOR_LESS_THAN_OR_EQUAL", 122 } 123 Condition_Operator_value = map[string]int32{ 124 "OPERATOR_UNSPECIFIED": 0, 125 "OPERATOR_EQUALS": 1, 126 "OPERATOR_GREATER_THAN": 2, 127 "OPERATOR_GREATER_THAN_OR_EQUAL": 3, 128 "OPERATOR_LESS_THAN": 4, 129 "OPERATOR_LESS_THAN_OR_EQUAL": 5, 130 } 131 ) 132 133 func (x Condition_Operator) Enum() *Condition_Operator { 134 p := new(Condition_Operator) 135 *p = x 136 return p 137 } 138 139 func (x Condition_Operator) String() string { 140 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 141 } 142 143 func (Condition_Operator) Descriptor() protoreflect.EnumDescriptor { 144 return file_vega_data_v1_spec_proto_enumTypes[1].Descriptor() 145 } 146 147 func (Condition_Operator) Type() protoreflect.EnumType { 148 return &file_vega_data_v1_spec_proto_enumTypes[1] 149 } 150 151 func (x Condition_Operator) Number() protoreflect.EnumNumber { 152 return protoreflect.EnumNumber(x) 153 } 154 155 // Deprecated: Use Condition_Operator.Descriptor instead. 156 func (Condition_Operator) EnumDescriptor() ([]byte, []int) { 157 return file_vega_data_v1_spec_proto_rawDescGZIP(), []int{2, 0} 158 } 159 160 // Filter describes the conditions under which a data source data is considered of 161 // interest or not. 162 type Filter struct { 163 state protoimpl.MessageState 164 sizeCache protoimpl.SizeCache 165 unknownFields protoimpl.UnknownFields 166 167 // Data source's data property key targeted by the filter. 168 Key *PropertyKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 169 // Conditions that should be matched by the data to be 170 // considered of interest. 171 Conditions []*Condition `protobuf:"bytes,2,rep,name=conditions,proto3" json:"conditions,omitempty"` 172 } 173 174 func (x *Filter) Reset() { 175 *x = Filter{} 176 if protoimpl.UnsafeEnabled { 177 mi := &file_vega_data_v1_spec_proto_msgTypes[0] 178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 179 ms.StoreMessageInfo(mi) 180 } 181 } 182 183 func (x *Filter) String() string { 184 return protoimpl.X.MessageStringOf(x) 185 } 186 187 func (*Filter) ProtoMessage() {} 188 189 func (x *Filter) ProtoReflect() protoreflect.Message { 190 mi := &file_vega_data_v1_spec_proto_msgTypes[0] 191 if protoimpl.UnsafeEnabled && x != nil { 192 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 193 if ms.LoadMessageInfo() == nil { 194 ms.StoreMessageInfo(mi) 195 } 196 return ms 197 } 198 return mi.MessageOf(x) 199 } 200 201 // Deprecated: Use Filter.ProtoReflect.Descriptor instead. 202 func (*Filter) Descriptor() ([]byte, []int) { 203 return file_vega_data_v1_spec_proto_rawDescGZIP(), []int{0} 204 } 205 206 func (x *Filter) GetKey() *PropertyKey { 207 if x != nil { 208 return x.Key 209 } 210 return nil 211 } 212 213 func (x *Filter) GetConditions() []*Condition { 214 if x != nil { 215 return x.Conditions 216 } 217 return nil 218 } 219 220 // PropertyKey describes the property key contained in data source data. 221 type PropertyKey struct { 222 state protoimpl.MessageState 223 sizeCache protoimpl.SizeCache 224 unknownFields protoimpl.UnknownFields 225 226 // Name of the property. 227 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 228 // Data type of the property. 229 Type PropertyKey_Type `protobuf:"varint,2,opt,name=type,proto3,enum=vega.data.v1.PropertyKey_Type" json:"type,omitempty"` 230 // Optional decimal place to be be applied on the provided value 231 // valid only for PropertyType of type DECIMAL and INTEGER 232 NumberDecimalPlaces *uint64 `protobuf:"varint,3,opt,name=number_decimal_places,json=numberDecimalPlaces,proto3,oneof" json:"number_decimal_places,omitempty"` 233 } 234 235 func (x *PropertyKey) Reset() { 236 *x = PropertyKey{} 237 if protoimpl.UnsafeEnabled { 238 mi := &file_vega_data_v1_spec_proto_msgTypes[1] 239 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 240 ms.StoreMessageInfo(mi) 241 } 242 } 243 244 func (x *PropertyKey) String() string { 245 return protoimpl.X.MessageStringOf(x) 246 } 247 248 func (*PropertyKey) ProtoMessage() {} 249 250 func (x *PropertyKey) ProtoReflect() protoreflect.Message { 251 mi := &file_vega_data_v1_spec_proto_msgTypes[1] 252 if protoimpl.UnsafeEnabled && x != nil { 253 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 254 if ms.LoadMessageInfo() == nil { 255 ms.StoreMessageInfo(mi) 256 } 257 return ms 258 } 259 return mi.MessageOf(x) 260 } 261 262 // Deprecated: Use PropertyKey.ProtoReflect.Descriptor instead. 263 func (*PropertyKey) Descriptor() ([]byte, []int) { 264 return file_vega_data_v1_spec_proto_rawDescGZIP(), []int{1} 265 } 266 267 func (x *PropertyKey) GetName() string { 268 if x != nil { 269 return x.Name 270 } 271 return "" 272 } 273 274 func (x *PropertyKey) GetType() PropertyKey_Type { 275 if x != nil { 276 return x.Type 277 } 278 return PropertyKey_TYPE_UNSPECIFIED 279 } 280 281 func (x *PropertyKey) GetNumberDecimalPlaces() uint64 { 282 if x != nil && x.NumberDecimalPlaces != nil { 283 return *x.NumberDecimalPlaces 284 } 285 return 0 286 } 287 288 // Condition describes the condition that must be validated by the network 289 type Condition struct { 290 state protoimpl.MessageState 291 sizeCache protoimpl.SizeCache 292 unknownFields protoimpl.UnknownFields 293 294 // Type of comparison to make on the value. 295 Operator Condition_Operator `protobuf:"varint,1,opt,name=operator,proto3,enum=vega.data.v1.Condition_Operator" json:"operator,omitempty"` 296 // Value to be compared with by the operator. 297 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 298 } 299 300 func (x *Condition) Reset() { 301 *x = Condition{} 302 if protoimpl.UnsafeEnabled { 303 mi := &file_vega_data_v1_spec_proto_msgTypes[2] 304 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 305 ms.StoreMessageInfo(mi) 306 } 307 } 308 309 func (x *Condition) String() string { 310 return protoimpl.X.MessageStringOf(x) 311 } 312 313 func (*Condition) ProtoMessage() {} 314 315 func (x *Condition) ProtoReflect() protoreflect.Message { 316 mi := &file_vega_data_v1_spec_proto_msgTypes[2] 317 if protoimpl.UnsafeEnabled && x != nil { 318 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 319 if ms.LoadMessageInfo() == nil { 320 ms.StoreMessageInfo(mi) 321 } 322 return ms 323 } 324 return mi.MessageOf(x) 325 } 326 327 // Deprecated: Use Condition.ProtoReflect.Descriptor instead. 328 func (*Condition) Descriptor() ([]byte, []int) { 329 return file_vega_data_v1_spec_proto_rawDescGZIP(), []int{2} 330 } 331 332 func (x *Condition) GetOperator() Condition_Operator { 333 if x != nil { 334 return x.Operator 335 } 336 return Condition_OPERATOR_UNSPECIFIED 337 } 338 339 func (x *Condition) GetValue() string { 340 if x != nil { 341 return x.Value 342 } 343 return "" 344 } 345 346 // Trigger for an internal time data source. 347 type InternalTimeTrigger struct { 348 state protoimpl.MessageState 349 sizeCache protoimpl.SizeCache 350 unknownFields protoimpl.UnknownFields 351 352 // Trigger when the vega time is greater or equal to this time, in Unix seconds. 353 Initial *int64 `protobuf:"varint,1,opt,name=initial,proto3,oneof" json:"initial,omitempty"` 354 // Repeat the trigger every n seconds after the initial. If no time for 355 // initial was specified, begin repeating immediately. 356 Every int64 `protobuf:"varint,2,opt,name=every,proto3" json:"every,omitempty"` 357 } 358 359 func (x *InternalTimeTrigger) Reset() { 360 *x = InternalTimeTrigger{} 361 if protoimpl.UnsafeEnabled { 362 mi := &file_vega_data_v1_spec_proto_msgTypes[3] 363 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 364 ms.StoreMessageInfo(mi) 365 } 366 } 367 368 func (x *InternalTimeTrigger) String() string { 369 return protoimpl.X.MessageStringOf(x) 370 } 371 372 func (*InternalTimeTrigger) ProtoMessage() {} 373 374 func (x *InternalTimeTrigger) ProtoReflect() protoreflect.Message { 375 mi := &file_vega_data_v1_spec_proto_msgTypes[3] 376 if protoimpl.UnsafeEnabled && x != nil { 377 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 378 if ms.LoadMessageInfo() == nil { 379 ms.StoreMessageInfo(mi) 380 } 381 return ms 382 } 383 return mi.MessageOf(x) 384 } 385 386 // Deprecated: Use InternalTimeTrigger.ProtoReflect.Descriptor instead. 387 func (*InternalTimeTrigger) Descriptor() ([]byte, []int) { 388 return file_vega_data_v1_spec_proto_rawDescGZIP(), []int{3} 389 } 390 391 func (x *InternalTimeTrigger) GetInitial() int64 { 392 if x != nil && x.Initial != nil { 393 return *x.Initial 394 } 395 return 0 396 } 397 398 func (x *InternalTimeTrigger) GetEvery() int64 { 399 if x != nil { 400 return x.Every 401 } 402 return 0 403 } 404 405 var File_vega_data_v1_spec_proto protoreflect.FileDescriptor 406 407 var file_vega_data_v1_spec_proto_rawDesc = []byte{ 408 0x0a, 0x17, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x73, 409 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x76, 0x65, 0x67, 0x61, 0x2e, 410 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x22, 0x6e, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 411 0x72, 0x12, 0x2b, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 412 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 413 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 414 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 415 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 416 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 417 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xb2, 0x02, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x70, 418 0x65, 0x72, 0x74, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 419 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x04, 0x74, 420 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x76, 0x65, 0x67, 0x61, 421 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 422 0x79, 0x4b, 0x65, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 423 0x37, 0x0a, 0x15, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 424 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 425 0x52, 0x13, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x50, 426 0x6c, 0x61, 0x63, 0x65, 0x73, 0x88, 0x01, 0x01, 0x22, 0x87, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 427 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 428 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 429 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 430 0x49, 0x4e, 0x54, 0x45, 0x47, 0x45, 0x52, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 431 0x45, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 432 0x50, 0x45, 0x5f, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x04, 0x12, 0x10, 0x0a, 0x0c, 433 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x43, 0x49, 0x4d, 0x41, 0x4c, 0x10, 0x05, 0x12, 0x12, 434 0x0a, 0x0e, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 435 0x10, 0x06, 0x42, 0x18, 0x0a, 0x16, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x64, 0x65, 436 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x22, 0x93, 0x02, 0x0a, 437 0x09, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x08, 0x6f, 0x70, 438 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x76, 439 0x65, 0x67, 0x61, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 440 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x08, 441 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 442 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xb1, 443 0x01, 0x0a, 0x08, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x14, 0x4f, 444 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 445 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 446 0x52, 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x53, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x4f, 0x50, 447 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x47, 0x52, 0x45, 0x41, 0x54, 0x45, 0x52, 0x5f, 0x54, 448 0x48, 0x41, 0x4e, 0x10, 0x02, 0x12, 0x22, 0x0a, 0x1e, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 449 0x52, 0x5f, 0x47, 0x52, 0x45, 0x41, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x48, 0x41, 0x4e, 0x5f, 0x4f, 450 0x52, 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x10, 0x03, 0x12, 0x16, 0x0a, 0x12, 0x4f, 0x50, 0x45, 451 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x4c, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x48, 0x41, 0x4e, 0x10, 452 0x04, 0x12, 0x1f, 0x0a, 0x1b, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x4c, 0x45, 453 0x53, 0x53, 0x5f, 0x54, 0x48, 0x41, 0x4e, 0x5f, 0x4f, 0x52, 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 454 0x10, 0x05, 0x22, 0x56, 0x0a, 0x13, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x69, 455 0x6d, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x07, 0x69, 0x6e, 0x69, 456 0x74, 0x69, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x07, 0x69, 0x6e, 457 0x69, 0x74, 0x69, 0x61, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x72, 458 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x76, 0x65, 0x72, 0x79, 0x42, 0x0a, 459 0x0a, 0x08, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x42, 0x2f, 0x5a, 0x2d, 0x63, 0x6f, 460 0x64, 0x65, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 461 0x69, 0x6f, 0x2f, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x76, 462 0x65, 0x67, 0x61, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 463 0x74, 0x6f, 0x33, 464 } 465 466 var ( 467 file_vega_data_v1_spec_proto_rawDescOnce sync.Once 468 file_vega_data_v1_spec_proto_rawDescData = file_vega_data_v1_spec_proto_rawDesc 469 ) 470 471 func file_vega_data_v1_spec_proto_rawDescGZIP() []byte { 472 file_vega_data_v1_spec_proto_rawDescOnce.Do(func() { 473 file_vega_data_v1_spec_proto_rawDescData = protoimpl.X.CompressGZIP(file_vega_data_v1_spec_proto_rawDescData) 474 }) 475 return file_vega_data_v1_spec_proto_rawDescData 476 } 477 478 var file_vega_data_v1_spec_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 479 var file_vega_data_v1_spec_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 480 var file_vega_data_v1_spec_proto_goTypes = []interface{}{ 481 (PropertyKey_Type)(0), // 0: vega.data.v1.PropertyKey.Type 482 (Condition_Operator)(0), // 1: vega.data.v1.Condition.Operator 483 (*Filter)(nil), // 2: vega.data.v1.Filter 484 (*PropertyKey)(nil), // 3: vega.data.v1.PropertyKey 485 (*Condition)(nil), // 4: vega.data.v1.Condition 486 (*InternalTimeTrigger)(nil), // 5: vega.data.v1.InternalTimeTrigger 487 } 488 var file_vega_data_v1_spec_proto_depIdxs = []int32{ 489 3, // 0: vega.data.v1.Filter.key:type_name -> vega.data.v1.PropertyKey 490 4, // 1: vega.data.v1.Filter.conditions:type_name -> vega.data.v1.Condition 491 0, // 2: vega.data.v1.PropertyKey.type:type_name -> vega.data.v1.PropertyKey.Type 492 1, // 3: vega.data.v1.Condition.operator:type_name -> vega.data.v1.Condition.Operator 493 4, // [4:4] is the sub-list for method output_type 494 4, // [4:4] is the sub-list for method input_type 495 4, // [4:4] is the sub-list for extension type_name 496 4, // [4:4] is the sub-list for extension extendee 497 0, // [0:4] is the sub-list for field type_name 498 } 499 500 func init() { file_vega_data_v1_spec_proto_init() } 501 func file_vega_data_v1_spec_proto_init() { 502 if File_vega_data_v1_spec_proto != nil { 503 return 504 } 505 if !protoimpl.UnsafeEnabled { 506 file_vega_data_v1_spec_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 507 switch v := v.(*Filter); i { 508 case 0: 509 return &v.state 510 case 1: 511 return &v.sizeCache 512 case 2: 513 return &v.unknownFields 514 default: 515 return nil 516 } 517 } 518 file_vega_data_v1_spec_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 519 switch v := v.(*PropertyKey); i { 520 case 0: 521 return &v.state 522 case 1: 523 return &v.sizeCache 524 case 2: 525 return &v.unknownFields 526 default: 527 return nil 528 } 529 } 530 file_vega_data_v1_spec_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 531 switch v := v.(*Condition); i { 532 case 0: 533 return &v.state 534 case 1: 535 return &v.sizeCache 536 case 2: 537 return &v.unknownFields 538 default: 539 return nil 540 } 541 } 542 file_vega_data_v1_spec_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 543 switch v := v.(*InternalTimeTrigger); i { 544 case 0: 545 return &v.state 546 case 1: 547 return &v.sizeCache 548 case 2: 549 return &v.unknownFields 550 default: 551 return nil 552 } 553 } 554 } 555 file_vega_data_v1_spec_proto_msgTypes[1].OneofWrappers = []interface{}{} 556 file_vega_data_v1_spec_proto_msgTypes[3].OneofWrappers = []interface{}{} 557 type x struct{} 558 out := protoimpl.TypeBuilder{ 559 File: protoimpl.DescBuilder{ 560 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 561 RawDescriptor: file_vega_data_v1_spec_proto_rawDesc, 562 NumEnums: 2, 563 NumMessages: 4, 564 NumExtensions: 0, 565 NumServices: 0, 566 }, 567 GoTypes: file_vega_data_v1_spec_proto_goTypes, 568 DependencyIndexes: file_vega_data_v1_spec_proto_depIdxs, 569 EnumInfos: file_vega_data_v1_spec_proto_enumTypes, 570 MessageInfos: file_vega_data_v1_spec_proto_msgTypes, 571 }.Build() 572 File_vega_data_v1_spec_proto = out.File 573 file_vega_data_v1_spec_proto_rawDesc = nil 574 file_vega_data_v1_spec_proto_goTypes = nil 575 file_vega_data_v1_spec_proto_depIdxs = nil 576 }