Documentation ¶
Index ¶
- Constants
- type Output
- func (s Output) HasId() bool
- func (s Output) HasReason() bool
- func (s Output) HasResults() bool
- func (s Output) Id() (string, error)
- func (s Output) IdBytes() ([]byte, error)
- func (s Output) NewResults(n int32) (Output_YearToResult_List, error)
- func (s Output) Reason() (string, error)
- func (s Output) ReasonBytes() ([]byte, error)
- func (s Output) Results() (Output_YearToResult_List, error)
- func (s Output) RunFailed() bool
- func (s Output) SetId(v string) error
- func (s Output) SetReason(v string) error
- func (s Output) SetResults(v Output_YearToResult_List) error
- func (s Output) SetRunFailed(v bool)
- func (s Output) String() string
- type Output_Future
- type Output_List
- type Output_YearToResult
- func (s Output_YearToResult) HasResult() bool
- func (s Output_YearToResult) NewResult() (Result, error)
- func (s Output_YearToResult) Result() (Result, error)
- func (s Output_YearToResult) SetResult(v Result) error
- func (s Output_YearToResult) SetYear(v int16)
- func (s Output_YearToResult) String() string
- func (s Output_YearToResult) Year() int16
- type Output_YearToResult_Future
- type Output_YearToResult_List
- type RestInput
- func (s RestInput) Az() uint8
- func (s RestInput) Dgm() float64
- func (s RestInput) GermanFederalStates() int8
- func (s RestInput) GetDryYearWaterNeed() bool
- func (s RestInput) Hft() uint8
- func (s RestInput) Klz() uint8
- func (s RestInput) Nft() uint8
- func (s RestInput) SetAz(v uint8)
- func (s RestInput) SetDgm(v float64)
- func (s RestInput) SetGermanFederalStates(v int8)
- func (s RestInput) SetGetDryYearWaterNeed(v bool)
- func (s RestInput) SetHft(v uint8)
- func (s RestInput) SetKlz(v uint8)
- func (s RestInput) SetNft(v uint8)
- func (s RestInput) SetSft(v uint8)
- func (s RestInput) SetSlope(v uint8)
- func (s RestInput) SetSteino(v uint8)
- func (s RestInput) SetStt(v uint8)
- func (s RestInput) SetUseCO2Increase(v bool)
- func (s RestInput) SetUseDevTrend(v bool)
- func (s RestInput) Sft() uint8
- func (s RestInput) Slope() uint8
- func (s RestInput) Steino() uint8
- func (s RestInput) String() string
- func (s RestInput) Stt() uint8
- func (s RestInput) UseCO2Increase() bool
- func (s RestInput) UseDevTrend() bool
- type RestInput_Future
- type RestInput_List
- type Result
- func (s Result) Cultivar() crop.Cultivar
- func (s Result) HasValues() bool
- func (s Result) IsNoData() bool
- func (s Result) NewValues(n int32) (Result_ResultToValue_List, error)
- func (s Result) SetCultivar(v crop.Cultivar)
- func (s Result) SetIsNoData(v bool)
- func (s Result) SetValues(v Result_ResultToValue_List) error
- func (s Result) String() string
- func (s Result) Values() (Result_ResultToValue_List, error)
- type ResultId
- type ResultId_List
- type Result_Future
- type Result_List
- type Result_ResultToValue
- type Result_ResultToValue_Future
- type Result_ResultToValue_List
Constants ¶
const Output_TypeID = 0x932a681f81b4be19
Output_TypeID is the unique identifier for the type Output.
const Output_YearToResult_TypeID = 0xa008c533888c3a5e
Output_YearToResult_TypeID is the unique identifier for the type Output_YearToResult.
const RestInput_TypeID = 0xa47f8d65869200af
RestInput_TypeID is the unique identifier for the type RestInput.
const ResultId_TypeID = 0xcfe218c48d227e0d
ResultId_TypeID is the unique identifier for the type ResultId.
const Result_ResultToValue_TypeID = 0x8d365bd4f0136fc0
Result_ResultToValue_TypeID is the unique identifier for the type Result_ResultToValue.
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 ¶
func (Output) HasResults ¶
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) ReasonBytes ¶
func (Output) Results ¶
func (s Output) Results() (Output_YearToResult_List, error)
func (Output) SetResults ¶
func (s Output) SetResults(v Output_YearToResult_List) error
func (Output) SetRunFailed ¶
type Output_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 ¶
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) String ¶
func (s Output_List) String() string
type Output_YearToResult ¶
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 ¶
Output_YearToResult_Future is a wrapper for a Output_YearToResult promised by a client call.
func (Output_YearToResult_Future) Result ¶
func (p Output_YearToResult_Future) Result() Result_Future
func (Output_YearToResult_Future) Struct ¶
func (p Output_YearToResult_Future) Struct() (Output_YearToResult, error)
type Output_YearToResult_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 (s Output_YearToResult_List) At(i int) Output_YearToResult
func (Output_YearToResult_List) Set ¶
func (s Output_YearToResult_List) Set(i int, v Output_YearToResult) error
func (Output_YearToResult_List) String ¶
func (s Output_YearToResult_List) String() string
type RestInput ¶
func (RestInput) GermanFederalStates ¶
func (RestInput) GetDryYearWaterNeed ¶
func (RestInput) SetGermanFederalStates ¶
func (RestInput) SetGetDryYearWaterNeed ¶
func (RestInput) SetUseCO2Increase ¶
func (RestInput) SetUseDevTrend ¶
func (RestInput) UseCO2Increase ¶
func (RestInput) UseDevTrend ¶
type RestInput_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 ¶
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) String ¶
func (s RestInput_List) String() string
type Result ¶
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 (Result) SetIsNoData ¶
func (Result) SetValues ¶
func (s Result) SetValues(v Result_ResultToValue_List) error
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 ¶
ResultIdFromString returns the enum value with a name, or the zero value if there's no such value.
type ResultId_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 ¶
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 ¶
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) String ¶
func (s Result_List) String() string
type Result_ResultToValue ¶
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 (s Result_ResultToValue) Id() ResultId
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 ¶
Result_ResultToValue_Future is a wrapper for a Result_ResultToValue promised by a client call.
func (Result_ResultToValue_Future) Struct ¶
func (p Result_ResultToValue_Future) Struct() (Result_ResultToValue, error)
type Result_ResultToValue_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 (s Result_ResultToValue_List) At(i int) Result_ResultToValue
func (Result_ResultToValue_List) Set ¶
func (s Result_ResultToValue_List) Set(i int, v Result_ResultToValue) error
func (Result_ResultToValue_List) String ¶
func (s Result_ResultToValue_List) String() string