protos

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Audience_name = map[int32]string{
		0: "Unknown",
		1: "Customer",
		2: "Service",
	}
	Audience_value = map[string]int32{
		"Unknown":  0,
		"Customer": 1,
		"Service":  2,
	}
)

Enum value maps for Audience.

View Source
var (
	Field_name = map[int32]string{}/* 119 elements not displayed */

	Field_value = map[string]int32{}/* 119 elements not displayed */

)

Enum value maps for Field.

View Source
var (
	ChargingState_name = map[int32]string{
		0: "ChargeStateUnknown",
		1: "ChargeStateDisconnected",
		2: "ChargeStateNoPower",
		3: "ChargeStateStarting",
		4: "ChargeStateCharging",
		5: "ChargeStateComplete",
		6: "ChargeStateStopped",
	}
	ChargingState_value = map[string]int32{
		"ChargeStateUnknown":      0,
		"ChargeStateDisconnected": 1,
		"ChargeStateNoPower":      2,
		"ChargeStateStarting":     3,
		"ChargeStateCharging":     4,
		"ChargeStateComplete":     5,
		"ChargeStateStopped":      6,
	}
)

Enum value maps for ChargingState.

View Source
var (
	ShiftState_name = map[int32]string{
		0: "ShiftStateUnknown",
		1: "ShiftStateInvalid",
		2: "ShiftStateP",
		3: "ShiftStateR",
		4: "ShiftStateD",
		5: "ShiftStateN",
		6: "ShiftStateSNA",
	}
	ShiftState_value = map[string]int32{
		"ShiftStateUnknown": 0,
		"ShiftStateInvalid": 1,
		"ShiftStateP":       2,
		"ShiftStateR":       3,
		"ShiftStateD":       4,
		"ShiftStateN":       5,
		"ShiftStateSNA":     6,
	}
)

Enum value maps for ShiftState.

View Source
var File_protos_vehicle_alert_proto protoreflect.FileDescriptor
View Source
var File_protos_vehicle_data_proto protoreflect.FileDescriptor
View Source
var File_protos_vehicle_error_proto protoreflect.FileDescriptor
View Source
var File_protos_vehicle_metric_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Audience

type Audience int32

Audience the target audience for the alert.

const (
	Audience_Unknown  Audience = 0
	Audience_Customer Audience = 1
	Audience_Service  Audience = 2
)

func (Audience) Descriptor

func (Audience) Descriptor() protoreflect.EnumDescriptor

func (Audience) Enum

func (x Audience) Enum() *Audience

func (Audience) EnumDescriptor deprecated

func (Audience) EnumDescriptor() ([]byte, []int)

Deprecated: Use Audience.Descriptor instead.

func (Audience) Number

func (x Audience) Number() protoreflect.EnumNumber

func (Audience) String

func (x Audience) String() string

func (Audience) Type

type ChargingState

type ChargingState int32

ChargingState are the charging options

const (
	ChargingState_ChargeStateUnknown      ChargingState = 0
	ChargingState_ChargeStateDisconnected ChargingState = 1
	ChargingState_ChargeStateNoPower      ChargingState = 2
	ChargingState_ChargeStateStarting     ChargingState = 3
	ChargingState_ChargeStateCharging     ChargingState = 4
	ChargingState_ChargeStateComplete     ChargingState = 5
	ChargingState_ChargeStateStopped      ChargingState = 6
)

func (ChargingState) Descriptor

func (ChargingState) Enum

func (x ChargingState) Enum() *ChargingState

func (ChargingState) EnumDescriptor deprecated

func (ChargingState) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChargingState.Descriptor instead.

func (ChargingState) Number

func (ChargingState) String

func (x ChargingState) String() string

func (ChargingState) Type

type Datum

