inmap: github.com/spatialmodel/inmap/emissions/slca/eieio/eieiorpc/eieiorpcjs Index | Files

package eieiorpc

import "github.com/spatialmodel/inmap/emissions/slca/eieio/eieiorpc/eieiorpcjs"

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
ConcentrationMatrixInput
ConcentrationInput
EmissionsMatrixInput
EmissionsInput
HealthMatrixInput
HealthInput
Vector
Mask
Matrix
EvaluationHealthInput
EvaluationConcentrationsInput
ConcentrationResponseAverageInput
PopulationIncidenceInput
PopulationIncidenceOutput

Index

Package Files

eieio.pb.gopherjs.go

Variables

var Demograph_name = map[int]string{
    0:  "Black",
    1:  "Hispanic",
    2:  "WhiteOther",
    3:  "All",
}
var Demograph_value = map[string]int{
    "Black":      0,
    "Hispanic":   1,
    "WhiteOther": 2,
    "All":        3,
}
var Emission_name = map[int]string{
    0:  "PM25",
    1:  "NH3",
    2:  "NOx",
    3:  "SOx",
    4:  "VOC",
}
var Emission_value = map[string]int{
    "PM25": 0,
    "NH3":  1,
    "NOx":  2,
    "SOx":  3,
    "VOC":  4,
}
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",
}
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,
}
var Location_name = map[int]string{
    0:  "Domestic",
    1:  "Imported",
    2:  "Total",
}
var Location_value = map[string]int{
    "Domestic": 0,
    "Imported": 1,
    "Total":    2,
}
var Pollutant_name = map[int]string{
    0:  "PNH4",
    1:  "PNO3",
    2:  "PSO4",
    3:  "SOA",
    4:  "PrimaryPM25",
    5:  "TotalPM25",
}
var Pollutant_value = map[string]int{
    "PNH4":        0,
    "PNO3":        1,
    "PSO4":        2,
    "SOA":         3,
    "PrimaryPM25": 4,
    "TotalPM25":   5,
}

type ColorInfo Uses

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

func (*ColorInfo) GetLegend Uses

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

GetLegend gets the Legend of the ColorInfo.

func (*ColorInfo) GetRGB Uses

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

GetRGB gets the RGB of the ColorInfo.

func (*ColorInfo) Marshal Uses

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

Marshal marshals ColorInfo to a slice of bytes.

func (*ColorInfo) MarshalToWriter Uses

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

MarshalToWriter marshals ColorInfo to the provided writer.

func (*ColorInfo) Unmarshal Uses

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

Unmarshal unmarshals a ColorInfo from a slice of bytes.

func (*ColorInfo) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a ColorInfo from the provided reader.

type ConcentrationInput Uses

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

func (*ConcentrationInput) GetDemand Uses

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

GetDemand gets the Demand of the ConcentrationInput.

func (*ConcentrationInput) GetEmitters Uses

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

GetEmitters gets the Emitters of the ConcentrationInput.

func (*ConcentrationInput) GetLocation Uses

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

GetLocation gets the Location of the ConcentrationInput.

func (*ConcentrationInput) GetPollutant Uses

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

GetPollutant gets the Pollutant of the ConcentrationInput.

func (*ConcentrationInput) GetYear Uses

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

GetYear gets the Year of the ConcentrationInput.

func (*ConcentrationInput) Marshal Uses

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

Marshal marshals ConcentrationInput to a slice of bytes.

func (*ConcentrationInput) MarshalToWriter Uses

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

MarshalToWriter marshals ConcentrationInput to the provided writer.

func (*ConcentrationInput) Unmarshal Uses

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

Unmarshal unmarshals a ConcentrationInput from a slice of bytes.

func (*ConcentrationInput) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a ConcentrationInput from the provided reader.

type ConcentrationMatrixInput Uses

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

func (*ConcentrationMatrixInput) GetDemand Uses

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

GetDemand gets the Demand of the ConcentrationMatrixInput.

func (*ConcentrationMatrixInput) GetLocation Uses

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

GetLocation gets the Location of the ConcentrationMatrixInput.

func (*ConcentrationMatrixInput) GetPollutant Uses

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

GetPollutant gets the Pollutant of the ConcentrationMatrixInput.

func (*ConcentrationMatrixInput) GetYear Uses

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

