yieldstat

package module
v0.0.0-...-7d73fae Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Output_TypeID = 0x932a681f81b4be19

Output_TypeID is the unique identifier for the type Output.

View Source
const Output_YearToResult_TypeID = 0xa008c533888c3a5e

Output_YearToResult_TypeID is the unique identifier for the type Output_YearToResult.

View Source
const RestInput_TypeID = 0xa47f8d65869200af

RestInput_TypeID is the unique identifier for the type RestInput.

View Source
const ResultId_TypeID = 0xcfe218c48d227e0d

ResultId_TypeID is the unique identifier for the type ResultId.

View Source
const Result_ResultToValue_TypeID = 0x8d365bd4f0136fc0

Result_ResultToValue_TypeID is the unique identifier for the type Result_ResultToValue.

View Source
const Result_TypeID = 0x8db55634a0e7d054

Result_TypeID is the unique identifier for the type Result.

Variables

This section is empty.

Functions

func RegisterSchema

func RegisterSchema(reg *schemas.Registry)

Types

type Output

type Output capnp.Struct

func NewOutput

func NewOutput(s *capnp.Segment) (Output, error)

func NewRootOutput

func NewRootOutput(s *capnp.Segment) (Output, error)

func ReadRootOutput

func ReadRootOutput(msg *capnp.Message) (Output, error)

func (Output) DecodeFromPtr

func (Output) DecodeFromPtr(p capnp.Ptr) Output

func (Output) EncodeAsPtr

func (s Output) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Output) HasId

func (s Output) HasId() bool

func (Output) HasReason

func (s Output) HasReason() bool

func (Output) HasResults

func (s Output) HasResults() bool

func (Output) Id

func (s Output) Id() (string, error)

func (Output) IdBytes

func (s Output) IdBytes() ([]byte, error)

func (Output) IsValid

func (s Output) IsValid() bool

func (Output) Message

func (s Output) Message() *capnp.Message

func (Output) NewResults

func (s Output) NewResults(n int32) (Output_YearToResult_List, error)

NewResults sets the results field to a newly allocated Output_YearToResult_List, preferring placement in s's segment.

func (Output) Reason

func (s Output) Reason() (string, error)

func (Output) ReasonBytes

func (s Output) ReasonBytes() ([]byte, error)

func (Output) Results

func (s Output) Results() (Output_YearToResult_List, error)

func (Output) RunFailed

func (s Output) RunFailed() bool

func (Output) Segment

func (s Output) Segment() *capnp.Segment

func (Output) SetId

func (s Output) SetId(v string) error

func (Output) SetReason

func (s Output) SetReason(v string) error

func (Output) SetResults

func (s Output) SetResults(v Output_YearToResult_List) error

func (Output) SetRunFailed

func (s Output) SetRunFailed(v bool)

func (Output) String

func (s Output) String() string

func (Output) ToPtr

func (s Output) ToPtr() capnp.Ptr

type Output_Future

type Output_Future struct{ *capnp.Future }

Output_Future is a wrapper for a Output promised by a client call.

func (Output_Future) Struct

func (f Output_Future) Struct() (Output, error)

type Output_List

type Output_List = capnp.StructList[Output]

Output_List is a list of Output.

func NewOutput_List

func NewOutput_List(s *capnp.Segment, sz int32) (Output_List, error)

NewOutput creates a new list of Output.

type Output_YearToResult

type Output_YearToResult capnp.Struct

func NewOutput_YearToResult

func NewOutput_YearToResult(s *capnp.Segment) (Output_YearToResult, error)

func NewRootOutput_YearToResult

func NewRootOutput_YearToResult(s *capnp.Segment) (Output_YearToResult, error)

func ReadRootOutput_YearToResult

func ReadRootOutput_YearToResult(msg *capnp.Message) (Output_YearToResult, error)

func (Output_YearToResult) DecodeFromPtr

func (Output_YearToResult) EncodeAsPtr

func (s Output_YearToResult) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Output_YearToResult) HasResult

func (s Output_YearToResult) HasResult() bool

func (Output_YearToResult) IsValid

func (s Output_YearToResult) IsValid() bool

func (Output_YearToResult) Message

func (s Output_YearToResult) Message() *capnp.Message

func (Output_YearToResult) NewResult

func (s Output_YearToResult) NewResult() (Result, error)

NewResult sets the result field to a newly allocated Result struct, preferring placement in s's segment.

func (Output_YearToResult) Result

func (s Output_YearToResult) Result() (Result, error)

func (Output_YearToResult) Segment

func (s Output_YearToResult) Segment() *capnp.Segment

func (Output_YearToResult) SetResult

func (s Output_YearToResult) SetResult(v Result) error

func (Output_YearToResult) SetYear

func (s Output_YearToResult) SetYear(v int16)

