grpc

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VehicleSignalDecodingService_CreateDBCCode_FullMethodName                      = "/grpc.VehicleSignalDecodingService/CreateDBCCode"
	VehicleSignalDecodingService_UpdateDBCCode_FullMethodName                      = "/grpc.VehicleSignalDecodingService/UpdateDBCCode"
	VehicleSignalDecodingService_GetDBCCodes_FullMethodName                        = "/grpc.VehicleSignalDecodingService/GetDBCCodes"
	VehicleSignalDecodingService_GetDBCCodesByID_FullMethodName                    = "/grpc.VehicleSignalDecodingService/GetDBCCodesByID"
	VehicleSignalDecodingService_CreateTestSignal_FullMethodName                   = "/grpc.VehicleSignalDecodingService/CreateTestSignal"
	VehicleSignalDecodingService_UpdateTestSignal_FullMethodName                   = "/grpc.VehicleSignalDecodingService/UpdateTestSignal"
	VehicleSignalDecodingService_GetTestSignals_FullMethodName                     = "/grpc.VehicleSignalDecodingService/GetTestSignals"
	VehicleSignalDecodingService_GetTestSignalsByDeviceDefinitionID_FullMethodName = "/grpc.VehicleSignalDecodingService/GetTestSignalsByDeviceDefinitionID"
	VehicleSignalDecodingService_GetTestSignalsByUserDeviceID_FullMethodName       = "/grpc.VehicleSignalDecodingService/GetTestSignalsByUserDeviceID"
	VehicleSignalDecodingService_GetTestSignalsByDBCCodeID_FullMethodName          = "/grpc.VehicleSignalDecodingService/GetTestSignalsByDBCCodeID"
	VehicleSignalDecodingService_GetTestSignalByID_FullMethodName                  = "/grpc.VehicleSignalDecodingService/GetTestSignalByID"
)

Variables

View Source
var File_pkg_grpc_vehicle_signal_decoding_proto protoreflect.FileDescriptor
View Source
var VehicleSignalDecodingService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "grpc.VehicleSignalDecodingService",
	HandlerType: (*VehicleSignalDecodingServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateDBCCode",
			Handler:    _VehicleSignalDecodingService_CreateDBCCode_Handler,
		},
		{
			MethodName: "UpdateDBCCode",
			Handler:    _VehicleSignalDecodingService_UpdateDBCCode_Handler,
		},
		{
			MethodName: "GetDBCCodes",
			Handler:    _VehicleSignalDecodingService_GetDBCCodes_Handler,
		},
		{
			MethodName: "GetDBCCodesByID",
			Handler:    _VehicleSignalDecodingService_GetDBCCodesByID_Handler,
		},
		{
			MethodName: "CreateTestSignal",
			Handler:    _VehicleSignalDecodingService_CreateTestSignal_Handler,
		},
		{
			MethodName: "UpdateTestSignal",
			Handler:    _VehicleSignalDecodingService_UpdateTestSignal_Handler,
		},
		{
			MethodName: "GetTestSignals",
			Handler:    _VehicleSignalDecodingService_GetTestSignals_Handler,
		},
		{
			MethodName: "GetTestSignalsByDeviceDefinitionID",
			Handler:    _VehicleSignalDecodingService_GetTestSignalsByDeviceDefinitionID_Handler,
		},
		{
			MethodName: "GetTestSignalsByUserDeviceID",
			Handler:    _VehicleSignalDecodingService_GetTestSignalsByUserDeviceID_Handler,
		},
		{
			MethodName: "GetTestSignalsByDBCCodeID",
			Handler:    _VehicleSignalDecodingService_GetTestSignalsByDBCCodeID_Handler,
		},
		{
			MethodName: "GetTestSignalByID",
			Handler:    _VehicleSignalDecodingService_GetTestSignalByID_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/grpc/vehicle_signal_decoding.proto",
}

VehicleSignalDecodingService_ServiceDesc is the grpc.ServiceDesc for VehicleSignalDecodingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterVehicleSignalDecodingServiceServer

func RegisterVehicleSignalDecodingServiceServer(s grpc.ServiceRegistrar, srv VehicleSignalDecodingServiceServer)

Types

type CreateDBCCodeRequest

