management

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

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

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

Documentation

Index

Constants

View Source
const EventType_TypeID = 0x82a74595175b71a3

EventType_TypeID is the unique identifier for the type EventType.

View Source
const Event_ExternalType_TypeID = 0xf082ec2d0eb50c9b

Event_ExternalType_TypeID is the unique identifier for the type Event_ExternalType.

View Source
const Event_PhenoStage_TypeID = 0x8fa09457bc1bfc34

Event_PhenoStage_TypeID is the unique identifier for the type Event_PhenoStage.

View Source
const Event_TypeID = 0x9c5dedfd679ac842

Event_TypeID is the unique identifier for the type Event.

View Source
const Event_Type_TypeID = 0xe1ed73d59c8ce359

Event_Type_TypeID is the unique identifier for the type Event_Type.

View Source
const FertilizerService_TypeID = 0xbbb7aeae0d097e05

FertilizerService_TypeID is the unique identifier for the type FertilizerService.

View Source
const Fertilizer_TypeID = 0x8c4cb8d60ae5aec7

Fertilizer_TypeID is the unique identifier for the type Fertilizer.

View Source
const Fertilizer_nutrients_Params_TypeID = 0xcb5a624fdc982a1b

Fertilizer_nutrients_Params_TypeID is the unique identifier for the type Fertilizer_nutrients_Params.

View Source
const Fertilizer_nutrients_Results_TypeID = 0xae2976259bce5460

Fertilizer_nutrients_Results_TypeID is the unique identifier for the type Fertilizer_nutrients_Results.

View Source
const Fertilizer_parameters_Params_TypeID = 0xc0032af5b7bc50e4

Fertilizer_parameters_Params_TypeID is the unique identifier for the type Fertilizer_parameters_Params.

View Source
const Fertilizer_parameters_Results_TypeID = 0xfd4dbbbb758bb8f7

Fertilizer_parameters_Results_TypeID is the unique identifier for the type Fertilizer_parameters_Results.

View Source
const Nutrient_Name_TypeID = 0xbc6b579acf43fb6e

Nutrient_Name_TypeID is the unique identifier for the type Nutrient_Name.

View Source
const Nutrient_TypeID = 0xaafe4332e17aa43e

Nutrient_TypeID is the unique identifier for the type Nutrient.

View Source
const Nutrient_Unit_TypeID = 0x987b68b57edbbdb6

Nutrient_Unit_TypeID is the unique identifier for the type Nutrient_Unit.

View Source
const Params_AutomaticHarvest_TypeID = 0xe3a37e340f816cd1

Params_AutomaticHarvest_TypeID is the unique identifier for the type Params_AutomaticHarvest.

View Source
const Params_AutomaticSowing_AvgSoilTemp_TypeID = 0x9d81d2bf4cd0f868

Params_AutomaticSowing_AvgSoilTemp_TypeID is the unique identifier for the type Params_AutomaticSowing_AvgSoilTemp.

View Source
const Params_AutomaticSowing_TypeID = 0xcfcf44997e7ceab4

Params_AutomaticSowing_TypeID is the unique identifier for the type Params_AutomaticSowing.

View Source
const Params_Cutting_CL_TypeID = 0x825bb2508c0b37b2

Params_Cutting_CL_TypeID is the unique identifier for the type Params_Cutting_CL.

View Source
const Params_Cutting_Spec_TypeID = 0x9a221e04faf79efc

Params_Cutting_Spec_TypeID is the unique identifier for the type Params_Cutting_Spec.

View Source
const Params_Cutting_TypeID = 0xfec75f2ddd43431d

Params_Cutting_TypeID is the unique identifier for the type Params_Cutting.

View Source
const Params_Cutting_Unit_TypeID = 0xf0c763e472409ba2

Params_Cutting_Unit_TypeID is the unique identifier for the type Params_Cutting_Unit.

View Source
const Params_Harvest_CropUsage_TypeID = 0x8f0cbec420589373

Params_Harvest_CropUsage_TypeID is the unique identifier for the type Params_Harvest_CropUsage.

View Source
const Params_Harvest_OptCarbonMgmtData_TypeID = 0x8cb6b3e3c50d3665

Params_Harvest_OptCarbonMgmtData_TypeID is the unique identifier for the type Params_Harvest_OptCarbonMgmtData.

View Source
const Params_Harvest_TypeID = 0xeed4e55bb04289ef

Params_Harvest_TypeID is the unique identifier for the type Params_Harvest.

View Source
const Params_Irrigation_TypeID = 0x87feb816363ff43c