func (Output_YearToResult) String

func (s Output_YearToResult) String() string

func (Output_YearToResult) ToPtr

func (s Output_YearToResult) ToPtr() capnp.Ptr

func (Output_YearToResult) Year

func (s Output_YearToResult) Year() int16

type Output_YearToResult_Future

type Output_YearToResult_Future struct{ *capnp.Future }

Output_YearToResult_Future is a wrapper for a Output_YearToResult promised by a client call.

func (Output_YearToResult_Future) Result

func (Output_YearToResult_Future) Struct

type Output_YearToResult_List

type Output_YearToResult_List = capnp.StructList[Output_YearToResult]

Output_YearToResult_List is a list of Output_YearToResult.

func NewOutput_YearToResult_List

func NewOutput_YearToResult_List(s *capnp.Segment, sz int32) (Output_YearToResult_List, error)

NewOutput_YearToResult creates a new list of Output_YearToResult.

type RestInput

type RestInput capnp.Struct

func NewRestInput

func NewRestInput(s *capnp.Segment) (RestInput, error)

func NewRootRestInput

func NewRootRestInput(s *capnp.Segment) (RestInput, error)

func ReadRootRestInput

func ReadRootRestInput(msg *capnp.Message) (RestInput, error)

func (RestInput) Az

func (s RestInput) Az() uint8

func (RestInput) DecodeFromPtr

func (RestInput) DecodeFromPtr(p capnp.Ptr) RestInput

func (RestInput) Dgm

func (s RestInput) Dgm() float64

func (RestInput) EncodeAsPtr

func (s RestInput) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (RestInput) GermanFederalStates

func (s RestInput) GermanFederalStates() int8

func (RestInput) GetDryYearWaterNeed

func (s RestInput) GetDryYearWaterNeed() bool

func (RestInput) Hft

func (s RestInput) Hft() uint8

func (RestInput) IsValid

func (s RestInput) IsValid() bool

func (RestInput) Klz

func (s RestInput) Klz() uint8

func (RestInput) Message

func (s RestInput) Message() *capnp.Message

func (RestInput) Nft

func (s RestInput) Nft() uint8

func (RestInput) Segment

func (s RestInput) Segment() *capnp.Segment

func (RestInput) SetAz

func (s RestInput) SetAz(v uint8)

func (RestInput) SetDgm

func (s RestInput) SetDgm(v float64)

func (RestInput) SetGermanFederalStates

func (s RestInput) SetGermanFederalStates(v int8)

func (RestInput) SetGetDryYearWaterNeed

func (s RestInput) SetGetDryYearWaterNeed(v bool)

func (RestInput) SetHft

func (s RestInput) SetHft(v uint8)

func (RestInput) SetKlz

func (s RestInput) SetKlz(v uint8)

func (RestInput) SetNft

func (s RestInput) SetNft(v uint8)

func (RestInput) SetSft

func (s RestInput) SetSft(v uint8)

func (RestInput) SetSlope

func (s RestInput) SetSlope(v uint8)

func (RestInput) SetSteino

func (s RestInput) SetSteino(v uint8)

func (RestInput) SetStt

func (s RestInput) SetStt(v uint8)

func (RestInput) SetUseCO2Increase

func (s RestInput) SetUseCO2Increase(v bool)

func (RestInput) SetUseDevTrend

func (s RestInput) SetUseDevTrend(v bool)

func (RestInput) Sft

func (s RestInput) Sft() uint8

func (RestInput) Slope

func (s RestInput) Slope() uint8

func (RestInput) Steino

func (s RestInput) Steino() uint8

func (RestInput) String

func (s RestInput) String() string

func (RestInput) Stt

func (s RestInput) Stt() uint8

func (RestInput) ToPtr

func (s RestInput) ToPtr() capnp.Ptr

func (RestInput) UseCO2Increase

func (s RestInput) UseCO2Increase() bool

func (RestInput) UseDevTrend

func (s RestInput) UseDevTrend() bool

type RestInput_Future

type RestInput_Future struct{ *capnp.Future }

RestInput_Future is a wrapper for a RestInput promised by a client call.

func (RestInput_Future) Struct

func (f RestInput_Future) Struct() (RestInput, error)

type RestInput_List

type RestInput_List = capnp.StructList[RestInput]

RestInput_List is a list of RestInput.

func NewRestInput_List

func NewRestInput_List(s *capnp.Segment, sz int32) (RestInput_List, error)

NewRestInput creates a new list of RestInput.

type Result

type Result capnp.Struct

func NewResult

func NewResult(s *capnp.Segment) (Result, error)

func NewRootResult

func NewRootResult(s *capnp.Segment) (Result, error)

func ReadRootResult

func ReadRootResult(msg *capnp.Message) (Result, error)

