eieiorpc

package
v0.0.0-...-5d17bb0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package eieiorpc is a generated protocol buffer package.

It is generated from these files:

eieio.proto

It has these top-level messages:

StringInput
StringList
Selectors
Selection
Year
Point
Rectangle
Rectangles
GeometryInput
ColorInfo
FinalDemandInput
DemographicConsumptionInput
Demograph
ConcentrationMatrixInput
ConcentrationInput
EmissionsMatrixInput
EmissionsInput
HealthMatrixInput
HealthInput
Vector
Mask
Matrix
EvaluationHealthInput
EvaluationConcentrationsInput
ConcentrationResponseAverageInput
PopulationCountInput
PopulationCountDemInput
PopulationIncidenceDemInput
PopulationIncidenceDemOutput
PopulationIncidenceInput
PopulationIncidenceOutput

Index

Constants

This section is empty.

Variables

View Source
var Decile_name = map[int]string{
	0:  "LowestTen",
	1:  "SecondLowestTen",
	2:  "ThirdLowestTen",
	3:  "FourthLowestTen",
	4:  "FifthLowestTen",
	5:  "SixthLowestTen",
	6:  "SeventhLowestTen",
	7:  "EighthLowestTen",
	8:  "NinthLowestTen",
	9:  "HighestTen",
	10: "Decile_All",
}
View Source
var Decile_value = map[string]int{
	"LowestTen":        0,
	"SecondLowestTen":  1,
	"ThirdLowestTen":   2,
	"FourthLowestTen":  3,
	"FifthLowestTen":   4,
	"SixthLowestTen":   5,
	"SeventhLowestTen": 6,
	"EighthLowestTen":  7,
	"NinthLowestTen":   8,
	"HighestTen":       9,
	"Decile_All":       10,
}
View Source
var Emission_name = map[int]string{
	0: "PM25",
	1: "NH3",
	2: "NOx",
	3: "SOx",
	4: "VOC",
}
View Source
var Emission_value = map[string]int{
	"PM25": 0,
	"NH3":  1,
	"NOx":  2,
	"SOx":  3,
	"VOC":  4,
}
View Source
var Ethnicity_name = map[int]string{
	0: "Black",
	1: "Hispanic",
	2: "WhiteOther",
	3: "Ethnicity_All",
}
View Source
var Ethnicity_value = map[string]int{
	"Black":         0,
	"Hispanic":      1,
	"WhiteOther":    2,
	"Ethnicity_All": 3,
}
View Source
var FinalDemandType_name = map[int]string{
	0:  "PersonalConsumption",
	1:  "PrivateStructures",
	2:  "PrivateEquipment",
	3:  "PrivateIP",
	4:  "PrivateResidential",
	5:  "InventoryChange",
	6:  "Export",
	7:  "DefenseConsumption",
	8:  "DefenseStructures",
	9:  "DefenseEquipment",
	10: "DefenseIP",
	11: "NondefenseConsumption",
	12: "NondefenseStructures",
	13: "NondefenseEquipment",
	14: "NondefenseIP",
	15: "LocalConsumption",
	16: "LocalStructures",
	17: "LocalEquipment",
	18: "LocalIP",
	19: "AllDemand",
	20: "NonExport",
}
View Source
var FinalDemandType_value = map[string]int{
	"PersonalConsumption":   0,
	"PrivateStructures":     1,
	"PrivateEquipment":      2,
	"PrivateIP":             3,
	"PrivateResidential":    4,
	"InventoryChange":       5,
	"Export":                6,
	"DefenseConsumption":    7,
	"DefenseStructures":     8,
	"DefenseEquipment":      9,
	"DefenseIP":             10,
	"NondefenseConsumption": 11,
	"NondefenseStructures":  12,
	"NondefenseEquipment":   13,
	"NondefenseIP":          14,
	"LocalConsumption":      15,
	"LocalStructures":       16,
	"LocalEquipment":        17,
	"LocalIP":               18,
	"AllDemand":             19,
	"NonExport":             20,
}
View Source
var Location_name = map[int]string{
	0: "Domestic",
	1: "Imported",
	2: "Total",
}
View Source
var Location_value = map[string]int{
	"Domestic": 0,
	"Imported": 1,
	"Total":    2,
}
View Source
var Pollutant_name = map[int]string{
	0: "PNH4",
	1: "PNO3",
	2: "PSO4",
	3: "SOA",
	4: "PrimaryPM25",
	5: "TotalPM25",
}
View Source
var Pollutant_value = map[string]int{
	"PNH4":        0,
	"PNO3":        1,
	"PSO4":        2,
	"SOA":         3,
	"PrimaryPM25": 4,
	"TotalPM25":   5,
}

Functions

This section is empty.

Types

type ColorInfo

type ColorInfo struct {
	RGB    [][]byte
	Legend string
}

func (*ColorInfo) GetLegend

func (m *ColorInfo) GetLegend() (x string)

GetLegend gets the Legend of the ColorInfo.

func (*ColorInfo) GetRGB

func (m *ColorInfo) GetRGB() (x [][]byte)

GetRGB gets the RGB of the ColorInfo.

func (*ColorInfo) Marshal

func (m *ColorInfo) Marshal() []byte

Marshal marshals ColorInfo to a slice of bytes.

func (*ColorInfo) MarshalToWriter

func (m *ColorInfo) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals ColorInfo to the provided writer.

func (*ColorInfo) Unmarshal

func (m *ColorInfo) Unmarshal(rawBytes []byte) (*ColorInfo, error)

Unmarshal unmarshals a ColorInfo from a slice of bytes.

func (*ColorInfo) UnmarshalFromReader

func (m *ColorInfo) UnmarshalFromReader(reader jspb.Reader) *ColorInfo

UnmarshalFromReader unmarshals a ColorInfo from the provided reader.

type ConcentrationInput

type ConcentrationInput struct {
	Demand    *Vector
	Emitters  *Mask
	Pollutant Pollutant
	Year      int32
	Location  Location
	AQM       string
}

func (*ConcentrationInput) GetAQM

func (m *ConcentrationInput) GetAQM() (x string)

GetAQM gets the AQM of the ConcentrationInput.

func (*ConcentrationInput) GetDemand

func (m *ConcentrationInput) GetDemand() (x *Vector)

GetDemand gets the Demand of the ConcentrationInput.

func (*ConcentrationInput) GetEmitters

func (m *ConcentrationInput) GetEmitters() (x *Mask)

GetEmitters gets the Emitters of the ConcentrationInput.

func (*ConcentrationInput) GetLocation

func (m *ConcentrationInput) GetLocation() (x Location)

GetLocation gets the Location of the ConcentrationInput.

func (*ConcentrationInput) GetPollutant

func (m *ConcentrationInput) GetPollutant() (x Pollutant)

GetPollutant gets the Pollutant of the ConcentrationInput.

func (*ConcentrationInput) GetYear

func (m *ConcentrationInput) GetYear() (x int32)

GetYear gets the Year of the ConcentrationInput.

func (*ConcentrationInput) Marshal

func (m *ConcentrationInput) Marshal() []byte

Marshal marshals ConcentrationInput to a slice of bytes.

func (*ConcentrationInput) MarshalToWriter

func (m *ConcentrationInput) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals ConcentrationInput to the provided writer.

func (*ConcentrationInput) Unmarshal