type CreateDBCCodeRequest struct {
	Name             string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DbcContents      string `protobuf:"bytes,2,opt,name=dbc_contents,json=dbcContents,proto3" json:"dbc_contents,omitempty"`
	Header           int32  `protobuf:"varint,3,opt,name=header,proto3" json:"header,omitempty"`
	Trigger          string `protobuf:"bytes,4,opt,name=trigger,proto3" json:"trigger,omitempty"`
	RecordingEnabled bool   `protobuf:"varint,5,opt,name=recording_enabled,json=recordingEnabled,proto3" json:"recording_enabled,omitempty"`
	MaxSampleSize    int32  `protobuf:"varint,6,opt,name=max_sample_size,json=maxSampleSize,proto3" json:"max_sample_size,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDBCCodeRequest) Descriptor deprecated

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

Deprecated: Use CreateDBCCodeRequest.ProtoReflect.Descriptor instead.

func (*CreateDBCCodeRequest) GetDbcContents

func (x *CreateDBCCodeRequest) GetDbcContents() string

func (*CreateDBCCodeRequest) GetHeader added in v0.1.3

func (x *CreateDBCCodeRequest) GetHeader() int32

func (*CreateDBCCodeRequest) GetMaxSampleSize added in v0.1.3

func (x *CreateDBCCodeRequest) GetMaxSampleSize() int32

func (*CreateDBCCodeRequest) GetName

func (x *CreateDBCCodeRequest) GetName() string

func (*CreateDBCCodeRequest) GetRecordingEnabled added in v0.1.3

func (x *CreateDBCCodeRequest) GetRecordingEnabled() bool

func (*CreateDBCCodeRequest) GetTrigger added in v0.1.3

func (x *CreateDBCCodeRequest) GetTrigger() string

func (*CreateDBCCodeRequest) ProtoMessage

func (*CreateDBCCodeRequest) ProtoMessage()

func (*CreateDBCCodeRequest) ProtoReflect

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

func (*CreateDBCCodeRequest) Reset

func (x *CreateDBCCodeRequest) Reset()

func (*CreateDBCCodeRequest) String

func (x *CreateDBCCodeRequest) String() string

type CreateTestSignalRequest

type CreateTestSignalRequest struct {
	DeviceDefinitionId string `protobuf:"bytes,1,opt,name=device_definition_id,json=deviceDefinitionId,proto3" json:"device_definition_id,omitempty"`
	DbcCodesId         string `protobuf:"bytes,2,opt,name=dbc_codes_id,json=dbcCodesId,proto3" json:"dbc_codes_id,omitempty"`
	UserDeviceId       string `protobuf:"bytes,3,opt,name=user_device_id,json=userDeviceId,proto3" json:"user_device_id,omitempty"`
	AutopiUnitId       string `protobuf:"bytes,4,opt,name=autopi_unit_id,json=autopiUnitId,proto3" json:"autopi_unit_id,omitempty"`
	Approved           bool   `protobuf:"varint,5,opt,name=approved,proto3" json:"approved,omitempty"`
	Value              string `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTestSignalRequest) Descriptor deprecated

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

Deprecated: Use CreateTestSignalRequest.ProtoReflect.Descriptor instead.

func (*CreateTestSignalRequest) GetApproved added in v0.1.3

func (x *CreateTestSignalRequest) GetApproved() bool

func (*CreateTestSignalRequest) GetAutopiUnitId added in v0.1.3

func (x *CreateTestSignalRequest) GetAutopiUnitId() string

func (*CreateTestSignalRequest) GetDbcCodesId

func (x *CreateTestSignalRequest) GetDbcCodesId() string

func (*CreateTestSignalRequest) GetDeviceDefinitionId

func (x *CreateTestSignalRequest) GetDeviceDefinitionId() string

func (*CreateTestSignalRequest) GetUserDeviceId

func (x *CreateTestSignalRequest) GetUserDeviceId() string

func (*CreateTestSignalRequest) GetValue

func (x *CreateTestSignalRequest) GetValue() string

func (*CreateTestSignalRequest) ProtoMessage

func (*CreateTestSignalRequest) ProtoMessage()

func (*CreateTestSignalRequest) ProtoReflect

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

func (*CreateTestSignalRequest) Reset

func (x *CreateTestSignalRequest) Reset()

func (*CreateTestSignalRequest) String

func (x *CreateTestSignalRequest) String() string

