evcc-io/vehicle/mercedes/pb/cluster.pb.go
2024-02-28 08:43:32 +01:00

214 lines
6.7 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.32.0
// protoc v3.21.12
// source: cluster.proto
package protos
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 MemberStatus int32
const (
MemberStatus_UNKNOWN_MEMBER_STATUS MemberStatus = 0
MemberStatus_STARTING MemberStatus = 1
MemberStatus_READY MemberStatus = 2
MemberStatus_STOPPING MemberStatus = 3
)
// Enum value maps for MemberStatus.
var (
MemberStatus_name = map[int32]string{
0: "UNKNOWN_MEMBER_STATUS",
1: "STARTING",
2: "READY",
3: "STOPPING",
}
MemberStatus_value = map[string]int32{
"UNKNOWN_MEMBER_STATUS": 0,
"STARTING": 1,
"READY": 2,
"STOPPING": 3,
}
)
func (x MemberStatus) Enum() *MemberStatus {
p := new(MemberStatus)
*p = x
return p
}
func (x MemberStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (MemberStatus) Descriptor() protoreflect.EnumDescriptor {
return file_cluster_proto_enumTypes[0].Descriptor()
}
func (MemberStatus) Type() protoreflect.EnumType {
return &file_cluster_proto_enumTypes[0]
}
func (x MemberStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use MemberStatus.Descriptor instead.
func (MemberStatus) EnumDescriptor() ([]byte, []int) {
return file_cluster_proto_rawDescGZIP(), []int{0}
}
type AppTwinMemberStatusValue struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status MemberStatus `protobuf:"varint,1,opt,name=status,proto3,enum=proto.MemberStatus" json:"status,omitempty"`
ApptwinCount uint32 `protobuf:"varint,2,opt,name=apptwin_count,json=apptwinCount,proto3" json:"apptwin_count,omitempty"`
}
func (x *AppTwinMemberStatusValue) Reset() {
*x = AppTwinMemberStatusValue{}
if protoimpl.UnsafeEnabled {
mi := &file_cluster_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AppTwinMemberStatusValue) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AppTwinMemberStatusValue) ProtoMessage() {}
func (x *AppTwinMemberStatusValue) ProtoReflect() protoreflect.Message {
mi := &file_cluster_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 AppTwinMemberStatusValue.ProtoReflect.Descriptor instead.
func (*AppTwinMemberStatusValue) Descriptor() ([]byte, []int) {
return file_cluster_proto_rawDescGZIP(), []int{0}
}
func (x *AppTwinMemberStatusValue) GetStatus() MemberStatus {
if x != nil {
return x.Status
}
return MemberStatus_UNKNOWN_MEMBER_STATUS
}
func (x *AppTwinMemberStatusValue) GetApptwinCount() uint32 {
if x != nil {
return x.ApptwinCount
}
return 0
}
var File_cluster_proto protoreflect.FileDescriptor
var file_cluster_proto_rawDesc = []byte{
0x0a, 0x0d, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x18, 0x41, 0x70, 0x70, 0x54, 0x77, 0x69,
0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x56, 0x61, 0x6c,
0x75, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0e, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65,
0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
0x23, 0x0a, 0x0d, 0x61, 0x70, 0x70, 0x74, 0x77, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74,
0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x74, 0x77, 0x69, 0x6e, 0x43,
0x6f, 0x75, 0x6e, 0x74, 0x2a, 0x50, 0x0a, 0x0c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x53, 0x74,
0x61, 0x74, 0x75, 0x73, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f,
0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x10, 0x00, 0x12,
0x0c, 0x0a, 0x08, 0x53, 0x54, 0x41, 0x52, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a,
0x05, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x54, 0x4f, 0x50,
0x50, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_cluster_proto_rawDescOnce sync.Once
file_cluster_proto_rawDescData = file_cluster_proto_rawDesc
)
func file_cluster_proto_rawDescGZIP() []byte {
file_cluster_proto_rawDescOnce.Do(func() {
file_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(file_cluster_proto_rawDescData)
})
return file_cluster_proto_rawDescData
}
var file_cluster_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_cluster_proto_goTypes = []interface{}{
(MemberStatus)(0), // 0: proto.MemberStatus
(*AppTwinMemberStatusValue)(nil), // 1: proto.AppTwinMemberStatusValue
}
var file_cluster_proto_depIdxs = []int32{
0, // 0: proto.AppTwinMemberStatusValue.status:type_name -> proto.MemberStatus
1, // [1:1] is the sub-list for method output_type
1, // [1:1] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
}
func init() { file_cluster_proto_init() }
func file_cluster_proto_init() {
if File_cluster_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_cluster_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AppTwinMemberStatusValue); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_cluster_proto_rawDesc,
NumEnums: 1,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_cluster_proto_goTypes,
DependencyIndexes: file_cluster_proto_depIdxs,
EnumInfos: file_cluster_proto_enumTypes,
MessageInfos: file_cluster_proto_msgTypes,
}.Build()
File_cluster_proto = out.File
file_cluster_proto_rawDesc = nil
file_cluster_proto_goTypes = nil
file_cluster_proto_depIdxs = nil
}