func (m *ConcentrationInput) Unmarshal(rawBytes []byte) (*ConcentrationInput, error)

Unmarshal unmarshals a ConcentrationInput from a slice of bytes.

func (*ConcentrationInput) UnmarshalFromReader

func (m *ConcentrationInput) UnmarshalFromReader(reader jspb.Reader) *ConcentrationInput

UnmarshalFromReader unmarshals a ConcentrationInput from the provided reader.

type ConcentrationMatrixInput

type ConcentrationMatrixInput struct {
	Demand    *Vector
	Pollutant Pollutant
	Year      int32
	Location  Location
	AQM       string
}

func (*ConcentrationMatrixInput) GetAQM

func (m *ConcentrationMatrixInput) GetAQM() (x string)

GetAQM gets the AQM of the ConcentrationMatrixInput.

func (*ConcentrationMatrixInput) GetDemand

func (m *ConcentrationMatrixInput) GetDemand() (x *Vector)

GetDemand gets the Demand of the ConcentrationMatrixInput.

func (*ConcentrationMatrixInput) GetLocation

func (m *ConcentrationMatrixInput) GetLocation() (x Location)

GetLocation gets the Location of the ConcentrationMatrixInput.

func (*ConcentrationMatrixInput) GetPollutant

func (m *ConcentrationMatrixInput) GetPollutant() (x Pollutant)

GetPollutant gets the Pollutant of the ConcentrationMatrixInput.

func (*ConcentrationMatrixInput) GetYear

func (m *ConcentrationMatrixInput) GetYear() (x int32)

GetYear gets the Year of the ConcentrationMatrixInput.

func (*ConcentrationMatrixInput) Marshal

func (m *ConcentrationMatrixInput) Marshal() []byte

Marshal marshals ConcentrationMatrixInput to a slice of bytes.

func (*ConcentrationMatrixInput) MarshalToWriter

func (m *ConcentrationMatrixInput) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals ConcentrationMatrixInput to the provided writer.

func (*ConcentrationMatrixInput) Unmarshal

func (m *ConcentrationMatrixInput) Unmarshal(rawBytes []byte) (*ConcentrationMatrixInput, error)

Unmarshal unmarshals a ConcentrationMatrixInput from a slice of bytes.

func (*ConcentrationMatrixInput) UnmarshalFromReader

func (m *ConcentrationMatrixInput) UnmarshalFromReader(reader jspb.Reader) *ConcentrationMatrixInput

UnmarshalFromReader unmarshals a ConcentrationMatrixInput from the provided reader.

type ConcentrationResponseAverageInput

type ConcentrationResponseAverageInput struct {
	Year       int32
	Population string
	HR         string
	AQM        string
}

func (*ConcentrationResponseAverageInput) GetAQM

func (m *ConcentrationResponseAverageInput) GetAQM() (x string)

GetAQM gets the AQM of the ConcentrationResponseAverageInput.

func (*ConcentrationResponseAverageInput) GetHR

GetHR gets the HR of the ConcentrationResponseAverageInput.

func (*ConcentrationResponseAverageInput) GetPopulation

func (m *ConcentrationResponseAverageInput) GetPopulation() (x string)

GetPopulation gets the Population of the ConcentrationResponseAverageInput.

func (*ConcentrationResponseAverageInput) GetYear

func (m *ConcentrationResponseAverageInput) GetYear() (x int32)

GetYear gets the Year of the ConcentrationResponseAverageInput.

func (*ConcentrationResponseAverageInput) Marshal

func (m *ConcentrationResponseAverageInput) Marshal() []byte

Marshal marshals ConcentrationResponseAverageInput to a slice of bytes.

func (*ConcentrationResponseAverageInput) MarshalToWriter

func (m *ConcentrationResponseAverageInput) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals ConcentrationResponseAverageInput to the provided writer.

func (*ConcentrationResponseAverageInput) Unmarshal

Unmarshal unmarshals a ConcentrationResponseAverageInput from a slice of bytes.

func (*ConcentrationResponseAverageInput) UnmarshalFromReader

UnmarshalFromReader unmarshals a ConcentrationResponseAverageInput from the provided reader.

type Decile

type Decile int
const (
	Decile_LowestTen        Decile = 0
	Decile_SecondLowestTen  Decile = 1
	Decile_ThirdLowestTen   Decile = 2
	Decile_FourthLowestTen  Decile = 3
	Decile_FifthLowestTen   Decile = 4
	Decile_SixthLowestTen   Decile = 5
	Decile_SeventhLowestTen Decile = 6
	Decile_EighthLowestTen  Decile = 7
	Decile_NinthLowestTen   Decile = 8
	Decile_HighestTen       Decile = 9
	Decile_Decile_All       Decile = 10
)

func (Decile) String

func (x Decile) String() string

type Demograph

type Demograph struct {
	// Types that are valid to be assigned to Demographic:
	//	*Demograph_Ethnicity
	//	*Demograph_Decile
	Demographic isDemograph_Demographic
}

These are the included demographic groups.

func (*Demograph) GetDecile

func (m *Demograph) GetDecile() (x Decile)

GetDecile gets the Decile of the Demograph.

func (*Demograph) GetDemographic

func (m *Demograph) GetDemographic() (x isDemograph_Demographic)

GetDemographic gets the Demographic of the Demograph.

func (*Demograph) GetEthnicity

func (m *Demograph) GetEthnicity() (x Ethnicity)

GetEthnicity gets the Ethnicity of the Demograph.

func (*Demograph) Marshal

func (m *Demograph) Marshal() []byte

Marshal marshals Demograph to a slice of bytes.

func (*Demograph) MarshalToWriter

func (m *Demograph) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals Demograph to the provided writer.

func (*Demograph) Unmarshal

func (m *Demograph) Unmarshal(rawBytes []byte) (*Demograph, error)

Unmarshal unmarshals a Demograph from a slice of bytes.

func (*Demograph) UnmarshalFromReader

func (m *Demograph) UnmarshalFromReader(reader jspb.Reader) *Demograph

UnmarshalFromReader unmarshals a Demograph from the provided reader.

type Demograph_Decile

type Demograph_Decile struct {
	Decile Decile
}

Demograph_Decile is assignable to Demographic

type Demograph_Ethnicity

type Demograph_Ethnicity struct {
	Ethnicity Ethnicity
}

Demograph_Ethnicity is assignable to Demographic

type DemographicConsumptionInput

type DemographicConsumptionInput struct {
	Demograph  *Demograph
	EndUseMask *Mask
	Year       int32
}

func (*DemographicConsumptionInput) GetDemograph

func (m *DemographicConsumptionInput) GetDemograph() (x *Demograph)

GetDemograph gets the Demograph of the DemographicConsumptionInput.

func (*DemographicConsumptionInput) GetEndUseMask

func (m *DemographicConsumptionInput) GetEndUseMask() (x *Mask)

GetEndUseMask gets the EndUseMask of the DemographicConsumptionInput.

func (*DemographicConsumptionInput) GetYear

func (m *DemographicConsumptionInput) GetYear() (x int32)

GetYear gets the Year of the DemographicConsumptionInput.

func (*DemographicConsumptionInput) Marshal

func (m *DemographicConsumptionInput) Marshal() []byte

Marshal marshals DemographicConsumptionInput to a slice of bytes.

