Documentation ¶
Index ¶
- Constants
- func FertilizerService_Methods(methods []server.Method, s FertilizerService_Server) []server.Method
- func FertilizerService_NewServer(s FertilizerService_Server) *server.Server
- func Fertilizer_Methods(methods []server.Method, s Fertilizer_Server) []server.Method
- func Fertilizer_NewServer(s Fertilizer_Server) *server.Server
- func RegisterSchema(reg *schemas.Registry)
- func Service_Methods(methods []server.Method, s Service_Server) []server.Method
- func Service_NewServer(s Service_Server) *server.Server
- type Event
- func (s Event) After() Event_after
- func (s Event) At() Event_at
- func (s Event) Between() Event_between
- func (Event) DecodeFromPtr(p capnp.Ptr) Event
- func (s Event) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Event) HasInfo() bool
- func (s Event) HasParams() bool
- func (s Event) Info() (common.IdInformation, error)
- func (s Event) IsValid() bool
- func (s Event) Message() *capnp.Message
- func (s Event) NewInfo() (common.IdInformation, error)
- func (s Event) Params() (capnp.Ptr, error)
- func (s Event) RunAtStartOfDay() bool
- func (s Event) Segment() *capnp.Segment
- func (s Event) SetAfter()
- func (s Event) SetAt()
- func (s Event) SetBetween()
- func (s Event) SetInfo(v common.IdInformation) error
- func (s Event) SetParams(v capnp.Ptr) error
- func (s Event) SetRunAtStartOfDay(v bool)
- func (s Event) SetType(v Event_ExternalType)
- func (s Event) String() string
- func (s Event) ToPtr() capnp.Ptr
- func (s Event) Type() Event_ExternalType
- func (s Event) Which() Event_Which
- type EventType
- type EventType_List
- type Event_ExternalType
- type Event_ExternalType_List
- type Event_Future
- type Event_List
- type Event_PhenoStage
- type Event_PhenoStage_List
- type Event_Type
- func (Event_Type) DecodeFromPtr(p capnp.Ptr) Event_Type
- func (s Event_Type) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Event_Type) External() Event_ExternalType
- func (s Event_Type) Internal() Event_PhenoStage
- func (s Event_Type) IsValid() bool
- func (s Event_Type) Message() *capnp.Message
- func (s Event_Type) Segment() *capnp.Segment
- func (s Event_Type) SetExternal(v Event_ExternalType)
- func (s Event_Type) SetInternal(v Event_PhenoStage)
- func (s Event_Type) String() string
- func (s Event_Type) ToPtr() capnp.Ptr
- func (s Event_Type) Which() Event_Type_Which
- type Event_Type_Future
- type Event_Type_List
- type Event_Type_Which
- type Event_Which
- type Event_after
- func (s Event_after) Days() uint16
- func (s Event_after) Event() (Event_Type, error)
- func (s Event_after) HasEvent() bool
- func (s Event_after) IsValid() bool
- func (s Event_after) Message() *capnp.Message
- func (s Event_after) NewEvent() (Event_Type, error)
- func (s Event_after) Segment() *capnp.Segment
- func (s Event_after) SetDays(v uint16)
- func (s Event_after) SetEvent(v Event_Type) error
- type Event_after_Future
- type Event_at
- func (s Event_at) Date() (common_date.Date, error)
- func (s Event_at) HasDate() bool
- func (s Event_at) IsValid() bool
- func (s Event_at) Message() *capnp.Message
- func (s Event_at) NewDate() (common_date.Date, error)
- func (s Event_at) Segment() *capnp.Segment
- func (s Event_at) SetDate(v common_date.Date) error
- type Event_at_Future
- type Event_between
- func (s Event_between) Earliest() (common_date.Date, error)
- func (s Event_between) HasEarliest() bool
- func (s Event_between) HasLatest() bool
- func (s Event_between) IsValid() bool
- func (s Event_between) Latest() (common_date.Date, error)
- func (s Event_between) Message() *capnp.Message
- func (s Event_between) NewEarliest() (common_date.Date, error)
- func (s Event_between) NewLatest() (common_date.Date, error)
- func (s Event_between) Segment() *capnp.Segment
- func (s Event_between) SetEarliest(v common_date.Date) error
- func (s Event_between) SetLatest(v common_date.Date) error
- type Event_between_Future
- type Fertilizer
- func (c Fertilizer) AddRef() Fertilizer
- func (Fertilizer) DecodeFromPtr(p capnp.Ptr) Fertilizer
- func (c Fertilizer) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Fertilizer) GetFlowLimiter() fc.FlowLimiter
- func (c Fertilizer) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (c Fertilizer) IsSame(other Fertilizer) bool
- func (c Fertilizer) IsValid() bool
- func (c Fertilizer) Nutrients(ctx context.Context, params func(Fertilizer_nutrients_Params) error) (Fertilizer_nutrients_Results_Future, capnp.ReleaseFunc)
- func (c Fertilizer) Parameters(ctx context.Context, params func(Fertilizer_parameters_Params) error) (Fertilizer_parameters_Results_Future, capnp.ReleaseFunc)
- func (c Fertilizer) Release()
- func (c Fertilizer) Resolve(ctx context.Context) error
- func (c Fertilizer) Save(ctx context.Context, params func(persistence.Persistent_SaveParams) error) (persistence.Persistent_SaveResults_Future, capnp.ReleaseFunc)
- func (c Fertilizer) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Fertilizer) String() string
- func (c Fertilizer) WaitStreaming() error
- type FertilizerService
- func (c FertilizerService) AddRef() FertilizerService
- func (c FertilizerService) CategoryInfo(ctx context.Context, params func(registry.Registry_categoryInfo_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (FertilizerService) DecodeFromPtr(p capnp.Ptr) FertilizerService
- func (c FertilizerService) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c FertilizerService) Entries(ctx context.Context, params func(registry.Registry_entries_Params) error) (registry.Registry_entries_Results_Future, capnp.ReleaseFunc)
- func (c FertilizerService) GetFlowLimiter() fc.FlowLimiter
- func (c FertilizerService) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (c FertilizerService) IsSame(other FertilizerService) bool
- func (c FertilizerService) IsValid() bool
- func (c FertilizerService) Release()
- func (c FertilizerService) Resolve(ctx context.Context) error
- func (c FertilizerService) SetFlowLimiter(lim fc.FlowLimiter)
- func (c FertilizerService) String() string
- func (c FertilizerService) SupportedCategories(ctx context.Context, ...) (registry.Registry_supportedCategories_Results_Future, capnp.ReleaseFunc)
- func (c FertilizerService) WaitStreaming() error
- type FertilizerService_List
- type FertilizerService_Server
- type Fertilizer_List
- type Fertilizer_Server
- type Fertilizer_nutrients
- type Fertilizer_nutrients_Params
- func (Fertilizer_nutrients_Params) DecodeFromPtr(p capnp.Ptr) Fertilizer_nutrients_Params
- func (s Fertilizer_nutrients_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Fertilizer_nutrients_Params) IsValid() bool
- func (s Fertilizer_nutrients_Params) Message() *capnp.Message
- func (s Fertilizer_nutrients_Params) Segment() *capnp.Segment
- func (s Fertilizer_nutrients_Params) String() string
- func (s Fertilizer_nutrients_Params) ToPtr() capnp.Ptr
- type Fertilizer_nutrients_Params_Future
- type Fertilizer_nutrients_Params_List
- type Fertilizer_nutrients_Results
- func (Fertilizer_nutrients_Results) DecodeFromPtr(p capnp.Ptr) Fertilizer_nutrients_Results
- func (s Fertilizer_nutrients_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Fertilizer_nutrients_Results) HasNutrients() bool
- func (s Fertilizer_nutrients_Results) IsValid() bool
- func (s Fertilizer_nutrients_Results) Message() *capnp.Message
- func (s Fertilizer_nutrients_Results) NewNutrients(n int32) (Nutrient_List, error)
- func (s Fertilizer_nutrients_Results) Nutrients() (Nutrient_List, error)
- func (s Fertilizer_nutrients_Results) Segment() *capnp.Segment
- func (s Fertilizer_nutrients_Results) SetNutrients(v Nutrient_List) error
- func (s Fertilizer_nutrients_Results) String() string
- func (s Fertilizer_nutrients_Results) ToPtr() capnp.Ptr
- type Fertilizer_nutrients_Results_Future
- type Fertilizer_nutrients_Results_List
- type Fertilizer_parameters
- type Fertilizer_parameters_Params
- func (Fertilizer_parameters_Params) DecodeFromPtr(p capnp.Ptr) Fertilizer_parameters_Params
- func (s Fertilizer_parameters_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Fertilizer_parameters_Params) IsValid() bool
- func (s Fertilizer_parameters_Params) Message() *capnp.Message
- func (s Fertilizer_parameters_Params) Segment() *capnp.Segment
- func (s Fertilizer_parameters_Params) String() string
- func (s Fertilizer_parameters_Params) ToPtr() capnp.Ptr
- type Fertilizer_parameters_Params_Future
- type Fertilizer_parameters_Params_List
- type Fertilizer_parameters_Results
- func (Fertilizer_parameters_Results) DecodeFromPtr(p capnp.Ptr) Fertilizer_parameters_Results
- func (s Fertilizer_parameters_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Fertilizer_parameters_Results) HasParams() bool
- func (s Fertilizer_parameters_Results) IsValid() bool
- func (s Fertilizer_parameters_Results) Message() *capnp.Message
- func (s Fertilizer_parameters_Results) Params() (capnp.Ptr, error)
- func (s Fertilizer_parameters_Results) Segment() *capnp.Segment
- func (s Fertilizer_parameters_Results) SetParams(v capnp.Ptr) error
- func (s Fertilizer_parameters_Results) String() string
- func (s Fertilizer_parameters_Results) ToPtr() capnp.Ptr
- type Fertilizer_parameters_Results_Future
- type Fertilizer_parameters_Results_List
- type Nutrient
- func (Nutrient) DecodeFromPtr(p capnp.Ptr) Nutrient
- func (s Nutrient) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Nutrient) IsValid() bool
- func (s Nutrient) Message() *capnp.Message
- func (s Nutrient) Nutrient() Nutrient_Name
- func (s Nutrient) Segment() *capnp.Segment
- func (s Nutrient) SetNutrient(v Nutrient_Name)
- func (s Nutrient) SetUnit(v Nutrient_Unit)
- func (s Nutrient) SetValue(v float64)
- func (s Nutrient) String() string
- func (s Nutrient) ToPtr() capnp.Ptr
- func (s Nutrient) Unit() Nutrient_Unit
- func (s Nutrient) Value() float64
- type Nutrient_Future
- type Nutrient_List
- type Nutrient_Name
- type Nutrient_Name_List
- type Nutrient_Unit
- type Nutrient_Unit_List
- type Params
- type Params_AutomaticHarvest
- func (Params_AutomaticHarvest) DecodeFromPtr(p capnp.Ptr) Params_AutomaticHarvest
- func (s Params_AutomaticHarvest) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Params_AutomaticHarvest) Harvest() (Params_Harvest, error)
- func (s Params_AutomaticHarvest) HarvestTime() Event_PhenoStage
- func (s Params_AutomaticHarvest) HasHarvest() bool
- func (s Params_AutomaticHarvest) IsValid() bool
- func (s Params_AutomaticHarvest) Max3dayPrecipSum() float64
- func (s Params_AutomaticHarvest) MaxCurrentDayPrecipSum() float64
- func (s Params_AutomaticHarvest) MaxPercentASW() float64
- func (s Params_AutomaticHarvest) Message() *capnp.Message
- func (s Params_AutomaticHarvest) MinPercentASW() float64
- func (s Params_AutomaticHarvest) NewHarvest() (Params_Harvest, error)
- func (s Params_AutomaticHarvest) Segment() *capnp.Segment
- func (s Params_AutomaticHarvest) SetHarvest(v Params_Harvest) error
- func (s Params_AutomaticHarvest) SetHarvestTime(v Event_PhenoStage)
- func (s Params_AutomaticHarvest) SetMax3dayPrecipSum(v float64)
- func (s Params_AutomaticHarvest) SetMaxCurrentDayPrecipSum(v float64)
- func (s Params_AutomaticHarvest) SetMaxPercentASW(v float64)
- func (s Params_AutomaticHarvest) SetMinPercentASW(v float64)
- func (s Params_AutomaticHarvest) String() string
- func (s Params_AutomaticHarvest) ToPtr() capnp.Ptr
- type Params_AutomaticHarvest_Future
- type Params_AutomaticHarvest_List
- type Params_AutomaticSowing
- func (s Params_AutomaticSowing) AvgSoilTemp() (Params_AutomaticSowing_AvgSoilTemp, error)
- func (s Params_AutomaticSowing) BaseTemp() float64
- func (s Params_AutomaticSowing) DaysInTempWindow() uint16
- func (Params_AutomaticSowing) DecodeFromPtr(p capnp.Ptr) Params_AutomaticSowing
- func (s Params_AutomaticSowing) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Params_AutomaticSowing) HasAvgSoilTemp() bool
- func (s Params_AutomaticSowing) HasSowing() bool
- func (s Params_AutomaticSowing) IsValid() bool
- func (s Params_AutomaticSowing) Max3dayPrecipSum() float64
- func (s Params_AutomaticSowing) MaxCurrentDayPrecipSum() float64
- func (s Params_AutomaticSowing) MaxPercentASW() float64
- func (s Params_AutomaticSowing) Message() *capnp.Message
- func (s Params_AutomaticSowing) MinPercentASW() float64
- func (s Params_AutomaticSowing) MinTempThreshold() float64
- func (s Params_AutomaticSowing) NewAvgSoilTemp() (Params_AutomaticSowing_AvgSoilTemp, error)
- func (s Params_AutomaticSowing) NewSowing() (Params_Sowing, error)
- func (s Params_AutomaticSowing) Segment() *capnp.Segment
- func (s Params_AutomaticSowing) SetAvgSoilTemp(v Params_AutomaticSowing_AvgSoilTemp) error
- func (s Params_AutomaticSowing) SetBaseTemp(v float64)
- func (s Params_AutomaticSowing) SetDaysInTempWindow(v uint16)
- func (s Params_AutomaticSowing) SetMax3dayPrecipSum(v float64)
- func (s Params_AutomaticSowing) SetMaxCurrentDayPrecipSum(v float64)
- func (s Params_AutomaticSowing) SetMaxPercentASW(v float64)
- func (s Params_AutomaticSowing) SetMinPercentASW(v float64)
- func (s Params_AutomaticSowing) SetMinTempThreshold(v float64)
- func (s Params_AutomaticSowing) SetSowing(v Params_Sowing) error
- func (s Params_AutomaticSowing) SetTempSumAboveBaseTemp(v float64)
- func (s Params_AutomaticSowing) Sowing() (Params_Sowing, error)
- func (s Params_AutomaticSowing) String() string
- func (s Params_AutomaticSowing) TempSumAboveBaseTemp() float64
- func (s Params_AutomaticSowing) ToPtr() capnp.Ptr
- type Params_AutomaticSowing_AvgSoilTemp
- func NewParams_AutomaticSowing_AvgSoilTemp(s *capnp.Segment) (Params_AutomaticSowing_AvgSoilTemp, error)
- func NewRootParams_AutomaticSowing_AvgSoilTemp(s *capnp.Segment) (Params_AutomaticSowing_AvgSoilTemp, error)
- func ReadRootParams_AutomaticSowing_AvgSoilTemp(msg *capnp.Message) (Params_AutomaticSowing_AvgSoilTemp, error)
- func (s Params_AutomaticSowing_AvgSoilTemp) DaysInSoilTempWindow() uint16
- func (Params_AutomaticSowing_AvgSoilTemp) DecodeFromPtr(p capnp.Ptr) Params_AutomaticSowing_AvgSoilTemp
- func (s Params_AutomaticSowing_AvgSoilTemp) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Params_AutomaticSowing_AvgSoilTemp) IsValid() bool
- func (s Params_AutomaticSowing_AvgSoilTemp) Message() *capnp.Message
- func (s Params_AutomaticSowing_AvgSoilTemp) Segment() *capnp.Segment
- func (s Params_AutomaticSowing_AvgSoilTemp) SetDaysInSoilTempWindow(v uint16)
- func (s Params_AutomaticSowing_AvgSoilTemp) SetSoilDepthForAveraging(v float64)
- func (s Params_AutomaticSowing_AvgSoilTemp) SetSowingIfAboveAvgSoilTemp(v float64)
- func (s Params_AutomaticSowing_AvgSoilTemp) SoilDepthForAveraging() float64
- func (s Params_AutomaticSowing_AvgSoilTemp) SowingIfAboveAvgSoilTemp() float64
- func (s Params_AutomaticSowing_AvgSoilTemp) String() string
- func (s Params_AutomaticSowing_AvgSoilTemp) ToPtr() capnp.Ptr
- type Params_AutomaticSowing_AvgSoilTemp_Future
- type Params_AutomaticSowing_AvgSoilTemp_List
- type Params_AutomaticSowing_Future
- type Params_AutomaticSowing_List
- type Params_Cutting
- func (s Params_Cutting) CutMaxAssimilationRatePercentage() float64
- func (s Params_Cutting) CuttingSpec() (Params_Cutting_Spec_List, error)
- func (Params_Cutting) DecodeFromPtr(p capnp.Ptr) Params_Cutting
- func (s Params_Cutting) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Params_Cutting) HasCuttingSpec() bool
- func (s Params_Cutting) IsValid() bool
- func (s Params_Cutting) Message() *capnp.Message
- func (s Params_Cutting) NewCuttingSpec(n int32) (Params_Cutting_Spec_List, error)
- func (s Params_Cutting) Segment() *capnp.Segment
- func (s Params_Cutting) SetCutMaxAssimilationRatePercentage(v float64)
- func (s Params_Cutting) SetCuttingSpec(v Params_Cutting_Spec_List) error
- func (s Params_Cutting) String() string
- func (s Params_Cutting) ToPtr() capnp.Ptr
- type Params_Cutting_CL
- type Params_Cutting_CL_List
- type Params_Cutting_Future
- type Params_Cutting_List
- type Params_Cutting_Spec
- func (s Params_Cutting_Spec) CutOrLeft() Params_Cutting_CL
- func (Params_Cutting_Spec) DecodeFromPtr(p capnp.Ptr) Params_Cutting_Spec
- func (s Params_Cutting_Spec) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Params_Cutting_Spec) ExportPercentage() float64
- func (s Params_Cutting_Spec) IsValid() bool
- func (s Params_Cutting_Spec) Message() *capnp.Message
- func (s Params_Cutting_Spec) Organ() PlantOrgan
- func (s Params_Cutting_Spec) Segment() *capnp.Segment
- func (s Params_Cutting_Spec) SetCutOrLeft(v Params_Cutting_CL)
- func (s Params_Cutting_Spec) SetExportPercentage(v float64)
- func (s Params_Cutting_Spec) SetOrgan(v PlantOrgan)
- func (s Params_Cutting_Spec) SetUnit(v Params_Cutting_Unit)
- func (s Params_Cutting_Spec) SetValue(v float64)
- func (s Params_Cutting_Spec) String() string
- func (s Params_Cutting_Spec) ToPtr() capnp.Ptr
- func (s Params_Cutting_Spec) Unit() Params_Cutting_Unit
- func (s Params_Cutting_Spec) Value() float64
- type Params_Cutting_Spec_Future
- type Params_Cutting_Spec_List
- type Params_Cutting_Unit
- type Params_Cutting_Unit_List
- type Params_Future
- type Params_Harvest
- func (Params_Harvest) DecodeFromPtr(p capnp.Ptr) Params_Harvest
- func (s Params_Harvest) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Params_Harvest) Exported() bool
- func (s Params_Harvest) HasOptCarbMgmtData() bool
- func (s Params_Harvest) IsValid() bool
- func (s Params_Harvest) Message() *capnp.Message
- func (s Params_Harvest) NewOptCarbMgmtData() (Params_Harvest_OptCarbonMgmtData, error)
- func (s Params_Harvest) OptCarbMgmtData() (Params_Harvest_OptCarbonMgmtData, error)
- func (s Params_Harvest) Segment() *capnp.Segment
- func (s Params_Harvest) SetExported(v bool)
- func (s Params_Harvest) SetOptCarbMgmtData(v Params_Harvest_OptCarbonMgmtData) error
- func (s Params_Harvest) String() string
- func (s Params_Harvest) ToPtr() capnp.Ptr
- type Params_Harvest_CropUsage
- type Params_Harvest_CropUsage_List
- type Params_Harvest_Future
- type Params_Harvest_List
- type Params_Harvest_OptCarbonMgmtData
- func NewParams_Harvest_OptCarbonMgmtData(s *capnp.Segment) (Params_Harvest_OptCarbonMgmtData, error)
- func NewRootParams_Harvest_OptCarbonMgmtData(s *capnp.Segment) (Params_Harvest_OptCarbonMgmtData, error)
- func ReadRootParams_Harvest_OptCarbonMgmtData(msg *capnp.Message) (Params_Harvest_OptCarbonMgmtData, error)
- func (s Params_Harvest_OptCarbonMgmtData) CropImpactOnHumusBalance() float64
- func (s Params_Harvest_OptCarbonMgmtData) CropUsage() Params_Harvest_CropUsage
- func (Params_Harvest_OptCarbonMgmtData) DecodeFromPtr(p capnp.Ptr) Params_Harvest_OptCarbonMgmtData
- func (s Params_Harvest_OptCarbonMgmtData) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Params_Harvest_OptCarbonMgmtData) IsValid() bool
- func (s Params_Harvest_OptCarbonMgmtData) MaxResidueRecoverFraction() float64
- func (s Params_Harvest_OptCarbonMgmtData) Message() *capnp.Message
- func (s Params_Harvest_OptCarbonMgmtData) OptCarbonConservation() bool
- func (s Params_Harvest_OptCarbonMgmtData) OrganicFertilizerHeq() float64
- func (s Params_Harvest_OptCarbonMgmtData) ResidueHeq() float64
- func (s Params_Harvest_OptCarbonMgmtData) Segment() *capnp.Segment
- func (s Params_Harvest_OptCarbonMgmtData) SetCropImpactOnHumusBalance(v float64)
- func (s Params_Harvest_OptCarbonMgmtData) SetCropUsage(v Params_Harvest_CropUsage)
- func (s Params_Harvest_OptCarbonMgmtData) SetMaxResidueRecoverFraction(v float64)
- func (s Params_Harvest_OptCarbonMgmtData) SetOptCarbonConservation(v bool)
- func (s Params_Harvest_OptCarbonMgmtData) SetOrganicFertilizerHeq(v float64)
- func (s Params_Harvest_OptCarbonMgmtData) SetResidueHeq(v float64)
- func (s Params_Harvest_OptCarbonMgmtData) String() string
- func (s Params_Harvest_OptCarbonMgmtData) ToPtr() capnp.Ptr
- type Params_Harvest_OptCarbonMgmtData_Future
- type Params_Harvest_OptCarbonMgmtData_List
- type Params_Irrigation
- func (s Params_Irrigation) Amount() float64
- func (Params_Irrigation) DecodeFromPtr(p capnp.Ptr) Params_Irrigation
- func (s Params_Irrigation) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Params_Irrigation) HasNutrientConcentrations() bool
- func (s Params_Irrigation) IsValid() bool
- func (s Params_Irrigation) Message() *capnp.Message
- func (s Params_Irrigation) NewNutrientConcentrations(n int32) (Nutrient_List, error)
- func (s Params_Irrigation) NutrientConcentrations() (Nutrient_List, error)
- func (s Params_Irrigation) Segment() *capnp.Segment
- func (s Params_Irrigation) SetAmount(v float64)
- func (s Params_Irrigation) SetNutrientConcentrations(v Nutrient_List) error
- func (s Params_Irrigation) String() string
- func (s Params_Irrigation) ToPtr() capnp.Ptr
- type Params_Irrigation_Future
- type Params_Irrigation_List
- type Params_List
- type Params_MineralFertilization
- func (s Params_MineralFertilization) Amount() float64
- func (Params_MineralFertilization) DecodeFromPtr(p capnp.Ptr) Params_MineralFertilization
- func (s Params_MineralFertilization) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Params_MineralFertilization) Fertilizer() Fertilizer
- func (s Params_MineralFertilization) HasFertilizer() bool
- func (s Params_MineralFertilization) IsValid() bool
- func (s Params_MineralFertilization) Message() *capnp.Message
- func (s Params_MineralFertilization) Segment() *capnp.Segment
- func (s Params_MineralFertilization) SetAmount(v float64)
- func (s Params_MineralFertilization) SetFertilizer(v Fertilizer) error
- func (s Params_MineralFertilization) String() string
- func (s Params_MineralFertilization) ToPtr() capnp.Ptr
- type Params_MineralFertilization_Future
- type Params_MineralFertilization_List
- type Params_NDemandFertilization
- func (Params_NDemandFertilization) DecodeFromPtr(p capnp.Ptr) Params_NDemandFertilization
- func (s Params_NDemandFertilization) Depth() float64
- func (s Params_NDemandFertilization) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Params_NDemandFertilization) Fertilizer() Fertilizer
- func (s Params_NDemandFertilization) HasFertilizer() bool
- func (s Params_NDemandFertilization) IsValid() bool
- func (s Params_NDemandFertilization) Message() *capnp.Message
- func (s Params_NDemandFertilization) NDemand() float64
- func (s Params_NDemandFertilization) Segment() *capnp.Segment
- func (s Params_NDemandFertilization) SetDepth(v float64)
- func (s Params_NDemandFertilization) SetFertilizer(v Fertilizer) error
- func (s Params_NDemandFertilization) SetNDemand(v float64)
- func (s Params_NDemandFertilization) SetStage(v uint8)
- func (s Params_NDemandFertilization) Stage() uint8
- func (s Params_NDemandFertilization) String() string
- func (s Params_NDemandFertilization) ToPtr() capnp.Ptr
- type Params_NDemandFertilization_Future
- type Params_NDemandFertilization_List
- type Params_OrganicFertilization
- func (s Params_OrganicFertilization) Amount() float64
- func (Params_OrganicFertilization) DecodeFromPtr(p capnp.Ptr) Params_OrganicFertilization
- func (s Params_OrganicFertilization) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Params_OrganicFertilization) Fertilizer() Fertilizer
- func (s Params_OrganicFertilization) HasFertilizer() bool
- func (s Params_OrganicFertilization) Incorporation() bool
- func (s Params_OrganicFertilization) IsValid() bool
- func (s Params_OrganicFertilization) Message() *capnp.Message
- func (s Params_OrganicFertilization) Segment() *capnp.Segment
- func (s Params_OrganicFertilization) SetAmount(v float64)
- func (s Params_OrganicFertilization) SetFertilizer(v Fertilizer) error
- func (s Params_OrganicFertilization) SetIncorporation(v bool)
- func (s Params_OrganicFertilization) String() string
- func (s Params_OrganicFertilization) ToPtr() capnp.Ptr
- type Params_OrganicFertilization_Future
- type Params_OrganicFertilization_List
- type Params_Sowing
- func (s Params_Sowing) Crop() crop.Crop
- func (s Params_Sowing) Cultivar() (string, error)
- func (s Params_Sowing) CultivarBytes() ([]byte, error)
- func (Params_Sowing) DecodeFromPtr(p capnp.Ptr) Params_Sowing
- func (s Params_Sowing) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Params_Sowing) HasCrop() bool
- func (s Params_Sowing) HasCultivar() bool
- func (s Params_Sowing) IsValid() bool
- func (s Params_Sowing) Message() *capnp.Message
- func (s Params_Sowing) PlantDensity() uint16
- func (s Params_Sowing) Segment() *capnp.Segment
- func (s Params_Sowing) SetCrop(v crop.Crop) error
- func (s Params_Sowing) SetCultivar(v string) error
- func (s Params_Sowing) SetPlantDensity(v uint16)
- func (s Params_Sowing) String() string
- func (s Params_Sowing) ToPtr() capnp.Ptr
- type Params_Sowing_Future
- type Params_Sowing_List
- type Params_Tillage
- func (Params_Tillage) DecodeFromPtr(p capnp.Ptr) Params_Tillage
- func (s Params_Tillage) Depth() float64
- func (s Params_Tillage) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Params_Tillage) IsValid() bool
- func (s Params_Tillage) Message() *capnp.Message
- func (s Params_Tillage) Segment() *capnp.Segment
- func (s Params_Tillage) SetDepth(v float64)
- func (s Params_Tillage) String() string
- func (s Params_Tillage) ToPtr() capnp.Ptr
- type Params_Tillage_Future
- type Params_Tillage_List
- type PlantOrgan
- type PlantOrgan_List
- type Service
- func (c Service) AddRef() Service
- func (Service) DecodeFromPtr(p capnp.Ptr) Service
- func (c Service) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Service) GetFlowLimiter() fc.FlowLimiter
- func (c Service) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (c Service) IsSame(other Service) bool
- func (c Service) IsValid() bool
- func (c Service) ManagementAt(ctx context.Context, params func(geo.LatLonCoord) error) (Service_managementAt_Results_Future, capnp.ReleaseFunc)
- func (c Service) Release()
- func (c Service) Resolve(ctx context.Context) error
- func (c Service) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Service) String() string
- func (c Service) WaitStreaming() error
- type Service_List
- type Service_Server
- type Service_managementAt
- type Service_managementAt_Results
- func (Service_managementAt_Results) DecodeFromPtr(p capnp.Ptr) Service_managementAt_Results
- func (s Service_managementAt_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Service_managementAt_Results) HasMgmt() bool
- func (s Service_managementAt_Results) IsValid() bool
- func (s Service_managementAt_Results) Message() *capnp.Message
- func (s Service_managementAt_Results) Mgmt() (Event_List, error)
- func (s Service_managementAt_Results) NewMgmt(n int32) (Event_List, error)
- func (s Service_managementAt_Results) Segment() *capnp.Segment
- func (s Service_managementAt_Results) SetMgmt(v Event_List) error
- func (s Service_managementAt_Results) String() string
- func (s Service_managementAt_Results) ToPtr() capnp.Ptr
- type Service_managementAt_Results_Future
- type Service_managementAt_Results_List
Constants ¶
const EventType_TypeID = 0x82a74595175b71a3
EventType_TypeID is the unique identifier for the type EventType.
const Event_ExternalType_TypeID = 0xf082ec2d0eb50c9b
Event_ExternalType_TypeID is the unique identifier for the type Event_ExternalType.
const Event_PhenoStage_TypeID = 0x8fa09457bc1bfc34
Event_PhenoStage_TypeID is the unique identifier for the type Event_PhenoStage.
const Event_TypeID = 0x9c5dedfd679ac842
Event_TypeID is the unique identifier for the type Event.
const Event_Type_TypeID = 0xe1ed73d59c8ce359
Event_Type_TypeID is the unique identifier for the type Event_Type.
const FertilizerService_TypeID = 0xbbb7aeae0d097e05
FertilizerService_TypeID is the unique identifier for the type FertilizerService.
const Fertilizer_TypeID = 0x8c4cb8d60ae5aec7
Fertilizer_TypeID is the unique identifier for the type Fertilizer.
const Fertilizer_nutrients_Params_TypeID = 0xcb5a624fdc982a1b
Fertilizer_nutrients_Params_TypeID is the unique identifier for the type Fertilizer_nutrients_Params.
const Fertilizer_nutrients_Results_TypeID = 0xae2976259bce5460
Fertilizer_nutrients_Results_TypeID is the unique identifier for the type Fertilizer_nutrients_Results.
const Fertilizer_parameters_Params_TypeID = 0xc0032af5b7bc50e4
Fertilizer_parameters_Params_TypeID is the unique identifier for the type Fertilizer_parameters_Params.
const Fertilizer_parameters_Results_TypeID = 0xfd4dbbbb758bb8f7
Fertilizer_parameters_Results_TypeID is the unique identifier for the type Fertilizer_parameters_Results.
const Nutrient_Name_TypeID = 0xbc6b579acf43fb6e
Nutrient_Name_TypeID is the unique identifier for the type Nutrient_Name.
const Nutrient_TypeID = 0xaafe4332e17aa43e
Nutrient_TypeID is the unique identifier for the type Nutrient.
const Nutrient_Unit_TypeID = 0x987b68b57edbbdb6
Nutrient_Unit_TypeID is the unique identifier for the type Nutrient_Unit.
const Params_AutomaticHarvest_TypeID = 0xe3a37e340f816cd1
Params_AutomaticHarvest_TypeID is the unique identifier for the type Params_AutomaticHarvest.
const Params_AutomaticSowing_AvgSoilTemp_TypeID = 0x9d81d2bf4cd0f868
Params_AutomaticSowing_AvgSoilTemp_TypeID is the unique identifier for the type Params_AutomaticSowing_AvgSoilTemp.
const Params_AutomaticSowing_TypeID = 0xcfcf44997e7ceab4
Params_AutomaticSowing_TypeID is the unique identifier for the type Params_AutomaticSowing.
const Params_Cutting_CL_TypeID = 0x825bb2508c0b37b2
Params_Cutting_CL_TypeID is the unique identifier for the type Params_Cutting_CL.
const Params_Cutting_Spec_TypeID = 0x9a221e04faf79efc
Params_Cutting_Spec_TypeID is the unique identifier for the type Params_Cutting_Spec.
const Params_Cutting_TypeID = 0xfec75f2ddd43431d
Params_Cutting_TypeID is the unique identifier for the type Params_Cutting.
const Params_Cutting_Unit_TypeID = 0xf0c763e472409ba2
Params_Cutting_Unit_TypeID is the unique identifier for the type Params_Cutting_Unit.
const Params_Harvest_CropUsage_TypeID = 0x8f0cbec420589373
Params_Harvest_CropUsage_TypeID is the unique identifier for the type Params_Harvest_CropUsage.
const Params_Harvest_OptCarbonMgmtData_TypeID = 0x8cb6b3e3c50d3665
Params_Harvest_OptCarbonMgmtData_TypeID is the unique identifier for the type Params_Harvest_OptCarbonMgmtData.
const Params_Harvest_TypeID = 0xeed4e55bb04289ef
Params_Harvest_TypeID is the unique identifier for the type Params_Harvest.
const Params_Irrigation_TypeID = 0x87feb816363ff43c
Params_Irrigation_TypeID is the unique identifier for the type Params_Irrigation.
const Params_MineralFertilization_TypeID = 0xd3da30ea7b25d921
Params_MineralFertilization_TypeID is the unique identifier for the type Params_MineralFertilization.
const Params_NDemandFertilization_TypeID = 0x953375ac67d4f573
Params_NDemandFertilization_TypeID is the unique identifier for the type Params_NDemandFertilization.
const Params_OrganicFertilization_TypeID = 0xe98c76fb0fb0b2cd
Params_OrganicFertilization_TypeID is the unique identifier for the type Params_OrganicFertilization.
const Params_Sowing_TypeID = 0x80ce153f3bc9a9e8
Params_Sowing_TypeID is the unique identifier for the type Params_Sowing.
const Params_Tillage_TypeID = 0x88a5848ef8603554
Params_Tillage_TypeID is the unique identifier for the type Params_Tillage.
const Params_TypeID = 0x9d247c812334c917
Params_TypeID is the unique identifier for the type Params.
const PlantOrgan_TypeID = 0xc2d50914b83d42de
PlantOrgan_TypeID is the unique identifier for the type PlantOrgan.
const Service_TypeID = 0xc876b729b7d7f6d9
Service_TypeID is the unique identifier for the type Service.
const Service_managementAt_Results_TypeID = 0xcca7748d367db151
Service_managementAt_Results_TypeID is the unique identifier for the type Service_managementAt_Results.
Variables ¶
This section is empty.
Functions ¶
func FertilizerService_Methods ¶
func FertilizerService_Methods(methods []server.Method, s FertilizerService_Server) []server.Method
FertilizerService_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func FertilizerService_NewServer ¶
func FertilizerService_NewServer(s FertilizerService_Server) *server.Server
FertilizerService_NewServer creates a new Server from an implementation of FertilizerService_Server.
func Fertilizer_Methods ¶
func Fertilizer_Methods(methods []server.Method, s Fertilizer_Server) []server.Method
Fertilizer_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Fertilizer_NewServer ¶
func Fertilizer_NewServer(s Fertilizer_Server) *server.Server
Fertilizer_NewServer creates a new Server from an implementation of Fertilizer_Server.
func RegisterSchema ¶
func Service_Methods ¶
func Service_Methods(methods []server.Method, s Service_Server) []server.Method
Service_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Service_NewServer ¶
func Service_NewServer(s Service_Server) *server.Server
Service_NewServer creates a new Server from an implementation of Service_Server.
Types ¶
type Event ¶
func (Event) After ¶
func (s Event) After() Event_after
func (Event) Between ¶
func (s Event) Between() Event_between
func (Event) NewInfo ¶
func (s Event) NewInfo() (common.IdInformation, error)
NewInfo sets the info field to a newly allocated common.IdInformation struct, preferring placement in s's segment.
func (Event) RunAtStartOfDay ¶
func (Event) SetBetween ¶
func (s Event) SetBetween()
func (Event) SetRunAtStartOfDay ¶
func (Event) SetType ¶
func (s Event) SetType(v Event_ExternalType)
func (Event) Type ¶
func (s Event) Type() Event_ExternalType
func (Event) Which ¶
func (s Event) Which() Event_Which
type EventType ¶
type EventType uint16
const ( EventType_sowing EventType = 0 EventType_automaticSowing EventType = 1 EventType_harvest EventType = 2 EventType_automaticHarvest EventType = 3 EventType_irrigation EventType = 4 EventType_tillage EventType = 5 EventType_organicFertilization EventType = 6 EventType_mineralFertilization EventType = 7 EventType_nDemandFertilization EventType = 8 EventType_cutting EventType = 9 EventType_setValue EventType = 10 EventType_saveState EventType = 11 )
Values of EventType.
func EventTypeFromString ¶
EventTypeFromString returns the enum value with a name, or the zero value if there's no such value.
type EventType_List ¶
func NewEventType_List ¶
func NewEventType_List(s *capnp.Segment, sz int32) (EventType_List, error)
type Event_ExternalType ¶
type Event_ExternalType uint16
const ( Event_ExternalType_sowing Event_ExternalType = 0 Event_ExternalType_automaticSowing Event_ExternalType = 1 Event_ExternalType_harvest Event_ExternalType = 2 Event_ExternalType_automaticHarvest Event_ExternalType = 3 Event_ExternalType_irrigation Event_ExternalType = 4 Event_ExternalType_tillage Event_ExternalType = 5 Event_ExternalType_organicFertilization Event_ExternalType = 6 Event_ExternalType_mineralFertilization Event_ExternalType = 7 Event_ExternalType_nDemandFertilization Event_ExternalType = 8 Event_ExternalType_cutting Event_ExternalType = 9 )
Values of Event_ExternalType.
func Event_ExternalTypeFromString ¶
func Event_ExternalTypeFromString(c string) Event_ExternalType
Event_ExternalTypeFromString returns the enum value with a name, or the zero value if there's no such value.
func (Event_ExternalType) String ¶
func (c Event_ExternalType) String() string
String returns the enum's constant name.
type Event_ExternalType_List ¶
type Event_ExternalType_List = capnp.EnumList[Event_ExternalType]
func NewEvent_ExternalType_List ¶
func NewEvent_ExternalType_List(s *capnp.Segment, sz int32) (Event_ExternalType_List, error)
type Event_Future ¶
Event_Future is a wrapper for a Event promised by a client call.
func (Event_Future) After ¶
func (p Event_Future) After() Event_after_Future
func (Event_Future) At ¶
func (p Event_Future) At() Event_at_Future
func (Event_Future) Between ¶
func (p Event_Future) Between() Event_between_Future
func (Event_Future) Info ¶
func (p Event_Future) Info() common.IdInformation_Future
func (Event_Future) Params ¶
func (p Event_Future) Params() *capnp.Future
func (Event_Future) Struct ¶
func (f Event_Future) Struct() (Event, error)
type Event_List ¶
type Event_List = capnp.StructList[Event]
Event_List is a list of Event.
func NewEvent_List ¶
func NewEvent_List(s *capnp.Segment, sz int32) (Event_List, error)
NewEvent creates a new list of Event.
type Event_PhenoStage ¶
type Event_PhenoStage uint16
const ( Event_PhenoStage_emergence Event_PhenoStage = 0 Event_PhenoStage_flowering Event_PhenoStage = 1 Event_PhenoStage_anthesis Event_PhenoStage = 2 Event_PhenoStage_maturity Event_PhenoStage = 3 )
Values of Event_PhenoStage.
func Event_PhenoStageFromString ¶
func Event_PhenoStageFromString(c string) Event_PhenoStage
Event_PhenoStageFromString returns the enum value with a name, or the zero value if there's no such value.
func (Event_PhenoStage) String ¶
func (c Event_PhenoStage) String() string
String returns the enum's constant name.
type Event_PhenoStage_List ¶
type Event_PhenoStage_List = capnp.EnumList[Event_PhenoStage]
func NewEvent_PhenoStage_List ¶
func NewEvent_PhenoStage_List(s *capnp.Segment, sz int32) (Event_PhenoStage_List, error)
type Event_Type ¶
func NewEvent_Type ¶
func NewEvent_Type(s *capnp.Segment) (Event_Type, error)
func NewRootEvent_Type ¶
func NewRootEvent_Type(s *capnp.Segment) (Event_Type, error)
func ReadRootEvent_Type ¶
func ReadRootEvent_Type(msg *capnp.Message) (Event_Type, error)
func (Event_Type) DecodeFromPtr ¶
func (Event_Type) DecodeFromPtr(p capnp.Ptr) Event_Type
func (Event_Type) EncodeAsPtr ¶
func (s Event_Type) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Event_Type) External ¶
func (s Event_Type) External() Event_ExternalType
func (Event_Type) Internal ¶
func (s Event_Type) Internal() Event_PhenoStage
func (Event_Type) IsValid ¶
func (s Event_Type) IsValid() bool
func (Event_Type) Message ¶
func (s Event_Type) Message() *capnp.Message
func (Event_Type) Segment ¶
func (s Event_Type) Segment() *capnp.Segment
func (Event_Type) SetExternal ¶
func (s Event_Type) SetExternal(v Event_ExternalType)
func (Event_Type) SetInternal ¶
func (s Event_Type) SetInternal(v Event_PhenoStage)
func (Event_Type) String ¶
func (s Event_Type) String() string
func (Event_Type) ToPtr ¶
func (s Event_Type) ToPtr() capnp.Ptr
func (Event_Type) Which ¶
func (s Event_Type) Which() Event_Type_Which
type Event_Type_Future ¶
Event_Type_Future is a wrapper for a Event_Type promised by a client call.
func (Event_Type_Future) Struct ¶
func (f Event_Type_Future) Struct() (Event_Type, error)
type Event_Type_List ¶
type Event_Type_List = capnp.StructList[Event_Type]
Event_Type_List is a list of Event_Type.
func NewEvent_Type_List ¶
func NewEvent_Type_List(s *capnp.Segment, sz int32) (Event_Type_List, error)
NewEvent_Type creates a new list of Event_Type.
type Event_Type_Which ¶
type Event_Type_Which uint16
const ( Event_Type_Which_external Event_Type_Which = 0 Event_Type_Which_internal Event_Type_Which = 1 )
func (Event_Type_Which) String ¶
func (w Event_Type_Which) String() string
type Event_Which ¶
type Event_Which uint16
const ( Event_Which_at Event_Which = 0 Event_Which_between Event_Which = 1 Event_Which_after Event_Which = 2 )
func (Event_Which) String ¶
func (w Event_Which) String() string
type Event_after ¶
type Event_after Event
func (Event_after) Days ¶
func (s Event_after) Days() uint16
func (Event_after) Event ¶
func (s Event_after) Event() (Event_Type, error)
func (Event_after) HasEvent ¶
func (s Event_after) HasEvent() bool
func (Event_after) IsValid ¶
func (s Event_after) IsValid() bool
func (Event_after) Message ¶
func (s Event_after) Message() *capnp.Message
func (Event_after) NewEvent ¶
func (s Event_after) NewEvent() (Event_Type, error)
NewEvent sets the event field to a newly allocated Event_Type struct, preferring placement in s's segment.
func (Event_after) Segment ¶
func (s Event_after) Segment() *capnp.Segment
func (Event_after) SetDays ¶
func (s Event_after) SetDays(v uint16)
func (Event_after) SetEvent ¶
func (s Event_after) SetEvent(v Event_Type) error
type Event_after_Future ¶
Event_after_Future is a wrapper for a Event_after promised by a client call.
func (Event_after_Future) Event ¶
func (p Event_after_Future) Event() Event_Type_Future
func (Event_after_Future) Struct ¶
func (f Event_after_Future) Struct() (Event_after, error)
type Event_at ¶
type Event_at Event
type Event_at_Future ¶
Event_at_Future is a wrapper for a Event_at promised by a client call.
func (Event_at_Future) Date ¶
func (p Event_at_Future) Date() common_date.Date_Future
func (Event_at_Future) Struct ¶
func (f Event_at_Future) Struct() (Event_at, error)
type Event_between ¶
type Event_between Event
func (Event_between) Earliest ¶
func (s Event_between) Earliest() (common_date.Date, error)
func (Event_between) HasEarliest ¶
func (s Event_between) HasEarliest() bool
func (Event_between) HasLatest ¶
func (s Event_between) HasLatest() bool
func (Event_between) IsValid ¶
func (s Event_between) IsValid() bool
func (Event_between) Latest ¶
func (s Event_between) Latest() (common_date.Date, error)
func (Event_between) Message ¶
func (s Event_between) Message() *capnp.Message
func (Event_between) NewEarliest ¶
func (s Event_between) NewEarliest() (common_date.Date, error)
NewEarliest sets the earliest field to a newly allocated common_date.Date struct, preferring placement in s's segment.
func (Event_between) NewLatest ¶
func (s Event_between) NewLatest() (common_date.Date, error)
NewLatest sets the latest field to a newly allocated common_date.Date struct, preferring placement in s's segment.
func (Event_between) Segment ¶
func (s Event_between) Segment() *capnp.Segment
func (Event_between) SetEarliest ¶
func (s Event_between) SetEarliest(v common_date.Date) error
func (Event_between) SetLatest ¶
func (s Event_between) SetLatest(v common_date.Date) error
type Event_between_Future ¶
Event_between_Future is a wrapper for a Event_between promised by a client call.
func (Event_between_Future) Earliest ¶
func (p Event_between_Future) Earliest() common_date.Date_Future
func (Event_between_Future) Latest ¶
func (p Event_between_Future) Latest() common_date.Date_Future
func (Event_between_Future) Struct ¶
func (f Event_between_Future) Struct() (Event_between, error)
type Fertilizer ¶
func Fertilizer_ServerToClient ¶
func Fertilizer_ServerToClient(s Fertilizer_Server) Fertilizer
Fertilizer_ServerToClient creates a new Client from an implementation of Fertilizer_Server. The caller is responsible for calling Release on the returned Client.
func (Fertilizer) AddRef ¶
func (c Fertilizer) AddRef() Fertilizer
AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.
func (Fertilizer) DecodeFromPtr ¶
func (Fertilizer) DecodeFromPtr(p capnp.Ptr) Fertilizer
func (Fertilizer) EncodeAsPtr ¶
func (c Fertilizer) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Fertilizer) GetFlowLimiter ¶
func (c Fertilizer) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Fertilizer) Info ¶
func (c Fertilizer) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (Fertilizer) IsSame ¶
func (c Fertilizer) IsSame(other Fertilizer) bool
IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.
func (Fertilizer) IsValid ¶
func (c Fertilizer) IsValid() bool
IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.
func (Fertilizer) Nutrients ¶
func (c Fertilizer) Nutrients(ctx context.Context, params func(Fertilizer_nutrients_Params) error) (Fertilizer_nutrients_Results_Future, capnp.ReleaseFunc)
func (Fertilizer) Parameters ¶
func (c Fertilizer) Parameters(ctx context.Context, params func(Fertilizer_parameters_Params) error) (Fertilizer_parameters_Results_Future, capnp.ReleaseFunc)
func (Fertilizer) Release ¶
func (c Fertilizer) Release()
Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.
Release will panic if c has already been released, but not if c is nil or resolved to null.
func (Fertilizer) Resolve ¶
func (c Fertilizer) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (Fertilizer) Save ¶
func (c Fertilizer) Save(ctx context.Context, params func(persistence.Persistent_SaveParams) error) (persistence.Persistent_SaveResults_Future, capnp.ReleaseFunc)
func (Fertilizer) SetFlowLimiter ¶
func (c Fertilizer) SetFlowLimiter(lim fc.FlowLimiter)
Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.
func (Fertilizer) String ¶
func (c Fertilizer) String() string
String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.
func (Fertilizer) WaitStreaming ¶
func (c Fertilizer) WaitStreaming() error
type FertilizerService ¶
func FertilizerService_ServerToClient ¶
func FertilizerService_ServerToClient(s FertilizerService_Server) FertilizerService
FertilizerService_ServerToClient creates a new Client from an implementation of FertilizerService_Server. The caller is responsible for calling Release on the returned Client.
func (FertilizerService) AddRef ¶
func (c FertilizerService) AddRef() FertilizerService
AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.
func (FertilizerService) CategoryInfo ¶
func (c FertilizerService) CategoryInfo(ctx context.Context, params func(registry.Registry_categoryInfo_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (FertilizerService) DecodeFromPtr ¶
func (FertilizerService) DecodeFromPtr(p capnp.Ptr) FertilizerService
func (FertilizerService) EncodeAsPtr ¶
func (c FertilizerService) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (FertilizerService) Entries ¶
func (c FertilizerService) Entries(ctx context.Context, params func(registry.Registry_entries_Params) error) (registry.Registry_entries_Results_Future, capnp.ReleaseFunc)
func (FertilizerService) GetFlowLimiter ¶
func (c FertilizerService) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (FertilizerService) Info ¶
func (c FertilizerService) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (FertilizerService) IsSame ¶
func (c FertilizerService) IsSame(other FertilizerService) bool
IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.
func (FertilizerService) IsValid ¶
func (c FertilizerService) IsValid() bool
IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.
func (FertilizerService) Release ¶
func (c FertilizerService) Release()
Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.
Release will panic if c has already been released, but not if c is nil or resolved to null.
func (FertilizerService) Resolve ¶
func (c FertilizerService) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (FertilizerService) SetFlowLimiter ¶
func (c FertilizerService) SetFlowLimiter(lim fc.FlowLimiter)
Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.
func (FertilizerService) String ¶
func (c FertilizerService) String() string
String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.
func (FertilizerService) SupportedCategories ¶
func (c FertilizerService) SupportedCategories(ctx context.Context, params func(registry.Registry_supportedCategories_Params) error) (registry.Registry_supportedCategories_Results_Future, capnp.ReleaseFunc)
func (FertilizerService) WaitStreaming ¶
func (c FertilizerService) WaitStreaming() error
type FertilizerService_List ¶
type FertilizerService_List = capnp.CapList[FertilizerService]
FertilizerService_List is a list of FertilizerService.
func NewFertilizerService_List ¶
func NewFertilizerService_List(s *capnp.Segment, sz int32) (FertilizerService_List, error)
NewFertilizerService creates a new list of FertilizerService.
type FertilizerService_Server ¶
type FertilizerService_Server interface { SupportedCategories(context.Context, registry.Registry_supportedCategories) error CategoryInfo(context.Context, registry.Registry_categoryInfo) error Entries(context.Context, registry.Registry_entries) error Info(context.Context, common.Identifiable_info) error }
A FertilizerService_Server is a FertilizerService with a local implementation.
type Fertilizer_List ¶
type Fertilizer_List = capnp.CapList[Fertilizer]
Fertilizer_List is a list of Fertilizer.
func NewFertilizer_List ¶
func NewFertilizer_List(s *capnp.Segment, sz int32) (Fertilizer_List, error)
NewFertilizer creates a new list of Fertilizer.
type Fertilizer_Server ¶
type Fertilizer_Server interface { Nutrients(context.Context, Fertilizer_nutrients) error Parameters(context.Context, Fertilizer_parameters) error Info(context.Context, common.Identifiable_info) error Save(context.Context, persistence.Persistent_save) error }
A Fertilizer_Server is a Fertilizer with a local implementation.
type Fertilizer_nutrients ¶
Fertilizer_nutrients holds the state for a server call to Fertilizer.nutrients. See server.Call for documentation.
func (Fertilizer_nutrients) AllocResults ¶
func (c Fertilizer_nutrients) AllocResults() (Fertilizer_nutrients_Results, error)
AllocResults allocates the results struct.
func (Fertilizer_nutrients) Args ¶
func (c Fertilizer_nutrients) Args() Fertilizer_nutrients_Params
Args returns the call's arguments.
type Fertilizer_nutrients_Params ¶
func NewFertilizer_nutrients_Params ¶
func NewFertilizer_nutrients_Params(s *capnp.Segment) (Fertilizer_nutrients_Params, error)
func NewRootFertilizer_nutrients_Params ¶
func NewRootFertilizer_nutrients_Params(s *capnp.Segment) (Fertilizer_nutrients_Params, error)
func ReadRootFertilizer_nutrients_Params ¶
func ReadRootFertilizer_nutrients_Params(msg *capnp.Message) (Fertilizer_nutrients_Params, error)
func (Fertilizer_nutrients_Params) DecodeFromPtr ¶
func (Fertilizer_nutrients_Params) DecodeFromPtr(p capnp.Ptr) Fertilizer_nutrients_Params
func (Fertilizer_nutrients_Params) EncodeAsPtr ¶
func (s Fertilizer_nutrients_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Fertilizer_nutrients_Params) IsValid ¶
func (s Fertilizer_nutrients_Params) IsValid() bool
func (Fertilizer_nutrients_Params) Message ¶
func (s Fertilizer_nutrients_Params) Message() *capnp.Message
func (Fertilizer_nutrients_Params) Segment ¶
func (s Fertilizer_nutrients_Params) Segment() *capnp.Segment
func (Fertilizer_nutrients_Params) String ¶
func (s Fertilizer_nutrients_Params) String() string
func (Fertilizer_nutrients_Params) ToPtr ¶
func (s Fertilizer_nutrients_Params) ToPtr() capnp.Ptr
type Fertilizer_nutrients_Params_Future ¶
Fertilizer_nutrients_Params_Future is a wrapper for a Fertilizer_nutrients_Params promised by a client call.
func (Fertilizer_nutrients_Params_Future) Struct ¶
func (f Fertilizer_nutrients_Params_Future) Struct() (Fertilizer_nutrients_Params, error)
type Fertilizer_nutrients_Params_List ¶
type Fertilizer_nutrients_Params_List = capnp.StructList[Fertilizer_nutrients_Params]
Fertilizer_nutrients_Params_List is a list of Fertilizer_nutrients_Params.
func NewFertilizer_nutrients_Params_List ¶
func NewFertilizer_nutrients_Params_List(s *capnp.Segment, sz int32) (Fertilizer_nutrients_Params_List, error)
NewFertilizer_nutrients_Params creates a new list of Fertilizer_nutrients_Params.
type Fertilizer_nutrients_Results ¶
func NewFertilizer_nutrients_Results ¶
func NewFertilizer_nutrients_Results(s *capnp.Segment) (Fertilizer_nutrients_Results, error)
func NewRootFertilizer_nutrients_Results ¶
func NewRootFertilizer_nutrients_Results(s *capnp.Segment) (Fertilizer_nutrients_Results, error)
func ReadRootFertilizer_nutrients_Results ¶
func ReadRootFertilizer_nutrients_Results(msg *capnp.Message) (Fertilizer_nutrients_Results, error)
func (Fertilizer_nutrients_Results) DecodeFromPtr ¶
func (Fertilizer_nutrients_Results) DecodeFromPtr(p capnp.Ptr) Fertilizer_nutrients_Results
func (Fertilizer_nutrients_Results) EncodeAsPtr ¶
func (s Fertilizer_nutrients_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Fertilizer_nutrients_Results) HasNutrients ¶
func (s Fertilizer_nutrients_Results) HasNutrients() bool
func (Fertilizer_nutrients_Results) IsValid ¶
func (s Fertilizer_nutrients_Results) IsValid() bool
func (Fertilizer_nutrients_Results) Message ¶
func (s Fertilizer_nutrients_Results) Message() *capnp.Message
func (Fertilizer_nutrients_Results) NewNutrients ¶
func (s Fertilizer_nutrients_Results) NewNutrients(n int32) (Nutrient_List, error)
NewNutrients sets the nutrients field to a newly allocated Nutrient_List, preferring placement in s's segment.
func (Fertilizer_nutrients_Results) Nutrients ¶
func (s Fertilizer_nutrients_Results) Nutrients() (Nutrient_List, error)
func (Fertilizer_nutrients_Results) Segment ¶
func (s Fertilizer_nutrients_Results) Segment() *capnp.Segment
func (Fertilizer_nutrients_Results) SetNutrients ¶
func (s Fertilizer_nutrients_Results) SetNutrients(v Nutrient_List) error
func (Fertilizer_nutrients_Results) String ¶
func (s Fertilizer_nutrients_Results) String() string
func (Fertilizer_nutrients_Results) ToPtr ¶
func (s Fertilizer_nutrients_Results) ToPtr() capnp.Ptr
type Fertilizer_nutrients_Results_Future ¶
Fertilizer_nutrients_Results_Future is a wrapper for a Fertilizer_nutrients_Results promised by a client call.
func (Fertilizer_nutrients_Results_Future) Struct ¶
func (f Fertilizer_nutrients_Results_Future) Struct() (Fertilizer_nutrients_Results, error)
type Fertilizer_nutrients_Results_List ¶
type Fertilizer_nutrients_Results_List = capnp.StructList[Fertilizer_nutrients_Results]
Fertilizer_nutrients_Results_List is a list of Fertilizer_nutrients_Results.
func NewFertilizer_nutrients_Results_List ¶
func NewFertilizer_nutrients_Results_List(s *capnp.Segment, sz int32) (Fertilizer_nutrients_Results_List, error)
NewFertilizer_nutrients_Results creates a new list of Fertilizer_nutrients_Results.
type Fertilizer_parameters ¶
Fertilizer_parameters holds the state for a server call to Fertilizer.parameters. See server.Call for documentation.
func (Fertilizer_parameters) AllocResults ¶
func (c Fertilizer_parameters) AllocResults() (Fertilizer_parameters_Results, error)
AllocResults allocates the results struct.
func (Fertilizer_parameters) Args ¶
func (c Fertilizer_parameters) Args() Fertilizer_parameters_Params
Args returns the call's arguments.
type Fertilizer_parameters_Params ¶
func NewFertilizer_parameters_Params ¶
func NewFertilizer_parameters_Params(s *capnp.Segment) (Fertilizer_parameters_Params, error)
func NewRootFertilizer_parameters_Params ¶
func NewRootFertilizer_parameters_Params(s *capnp.Segment) (Fertilizer_parameters_Params, error)
func ReadRootFertilizer_parameters_Params ¶
func ReadRootFertilizer_parameters_Params(msg *capnp.Message) (Fertilizer_parameters_Params, error)
func (Fertilizer_parameters_Params) DecodeFromPtr ¶
func (Fertilizer_parameters_Params) DecodeFromPtr(p capnp.Ptr) Fertilizer_parameters_Params
func (Fertilizer_parameters_Params) EncodeAsPtr ¶
func (s Fertilizer_parameters_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Fertilizer_parameters_Params) IsValid ¶
func (s Fertilizer_parameters_Params) IsValid() bool
func (Fertilizer_parameters_Params) Message ¶
func (s Fertilizer_parameters_Params) Message() *capnp.Message
func (Fertilizer_parameters_Params) Segment ¶
func (s Fertilizer_parameters_Params) Segment() *capnp.Segment
func (Fertilizer_parameters_Params) String ¶
func (s Fertilizer_parameters_Params) String() string
func (Fertilizer_parameters_Params) ToPtr ¶
func (s Fertilizer_parameters_Params) ToPtr() capnp.Ptr
type Fertilizer_parameters_Params_Future ¶
Fertilizer_parameters_Params_Future is a wrapper for a Fertilizer_parameters_Params promised by a client call.
func (Fertilizer_parameters_Params_Future) Struct ¶
func (f Fertilizer_parameters_Params_Future) Struct() (Fertilizer_parameters_Params, error)
type Fertilizer_parameters_Params_List ¶
type Fertilizer_parameters_Params_List = capnp.StructList[Fertilizer_parameters_Params]
Fertilizer_parameters_Params_List is a list of Fertilizer_parameters_Params.
func NewFertilizer_parameters_Params_List ¶
func NewFertilizer_parameters_Params_List(s *capnp.Segment, sz int32) (Fertilizer_parameters_Params_List, error)
NewFertilizer_parameters_Params creates a new list of Fertilizer_parameters_Params.
type Fertilizer_parameters_Results ¶
func NewFertilizer_parameters_Results ¶
func NewFertilizer_parameters_Results(s *capnp.Segment) (Fertilizer_parameters_Results, error)
func NewRootFertilizer_parameters_Results ¶
func NewRootFertilizer_parameters_Results(s *capnp.Segment) (Fertilizer_parameters_Results, error)
func ReadRootFertilizer_parameters_Results ¶
func ReadRootFertilizer_parameters_Results(msg *capnp.Message) (Fertilizer_parameters_Results, error)
func (Fertilizer_parameters_Results) DecodeFromPtr ¶
func (Fertilizer_parameters_Results) DecodeFromPtr(p capnp.Ptr) Fertilizer_parameters_Results
func (Fertilizer_parameters_Results) EncodeAsPtr ¶
func (s Fertilizer_parameters_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Fertilizer_parameters_Results) HasParams ¶
func (s Fertilizer_parameters_Results) HasParams() bool
func (Fertilizer_parameters_Results) IsValid ¶
func (s Fertilizer_parameters_Results) IsValid() bool
func (Fertilizer_parameters_Results) Message ¶
func (s Fertilizer_parameters_Results) Message() *capnp.Message
func (Fertilizer_parameters_Results) Params ¶
func (s Fertilizer_parameters_Results) Params() (capnp.Ptr, error)
func (Fertilizer_parameters_Results) Segment ¶
func (s Fertilizer_parameters_Results) Segment() *capnp.Segment
func (Fertilizer_parameters_Results) SetParams ¶
func (s Fertilizer_parameters_Results) SetParams(v capnp.Ptr) error
func (Fertilizer_parameters_Results) String ¶
func (s Fertilizer_parameters_Results) String() string
func (Fertilizer_parameters_Results) ToPtr ¶
func (s Fertilizer_parameters_Results) ToPtr() capnp.Ptr
type Fertilizer_parameters_Results_Future ¶
Fertilizer_parameters_Results_Future is a wrapper for a Fertilizer_parameters_Results promised by a client call.
func (Fertilizer_parameters_Results_Future) Params ¶
func (p Fertilizer_parameters_Results_Future) Params() *capnp.Future
func (Fertilizer_parameters_Results_Future) Struct ¶
func (f Fertilizer_parameters_Results_Future) Struct() (Fertilizer_parameters_Results, error)
type Fertilizer_parameters_Results_List ¶
type Fertilizer_parameters_Results_List = capnp.StructList[Fertilizer_parameters_Results]
Fertilizer_parameters_Results_List is a list of Fertilizer_parameters_Results.
func NewFertilizer_parameters_Results_List ¶
func NewFertilizer_parameters_Results_List(s *capnp.Segment, sz int32) (Fertilizer_parameters_Results_List, error)
NewFertilizer_parameters_Results creates a new list of Fertilizer_parameters_Results.
type Nutrient ¶
func (Nutrient) Nutrient ¶
func (s Nutrient) Nutrient() Nutrient_Name
func (Nutrient) SetNutrient ¶
func (s Nutrient) SetNutrient(v Nutrient_Name)
func (Nutrient) SetUnit ¶
func (s Nutrient) SetUnit(v Nutrient_Unit)
func (Nutrient) Unit ¶
func (s Nutrient) Unit() Nutrient_Unit
type Nutrient_Future ¶
Nutrient_Future is a wrapper for a Nutrient promised by a client call.
func (Nutrient_Future) Struct ¶
func (f Nutrient_Future) Struct() (Nutrient, error)
type Nutrient_List ¶
type Nutrient_List = capnp.StructList[Nutrient]
Nutrient_List is a list of Nutrient.
func NewNutrient_List ¶
func NewNutrient_List(s *capnp.Segment, sz int32) (Nutrient_List, error)
NewNutrient creates a new list of Nutrient.
type Nutrient_Name ¶
type Nutrient_Name uint16
const ( Nutrient_Name_urea Nutrient_Name = 0 Nutrient_Name_ammonia Nutrient_Name = 1 Nutrient_Name_nitrate Nutrient_Name = 2 Nutrient_Name_phosphorus Nutrient_Name = 3 Nutrient_Name_potassium Nutrient_Name = 4 Nutrient_Name_sulfate Nutrient_Name = 5 Nutrient_Name_organicC Nutrient_Name = 6 Nutrient_Name_organicN Nutrient_Name = 7 Nutrient_Name_organicP Nutrient_Name = 8 Nutrient_Name_organicNFast Nutrient_Name = 9 Nutrient_Name_organicNSlow Nutrient_Name = 10 )
Values of Nutrient_Name.
func Nutrient_NameFromString ¶
func Nutrient_NameFromString(c string) Nutrient_Name
Nutrient_NameFromString returns the enum value with a name, or the zero value if there's no such value.
func (Nutrient_Name) String ¶
func (c Nutrient_Name) String() string
String returns the enum's constant name.
type Nutrient_Name_List ¶
type Nutrient_Name_List = capnp.EnumList[Nutrient_Name]
func NewNutrient_Name_List ¶
func NewNutrient_Name_List(s *capnp.Segment, sz int32) (Nutrient_Name_List, error)
type Nutrient_Unit ¶
type Nutrient_Unit uint16
const ( Nutrient_Unit_none Nutrient_Unit = 0 Nutrient_Unit_fraction Nutrient_Unit = 1 Nutrient_Unit_percent Nutrient_Unit = 2 )
Values of Nutrient_Unit.
func Nutrient_UnitFromString ¶
func Nutrient_UnitFromString(c string) Nutrient_Unit
Nutrient_UnitFromString returns the enum value with a name, or the zero value if there's no such value.
func (Nutrient_Unit) String ¶
func (c Nutrient_Unit) String() string
String returns the enum's constant name.
type Nutrient_Unit_List ¶
type Nutrient_Unit_List = capnp.EnumList[Nutrient_Unit]
func NewNutrient_Unit_List ¶
func NewNutrient_Unit_List(s *capnp.Segment, sz int32) (Nutrient_Unit_List, error)
type Params_AutomaticHarvest ¶
func NewParams_AutomaticHarvest ¶
func NewParams_AutomaticHarvest(s *capnp.Segment) (Params_AutomaticHarvest, error)
func NewRootParams_AutomaticHarvest ¶
func NewRootParams_AutomaticHarvest(s *capnp.Segment) (Params_AutomaticHarvest, error)
func ReadRootParams_AutomaticHarvest ¶
func ReadRootParams_AutomaticHarvest(msg *capnp.Message) (Params_AutomaticHarvest, error)
func (Params_AutomaticHarvest) DecodeFromPtr ¶
func (Params_AutomaticHarvest) DecodeFromPtr(p capnp.Ptr) Params_AutomaticHarvest
func (Params_AutomaticHarvest) EncodeAsPtr ¶
func (s Params_AutomaticHarvest) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Params_AutomaticHarvest) Harvest ¶
func (s Params_AutomaticHarvest) Harvest() (Params_Harvest, error)
func (Params_AutomaticHarvest) HarvestTime ¶
func (s Params_AutomaticHarvest) HarvestTime() Event_PhenoStage
func (Params_AutomaticHarvest) HasHarvest ¶
func (s Params_AutomaticHarvest) HasHarvest() bool
func (Params_AutomaticHarvest) IsValid ¶
func (s Params_AutomaticHarvest) IsValid() bool
func (Params_AutomaticHarvest) Max3dayPrecipSum ¶
func (s Params_AutomaticHarvest) Max3dayPrecipSum() float64
func (Params_AutomaticHarvest) MaxCurrentDayPrecipSum ¶
func (s Params_AutomaticHarvest) MaxCurrentDayPrecipSum() float64
func (Params_AutomaticHarvest) MaxPercentASW ¶
func (s Params_AutomaticHarvest) MaxPercentASW() float64
func (Params_AutomaticHarvest) Message ¶
func (s Params_AutomaticHarvest) Message() *capnp.Message
func (Params_AutomaticHarvest) MinPercentASW ¶
func (s Params_AutomaticHarvest) MinPercentASW() float64
func (Params_AutomaticHarvest) NewHarvest ¶
func (s Params_AutomaticHarvest) NewHarvest() (Params_Harvest, error)
NewHarvest sets the harvest field to a newly allocated Params_Harvest struct, preferring placement in s's segment.
func (Params_AutomaticHarvest) Segment ¶
func (s Params_AutomaticHarvest) Segment() *capnp.Segment
func (Params_AutomaticHarvest) SetHarvest ¶
func (s Params_AutomaticHarvest) SetHarvest(v Params_Harvest) error
func (Params_AutomaticHarvest) SetHarvestTime ¶
func (s Params_AutomaticHarvest) SetHarvestTime(v Event_PhenoStage)
func (Params_AutomaticHarvest) SetMax3dayPrecipSum ¶
func (s Params_AutomaticHarvest) SetMax3dayPrecipSum(v float64)
func (Params_AutomaticHarvest) SetMaxCurrentDayPrecipSum ¶
func (s Params_AutomaticHarvest) SetMaxCurrentDayPrecipSum(v float64)
func (Params_AutomaticHarvest) SetMaxPercentASW ¶
func (s Params_AutomaticHarvest) SetMaxPercentASW(v float64)
func (Params_AutomaticHarvest) SetMinPercentASW ¶
func (s Params_AutomaticHarvest) SetMinPercentASW(v float64)
func (Params_AutomaticHarvest) String ¶
func (s Params_AutomaticHarvest) String() string
func (Params_AutomaticHarvest) ToPtr ¶
func (s Params_AutomaticHarvest) ToPtr() capnp.Ptr
type Params_AutomaticHarvest_Future ¶
Params_AutomaticHarvest_Future is a wrapper for a Params_AutomaticHarvest promised by a client call.
func (Params_AutomaticHarvest_Future) Harvest ¶
func (p Params_AutomaticHarvest_Future) Harvest() Params_Harvest_Future
func (Params_AutomaticHarvest_Future) Struct ¶
func (f Params_AutomaticHarvest_Future) Struct() (Params_AutomaticHarvest, error)
type Params_AutomaticHarvest_List ¶
type Params_AutomaticHarvest_List = capnp.StructList[Params_AutomaticHarvest]
Params_AutomaticHarvest_List is a list of Params_AutomaticHarvest.
func NewParams_AutomaticHarvest_List ¶
func NewParams_AutomaticHarvest_List(s *capnp.Segment, sz int32) (Params_AutomaticHarvest_List, error)
NewParams_AutomaticHarvest creates a new list of Params_AutomaticHarvest.
type Params_AutomaticSowing ¶
func NewParams_AutomaticSowing ¶
func NewParams_AutomaticSowing(s *capnp.Segment) (Params_AutomaticSowing, error)
func NewRootParams_AutomaticSowing ¶
func NewRootParams_AutomaticSowing(s *capnp.Segment) (Params_AutomaticSowing, error)
func ReadRootParams_AutomaticSowing ¶
func ReadRootParams_AutomaticSowing(msg *capnp.Message) (Params_AutomaticSowing, error)
func (Params_AutomaticSowing) AvgSoilTemp ¶
func (s Params_AutomaticSowing) AvgSoilTemp() (Params_AutomaticSowing_AvgSoilTemp, error)
func (Params_AutomaticSowing) BaseTemp ¶
func (s Params_AutomaticSowing) BaseTemp() float64
func (Params_AutomaticSowing) DaysInTempWindow ¶
func (s Params_AutomaticSowing) DaysInTempWindow() uint16
func (Params_AutomaticSowing) DecodeFromPtr ¶
func (Params_AutomaticSowing) DecodeFromPtr(p capnp.Ptr) Params_AutomaticSowing
func (Params_AutomaticSowing) EncodeAsPtr ¶
func (s Params_AutomaticSowing) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Params_AutomaticSowing) HasAvgSoilTemp ¶
func (s Params_AutomaticSowing) HasAvgSoilTemp() bool
func (Params_AutomaticSowing) HasSowing ¶
func (s Params_AutomaticSowing) HasSowing() bool
func (Params_AutomaticSowing) IsValid ¶
func (s Params_AutomaticSowing) IsValid() bool
func (Params_AutomaticSowing) Max3dayPrecipSum ¶
func (s Params_AutomaticSowing) Max3dayPrecipSum() float64
func (Params_AutomaticSowing) MaxCurrentDayPrecipSum ¶
func (s Params_AutomaticSowing) MaxCurrentDayPrecipSum() float64
func (Params_AutomaticSowing) MaxPercentASW ¶
func (s Params_AutomaticSowing) MaxPercentASW() float64
func (Params_AutomaticSowing) Message ¶
func (s Params_AutomaticSowing) Message() *capnp.Message
func (Params_AutomaticSowing) MinPercentASW ¶
func (s Params_AutomaticSowing) MinPercentASW() float64
func (Params_AutomaticSowing) MinTempThreshold ¶
func (s Params_AutomaticSowing) MinTempThreshold() float64
func (Params_AutomaticSowing) NewAvgSoilTemp ¶
func (s Params_AutomaticSowing) NewAvgSoilTemp() (Params_AutomaticSowing_AvgSoilTemp, error)
NewAvgSoilTemp sets the avgSoilTemp field to a newly allocated Params_AutomaticSowing_AvgSoilTemp struct, preferring placement in s's segment.
func (Params_AutomaticSowing) NewSowing ¶
func (s Params_AutomaticSowing) NewSowing() (Params_Sowing, error)
NewSowing sets the sowing field to a newly allocated Params_Sowing struct, preferring placement in s's segment.
func (Params_AutomaticSowing) Segment ¶
func (s Params_AutomaticSowing) Segment() *capnp.Segment
func (Params_AutomaticSowing) SetAvgSoilTemp ¶
func (s Params_AutomaticSowing) SetAvgSoilTemp(v Params_AutomaticSowing_AvgSoilTemp) error
func (Params_AutomaticSowing) SetBaseTemp ¶
func (s Params_AutomaticSowing) SetBaseTemp(v float64)
func (Params_AutomaticSowing) SetDaysInTempWindow ¶
func (s Params_AutomaticSowing) SetDaysInTempWindow(v uint16)
func (Params_AutomaticSowing) SetMax3dayPrecipSum ¶
func (s Params_AutomaticSowing) SetMax3dayPrecipSum(v float64)
func (Params_AutomaticSowing) SetMaxCurrentDayPrecipSum ¶
func (s Params_AutomaticSowing) SetMaxCurrentDayPrecipSum(v float64)
func (Params_AutomaticSowing) SetMaxPercentASW ¶
func (s Params_AutomaticSowing) SetMaxPercentASW(v float64)
func (Params_AutomaticSowing) SetMinPercentASW ¶
func (s Params_AutomaticSowing) SetMinPercentASW(v float64)
func (Params_AutomaticSowing) SetMinTempThreshold ¶
func (s Params_AutomaticSowing) SetMinTempThreshold(v float64)
func (Params_AutomaticSowing) SetSowing ¶
func (s Params_AutomaticSowing) SetSowing(v Params_Sowing) error
func (Params_AutomaticSowing) SetTempSumAboveBaseTemp ¶
func (s Params_AutomaticSowing) SetTempSumAboveBaseTemp(v float64)
func (Params_AutomaticSowing) Sowing ¶
func (s Params_AutomaticSowing) Sowing() (Params_Sowing, error)
func (Params_AutomaticSowing) String ¶
func (s Params_AutomaticSowing) String() string
func (Params_AutomaticSowing) TempSumAboveBaseTemp ¶
func (s Params_AutomaticSowing) TempSumAboveBaseTemp() float64
func (Params_AutomaticSowing) ToPtr ¶
func (s Params_AutomaticSowing) ToPtr() capnp.Ptr
type Params_AutomaticSowing_AvgSoilTemp ¶
func NewParams_AutomaticSowing_AvgSoilTemp ¶
func NewParams_AutomaticSowing_AvgSoilTemp(s *capnp.Segment) (Params_AutomaticSowing_AvgSoilTemp, error)
func NewRootParams_AutomaticSowing_AvgSoilTemp ¶
func NewRootParams_AutomaticSowing_AvgSoilTemp(s *capnp.Segment) (Params_AutomaticSowing_AvgSoilTemp, error)
func ReadRootParams_AutomaticSowing_AvgSoilTemp ¶
func ReadRootParams_AutomaticSowing_AvgSoilTemp(msg *capnp.Message) (Params_AutomaticSowing_AvgSoilTemp, error)
func (Params_AutomaticSowing_AvgSoilTemp) DaysInSoilTempWindow ¶
func (s Params_AutomaticSowing_AvgSoilTemp) DaysInSoilTempWindow() uint16
func (Params_AutomaticSowing_AvgSoilTemp) DecodeFromPtr ¶
func (Params_AutomaticSowing_AvgSoilTemp) DecodeFromPtr(p capnp.Ptr) Params_AutomaticSowing_AvgSoilTemp
func (Params_AutomaticSowing_AvgSoilTemp) EncodeAsPtr ¶
func (s Params_AutomaticSowing_AvgSoilTemp) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Params_AutomaticSowing_AvgSoilTemp) IsValid ¶
func (s Params_AutomaticSowing_AvgSoilTemp) IsValid() bool
func (Params_AutomaticSowing_AvgSoilTemp) Message ¶
func (s Params_AutomaticSowing_AvgSoilTemp) Message() *capnp.Message
func (Params_AutomaticSowing_AvgSoilTemp) Segment ¶
func (s Params_AutomaticSowing_AvgSoilTemp) Segment() *capnp.Segment
func (Params_AutomaticSowing_AvgSoilTemp) SetDaysInSoilTempWindow ¶
func (s Params_AutomaticSowing_AvgSoilTemp) SetDaysInSoilTempWindow(v uint16)
func (Params_AutomaticSowing_AvgSoilTemp) SetSoilDepthForAveraging ¶
func (s Params_AutomaticSowing_AvgSoilTemp) SetSoilDepthForAveraging(v float64)
func (Params_AutomaticSowing_AvgSoilTemp) SetSowingIfAboveAvgSoilTemp ¶
func (s Params_AutomaticSowing_AvgSoilTemp) SetSowingIfAboveAvgSoilTemp(v float64)
func (Params_AutomaticSowing_AvgSoilTemp) SoilDepthForAveraging ¶
func (s Params_AutomaticSowing_AvgSoilTemp) SoilDepthForAveraging() float64
func (Params_AutomaticSowing_AvgSoilTemp) SowingIfAboveAvgSoilTemp ¶
func (s Params_AutomaticSowing_AvgSoilTemp) SowingIfAboveAvgSoilTemp() float64
func (Params_AutomaticSowing_AvgSoilTemp) String ¶
func (s Params_AutomaticSowing_AvgSoilTemp) String() string
func (Params_AutomaticSowing_AvgSoilTemp) ToPtr ¶
func (s Params_AutomaticSowing_AvgSoilTemp) ToPtr() capnp.Ptr
type Params_AutomaticSowing_AvgSoilTemp_Future ¶
Params_AutomaticSowing_AvgSoilTemp_Future is a wrapper for a Params_AutomaticSowing_AvgSoilTemp promised by a client call.
func (Params_AutomaticSowing_AvgSoilTemp_Future) Struct ¶
func (f Params_AutomaticSowing_AvgSoilTemp_Future) Struct() (Params_AutomaticSowing_AvgSoilTemp, error)
type Params_AutomaticSowing_AvgSoilTemp_List ¶
type Params_AutomaticSowing_AvgSoilTemp_List = capnp.StructList[Params_AutomaticSowing_AvgSoilTemp]
Params_AutomaticSowing_AvgSoilTemp_List is a list of Params_AutomaticSowing_AvgSoilTemp.
func NewParams_AutomaticSowing_AvgSoilTemp_List ¶
func NewParams_AutomaticSowing_AvgSoilTemp_List(s *capnp.Segment, sz int32) (Params_AutomaticSowing_AvgSoilTemp_List, error)
NewParams_AutomaticSowing_AvgSoilTemp creates a new list of Params_AutomaticSowing_AvgSoilTemp.
type Params_AutomaticSowing_Future ¶
Params_AutomaticSowing_Future is a wrapper for a Params_AutomaticSowing promised by a client call.
func (Params_AutomaticSowing_Future) AvgSoilTemp ¶
func (p Params_AutomaticSowing_Future) AvgSoilTemp() Params_AutomaticSowing_AvgSoilTemp_Future
func (Params_AutomaticSowing_Future) Sowing ¶
func (p Params_AutomaticSowing_Future) Sowing() Params_Sowing_Future
func (Params_AutomaticSowing_Future) Struct ¶
func (f Params_AutomaticSowing_Future) Struct() (Params_AutomaticSowing, error)
type Params_AutomaticSowing_List ¶
type Params_AutomaticSowing_List = capnp.StructList[Params_AutomaticSowing]
Params_AutomaticSowing_List is a list of Params_AutomaticSowing.
func NewParams_AutomaticSowing_List ¶
func NewParams_AutomaticSowing_List(s *capnp.Segment, sz int32) (Params_AutomaticSowing_List, error)
NewParams_AutomaticSowing creates a new list of Params_AutomaticSowing.
type Params_Cutting ¶
func NewParams_Cutting ¶
func NewParams_Cutting(s *capnp.Segment) (Params_Cutting, error)
func NewRootParams_Cutting ¶
func NewRootParams_Cutting(s *capnp.Segment) (Params_Cutting, error)
func ReadRootParams_Cutting ¶
func ReadRootParams_Cutting(msg *capnp.Message) (Params_Cutting, error)
func (Params_Cutting) CutMaxAssimilationRatePercentage ¶
func (s Params_Cutting) CutMaxAssimilationRatePercentage() float64
func (Params_Cutting) CuttingSpec ¶
func (s Params_Cutting) CuttingSpec() (Params_Cutting_Spec_List, error)
func (Params_Cutting) DecodeFromPtr ¶
func (Params_Cutting) DecodeFromPtr(p capnp.Ptr) Params_Cutting
func (Params_Cutting) EncodeAsPtr ¶
func (s Params_Cutting) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Params_Cutting) HasCuttingSpec ¶
func (s Params_Cutting) HasCuttingSpec() bool
func (Params_Cutting) IsValid ¶
func (s Params_Cutting) IsValid() bool
func (Params_Cutting) Message ¶
func (s Params_Cutting) Message() *capnp.Message
func (Params_Cutting) NewCuttingSpec ¶
func (s Params_Cutting) NewCuttingSpec(n int32) (Params_Cutting_Spec_List, error)
NewCuttingSpec sets the cuttingSpec field to a newly allocated Params_Cutting_Spec_List, preferring placement in s's segment.
func (Params_Cutting) Segment ¶
func (s Params_Cutting) Segment() *capnp.Segment
func (Params_Cutting) SetCutMaxAssimilationRatePercentage ¶
func (s Params_Cutting) SetCutMaxAssimilationRatePercentage(v float64)
func (Params_Cutting) SetCuttingSpec ¶
func (s Params_Cutting) SetCuttingSpec(v Params_Cutting_Spec_List) error
func (Params_Cutting) String ¶
func (s Params_Cutting) String() string
func (Params_Cutting) ToPtr ¶
func (s Params_Cutting) ToPtr() capnp.Ptr
type Params_Cutting_CL ¶
type Params_Cutting_CL uint16
const ( Params_Cutting_CL_cut Params_Cutting_CL = 0 Params_Cutting_CL_left Params_Cutting_CL = 1 )
Values of Params_Cutting_CL.
func Params_Cutting_CLFromString ¶
func Params_Cutting_CLFromString(c string) Params_Cutting_CL
Params_Cutting_CLFromString returns the enum value with a name, or the zero value if there's no such value.
func (Params_Cutting_CL) String ¶
func (c Params_Cutting_CL) String() string
String returns the enum's constant name.
type Params_Cutting_CL_List ¶
type Params_Cutting_CL_List = capnp.EnumList[Params_Cutting_CL]
func NewParams_Cutting_CL_List ¶
func NewParams_Cutting_CL_List(s *capnp.Segment, sz int32) (Params_Cutting_CL_List, error)
type Params_Cutting_Future ¶
Params_Cutting_Future is a wrapper for a Params_Cutting promised by a client call.
func (Params_Cutting_Future) Struct ¶
func (f Params_Cutting_Future) Struct() (Params_Cutting, error)
type Params_Cutting_List ¶
type Params_Cutting_List = capnp.StructList[Params_Cutting]
Params_Cutting_List is a list of Params_Cutting.
func NewParams_Cutting_List ¶
func NewParams_Cutting_List(s *capnp.Segment, sz int32) (Params_Cutting_List, error)
NewParams_Cutting creates a new list of Params_Cutting.
type Params_Cutting_Spec ¶
func NewParams_Cutting_Spec ¶
func NewParams_Cutting_Spec(s *capnp.Segment) (Params_Cutting_Spec, error)
func NewRootParams_Cutting_Spec ¶
func NewRootParams_Cutting_Spec(s *capnp.Segment) (Params_Cutting_Spec, error)
func ReadRootParams_Cutting_Spec ¶
func ReadRootParams_Cutting_Spec(msg *capnp.Message) (Params_Cutting_Spec, error)
func (Params_Cutting_Spec) CutOrLeft ¶
func (s Params_Cutting_Spec) CutOrLeft() Params_Cutting_CL
func (Params_Cutting_Spec) DecodeFromPtr ¶
func (Params_Cutting_Spec) DecodeFromPtr(p capnp.Ptr) Params_Cutting_Spec
func (Params_Cutting_Spec) EncodeAsPtr ¶
func (s Params_Cutting_Spec) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Params_Cutting_Spec) ExportPercentage ¶
func (s Params_Cutting_Spec) ExportPercentage() float64
func (Params_Cutting_Spec) IsValid ¶
func (s Params_Cutting_Spec) IsValid() bool
func (Params_Cutting_Spec) Message ¶
func (s Params_Cutting_Spec) Message() *capnp.Message
func (Params_Cutting_Spec) Organ ¶
func (s Params_Cutting_Spec) Organ() PlantOrgan
func (Params_Cutting_Spec) Segment ¶
func (s Params_Cutting_Spec) Segment() *capnp.Segment
func (Params_Cutting_Spec) SetCutOrLeft ¶
func (s Params_Cutting_Spec) SetCutOrLeft(v Params_Cutting_CL)
func (Params_Cutting_Spec) SetExportPercentage ¶
func (s Params_Cutting_Spec) SetExportPercentage(v float64)
func (Params_Cutting_Spec) SetOrgan ¶
func (s Params_Cutting_Spec) SetOrgan(v PlantOrgan)
func (Params_Cutting_Spec) SetUnit ¶
func (s Params_Cutting_Spec) SetUnit(v Params_Cutting_Unit)
func (Params_Cutting_Spec) SetValue ¶
func (s Params_Cutting_Spec) SetValue(v float64)
func (Params_Cutting_Spec) String ¶
func (s Params_Cutting_Spec) String() string
func (Params_Cutting_Spec) ToPtr ¶
func (s Params_Cutting_Spec) ToPtr() capnp.Ptr
func (Params_Cutting_Spec) Unit ¶
func (s Params_Cutting_Spec) Unit() Params_Cutting_Unit
func (Params_Cutting_Spec) Value ¶
func (s Params_Cutting_Spec) Value() float64
type Params_Cutting_Spec_Future ¶
Params_Cutting_Spec_Future is a wrapper for a Params_Cutting_Spec promised by a client call.
func (Params_Cutting_Spec_Future) Struct ¶
func (f Params_Cutting_Spec_Future) Struct() (Params_Cutting_Spec, error)
type Params_Cutting_Spec_List ¶
type Params_Cutting_Spec_List = capnp.StructList[Params_Cutting_Spec]
Params_Cutting_Spec_List is a list of Params_Cutting_Spec.
func NewParams_Cutting_Spec_List ¶
func NewParams_Cutting_Spec_List(s *capnp.Segment, sz int32) (Params_Cutting_Spec_List, error)
NewParams_Cutting_Spec creates a new list of Params_Cutting_Spec.
type Params_Cutting_Unit ¶
type Params_Cutting_Unit uint16
const ( Params_Cutting_Unit_percentage Params_Cutting_Unit = 0 Params_Cutting_Unit_biomass Params_Cutting_Unit = 1 Params_Cutting_Unit_lai Params_Cutting_Unit = 2 )
Values of Params_Cutting_Unit.
func Params_Cutting_UnitFromString ¶
func Params_Cutting_UnitFromString(c string) Params_Cutting_Unit
Params_Cutting_UnitFromString returns the enum value with a name, or the zero value if there's no such value.
func (Params_Cutting_Unit) String ¶
func (c Params_Cutting_Unit) String() string
String returns the enum's constant name.
type Params_Cutting_Unit_List ¶
type Params_Cutting_Unit_List = capnp.EnumList[Params_Cutting_Unit]
func NewParams_Cutting_Unit_List ¶
func NewParams_Cutting_Unit_List(s *capnp.Segment, sz int32) (Params_Cutting_Unit_List, error)
type Params_Future ¶
Params_Future is a wrapper for a Params promised by a client call.
func (Params_Future) Struct ¶
func (f Params_Future) Struct() (Params, error)
type Params_Harvest ¶
func NewParams_Harvest ¶
func NewParams_Harvest(s *capnp.Segment) (Params_Harvest, error)
func NewRootParams_Harvest ¶
func NewRootParams_Harvest(s *capnp.Segment) (Params_Harvest, error)
func ReadRootParams_Harvest ¶
func ReadRootParams_Harvest(msg *capnp.Message) (Params_Harvest, error)
func (Params_Harvest) DecodeFromPtr ¶
func (Params_Harvest) DecodeFromPtr(p capnp.Ptr) Params_Harvest
func (Params_Harvest) EncodeAsPtr ¶
func (s Params_Harvest) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Params_Harvest) Exported ¶
func (s Params_Harvest) Exported() bool
func (Params_Harvest) HasOptCarbMgmtData ¶
func (s Params_Harvest) HasOptCarbMgmtData() bool
func (Params_Harvest) IsValid ¶
func (s Params_Harvest) IsValid() bool
func (Params_Harvest) Message ¶
func (s Params_Harvest) Message() *capnp.Message
func (Params_Harvest) NewOptCarbMgmtData ¶
func (s Params_Harvest) NewOptCarbMgmtData() (Params_Harvest_OptCarbonMgmtData, error)
NewOptCarbMgmtData sets the optCarbMgmtData field to a newly allocated Params_Harvest_OptCarbonMgmtData struct, preferring placement in s's segment.
func (Params_Harvest) OptCarbMgmtData ¶
func (s Params_Harvest) OptCarbMgmtData() (Params_Harvest_OptCarbonMgmtData, error)
func (Params_Harvest) Segment ¶
func (s Params_Harvest) Segment() *capnp.Segment
func (Params_Harvest) SetExported ¶
func (s Params_Harvest) SetExported(v bool)
func (Params_Harvest) SetOptCarbMgmtData ¶
func (s Params_Harvest) SetOptCarbMgmtData(v Params_Harvest_OptCarbonMgmtData) error
func (Params_Harvest) String ¶
func (s Params_Harvest) String() string
func (Params_Harvest) ToPtr ¶
func (s Params_Harvest) ToPtr() capnp.Ptr
type Params_Harvest_CropUsage ¶
type Params_Harvest_CropUsage uint16
const ( Params_Harvest_CropUsage_greenManure Params_Harvest_CropUsage = 0 Params_Harvest_CropUsage_biomassProduction Params_Harvest_CropUsage = 1 )
Values of Params_Harvest_CropUsage.
func Params_Harvest_CropUsageFromString ¶
func Params_Harvest_CropUsageFromString(c string) Params_Harvest_CropUsage
Params_Harvest_CropUsageFromString returns the enum value with a name, or the zero value if there's no such value.
func (Params_Harvest_CropUsage) String ¶
func (c Params_Harvest_CropUsage) String() string
String returns the enum's constant name.
type Params_Harvest_CropUsage_List ¶
type Params_Harvest_CropUsage_List = capnp.EnumList[Params_Harvest_CropUsage]
func NewParams_Harvest_CropUsage_List ¶
func NewParams_Harvest_CropUsage_List(s *capnp.Segment, sz int32) (Params_Harvest_CropUsage_List, error)
type Params_Harvest_Future ¶
Params_Harvest_Future is a wrapper for a Params_Harvest promised by a client call.
func (Params_Harvest_Future) OptCarbMgmtData ¶
func (p Params_Harvest_Future) OptCarbMgmtData() Params_Harvest_OptCarbonMgmtData_Future
func (Params_Harvest_Future) Struct ¶
func (f Params_Harvest_Future) Struct() (Params_Harvest, error)
type Params_Harvest_List ¶
type Params_Harvest_List = capnp.StructList[Params_Harvest]
Params_Harvest_List is a list of Params_Harvest.
func NewParams_Harvest_List ¶
func NewParams_Harvest_List(s *capnp.Segment, sz int32) (Params_Harvest_List, error)
NewParams_Harvest creates a new list of Params_Harvest.
type Params_Harvest_OptCarbonMgmtData ¶
func NewParams_Harvest_OptCarbonMgmtData ¶
func NewParams_Harvest_OptCarbonMgmtData(s *capnp.Segment) (Params_Harvest_OptCarbonMgmtData, error)
func NewRootParams_Harvest_OptCarbonMgmtData ¶
func NewRootParams_Harvest_OptCarbonMgmtData(s *capnp.Segment) (Params_Harvest_OptCarbonMgmtData, error)
func ReadRootParams_Harvest_OptCarbonMgmtData ¶
func ReadRootParams_Harvest_OptCarbonMgmtData(msg *capnp.Message) (Params_Harvest_OptCarbonMgmtData, error)
func (Params_Harvest_OptCarbonMgmtData) CropImpactOnHumusBalance ¶
func (s Params_Harvest_OptCarbonMgmtData) CropImpactOnHumusBalance() float64
func (Params_Harvest_OptCarbonMgmtData) CropUsage ¶
func (s Params_Harvest_OptCarbonMgmtData) CropUsage() Params_Harvest_CropUsage
func (Params_Harvest_OptCarbonMgmtData) DecodeFromPtr ¶
func (Params_Harvest_OptCarbonMgmtData) DecodeFromPtr(p capnp.Ptr) Params_Harvest_OptCarbonMgmtData
func (Params_Harvest_OptCarbonMgmtData) EncodeAsPtr ¶
func (s Params_Harvest_OptCarbonMgmtData) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Params_Harvest_OptCarbonMgmtData) IsValid ¶
func (s Params_Harvest_OptCarbonMgmtData) IsValid() bool
func (Params_Harvest_OptCarbonMgmtData) MaxResidueRecoverFraction ¶
func (s Params_Harvest_OptCarbonMgmtData) MaxResidueRecoverFraction() float64
func (Params_Harvest_OptCarbonMgmtData) Message ¶
func (s Params_Harvest_OptCarbonMgmtData) Message() *capnp.Message
func (Params_Harvest_OptCarbonMgmtData) OptCarbonConservation ¶
func (s Params_Harvest_OptCarbonMgmtData) OptCarbonConservation() bool
func (Params_Harvest_OptCarbonMgmtData) OrganicFertilizerHeq ¶
func (s Params_Harvest_OptCarbonMgmtData) OrganicFertilizerHeq() float64
func (Params_Harvest_OptCarbonMgmtData) ResidueHeq ¶
func (s Params_Harvest_OptCarbonMgmtData) ResidueHeq() float64
func (Params_Harvest_OptCarbonMgmtData) Segment ¶
func (s Params_Harvest_OptCarbonMgmtData) Segment() *capnp.Segment
func (Params_Harvest_OptCarbonMgmtData) SetCropImpactOnHumusBalance ¶
func (s Params_Harvest_OptCarbonMgmtData) SetCropImpactOnHumusBalance(v float64)
func (Params_Harvest_OptCarbonMgmtData) SetCropUsage ¶
func (s Params_Harvest_OptCarbonMgmtData) SetCropUsage(v Params_Harvest_CropUsage)
func (Params_Harvest_OptCarbonMgmtData) SetMaxResidueRecoverFraction ¶
func (s Params_Harvest_OptCarbonMgmtData) SetMaxResidueRecoverFraction(v float64)
func (Params_Harvest_OptCarbonMgmtData) SetOptCarbonConservation ¶
func (s Params_Harvest_OptCarbonMgmtData) SetOptCarbonConservation(v bool)
func (Params_Harvest_OptCarbonMgmtData) SetOrganicFertilizerHeq ¶
func (s Params_Harvest_OptCarbonMgmtData) SetOrganicFertilizerHeq(v float64)
func (Params_Harvest_OptCarbonMgmtData) SetResidueHeq ¶
func (s Params_Harvest_OptCarbonMgmtData) SetResidueHeq(v float64)
func (Params_Harvest_OptCarbonMgmtData) String ¶
func (s Params_Harvest_OptCarbonMgmtData) String() string
func (Params_Harvest_OptCarbonMgmtData) ToPtr ¶
func (s Params_Harvest_OptCarbonMgmtData) ToPtr() capnp.Ptr
type Params_Harvest_OptCarbonMgmtData_Future ¶
Params_Harvest_OptCarbonMgmtData_Future is a wrapper for a Params_Harvest_OptCarbonMgmtData promised by a client call.
func (Params_Harvest_OptCarbonMgmtData_Future) Struct ¶
func (f Params_Harvest_OptCarbonMgmtData_Future) Struct() (Params_Harvest_OptCarbonMgmtData, error)
type Params_Harvest_OptCarbonMgmtData_List ¶
type Params_Harvest_OptCarbonMgmtData_List = capnp.StructList[Params_Harvest_OptCarbonMgmtData]
Params_Harvest_OptCarbonMgmtData_List is a list of Params_Harvest_OptCarbonMgmtData.
func NewParams_Harvest_OptCarbonMgmtData_List ¶
func NewParams_Harvest_OptCarbonMgmtData_List(s *capnp.Segment, sz int32) (Params_Harvest_OptCarbonMgmtData_List, error)
NewParams_Harvest_OptCarbonMgmtData creates a new list of Params_Harvest_OptCarbonMgmtData.
type Params_Irrigation ¶
func NewParams_Irrigation ¶
func NewParams_Irrigation(s *capnp.Segment) (Params_Irrigation, error)
func NewRootParams_Irrigation ¶
func NewRootParams_Irrigation(s *capnp.Segment) (Params_Irrigation, error)
func ReadRootParams_Irrigation ¶
func ReadRootParams_Irrigation(msg *capnp.Message) (Params_Irrigation, error)
func (Params_Irrigation) Amount ¶
func (s Params_Irrigation) Amount() float64
func (Params_Irrigation) DecodeFromPtr ¶
func (Params_Irrigation) DecodeFromPtr(p capnp.Ptr) Params_Irrigation
func (Params_Irrigation) EncodeAsPtr ¶
func (s Params_Irrigation) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Params_Irrigation) HasNutrientConcentrations ¶
func (s Params_Irrigation) HasNutrientConcentrations() bool
func (Params_Irrigation) IsValid ¶
func (s Params_Irrigation) IsValid() bool
func (Params_Irrigation) Message ¶
func (s Params_Irrigation) Message() *capnp.Message
func (Params_Irrigation) NewNutrientConcentrations ¶
func (s Params_Irrigation) NewNutrientConcentrations(n int32) (Nutrient_List, error)
NewNutrientConcentrations sets the nutrientConcentrations field to a newly allocated Nutrient_List, preferring placement in s's segment.
func (Params_Irrigation) NutrientConcentrations ¶
func (s Params_Irrigation) NutrientConcentrations() (Nutrient_List, error)
func (Params_Irrigation) Segment ¶
func (s Params_Irrigation) Segment() *capnp.Segment
func (Params_Irrigation) SetAmount ¶
func (s Params_Irrigation) SetAmount(v float64)
func (Params_Irrigation) SetNutrientConcentrations ¶
func (s Params_Irrigation) SetNutrientConcentrations(v Nutrient_List) error
func (Params_Irrigation) String ¶
func (s Params_Irrigation) String() string
func (Params_Irrigation) ToPtr ¶
func (s Params_Irrigation) ToPtr() capnp.Ptr
type Params_Irrigation_Future ¶
Params_Irrigation_Future is a wrapper for a Params_Irrigation promised by a client call.
func (Params_Irrigation_Future) Struct ¶
func (f Params_Irrigation_Future) Struct() (Params_Irrigation, error)
type Params_Irrigation_List ¶
type Params_Irrigation_List = capnp.StructList[Params_Irrigation]
Params_Irrigation_List is a list of Params_Irrigation.
func NewParams_Irrigation_List ¶
func NewParams_Irrigation_List(s *capnp.Segment, sz int32) (Params_Irrigation_List, error)
NewParams_Irrigation creates a new list of Params_Irrigation.
type Params_List ¶
type Params_List = capnp.StructList[Params]
Params_List is a list of Params.
func NewParams_List ¶
func NewParams_List(s *capnp.Segment, sz int32) (Params_List, error)
NewParams creates a new list of Params.
type Params_MineralFertilization ¶
func NewParams_MineralFertilization ¶
func NewParams_MineralFertilization(s *capnp.Segment) (Params_MineralFertilization, error)
func NewRootParams_MineralFertilization ¶
func NewRootParams_MineralFertilization(s *capnp.Segment) (Params_MineralFertilization, error)
func ReadRootParams_MineralFertilization ¶
func ReadRootParams_MineralFertilization(msg *capnp.Message) (Params_MineralFertilization, error)
func (Params_MineralFertilization) Amount ¶
func (s Params_MineralFertilization) Amount() float64
func (Params_MineralFertilization) DecodeFromPtr ¶
func (Params_MineralFertilization) DecodeFromPtr(p capnp.Ptr) Params_MineralFertilization
func (Params_MineralFertilization) EncodeAsPtr ¶
func (s Params_MineralFertilization) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Params_MineralFertilization) Fertilizer ¶
func (s Params_MineralFertilization) Fertilizer() Fertilizer
func (Params_MineralFertilization) HasFertilizer ¶
func (s Params_MineralFertilization) HasFertilizer() bool
func (Params_MineralFertilization) IsValid ¶
func (s Params_MineralFertilization) IsValid() bool
func (Params_MineralFertilization) Message ¶
func (s Params_MineralFertilization) Message() *capnp.Message
func (Params_MineralFertilization) Segment ¶
func (s Params_MineralFertilization) Segment() *capnp.Segment
func (Params_MineralFertilization) SetAmount ¶
func (s Params_MineralFertilization) SetAmount(v float64)
func (Params_MineralFertilization) SetFertilizer ¶
func (s Params_MineralFertilization) SetFertilizer(v Fertilizer) error
func (Params_MineralFertilization) String ¶
func (s Params_MineralFertilization) String() string
func (Params_MineralFertilization) ToPtr ¶
func (s Params_MineralFertilization) ToPtr() capnp.Ptr
type Params_MineralFertilization_Future ¶
Params_MineralFertilization_Future is a wrapper for a Params_MineralFertilization promised by a client call.
func (Params_MineralFertilization_Future) Fertilizer ¶
func (p Params_MineralFertilization_Future) Fertilizer() Fertilizer
func (Params_MineralFertilization_Future) Struct ¶
func (f Params_MineralFertilization_Future) Struct() (Params_MineralFertilization, error)
type Params_MineralFertilization_List ¶
type Params_MineralFertilization_List = capnp.StructList[Params_MineralFertilization]
Params_MineralFertilization_List is a list of Params_MineralFertilization.
func NewParams_MineralFertilization_List ¶
func NewParams_MineralFertilization_List(s *capnp.Segment, sz int32) (Params_MineralFertilization_List, error)
NewParams_MineralFertilization creates a new list of Params_MineralFertilization.
type Params_NDemandFertilization ¶
func NewParams_NDemandFertilization ¶
func NewParams_NDemandFertilization(s *capnp.Segment) (Params_NDemandFertilization, error)
func NewRootParams_NDemandFertilization ¶
func NewRootParams_NDemandFertilization(s *capnp.Segment) (Params_NDemandFertilization, error)
func ReadRootParams_NDemandFertilization ¶
func ReadRootParams_NDemandFertilization(msg *capnp.Message) (Params_NDemandFertilization, error)
func (Params_NDemandFertilization) DecodeFromPtr ¶
func (Params_NDemandFertilization) DecodeFromPtr(p capnp.Ptr) Params_NDemandFertilization
func (Params_NDemandFertilization) Depth ¶
func (s Params_NDemandFertilization) Depth() float64
func (Params_NDemandFertilization) EncodeAsPtr ¶
func (s Params_NDemandFertilization) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Params_NDemandFertilization) Fertilizer ¶
func (s Params_NDemandFertilization) Fertilizer() Fertilizer
func (Params_NDemandFertilization) HasFertilizer ¶
func (s Params_NDemandFertilization) HasFertilizer() bool
func (Params_NDemandFertilization) IsValid ¶
func (s Params_NDemandFertilization) IsValid() bool
func (Params_NDemandFertilization) Message ¶
func (s Params_NDemandFertilization) Message() *capnp.Message
func (Params_NDemandFertilization) NDemand ¶
func (s Params_NDemandFertilization) NDemand() float64
func (Params_NDemandFertilization) Segment ¶
func (s Params_NDemandFertilization) Segment() *capnp.Segment
func (Params_NDemandFertilization) SetDepth ¶
func (s Params_NDemandFertilization) SetDepth(v float64)
func (Params_NDemandFertilization) SetFertilizer ¶
func (s Params_NDemandFertilization) SetFertilizer(v Fertilizer) error
func (Params_NDemandFertilization) SetNDemand ¶
func (s Params_NDemandFertilization) SetNDemand(v float64)
func (Params_NDemandFertilization) SetStage ¶
func (s Params_NDemandFertilization) SetStage(v uint8)
func (Params_NDemandFertilization) Stage ¶
func (s Params_NDemandFertilization) Stage() uint8
func (Params_NDemandFertilization) String ¶
func (s Params_NDemandFertilization) String() string
func (Params_NDemandFertilization) ToPtr ¶
func (s Params_NDemandFertilization) ToPtr() capnp.Ptr
type Params_NDemandFertilization_Future ¶
Params_NDemandFertilization_Future is a wrapper for a Params_NDemandFertilization promised by a client call.
func (Params_NDemandFertilization_Future) Fertilizer ¶
func (p Params_NDemandFertilization_Future) Fertilizer() Fertilizer
func (Params_NDemandFertilization_Future) Struct ¶
func (f Params_NDemandFertilization_Future) Struct() (Params_NDemandFertilization, error)
type Params_NDemandFertilization_List ¶
type Params_NDemandFertilization_List = capnp.StructList[Params_NDemandFertilization]
Params_NDemandFertilization_List is a list of Params_NDemandFertilization.
func NewParams_NDemandFertilization_List ¶
func NewParams_NDemandFertilization_List(s *capnp.Segment, sz int32) (Params_NDemandFertilization_List, error)
NewParams_NDemandFertilization creates a new list of Params_NDemandFertilization.
type Params_OrganicFertilization ¶
func NewParams_OrganicFertilization ¶
func NewParams_OrganicFertilization(s *capnp.Segment) (Params_OrganicFertilization, error)
func NewRootParams_OrganicFertilization ¶
func NewRootParams_OrganicFertilization(s *capnp.Segment) (Params_OrganicFertilization, error)
func ReadRootParams_OrganicFertilization ¶
func ReadRootParams_OrganicFertilization(msg *capnp.Message) (Params_OrganicFertilization, error)
func (Params_OrganicFertilization) Amount ¶
func (s Params_OrganicFertilization) Amount() float64
func (Params_OrganicFertilization) DecodeFromPtr ¶
func (Params_OrganicFertilization) DecodeFromPtr(p capnp.Ptr) Params_OrganicFertilization
func (Params_OrganicFertilization) EncodeAsPtr ¶
func (s Params_OrganicFertilization) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Params_OrganicFertilization) Fertilizer ¶
func (s Params_OrganicFertilization) Fertilizer() Fertilizer
func (Params_OrganicFertilization) HasFertilizer ¶
func (s Params_OrganicFertilization) HasFertilizer() bool
func (Params_OrganicFertilization) Incorporation ¶
func (s Params_OrganicFertilization) Incorporation() bool
func (Params_OrganicFertilization) IsValid ¶
func (s Params_OrganicFertilization) IsValid() bool
func (Params_OrganicFertilization) Message ¶
func (s Params_OrganicFertilization) Message() *capnp.Message
func (Params_OrganicFertilization) Segment ¶
func (s Params_OrganicFertilization) Segment() *capnp.Segment
func (Params_OrganicFertilization) SetAmount ¶
func (s Params_OrganicFertilization) SetAmount(v float64)
func (Params_OrganicFertilization) SetFertilizer ¶
func (s Params_OrganicFertilization) SetFertilizer(v Fertilizer) error
func (Params_OrganicFertilization) SetIncorporation ¶
func (s Params_OrganicFertilization) SetIncorporation(v bool)
func (Params_OrganicFertilization) String ¶
func (s Params_OrganicFertilization) String() string
func (Params_OrganicFertilization) ToPtr ¶
func (s Params_OrganicFertilization) ToPtr() capnp.Ptr
type Params_OrganicFertilization_Future ¶
Params_OrganicFertilization_Future is a wrapper for a Params_OrganicFertilization promised by a client call.
func (Params_OrganicFertilization_Future) Fertilizer ¶
func (p Params_OrganicFertilization_Future) Fertilizer() Fertilizer
func (Params_OrganicFertilization_Future) Struct ¶
func (f Params_OrganicFertilization_Future) Struct() (Params_OrganicFertilization, error)
type Params_OrganicFertilization_List ¶
type Params_OrganicFertilization_List = capnp.StructList[Params_OrganicFertilization]
Params_OrganicFertilization_List is a list of Params_OrganicFertilization.
func NewParams_OrganicFertilization_List ¶
func NewParams_OrganicFertilization_List(s *capnp.Segment, sz int32) (Params_OrganicFertilization_List, error)
NewParams_OrganicFertilization creates a new list of Params_OrganicFertilization.
type Params_Sowing ¶
func NewParams_Sowing ¶
func NewParams_Sowing(s *capnp.Segment) (Params_Sowing, error)
func NewRootParams_Sowing ¶
func NewRootParams_Sowing(s *capnp.Segment) (Params_Sowing, error)
func ReadRootParams_Sowing ¶
func ReadRootParams_Sowing(msg *capnp.Message) (Params_Sowing, error)
func (Params_Sowing) Crop ¶
func (s Params_Sowing) Crop() crop.Crop
func (Params_Sowing) Cultivar ¶
func (s Params_Sowing) Cultivar() (string, error)
func (Params_Sowing) CultivarBytes ¶
func (s Params_Sowing) CultivarBytes() ([]byte, error)
func (Params_Sowing) DecodeFromPtr ¶
func (Params_Sowing) DecodeFromPtr(p capnp.Ptr) Params_Sowing
func (Params_Sowing) EncodeAsPtr ¶
func (s Params_Sowing) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Params_Sowing) HasCrop ¶
func (s Params_Sowing) HasCrop() bool
func (Params_Sowing) HasCultivar ¶
func (s Params_Sowing) HasCultivar() bool
func (Params_Sowing) IsValid ¶
func (s Params_Sowing) IsValid() bool
func (Params_Sowing) Message ¶
func (s Params_Sowing) Message() *capnp.Message
func (Params_Sowing) PlantDensity ¶
func (s Params_Sowing) PlantDensity() uint16
func (Params_Sowing) Segment ¶
func (s Params_Sowing) Segment() *capnp.Segment
func (Params_Sowing) SetCultivar ¶
func (s Params_Sowing) SetCultivar(v string) error
func (Params_Sowing) SetPlantDensity ¶
func (s Params_Sowing) SetPlantDensity(v uint16)
func (Params_Sowing) String ¶
func (s Params_Sowing) String() string
func (Params_Sowing) ToPtr ¶
func (s Params_Sowing) ToPtr() capnp.Ptr
type Params_Sowing_Future ¶
Params_Sowing_Future is a wrapper for a Params_Sowing promised by a client call.
func (Params_Sowing_Future) Crop ¶
func (p Params_Sowing_Future) Crop() crop.Crop
func (Params_Sowing_Future) Struct ¶
func (f Params_Sowing_Future) Struct() (Params_Sowing, error)
type Params_Sowing_List ¶
type Params_Sowing_List = capnp.StructList[Params_Sowing]
Params_Sowing_List is a list of Params_Sowing.
func NewParams_Sowing_List ¶
func NewParams_Sowing_List(s *capnp.Segment, sz int32) (Params_Sowing_List, error)
NewParams_Sowing creates a new list of Params_Sowing.
type Params_Tillage ¶
func NewParams_Tillage ¶
func NewParams_Tillage(s *capnp.Segment) (Params_Tillage, error)
func NewRootParams_Tillage ¶
func NewRootParams_Tillage(s *capnp.Segment) (Params_Tillage, error)
func ReadRootParams_Tillage ¶
func ReadRootParams_Tillage(msg *capnp.Message) (Params_Tillage, error)
func (Params_Tillage) DecodeFromPtr ¶
func (Params_Tillage) DecodeFromPtr(p capnp.Ptr) Params_Tillage
func (Params_Tillage) Depth ¶
func (s Params_Tillage) Depth() float64
func (Params_Tillage) EncodeAsPtr ¶
func (s Params_Tillage) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Params_Tillage) IsValid ¶
func (s Params_Tillage) IsValid() bool
func (Params_Tillage) Message ¶
func (s Params_Tillage) Message() *capnp.Message
func (Params_Tillage) Segment ¶
func (s Params_Tillage) Segment() *capnp.Segment
func (Params_Tillage) SetDepth ¶
func (s Params_Tillage) SetDepth(v float64)
func (Params_Tillage) String ¶
func (s Params_Tillage) String() string
func (Params_Tillage) ToPtr ¶
func (s Params_Tillage) ToPtr() capnp.Ptr
type Params_Tillage_Future ¶
Params_Tillage_Future is a wrapper for a Params_Tillage promised by a client call.
func (Params_Tillage_Future) Struct ¶
func (f Params_Tillage_Future) Struct() (Params_Tillage, error)
type Params_Tillage_List ¶
type Params_Tillage_List = capnp.StructList[Params_Tillage]
Params_Tillage_List is a list of Params_Tillage.
func NewParams_Tillage_List ¶
func NewParams_Tillage_List(s *capnp.Segment, sz int32) (Params_Tillage_List, error)
NewParams_Tillage creates a new list of Params_Tillage.
type PlantOrgan ¶
type PlantOrgan uint16
const ( PlantOrgan_root PlantOrgan = 0 PlantOrgan_leaf PlantOrgan = 1 PlantOrgan_shoot PlantOrgan = 2 PlantOrgan_fruit PlantOrgan = 3 PlantOrgan_strukt PlantOrgan = 4 PlantOrgan_sugar PlantOrgan = 5 )
Values of PlantOrgan.
func PlantOrganFromString ¶
func PlantOrganFromString(c string) PlantOrgan
PlantOrganFromString returns the enum value with a name, or the zero value if there's no such value.
func (PlantOrgan) String ¶
func (c PlantOrgan) String() string
String returns the enum's constant name.
type PlantOrgan_List ¶
type PlantOrgan_List = capnp.EnumList[PlantOrgan]
func NewPlantOrgan_List ¶
func NewPlantOrgan_List(s *capnp.Segment, sz int32) (PlantOrgan_List, error)
type Service ¶
func Service_ServerToClient ¶
func Service_ServerToClient(s Service_Server) Service
Service_ServerToClient creates a new Client from an implementation of Service_Server. The caller is responsible for calling Release on the returned Client.
func (Service) AddRef ¶
AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.
func (Service) GetFlowLimiter ¶
func (c Service) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Service) Info ¶
func (c Service) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (Service) IsSame ¶
IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.
func (Service) IsValid ¶
IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.
func (Service) ManagementAt ¶
func (c Service) ManagementAt(ctx context.Context, params func(geo.LatLonCoord) error) (Service_managementAt_Results_Future, capnp.ReleaseFunc)
func (Service) Release ¶
func (c Service) Release()
Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.
Release will panic if c has already been released, but not if c is nil or resolved to null.
func (Service) Resolve ¶
Resolve blocks until the capability is fully resolved or the Context expires.
func (Service) SetFlowLimiter ¶
func (c Service) SetFlowLimiter(lim fc.FlowLimiter)
Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.
func (Service) String ¶
String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.
func (Service) WaitStreaming ¶
type Service_List ¶
Service_List is a list of Service.
func NewService_List ¶
func NewService_List(s *capnp.Segment, sz int32) (Service_List, error)
NewService creates a new list of Service.
type Service_Server ¶
type Service_Server interface { ManagementAt(context.Context, Service_managementAt) error Info(context.Context, common.Identifiable_info) error }
A Service_Server is a Service with a local implementation.
type Service_managementAt ¶
Service_managementAt holds the state for a server call to Service.managementAt. See server.Call for documentation.
func (Service_managementAt) AllocResults ¶
func (c Service_managementAt) AllocResults() (Service_managementAt_Results, error)
AllocResults allocates the results struct.
func (Service_managementAt) Args ¶
func (c Service_managementAt) Args() geo.LatLonCoord
Args returns the call's arguments.
type Service_managementAt_Results ¶
func NewRootService_managementAt_Results ¶
func NewRootService_managementAt_Results(s *capnp.Segment) (Service_managementAt_Results, error)
func NewService_managementAt_Results ¶
func NewService_managementAt_Results(s *capnp.Segment) (Service_managementAt_Results, error)
func ReadRootService_managementAt_Results ¶
func ReadRootService_managementAt_Results(msg *capnp.Message) (Service_managementAt_Results, error)
func (Service_managementAt_Results) DecodeFromPtr ¶
func (Service_managementAt_Results) DecodeFromPtr(p capnp.Ptr) Service_managementAt_Results
func (Service_managementAt_Results) EncodeAsPtr ¶
func (s Service_managementAt_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Service_managementAt_Results) HasMgmt ¶
func (s Service_managementAt_Results) HasMgmt() bool
func (Service_managementAt_Results) IsValid ¶
func (s Service_managementAt_Results) IsValid() bool
func (Service_managementAt_Results) Message ¶
func (s Service_managementAt_Results) Message() *capnp.Message
func (Service_managementAt_Results) Mgmt ¶
func (s Service_managementAt_Results) Mgmt() (Event_List, error)
func (Service_managementAt_Results) NewMgmt ¶
func (s Service_managementAt_Results) NewMgmt(n int32) (Event_List, error)
NewMgmt sets the mgmt field to a newly allocated Event_List, preferring placement in s's segment.
func (Service_managementAt_Results) Segment ¶
func (s Service_managementAt_Results) Segment() *capnp.Segment
func (Service_managementAt_Results) SetMgmt ¶
func (s Service_managementAt_Results) SetMgmt(v Event_List) error
func (Service_managementAt_Results) String ¶
func (s Service_managementAt_Results) String() string
func (Service_managementAt_Results) ToPtr ¶
func (s Service_managementAt_Results) ToPtr() capnp.Ptr
type Service_managementAt_Results_Future ¶
Service_managementAt_Results_Future is a wrapper for a Service_managementAt_Results promised by a client call.
func (Service_managementAt_Results_Future) Struct ¶
func (f Service_managementAt_Results_Future) Struct() (Service_managementAt_Results, error)
type Service_managementAt_Results_List ¶
type Service_managementAt_Results_List = capnp.StructList[Service_managementAt_Results]
Service_managementAt_Results_List is a list of Service_managementAt_Results.
func NewService_managementAt_Results_List ¶
func NewService_managementAt_Results_List(s *capnp.Segment, sz int32) (Service_managementAt_Results_List, error)
NewService_managementAt_Results creates a new list of Service_managementAt_Results.