type Datum struct {
	Key   Field  `protobuf:"varint,1,opt,name=key,proto3,enum=telemetry.vehicle_data.Field" json:"key,omitempty"`
	Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Datum represents a single field and its value

func (*Datum) Descriptor deprecated

func (*Datum) Descriptor() ([]byte, []int)

Deprecated: Use Datum.ProtoReflect.Descriptor instead.

func (*Datum) GetKey

func (x *Datum) GetKey() Field

func (*Datum) GetValue

func (x *Datum) GetValue() *Value

func (*Datum) ProtoMessage

func (*Datum) ProtoMessage()

func (*Datum) ProtoReflect

func (x *Datum) ProtoReflect() protoreflect.Message

func (*Datum) Reset

func (x *Datum) Reset()

func (*Datum) String

func (x *Datum) String() string

type Field

type Field int32
const (
	Field_Unknown                        Field = 0
	Field_DriveRail                      Field = 1
	Field_ChargeState                    Field = 2
	Field_BmsFullchargecomplete          Field = 3
	Field_VehicleSpeed                   Field = 4
	Field_Odometer                       Field = 5
	Field_PackVoltage                    Field = 6
	Field_PackCurrent                    Field = 7
	Field_Soc                            Field = 8
	Field_DCDCEnable                     Field = 9
	Field_Gear                           Field = 10
	Field_IsolationResistance            Field = 11
	Field_PedalPosition                  Field = 12
	Field_BrakePedal                     Field = 13
	Field_DiState                        Field = 14
	Field_DiPcbt                         Field = 15
	Field_DiRpm                          Field = 16
	Field_DiTorquemotor                  Field = 17
	Field_DiHeatsinkt                    Field = 18
	Field_DiVbat                         Field = 19
	Field_DiMotorcurrent                 Field = 20
	Field_Location                       Field = 21
	Field_GpsState                       Field = 22
	Field_GpsHeading                     Field = 23
	Field_NumBrickVoltageMax             Field = 24
	Field_BrickVoltageMax                Field = 25
	Field_NumBrickVoltageMin             Field = 26
	Field_BrickVoltageMin                Field = 27
	Field_NumModuleTempMax               Field = 28
	Field_ModuleTempMax                  Field = 29
	Field_NumModuleTempMin               Field = 30
	Field_ModuleTempMin                  Field = 31
	Field_RatedRange                     Field = 32
	Field_Hvil                           Field = 33
	Field_DCChargingEnergyIn             Field = 34
	Field_DCChargingPower                Field = 35
	Field_ACChargingEnergyIn             Field = 36
	Field_ACChargingPower                Field = 37
	Field_ChargeLimitSoc                 Field = 38
	Field_FastChargerPresent             Field = 39
	Field_EstBatteryRange                Field = 40
	Field_IdealBatteryRange              Field = 41
	Field_BatteryLevel                   Field = 42
	Field_TimeToFullCharge               Field = 43
	Field_ScheduledChargingStartTime     Field = 44
	Field_ScheduledChargingPending       Field = 45
	Field_ScheduledDepartureTime         Field = 46
	Field_PreconditioningEnabled         Field = 47
	Field_ScheduledChargingMode          Field = 48
	Field_ChargeAmps                     Field = 49
	Field_ChargeEnableRequest            Field = 50
	Field_ChargerPhases                  Field = 51
	Field_ChargePortColdWeatherMode      Field = 52
	Field_ChargeCurrentRequest           Field = 53
	Field_ChargeCurrentRequestMax        Field = 54
	Field_BatteryHeaterOn                Field = 55
	Field_NotEnoughPowerToHeat           Field = 56
	Field_SuperchargerSessionTripPlanner Field = 57
	Field_DoorState                      Field = 58
	Field_Locked                         Field = 59
	Field_FdWindow                       Field = 60
	Field_FpWindow                       Field = 61
	Field_RdWindow                       Field = 62
	Field_RpWindow                       Field = 63
	Field_VehicleName                    Field = 64
	Field_SentryMode                     Field = 65
	Field_SpeedLimitMode                 Field = 66
	Field_CurrentLimitMph                Field = 67
	Field_Version                        Field = 68
	Field_TpmsPressureFl                 Field = 69
	Field_TpmsPressureFr                 Field = 70
	Field_TpmsPressureRl                 Field = 71
	Field_TpmsPressureRr                 Field = 72
	Field_TmpsPressureRe1L0              Field = 73
	Field_TmpsPressureRe1L1              Field = 74
	Field_TmpsPressureRe1R0              Field = 75
	Field_TmpsPressureRe1R1              Field = 76
	Field_TmpsPressureRe2L0              Field = 77
	Field_TmpsPressureRe2L1              Field = 78
	Field_TmpsPressureRe2R0              Field = 79
	Field_TmpsPressureRe2R1              Field = 80
	Field_TpmsLastSeenPressureTimeFl     Field = 81
	Field_TpmsLastSeenPressureTimeFr     Field = 82
	Field_TpmsLastSeenPressureTimeRl     Field = 83
	Field_TpmsLastSeenPressureTimeRr     Field = 84
	Field_InsideTemp                     Field = 85
	Field_OutsideTemp                    Field = 86
	Field_SeatHeaterLeft                 Field = 87
	Field_SeatHeaterRight                Field = 88
	Field_SeatHeaterRearLeft             Field = 89
	Field_SeatHeaterRearRight            Field = 90
	Field_SeatHeaterRearCenter           Field = 91
	Field_AutoSeatClimateLeft            Field = 92
	Field_AutoSeatClimateRight           Field = 93
	Field_DriverSeatBelt                 Field = 94
	Field_PassengerSeatBelt              Field = 95
	Field_DriverSeatOccupied             Field = 96
	Field_PassengerSeatFoldPosition      Field = 97
	Field_LateralAcceleration            Field = 98
	Field_LongitudinalAcceleration       Field = 99
	Field_CruiseState                    Field = 100
	Field_CruiseSetSpeed                 Field = 101
	Field_LifetimeEnergyUsed             Field = 102
	Field_LifetimeEnergyUsedDrive        Field = 103
	Field_TractorParkBrakeStatus         Field = 104
	Field_TrailerParkBrakeStatus         Field = 105
	Field_BrakePedalPos                  Field = 106
	Field_RouteLastUpdated               Field = 107
	Field_RouteLine                      Field = 108
	Field_MilesToArrival                 Field = 109
	Field_MinutesToArrival               Field = 110
	Field_OriginLocation                 Field = 111
	Field_DestinationLocation            Field = 112
	Field_CarType                        Field = 113
	Field_Trim                           Field = 114
	Field_ExteriorColor                  Field = 115
	Field_RoofColor                      Field = 116
	Field_ChargePort                     Field = 117
	Field_ChargePortLatch                Field = 118
)

func (Field) Descriptor

func (Field) Descriptor() protoreflect.EnumDescriptor

func (Field) Enum

func (x Field) Enum() *Field

func (Field) EnumDescriptor deprecated

func (Field) EnumDescriptor() ([]byte, []int)

Deprecated: Use Field.Descriptor instead.

func (Field) Number

func (x Field) Number() protoreflect.EnumNumber

func (Field) String

func (x Field) String() string

func (Field) Type

func (Field) Type() protoreflect.EnumType

type LocationValue

type LocationValue struct {
	Latitude  float64 `protobuf:"fixed64,1,opt,name=latitude,proto3" json:"latitude,omitempty"`
	Longitude float64 `protobuf:"fixed64,2,opt,name=longitude,proto3" json:"longitude,omitempty"`
	// contains filtered or unexported fields
}

LocationValue is a Datum value type

func (*LocationValue) Descriptor deprecated

func (*LocationValue) Descriptor() ([]byte, []int)

Deprecated: Use LocationValue.ProtoReflect.Descriptor instead.

func (*LocationValue) GetLatitude

func (x *LocationValue) GetLatitude() float64

func (*LocationValue) GetLongitude

func (x *LocationValue) GetLongitude() float64

func (*LocationValue) ProtoMessage

func (*LocationValue) ProtoMessage()

func (*LocationValue) ProtoReflect

func (x *LocationValue) ProtoReflect() protoreflect.Message

func (*LocationValue) Reset

func (x *LocationValue) Reset()

func (*LocationValue) String

func (x *LocationValue) String() string

type Metric

type Metric struct {
	Name  string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Tags  map[string]string `` /* 149-byte string literal not displayed */
	Value float64           `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Metric is a single metric value with a name, tags, and a value.

func (*Metric) Descriptor deprecated

func (*Metric) Descriptor() ([]byte, []int)

Deprecated: Use Metric.ProtoReflect.Descriptor instead.

func (*Metric) GetName

func (x *Metric) GetName() string

func (*Metric) GetTags

func (x *Metric) GetTags() map[string]string

func (*Metric) GetValue

func (x *Metric) GetValue() float64

func (*Metric) ProtoMessage

func (*Metric) ProtoMessage()

func (*Metric) ProtoReflect

func (x *Metric) ProtoReflect() protoreflect.Message

func (*Metric) Reset

func (x *Metric) Reset()

func (*Metric) String

func (x *Metric) String() string

type Payload

type Payload struct {
	Data      []*Datum               `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Vin       string                 `protobuf:"bytes,3,opt,name=vin,proto3" json:"vin,omitempty"`
	// contains filtered or unexported fields
}

Payload holds a collection of values, and may not have a vin

func (*Payload) Descriptor deprecated

func (*Payload) Descriptor() ([]byte, []int)

Deprecated: Use Payload.ProtoReflect.Descriptor instead.

func (*Payload) GetCreatedAt

func (x *Payload) GetCreatedAt() *timestamppb.Timestamp

func (*Payload) GetData

func (x *Payload) GetData() []*Datum

func (*Payload) GetVin

func (x *Payload) GetVin() string

func (*Payload) ProtoMessage

func (*Payload) ProtoMessage()

func (*Payload) ProtoReflect

func (x *Payload) ProtoReflect() protoreflect.Message

func (*Payload) Reset

func (x *Payload) Reset()

func (*Payload) String

func (x *Payload) String() string

type ShiftState

type ShiftState int32

ShiftState are the gear options

const (
	ShiftState_ShiftStateUnknown ShiftState = 0
	ShiftState_ShiftStateInvalid ShiftState = 1
	ShiftState_ShiftStateP       ShiftState = 2
	ShiftState_ShiftStateR       ShiftState = 3
	ShiftState_ShiftStateD       ShiftState = 4
	ShiftState_ShiftStateN       ShiftState = 5
	ShiftState_ShiftStateSNA     ShiftState = 6
)

func (ShiftState) Descriptor

func (ShiftState) Descriptor() protoreflect.EnumDescriptor

func (ShiftState) Enum

func (x ShiftState) Enum() *ShiftState

func (ShiftState) EnumDescriptor deprecated

func (ShiftState) EnumDescriptor() ([]byte, []int)

Deprecated: Use ShiftState.Descriptor instead.

func (ShiftState) Number

func (x ShiftState) Number() protoreflect.EnumNumber

func (ShiftState) String

func (x ShiftState) String() string

func (ShiftState) Type

type Value

type Value struct {

	// Types that are assignable to Value:
	//
	//	*Value_StringValue
	//	*Value_IntValue
	//	*Value_LongValue
	//	*Value_FloatValue
	//	*Value_DoubleValue
	//	*Value_BooleanValue
	//	*Value_LocationValue
	//	*Value_ChargingValue
	//	*Value_ShiftStateValue
	Value isValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

Value is a dynamic Datum type. Most Datums are strings and is the default format Note: Fields may have their types updated with different software and vehicle versions to optimize for precision or space

func (*Value) Descriptor deprecated

func (*Value) Descriptor() ([]byte, []int)

Deprecated: Use Value.ProtoReflect.Descriptor instead.

func (*Value) GetBooleanValue

func (x *Value) GetBooleanValue() bool

func (*Value) GetChargingValue

func (x *Value) GetChargingValue() ChargingState

func (*Value) GetDoubleValue

func (x *Value) GetDoubleValue() float64

func (*Value) GetFloatValue

func (x *Value) GetFloatValue() float32

func (*Value) GetIntValue

func (x *Value) GetIntValue() int32

func (*Value) GetLocationValue

func (x *Value) GetLocationValue() *LocationValue

func (*Value) GetLongValue

func (x *Value) GetLongValue() int64

func (*Value) GetShiftStateValue

func (x *Value) GetShiftStateValue() ShiftState

func (*Value) GetStringValue

func (x *Value) GetStringValue() string

func (*Value) GetValue

func (m *Value) GetValue() isValue_Value

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) ProtoReflect

func (x *Value) ProtoReflect() protoreflect.Message

func (*Value) Reset

func (x *Value) Reset()

func (*Value) String

func (x *Value) String() string

type Value_BooleanValue

type Value_BooleanValue struct {
	BooleanValue bool `protobuf:"varint,6,opt,name=boolean_value,json=booleanValue,proto3,oneof"`
}

type Value_ChargingValue

type Value_ChargingValue struct {
	ChargingValue ChargingState `protobuf:"varint,8,opt,name=charging_value,json=chargingValue,proto3,enum=telemetry.vehicle_data.ChargingState,oneof"`
}

type Value_DoubleValue

type Value_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"`
}