func (*DemographicConsumptionInput) MarshalToWriter

func (m *DemographicConsumptionInput) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals DemographicConsumptionInput to the provided writer.

func (*DemographicConsumptionInput) Unmarshal

Unmarshal unmarshals a DemographicConsumptionInput from a slice of bytes.

func (*DemographicConsumptionInput) UnmarshalFromReader

func (m *DemographicConsumptionInput) UnmarshalFromReader(reader jspb.Reader) *DemographicConsumptionInput

UnmarshalFromReader unmarshals a DemographicConsumptionInput from the provided reader.

type EIEIOrpcClient

type EIEIOrpcClient interface {
	EndUseGroups(ctx context.Context, in *Selection, opts ...grpcweb.CallOption) (*Selectors, error)
	EndUseSectors(ctx context.Context, in *Selection, opts ...grpcweb.CallOption) (*Selectors, error)
	EmitterGroups(ctx context.Context, in *Selection, opts ...grpcweb.CallOption) (*Selectors, error)
	EmitterSectors(ctx context.Context, in *Selection, opts ...grpcweb.CallOption) (*Selectors, error)
	Years(ctx context.Context, in *Selection, opts ...grpcweb.CallOption) (*Year, error)
	DefaultSelection(ctx context.Context, in *Selection, opts ...grpcweb.CallOption) (*Selection, error)
	Populations(ctx context.Context, in *Selection, opts ...grpcweb.CallOption) (*Selectors, error)
	MapInfo(ctx context.Context, in *Selection, opts ...grpcweb.CallOption) (*ColorInfo, error)
	Geometry(ctx context.Context, in *GeometryInput, opts ...grpcweb.CallOption) (*Rectangles, error)
	Concentrations(ctx context.Context, in *ConcentrationInput, opts ...grpcweb.CallOption) (*Vector, error)
	ConcentrationMatrix(ctx context.Context, in *ConcentrationMatrixInput, opts ...grpcweb.CallOption) (*Matrix, error)
	Emissions(ctx context.Context, in *EmissionsInput, opts ...grpcweb.CallOption) (*Vector, error)
	EmissionsMatrix(ctx context.Context, in *EmissionsMatrixInput, opts ...grpcweb.CallOption) (*Matrix, error)
	Health(ctx context.Context, in *HealthInput, opts ...grpcweb.CallOption) (*Vector, error)
	HealthMatrix(ctx context.Context, in *HealthMatrixInput, opts ...grpcweb.CallOption) (*Matrix, error)
	EvaluationHealth(ctx context.Context, in *EvaluationHealthInput, opts ...grpcweb.CallOption) (*Vector, error)
	EvaluationConcentrations(ctx context.Context, in *EvaluationConcentrationsInput, opts ...grpcweb.CallOption) (*Vector, error)
	ConcentrationResponseAverage(ctx context.Context, in *ConcentrationResponseAverageInput, opts ...grpcweb.CallOption) (*Vector, error)
	PopulationIncidenceDem(ctx context.Context, in *PopulationIncidenceDemInput, opts ...grpcweb.CallOption) (*PopulationIncidenceDemOutput, error)
	PopulationIncidence(ctx context.Context, in *PopulationIncidenceInput, opts ...grpcweb.CallOption) (*PopulationIncidenceOutput, error)
	FinalDemand(ctx context.Context, in *FinalDemandInput, opts ...grpcweb.CallOption) (*Vector, error)
	EndUseMask(ctx context.Context, in *StringInput, opts ...grpcweb.CallOption) (*Mask, error)
	EmitterMask(ctx context.Context, in *StringInput, opts ...grpcweb.CallOption) (*Mask, error)
	EndUseGroupNames(ctx context.Context, in *StringInput, opts ...grpcweb.CallOption) (*StringList, error)
	EndUseGroupAbbrevs(ctx context.Context, in *StringInput, opts ...grpcweb.CallOption) (*StringList, error)
	EmitterGroupNames(ctx context.Context, in *StringInput, opts ...grpcweb.CallOption) (*StringList, error)
	EmitterGroupAbbrevs(ctx context.Context, in *StringInput, opts ...grpcweb.CallOption) (*StringList, error)
	Commodities(ctx context.Context, in *StringInput, opts ...grpcweb.CallOption) (*StringList, error)
	Industries(ctx context.Context, in *StringInput, opts ...grpcweb.CallOption) (*StringList, error)
	DemographicConsumption(ctx context.Context, in *DemographicConsumptionInput, opts ...grpcweb.CallOption) (*Vector, error)
}

func NewEIEIOrpcClient

func NewEIEIOrpcClient(hostname string, opts ...grpcweb.DialOption) EIEIOrpcClient

NewEIEIOrpcClient creates a new gRPC-Web client.

type Emission

type Emission int
const (
	Emission_PM25 Emission = 0
	Emission_NH3  Emission = 1
	Emission_NOx  Emission = 2
	Emission_SOx  Emission = 3
	Emission_VOC  Emission = 4
)

func (Emission) String

func (x Emission) String() string

type EmissionsInput

type EmissionsInput struct {
	Demand   *Vector
	Emitters *Mask
	Emission Emission
	Year     int32
	Location Location
	AQM      string
}

func (*EmissionsInput) GetAQM

func (m *EmissionsInput) GetAQM() (x string)

GetAQM gets the AQM of the EmissionsInput.

func (*EmissionsInput) GetDemand

func (m *EmissionsInput) GetDemand() (x *Vector)

GetDemand gets the Demand of the EmissionsInput.

func (*EmissionsInput) GetEmission

func (m *EmissionsInput) GetEmission() (x Emission)

GetEmission gets the Emission of the EmissionsInput.

func (*EmissionsInput) GetEmitters

func (m *EmissionsInput) GetEmitters() (x *Mask)

GetEmitters gets the Emitters of the EmissionsInput.

func (*EmissionsInput) GetLocation

func (m *EmissionsInput) GetLocation() (x Location)

GetLocation gets the Location of the EmissionsInput.

func (*EmissionsInput) GetYear

func (m *EmissionsInput) GetYear() (x int32)

GetYear gets the Year of the EmissionsInput.

func (*EmissionsInput) Marshal

func (m *EmissionsInput) Marshal() []byte

Marshal marshals EmissionsInput to a slice of bytes.

func (*EmissionsInput) MarshalToWriter

func (m *EmissionsInput) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals EmissionsInput to the provided writer.

func (*EmissionsInput) Unmarshal

func (m *EmissionsInput) Unmarshal(rawBytes []byte) (*EmissionsInput, error)

Unmarshal unmarshals a EmissionsInput from a slice of bytes.

func (*EmissionsInput) UnmarshalFromReader

func (m *EmissionsInput) UnmarshalFromReader(reader jspb.Reader) *EmissionsInput

UnmarshalFromReader unmarshals a EmissionsInput from the provided reader.

type EmissionsMatrixInput

type EmissionsMatrixInput struct {
	Demand   *Vector
	Emission Emission
	Year     int32
	Location Location
	AQM      string
}

func (*EmissionsMatrixInput) GetAQM

func (m *EmissionsMatrixInput) GetAQM() (x string)

GetAQM gets the AQM of the EmissionsMatrixInput.

func (*EmissionsMatrixInput) GetDemand

func (m *EmissionsMatrixInput) GetDemand() (x *Vector)

