code.vegaprotocol.io/vega@v0.79.0/protos/vega/data_source.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_source.proto
     6  
     7  package vega
     8  
     9  import (
    10  	v1 "code.vegaprotocol.io/vega/protos/vega/data/v1"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	structpb "google.golang.org/protobuf/types/known/structpb"
    14  	reflect "reflect"
    15  	sync "sync"
    16  )
    17  
    18  const (
    19  	// Verify that this generated code is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    21  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    22  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    23  )
    24  
    25  // Status describe the status of the data source spec
    26  type DataSourceSpec_Status int32
    27  
    28  const (
    29  	// Default value.
    30  	DataSourceSpec_STATUS_UNSPECIFIED DataSourceSpec_Status = 0
    31  	// STATUS_ACTIVE describes an active data source spec.
    32  	DataSourceSpec_STATUS_ACTIVE DataSourceSpec_Status = 1
    33  	// STATUS_DEACTIVATED describes a data source spec that is not listening to
    34  	// data anymore.
    35  	DataSourceSpec_STATUS_DEACTIVATED DataSourceSpec_Status = 2
    36  )
    37  
    38  // Enum value maps for DataSourceSpec_Status.
    39  var (
    40  	DataSourceSpec_Status_name = map[int32]string{
    41  		0: "STATUS_UNSPECIFIED",
    42  		1: "STATUS_ACTIVE",
    43  		2: "STATUS_DEACTIVATED",
    44  	}
    45  	DataSourceSpec_Status_value = map[string]int32{
    46  		"STATUS_UNSPECIFIED": 0,
    47  		"STATUS_ACTIVE":      1,
    48  		"STATUS_DEACTIVATED": 2,
    49  	}
    50  )
    51  
    52  func (x DataSourceSpec_Status) Enum() *DataSourceSpec_Status {
    53  	p := new(DataSourceSpec_Status)
    54  	*p = x
    55  	return p
    56  }
    57  
    58  func (x DataSourceSpec_Status) String() string {
    59  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    60  }
    61  
    62  func (DataSourceSpec_Status) Descriptor() protoreflect.EnumDescriptor {
    63  	return file_vega_data_source_proto_enumTypes[0].Descriptor()
    64  }
    65  
    66  func (DataSourceSpec_Status) Type() protoreflect.EnumType {
    67  	return &file_vega_data_source_proto_enumTypes[0]
    68  }
    69  
    70  func (x DataSourceSpec_Status) Number() protoreflect.EnumNumber {
    71  	return protoreflect.EnumNumber(x)
    72  }
    73  
    74  // Deprecated: Use DataSourceSpec_Status.Descriptor instead.
    75  func (DataSourceSpec_Status) EnumDescriptor() ([]byte, []int) {
    76  	return file_vega_data_source_proto_rawDescGZIP(), []int{11, 0}
    77  }
    78  
    79  // Represents the top level object that handles data sources.
    80  // Data source definition can be external or internal, with whatever
    81  // number of data sources are defined for each type in the child objects below.
    82  type DataSourceDefinition struct {
    83  	state         protoimpl.MessageState
    84  	sizeCache     protoimpl.SizeCache
    85  	unknownFields protoimpl.UnknownFields
    86  
    87  	// Types that are assignable to SourceType:
    88  	//
    89  	//	*DataSourceDefinition_Internal
    90  	//	*DataSourceDefinition_External
    91  	SourceType isDataSourceDefinition_SourceType `protobuf_oneof:"source_type"`
    92  }
    93  
    94  func (x *DataSourceDefinition) Reset() {
    95  	*x = DataSourceDefinition{}
    96  	if protoimpl.UnsafeEnabled {
    97  		mi := &file_vega_data_source_proto_msgTypes[0]
    98  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    99  		ms.StoreMessageInfo(mi)
   100  	}
   101  }
   102  
   103  func (x *DataSourceDefinition) String() string {
   104  	return protoimpl.X.MessageStringOf(x)
   105  }
   106  
   107  func (*DataSourceDefinition) ProtoMessage() {}
   108  
   109  func (x *DataSourceDefinition) ProtoReflect() protoreflect.Message {
   110  	mi := &file_vega_data_source_proto_msgTypes[0]
   111  	if protoimpl.UnsafeEnabled && x != nil {
   112  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   113  		if ms.LoadMessageInfo() == nil {
   114  			ms.StoreMessageInfo(mi)
   115  		}
   116  		return ms
   117  	}
   118  	return mi.MessageOf(x)
   119  }
   120  
   121  // Deprecated: Use DataSourceDefinition.ProtoReflect.Descriptor instead.
   122  func (*DataSourceDefinition) Descriptor() ([]byte, []int) {
   123  	return file_vega_data_source_proto_rawDescGZIP(), []int{0}
   124  }
   125  
   126  func (m *DataSourceDefinition) GetSourceType() isDataSourceDefinition_SourceType {
   127  	if m != nil {
   128  		return m.SourceType
   129  	}
   130  	return nil
   131  }
   132  
   133  func (x *DataSourceDefinition) GetInternal() *DataSourceDefinitionInternal {
   134  	if x, ok := x.GetSourceType().(*DataSourceDefinition_Internal); ok {
   135  		return x.Internal
   136  	}
   137  	return nil
   138  }
   139  
   140  func (x *DataSourceDefinition) GetExternal() *DataSourceDefinitionExternal {
   141  	if x, ok := x.GetSourceType().(*DataSourceDefinition_External); ok {
   142  		return x.External
   143  	}
   144  	return nil
   145  }
   146  
   147  type isDataSourceDefinition_SourceType interface {
   148  	isDataSourceDefinition_SourceType()
   149  }
   150  
   151  type DataSourceDefinition_Internal struct {
   152  	Internal *DataSourceDefinitionInternal `protobuf:"bytes,1,opt,name=internal,proto3,oneof"`
   153  }
   154  
   155  type DataSourceDefinition_External struct {
   156  	External *DataSourceDefinitionExternal `protobuf:"bytes,2,opt,name=external,proto3,oneof"`
   157  }
   158  
   159  func (*DataSourceDefinition_Internal) isDataSourceDefinition_SourceType() {}
   160  
   161  func (*DataSourceDefinition_External) isDataSourceDefinition_SourceType() {}
   162  
   163  // Describes which property of the data source data is to be
   164  // used for price source.
   165  type SpecBindingForCompositePrice struct {
   166  	state         protoimpl.MessageState
   167  	sizeCache     protoimpl.SizeCache
   168  	unknownFields protoimpl.UnknownFields
   169  
   170  	// The property name of price.
   171  	PriceSourceProperty string `protobuf:"bytes,1,opt,name=price_source_property,json=priceSourceProperty,proto3" json:"price_source_property,omitempty"`
   172  }
   173  
   174  func (x *SpecBindingForCompositePrice) Reset() {
   175  	*x = SpecBindingForCompositePrice{}
   176  	if protoimpl.UnsafeEnabled {
   177  		mi := &file_vega_data_source_proto_msgTypes[1]
   178  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   179  		ms.StoreMessageInfo(mi)
   180  	}
   181  }
   182  
   183  func (x *SpecBindingForCompositePrice) String() string {
   184  	return protoimpl.X.MessageStringOf(x)
   185  }
   186  
   187  func (*SpecBindingForCompositePrice) ProtoMessage() {}
   188  
   189  func (x *SpecBindingForCompositePrice) ProtoReflect() protoreflect.Message {
   190  	mi := &file_vega_data_source_proto_msgTypes[1]
   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 SpecBindingForCompositePrice.ProtoReflect.Descriptor instead.
   202  func (*SpecBindingForCompositePrice) Descriptor() ([]byte, []int) {
   203  	return file_vega_data_source_proto_rawDescGZIP(), []int{1}
   204  }
   205  
   206  func (x *SpecBindingForCompositePrice) GetPriceSourceProperty() string {
   207  	if x != nil {
   208  		return x.PriceSourceProperty
   209  	}
   210  	return ""
   211  }
   212  
   213  // Internal data source used for emitting timestamps.
   214  type DataSourceSpecConfigurationTime struct {
   215  	state         protoimpl.MessageState
   216  	sizeCache     protoimpl.SizeCache
   217  	unknownFields protoimpl.UnknownFields
   218  
   219  	// Conditions that the timestamps should meet in order to be considered.
   220  	Conditions []*v1.Condition `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty"`
   221  }
   222  
   223  func (x *DataSourceSpecConfigurationTime) Reset() {
   224  	*x = DataSourceSpecConfigurationTime{}
   225  	if protoimpl.UnsafeEnabled {
   226  		mi := &file_vega_data_source_proto_msgTypes[2]
   227  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   228  		ms.StoreMessageInfo(mi)
   229  	}
   230  }
   231  
   232  func (x *DataSourceSpecConfigurationTime) String() string {
   233  	return protoimpl.X.MessageStringOf(x)
   234  }
   235  
   236  func (*DataSourceSpecConfigurationTime) ProtoMessage() {}
   237  
   238  func (x *DataSourceSpecConfigurationTime) ProtoReflect() protoreflect.Message {
   239  	mi := &file_vega_data_source_proto_msgTypes[2]
   240  	if protoimpl.UnsafeEnabled && x != nil {
   241  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   242  		if ms.LoadMessageInfo() == nil {
   243  			ms.StoreMessageInfo(mi)
   244  		}
   245  		return ms
   246  	}
   247  	return mi.MessageOf(x)
   248  }
   249  
   250  // Deprecated: Use DataSourceSpecConfigurationTime.ProtoReflect.Descriptor instead.
   251  func (*DataSourceSpecConfigurationTime) Descriptor() ([]byte, []int) {
   252  	return file_vega_data_source_proto_rawDescGZIP(), []int{2}
   253  }
   254  
   255  func (x *DataSourceSpecConfigurationTime) GetConditions() []*v1.Condition {
   256  	if x != nil {
   257  		return x.Conditions
   258  	}
   259  	return nil
   260  }
   261  
   262  // Internal data source used for emitting timestamps automatically using predefined intervals and conditions.
   263  type DataSourceSpecConfigurationTimeTrigger struct {
   264  	state         protoimpl.MessageState
   265  	sizeCache     protoimpl.SizeCache
   266  	unknownFields protoimpl.UnknownFields
   267  
   268  	// Conditions that the timestamps need to meet in order to be considered.
   269  	Conditions []*v1.Condition `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty"`
   270  	// An internal time trigger
   271  	Triggers []*v1.InternalTimeTrigger `protobuf:"bytes,2,rep,name=triggers,proto3" json:"triggers,omitempty"`
   272  }
   273  
   274  func (x *DataSourceSpecConfigurationTimeTrigger) Reset() {
   275  	*x = DataSourceSpecConfigurationTimeTrigger{}
   276  	if protoimpl.UnsafeEnabled {
   277  		mi := &file_vega_data_source_proto_msgTypes[3]
   278  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   279  		ms.StoreMessageInfo(mi)
   280  	}
   281  }
   282  
   283  func (x *DataSourceSpecConfigurationTimeTrigger) String() string {
   284  	return protoimpl.X.MessageStringOf(x)
   285  }
   286  
   287  func (*DataSourceSpecConfigurationTimeTrigger) ProtoMessage() {}
   288  
   289  func (x *DataSourceSpecConfigurationTimeTrigger) ProtoReflect() protoreflect.Message {
   290  	mi := &file_vega_data_source_proto_msgTypes[3]
   291  	if protoimpl.UnsafeEnabled && x != nil {
   292  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   293  		if ms.LoadMessageInfo() == nil {
   294  			ms.StoreMessageInfo(mi)
   295  		}
   296  		return ms
   297  	}
   298  	return mi.MessageOf(x)
   299  }
   300  
   301  // Deprecated: Use DataSourceSpecConfigurationTimeTrigger.ProtoReflect.Descriptor instead.
   302  func (*DataSourceSpecConfigurationTimeTrigger) Descriptor() ([]byte, []int) {
   303  	return file_vega_data_source_proto_rawDescGZIP(), []int{3}
   304  }
   305  
   306  func (x *DataSourceSpecConfigurationTimeTrigger) GetConditions() []*v1.Condition {
   307  	if x != nil {
   308  		return x.Conditions
   309  	}
   310  	return nil
   311  }
   312  
   313  func (x *DataSourceSpecConfigurationTimeTrigger) GetTriggers() []*v1.InternalTimeTrigger {
   314  	if x != nil {
   315  		return x.Triggers
   316  	}
   317  	return nil
   318  }
   319  
   320  // Top level object used for all internal data sources.
   321  // It contains one of any of the defined source type variants.
   322  type DataSourceDefinitionInternal struct {
   323  	state         protoimpl.MessageState
   324  	sizeCache     protoimpl.SizeCache
   325  	unknownFields protoimpl.UnknownFields
   326  
   327  	// Types of internal data sources
   328  	//
   329  	// Types that are assignable to SourceType:
   330  	//
   331  	//	*DataSourceDefinitionInternal_Time
   332  	//	*DataSourceDefinitionInternal_TimeTrigger
   333  	SourceType isDataSourceDefinitionInternal_SourceType `protobuf_oneof:"source_type"`
   334  }
   335  
   336  func (x *DataSourceDefinitionInternal) Reset() {
   337  	*x = DataSourceDefinitionInternal{}
   338  	if protoimpl.UnsafeEnabled {
   339  		mi := &file_vega_data_source_proto_msgTypes[4]
   340  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   341  		ms.StoreMessageInfo(mi)
   342  	}
   343  }
   344  
   345  func (x *DataSourceDefinitionInternal) String() string {
   346  	return protoimpl.X.MessageStringOf(x)
   347  }
   348  
   349  func (*DataSourceDefinitionInternal) ProtoMessage() {}
   350  
   351  func (x *DataSourceDefinitionInternal) ProtoReflect() protoreflect.Message {
   352  	mi := &file_vega_data_source_proto_msgTypes[4]
   353  	if protoimpl.UnsafeEnabled && x != nil {
   354  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   355  		if ms.LoadMessageInfo() == nil {
   356  			ms.StoreMessageInfo(mi)
   357  		}
   358  		return ms
   359  	}
   360  	return mi.MessageOf(x)
   361  }
   362  
   363  // Deprecated: Use DataSourceDefinitionInternal.ProtoReflect.Descriptor instead.
   364  func (*DataSourceDefinitionInternal) Descriptor() ([]byte, []int) {
   365  	return file_vega_data_source_proto_rawDescGZIP(), []int{4}
   366  }
   367  
   368  func (m *DataSourceDefinitionInternal) GetSourceType() isDataSourceDefinitionInternal_SourceType {
   369  	if m != nil {
   370  		return m.SourceType
   371  	}
   372  	return nil
   373  }
   374  
   375  func (x *DataSourceDefinitionInternal) GetTime() *DataSourceSpecConfigurationTime {
   376  	if x, ok := x.GetSourceType().(*DataSourceDefinitionInternal_Time); ok {
   377  		return x.Time
   378  	}
   379  	return nil
   380  }
   381  
   382  func (x *DataSourceDefinitionInternal) GetTimeTrigger() *DataSourceSpecConfigurationTimeTrigger {
   383  	if x, ok := x.GetSourceType().(*DataSourceDefinitionInternal_TimeTrigger); ok {
   384  		return x.TimeTrigger
   385  	}
   386  	return nil
   387  }
   388  
   389  type isDataSourceDefinitionInternal_SourceType interface {
   390  	isDataSourceDefinitionInternal_SourceType()
   391  }
   392  
   393  type DataSourceDefinitionInternal_Time struct {
   394  	Time *DataSourceSpecConfigurationTime `protobuf:"bytes,1,opt,name=time,proto3,oneof"`
   395  }
   396  
   397  type DataSourceDefinitionInternal_TimeTrigger struct {
   398  	TimeTrigger *DataSourceSpecConfigurationTimeTrigger `protobuf:"bytes,2,opt,name=time_trigger,json=timeTrigger,proto3,oneof"`
   399  }
   400  
   401  func (*DataSourceDefinitionInternal_Time) isDataSourceDefinitionInternal_SourceType() {}
   402  
   403  func (*DataSourceDefinitionInternal_TimeTrigger) isDataSourceDefinitionInternal_SourceType() {}
   404  
   405  // DataSourceDefinitionExternal is the top level object used for all external
   406  // data sources. It contains one of any of the defined `SourceType` variants.
   407  type DataSourceDefinitionExternal struct {
   408  	state         protoimpl.MessageState
   409  	sizeCache     protoimpl.SizeCache
   410  	unknownFields protoimpl.UnknownFields
   411  
   412  	// Types of External data sources
   413  	//
   414  	// Types that are assignable to SourceType:
   415  	//
   416  	//	*DataSourceDefinitionExternal_Oracle
   417  	//	*DataSourceDefinitionExternal_EthOracle
   418  	SourceType isDataSourceDefinitionExternal_SourceType `protobuf_oneof:"source_type"`
   419  }
   420  
   421  func (x *DataSourceDefinitionExternal) Reset() {
   422  	*x = DataSourceDefinitionExternal{}
   423  	if protoimpl.UnsafeEnabled {
   424  		mi := &file_vega_data_source_proto_msgTypes[5]
   425  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   426  		ms.StoreMessageInfo(mi)
   427  	}
   428  }
   429  
   430  func (x *DataSourceDefinitionExternal) String() string {
   431  	return protoimpl.X.MessageStringOf(x)
   432  }
   433  
   434  func (*DataSourceDefinitionExternal) ProtoMessage() {}
   435  
   436  func (x *DataSourceDefinitionExternal) ProtoReflect() protoreflect.Message {
   437  	mi := &file_vega_data_source_proto_msgTypes[5]
   438  	if protoimpl.UnsafeEnabled && x != nil {
   439  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   440  		if ms.LoadMessageInfo() == nil {
   441  			ms.StoreMessageInfo(mi)
   442  		}
   443  		return ms
   444  	}
   445  	return mi.MessageOf(x)
   446  }
   447  
   448  // Deprecated: Use DataSourceDefinitionExternal.ProtoReflect.Descriptor instead.
   449  func (*DataSourceDefinitionExternal) Descriptor() ([]byte, []int) {
   450  	return file_vega_data_source_proto_rawDescGZIP(), []int{5}
   451  }
   452  
   453  func (m *DataSourceDefinitionExternal) GetSourceType() isDataSourceDefinitionExternal_SourceType {
   454  	if m != nil {
   455  		return m.SourceType
   456  	}
   457  	return nil
   458  }
   459  
   460  func (x *DataSourceDefinitionExternal) GetOracle() *DataSourceSpecConfiguration {
   461  	if x, ok := x.GetSourceType().(*DataSourceDefinitionExternal_Oracle); ok {
   462  		return x.Oracle
   463  	}
   464  	return nil
   465  }
   466  
   467  func (x *DataSourceDefinitionExternal) GetEthOracle() *EthCallSpec {
   468  	if x, ok := x.GetSourceType().(*DataSourceDefinitionExternal_EthOracle); ok {
   469  		return x.EthOracle
   470  	}
   471  	return nil
   472  }
   473  
   474  type isDataSourceDefinitionExternal_SourceType interface {
   475  	isDataSourceDefinitionExternal_SourceType()
   476  }
   477  
   478  type DataSourceDefinitionExternal_Oracle struct {
   479  	Oracle *DataSourceSpecConfiguration `protobuf:"bytes,1,opt,name=oracle,proto3,oneof"`
   480  }
   481  
   482  type DataSourceDefinitionExternal_EthOracle struct {
   483  	// Contains the data specification that is received from Ethereum sources.
   484  	EthOracle *EthCallSpec `protobuf:"bytes,2,opt,name=eth_oracle,json=ethOracle,proto3,oneof"`
   485  }
   486  
   487  func (*DataSourceDefinitionExternal_Oracle) isDataSourceDefinitionExternal_SourceType() {}
   488  
   489  func (*DataSourceDefinitionExternal_EthOracle) isDataSourceDefinitionExternal_SourceType() {}
   490  
   491  // All types of external data sources use the same configuration set for meeting
   492  // requirements in order for the data to be useful for Vega - valid signatures
   493  // and matching filters.
   494  type DataSourceSpecConfiguration struct {
   495  	state         protoimpl.MessageState
   496  	sizeCache     protoimpl.SizeCache
   497  	unknownFields protoimpl.UnknownFields
   498  
   499  	// Signers is the list of authorized signatures that signed the data for this
   500  	// source. All the signatures in the data source data should be contained in
   501  	// this external source. All the signatures in the data should be contained in
   502  	// this list.
   503  	Signers []*v1.Signer `protobuf:"bytes,1,rep,name=signers,proto3" json:"signers,omitempty"`
   504  	// Filters describes which source data are considered of interest or not for
   505  	// the product (or the risk model).
   506  	Filters []*v1.Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"`
   507  }
   508  
   509  func (x *DataSourceSpecConfiguration) Reset() {
   510  	*x = DataSourceSpecConfiguration{}
   511  	if protoimpl.UnsafeEnabled {
   512  		mi := &file_vega_data_source_proto_msgTypes[6]
   513  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   514  		ms.StoreMessageInfo(mi)
   515  	}
   516  }
   517  
   518  func (x *DataSourceSpecConfiguration) String() string {
   519  	return protoimpl.X.MessageStringOf(x)
   520  }
   521  
   522  func (*DataSourceSpecConfiguration) ProtoMessage() {}
   523  
   524  func (x *DataSourceSpecConfiguration) ProtoReflect() protoreflect.Message {
   525  	mi := &file_vega_data_source_proto_msgTypes[6]
   526  	if protoimpl.UnsafeEnabled && x != nil {
   527  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   528  		if ms.LoadMessageInfo() == nil {
   529  			ms.StoreMessageInfo(mi)
   530  		}
   531  		return ms
   532  	}
   533  	return mi.MessageOf(x)
   534  }
   535  
   536  // Deprecated: Use DataSourceSpecConfiguration.ProtoReflect.Descriptor instead.
   537  func (*DataSourceSpecConfiguration) Descriptor() ([]byte, []int) {
   538  	return file_vega_data_source_proto_rawDescGZIP(), []int{6}
   539  }
   540  
   541  func (x *DataSourceSpecConfiguration) GetSigners() []*v1.Signer {
   542  	if x != nil {
   543  		return x.Signers
   544  	}
   545  	return nil
   546  }
   547  
   548  func (x *DataSourceSpecConfiguration) GetFilters() []*v1.Filter {
   549  	if x != nil {
   550  		return x.Filters
   551  	}
   552  	return nil
   553  }
   554  
   555  // Specifies a data source that derives its content from calling a read method
   556  // on an Ethereum contract.
   557  type EthCallSpec struct {
   558  	state         protoimpl.MessageState
   559  	sizeCache     protoimpl.SizeCache
   560  	unknownFields protoimpl.UnknownFields
   561  
   562  	// Ethereum address of the contract to call.
   563  	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
   564  	// The ABI of that contract.
   565  	Abi string `protobuf:"bytes,2,opt,name=abi,proto3" json:"abi,omitempty"`
   566  	// Name of the method on the contract to call.
   567  	Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
   568  	// List of arguments to pass to method call.
   569  	// Protobuf 'Value' wraps an arbitrary JSON type that is mapped to an Ethereum
   570  	// type according to the ABI.
   571  	Args []*structpb.Value `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
   572  	// Conditions for determining when to call the contract method.
   573  	Trigger *EthCallTrigger `protobuf:"bytes,5,opt,name=trigger,proto3" json:"trigger,omitempty"`
   574  	// Number of confirmations required before the query is considered verified
   575  	RequiredConfirmations uint64 `protobuf:"varint,6,opt,name=required_confirmations,json=requiredConfirmations,proto3" json:"required_confirmations,omitempty"`
   576  	// Filters the data returned from the contract method
   577  	Filters []*v1.Filter `protobuf:"bytes,7,rep,name=filters,proto3" json:"filters,omitempty"`
   578  	// Normalisers are used to convert the data returned from the contract method
   579  	// into a standard format. The key of the map is the name of the property,
   580  	// which identifies the specific piece of data to other parts of the data
   581  	// sourcing framework, for example filters. The value is a JSONPath expression
   582  	// for expressing where in the contract call result the required data is
   583  	// located, for example $[0] indicates the first result. $[1].price would look
   584  	// in the second result returned from the contract for a structure with a key
   585  	// called 'price' and use that if it exists.
   586  	Normalisers []*Normaliser `protobuf:"bytes,8,rep,name=normalisers,proto3" json:"normalisers,omitempty"`
   587  	// The ID of the EVM based chain which is to be used to source the oracle data.
   588  	SourceChainId uint64 `protobuf:"varint,9,opt,name=source_chain_id,json=sourceChainId,proto3" json:"source_chain_id,omitempty"`
   589  }
   590  
   591  func (x *EthCallSpec) Reset() {
   592  	*x = EthCallSpec{}
   593  	if protoimpl.UnsafeEnabled {
   594  		mi := &file_vega_data_source_proto_msgTypes[7]
   595  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   596  		ms.StoreMessageInfo(mi)
   597  	}
   598  }
   599  
   600  func (x *EthCallSpec) String() string {
   601  	return protoimpl.X.MessageStringOf(x)
   602  }
   603  
   604  func (*EthCallSpec) ProtoMessage() {}
   605  
   606  func (x *EthCallSpec) ProtoReflect() protoreflect.Message {
   607  	mi := &file_vega_data_source_proto_msgTypes[7]
   608  	if protoimpl.UnsafeEnabled && x != nil {
   609  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   610  		if ms.LoadMessageInfo() == nil {
   611  			ms.StoreMessageInfo(mi)
   612  		}
   613  		return ms
   614  	}
   615  	return mi.MessageOf(x)
   616  }
   617  
   618  // Deprecated: Use EthCallSpec.ProtoReflect.Descriptor instead.
   619  func (*EthCallSpec) Descriptor() ([]byte, []int) {
   620  	return file_vega_data_source_proto_rawDescGZIP(), []int{7}
   621  }
   622  
   623  func (x *EthCallSpec) GetAddress() string {
   624  	if x != nil {
   625  		return x.Address
   626  	}
   627  	return ""
   628  }
   629  
   630  func (x *EthCallSpec) GetAbi() string {
   631  	if x != nil {
   632  		return x.Abi
   633  	}
   634  	return ""
   635  }
   636  
   637  func (x *EthCallSpec) GetMethod() string {
   638  	if x != nil {
   639  		return x.Method
   640  	}
   641  	return ""
   642  }
   643  
   644  func (x *EthCallSpec) GetArgs() []*structpb.Value {
   645  	if x != nil {
   646  		return x.Args
   647  	}
   648  	return nil
   649  }
   650  
   651  func (x *EthCallSpec) GetTrigger() *EthCallTrigger {
   652  	if x != nil {
   653  		return x.Trigger
   654  	}
   655  	return nil
   656  }
   657  
   658  func (x *EthCallSpec) GetRequiredConfirmations() uint64 {
   659  	if x != nil {
   660  		return x.RequiredConfirmations
   661  	}
   662  	return 0
   663  }
   664  
   665  func (x *EthCallSpec) GetFilters() []*v1.Filter {
   666  	if x != nil {
   667  		return x.Filters
   668  	}
   669  	return nil
   670  }
   671  
   672  func (x *EthCallSpec) GetNormalisers() []*Normaliser {
   673  	if x != nil {
   674  		return x.Normalisers
   675  	}
   676  	return nil
   677  }
   678  
   679  func (x *EthCallSpec) GetSourceChainId() uint64 {
   680  	if x != nil {
   681  		return x.SourceChainId
   682  	}
   683  	return 0
   684  }
   685  
   686  type Normaliser struct {
   687  	state         protoimpl.MessageState
   688  	sizeCache     protoimpl.SizeCache
   689  	unknownFields protoimpl.UnknownFields
   690  
   691  	Name       string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   692  	Expression string `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"`
   693  }
   694  
   695  func (x *Normaliser) Reset() {
   696  	*x = Normaliser{}
   697  	if protoimpl.UnsafeEnabled {
   698  		mi := &file_vega_data_source_proto_msgTypes[8]
   699  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   700  		ms.StoreMessageInfo(mi)
   701  	}
   702  }
   703  
   704  func (x *Normaliser) String() string {
   705  	return protoimpl.X.MessageStringOf(x)
   706  }
   707  
   708  func (*Normaliser) ProtoMessage() {}
   709  
   710  func (x *Normaliser) ProtoReflect() protoreflect.Message {
   711  	mi := &file_vega_data_source_proto_msgTypes[8]
   712  	if protoimpl.UnsafeEnabled && x != nil {
   713  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   714  		if ms.LoadMessageInfo() == nil {
   715  			ms.StoreMessageInfo(mi)
   716  		}
   717  		return ms
   718  	}
   719  	return mi.MessageOf(x)
   720  }
   721  
   722  // Deprecated: Use Normaliser.ProtoReflect.Descriptor instead.
   723  func (*Normaliser) Descriptor() ([]byte, []int) {
   724  	return file_vega_data_source_proto_rawDescGZIP(), []int{8}
   725  }
   726  
   727  func (x *Normaliser) GetName() string {
   728  	if x != nil {
   729  		return x.Name
   730  	}
   731  	return ""
   732  }
   733  
   734  func (x *Normaliser) GetExpression() string {
   735  	if x != nil {
   736  		return x.Expression
   737  	}
   738  	return ""
   739  }
   740  
   741  // Determines when the contract method should be called.
   742  type EthCallTrigger struct {
   743  	state         protoimpl.MessageState
   744  	sizeCache     protoimpl.SizeCache
   745  	unknownFields protoimpl.UnknownFields
   746  
   747  	// Types that are assignable to Trigger:
   748  	//
   749  	//	*EthCallTrigger_TimeTrigger
   750  	Trigger isEthCallTrigger_Trigger `protobuf_oneof:"trigger"`
   751  }
   752  
   753  func (x *EthCallTrigger) Reset() {
   754  	*x = EthCallTrigger{}
   755  	if protoimpl.UnsafeEnabled {
   756  		mi := &file_vega_data_source_proto_msgTypes[9]
   757  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   758  		ms.StoreMessageInfo(mi)
   759  	}
   760  }
   761  
   762  func (x *EthCallTrigger) String() string {
   763  	return protoimpl.X.MessageStringOf(x)
   764  }
   765  
   766  func (*EthCallTrigger) ProtoMessage() {}
   767  
   768  func (x *EthCallTrigger) ProtoReflect() protoreflect.Message {
   769  	mi := &file_vega_data_source_proto_msgTypes[9]
   770  	if protoimpl.UnsafeEnabled && x != nil {
   771  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   772  		if ms.LoadMessageInfo() == nil {
   773  			ms.StoreMessageInfo(mi)
   774  		}
   775  		return ms
   776  	}
   777  	return mi.MessageOf(x)
   778  }
   779  
   780  // Deprecated: Use EthCallTrigger.ProtoReflect.Descriptor instead.
   781  func (*EthCallTrigger) Descriptor() ([]byte, []int) {
   782  	return file_vega_data_source_proto_rawDescGZIP(), []int{9}
   783  }
   784  
   785  func (m *EthCallTrigger) GetTrigger() isEthCallTrigger_Trigger {
   786  	if m != nil {
   787  		return m.Trigger
   788  	}
   789  	return nil
   790  }
   791  
   792  func (x *EthCallTrigger) GetTimeTrigger() *EthTimeTrigger {
   793  	if x, ok := x.GetTrigger().(*EthCallTrigger_TimeTrigger); ok {
   794  		return x.TimeTrigger
   795  	}
   796  	return nil
   797  }
   798  
   799  type isEthCallTrigger_Trigger interface {
   800  	isEthCallTrigger_Trigger()
   801  }
   802  
   803  type EthCallTrigger_TimeTrigger struct {
   804  	TimeTrigger *EthTimeTrigger `protobuf:"bytes,1,opt,name=time_trigger,json=timeTrigger,proto3,oneof"`
   805  }
   806  
   807  func (*EthCallTrigger_TimeTrigger) isEthCallTrigger_Trigger() {}
   808  
   809  // Trigger for an Ethereum call based on the Ethereum block timestamp. Can be
   810  // one-off or repeating.
   811  type EthTimeTrigger struct {
   812  	state         protoimpl.MessageState
   813  	sizeCache     protoimpl.SizeCache
   814  	unknownFields protoimpl.UnknownFields
   815  
   816  	// Trigger when the Ethereum time is greater or equal to this time, in Unix
   817  	// seconds.
   818  	Initial *uint64 `protobuf:"varint,1,opt,name=initial,proto3,oneof" json:"initial,omitempty"`
   819  	// Repeat the call every n seconds after the initial call. If no time for
   820  	// initial call was specified, begin repeating immediately.
   821  	Every *uint64 `protobuf:"varint,2,opt,name=every,proto3,oneof" json:"every,omitempty"`
   822  	// If repeating, stop once Ethereum time is greater than this time, in Unix
   823  	// seconds. If not set, then repeat indefinitely.
   824  	Until *uint64 `protobuf:"varint,3,opt,name=until,proto3,oneof" json:"until,omitempty"`
   825  }
   826  
   827  func (x *EthTimeTrigger) Reset() {
   828  	*x = EthTimeTrigger{}
   829  	if protoimpl.UnsafeEnabled {
   830  		mi := &file_vega_data_source_proto_msgTypes[10]
   831  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   832  		ms.StoreMessageInfo(mi)
   833  	}
   834  }
   835  
   836  func (x *EthTimeTrigger) String() string {
   837  	return protoimpl.X.MessageStringOf(x)
   838  }
   839  
   840  func (*EthTimeTrigger) ProtoMessage() {}
   841  
   842  func (x *EthTimeTrigger) ProtoReflect() protoreflect.Message {
   843  	mi := &file_vega_data_source_proto_msgTypes[10]
   844  	if protoimpl.UnsafeEnabled && x != nil {
   845  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   846  		if ms.LoadMessageInfo() == nil {
   847  			ms.StoreMessageInfo(mi)
   848  		}
   849  		return ms
   850  	}
   851  	return mi.MessageOf(x)
   852  }
   853  
   854  // Deprecated: Use EthTimeTrigger.ProtoReflect.Descriptor instead.
   855  func (*EthTimeTrigger) Descriptor() ([]byte, []int) {
   856  	return file_vega_data_source_proto_rawDescGZIP(), []int{10}
   857  }
   858  
   859  func (x *EthTimeTrigger) GetInitial() uint64 {
   860  	if x != nil && x.Initial != nil {
   861  		return *x.Initial
   862  	}
   863  	return 0
   864  }
   865  
   866  func (x *EthTimeTrigger) GetEvery() uint64 {
   867  	if x != nil && x.Every != nil {
   868  		return *x.Every
   869  	}
   870  	return 0
   871  }
   872  
   873  func (x *EthTimeTrigger) GetUntil() uint64 {
   874  	if x != nil && x.Until != nil {
   875  		return *x.Until
   876  	}
   877  	return 0
   878  }
   879  
   880  // Data source spec describes the data source base that a product or a risk
   881  // model wants to get from the data source engine. This message contains
   882  // additional information used by the API.
   883  type DataSourceSpec struct {
   884  	state         protoimpl.MessageState
   885  	sizeCache     protoimpl.SizeCache
   886  	unknownFields protoimpl.UnknownFields
   887  
   888  	// Hash generated from the DataSpec data.
   889  	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
   890  	// Creation date and time
   891  	CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
   892  	// Last Updated timestamp
   893  	UpdatedAt int64                 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
   894  	Data      *DataSourceDefinition `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
   895  	// Status describes the status of the data source spec
   896  	Status DataSourceSpec_Status `protobuf:"varint,5,opt,name=status,proto3,enum=vega.DataSourceSpec_Status" json:"status,omitempty"`
   897  }
   898  
   899  func (x *DataSourceSpec) Reset() {
   900  	*x = DataSourceSpec{}
   901  	if protoimpl.UnsafeEnabled {
   902  		mi := &file_vega_data_source_proto_msgTypes[11]
   903  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   904  		ms.StoreMessageInfo(mi)
   905  	}
   906  }
   907  
   908  func (x *DataSourceSpec) String() string {
   909  	return protoimpl.X.MessageStringOf(x)
   910  }
   911  
   912  func (*DataSourceSpec) ProtoMessage() {}
   913  
   914  func (x *DataSourceSpec) ProtoReflect() protoreflect.Message {
   915  	mi := &file_vega_data_source_proto_msgTypes[11]
   916  	if protoimpl.UnsafeEnabled && x != nil {
   917  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   918  		if ms.LoadMessageInfo() == nil {
   919  			ms.StoreMessageInfo(mi)
   920  		}
   921  		return ms
   922  	}
   923  	return mi.MessageOf(x)
   924  }
   925  
   926  // Deprecated: Use DataSourceSpec.ProtoReflect.Descriptor instead.
   927  func (*DataSourceSpec) Descriptor() ([]byte, []int) {
   928  	return file_vega_data_source_proto_rawDescGZIP(), []int{11}
   929  }
   930  
   931  func (x *DataSourceSpec) GetId() string {
   932  	if x != nil {
   933  		return x.Id
   934  	}
   935  	return ""
   936  }
   937  
   938  func (x *DataSourceSpec) GetCreatedAt() int64 {
   939  	if x != nil {
   940  		return x.CreatedAt
   941  	}
   942  	return 0
   943  }
   944  
   945  func (x *DataSourceSpec) GetUpdatedAt() int64 {
   946  	if x != nil {
   947  		return x.UpdatedAt
   948  	}
   949  	return 0
   950  }
   951  
   952  func (x *DataSourceSpec) GetData() *DataSourceDefinition {
   953  	if x != nil {
   954  		return x.Data
   955  	}
   956  	return nil
   957  }
   958  
   959  func (x *DataSourceSpec) GetStatus() DataSourceSpec_Status {
   960  	if x != nil {
   961  		return x.Status
   962  	}
   963  	return DataSourceSpec_STATUS_UNSPECIFIED
   964  }
   965  
   966  type ExternalDataSourceSpec struct {
   967  	state         protoimpl.MessageState
   968  	sizeCache     protoimpl.SizeCache
   969  	unknownFields protoimpl.UnknownFields
   970  
   971  	Spec *DataSourceSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
   972  }
   973  
   974  func (x *ExternalDataSourceSpec) Reset() {
   975  	*x = ExternalDataSourceSpec{}
   976  	if protoimpl.UnsafeEnabled {
   977  		mi := &file_vega_data_source_proto_msgTypes[12]
   978  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   979  		ms.StoreMessageInfo(mi)
   980  	}
   981  }
   982  
   983  func (x *ExternalDataSourceSpec) String() string {
   984  	return protoimpl.X.MessageStringOf(x)
   985  }
   986  
   987  func (*ExternalDataSourceSpec) ProtoMessage() {}
   988  
   989  func (x *ExternalDataSourceSpec) ProtoReflect() protoreflect.Message {
   990  	mi := &file_vega_data_source_proto_msgTypes[12]
   991  	if protoimpl.UnsafeEnabled && x != nil {
   992  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   993  		if ms.LoadMessageInfo() == nil {
   994  			ms.StoreMessageInfo(mi)
   995  		}
   996  		return ms
   997  	}
   998  	return mi.MessageOf(x)
   999  }
  1000  
  1001  // Deprecated: Use ExternalDataSourceSpec.ProtoReflect.Descriptor instead.
  1002  func (*ExternalDataSourceSpec) Descriptor() ([]byte, []int) {
  1003  	return file_vega_data_source_proto_rawDescGZIP(), []int{12}
  1004  }
  1005  
  1006  func (x *ExternalDataSourceSpec) GetSpec() *DataSourceSpec {
  1007  	if x != nil {
  1008  		return x.Spec
  1009  	}
  1010  	return nil
  1011  }
  1012  
  1013  var File_vega_data_source_proto protoreflect.FileDescriptor
  1014  
  1015  var file_vega_data_source_proto_rawDesc = []byte{
  1016  	0x0a, 0x16, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72,
  1017  	0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x76, 0x65, 0x67, 0x61, 0x1a, 0x1c,
  1018  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
  1019  	0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x65,
  1020  	0x67, 0x61, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2e,
  1021  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x64, 0x61, 0x74, 0x61,
  1022  	0x2f, 0x76, 0x31, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9,
  1023  	0x01, 0x0a, 0x14, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x65, 0x66,
  1024  	0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72,
  1025  	0x6e, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x65, 0x67, 0x61,
  1026  	0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e,
  1027  	0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x48, 0x00, 0x52,
  1028  	0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x40, 0x0a, 0x08, 0x65, 0x78, 0x74,
  1029  	0x65, 0x72, 0x6e, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x65,
  1030  	0x67, 0x61, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x65, 0x66,
  1031  	0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x48,
  1032  	0x00, 0x52, 0x08, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x42, 0x0d, 0x0a, 0x0b, 0x73,
  1033  	0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x52, 0x0a, 0x1c, 0x53, 0x70,
  1034  	0x65, 0x63, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x43, 0x6f, 0x6d, 0x70,
  1035  	0x6f, 0x73, 0x69, 0x74, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x70, 0x72,
  1036  	0x69, 0x63, 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65,
  1037  	0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x70, 0x72, 0x69, 0x63, 0x65,
  1038  	0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x22, 0x5a,
  1039  	0x0a, 0x1f, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63,
  1040  	0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d,
  1041  	0x65, 0x12, 0x37, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
  1042  	0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x64, 0x61, 0x74,
  1043  	0x61, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a,
  1044  	0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xa0, 0x01, 0x0a, 0x26, 0x44,
  1045  	0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x43, 0x6f, 0x6e,
  1046  	0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x54, 0x72,
  1047  	0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69,
  1048  	0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x65, 0x67, 0x61,
  1049  	0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69,
  1050  	0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3d,
  1051  	0x0a, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
  1052  	0x32, 0x21, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e,
  1053  	0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x54, 0x72, 0x69, 0x67,
  1054  	0x67, 0x65, 0x72, 0x52, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x22, 0xbd, 0x01,
  1055  	0x0a, 0x1c, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x65, 0x66, 0x69,
  1056  	0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x3b,
  1057  	0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76,
  1058  	0x65, 0x67, 0x61, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x70,
  1059  	0x65, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54,
  1060  	0x69, 0x6d, 0x65, 0x48, 0x00, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x0c, 0x74,
  1061  	0x69, 0x6d, 0x65, 0x5f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
  1062  	0x0b, 0x32, 0x2c, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75,
  1063  	0x72, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61,
  1064  	0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x48,
  1065  	0x00, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x42, 0x0d,
  1066  	0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x9e, 0x01,
  1067  	0x0a, 0x1c, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x65, 0x66, 0x69,
  1068  	0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x3b,
  1069  	0x0a, 0x06, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21,
  1070  	0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
  1071  	0x53, 0x70, 0x65, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
  1072  	0x6e, 0x48, 0x00, 0x52, 0x06, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x12, 0x32, 0x0a, 0x0a, 0x65,
  1073  	0x74, 0x68, 0x5f, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1074  	0x11, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x45, 0x74, 0x68, 0x43, 0x61, 0x6c, 0x6c, 0x53, 0x70,
  1075  	0x65, 0x63, 0x48, 0x00, 0x52, 0x09, 0x65, 0x74, 0x68, 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x42,
  1076  	0x0d, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x7d,
  1077  	0x0a, 0x1b, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63,
  1078  	0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a,
  1079  	0x07, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14,
  1080  	0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69,
  1081  	0x67, 0x6e, 0x65, 0x72, 0x52, 0x07, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x2e, 0x0a,
  1082  	0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14,
  1083  	0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69,
  1084  	0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x22, 0xf0, 0x02,
  1085  	0x0a, 0x0b, 0x45, 0x74, 0x68, 0x43, 0x61, 0x6c, 0x6c, 0x53, 0x70, 0x65, 0x63, 0x12, 0x18, 0x0a,
  1086  	0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
  1087  	0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x62, 0x69, 0x18, 0x02,
  1088  	0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x62, 0x69, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74,
  1089  	0x68, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f,
  1090  	0x64, 0x12, 0x2a, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
  1091  	0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  1092  	0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x2e, 0x0a,
  1093  	0x07, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
  1094  	0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x45, 0x74, 0x68, 0x43, 0x61, 0x6c, 0x6c, 0x54, 0x72, 0x69,
  1095  	0x67, 0x67, 0x65, 0x72, 0x52, 0x07, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x35, 0x0a,
  1096  	0x16, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72,
  1097  	0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x15, 0x72,
  1098  	0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74,
  1099  	0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2e, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18,
  1100  	0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x64, 0x61, 0x74,
  1101  	0x61, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c,
  1102  	0x74, 0x65, 0x72, 0x73, 0x12, 0x32, 0x0a, 0x0b, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x73,
  1103  	0x65, 0x72, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x65, 0x67, 0x61,
  1104  	0x2e, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x73, 0x65, 0x72, 0x52, 0x0b, 0x6e, 0x6f, 0x72,
  1105  	0x6d, 0x61, 0x6c, 0x69, 0x73, 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x6f, 0x75, 0x72,
  1106  	0x63, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28,
  1107  	0x04, 0x52, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64,
  1108  	0x22, 0x40, 0x0a, 0x0a, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x73, 0x65, 0x72, 0x12, 0x12,
  1109  	0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  1110  	0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
  1111  	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69,
  1112  	0x6f, 0x6e, 0x22, 0x56, 0x0a, 0x0e, 0x45, 0x74, 0x68, 0x43, 0x61, 0x6c, 0x6c, 0x54, 0x72, 0x69,
  1113  	0x67, 0x67, 0x65, 0x72, 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x72, 0x69,
  1114  	0x67, 0x67, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x65, 0x67,
  1115  	0x61, 0x2e, 0x45, 0x74, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72,
  1116  	0x48, 0x00, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x42,
  1117  	0x09, 0x0a, 0x07, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x22, 0x85, 0x01, 0x0a, 0x0e, 0x45,
  1118  	0x74, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x1d, 0x0a,
  1119  	0x07, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00,
  1120  	0x52, 0x07, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05,
  1121  	0x65, 0x76, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x48, 0x01, 0x52, 0x05, 0x65,
  1122  	0x76, 0x65, 0x72, 0x79, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x75, 0x6e, 0x74, 0x69, 0x6c,
  1123  	0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x48, 0x02, 0x52, 0x05, 0x75, 0x6e, 0x74, 0x69, 0x6c, 0x88,
  1124  	0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x42, 0x08,
  1125  	0x0a, 0x06, 0x5f, 0x65, 0x76, 0x65, 0x72, 0x79, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x75, 0x6e, 0x74,
  1126  	0x69, 0x6c, 0x22, 0x90, 0x02, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63,
  1127  	0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1128  	0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
  1129  	0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74,
  1130  	0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f,
  1131  	0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
  1132  	0x64, 0x41, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28,
  1133  	0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75,
  1134  	0x72, 0x63, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x64,
  1135  	0x61, 0x74, 0x61, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20,
  1136  	0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53,
  1137  	0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
  1138  	0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x4b, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74,
  1139  	0x75, 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53,
  1140  	0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54,
  1141  	0x41, 0x54, 0x55, 0x53, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x16, 0x0a,
  1142  	0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x44, 0x45, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41,
  1143  	0x54, 0x45, 0x44, 0x10, 0x02, 0x22, 0x42, 0x0a, 0x16, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,
  1144  	0x6c, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12,
  1145  	0x28, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e,
  1146  	0x76, 0x65, 0x67, 0x61, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53,
  1147  	0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x42, 0x27, 0x5a, 0x25, 0x63, 0x6f, 0x64,
  1148  	0x65, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x69,
  1149  	0x6f, 0x2f, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x76, 0x65,
  1150  	0x67, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1151  }
  1152  
  1153  var (
  1154  	file_vega_data_source_proto_rawDescOnce sync.Once
  1155  	file_vega_data_source_proto_rawDescData = file_vega_data_source_proto_rawDesc
  1156  )
  1157  
  1158  func file_vega_data_source_proto_rawDescGZIP() []byte {
  1159  	file_vega_data_source_proto_rawDescOnce.Do(func() {
  1160  		file_vega_data_source_proto_rawDescData = protoimpl.X.CompressGZIP(file_vega_data_source_proto_rawDescData)
  1161  	})
  1162  	return file_vega_data_source_proto_rawDescData
  1163  }
  1164  
  1165  var file_vega_data_source_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  1166  var file_vega_data_source_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
  1167  var file_vega_data_source_proto_goTypes = []interface{}{
  1168  	(DataSourceSpec_Status)(0),                     // 0: vega.DataSourceSpec.Status
  1169  	(*DataSourceDefinition)(nil),                   // 1: vega.DataSourceDefinition
  1170  	(*SpecBindingForCompositePrice)(nil),           // 2: vega.SpecBindingForCompositePrice
  1171  	(*DataSourceSpecConfigurationTime)(nil),        // 3: vega.DataSourceSpecConfigurationTime
  1172  	(*DataSourceSpecConfigurationTimeTrigger)(nil), // 4: vega.DataSourceSpecConfigurationTimeTrigger
  1173  	(*DataSourceDefinitionInternal)(nil),           // 5: vega.DataSourceDefinitionInternal
  1174  	(*DataSourceDefinitionExternal)(nil),           // 6: vega.DataSourceDefinitionExternal
  1175  	(*DataSourceSpecConfiguration)(nil),            // 7: vega.DataSourceSpecConfiguration
  1176  	(*EthCallSpec)(nil),                            // 8: vega.EthCallSpec
  1177  	(*Normaliser)(nil),                             // 9: vega.Normaliser
  1178  	(*EthCallTrigger)(nil),                         // 10: vega.EthCallTrigger
  1179  	(*EthTimeTrigger)(nil),                         // 11: vega.EthTimeTrigger
  1180  	(*DataSourceSpec)(nil),                         // 12: vega.DataSourceSpec
  1181  	(*ExternalDataSourceSpec)(nil),                 // 13: vega.ExternalDataSourceSpec
  1182  	(*v1.Condition)(nil),                           // 14: vega.data.v1.Condition
  1183  	(*v1.InternalTimeTrigger)(nil),                 // 15: vega.data.v1.InternalTimeTrigger
  1184  	(*v1.Signer)(nil),                              // 16: vega.data.v1.Signer
  1185  	(*v1.Filter)(nil),                              // 17: vega.data.v1.Filter
  1186  	(*structpb.Value)(nil),                         // 18: google.protobuf.Value
  1187  }
  1188  var file_vega_data_source_proto_depIdxs = []int32{
  1189  	5,  // 0: vega.DataSourceDefinition.internal:type_name -> vega.DataSourceDefinitionInternal
  1190  	6,  // 1: vega.DataSourceDefinition.external:type_name -> vega.DataSourceDefinitionExternal
  1191  	14, // 2: vega.DataSourceSpecConfigurationTime.conditions:type_name -> vega.data.v1.Condition
  1192  	14, // 3: vega.DataSourceSpecConfigurationTimeTrigger.conditions:type_name -> vega.data.v1.Condition
  1193  	15, // 4: vega.DataSourceSpecConfigurationTimeTrigger.triggers:type_name -> vega.data.v1.InternalTimeTrigger
  1194  	3,  // 5: vega.DataSourceDefinitionInternal.time:type_name -> vega.DataSourceSpecConfigurationTime
  1195  	4,  // 6: vega.DataSourceDefinitionInternal.time_trigger:type_name -> vega.DataSourceSpecConfigurationTimeTrigger
  1196  	7,  // 7: vega.DataSourceDefinitionExternal.oracle:type_name -> vega.DataSourceSpecConfiguration
  1197  	8,  // 8: vega.DataSourceDefinitionExternal.eth_oracle:type_name -> vega.EthCallSpec
  1198  	16, // 9: vega.DataSourceSpecConfiguration.signers:type_name -> vega.data.v1.Signer
  1199  	17, // 10: vega.DataSourceSpecConfiguration.filters:type_name -> vega.data.v1.Filter
  1200  	18, // 11: vega.EthCallSpec.args:type_name -> google.protobuf.Value
  1201  	10, // 12: vega.EthCallSpec.trigger:type_name -> vega.EthCallTrigger
  1202  	17, // 13: vega.EthCallSpec.filters:type_name -> vega.data.v1.Filter
  1203  	9,  // 14: vega.EthCallSpec.normalisers:type_name -> vega.Normaliser
  1204  	11, // 15: vega.EthCallTrigger.time_trigger:type_name -> vega.EthTimeTrigger
  1205  	1,  // 16: vega.DataSourceSpec.data:type_name -> vega.DataSourceDefinition
  1206  	0,  // 17: vega.DataSourceSpec.status:type_name -> vega.DataSourceSpec.Status
  1207  	12, // 18: vega.ExternalDataSourceSpec.spec:type_name -> vega.DataSourceSpec
  1208  	19, // [19:19] is the sub-list for method output_type
  1209  	19, // [19:19] is the sub-list for method input_type
  1210  	19, // [19:19] is the sub-list for extension type_name
  1211  	19, // [19:19] is the sub-list for extension extendee
  1212  	0,  // [0:19] is the sub-list for field type_name
  1213  }
  1214  
  1215  func init() { file_vega_data_source_proto_init() }
  1216  func file_vega_data_source_proto_init() {
  1217  	if File_vega_data_source_proto != nil {
  1218  		return
  1219  	}
  1220  	if !protoimpl.UnsafeEnabled {
  1221  		file_vega_data_source_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1222  			switch v := v.(*DataSourceDefinition); i {
  1223  			case 0:
  1224  				return &v.state
  1225  			case 1:
  1226  				return &v.sizeCache
  1227  			case 2:
  1228  				return &v.unknownFields
  1229  			default:
  1230  				return nil
  1231  			}
  1232  		}
  1233  		file_vega_data_source_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1234  			switch v := v.(*SpecBindingForCompositePrice); i {
  1235  			case 0:
  1236  				return &v.state
  1237  			case 1:
  1238  				return &v.sizeCache
  1239  			case 2:
  1240  				return &v.unknownFields
  1241  			default:
  1242  				return nil
  1243  			}
  1244  		}
  1245  		file_vega_data_source_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1246  			switch v := v.(*DataSourceSpecConfigurationTime); i {
  1247  			case 0:
  1248  				return &v.state
  1249  			case 1:
  1250  				return &v.sizeCache
  1251  			case 2:
  1252  				return &v.unknownFields
  1253  			default:
  1254  				return nil
  1255  			}
  1256  		}
  1257  		file_vega_data_source_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1258  			switch v := v.(*DataSourceSpecConfigurationTimeTrigger); i {
  1259  			case 0:
  1260  				return &v.state
  1261  			case 1:
  1262  				return &v.sizeCache
  1263  			case 2:
  1264  				return &v.unknownFields
  1265  			default:
  1266  				return nil
  1267  			}
  1268  		}
  1269  		file_vega_data_source_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1270  			switch v := v.(*DataSourceDefinitionInternal); i {
  1271  			case 0:
  1272  				return &v.state
  1273  			case 1:
  1274  				return &v.sizeCache
  1275  			case 2:
  1276  				return &v.unknownFields
  1277  			default:
  1278  				return nil
  1279  			}
  1280  		}
  1281  		file_vega_data_source_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1282  			switch v := v.(*DataSourceDefinitionExternal); i {
  1283  			case 0:
  1284  				return &v.state
  1285  			case 1:
  1286  				return &v.sizeCache
  1287  			case 2:
  1288  				return &v.unknownFields
  1289  			default:
  1290  				return nil
  1291  			}
  1292  		}
  1293  		file_vega_data_source_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1294  			switch v := v.(*DataSourceSpecConfiguration); i {
  1295  			case 0:
  1296  				return &v.state
  1297  			case 1:
  1298  				return &v.sizeCache
  1299  			case 2:
  1300  				return &v.unknownFields
  1301  			default:
  1302  				return nil
  1303  			}
  1304  		}
  1305  		file_vega_data_source_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1306  			switch v := v.(*EthCallSpec); i {
  1307  			case 0:
  1308  				return &v.state
  1309  			case 1:
  1310  				return &v.sizeCache
  1311  			case 2:
  1312  				return &v.unknownFields
  1313  			default:
  1314  				return nil
  1315  			}
  1316  		}
  1317  		file_vega_data_source_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1318  			switch v := v.(*Normaliser); i {
  1319  			case 0:
  1320  				return &v.state
  1321  			case 1:
  1322  				return &v.sizeCache
  1323  			case 2:
  1324  				return &v.unknownFields
  1325  			default:
  1326  				return nil
  1327  			}
  1328  		}
  1329  		file_vega_data_source_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1330  			switch v := v.(*EthCallTrigger); i {
  1331  			case 0:
  1332  				return &v.state
  1333  			case 1:
  1334  				return &v.sizeCache
  1335  			case 2:
  1336  				return &v.unknownFields
  1337  			default:
  1338  				return nil
  1339  			}
  1340  		}
  1341  		file_vega_data_source_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1342  			switch v := v.(*EthTimeTrigger); i {
  1343  			case 0:
  1344  				return &v.state
  1345  			case 1:
  1346  				return &v.sizeCache
  1347  			case 2:
  1348  				return &v.unknownFields
  1349  			default:
  1350  				return nil
  1351  			}
  1352  		}
  1353  		file_vega_data_source_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1354  			switch v := v.(*DataSourceSpec); i {
  1355  			case 0:
  1356  				return &v.state
  1357  			case 1:
  1358  				return &v.sizeCache
  1359  			case 2:
  1360  				return &v.unknownFields
  1361  			default:
  1362  				return nil
  1363  			}
  1364  		}
  1365  		file_vega_data_source_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1366  			switch v := v.(*ExternalDataSourceSpec); i {
  1367  			case 0:
  1368  				return &v.state
  1369  			case 1:
  1370  				return &v.sizeCache
  1371  			case 2:
  1372  				return &v.unknownFields
  1373  			default:
  1374  				return nil
  1375  			}
  1376  		}
  1377  	}
  1378  	file_vega_data_source_proto_msgTypes[0].OneofWrappers = []interface{}{
  1379  		(*DataSourceDefinition_Internal)(nil),
  1380  		(*DataSourceDefinition_External)(nil),
  1381  	}
  1382  	file_vega_data_source_proto_msgTypes[4].OneofWrappers = []interface{}{
  1383  		(*DataSourceDefinitionInternal_Time)(nil),
  1384  		(*DataSourceDefinitionInternal_TimeTrigger)(nil),
  1385  	}
  1386  	file_vega_data_source_proto_msgTypes[5].OneofWrappers = []interface{}{
  1387  		(*DataSourceDefinitionExternal_Oracle)(nil),
  1388  		(*DataSourceDefinitionExternal_EthOracle)(nil),
  1389  	}
  1390  	file_vega_data_source_proto_msgTypes[9].OneofWrappers = []interface{}{
  1391  		(*EthCallTrigger_TimeTrigger)(nil),
  1392  	}
  1393  	file_vega_data_source_proto_msgTypes[10].OneofWrappers = []interface{}{}
  1394  	type x struct{}
  1395  	out := protoimpl.TypeBuilder{
  1396  		File: protoimpl.DescBuilder{
  1397  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1398  			RawDescriptor: file_vega_data_source_proto_rawDesc,
  1399  			NumEnums:      1,
  1400  			NumMessages:   13,
  1401  			NumExtensions: 0,
  1402  			NumServices:   0,
  1403  		},
  1404  		GoTypes:           file_vega_data_source_proto_goTypes,
  1405  		DependencyIndexes: file_vega_data_source_proto_depIdxs,
  1406  		EnumInfos:         file_vega_data_source_proto_enumTypes,
  1407  		MessageInfos:      file_vega_data_source_proto_msgTypes,
  1408  	}.Build()
  1409  	File_vega_data_source_proto = out.File
  1410  	file_vega_data_source_proto_rawDesc = nil
  1411  	file_vega_data_source_proto_goTypes = nil
  1412  	file_vega_data_source_proto_depIdxs = nil
  1413  }