Params_Irrigation_TypeID is the unique identifier for the type Params_Irrigation.

View Source
const Params_MineralFertilization_TypeID = 0xd3da30ea7b25d921

Params_MineralFertilization_TypeID is the unique identifier for the type Params_MineralFertilization.

View Source
const Params_NDemandFertilization_TypeID = 0x953375ac67d4f573

Params_NDemandFertilization_TypeID is the unique identifier for the type Params_NDemandFertilization.

View Source
const Params_OrganicFertilization_TypeID = 0xe98c76fb0fb0b2cd

Params_OrganicFertilization_TypeID is the unique identifier for the type Params_OrganicFertilization.

View Source
const Params_Sowing_TypeID = 0x80ce153f3bc9a9e8

Params_Sowing_TypeID is the unique identifier for the type Params_Sowing.

View Source
const Params_Tillage_TypeID = 0x88a5848ef8603554

Params_Tillage_TypeID is the unique identifier for the type Params_Tillage.

View Source
const Params_TypeID = 0x9d247c812334c917

Params_TypeID is the unique identifier for the type Params.

View Source
const PlantOrgan_TypeID = 0xc2d50914b83d42de

PlantOrgan_TypeID is the unique identifier for the type PlantOrgan.

View Source
const Service_TypeID = 0xc876b729b7d7f6d9

Service_TypeID is the unique identifier for the type Service.

View Source
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 RegisterSchema(reg *schemas.Registry)

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

type Event capnp.Struct

func NewEvent

func NewEvent(s *capnp.Segment) (Event, error)

func NewRootEvent

func NewRootEvent(s *capnp.Segment) (Event, error)

func ReadRootEvent

func ReadRootEvent(msg *capnp.Message) (Event, error)

func (Event) After

func (s Event) After() Event_after

func (Event) At

func (s Event) At() Event_at

func (Event) Between

func (s Event) Between() Event_between

func (Event) DecodeFromPtr

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

func (Event) EncodeAsPtr

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

func (Event) HasInfo

func (s Event) HasInfo() bool

func (Event) HasParams

func (s Event) HasParams() bool

func (Event) Info

func (s Event) Info() (common.IdInformation, error)

func (Event) IsValid

func (s Event) IsValid() bool

func (Event) Message

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

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

func (s Event) Params() (capnp.Ptr, error)

func (Event) RunAtStartOfDay

func (s Event) RunAtStartOfDay() bool

func (Event) Segment

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

func (Event) SetAfter

func (s Event) SetAfter()

func (Event) SetAt

func (s Event) SetAt()

func (Event) SetBetween

func (s Event) SetBetween()

func (Event) SetInfo

func (s Event) SetInfo(v common.IdInformation) error

func (Event) SetParams

func (s Event) SetParams(v capnp.Ptr) error

func (Event) SetRunAtStartOfDay

func (s Event) SetRunAtStartOfDay(v bool)

func (Event) SetType

func (s Event) SetType(v Event_ExternalType)

func (Event) String

func (s Event) String() string

func (Event) ToPtr

func (s Event) ToPtr() capnp.Ptr

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

func EventTypeFromString(c string) EventType

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

func (EventType) String

func (c EventType) String() string

String returns the enum's constant name.

type EventType_List

type EventType_List = capnp.EnumList[EventType]

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