GetYear gets the Year of the ConcentrationMatrixInput.

func (*ConcentrationMatrixInput) Marshal Uses

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

Marshal marshals ConcentrationMatrixInput to a slice of bytes.

func (*ConcentrationMatrixInput) MarshalToWriter Uses

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

MarshalToWriter marshals ConcentrationMatrixInput to the provided writer.

func (*ConcentrationMatrixInput) Unmarshal Uses

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

Unmarshal unmarshals a ConcentrationMatrixInput from a slice of bytes.

func (*ConcentrationMatrixInput) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a ConcentrationMatrixInput from the provided reader.

type ConcentrationResponseAverageInput Uses

type ConcentrationResponseAverageInput struct {
    Year       int32
    Population string
    HR         string
}

func (*ConcentrationResponseAverageInput) GetHR Uses

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

GetHR gets the HR of the ConcentrationResponseAverageInput.

func (*ConcentrationResponseAverageInput) GetPopulation Uses

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

GetPopulation gets the Population of the ConcentrationResponseAverageInput.

func (*ConcentrationResponseAverageInput) GetYear Uses

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

GetYear gets the Year of the ConcentrationResponseAverageInput.

func (*ConcentrationResponseAverageInput) Marshal Uses

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

Marshal marshals ConcentrationResponseAverageInput to a slice of bytes.

func (*ConcentrationResponseAverageInput) MarshalToWriter Uses

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

MarshalToWriter marshals ConcentrationResponseAverageInput to the provided writer.

func (*ConcentrationResponseAverageInput) Unmarshal Uses

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

Unmarshal unmarshals a ConcentrationResponseAverageInput from a slice of bytes.

func (*ConcentrationResponseAverageInput) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a ConcentrationResponseAverageInput from the provided reader.

type Demograph Uses

type Demograph int

These are the included demographic groups.

const (
    Demograph_Black      Demograph = 0
    Demograph_Hispanic   Demograph = 1
    Demograph_WhiteOther Demograph = 2
    Demograph_All        Demograph = 3
)

func (Demograph) String Uses

func (x Demograph) String() string

type DemographicConsumptionInput Uses

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

func (*DemographicConsumptionInput) GetDemograph Uses

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

GetDemograph gets the Demograph of the DemographicConsumptionInput.

func (*DemographicConsumptionInput) GetEndUseMask Uses

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

GetEndUseMask gets the EndUseMask of the DemographicConsumptionInput.

func (*DemographicConsumptionInput) GetYear Uses

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

GetYear gets the Year of the DemographicConsumptionInput.

func (*DemographicConsumptionInput) Marshal Uses

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

Marshal marshals DemographicConsumptionInput to a slice of bytes.

func (*DemographicConsumptionInput) MarshalToWriter Uses

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

MarshalToWriter marshals DemographicConsumptionInput to the provided writer.

func (*DemographicConsumptionInput) Unmarshal Uses

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

Unmarshal unmarshals a DemographicConsumptionInput from a slice of bytes.

func (*DemographicConsumptionInput) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a DemographicConsumptionInput from the provided reader.

type EIEIOrpcClient Uses

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

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

NewEIEIOrpcClient creates a new gRPC-Web client.

type Emission Uses

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 Uses

func (x Emission) String() string

type EmissionsInput Uses

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

func (*EmissionsInput) GetDemand Uses

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

GetDemand gets the Demand of the EmissionsInput.

func (*EmissionsInput) GetEmission Uses

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

GetEmission gets the Emission of the EmissionsInput.

func (*EmissionsInput) GetEmitters Uses

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

GetEmitters gets the Emitters of the EmissionsInput.

func (*EmissionsInput) GetLocation Uses

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

GetLocation gets the Location of the EmissionsInput.

func (*EmissionsInput) GetYear Uses

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

GetYear gets the Year of the EmissionsInput.

func (*EmissionsInput) Marshal Uses

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

Marshal marshals EmissionsInput to a slice of bytes.

func (*EmissionsInput) MarshalToWriter Uses

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

MarshalToWriter marshals EmissionsInput to the provided writer.

func (*EmissionsInput) Unmarshal Uses

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

Unmarshal unmarshals a EmissionsInput from a slice of bytes.

func (*EmissionsInput) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a EmissionsInput from the provided reader.

