Initial cloud-services repo - gateway service + pkg modules

This commit is contained in:
Chris Rai
2026-01-30 23:14:52 -05:00
commit fbb820d7b3
1037 changed files with 171318 additions and 0 deletions

View File

@@ -0,0 +1,348 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.32.0
// protoc v4.25.3
// source: kafka_grpc/depot_data.proto
package kafka_grpc
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type GRPC_DepotPayload struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Handler string `protobuf:"bytes,1,opt,name=handler,proto3" json:"handler,omitempty"`
// Types that are assignable to Data:
//
// *GRPC_DepotPayload_InitPayload
// *GRPC_DepotPayload_HmiSession
Data isGRPC_DepotPayload_Data `protobuf_oneof:"Data"`
}
func (x *GRPC_DepotPayload) Reset() {
*x = GRPC_DepotPayload{}
if protoimpl.UnsafeEnabled {
mi := &file_kafka_grpc_depot_data_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GRPC_DepotPayload) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GRPC_DepotPayload) ProtoMessage() {}
func (x *GRPC_DepotPayload) ProtoReflect() protoreflect.Message {
mi := &file_kafka_grpc_depot_data_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GRPC_DepotPayload.ProtoReflect.Descriptor instead.
func (*GRPC_DepotPayload) Descriptor() ([]byte, []int) {
return file_kafka_grpc_depot_data_proto_rawDescGZIP(), []int{0}
}
func (x *GRPC_DepotPayload) GetHandler() string {
if x != nil {
return x.Handler
}
return ""
}
func (m *GRPC_DepotPayload) GetData() isGRPC_DepotPayload_Data {
if m != nil {
return m.Data
}
return nil
}
func (x *GRPC_DepotPayload) GetInitPayload() *InitPayload {
if x, ok := x.GetData().(*GRPC_DepotPayload_InitPayload); ok {
return x.InitPayload
}
return nil
}
func (x *GRPC_DepotPayload) GetHmiSession() *HMISessionData {
if x, ok := x.GetData().(*GRPC_DepotPayload_HmiSession); ok {
return x.HmiSession
}
return nil
}
type isGRPC_DepotPayload_Data interface {
isGRPC_DepotPayload_Data()
}
type GRPC_DepotPayload_InitPayload struct {
InitPayload *InitPayload `protobuf:"bytes,2,opt,name=initPayload,proto3,oneof"`
}
type GRPC_DepotPayload_HmiSession struct {
HmiSession *HMISessionData `protobuf:"bytes,3,opt,name=hmiSession,proto3,oneof"`
}
func (*GRPC_DepotPayload_InitPayload) isGRPC_DepotPayload_Data() {}
func (*GRPC_DepotPayload_HmiSession) isGRPC_DepotPayload_Data() {}
type InitPayload struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Data map[string]string `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *InitPayload) Reset() {
*x = InitPayload{}
if protoimpl.UnsafeEnabled {
mi := &file_kafka_grpc_depot_data_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InitPayload) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InitPayload) ProtoMessage() {}
func (x *InitPayload) ProtoReflect() protoreflect.Message {
mi := &file_kafka_grpc_depot_data_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use InitPayload.ProtoReflect.Descriptor instead.
func (*InitPayload) Descriptor() ([]byte, []int) {
return file_kafka_grpc_depot_data_proto_rawDescGZIP(), []int{1}
}
func (x *InitPayload) GetData() map[string]string {
if x != nil {
return x.Data
}
return nil
}
type HMISessionData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
Salt string `protobuf:"bytes,2,opt,name=Salt,proto3" json:"Salt,omitempty"`
Vin string `protobuf:"bytes,3,opt,name=vin,proto3" json:"vin,omitempty"`
}
func (x *HMISessionData) Reset() {
*x = HMISessionData{}
if protoimpl.UnsafeEnabled {
mi := &file_kafka_grpc_depot_data_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HMISessionData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*HMISessionData) ProtoMessage() {}
func (x *HMISessionData) ProtoReflect() protoreflect.Message {
mi := &file_kafka_grpc_depot_data_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use HMISessionData.ProtoReflect.Descriptor instead.
func (*HMISessionData) Descriptor() ([]byte, []int) {
return file_kafka_grpc_depot_data_proto_rawDescGZIP(), []int{2}
}
func (x *HMISessionData) GetSessionId() string {
if x != nil {
return x.SessionId
}
return ""
}
func (x *HMISessionData) GetSalt() string {
if x != nil {
return x.Salt
}
return ""
}
func (x *HMISessionData) GetVin() string {
if x != nil {
return x.Vin
}
return ""
}
var File_kafka_grpc_depot_data_proto protoreflect.FileDescriptor
var file_kafka_grpc_depot_data_proto_rawDesc = []byte{
0x0a, 0x1b, 0x6b, 0x61, 0x66, 0x6b, 0x61, 0x5f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x64, 0x65, 0x70,
0x6f, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a, 0x01,
0x0a, 0x11, 0x47, 0x52, 0x50, 0x43, 0x5f, 0x44, 0x65, 0x70, 0x6f, 0x74, 0x50, 0x61, 0x79, 0x6c,
0x6f, 0x61, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x12, 0x30, 0x0a,
0x0b, 0x69, 0x6e, 0x69, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64,
0x48, 0x00, 0x52, 0x0b, 0x69, 0x6e, 0x69, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12,
0x31, 0x0a, 0x0a, 0x68, 0x6d, 0x69, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x48, 0x4d, 0x49, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0a, 0x68, 0x6d, 0x69, 0x53, 0x65, 0x73, 0x73, 0x69,
0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x72, 0x0a, 0x0b, 0x49, 0x6e,
0x69, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x2a, 0x0a, 0x04, 0x64, 0x61, 0x74,
0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x50, 0x61,
0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x37, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74,
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x54,
0x0a, 0x0e, 0x48, 0x4d, 0x49, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61,
0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12,
0x0a, 0x04, 0x53, 0x61, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x53, 0x61,
0x6c, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
0x03, 0x76, 0x69, 0x6e, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x6b, 0x61, 0x66,
0x6b, 0x61, 0x5f, 0x67, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_kafka_grpc_depot_data_proto_rawDescOnce sync.Once
file_kafka_grpc_depot_data_proto_rawDescData = file_kafka_grpc_depot_data_proto_rawDesc
)
func file_kafka_grpc_depot_data_proto_rawDescGZIP() []byte {
file_kafka_grpc_depot_data_proto_rawDescOnce.Do(func() {
file_kafka_grpc_depot_data_proto_rawDescData = protoimpl.X.CompressGZIP(file_kafka_grpc_depot_data_proto_rawDescData)
})
return file_kafka_grpc_depot_data_proto_rawDescData
}
var file_kafka_grpc_depot_data_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_kafka_grpc_depot_data_proto_goTypes = []interface{}{
(*GRPC_DepotPayload)(nil), // 0: GRPC_DepotPayload
(*InitPayload)(nil), // 1: InitPayload
(*HMISessionData)(nil), // 2: HMISessionData
nil, // 3: InitPayload.DataEntry
}
var file_kafka_grpc_depot_data_proto_depIdxs = []int32{
1, // 0: GRPC_DepotPayload.initPayload:type_name -> InitPayload
2, // 1: GRPC_DepotPayload.hmiSession:type_name -> HMISessionData
3, // 2: InitPayload.data:type_name -> InitPayload.DataEntry
3, // [3:3] is the sub-list for method output_type
3, // [3:3] is the sub-list for method input_type
3, // [3:3] is the sub-list for extension type_name
3, // [3:3] is the sub-list for extension extendee
0, // [0:3] is the sub-list for field type_name
}
func init() { file_kafka_grpc_depot_data_proto_init() }
func file_kafka_grpc_depot_data_proto_init() {
if File_kafka_grpc_depot_data_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_kafka_grpc_depot_data_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GRPC_DepotPayload); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kafka_grpc_depot_data_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*InitPayload); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kafka_grpc_depot_data_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*HMISessionData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_kafka_grpc_depot_data_proto_msgTypes[0].OneofWrappers = []interface{}{
(*GRPC_DepotPayload_InitPayload)(nil),
(*GRPC_DepotPayload_HmiSession)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_kafka_grpc_depot_data_proto_rawDesc,
NumEnums: 0,
NumMessages: 4,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_kafka_grpc_depot_data_proto_goTypes,
DependencyIndexes: file_kafka_grpc_depot_data_proto_depIdxs,
MessageInfos: file_kafka_grpc_depot_data_proto_msgTypes,
}.Build()
File_kafka_grpc_depot_data_proto = out.File
file_kafka_grpc_depot_data_proto_rawDesc = nil
file_kafka_grpc_depot_data_proto_goTypes = nil
file_kafka_grpc_depot_data_proto_depIdxs = nil
}