type Event_Future struct{ *capnp.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 (Event_Future) Between

func (p Event_Future) Between() Event_between_Future

func (Event_Future) Info

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

type Event_Type capnp.Struct

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

type Event_Type_Future struct{ *capnp.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

type Event_after_Future struct{ *capnp.Future }

Event_after_Future is a wrapper for a Event_after promised by a client call.

func (Event_after_Future) Event

func (Event_after_Future) Struct

func (f Event_after_Future) Struct() (Event_after, error)

type Event_at

type Event_at Event

func (Event_at) Date

func (s Event_at) Date() (common_date.Date, error)

func (Event_at) HasDate

func (s Event_at) HasDate() bool

func (Event_at) IsValid

func (s Event_at) IsValid() bool

func (Event_at) Message

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

func (Event_at) NewDate

func (s Event_at) NewDate() (common_date.Date, error)

NewDate sets the date field to a newly allocated common_date.Date struct, preferring placement in s's segment.

func (Event_at) Segment

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

func (Event_at) SetDate

func (s Event_at) SetDate(v common_date.Date) error

type Event_at_Future

type Event_at_Future struct{ *capnp.Future }

Event_at_Future is a wrapper for a Event_at promised by a client call.

func (Event_at_Future) Date

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

type Event_between_Future struct{ *capnp.Future }

Event_between_Future is a wrapper for a Event_between promised by a client call.

func (Event_between_Future) Earliest

func (Event_between_Future) Latest

func (Event_between_Future) Struct

type Fertilizer

type Fertilizer capnp.Client

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

type FertilizerService capnp.Client

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

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

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

func (FertilizerService) EncodeAsPtr

func (c FertilizerService) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (FertilizerService) GetFlowLimiter

func (c FertilizerService) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

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

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

A Fertilizer_Server is a Fertilizer with a local implementation.

type Fertilizer_nutrients

type Fertilizer_nutrients struct {
	*server.Call
}

Fertilizer_nutrients holds the state for a server call to Fertilizer.nutrients. See server.Call for documentation.

func (Fertilizer_nutrients) AllocResults

AllocResults allocates the results struct.

func (Fertilizer_nutrients) Args

Args returns the call's arguments.

type Fertilizer_nutrients_Params

type Fertilizer_nutrients_Params capnp.Struct

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) 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 (Fertilizer_nutrients_Params) Segment

func (Fertilizer_nutrients_Params) String

func (Fertilizer_nutrients_Params) ToPtr

type Fertilizer_nutrients_Params_Future

type Fertilizer_nutrients_Params_Future struct{ *capnp.Future }

Fertilizer_nutrients_Params_Future is a wrapper for a Fertilizer_nutrients_Params promised by a client call.

func (Fertilizer_nutrients_Params_Future) Struct

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

type Fertilizer_nutrients_Results capnp.Struct

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) 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 (Fertilizer_nutrients_Results) NewNutrients

NewNutrients sets the nutrients field to a newly allocated Nutrient_List, preferring placement in s's segment.

func (Fertilizer_nutrients_Results) Nutrients

func (Fertilizer_nutrients_Results) Segment

func (Fertilizer_nutrients_Results) SetNutrients

func (Fertilizer_nutrients_Results) String

func (Fertilizer_nutrients_Results) ToPtr

type Fertilizer_nutrients_Results_Future

type Fertilizer_nutrients_Results_Future struct{ *capnp.Future }

Fertilizer_nutrients_Results_Future is a wrapper for a Fertilizer_nutrients_Results promised by a client call.

func (Fertilizer_nutrients_Results_Future) Struct

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

type Fertilizer_parameters struct {
	*server.Call
}

Fertilizer_parameters holds the state for a server call to Fertilizer.parameters. See server.Call for documentation.

func (Fertilizer_parameters) AllocResults

AllocResults allocates the results struct.

func (Fertilizer_parameters) Args

Args returns the call's arguments.

type Fertilizer_parameters_Params

type Fertilizer_parameters_Params capnp.Struct

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) 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 (Fertilizer_parameters_Params) Segment

func (Fertilizer_parameters_Params) String

func (Fertilizer_parameters_Params) ToPtr

type Fertilizer_parameters_Params_Future

type Fertilizer_parameters_Params_Future struct{ *capnp.Future }

Fertilizer_parameters_Params_Future is a wrapper for a Fertilizer_parameters_Params promised by a client call.

func (Fertilizer_parameters_Params_Future) Struct

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

type Fertilizer_parameters_Results capnp.Struct

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) 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 (Fertilizer_parameters_Results) Params

func (Fertilizer_parameters_Results) Segment

func (Fertilizer_parameters_Results) SetParams

func (Fertilizer_parameters_Results) String

func (Fertilizer_parameters_Results) ToPtr

type Fertilizer_parameters_Results_Future