type EmissionsMatrixInput Uses

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

func (*EmissionsMatrixInput) GetDemand Uses

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

GetDemand gets the Demand of the EmissionsMatrixInput.

func (*EmissionsMatrixInput) GetEmission Uses

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

GetEmission gets the Emission of the EmissionsMatrixInput.

func (*EmissionsMatrixInput) GetLocation Uses

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

GetLocation gets the Location of the EmissionsMatrixInput.

func (*EmissionsMatrixInput) GetYear Uses

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

GetYear gets the Year of the EmissionsMatrixInput.

func (*EmissionsMatrixInput) Marshal Uses

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

Marshal marshals EmissionsMatrixInput to a slice of bytes.

func (*EmissionsMatrixInput) MarshalToWriter Uses

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

MarshalToWriter marshals EmissionsMatrixInput to the provided writer.

func (*EmissionsMatrixInput) Unmarshal Uses

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

Unmarshal unmarshals a EmissionsMatrixInput from a slice of bytes.

func (*EmissionsMatrixInput) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a EmissionsMatrixInput from the provided reader.

type EvaluationConcentrationsInput Uses

type EvaluationConcentrationsInput struct {
    Year      int32
    Pollutant Pollutant
}

func (*EvaluationConcentrationsInput) GetPollutant Uses

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

GetPollutant gets the Pollutant of the EvaluationConcentrationsInput.

func (*EvaluationConcentrationsInput) GetYear Uses

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

GetYear gets the Year of the EvaluationConcentrationsInput.

func (*EvaluationConcentrationsInput) Marshal Uses

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

Marshal marshals EvaluationConcentrationsInput to a slice of bytes.

func (*EvaluationConcentrationsInput) MarshalToWriter Uses

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

MarshalToWriter marshals EvaluationConcentrationsInput to the provided writer.

func (*EvaluationConcentrationsInput) Unmarshal Uses

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

Unmarshal unmarshals a EvaluationConcentrationsInput from a slice of bytes.

func (*EvaluationConcentrationsInput) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a EvaluationConcentrationsInput from the provided reader.

type EvaluationHealthInput Uses

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

func (*EvaluationHealthInput) GetHR Uses

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

GetHR gets the HR of the EvaluationHealthInput.

func (*EvaluationHealthInput) GetPollutant Uses

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

GetPollutant gets the Pollutant of the EvaluationHealthInput.

func (*EvaluationHealthInput) GetPopulation Uses

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

GetPopulation gets the Population of the EvaluationHealthInput.

func (*EvaluationHealthInput) GetYear Uses

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

GetYear gets the Year of the EvaluationHealthInput.

func (*EvaluationHealthInput) Marshal Uses

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

Marshal marshals EvaluationHealthInput to a slice of bytes.

func (*EvaluationHealthInput) MarshalToWriter Uses

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

MarshalToWriter marshals EvaluationHealthInput to the provided writer.

func (*EvaluationHealthInput) Unmarshal Uses

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

Unmarshal unmarshals a EvaluationHealthInput from a slice of bytes.

func (*EvaluationHealthInput) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a EvaluationHealthInput from the provided reader.

type FinalDemandInput Uses

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

func (*FinalDemandInput) GetEndUseMask Uses

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

GetEndUseMask gets the EndUseMask of the FinalDemandInput.

func (*FinalDemandInput) GetFinalDemandType Uses

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

GetFinalDemandType gets the FinalDemandType of the FinalDemandInput.

func (*FinalDemandInput) GetLocation Uses

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

GetLocation gets the Location of the FinalDemandInput.

func (*FinalDemandInput) GetYear Uses

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

GetYear gets the Year of the FinalDemandInput.

func (*FinalDemandInput) Marshal Uses

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

Marshal marshals FinalDemandInput to a slice of bytes.

func (*FinalDemandInput) MarshalToWriter Uses

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

MarshalToWriter marshals FinalDemandInput to the provided writer.

func (*FinalDemandInput) Unmarshal Uses

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

Unmarshal unmarshals a FinalDemandInput from a slice of bytes.

func (*FinalDemandInput) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a FinalDemandInput from the provided reader.

type FinalDemandType Uses

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 Uses

func (x FinalDemandType) String() string

type GeometryInput Uses

type GeometryInput struct {
    SpatialReference string
}