func (Result) Cultivar

func (s Result) Cultivar() (string, error)

func (Result) CultivarBytes

func (s Result) CultivarBytes() ([]byte, error)

func (Result) DecodeFromPtr

func (Result) DecodeFromPtr(p capnp.Ptr) Result

func (Result) EncodeAsPtr

func (s Result) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Result) HasCultivar

func (s Result) HasCultivar() bool

func (Result) HasValues

func (s Result) HasValues() bool

func (Result) IsNoData

func (s Result) IsNoData() bool

func (Result) IsValid

func (s Result) IsValid() bool

func (Result) Message

func (s Result) Message() *capnp.Message

func (Result) NewValues

func (s Result) NewValues(n int32) (Result_ResultToValue_List, error)

NewValues sets the values field to a newly allocated Result_ResultToValue_List, preferring placement in s's segment.

func (Result) Segment

func (s Result) Segment() *capnp.Segment

func (Result) SetCultivar

func (s Result) SetCultivar(v string) error

func (Result) SetIsNoData

func (s Result) SetIsNoData(v bool)

func (Result) SetValues

func (s Result) SetValues(v Result_ResultToValue_List) error

func (Result) String

func (s Result) String() string

func (Result) ToPtr

func (s Result) ToPtr() capnp.Ptr

func (Result) Values

func (s Result) Values() (Result_ResultToValue_List, error)

type ResultId

type ResultId uint16
const (
	ResultId_primaryYield               ResultId = 0
	ResultId_dryMatter                  ResultId = 1
	ResultId_carbonInAboveGroundBiomass ResultId = 2
	ResultId_sumFertilizer              ResultId = 3
	ResultId_sumIrrigation              ResultId = 4
	ResultId_primaryYieldCU             ResultId = 5
)

Values of ResultId.

func ResultIdFromString

func ResultIdFromString(c string) ResultId

ResultIdFromString returns the enum value with a name, or the zero value if there's no such value.

func (ResultId) String

func (c ResultId) String() string

String returns the enum's constant name.

type ResultId_List

type ResultId_List = capnp.EnumList[ResultId]

func NewResultId_List

func NewResultId_List(s *capnp.Segment, sz int32) (ResultId_List, error)

type Result_Future

type Result_Future struct{ *capnp.Future }

Result_Future is a wrapper for a Result promised by a client call.

func (Result_Future) Struct

func (f Result_Future) Struct() (Result, error)

type Result_List

type Result_List = capnp.StructList[Result]

Result_List is a list of Result.

func NewResult_List

func NewResult_List(s *capnp.Segment, sz int32) (Result_List, error)

NewResult creates a new list of Result.

type Result_ResultToValue

type Result_ResultToValue capnp.Struct

func NewResult_ResultToValue

func NewResult_ResultToValue(s *capnp.Segment) (Result_ResultToValue, error)

func NewRootResult_ResultToValue

func NewRootResult_ResultToValue(s *capnp.Segment) (Result_ResultToValue, error)

func ReadRootResult_ResultToValue

func ReadRootResult_ResultToValue(msg *capnp.Message) (Result_ResultToValue, error)

func (Result_ResultToValue) DecodeFromPtr

func (Result_ResultToValue) EncodeAsPtr

func (s Result_ResultToValue) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Result_ResultToValue) Id

func (Result_ResultToValue) IsValid

func (s Result_ResultToValue) IsValid() bool

func (Result_ResultToValue) Message

func (s Result_ResultToValue) Message() *capnp.Message

func (Result_ResultToValue) Segment

func (s Result_ResultToValue) Segment() *capnp.Segment

func (Result_ResultToValue) SetId

func (s Result_ResultToValue) SetId(v ResultId)

func (Result_ResultToValue) SetValue

func (s Result_ResultToValue) SetValue(v float64)

func (Result_ResultToValue) String

func (s Result_ResultToValue) String() string

func (Result_ResultToValue) ToPtr

func (s Result_ResultToValue) ToPtr() capnp.Ptr

func (Result_ResultToValue) Value

func (s Result_ResultToValue) Value() float64

type Result_ResultToValue_Future

type Result_ResultToValue_Future struct{ *capnp.Future }

Result_ResultToValue_Future is a wrapper for a Result_ResultToValue promised by a client call.

func (Result_ResultToValue_Future) Struct

type Result_ResultToValue_List

type Result_ResultToValue_List = capnp.StructList[Result_ResultToValue]

Result_ResultToValue_List is a list of Result_ResultToValue.

func NewResult_ResultToValue_List

func NewResult_ResultToValue_List(s *capnp.Segment, sz int32) (Result_ResultToValue_List, error)

NewResult_ResultToValue creates a new list of Result_ResultToValue.

Jump to

Keyboard shortcuts

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