type GetByIdRequest

type GetByIdRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetByIdRequest) Descriptor deprecated

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

Deprecated: Use GetByIdRequest.ProtoReflect.Descriptor instead.

func (*GetByIdRequest) GetId

func (x *GetByIdRequest) GetId() string

func (*GetByIdRequest) ProtoMessage

func (*GetByIdRequest) ProtoMessage()

func (*GetByIdRequest) ProtoReflect

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

func (*GetByIdRequest) Reset

func (x *GetByIdRequest) Reset()

func (*GetByIdRequest) String

func (x *GetByIdRequest) String() string

type GetDBCCodeListResponse

type GetDBCCodeListResponse struct {
	Items []*GetDBCCodeResponse `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDBCCodeListResponse) Descriptor deprecated

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

Deprecated: Use GetDBCCodeListResponse.ProtoReflect.Descriptor instead.

func (*GetDBCCodeListResponse) GetItems

func (x *GetDBCCodeListResponse) GetItems() []*GetDBCCodeResponse

func (*GetDBCCodeListResponse) ProtoMessage

func (*GetDBCCodeListResponse) ProtoMessage()

func (*GetDBCCodeListResponse) ProtoReflect

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

func (*GetDBCCodeListResponse) Reset

func (x *GetDBCCodeListResponse) Reset()

func (*GetDBCCodeListResponse) String

func (x *GetDBCCodeListResponse) String() string

type GetDBCCodeResponse

type GetDBCCodeResponse struct {
	Id               string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name             string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	DbcContents      string                 `protobuf:"bytes,3,opt,name=dbc_contents,json=dbcContents,proto3" json:"dbc_contents,omitempty"`
	CreatedAt        *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt        *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Header           int32                  `protobuf:"varint,6,opt,name=header,proto3" json:"header,omitempty"`
	Trigger          string                 `protobuf:"bytes,7,opt,name=trigger,proto3" json:"trigger,omitempty"`
	RecordingEnabled bool                   `protobuf:"varint,8,opt,name=recording_enabled,json=recordingEnabled,proto3" json:"recording_enabled,omitempty"`
	MaxSampleSize    int32                  `protobuf:"varint,9,opt,name=max_sample_size,json=maxSampleSize,proto3" json:"max_sample_size,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDBCCodeResponse) Descriptor deprecated

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

Deprecated: Use GetDBCCodeResponse.ProtoReflect.Descriptor instead.

func (*GetDBCCodeResponse) GetCreatedAt

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

func (*GetDBCCodeResponse) GetDbcContents

func (x *GetDBCCodeResponse) GetDbcContents() string

func (*GetDBCCodeResponse) GetHeader added in v0.1.3

func (x *GetDBCCodeResponse) GetHeader() int32

func (*GetDBCCodeResponse) GetId

func (x *GetDBCCodeResponse) GetId() string

func (*GetDBCCodeResponse) GetMaxSampleSize added in v0.1.3

func (x *GetDBCCodeResponse) GetMaxSampleSize() int32

func (*GetDBCCodeResponse) GetName

func (x *GetDBCCodeResponse) GetName() string

func (*GetDBCCodeResponse) GetRecordingEnabled added in v0.1.3

func (x *GetDBCCodeResponse) GetRecordingEnabled() bool

func (*GetDBCCodeResponse) GetTrigger added in v0.1.3

func (x *GetDBCCodeResponse) GetTrigger() string

func (*GetDBCCodeResponse) GetUpdatedAt

func (x *GetDBCCodeResponse) GetUpdatedAt() *timestamppb.Timestamp

func (*GetDBCCodeResponse) ProtoMessage

func (*GetDBCCodeResponse) ProtoMessage()

func (*GetDBCCodeResponse) ProtoReflect

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

func (*GetDBCCodeResponse) Reset

func (x *GetDBCCodeResponse) Reset()

func (*GetDBCCodeResponse) String

func (x *GetDBCCodeResponse) String() string

type GetTestSignalListResponse

type GetTestSignalListResponse struct {
	Items []*GetTestSignalResponse `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTestSignalListResponse) Descriptor deprecated

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

Deprecated: Use GetTestSignalListResponse.ProtoReflect.Descriptor instead.

func (*GetTestSignalListResponse) GetItems

func (*GetTestSignalListResponse) ProtoMessage

func (*GetTestSignalListResponse) ProtoMessage()

func (*GetTestSignalListResponse) ProtoReflect

func (*GetTestSignalListResponse) Reset

func (x *GetTestSignalListResponse) Reset()

func (*GetTestSignalListResponse) String

func (x *GetTestSignalListResponse) String() string

type GetTestSignalResponse

type GetTestSignalResponse struct {
	Id                 string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DeviceDefinitionId string                 `protobuf:"bytes,2,opt,name=device_definition_id,json=deviceDefinitionId,proto3" json:"device_definition_id,omitempty"`
	DbcCodesId         string                 `protobuf:"bytes,3,opt,name=dbc_codes_id,json=dbcCodesId,proto3" json:"dbc_codes_id,omitempty"`
	UserDeviceId       string                 `protobuf:"bytes,4,opt,name=user_device_id,json=userDeviceId,proto3" json:"user_device_id,omitempty"`
	AutopiUnitId       string                 `protobuf:"bytes,5,opt,name=autopi_unit_id,json=autopiUnitId,proto3" json:"autopi_unit_id,omitempty"`
	Approved           bool                   `protobuf:"varint,6,opt,name=approved,proto3" json:"approved,omitempty"`
	Value              string                 `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"`
	CreatedAt          *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt          *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Signals            string                 `protobuf:"bytes,10,opt,name=signals,proto3" json:"signals,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTestSignalResponse) Descriptor deprecated

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

Deprecated: Use GetTestSignalResponse.ProtoReflect.Descriptor instead.

func (*GetTestSignalResponse) GetApproved added in v0.1.3

func (x *GetTestSignalResponse) GetApproved() bool

func (*GetTestSignalResponse) GetAutopiUnitId added in v0.1.3

func (x *GetTestSignalResponse) GetAutopiUnitId() string

func (*GetTestSignalResponse) GetCreatedAt

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

func (*GetTestSignalResponse) GetDbcCodesId

func (x *GetTestSignalResponse) GetDbcCodesId() string

func (*GetTestSignalResponse) GetDeviceDefinitionId

func (x *GetTestSignalResponse) GetDeviceDefinitionId() string

func (*GetTestSignalResponse) GetId

func (x *GetTestSignalResponse) GetId() string

func (*GetTestSignalResponse) GetSignals added in v0.2.3

func (x *GetTestSignalResponse) GetSignals() string

func (*GetTestSignalResponse) GetUpdatedAt

func (x *GetTestSignalResponse) GetUpdatedAt() *timestamppb.Timestamp

func (*GetTestSignalResponse) GetUserDeviceId

func (x *GetTestSignalResponse) GetUserDeviceId() string

func (*GetTestSignalResponse) GetValue

func (x *GetTestSignalResponse) GetValue() string

func (*GetTestSignalResponse) ProtoMessage

func (*GetTestSignalResponse) ProtoMessage()

func (*GetTestSignalResponse) ProtoReflect

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

func (*GetTestSignalResponse) Reset

func (x *GetTestSignalResponse) Reset()

func (*GetTestSignalResponse) String

func (x *GetTestSignalResponse) String() string

type PIDConfig added in v0.2.4

type PIDConfig struct {
	Name            string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Header          uint32 `protobuf:"varint,2,opt,name=header,proto3" json:"header,omitempty"`
	Mode            uint32 `protobuf:"varint,3,opt,name=mode,proto3" json:"mode,omitempty"`
	Pid             uint32 `protobuf:"varint,4,opt,name=pid,proto3" json:"pid,omitempty"`
	Formula         string `protobuf:"bytes,5,opt,name=formula,proto3" json:"formula,omitempty"`
	IntervalSeconds int32  `protobuf:"varint,6,opt,name=interval_seconds,json=intervalSeconds,proto3" json:"interval_seconds,omitempty"`
	Version         string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
	Protocol        string `protobuf:"bytes,8,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// contains filtered or unexported fields
}

func (*PIDConfig) Descriptor deprecated added in v0.2.4

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

Deprecated: Use PIDConfig.ProtoReflect.Descriptor instead.

func (*PIDConfig) GetFormula added in v0.2.4

func (x *PIDConfig) GetFormula() string

func (*PIDConfig) GetHeader added in v0.2.4

func (x *PIDConfig) GetHeader() uint32

func (*PIDConfig) GetIntervalSeconds added in v0.2.4

func (x *PIDConfig) GetIntervalSeconds() int32

func (*PIDConfig) GetMode added in v0.2.4

func (x *PIDConfig) GetMode() uint32

func (*PIDConfig) GetName added in v0.2.4

func (x *PIDConfig) GetName() string

func (*PIDConfig) GetPid added in v0.2.4

func (x *PIDConfig) GetPid() uint32

func (*PIDConfig) GetProtocol added in v0.2.4

func (x *PIDConfig) GetProtocol() string

func (*PIDConfig) GetVersion added in v0.2.4

func (x *PIDConfig) GetVersion() string

func (*PIDConfig) ProtoMessage added in v0.2.4

func (*PIDConfig) ProtoMessage()

func (*PIDConfig) ProtoReflect added in v0.2.4

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

func (*PIDConfig) Reset added in v0.2.4

func (x *PIDConfig) Reset()

func (*PIDConfig) String added in v0.2.4

func (x *PIDConfig) String() string

type PIDRequests added in v0.2.4

type PIDRequests struct {
	TemplateName string       `protobuf:"bytes,1,opt,name=template_name,json=templateName,proto3" json:"template_name,omitempty"`
	Version      string       `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Requests     []*PIDConfig `protobuf:"bytes,3,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

func (*PIDRequests) Descriptor deprecated added in v0.2.4

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

Deprecated: Use PIDRequests.ProtoReflect.Descriptor instead.

func (*PIDRequests) GetRequests added in v0.2.4

func (x *PIDRequests) GetRequests() []*PIDConfig

func (*PIDRequests) GetTemplateName added in v0.2.4

func (x *PIDRequests) GetTemplateName() string

func (*PIDRequests) GetVersion added in v0.2.4

func (x *PIDRequests) GetVersion() string

func (*PIDRequests) ProtoMessage added in v0.2.4

func (*PIDRequests) ProtoMessage()

func (*PIDRequests) ProtoReflect added in v0.2.4

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

func (*PIDRequests) Reset added in v0.2.4

func (x *PIDRequests) Reset()

func (*PIDRequests) String added in v0.2.4

func (x *PIDRequests) String() string

type UnimplementedVehicleSignalDecodingServiceServer

type UnimplementedVehicleSignalDecodingServiceServer struct {
}

UnimplementedVehicleSignalDecodingServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedVehicleSignalDecodingServiceServer) CreateDBCCode

func (UnimplementedVehicleSignalDecodingServiceServer) CreateTestSignal

func (UnimplementedVehicleSignalDecodingServiceServer) GetDBCCodes

func (UnimplementedVehicleSignalDecodingServiceServer) GetDBCCodesByID added in v0.1.2

func (UnimplementedVehicleSignalDecodingServiceServer) GetTestSignalByID added in v0.1.2

func (UnimplementedVehicleSignalDecodingServiceServer) GetTestSignals

func (UnimplementedVehicleSignalDecodingServiceServer) GetTestSignalsByDBCCodeID added in v0.1.2

func (UnimplementedVehicleSignalDecodingServiceServer) GetTestSignalsByDeviceDefinitionID added in v0.1.2

func (UnimplementedVehicleSignalDecodingServiceServer) GetTestSignalsByUserDeviceID added in v0.1.2

func (UnimplementedVehicleSignalDecodingServiceServer) UpdateDBCCode

func (UnimplementedVehicleSignalDecodingServiceServer) UpdateTestSignal

type UnsafeVehicleSignalDecodingServiceServer

type UnsafeVehicleSignalDecodingServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeVehicleSignalDecodingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VehicleSignalDecodingServiceServer will result in compilation errors.

type UpdateDBCCodeRequest

type UpdateDBCCodeRequest struct {
	Id               string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name             string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	DbcContents      string `protobuf:"bytes,3,opt,name=dbc_contents,json=dbcContents,proto3" json:"dbc_contents,omitempty"`
	Header           int32  `protobuf:"varint,4,opt,name=header,proto3" json:"header,omitempty"`
	Trigger          string `protobuf:"bytes,5,opt,name=trigger,proto3" json:"trigger,omitempty"`
	RecordingEnabled bool   `protobuf:"varint,6,opt,name=recording_enabled,json=recordingEnabled,proto3" json:"recording_enabled,omitempty"`
	MaxSampleSize    int32  `protobuf:"varint,7,opt,name=max_sample_size,json=maxSampleSize,proto3" json:"max_sample_size,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDBCCodeRequest) Descriptor deprecated

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

Deprecated: Use UpdateDBCCodeRequest.ProtoReflect.Descriptor instead.

func (*UpdateDBCCodeRequest) GetDbcContents

func (x *UpdateDBCCodeRequest) GetDbcContents() string

func (*UpdateDBCCodeRequest) GetHeader added in v0.1.3

func (x *UpdateDBCCodeRequest) GetHeader() int32

func (*UpdateDBCCodeRequest) GetId

func (x *UpdateDBCCodeRequest) GetId() string

func (*UpdateDBCCodeRequest) GetMaxSampleSize added in v0.1.3

func (x *UpdateDBCCodeRequest) GetMaxSampleSize() int32

func (*UpdateDBCCodeRequest) GetName

func (x *UpdateDBCCodeRequest) GetName() string

func (*UpdateDBCCodeRequest) GetRecordingEnabled added in v0.1.3

func (x *UpdateDBCCodeRequest) GetRecordingEnabled() bool

func (*UpdateDBCCodeRequest) GetTrigger added in v0.1.3

func (x *UpdateDBCCodeRequest) GetTrigger() string

func (*UpdateDBCCodeRequest) ProtoMessage

func (*UpdateDBCCodeRequest) ProtoMessage()

func (*UpdateDBCCodeRequest) ProtoReflect

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

func (*UpdateDBCCodeRequest) Reset

func (x *UpdateDBCCodeRequest) Reset()

func (*UpdateDBCCodeRequest) String

func (x *UpdateDBCCodeRequest) String() string

type UpdateTestSignalRequest

type UpdateTestSignalRequest struct {
	Id                 string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DeviceDefinitionId string `protobuf:"bytes,2,opt,name=device_definition_id,json=deviceDefinitionId,proto3" json:"device_definition_id,omitempty"`
	DbcCodesId         string `protobuf:"bytes,3,opt,name=dbc_codes_id,json=dbcCodesId,proto3" json:"dbc_codes_id,omitempty"`
	UserDeviceId       string `protobuf:"bytes,4,opt,name=user_device_id,json=userDeviceId,proto3" json:"user_device_id,omitempty"`
	AutopiUnitId       string `protobuf:"bytes,5,opt,name=autopi_unit_id,json=autopiUnitId,proto3" json:"autopi_unit_id,omitempty"`
	Approved           bool   `protobuf:"varint,6,opt,name=approved,proto3" json:"approved,omitempty"`
	Value              string `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTestSignalRequest) Descriptor deprecated

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

Deprecated: Use UpdateTestSignalRequest.ProtoReflect.Descriptor instead.

func (*UpdateTestSignalRequest) GetApproved added in v0.1.3

func (x *UpdateTestSignalRequest) GetApproved() bool

func (*UpdateTestSignalRequest) GetAutopiUnitId added in v0.1.3

func (x *UpdateTestSignalRequest) GetAutopiUnitId() string

func (*UpdateTestSignalRequest) GetDbcCodesId

func (x *UpdateTestSignalRequest) GetDbcCodesId() string

func (*UpdateTestSignalRequest) GetDeviceDefinitionId

func (x *UpdateTestSignalRequest) GetDeviceDefinitionId() string

func (*UpdateTestSignalRequest) GetId

func (x *UpdateTestSignalRequest) GetId() string

func (*UpdateTestSignalRequest) GetUserDeviceId

func (x *UpdateTestSignalRequest) GetUserDeviceId() string

func (*UpdateTestSignalRequest) GetValue

func (x *UpdateTestSignalRequest) GetValue() string

func (*UpdateTestSignalRequest) ProtoMessage

func (*UpdateTestSignalRequest) ProtoMessage()

func (*UpdateTestSignalRequest) ProtoReflect

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

func (*UpdateTestSignalRequest) Reset

func (x *UpdateTestSignalRequest) Reset()

func (*UpdateTestSignalRequest) String

func (x *UpdateTestSignalRequest) String() string

type VehicleSignalBaseResponse added in v0.1.1

type VehicleSignalBaseResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*VehicleSignalBaseResponse) Descriptor deprecated added in v0.1.1

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