func (*GeometryInput) GetSpatialReference Uses

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

GetSpatialReference gets the SpatialReference of the GeometryInput.

func (*GeometryInput) Marshal Uses

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

Marshal marshals GeometryInput to a slice of bytes.

func (*GeometryInput) MarshalToWriter Uses

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

MarshalToWriter marshals GeometryInput to the provided writer.

func (*GeometryInput) Unmarshal Uses

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

Unmarshal unmarshals a GeometryInput from a slice of bytes.

func (*GeometryInput) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a GeometryInput from the provided reader.

type HealthInput Uses

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

func (*HealthInput) GetDemand Uses

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

GetDemand gets the Demand of the HealthInput.

func (*HealthInput) GetEmitterMask Uses

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

GetEmitterMask gets the EmitterMask of the HealthInput.

func (*HealthInput) GetHR Uses

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

GetHR gets the HR of the HealthInput.

func (*HealthInput) GetLocation Uses

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

GetLocation gets the Location of the HealthInput.

func (*HealthInput) GetPollutant Uses

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

GetPollutant gets the Pollutant of the HealthInput.

func (*HealthInput) GetPopulation Uses

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

GetPopulation gets the Population of the HealthInput.

func (*HealthInput) GetYear Uses

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

GetYear gets the Year of the HealthInput.

func (*HealthInput) Marshal Uses

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

Marshal marshals HealthInput to a slice of bytes.

func (*HealthInput) MarshalToWriter Uses

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

MarshalToWriter marshals HealthInput to the provided writer.

func (*HealthInput) Unmarshal Uses

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

Unmarshal unmarshals a HealthInput from a slice of bytes.

func (*HealthInput) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a HealthInput from the provided reader.

type HealthMatrixInput Uses

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

func (*HealthMatrixInput) GetDemand Uses

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

GetDemand gets the Demand of the HealthMatrixInput.

func (*HealthMatrixInput) GetHR Uses

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

GetHR gets the HR of the HealthMatrixInput.

func (*HealthMatrixInput) GetLocation Uses

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

GetLocation gets the Location of the HealthMatrixInput.

func (*HealthMatrixInput) GetPollutant Uses

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

GetPollutant gets the Pollutant of the HealthMatrixInput.

func (*HealthMatrixInput) GetPopulation Uses

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

GetPopulation gets the Population of the HealthMatrixInput.

func (*HealthMatrixInput) GetYear Uses

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

GetYear gets the Year of the HealthMatrixInput.

func (*HealthMatrixInput) Marshal Uses

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

Marshal marshals HealthMatrixInput to a slice of bytes.

func (*HealthMatrixInput) MarshalToWriter Uses

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

MarshalToWriter marshals HealthMatrixInput to the provided writer.

func (*HealthMatrixInput) Unmarshal Uses

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

Unmarshal unmarshals a HealthMatrixInput from a slice of bytes.

func (*HealthMatrixInput) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a HealthMatrixInput from the provided reader.

type Location Uses

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

func (Location) String Uses

func (x Location) String() string

type Mask Uses

type Mask struct {
    Data []float64
}

func (*Mask) GetData Uses

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

GetData gets the Data of the Mask.

func (*Mask) Marshal Uses

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

Marshal marshals Mask to a slice of bytes.

func (*Mask) MarshalToWriter Uses

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

MarshalToWriter marshals Mask to the provided writer.

func (*Mask) Unmarshal Uses

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

Unmarshal unmarshals a Mask from a slice of bytes.

func (*Mask) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a Mask from the provided reader.

type Matrix Uses

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

func (*Matrix) GetCols Uses

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

GetCols gets the Cols of the Matrix.

func (*Matrix) GetData Uses

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

GetData gets the Data of the Matrix.

func (*Matrix) GetRows Uses

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

GetRows gets the Rows of the Matrix.

func (*Matrix) Marshal Uses

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

Marshal marshals Matrix to a slice of bytes.

func (*Matrix) MarshalToWriter Uses

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

MarshalToWriter marshals Matrix to the provided writer.

func (*Matrix) Unmarshal Uses

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

Unmarshal unmarshals a Matrix from a slice of bytes.

func (*Matrix) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a Matrix from the provided reader.

type Point Uses

type Point struct {
    X   float32
    Y   float32
}