GetDemand gets the Demand of the EmissionsMatrixInput.

func (*EmissionsMatrixInput) GetEmission

func (m *EmissionsMatrixInput) GetEmission() (x Emission)

GetEmission gets the Emission of the EmissionsMatrixInput.

func (*EmissionsMatrixInput) GetLocation

func (m *EmissionsMatrixInput) GetLocation() (x Location)

GetLocation gets the Location of the EmissionsMatrixInput.

func (*EmissionsMatrixInput) GetYear

func (m *EmissionsMatrixInput) GetYear() (x int32)

GetYear gets the Year of the EmissionsMatrixInput.

func (*EmissionsMatrixInput) Marshal

func (m *EmissionsMatrixInput) Marshal() []byte

Marshal marshals EmissionsMatrixInput to a slice of bytes.

func (*EmissionsMatrixInput) MarshalToWriter

func (m *EmissionsMatrixInput) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals EmissionsMatrixInput to the provided writer.

func (*EmissionsMatrixInput) Unmarshal

func (m *EmissionsMatrixInput) Unmarshal(rawBytes []byte) (*EmissionsMatrixInput, error)

Unmarshal unmarshals a EmissionsMatrixInput from a slice of bytes.

func (*EmissionsMatrixInput) UnmarshalFromReader

func (m *EmissionsMatrixInput) UnmarshalFromReader(reader jspb.Reader) *EmissionsMatrixInput

UnmarshalFromReader unmarshals a EmissionsMatrixInput from the provided reader.

type Ethnicity

type Ethnicity int
const (
	Ethnicity_Black         Ethnicity = 0
	Ethnicity_Hispanic      Ethnicity = 1
	Ethnicity_WhiteOther    Ethnicity = 2
	Ethnicity_Ethnicity_All Ethnicity = 3
)

func (Ethnicity) String

func (x Ethnicity) String() string

type EvaluationConcentrationsInput

type EvaluationConcentrationsInput struct {
	Year      int32
	Pollutant Pollutant
	AQM       string
}

func (*EvaluationConcentrationsInput) GetAQM

func (m *EvaluationConcentrationsInput) GetAQM() (x string)

GetAQM gets the AQM of the EvaluationConcentrationsInput.

func (*EvaluationConcentrationsInput) GetPollutant

func (m *EvaluationConcentrationsInput) GetPollutant() (x Pollutant)

GetPollutant gets the Pollutant of the EvaluationConcentrationsInput.

func (*EvaluationConcentrationsInput) GetYear

func (m *EvaluationConcentrationsInput) GetYear() (x int32)

GetYear gets the Year of the EvaluationConcentrationsInput.

func (*EvaluationConcentrationsInput) Marshal

func (m *EvaluationConcentrationsInput) Marshal() []byte

Marshal marshals EvaluationConcentrationsInput to a slice of bytes.

func (*EvaluationConcentrationsInput) MarshalToWriter

func (m *EvaluationConcentrationsInput) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals EvaluationConcentrationsInput to the provided writer.

func (*EvaluationConcentrationsInput) Unmarshal

Unmarshal unmarshals a EvaluationConcentrationsInput from a slice of bytes.

func (*EvaluationConcentrationsInput) UnmarshalFromReader

UnmarshalFromReader unmarshals a EvaluationConcentrationsInput from the provided reader.

type EvaluationHealthInput

type EvaluationHealthInput struct {
	Year       int32
	Pollutant  Pollutant
	Population string
	HR         string
	AQM        string
}

func (*EvaluationHealthInput) GetAQM

func (m *EvaluationHealthInput) GetAQM() (x string)

GetAQM gets the AQM of the EvaluationHealthInput.

func (*EvaluationHealthInput) GetHR

func (m *EvaluationHealthInput) GetHR() (x string)

GetHR gets the HR of the EvaluationHealthInput.

func (*EvaluationHealthInput) GetPollutant

func (m *EvaluationHealthInput) GetPollutant() (x Pollutant)

GetPollutant gets the Pollutant of the EvaluationHealthInput.

func (*EvaluationHealthInput) GetPopulation

func (m *EvaluationHealthInput) GetPopulation() (x string)

GetPopulation gets the Population of the EvaluationHealthInput.

func (*EvaluationHealthInput) GetYear

func (m *EvaluationHealthInput) GetYear() (x int32)

GetYear gets the Year of the EvaluationHealthInput.

func (*EvaluationHealthInput) Marshal

func (m *EvaluationHealthInput) Marshal() []byte

Marshal marshals EvaluationHealthInput to a slice of bytes.

func (*EvaluationHealthInput) MarshalToWriter

func (m *EvaluationHealthInput) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals EvaluationHealthInput to the provided writer.

func (*EvaluationHealthInput) Unmarshal

func (m *EvaluationHealthInput) Unmarshal(rawBytes []byte) (*EvaluationHealthInput, error)

Unmarshal unmarshals a EvaluationHealthInput from a slice of bytes.

func (*EvaluationHealthInput) UnmarshalFromReader

func (m *EvaluationHealthInput) UnmarshalFromReader(reader jspb.Reader) *EvaluationHealthInput

UnmarshalFromReader unmarshals a EvaluationHealthInput from the provided reader.

type FinalDemandInput

type FinalDemandInput struct {
	FinalDemandType FinalDemandType
	EndUseMask      *Mask
	Year            int32
	Location        Location
}

func (*FinalDemandInput) GetEndUseMask

func (m *FinalDemandInput) GetEndUseMask() (x *Mask)

GetEndUseMask gets the EndUseMask of the FinalDemandInput.

func (*FinalDemandInput) GetFinalDemandType

func (m *FinalDemandInput) GetFinalDemandType() (x FinalDemandType)

GetFinalDemandType gets the FinalDemandType of the FinalDemandInput.

func (*FinalDemandInput) GetLocation

func (m *FinalDemandInput) GetLocation() (x Location)

GetLocation gets the Location of the FinalDemandInput.

func (*FinalDemandInput) GetYear

func (m *FinalDemandInput) GetYear() (x int32)

GetYear gets the Year of the FinalDemandInput.

func (*FinalDemandInput) Marshal

func (m *FinalDemandInput) Marshal() []byte

Marshal marshals FinalDemandInput to a slice of bytes.

func (*FinalDemandInput) MarshalToWriter

func (m *FinalDemandInput) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals FinalDemandInput to the provided writer.

func (*FinalDemandInput) Unmarshal

func (m *FinalDemandInput) Unmarshal(rawBytes []byte) (*FinalDemandInput, error)

Unmarshal unmarshals a FinalDemandInput from a slice of bytes.

func (*FinalDemandInput) UnmarshalFromReader

func (m *FinalDemandInput) UnmarshalFromReader(reader jspb.Reader) *FinalDemandInput

UnmarshalFromReader unmarshals a FinalDemandInput from the provided reader.

type FinalDemandType

type FinalDemandType int
const (
	// This group of demand types is directly available in the spreadsheet.
	FinalDemandType_PersonalConsumption   FinalDemandType = 0
	FinalDemandType_PrivateStructures     FinalDemandType = 1
	FinalDemandType_PrivateEquipment      FinalDemandType = 2
	FinalDemandType_PrivateIP             FinalDemandType = 3
	FinalDemandType_PrivateResidential    FinalDemandType = 4
	FinalDemandType_InventoryChange       FinalDemandType = 5
	FinalDemandType_Export                FinalDemandType = 6
	FinalDemandType_DefenseConsumption    FinalDemandType = 7
	FinalDemandType_DefenseStructures     FinalDemandType = 8
	FinalDemandType_DefenseEquipment      FinalDemandType = 9
	FinalDemandType_DefenseIP             FinalDemandType = 10
	FinalDemandType_NondefenseConsumption FinalDemandType = 11
	FinalDemandType_NondefenseStructures  FinalDemandType = 12
	FinalDemandType_NondefenseEquipment   FinalDemandType = 13
	FinalDemandType_NondefenseIP          FinalDemandType = 14
	FinalDemandType_LocalConsumption      FinalDemandType = 15
	FinalDemandType_LocalStructures       FinalDemandType = 16
	FinalDemandType_LocalEquipment        FinalDemandType = 17
	FinalDemandType_LocalIP               FinalDemandType = 18
	// This group of demand types consists of aggregates of the
	// above types.
	FinalDemandType_AllDemand FinalDemandType = 19
	FinalDemandType_NonExport FinalDemandType = 20
)

func (FinalDemandType) String

func (x FinalDemandType) String() string

type GeometryInput

type GeometryInput struct {
	SpatialReference string
	AQM              string
}

func (*GeometryInput) GetAQM

func (m *GeometryInput) GetAQM() (x string)

GetAQM gets the AQM of the GeometryInput.

func (*GeometryInput) GetSpatialReference

func (m *GeometryInput) GetSpatialReference() (x string)

GetSpatialReference gets the SpatialReference of the GeometryInput.

func (*GeometryInput) Marshal

func (m *GeometryInput) Marshal() []byte

Marshal marshals GeometryInput to a slice of bytes.

func (*GeometryInput) MarshalToWriter

func (m *GeometryInput) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals GeometryInput to the provided writer.

func (*GeometryInput) Unmarshal

func (m *GeometryInput) Unmarshal(rawBytes []byte) (*GeometryInput, error)

Unmarshal unmarshals a GeometryInput from a slice of bytes.

func (*GeometryInput) UnmarshalFromReader

func (m *GeometryInput) UnmarshalFromReader(reader jspb.Reader) *GeometryInput

UnmarshalFromReader unmarshals a GeometryInput from the provided reader.

type HealthInput

type HealthInput struct {
	Demand      *Vector
	EmitterMask *Mask
	Pollutant   Pollutant
	Population  string
	Year        int32
	Location    Location
	HR          string
	AQM         string
}

func (*HealthInput) GetAQM

func (m *HealthInput) GetAQM() (x string)

GetAQM gets the AQM of the HealthInput.

func (*HealthInput) GetDemand

func (m *HealthInput) GetDemand() (x *Vector)

GetDemand gets the Demand of the HealthInput.

func (*HealthInput) GetEmitterMask

func (m *HealthInput) GetEmitterMask() (x *Mask)

GetEmitterMask gets the EmitterMask of the HealthInput.

func (*HealthInput) GetHR

func (m *HealthInput) GetHR() (x string)

GetHR gets the HR of the HealthInput.

func (*HealthInput) GetLocation

func (m *HealthInput) GetLocation() (x Location)

GetLocation gets the Location of the HealthInput.

func (*HealthInput) GetPollutant

func (m *HealthInput) GetPollutant() (x Pollutant)

GetPollutant gets the Pollutant of the HealthInput.

func (*HealthInput) GetPopulation

func (m *HealthInput) GetPopulation() (x string)

GetPopulation gets the Population of the HealthInput.

func (*HealthInput) GetYear

func (m *HealthInput) GetYear() (x int32)

GetYear gets the Year of the HealthInput.

func (*HealthInput) Marshal

func (m *HealthInput) Marshal() []byte

Marshal marshals HealthInput to a slice of bytes.

func (*HealthInput) MarshalToWriter

func (m *HealthInput) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals HealthInput to the provided writer.

func (*HealthInput) Unmarshal

func (m *HealthInput) Unmarshal(rawBytes []byte) (*HealthInput, error)

Unmarshal unmarshals a HealthInput from a slice of bytes.

func (*HealthInput) UnmarshalFromReader

func (m *HealthInput) UnmarshalFromReader(reader jspb.Reader) *HealthInput

UnmarshalFromReader unmarshals a HealthInput from the provided reader.

type HealthMatrixInput

type HealthMatrixInput struct {
	Demand     *Vector
	Pollutant  Pollutant
	Population string
	Year       int32
	Location   Location
	HR         string
	AQM        string
}

func (*HealthMatrixInput) GetAQM

func (m *HealthMatrixInput) GetAQM() (x string)

GetAQM gets the AQM of the HealthMatrixInput.

func (*HealthMatrixInput) GetDemand

func (m *HealthMatrixInput) GetDemand() (x *Vector)

GetDemand gets the Demand of the HealthMatrixInput.

func (*HealthMatrixInput) GetHR

func (m *HealthMatrixInput) GetHR() (x string)

GetHR gets the HR of the HealthMatrixInput.

func (*HealthMatrixInput) GetLocation

func (m *HealthMatrixInput) GetLocation() (x Location)

GetLocation gets the Location of the HealthMatrixInput.

func (*HealthMatrixInput) GetPollutant

func (m *HealthMatrixInput) GetPollutant() (x Pollutant)

GetPollutant gets the Pollutant of the HealthMatrixInput.

func (*HealthMatrixInput) GetPopulation

func (m *HealthMatrixInput) GetPopulation() (x string)

GetPopulation gets the Population of the HealthMatrixInput.

func (*HealthMatrixInput) GetYear

func (m *HealthMatrixInput) GetYear() (x int32)

GetYear gets the Year of the HealthMatrixInput.

func (*HealthMatrixInput) Marshal

func (m *HealthMatrixInput) Marshal() []byte

Marshal marshals HealthMatrixInput to a slice of bytes.

func (*HealthMatrixInput) MarshalToWriter

func (m *HealthMatrixInput) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals HealthMatrixInput to the provided writer.

func (*HealthMatrixInput) Unmarshal

func (m *HealthMatrixInput) Unmarshal(rawBytes []byte) (*HealthMatrixInput, error)

Unmarshal unmarshals a HealthMatrixInput from a slice of bytes.

func (*HealthMatrixInput) UnmarshalFromReader

func (m *HealthMatrixInput) UnmarshalFromReader(reader jspb.Reader) *HealthMatrixInput

UnmarshalFromReader unmarshals a HealthMatrixInput from the provided reader.

type Location

type Location int
const (
	Location_Domestic Location = 0
	Location_Imported Location = 1
	Location_Total    Location = 2
)

func (Location) String

func (x Location) String() string

type Mask

type Mask struct {
	Data []float64
}

func (*Mask) GetData

func (m *Mask) GetData() (x []float64)

GetData gets the Data of the Mask.

func (*Mask) Marshal

func (m *Mask) Marshal() []byte

Marshal marshals Mask to a slice of bytes.

func (*Mask) MarshalToWriter

func (m *Mask) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals Mask to the provided writer.

func (*Mask) Unmarshal

func (m *Mask) Unmarshal(rawBytes []byte) (*Mask, error)

Unmarshal unmarshals a Mask from a slice of bytes.

func (*Mask) UnmarshalFromReader

func (m *Mask) UnmarshalFromReader(reader jspb.Reader) *Mask

UnmarshalFromReader unmarshals a Mask from the provided reader.

type Matrix

type Matrix struct {
	Rows int32
	Cols int32
	Data []float64
}

func (*Matrix) GetCols

func (m *Matrix) GetCols() (x int32)

GetCols gets the Cols of the Matrix.

func (*Matrix) GetData

func (m *Matrix) GetData() (x []float64)

GetData gets the Data of the Matrix.

func (*Matrix) GetRows

func (m *Matrix) GetRows() (x int32)

GetRows gets the Rows of the Matrix.

func (*Matrix) Marshal

func (m *Matrix) Marshal() []byte

Marshal marshals Matrix to a slice of bytes.

func (*Matrix) MarshalToWriter

func (m *Matrix) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals Matrix to the provided writer.

func (*Matrix) Unmarshal

func (m *Matrix) Unmarshal(rawBytes []byte) (*Matrix, error)

Unmarshal unmarshals a Matrix from a slice of bytes.

func (*Matrix) UnmarshalFromReader

func (m *Matrix) UnmarshalFromReader(reader jspb.Reader) *Matrix

UnmarshalFromReader unmarshals a Matrix from the provided reader.

type Point

type Point struct {
	X float32
	Y float32
}

func (*Point) GetX

func (m *Point) GetX() (x float32)

GetX gets the X of the Point.

func (*Point) GetY

func (m *Point) GetY() (x float32)

GetY gets the Y of the Point.

func (*Point) Marshal

func (m *Point) Marshal() []byte

Marshal marshals Point to a slice of bytes.

func (*Point) MarshalToWriter

func (m *Point) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals Point to the provided writer.

func (*Point) Unmarshal

func (m *Point) Unmarshal(rawBytes []byte) (*Point, error)

Unmarshal unmarshals a Point from a slice of bytes.

func (*Point) UnmarshalFromReader

func (m *Point) UnmarshalFromReader(reader jspb.Reader) *Point

UnmarshalFromReader unmarshals a Point from the provided reader.

type Pollutant

type Pollutant int
const (
	Pollutant_PNH4        Pollutant = 0
	Pollutant_PNO3        Pollutant = 1
	Pollutant_PSO4        Pollutant = 2
	Pollutant_SOA         Pollutant = 3
	Pollutant_PrimaryPM25 Pollutant = 4
	Pollutant_TotalPM25   Pollutant = 5
)

func (Pollutant) String

func (x Pollutant) String() string

type PopulationCountDemInput

type PopulationCountDemInput struct {
	Year        int32
	Population  *Demograph
	AQM         string
	IsIncomePop bool
	HR          string
}

func (*PopulationCountDemInput) GetAQM

func (m *PopulationCountDemInput) GetAQM() (x string)

GetAQM gets the AQM of the PopulationCountDemInput.

func (*PopulationCountDemInput) GetHR

func (m *PopulationCountDemInput) GetHR() (x string)

GetHR gets the HR of the PopulationCountDemInput.

func (*PopulationCountDemInput) GetIsIncomePop

func (m *PopulationCountDemInput) GetIsIncomePop() (x bool)

GetIsIncomePop gets the IsIncomePop of the PopulationCountDemInput.

func (*PopulationCountDemInput) GetPopulation

func (m *PopulationCountDemInput) GetPopulation() (x *Demograph)

GetPopulation gets the Population of the PopulationCountDemInput.

func (*PopulationCountDemInput) GetYear

func (m *PopulationCountDemInput) GetYear() (x int32)

GetYear gets the Year of the PopulationCountDemInput.

func (*PopulationCountDemInput) Marshal

func (m *PopulationCountDemInput) Marshal() []byte

Marshal marshals PopulationCountDemInput to a slice of bytes.

func (*PopulationCountDemInput) MarshalToWriter

func (m *PopulationCountDemInput) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals PopulationCountDemInput to the provided writer.

func (*PopulationCountDemInput) Unmarshal

func (m *PopulationCountDemInput) Unmarshal(rawBytes []byte) (*PopulationCountDemInput, error)

Unmarshal unmarshals a PopulationCountDemInput from a slice of bytes.

func (*PopulationCountDemInput) UnmarshalFromReader

func (m *PopulationCountDemInput) UnmarshalFromReader(reader jspb.Reader) *PopulationCountDemInput

UnmarshalFromReader unmarshals a PopulationCountDemInput from the provided reader.

type PopulationCountInput

type PopulationCountInput struct {
	Year        int32
	Population  string
	AQM         string
	IsIncomePop bool
	HR          string
}

func (*PopulationCountInput) GetAQM

func (m *PopulationCountInput) GetAQM() (x string)

GetAQM gets the AQM of the PopulationCountInput.

func (*PopulationCountInput) GetHR

func (m *PopulationCountInput) GetHR() (x string)

GetHR gets the HR of the PopulationCountInput.

func (*PopulationCountInput) GetIsIncomePop

func (m *PopulationCountInput) GetIsIncomePop() (x bool)

GetIsIncomePop gets the IsIncomePop of the PopulationCountInput.

func (*PopulationCountInput) GetPopulation

func (m *PopulationCountInput) GetPopulation() (x string)

GetPopulation gets the Population of the PopulationCountInput.

func (*PopulationCountInput) GetYear

func (m *PopulationCountInput) GetYear() (x int32)

GetYear gets the Year of the PopulationCountInput.

func (*PopulationCountInput) Marshal

func (m *PopulationCountInput) Marshal() []byte

Marshal marshals PopulationCountInput to a slice of bytes.

func (*PopulationCountInput) MarshalToWriter

func (m *PopulationCountInput) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals PopulationCountInput to the provided writer.

func (*PopulationCountInput) Unmarshal

func (m *PopulationCountInput) Unmarshal(rawBytes []byte) (*PopulationCountInput, error)

Unmarshal unmarshals a PopulationCountInput from a slice of bytes.

func (*PopulationCountInput) UnmarshalFromReader

func (m *PopulationCountInput) UnmarshalFromReader(reader jspb.Reader) *PopulationCountInput

UnmarshalFromReader unmarshals a PopulationCountInput from the provided reader.

type PopulationIncidenceDemInput

type PopulationIncidenceDemInput struct {
	Year       int32
	Population *Demograph
	HR         string
	AQM        string
}

func (*PopulationIncidenceDemInput) GetAQM

func (m *PopulationIncidenceDemInput) GetAQM() (x string)

GetAQM gets the AQM of the PopulationIncidenceDemInput.

func (*PopulationIncidenceDemInput) GetHR

func (m *PopulationIncidenceDemInput) GetHR() (x string)

GetHR gets the HR of the PopulationIncidenceDemInput.

func (*PopulationIncidenceDemInput) GetPopulation

func (m *PopulationIncidenceDemInput) GetPopulation() (x *Demograph)

GetPopulation gets the Population of the PopulationIncidenceDemInput.

func (*PopulationIncidenceDemInput) GetYear

func (m *PopulationIncidenceDemInput) GetYear() (x int32)

GetYear gets the Year of the PopulationIncidenceDemInput.

func (*PopulationIncidenceDemInput) Marshal

func (m *PopulationIncidenceDemInput) Marshal() []byte

Marshal marshals PopulationIncidenceDemInput to a slice of bytes.

func (*PopulationIncidenceDemInput) MarshalToWriter

func (m *PopulationIncidenceDemInput) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals PopulationIncidenceDemInput to the provided writer.

func (*PopulationIncidenceDemInput) Unmarshal

Unmarshal unmarshals a PopulationIncidenceDemInput from a slice of bytes.

func (*PopulationIncidenceDemInput) UnmarshalFromReader

func (m *PopulationIncidenceDemInput) UnmarshalFromReader(reader jspb.Reader) *PopulationIncidenceDemInput

UnmarshalFromReader unmarshals a PopulationIncidenceDemInput from the provided reader.

type PopulationIncidenceDemOutput

type PopulationIncidenceDemOutput struct {
	Population []float64
	Incidence  []float64
}

func (*PopulationIncidenceDemOutput) GetIncidence

func (m *PopulationIncidenceDemOutput) GetIncidence() (x []float64)

GetIncidence gets the Incidence of the PopulationIncidenceDemOutput.

func (*PopulationIncidenceDemOutput) GetPopulation

func (m *PopulationIncidenceDemOutput) GetPopulation() (x []float64)

GetPopulation gets the Population of the PopulationIncidenceDemOutput.

func (*PopulationIncidenceDemOutput) Marshal

func (m *PopulationIncidenceDemOutput) Marshal() []byte

Marshal marshals PopulationIncidenceDemOutput to a slice of bytes.

func (*PopulationIncidenceDemOutput) MarshalToWriter

func (m *PopulationIncidenceDemOutput) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals PopulationIncidenceDemOutput to the provided writer.

func (*PopulationIncidenceDemOutput) Unmarshal

Unmarshal unmarshals a PopulationIncidenceDemOutput from a slice of bytes.

func (*PopulationIncidenceDemOutput) UnmarshalFromReader

func (m *PopulationIncidenceDemOutput) UnmarshalFromReader(reader jspb.Reader) *PopulationIncidenceDemOutput

UnmarshalFromReader unmarshals a PopulationIncidenceDemOutput from the provided reader.

type PopulationIncidenceInput

type PopulationIncidenceInput struct {
	Year       int32
	Population string
	HR         string
	AQM        string
}

func (*PopulationIncidenceInput) GetAQM

func (m *PopulationIncidenceInput) GetAQM() (x string)

GetAQM gets the AQM of the PopulationIncidenceInput.

func (*PopulationIncidenceInput) GetHR

func (m *PopulationIncidenceInput) GetHR() (x string)

GetHR gets the HR of the PopulationIncidenceInput.

func (*PopulationIncidenceInput) GetPopulation

func (m *PopulationIncidenceInput) GetPopulation() (x string)

GetPopulation gets the Population of the PopulationIncidenceInput.

func (*PopulationIncidenceInput) GetYear

func (m *PopulationIncidenceInput) GetYear() (x int32)

GetYear gets the Year of the PopulationIncidenceInput.

func (*PopulationIncidenceInput) Marshal

func (m *PopulationIncidenceInput) Marshal() []byte

Marshal marshals PopulationIncidenceInput to a slice of bytes.

func (*PopulationIncidenceInput) MarshalToWriter

func (m *PopulationIncidenceInput) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals PopulationIncidenceInput to the provided writer.

func (*PopulationIncidenceInput) Unmarshal

func (m *PopulationIncidenceInput) Unmarshal(rawBytes []byte) (*PopulationIncidenceInput, error)

Unmarshal unmarshals a PopulationIncidenceInput from a slice of bytes.

func (*PopulationIncidenceInput) UnmarshalFromReader

func (m *PopulationIncidenceInput) UnmarshalFromReader(reader jspb.Reader) *PopulationIncidenceInput

UnmarshalFromReader unmarshals a PopulationIncidenceInput from the provided reader.

type PopulationIncidenceOutput

type PopulationIncidenceOutput struct {
	Population []float64
	Incidence  []float64
}

func (*PopulationIncidenceOutput) GetIncidence

func (m *PopulationIncidenceOutput) GetIncidence() (x []float64)

GetIncidence gets the Incidence of the PopulationIncidenceOutput.

func (*PopulationIncidenceOutput) GetPopulation

func (m *PopulationIncidenceOutput) GetPopulation() (x []float64)

GetPopulation gets the Population of the PopulationIncidenceOutput.

func (*PopulationIncidenceOutput) Marshal

func (m *PopulationIncidenceOutput) Marshal() []byte

Marshal marshals PopulationIncidenceOutput to a slice of bytes.

func (*PopulationIncidenceOutput) MarshalToWriter

func (m *PopulationIncidenceOutput) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals PopulationIncidenceOutput to the provided writer.

func (*PopulationIncidenceOutput) Unmarshal

func (m *PopulationIncidenceOutput) Unmarshal(rawBytes []byte) (*PopulationIncidenceOutput, error)

Unmarshal unmarshals a PopulationIncidenceOutput from a slice of bytes.

func (*PopulationIncidenceOutput) UnmarshalFromReader

func (m *PopulationIncidenceOutput) UnmarshalFromReader(reader jspb.Reader) *PopulationIncidenceOutput

UnmarshalFromReader unmarshals a PopulationIncidenceOutput from the provided reader.

type Rectangle

type Rectangle struct {
	LL *Point
	LR *Point
	UR *Point
	UL *Point
}

func (*Rectangle) GetLL

func (m *Rectangle) GetLL() (x *Point)

GetLL gets the LL of the Rectangle.

func (*Rectangle) GetLR

func (m *Rectangle) GetLR() (x *Point)

GetLR gets the LR of the Rectangle.

func (*Rectangle) GetUL

func (m *Rectangle) GetUL() (x *Point)

GetUL gets the UL of the Rectangle.

func (*Rectangle) GetUR

func (m *Rectangle) GetUR() (x *Point)

GetUR gets the UR of the Rectangle.

func (*Rectangle) Marshal

func (m *Rectangle) Marshal() []byte

Marshal marshals Rectangle to a slice of bytes.

func (*Rectangle) MarshalToWriter

func (m *Rectangle) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals Rectangle to the provided writer.

func (*Rectangle) Unmarshal

func (m *Rectangle) Unmarshal(rawBytes []byte) (*Rectangle, error)

Unmarshal unmarshals a Rectangle from a slice of bytes.

func (*Rectangle) UnmarshalFromReader

func (m *Rectangle) UnmarshalFromReader(reader jspb.Reader) *Rectangle

UnmarshalFromReader unmarshals a Rectangle from the provided reader.

type Rectangles

type Rectangles struct {
	Rectangles []*Rectangle
}

func (*Rectangles) GetRectangles

func (m *Rectangles) GetRectangles() (x []*Rectangle)

GetRectangles gets the Rectangles of the Rectangles.

func (*Rectangles) Marshal

func (m *Rectangles) Marshal() []byte

Marshal marshals Rectangles to a slice of bytes.

func (*Rectangles) MarshalToWriter

func (m *Rectangles) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals Rectangles to the provided writer.

func (*Rectangles) Unmarshal

func (m *Rectangles) Unmarshal(rawBytes []byte) (*Rectangles, error)

Unmarshal unmarshals a Rectangles from a slice of bytes.

func (*Rectangles) UnmarshalFromReader