Deprecated: Use VehicleSignalBaseResponse.ProtoReflect.Descriptor instead.

func (*VehicleSignalBaseResponse) GetId added in v0.1.1

func (x *VehicleSignalBaseResponse) GetId() string

func (*VehicleSignalBaseResponse) ProtoMessage added in v0.1.1

func (*VehicleSignalBaseResponse) ProtoMessage()

func (*VehicleSignalBaseResponse) ProtoReflect added in v0.1.1

func (*VehicleSignalBaseResponse) Reset added in v0.1.1

func (x *VehicleSignalBaseResponse) Reset()

func (*VehicleSignalBaseResponse) String added in v0.1.1

func (x *VehicleSignalBaseResponse) String() string

type VehicleSignalDecodingServiceClient

type VehicleSignalDecodingServiceClient interface {
	CreateDBCCode(ctx context.Context, in *CreateDBCCodeRequest, opts ...grpc.CallOption) (*VehicleSignalBaseResponse, error)
	UpdateDBCCode(ctx context.Context, in *UpdateDBCCodeRequest, opts ...grpc.CallOption) (*VehicleSignalBaseResponse, error)
	GetDBCCodes(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetDBCCodeListResponse, error)
	GetDBCCodesByID(ctx context.Context, in *GetByIdRequest, opts ...grpc.CallOption) (*GetDBCCodeResponse, error)
	CreateTestSignal(ctx context.Context, in *CreateTestSignalRequest, opts ...grpc.CallOption) (*VehicleSignalBaseResponse, error)
	UpdateTestSignal(ctx context.Context, in *UpdateTestSignalRequest, opts ...grpc.CallOption) (*VehicleSignalBaseResponse, error)
	GetTestSignals(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetTestSignalListResponse, error)
	GetTestSignalsByDeviceDefinitionID(ctx context.Context, in *GetByIdRequest, opts ...grpc.CallOption) (*GetTestSignalListResponse, error)
	GetTestSignalsByUserDeviceID(ctx context.Context, in *GetByIdRequest, opts ...grpc.CallOption) (*GetTestSignalListResponse, error)
	GetTestSignalsByDBCCodeID(ctx context.Context, in *GetByIdRequest, opts ...grpc.CallOption) (*GetTestSignalListResponse, error)
	GetTestSignalByID(ctx context.Context, in *GetByIdRequest, opts ...grpc.CallOption) (*GetTestSignalResponse, error)
}