type Value_FloatValue

type Value_FloatValue struct {
	FloatValue float32 `protobuf:"fixed32,4,opt,name=float_value,json=floatValue,proto3,oneof"`
}

type Value_IntValue

type Value_IntValue struct {
	IntValue int32 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}

type Value_LocationValue

type Value_LocationValue struct {
	LocationValue *LocationValue `protobuf:"bytes,7,opt,name=location_value,json=locationValue,proto3,oneof"`
}

type Value_LongValue

type Value_LongValue struct {
	LongValue int64 `protobuf:"varint,3,opt,name=long_value,json=longValue,proto3,oneof"`
}

type Value_ShiftStateValue

type Value_ShiftStateValue struct {
	ShiftStateValue ShiftState `protobuf:"varint,9,opt,name=shift_state_value,json=shiftStateValue,proto3,enum=telemetry.vehicle_data.ShiftState,oneof"`
}

type Value_StringValue

type Value_StringValue struct {
	StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type VehicleAlert

type VehicleAlert struct {
	Name      string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Audiences []Audience             `protobuf:"varint,2,rep,packed,name=audiences,proto3,enum=telemetry.vehicle_alerts.Audience" json:"audiences,omitempty"`
	StartedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	EndedAt   *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"`
	// contains filtered or unexported fields
}

VehicleAlert is a single alert and is active if ended_at is nil.

func (*VehicleAlert) Descriptor deprecated

func (*VehicleAlert) Descriptor() ([]byte, []int)

Deprecated: Use VehicleAlert.ProtoReflect.Descriptor instead.

func (*VehicleAlert) GetAudiences

func (x *VehicleAlert) GetAudiences() []Audience

func (*VehicleAlert) GetEndedAt

func (x *VehicleAlert) GetEndedAt() *timestamppb.Timestamp

func (*VehicleAlert) GetName

func (x *VehicleAlert) GetName() string

func (*VehicleAlert) GetStartedAt

func (x *VehicleAlert) GetStartedAt() *timestamppb.Timestamp

func (*VehicleAlert) ProtoMessage

func (*VehicleAlert) ProtoMessage()

func (*VehicleAlert) ProtoReflect

func (x *VehicleAlert) ProtoReflect() protoreflect.Message

func (*VehicleAlert) Reset

func (x *VehicleAlert) Reset()

func (*VehicleAlert) String

func (x *VehicleAlert) String() string

type VehicleAlerts

type VehicleAlerts struct {
	Alerts    []*VehicleAlert        `protobuf:"bytes,1,rep,name=alerts,proto3" json:"alerts,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Vin       string                 `protobuf:"bytes,3,opt,name=vin,proto3" json:"vin,omitempty"`
	// contains filtered or unexported fields
}

VehicleAlerts is a collection of recent alerts.

func (*VehicleAlerts) Descriptor deprecated

func (*VehicleAlerts) Descriptor() ([]byte, []int)

Deprecated: Use VehicleAlerts.ProtoReflect.Descriptor instead.

func (*VehicleAlerts) GetAlerts

func (x *VehicleAlerts) GetAlerts() []*VehicleAlert

func (*VehicleAlerts) GetCreatedAt

func (x *VehicleAlerts) GetCreatedAt() *timestamppb.Timestamp

func (*VehicleAlerts) GetVin

func (x *VehicleAlerts) GetVin() string

func (*VehicleAlerts) ProtoMessage

func (*VehicleAlerts) ProtoMessage()

func (*VehicleAlerts) ProtoReflect

func (x *VehicleAlerts) ProtoReflect() protoreflect.Message

func (*VehicleAlerts) Reset

func (x *VehicleAlerts) Reset()

func (*VehicleAlerts) String

func (x *VehicleAlerts) String() string

type VehicleError

type VehicleError struct {
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Name      string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Tags      map[string]string      `` /* 149-byte string literal not displayed */
	Body      string                 `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

VehicleError is a single error

func (*VehicleError) Descriptor deprecated

func (*VehicleError) Descriptor() ([]byte, []int)

Deprecated: Use VehicleError.ProtoReflect.Descriptor instead.

func (*VehicleError) GetBody

func (x *VehicleError) GetBody() string

func (*VehicleError) GetCreatedAt

func (x *VehicleError) GetCreatedAt() *timestamppb.Timestamp

func (*VehicleError) GetName

func (x *VehicleError) GetName() string

func (*VehicleError) GetTags

func (x *VehicleError) GetTags() map[string]string

func (*VehicleError) ProtoMessage

func (*VehicleError) ProtoMessage()

func (*VehicleError) ProtoReflect

func (x *VehicleError) ProtoReflect() protoreflect.Message

func (*VehicleError) Reset

func (x *VehicleError) Reset()

func (*VehicleError) String

func (x *VehicleError) String() string

type VehicleErrors

type VehicleErrors struct {
	Errors    []*VehicleError        `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Vin       string                 `protobuf:"bytes,3,opt,name=vin,proto3" json:"vin,omitempty"`
	// contains filtered or unexported fields
}

VehicleErrors is a collection of errors for a single vehicle.

func (*VehicleErrors) Descriptor deprecated

func (*VehicleErrors) Descriptor() ([]byte, []int)

Deprecated: Use VehicleErrors.ProtoReflect.Descriptor instead.

func (*VehicleErrors) GetCreatedAt

func (x *VehicleErrors) GetCreatedAt() *timestamppb.Timestamp

func (*VehicleErrors) GetErrors

func (x *VehicleErrors) GetErrors() []*VehicleError

func (*VehicleErrors) GetVin

func (x *VehicleErrors) GetVin() string

func (*VehicleErrors) ProtoMessage

func (*VehicleErrors) ProtoMessage()

func (*VehicleErrors) ProtoReflect

func (x *VehicleErrors) ProtoReflect() protoreflect.Message

func (*VehicleErrors) Reset

func (x *VehicleErrors) Reset()

func (*VehicleErrors) String

func (x *VehicleErrors) String() string

type VehicleMetrics

type VehicleMetrics struct {
	Metrics   []*Metric              `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Vin       string                 `protobuf:"bytes,3,opt,name=vin,proto3" json:"vin,omitempty"`
	// contains filtered or unexported fields
}

VehicleMetrics is a collection of metrics for a single vehicle.

func (*VehicleMetrics) Descriptor deprecated

func (*VehicleMetrics) Descriptor() ([]byte, []int)

Deprecated: Use VehicleMetrics.ProtoReflect.Descriptor instead.

func (*VehicleMetrics) GetCreatedAt

func (x *VehicleMetrics) GetCreatedAt() *timestamppb.Timestamp

func (*VehicleMetrics) GetMetrics

func (x *VehicleMetrics) GetMetrics() []*Metric

func (*VehicleMetrics) GetVin

func (x *VehicleMetrics) GetVin() string

func (*VehicleMetrics) ProtoMessage

func (*VehicleMetrics) ProtoMessage()

func (*VehicleMetrics) ProtoReflect

func (x *VehicleMetrics) ProtoReflect() protoreflect.Message

func (*VehicleMetrics) Reset

func (x *VehicleMetrics) Reset()

func (*VehicleMetrics) String

func (x *VehicleMetrics) String() string

Jump to

Keyboard shortcuts

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