type Fertilizer_parameters_Results_Future struct{ *capnp.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 (Fertilizer_parameters_Results_Future) Struct

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

type Nutrient capnp.Struct

func NewNutrient

func NewNutrient(s *capnp.Segment) (Nutrient, error)

func NewRootNutrient

func NewRootNutrient(s *capnp.Segment) (Nutrient, error)

func ReadRootNutrient

func ReadRootNutrient(msg *capnp.Message) (Nutrient, error)

func (Nutrient) DecodeFromPtr

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

func (Nutrient) EncodeAsPtr

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

func (Nutrient) IsValid

func (s Nutrient) IsValid() bool

func (Nutrient) Message

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

func (Nutrient) Nutrient

func (s Nutrient) Nutrient() Nutrient_Name

func (Nutrient) Segment

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

func (Nutrient) SetNutrient

func (s Nutrient) SetNutrient(v Nutrient_Name)

func (Nutrient) SetUnit

func (s Nutrient) SetUnit(v Nutrient_Unit)

func (Nutrient) SetValue

func (s Nutrient) SetValue(v float64)

func (Nutrient) String

func (s Nutrient) String() string

func (Nutrient) ToPtr

func (s Nutrient) ToPtr() capnp.Ptr

func (Nutrient) Unit

func (s Nutrient) Unit() Nutrient_Unit

func (Nutrient) Value

func (s Nutrient) Value() float64

type Nutrient_Future

type Nutrient_Future struct{ *capnp.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

type Params capnp.Struct

func NewParams

func NewParams(s *capnp.Segment) (Params, error)

func NewRootParams

func NewRootParams(s *capnp.Segment) (Params, error)

func ReadRootParams

func ReadRootParams(msg *capnp.Message) (Params, error)

func (Params) DecodeFromPtr

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

func (Params) EncodeAsPtr

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

func (Params) IsValid

func (s Params) IsValid() bool

func (Params) Message

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

func (Params) Segment

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

func (Params) String

func (s Params) String() string

func (Params) ToPtr

func (s Params) ToPtr() capnp.Ptr

type Params_AutomaticHarvest

type Params_AutomaticHarvest capnp.Struct

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

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

func (Params_AutomaticHarvest) Harvest

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 (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

type Params_AutomaticHarvest_Future struct{ *capnp.Future }

Params_AutomaticHarvest_Future is a wrapper for a Params_AutomaticHarvest promised by a client call.

func (Params_AutomaticHarvest_Future) Harvest

func (Params_AutomaticHarvest_Future) Struct

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

type Params_AutomaticSowing capnp.Struct

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

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 (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 (Params_AutomaticSowing) SetTempSumAboveBaseTemp

func (s Params_AutomaticSowing) SetTempSumAboveBaseTemp(v float64)

func (Params_AutomaticSowing) Sowing

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

type Params_AutomaticSowing_AvgSoilTemp capnp.Struct

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

func (Params_AutomaticSowing_AvgSoilTemp) IsValid

func (Params_AutomaticSowing_AvgSoilTemp) Message

func (Params_AutomaticSowing_AvgSoilTemp) 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 (Params_AutomaticSowing_AvgSoilTemp) ToPtr

type Params_AutomaticSowing_AvgSoilTemp_Future

type Params_AutomaticSowing_AvgSoilTemp_Future struct{ *capnp.Future }

Params_AutomaticSowing_AvgSoilTemp_Future is a wrapper for a Params_AutomaticSowing_AvgSoilTemp promised by a client call.

func (Params_AutomaticSowing_AvgSoilTemp_Future) Struct

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

type Params_AutomaticSowing_Future struct{ *capnp.Future }

Params_AutomaticSowing_Future is a wrapper for a Params_AutomaticSowing promised by a client call.

func (Params_AutomaticSowing_Future) AvgSoilTemp

func (Params_AutomaticSowing_Future) Sowing

func (Params_AutomaticSowing_Future) Struct

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

type Params_Cutting capnp.Struct

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

type Params_Cutting_Future struct{ *capnp.Future }

Params_Cutting_Future is a wrapper for a Params_Cutting promised by a client call.

func (Params_Cutting_Future) Struct

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

type Params_Cutting_Spec capnp.Struct

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) 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 (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 (Params_Cutting_Spec) Value

func (s Params_Cutting_Spec) Value() float64

type Params_Cutting_Spec_Future

type Params_Cutting_Spec_Future struct{ *capnp.Future }

Params_Cutting_Spec_Future is a wrapper for a Params_Cutting_Spec promised by a client call.

func (Params_Cutting_Spec_Future) Struct

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

type Params_Future struct{ *capnp.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

type Params_Harvest capnp.Struct

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

type Params_Harvest_Future struct{ *capnp.Future }

Params_Harvest_Future is a wrapper for a Params_Harvest promised by a client call.

func (Params_Harvest_Future) OptCarbMgmtData

func (Params_Harvest_Future) Struct

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

type Params_Harvest_OptCarbonMgmtData capnp.Struct

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 (Params_Harvest_OptCarbonMgmtData) DecodeFromPtr

func (Params_Harvest_OptCarbonMgmtData) EncodeAsPtr

func (Params_Harvest_OptCarbonMgmtData) IsValid

func (Params_Harvest_OptCarbonMgmtData) MaxResidueRecoverFraction

func (s Params_Harvest_OptCarbonMgmtData) MaxResidueRecoverFraction() float64

func (Params_Harvest_OptCarbonMgmtData) 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 (Params_Harvest_OptCarbonMgmtData) Segment

func (Params_Harvest_OptCarbonMgmtData) SetCropImpactOnHumusBalance

func (s Params_Harvest_OptCarbonMgmtData) SetCropImpactOnHumusBalance(v float64)

func (Params_Harvest_OptCarbonMgmtData) SetCropUsage

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 (Params_Harvest_OptCarbonMgmtData) ToPtr

type Params_Harvest_OptCarbonMgmtData_Future

type Params_Harvest_OptCarbonMgmtData_Future struct{ *capnp.Future }

Params_Harvest_OptCarbonMgmtData_Future is a wrapper for a Params_Harvest_OptCarbonMgmtData promised by a client call.

func (Params_Harvest_OptCarbonMgmtData_Future) Struct

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

type Params_Irrigation capnp.Struct

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

type Params_Irrigation_Future struct{ *capnp.Future }

Params_Irrigation_Future is a wrapper for a Params_Irrigation promised by a client call.

func (Params_Irrigation_Future) Struct

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

type Params_MineralFertilization capnp.Struct

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 (Params_MineralFertilization) DecodeFromPtr

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 (Params_MineralFertilization) 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 (Params_MineralFertilization) ToPtr

type Params_MineralFertilization_Future

type Params_MineralFertilization_Future struct{ *capnp.Future }

Params_MineralFertilization_Future is a wrapper for a Params_MineralFertilization promised by a client call.

func (Params_MineralFertilization_Future) Fertilizer

func (Params_MineralFertilization_Future) Struct

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

type Params_NDemandFertilization capnp.Struct

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

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 (Params_NDemandFertilization) NDemand

func (Params_NDemandFertilization) 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 (Params_NDemandFertilization) String

func (Params_NDemandFertilization) ToPtr

type Params_NDemandFertilization_Future

type Params_NDemandFertilization_Future struct{ *capnp.Future }

Params_NDemandFertilization_Future is a wrapper for a Params_NDemandFertilization promised by a client call.

func (Params_NDemandFertilization_Future) Fertilizer

func (Params_NDemandFertilization_Future) Struct

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

type Params_OrganicFertilization capnp.Struct

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 (Params_OrganicFertilization) DecodeFromPtr

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 (Params_OrganicFertilization) 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 (Params_OrganicFertilization) ToPtr

type Params_OrganicFertilization_Future

type Params_OrganicFertilization_Future struct{ *capnp.Future }

Params_OrganicFertilization_Future is a wrapper for a Params_OrganicFertilization promised by a client call.

func (Params_OrganicFertilization_Future) Fertilizer

func (Params_OrganicFertilization_Future) Struct

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

type Params_Sowing capnp.Struct

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

func (s Params_Sowing) SetCrop(v crop.Crop) error

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

type Params_Sowing_Future struct{ *capnp.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

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

type Params_Tillage capnp.Struct

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

type Params_Tillage_Future struct{ *capnp.Future }

Params_Tillage_Future is a wrapper for a Params_Tillage promised by a client call.

func (Params_Tillage_Future) Struct

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

type Service capnp.Client

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

func (c Service) AddRef() Service

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

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

func (Service) EncodeAsPtr

func (c Service) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Service) GetFlowLimiter

func (c Service) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (Service) IsSame

func (c Service) IsSame(other Service) 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 (Service) IsValid

func (c Service) 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 (Service) ManagementAt

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

func (c Service) Resolve(ctx context.Context) error

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

func (c Service) 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 (Service) WaitStreaming

func (c Service) WaitStreaming() error

type Service_List

type Service_List = capnp.CapList[Service]

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

type Service_managementAt struct {
	*server.Call
}

Service_managementAt holds the state for a server call to Service.managementAt. See server.Call for documentation.

func (Service_managementAt) AllocResults

AllocResults allocates the results struct.

func (Service_managementAt) Args

Args returns the call's arguments.

type Service_managementAt_Results

type Service_managementAt_Results capnp.Struct

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) 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 (Service_managementAt_Results) Mgmt

func (Service_managementAt_Results) NewMgmt

NewMgmt sets the mgmt field to a newly allocated Event_List, preferring placement in s's segment.

func (Service_managementAt_Results) Segment

func (Service_managementAt_Results) SetMgmt

func (Service_managementAt_Results) String

func (Service_managementAt_Results) ToPtr

type Service_managementAt_Results_Future

type Service_managementAt_Results_Future struct{ *capnp.Future }

Service_managementAt_Results_Future is a wrapper for a Service_managementAt_Results promised by a client call.

func (Service_managementAt_Results_Future) Struct

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.

Jump to

Keyboard shortcuts

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