pb

package
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2025 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_config_proto protoreflect.FileDescriptor
View Source
var File_dontime_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Config

type Config struct {

	// These fields are shadowing the `ReportingPluginLimits` fields.
	// See: https://github.com/smartcontractkit/libocr/blob/master/offchainreporting2plus/ocr3types/plugin.go#L296
	MaxQueryLengthBytes       uint32               `protobuf:"varint,1,opt,name=maxQueryLengthBytes,proto3" json:"maxQueryLengthBytes,omitempty"`
	MaxObservationLengthBytes uint32               `protobuf:"varint,2,opt,name=maxObservationLengthBytes,proto3" json:"maxObservationLengthBytes,omitempty"`
	MaxOutcomeLengthBytes     uint32               `protobuf:"varint,3,opt,name=maxOutcomeLengthBytes,proto3" json:"maxOutcomeLengthBytes,omitempty"`
	MaxReportLengthBytes      uint32               `protobuf:"varint,4,opt,name=maxReportLengthBytes,proto3" json:"maxReportLengthBytes,omitempty"`
	MaxReportCount            uint32               `protobuf:"varint,5,opt,name=maxReportCount,proto3" json:"maxReportCount,omitempty"`
	MaxBatchSize              uint32               `protobuf:"varint,6,opt,name=maxBatchSize,proto3" json:"maxBatchSize,omitempty"`
	MinTimeIncrease           int64                `protobuf:"varint,7,opt,name=minTimeIncrease,proto3" json:"minTimeIncrease,omitempty"`
	ExecutionRemovalTime      *durationpb.Duration `protobuf:"bytes,8,opt,name=executionRemovalTime,proto3" json:"executionRemovalTime,omitempty"`
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

func (*Config) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetExecutionRemovalTime

func (x *Config) GetExecutionRemovalTime() *durationpb.Duration

func (*Config) GetMaxBatchSize

func (x *Config) GetMaxBatchSize() uint32

func (*Config) GetMaxObservationLengthBytes

func (x *Config) GetMaxObservationLengthBytes() uint32

func (*Config) GetMaxOutcomeLengthBytes

func (x *Config) GetMaxOutcomeLengthBytes() uint32

func (*Config) GetMaxQueryLengthBytes

func (x *Config) GetMaxQueryLengthBytes() uint32

func (*Config) GetMaxReportCount

func (x *Config) GetMaxReportCount() uint32

func (*Config) GetMaxReportLengthBytes

func (x *Config) GetMaxReportLengthBytes() uint32

func (*Config) GetMinTimeIncrease

func (x *Config) GetMinTimeIncrease() int64

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type Observation

type Observation struct {
	Timestamp int64            `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Requests  map[string]int64 `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Observation) Descriptor deprecated

func (*Observation) Descriptor() ([]byte, []int)

Deprecated: Use Observation.ProtoReflect.Descriptor instead.

func (*Observation) GetRequests

func (x *Observation) GetRequests() map[string]int64

func (*Observation) GetTimestamp

func (x *Observation) GetTimestamp() int64

func (*Observation) ProtoMessage

func (*Observation) ProtoMessage()

func (*Observation) ProtoReflect

func (x *Observation) ProtoReflect() protoreflect.Message

func (*Observation) Reset

func (x *Observation) Reset()

func (*Observation) String

func (x *Observation) String() string

type Observations

type Observations struct {

	// batched observations for multiple workflow execution IDs
	Observations []*Observation `protobuf:"bytes,1,rep,name=observations,proto3" json:"observations,omitempty"`
	// contains filtered or unexported fields
}

func (*Observations) Descriptor deprecated

func (*Observations) Descriptor() ([]byte, []int)

Deprecated: Use Observations.ProtoReflect.Descriptor instead.

func (*Observations) GetObservations

func (x *Observations) GetObservations() []*Observation

func (*Observations) ProtoMessage

func (*Observations) ProtoMessage()

func (*Observations) ProtoReflect

func (x *Observations) ProtoReflect() protoreflect.Message

func (*Observations) Reset

func (x *Observations) Reset()

func (*Observations) String

func (x *Observations) String() string

type ObservedDonTimes

type ObservedDonTimes struct {
	Timestamps []int64 `protobuf:"varint,1,rep,packed,name=timestamps,proto3" json:"timestamps,omitempty"`
	// contains filtered or unexported fields
}

func (*ObservedDonTimes) Descriptor deprecated

func (*ObservedDonTimes) Descriptor() ([]byte, []int)

Deprecated: Use ObservedDonTimes.ProtoReflect.Descriptor instead.

func (*ObservedDonTimes) GetTimestamps

func (x *ObservedDonTimes) GetTimestamps() []int64

func (*ObservedDonTimes) ProtoMessage

func (*ObservedDonTimes) ProtoMessage()

func (*ObservedDonTimes) ProtoReflect

func (x *ObservedDonTimes) ProtoReflect() protoreflect.Message

func (*ObservedDonTimes) Reset

func (x *ObservedDonTimes) Reset()

func (*ObservedDonTimes) String

func (x *ObservedDonTimes) String() string

type Outcome

type Outcome struct {
	Timestamp        int64                        `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	ObservedDonTimes map[string]*ObservedDonTimes `` /* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Outcome) Descriptor deprecated

func (*Outcome) Descriptor() ([]byte, []int)

Deprecated: Use Outcome.ProtoReflect.Descriptor instead.

func (*Outcome) GetObservedDonTimes

func (x *Outcome) GetObservedDonTimes() map[string]*ObservedDonTimes

func (*Outcome) GetTimestamp

func (x *Outcome) GetTimestamp() int64

func (*Outcome) ProtoMessage

func (*Outcome) ProtoMessage()

func (*Outcome) ProtoReflect

func (x *Outcome) ProtoReflect() protoreflect.Message

func (*Outcome) Reset

func (x *Outcome) Reset()

func (*Outcome) String

func (x *Outcome) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL