grpc

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

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: "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 BaseResponse

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

func (*BaseResponse) Descriptor deprecated

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

Deprecated: Use BaseResponse.ProtoReflect.Descriptor instead.

func (*BaseResponse) GetId

func (x *BaseResponse) GetId() string

func (*BaseResponse) ProtoMessage

func (*BaseResponse) ProtoMessage()

func (*BaseResponse) ProtoReflect

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

func (*BaseResponse) Reset

func (x *BaseResponse) Reset()

func (*BaseResponse) String

func (x *BaseResponse) String() string

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"`
	// 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) GetName

func (x *CreateDBCCodeRequest) GetName() 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"`
	Trigger            string `protobuf:"bytes,4,opt,name=trigger,proto3" json:"trigger,omitempty"`
	Name               string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,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) GetDbcCodesId

func (x *CreateTestSignalRequest) GetDbcCodesId() string

func (*CreateTestSignalRequest) GetDeviceDefinitionId

func (x *CreateTestSignalRequest) GetDeviceDefinitionId() string

func (*CreateTestSignalRequest) GetName

func (x *CreateTestSignalRequest) GetName() string

func (*CreateTestSignalRequest) GetTrigger

func (x *CreateTestSignalRequest) GetTrigger() 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"`
	// 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) GetId

func (x *GetDBCCodeResponse) GetId() string

func (*GetDBCCodeResponse) GetName

func (x *GetDBCCodeResponse) GetName() 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"`
	Trigger            string                 `protobuf:"bytes,5,opt,name=trigger,proto3" json:"trigger,omitempty"`
	Name               string                 `protobuf:"bytes,6,opt,name=name,proto3" json:"name,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"`
	// contains filtered or unexported fields
}

func (*GetTestSignalResponse) Descriptor deprecated

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

Deprecated: Use GetTestSignalResponse.ProtoReflect.Descriptor instead.

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

func (x *GetTestSignalResponse) GetName() string

func (*GetTestSignalResponse) GetTrigger

func (x *GetTestSignalResponse) GetTrigger() 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 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

func (UnimplementedVehicleSignalDecodingServiceServer) GetTestSignalById

func (UnimplementedVehicleSignalDecodingServiceServer) GetTestSignals

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"`
	// 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) GetId

func (x *UpdateDBCCodeRequest) GetId() string

func (*UpdateDBCCodeRequest) GetName

func (x *UpdateDBCCodeRequest) GetName() 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"`
	Trigger            string `protobuf:"bytes,5,opt,name=trigger,proto3" json:"trigger,omitempty"`
	Name               string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,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) GetDbcCodesId

func (x *UpdateTestSignalRequest) GetDbcCodesId() string

func (*UpdateTestSignalRequest) GetDeviceDefinitionId

func (x *UpdateTestSignalRequest) GetDeviceDefinitionId() string

func (*UpdateTestSignalRequest) GetId

func (x *UpdateTestSignalRequest) GetId() string

func (*UpdateTestSignalRequest) GetName

func (x *UpdateTestSignalRequest) GetName() string

func (*UpdateTestSignalRequest) GetTrigger

func (x *UpdateTestSignalRequest) GetTrigger() 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 VehicleSignalDecodingServiceClient

type VehicleSignalDecodingServiceClient interface {
	CreateDBCCode(ctx context.Context, in *CreateDBCCodeRequest, opts ...grpc.CallOption) (*BaseResponse, error)
	UpdateDBCCode(ctx context.Context, in *UpdateDBCCodeRequest, opts ...grpc.CallOption) (*BaseResponse, 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) (*BaseResponse, error)
	UpdateTestSignal(ctx context.Context, in *UpdateTestSignalRequest, opts ...grpc.CallOption) (*BaseResponse, error)
	GetTestSignals(ctx context.Context, in *emptypb.Empty, 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) (*BaseResponse, error)
	UpdateDBCCode(context.Context, *UpdateDBCCodeRequest) (*BaseResponse, error)
	GetDBCCodes(context.Context, *emptypb.Empty) (*GetDBCCodeListResponse, error)
	GetDBCCodesById(context.Context, *GetByIdRequest) (*GetDBCCodeResponse, error)
	CreateTestSignal(context.Context, *CreateTestSignalRequest) (*BaseResponse, error)
	UpdateTestSignal(context.Context, *UpdateTestSignalRequest) (*BaseResponse, error)
	GetTestSignals(context.Context, *emptypb.Empty) (*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