yieldstat

package
v0.0.0-...-1f04649 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2022 License: MPL-2.0 Imports: 5 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

This section is empty.

Types

type Output

type Output struct{ 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) 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) 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) 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

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 (p Output_Future) Struct() (Output, error)

type Output_List

type Output_List struct{ capnp.List }

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.

func (Output_List) At

func (s Output_List) At(i int) Output

func (Output_List) Set

func (s Output_List) Set(i int, v Output) error

func (Output_List) String

func (s Output_List) String() string

type Output_YearToResult

type Output_YearToResult struct{ 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) HasResult

func (s Output_YearToResult) HasResult() bool

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) 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) 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 struct{ capnp.List }

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.

func (Output_YearToResult_List) At

func (Output_YearToResult_List) Set

func (Output_YearToResult_List) String

func (s Output_YearToResult_List) String() string

type RestInput

type RestInput struct{ 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) Dgm

func (s RestInput) Dgm() float64

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) Klz

func (s RestInput) Klz() uint8

func (RestInput) Nft

func (s RestInput) Nft() uint8

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) 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 (p RestInput_Future) Struct() (RestInput, error)

type RestInput_List

type RestInput_List struct{ capnp.List }

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.

func (RestInput_List) At

func (s RestInput_List) At(i int) RestInput

func (RestInput_List) Set

func (s RestInput_List) Set(i int, v RestInput) error

func (RestInput_List) String

func (s RestInput_List) String() string

type Result

type Result struct{ 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() crop.Cultivar

func (Result) HasValues

func (s Result) HasValues() bool

func (Result) IsNoData

func (s Result) IsNoData() bool

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) SetCultivar

func (s Result) SetCultivar(v crop.Cultivar)

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) 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 struct{ capnp.List }

func NewResultId_List

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

func (ResultId_List) At

func (l ResultId_List) At(i int) ResultId

func (ResultId_List) Set

func (l ResultId_List) Set(i int, v ResultId)

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 (p Result_Future) Struct() (Result, error)

type Result_List

type Result_List struct{ capnp.List }

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.

func (Result_List) At

func (s Result_List) At(i int) Result

func (Result_List) Set

func (s Result_List) Set(i int, v Result) error

func (Result_List) String

func (s Result_List) String() string

type Result_ResultToValue

type Result_ResultToValue struct{ 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) Id

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) 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 struct{ capnp.List }

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.

func (Result_ResultToValue_List) At

func (Result_ResultToValue_List) Set

func (Result_ResultToValue_List) String

func (s Result_ResultToValue_List) String() string

Jump to

Keyboard shortcuts

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