func (*Point) GetX Uses

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

GetX gets the X of the Point.

func (*Point) GetY Uses

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

GetY gets the Y of the Point.

func (*Point) Marshal Uses

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

Marshal marshals Point to a slice of bytes.

func (*Point) MarshalToWriter Uses

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

MarshalToWriter marshals Point to the provided writer.

func (*Point) Unmarshal Uses

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

Unmarshal unmarshals a Point from a slice of bytes.

func (*Point) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a Point from the provided reader.

type Pollutant Uses

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 Uses

func (x Pollutant) String() string

type PopulationIncidenceInput Uses

type PopulationIncidenceInput struct {
    Year       int32
    Population string
    HR         string
}

func (*PopulationIncidenceInput) GetHR Uses

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

GetHR gets the HR of the PopulationIncidenceInput.

func (*PopulationIncidenceInput) GetPopulation Uses

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

GetPopulation gets the Population of the PopulationIncidenceInput.

func (*PopulationIncidenceInput) GetYear Uses

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

GetYear gets the Year of the PopulationIncidenceInput.

func (*PopulationIncidenceInput) Marshal Uses

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

Marshal marshals PopulationIncidenceInput to a slice of bytes.

func (*PopulationIncidenceInput) MarshalToWriter Uses

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

MarshalToWriter marshals PopulationIncidenceInput to the provided writer.

func (*PopulationIncidenceInput) Unmarshal Uses

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

Unmarshal unmarshals a PopulationIncidenceInput from a slice of bytes.

func (*PopulationIncidenceInput) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a PopulationIncidenceInput from the provided reader.

type PopulationIncidenceOutput Uses

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

func (*PopulationIncidenceOutput) GetIncidence Uses

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

GetIncidence gets the Incidence of the PopulationIncidenceOutput.

func (*PopulationIncidenceOutput) GetPopulation Uses

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

GetPopulation gets the Population of the PopulationIncidenceOutput.

func (*PopulationIncidenceOutput) Marshal Uses

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

Marshal marshals PopulationIncidenceOutput to a slice of bytes.

func (*PopulationIncidenceOutput) MarshalToWriter Uses

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

MarshalToWriter marshals PopulationIncidenceOutput to the provided writer.

func (*PopulationIncidenceOutput) Unmarshal Uses

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

Unmarshal unmarshals a PopulationIncidenceOutput from a slice of bytes.

func (*PopulationIncidenceOutput) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a PopulationIncidenceOutput from the provided reader.

type Rectangle Uses

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

func (*Rectangle) GetLL Uses

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

GetLL gets the LL of the Rectangle.

func (*Rectangle) GetLR Uses

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

GetLR gets the LR of the Rectangle.

func (*Rectangle) GetUL Uses

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

GetUL gets the UL of the Rectangle.

func (*Rectangle) GetUR Uses

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

GetUR gets the UR of the Rectangle.

func (*Rectangle) Marshal Uses

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

Marshal marshals Rectangle to a slice of bytes.

func (*Rectangle) MarshalToWriter Uses

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

MarshalToWriter marshals Rectangle to the provided writer.

func (*Rectangle) Unmarshal Uses

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

Unmarshal unmarshals a Rectangle from a slice of bytes.

func (*Rectangle) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a Rectangle from the provided reader.

type Rectangles Uses

type Rectangles struct {
    Rectangles []*Rectangle
}

func (*Rectangles) GetRectangles Uses

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

GetRectangles gets the Rectangles of the Rectangles.

func (*Rectangles) Marshal Uses

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

Marshal marshals Rectangles to a slice of bytes.

func (*Rectangles) MarshalToWriter Uses

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

MarshalToWriter marshals Rectangles to the provided writer.

func (*Rectangles) Unmarshal Uses

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

Unmarshal unmarshals a Rectangles from a slice of bytes.

func (*Rectangles) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a Rectangles from the provided reader.

type Selection Uses

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
}

func (*Selection) GetEmission Uses

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

GetEmission gets the Emission of the Selection.

func (*Selection) GetEmitterGroup Uses

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

GetEmitterGroup gets the EmitterGroup of the Selection.

func (*Selection) GetEmitterSector Uses

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

GetEmitterSector gets the EmitterSector of the Selection.

func (*Selection) GetEndUseGroup Uses

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

GetEndUseGroup gets the EndUseGroup of the Selection.

func (*Selection) GetEndUseSector Uses

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

GetEndUseSector gets the EndUseSector of the Selection.

func (*Selection) GetFinalDemandType Uses

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

GetFinalDemandType gets the FinalDemandType of the Selection.

func (*Selection) GetImpactType Uses

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

GetImpactType gets the ImpactType of the Selection.

func (*Selection) GetPol Uses

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

GetPol gets the Pol of the Selection.

func (*Selection) GetPollutant Uses

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

GetPollutant gets the Pollutant of the Selection.

func (*Selection) GetPopulation Uses

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

GetPopulation gets the Population of the Selection.

func (*Selection) GetYear Uses

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

GetYear gets the Year of the Selection.

func (*Selection) Marshal Uses

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

Marshal marshals Selection to a slice of bytes.

func (*Selection) MarshalToWriter Uses

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

MarshalToWriter marshals Selection to the provided writer.

func (*Selection) Unmarshal Uses

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

Unmarshal unmarshals a Selection from a slice of bytes.

func (*Selection) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a Selection from the provided reader.

type Selection_Emission Uses

type Selection_Emission struct {
    Emission Emission
}

Selection_Emission is assignable to Pol

type Selection_Pollutant Uses

type Selection_Pollutant struct {
    Pollutant Pollutant
}

Selection_Pollutant is assignable to Pol

type Selectors Uses

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

func (*Selectors) GetCodes Uses

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

GetCodes gets the Codes of the Selectors.

func (*Selectors) GetNames Uses

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

GetNames gets the Names of the Selectors.

func (*Selectors) GetValues Uses

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

GetValues gets the Values of the Selectors.

func (*Selectors) Marshal Uses

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

Marshal marshals Selectors to a slice of bytes.

func (*Selectors) MarshalToWriter Uses

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

MarshalToWriter marshals Selectors to the provided writer.

func (*Selectors) Unmarshal Uses

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

Unmarshal unmarshals a Selectors from a slice of bytes.

func (*Selectors) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a Selectors from the provided reader.

type StringInput Uses

type StringInput struct {
    String string
}

func (*StringInput) GetString Uses

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

GetString gets the String of the StringInput.

func (*StringInput) Marshal Uses

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

Marshal marshals StringInput to a slice of bytes.

func (*StringInput) MarshalToWriter Uses

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

MarshalToWriter marshals StringInput to the provided writer.

func (*StringInput) Unmarshal Uses

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

Unmarshal unmarshals a StringInput from a slice of bytes.

func (*StringInput) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a StringInput from the provided reader.

type StringList Uses

type StringList struct {
    List []string
}

func (*StringList) GetList Uses

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

GetList gets the List of the StringList.

func (*StringList) Marshal Uses

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

Marshal marshals StringList to a slice of bytes.

func (*StringList) MarshalToWriter Uses

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

MarshalToWriter marshals StringList to the provided writer.

func (*StringList) Unmarshal Uses

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

Unmarshal unmarshals a StringList from a slice of bytes.

func (*StringList) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a StringList from the provided reader.

type Vector Uses

type Vector struct {
    Data []float64
}

func (*Vector) GetData Uses

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

GetData gets the Data of the Vector.

func (*Vector) Marshal Uses

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

Marshal marshals Vector to a slice of bytes.

func (*Vector) MarshalToWriter Uses

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

MarshalToWriter marshals Vector to the provided writer.

func (*Vector) Unmarshal Uses

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

Unmarshal unmarshals a Vector from a slice of bytes.

func (*Vector) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a Vector from the provided reader.

type Year Uses

type Year struct {
    Years []int32
}

func (*Year) GetYears Uses

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

GetYears gets the Years of the Year.

func (*Year) Marshal Uses

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

Marshal marshals Year to a slice of bytes.

func (*Year) MarshalToWriter Uses

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

MarshalToWriter marshals Year to the provided writer.

func (*Year) Unmarshal Uses

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

Unmarshal unmarshals a Year from a slice of bytes.

func (*Year) UnmarshalFromReader Uses

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

UnmarshalFromReader unmarshals a Year from the provided reader.

Package eieiorpc imports 3 packages (graph) and is imported by 1 packages. Updated 2018-10-29. Refresh now. Tools for package owners.