func (m *Rectangles) UnmarshalFromReader(reader jspb.Reader) *Rectangles

UnmarshalFromReader unmarshals a Rectangles from the provided reader.

type Selection

type Selection struct {
	EndUseGroup     string
	EndUseSector    string
	EmitterGroup    string
	EmitterSector   string
	ImpactType      string
	FinalDemandType FinalDemandType
	Year            int32
	Population      string
	// Types that are valid to be assigned to Pol:
	//	*Selection_Pollutant
	//	*Selection_Emission
	Pol isSelection_Pol
	AQM string
}

func (*Selection) GetAQM

func (m *Selection) GetAQM() (x string)

GetAQM gets the AQM of the Selection.

func (*Selection) GetEmission

func (m *Selection) GetEmission() (x Emission)

GetEmission gets the Emission of the Selection.

func (*Selection) GetEmitterGroup

func (m *Selection) GetEmitterGroup() (x string)

GetEmitterGroup gets the EmitterGroup of the Selection.

func (*Selection) GetEmitterSector

func (m *Selection) GetEmitterSector() (x string)

GetEmitterSector gets the EmitterSector of the Selection.

func (*Selection) GetEndUseGroup

func (m *Selection) GetEndUseGroup() (x string)

GetEndUseGroup gets the EndUseGroup of the Selection.

func (*Selection) GetEndUseSector

func (m *Selection) GetEndUseSector() (x string)

GetEndUseSector gets the EndUseSector of the Selection.

func (*Selection) GetFinalDemandType

func (m *Selection) GetFinalDemandType() (x FinalDemandType)

GetFinalDemandType gets the FinalDemandType of the Selection.

func (*Selection) GetImpactType

func (m *Selection) GetImpactType() (x string)

GetImpactType gets the ImpactType of the Selection.

func (*Selection) GetPol

func (m *Selection) GetPol() (x isSelection_Pol)

GetPol gets the Pol of the Selection.

func (*Selection) GetPollutant

func (m *Selection) GetPollutant() (x Pollutant)

GetPollutant gets the Pollutant of the Selection.

func (*Selection) GetPopulation

func (m *Selection) GetPopulation() (x string)

GetPopulation gets the Population of the Selection.

func (*Selection) GetYear

func (m *Selection) GetYear() (x int32)

GetYear gets the Year of the Selection.

func (*Selection) Marshal

func (m *Selection) Marshal() []byte

Marshal marshals Selection to a slice of bytes.

func (*Selection) MarshalToWriter

func (m *Selection) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals Selection to the provided writer.

func (*Selection) Unmarshal

func (m *Selection) Unmarshal(rawBytes []byte) (*Selection, error)

Unmarshal unmarshals a Selection from a slice of bytes.

func (*Selection) UnmarshalFromReader

func (m *Selection) UnmarshalFromReader(reader jspb.Reader) *Selection

UnmarshalFromReader unmarshals a Selection from the provided reader.

type Selection_Emission

type Selection_Emission struct {
	Emission Emission
}

Selection_Emission is assignable to Pol

type Selection_Pollutant

type Selection_Pollutant struct {
	Pollutant Pollutant
}

Selection_Pollutant is assignable to Pol

type Selectors

type Selectors struct {
	Codes  []string
	Names  []string
	Values []float32
}

func (*Selectors) GetCodes

func (m *Selectors) GetCodes() (x []string)

GetCodes gets the Codes of the Selectors.

func (*Selectors) GetNames

func (m *Selectors) GetNames() (x []string)

GetNames gets the Names of the Selectors.

func (*Selectors) GetValues

func (m *Selectors) GetValues() (x []float32)

GetValues gets the Values of the Selectors.

func (*Selectors) Marshal

func (m *Selectors) Marshal() []byte

Marshal marshals Selectors to a slice of bytes.

func (*Selectors) MarshalToWriter

func (m *Selectors) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals Selectors to the provided writer.

func (*Selectors) Unmarshal

func (m *Selectors) Unmarshal(rawBytes []byte) (*Selectors, error)

Unmarshal unmarshals a Selectors from a slice of bytes.

func (*Selectors) UnmarshalFromReader

func (m *Selectors) UnmarshalFromReader(reader jspb.Reader) *Selectors

UnmarshalFromReader unmarshals a Selectors from the provided reader.

type StringInput

type StringInput struct {
	String string
}

func (*StringInput) GetString

func (m *StringInput) GetString() (x string)

GetString gets the String of the StringInput.

func (*StringInput) Marshal

func (m *StringInput) Marshal() []byte

Marshal marshals StringInput to a slice of bytes.

func (*StringInput) MarshalToWriter

func (m *StringInput) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals StringInput to the provided writer.

func (*StringInput) Unmarshal

func (m *StringInput) Unmarshal(rawBytes []byte) (*StringInput, error)

Unmarshal unmarshals a StringInput from a slice of bytes.

func (*StringInput) UnmarshalFromReader

func (m *StringInput) UnmarshalFromReader(reader jspb.Reader) *StringInput

UnmarshalFromReader unmarshals a StringInput from the provided reader.

type StringList

type StringList struct {
	List []string
}

func (*StringList) GetList

func (m *StringList) GetList() (x []string)

GetList gets the List of the StringList.

func (*StringList) Marshal

func (m *StringList) Marshal() []byte

Marshal marshals StringList to a slice of bytes.

func (*StringList) MarshalToWriter

func (m *StringList) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals StringList to the provided writer.

func (*StringList) Unmarshal

func (m *StringList) Unmarshal(rawBytes []byte) (*StringList, error)

Unmarshal unmarshals a StringList from a slice of bytes.

func (*StringList) UnmarshalFromReader

func (m *StringList) UnmarshalFromReader(reader jspb.Reader) *StringList

UnmarshalFromReader unmarshals a StringList from the provided reader.

type Vector

type Vector struct {
	Data []float64
}

func (*Vector) GetData

func (m *Vector) GetData() (x []float64)

GetData gets the Data of the Vector.

func (*Vector) Marshal

func (m *Vector) Marshal() []byte

Marshal marshals Vector to a slice of bytes.

func (*Vector) MarshalToWriter

func (m *Vector) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals Vector to the provided writer.

func (*Vector) Unmarshal

func (m *Vector) Unmarshal(rawBytes []byte) (*Vector, error)

Unmarshal unmarshals a Vector from a slice of bytes.

func (*Vector) UnmarshalFromReader

func (m *Vector) UnmarshalFromReader(reader jspb.Reader) *Vector

UnmarshalFromReader unmarshals a Vector from the provided reader.

type Year

type Year struct {
	Years []int32
}

func (*Year) GetYears

func (m *Year) GetYears() (x []int32)

GetYears gets the Years of the Year.

func (*Year) Marshal

func (m *Year) Marshal() []byte

Marshal marshals Year to a slice of bytes.

func (*Year) MarshalToWriter

func (m *Year) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals Year to the provided writer.

func (*Year) Unmarshal

func (m *Year) Unmarshal(rawBytes []byte) (*Year, error)

Unmarshal unmarshals a Year from a slice of bytes.

func (*Year) UnmarshalFromReader

func (m *Year) UnmarshalFromReader(reader jspb.Reader) *Year

UnmarshalFromReader unmarshals a Year from the provided reader.

Jump to

Keyboard shortcuts

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