From 95c92335fb793fec124a2de716290994dcaa3fd7 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期五, 23 四月 2021 17:09:33 +0800
Subject: [PATCH] update bhome_msg_api.pb.go
---
proto/source/bhome_msg/bhome_msg_api.pb.go | 147 +++++++++++++++++++++++++++++++++++++++---------
1 files changed, 118 insertions(+), 29 deletions(-)
diff --git a/proto/source/bhome_msg/bhome_msg_api.pb.go b/proto/source/bhome_msg/bhome_msg_api.pb.go
index 49c8bf4..965526e 100644
--- a/proto/source/bhome_msg/bhome_msg_api.pb.go
+++ b/proto/source/bhome_msg/bhome_msg_api.pb.go
@@ -24,6 +24,8 @@
type BHAddress struct {
MqId []byte `protobuf:"bytes,1,opt,name=mq_id,json=mqId,proto3" json:"mq_id,omitempty"`
+ Ip []byte `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
+ Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
}
func (m *BHAddress) Reset() { *m = BHAddress{} }
@@ -64,6 +66,20 @@
return m.MqId
}
return nil
+}
+
+func (m *BHAddress) GetIp() []byte {
+ if m != nil {
+ return m.Ip
+ }
+ return nil
+}
+
+func (m *BHAddress) GetPort() int32 {
+ if m != nil {
+ return m.Port
+ }
+ return 0
}
type ProcInfo struct {
@@ -587,35 +603,37 @@
func init() { proto.RegisterFile("bhome_msg_api.proto", fileDescriptor_a49c9c1f511a168c) }
var fileDescriptor_a49c9c1f511a168c = []byte{
- // 446 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0xdd, 0x8a, 0xd3, 0x40,
- 0x14, 0xc7, 0x9b, 0xed, 0xc7, 0xda, 0x93, 0xea, 0xc2, 0xb4, 0x60, 0x10, 0x8c, 0x75, 0x40, 0xb6,
- 0x28, 0x46, 0x58, 0x41, 0x2f, 0xc4, 0x0b, 0x57, 0x84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 0x87, 0x03, 0x97, 0xd2, 0xc5, 0x92, 0x1a, 0xeb, 0xc5,
+ 0x5e, 0x61, 0xf7, 0x07, 0x18, 0xfc, 0x31, 0x7c, 0x75, 0x05, 0x97, 0x12, 0x97, 0x10, 0x7a, 0x62,
+ 0xc6, 0x8d, 0xa5, 0x1a, 0x1d, 0x42, 0xdb, 0x1d, 0xeb, 0x12, 0xb6, 0xed, 0x79, 0x73, 0x0f, 0x40,
+ 0x0f, 0xa0, 0x43, 0xaa, 0x4a, 0x9b, 0xb8, 0x39, 0x6c, 0x8d, 0xc2, 0xa3, 0xc1, 0x2f, 0xc8, 0xdd,
+ 0xef, 0x94, 0xd7, 0x10, 0xfc, 0xcc, 0xdf, 0x67, 0x4c, 0x89, 0xb6, 0x25, 0x25, 0xf6, 0xbf, 0x97,
+ 0xe0, 0xfb, 0x70, 0x33, 0x33, 0xec, 0xdd, 0x92, 0xea, 0xf3, 0x7f, 0x18, 0x86, 0x17, 0x80, 0x7e,
+ 0x83, 0x5d, 0xc3, 0x9a, 0x14, 0xf6, 0x48, 0x2d, 0xda, 0xbb, 0xf3, 0xb7, 0x0f, 0xda, 0x82, 0x8e,
+ 0x0f, 0xbf, 0xae, 0x92, 0xe0, 0x62, 0x95, 0x04, 0xdf, 0x57, 0x49, 0xf0, 0x65, 0x9d, 0x34, 0x2e,
+ 0xd6, 0x49, 0xe3, 0xdb, 0x3a, 0x69, 0x8c, 0x5b, 0x1f, 0xc3, 0xf4, 0xf1, 0x6e, 0xb6, 0xec, 0xfa,
+ 0x57, 0xf6, 0xe4, 0x47, 0x00, 0x00, 0x00, 0xff, 0xff, 0x10, 0x44, 0x99, 0xc0, 0x98, 0x03, 0x00,
+ 0x00,
}
func (m *BHAddress) Marshal() (dAtA []byte, err error) {
@@ -638,6 +656,17 @@
i++
i = encodeVarintBhomeMsgApi(dAtA, i, uint64(len(m.MqId)))
i += copy(dAtA[i:], m.MqId)
+ }
+ if len(m.Ip) > 0 {
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintBhomeMsgApi(dAtA, i, uint64(len(m.Ip)))
+ i += copy(dAtA[i:], m.Ip)
+ }
+ if m.Port != 0 {
+ dAtA[i] = 0x18
+ i++
+ i = encodeVarintBhomeMsgApi(dAtA, i, uint64(m.Port))
}
return i, nil
}
@@ -981,6 +1010,13 @@
if l > 0 {
n += 1 + l + sovBhomeMsgApi(uint64(l))
}
+ l = len(m.Ip)
+ if l > 0 {
+ n += 1 + l + sovBhomeMsgApi(uint64(l))
+ }
+ if m.Port != 0 {
+ n += 1 + sovBhomeMsgApi(uint64(m.Port))
+ }
return n
}
@@ -1219,6 +1255,59 @@
m.MqId = []byte{}
}
iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Ip", wireType)
+ }
+ var byteLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowBhomeMsgApi
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ byteLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if byteLen < 0 {
+ return ErrInvalidLengthBhomeMsgApi
+ }
+ postIndex := iNdEx + byteLen
+ if postIndex < 0 {
+ return ErrInvalidLengthBhomeMsgApi
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Ip = append(m.Ip[:0], dAtA[iNdEx:postIndex]...)
+ if m.Ip == nil {
+ m.Ip = []byte{}
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
+ }
+ m.Port = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowBhomeMsgApi
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Port |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
default:
iNdEx = preIndex
skippy, err := skipBhomeMsgApi(dAtA[iNdEx:])
--
Gitblit v1.8.0