VehicleSignalDecodingServiceClient is the client API for VehicleSignalDecodingService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type VehicleSignalDecodingServiceServer

type VehicleSignalDecodingServiceServer interface {
	CreateDBCCode(context.Context, *CreateDBCCodeRequest) (*VehicleSignalBaseResponse, error)
	UpdateDBCCode(context.Context, *UpdateDBCCodeRequest) (*VehicleSignalBaseResponse, error)
	GetDBCCodes(context.Context, *emptypb.Empty) (*GetDBCCodeListResponse, error)
	GetDBCCodesByID(context.Context, *GetByIdRequest) (*GetDBCCodeResponse, error)
	CreateTestSignal(context.Context, *CreateTestSignalRequest) (*VehicleSignalBaseResponse, error)
	UpdateTestSignal(context.Context, *UpdateTestSignalRequest) (*VehicleSignalBaseResponse, error)
	GetTestSignals(context.Context, *emptypb.Empty) (*GetTestSignalListResponse, error)
	GetTestSignalsByDeviceDefinitionID(context.Context, *GetByIdRequest) (*GetTestSignalListResponse, error)
	GetTestSignalsByUserDeviceID(context.Context, *GetByIdRequest) (*GetTestSignalListResponse, error)
	GetTestSignalsByDBCCodeID(context.Context, *GetByIdRequest) (*GetTestSignalListResponse, error)
	GetTestSignalByID(context.Context, *GetByIdRequest) (*GetTestSignalResponse, error)
	// contains filtered or unexported methods
}

VehicleSignalDecodingServiceServer is the server API for VehicleSignalDecodingService service. All implementations must embed UnimplementedVehicleSignalDecodingServiceServer for forward compatibility

Jump to

Keyboard shortcuts

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