| | |
| | | proto "github.com/gogo/protobuf/proto" |
| | | io "io" |
| | | math "math" |
| | | math_bits "math/bits" |
| | | ) |
| | | |
| | | // Reference imports to suppress errors if they are not otherwise used. |
| | |
| | | const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package |
| | | |
| | | type SdkmsgWithTask struct { |
| | | Sdkid string `protobuf:"bytes,1,opt,name=sdkid,proto3" json:"sdkid,omitempty"` |
| | | Ipcid string `protobuf:"bytes,1,opt,name=ipcid,proto3" json:"ipcid,omitempty"` |
| | | Sdktype string `protobuf:"bytes,2,opt,name=sdktype,proto3" json:"sdktype,omitempty"` |
| | | SdkName string `protobuf:"bytes,3,opt,name=sdkName,proto3" json:"sdkName,omitempty"` |
| | | Sdkdata []byte `protobuf:"bytes,4,opt,name=sdkdata,proto3" json:"sdkdata,omitempty"` |
| | | } |
| | | |
| | |
| | | |
| | | var xxx_messageInfo_SdkmsgWithTask proto.InternalMessageInfo |
| | | |
| | | func (m *SdkmsgWithTask) GetSdkid() string { |
| | | func (m *SdkmsgWithTask) GetIpcid() string { |
| | | if m != nil { |
| | | return m.Sdkid |
| | | return m.Ipcid |
| | | } |
| | | return "" |
| | | } |
| | |
| | | func (m *SdkmsgWithTask) GetSdktype() string { |
| | | if m != nil { |
| | | return m.Sdktype |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (m *SdkmsgWithTask) GetSdkName() string { |
| | | if m != nil { |
| | | return m.SdkName |
| | | } |
| | | return "" |
| | | } |
| | |
| | | func init() { proto.RegisterFile("commsg.proto", fileDescriptor_968fba5e415d8aac) } |
| | | |
| | | var fileDescriptor_968fba5e415d8aac = []byte{ |
| | | // 322 bytes of a gzipped FileDescriptorProto |
| | | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0xbf, 0x4e, 0xc3, 0x30, |
| | | 0x10, 0xc6, 0xeb, 0xa6, 0x7f, 0xaf, 0x55, 0x85, 0x0c, 0x42, 0x16, 0x83, 0x55, 0x65, 0xea, 0x42, |
| | | 0x87, 0xc2, 0x13, 0xb0, 0xb0, 0x00, 0x43, 0x8a, 0xc4, 0xec, 0xc4, 0x26, 0x44, 0xa9, 0x93, 0x28, |
| | | 0xb6, 0xf8, 0xf3, 0x0c, 0x2c, 0x3c, 0x16, 0x63, 0x47, 0x46, 0x94, 0xbc, 0x08, 0xb2, 0x93, 0xb8, |
| | | 0x65, 0xca, 0xfd, 0x72, 0xe7, 0xfb, 0xbe, 0xef, 0x60, 0x1e, 0xe5, 0x52, 0xaa, 0x78, 0x5d, 0x94, |
| | | 0xb9, 0xce, 0xf1, 0xc4, 0x7e, 0xa4, 0x8a, 0x7d, 0x0d, 0x8b, 0x2d, 0x4f, 0xa5, 0x8a, 0x9f, 0x12, |
| | | 0xfd, 0xf2, 0xc8, 0x54, 0x8a, 0xcf, 0x60, 0xa8, 0x78, 0x9a, 0x70, 0x82, 0x96, 0x68, 0x35, 0x0d, |
| | | 0x1a, 0xc0, 0x04, 0xc6, 0x8a, 0xa7, 0xfa, 0xa3, 0x10, 0xa4, 0x6f, 0xff, 0x77, 0xd8, 0x76, 0x1e, |
| | | 0x98, 0x14, 0xc4, 0x73, 0x1d, 0x83, 0x6d, 0x87, 0x33, 0xcd, 0xc8, 0x60, 0x89, 0x56, 0xf3, 0xa0, |
| | | 0x43, 0xff, 0x13, 0xc1, 0xd4, 0x88, 0xdd, 0xb1, 0x50, 0xec, 0xf0, 0x39, 0x8c, 0x34, 0x53, 0x07, |
| | | 0xc9, 0x96, 0xf0, 0x05, 0x4c, 0x4c, 0x95, 0x99, 0xd5, 0x8d, 0xa8, 0x63, 0x7c, 0x0d, 0x13, 0x63, |
| | | 0x2c, 0x7b, 0xce, 0x15, 0xf1, 0x96, 0xde, 0x6a, 0xb6, 0x21, 0xeb, 0x2e, 0xd4, 0xfa, 0x7f, 0xa2, |
| | | 0xc0, 0x4d, 0x9a, 0x6c, 0x49, 0xc6, 0xc5, 0xbb, 0xf5, 0x33, 0x0c, 0x1a, 0xf0, 0xdf, 0x00, 0xb6, |
| | | 0x3c, 0xbd, 0x17, 0x4a, 0xb1, 0x58, 0xe0, 0x13, 0xf0, 0x22, 0x67, 0xc5, 0x94, 0xe6, 0x55, 0xc4, |
| | | 0x38, 0x2f, 0x5b, 0x13, 0x0d, 0xe0, 0x4b, 0x18, 0x1b, 0x37, 0x3b, 0x16, 0xda, 0xdc, 0xb3, 0xcd, |
| | | 0xe9, 0xc1, 0x80, 0xcb, 0x16, 0x74, 0x33, 0x18, 0xc3, 0xe0, 0xe8, 0x12, 0xb6, 0xf6, 0x6f, 0x61, |
| | | 0x5c, 0x8a, 0xe8, 0x55, 0xaa, 0x18, 0x2f, 0xa0, 0xef, 0x44, 0xfb, 0x09, 0x37, 0xe3, 0x47, 0x92, |
| | | 0xb6, 0x36, 0xf7, 0x2c, 0x92, 0xc8, 0x6e, 0xf1, 0x9a, 0x7b, 0xb6, 0x78, 0x43, 0xbe, 0x2b, 0x8a, |
| | | 0xf6, 0x15, 0x45, 0xbf, 0x15, 0x45, 0x5f, 0x35, 0xed, 0xed, 0x6b, 0xda, 0xfb, 0xa9, 0x69, 0x2f, |
| | | 0x1c, 0x59, 0x4f, 0x57, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x1c, 0x63, 0x72, 0x18, 0x00, 0x02, |
| | | 0x00, 0x00, |
| | | // 315 bytes of a gzipped FileDescriptorProto |
| | | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0xbb, 0x4e, 0xc3, 0x30, |
| | | 0x14, 0x86, 0xeb, 0xa6, 0xd7, 0xd3, 0xaa, 0x42, 0x06, 0x21, 0x8b, 0xc1, 0x8a, 0x32, 0x65, 0xa1, |
| | | 0x43, 0xe1, 0x09, 0x58, 0x58, 0x60, 0x49, 0x91, 0x90, 0xd8, 0xdc, 0xd8, 0x04, 0xcb, 0x75, 0x13, |
| | | 0xc5, 0x11, 0x97, 0x67, 0x60, 0xe1, 0xb1, 0x18, 0x3b, 0x32, 0xa2, 0xe4, 0x45, 0x90, 0x9d, 0x4b, |
| | | 0xcb, 0xe4, 0xff, 0xb3, 0x8f, 0xff, 0xf3, 0x9f, 0x03, 0xf3, 0x38, 0xd5, 0xda, 0x24, 0xcb, 0x2c, |
| | | 0x4f, 0x8b, 0x14, 0x4f, 0xdc, 0xa1, 0x4d, 0x12, 0x3c, 0xc1, 0x62, 0xcd, 0x95, 0x36, 0xc9, 0xa3, |
| | | 0x2c, 0x5e, 0x1e, 0x98, 0x51, 0xf8, 0x0c, 0x86, 0x32, 0x8b, 0x25, 0x27, 0xc8, 0x47, 0xe1, 0x34, |
| | | 0xaa, 0x01, 0x13, 0x18, 0x1b, 0xae, 0x8a, 0x8f, 0x4c, 0x90, 0xbe, 0xbb, 0x6f, 0xb1, 0x79, 0xe1, |
| | | 0xac, 0x60, 0x64, 0xe0, 0xa3, 0x70, 0x1e, 0xb5, 0x18, 0x7c, 0x22, 0x98, 0x5a, 0xcb, 0x3b, 0xb6, |
| | | 0x11, 0x5b, 0x7c, 0x0e, 0xa3, 0x82, 0x19, 0xd5, 0x19, 0x37, 0x84, 0x2f, 0x60, 0x62, 0xd5, 0x8e, |
| | | 0xe9, 0xd6, 0xba, 0x63, 0x7c, 0x0d, 0x13, 0xc3, 0x95, 0xdc, 0x3d, 0xa7, 0x86, 0x78, 0xbe, 0x17, |
| | | 0xce, 0x56, 0x64, 0xd9, 0x46, 0x5f, 0xfe, 0xcf, 0x1d, 0x75, 0x95, 0x6e, 0x82, 0x1d, 0x17, 0xef, |
| | | 0x2e, 0xcf, 0x30, 0xaa, 0x21, 0x78, 0x03, 0x58, 0x73, 0x75, 0x2f, 0x8c, 0x61, 0x89, 0xc0, 0x27, |
| | | 0xe0, 0x1d, 0x66, 0xb4, 0xd2, 0xfe, 0x8a, 0x19, 0xe7, 0x79, 0x13, 0xa2, 0x06, 0x7c, 0x09, 0x63, |
| | | 0x9b, 0x66, 0xcb, 0x36, 0xc4, 0xf3, 0x51, 0x38, 0x5b, 0x9d, 0x1e, 0x02, 0x74, 0xb3, 0x45, 0x6d, |
| | | 0x0d, 0xc6, 0x30, 0x38, 0xda, 0x84, 0xd3, 0xc1, 0x2d, 0x8c, 0x73, 0x11, 0xbf, 0x6a, 0x93, 0xe0, |
| | | 0x05, 0xf4, 0xbb, 0xa6, 0x7d, 0xc9, 0x6d, 0xf9, 0x51, 0x4b, 0xa7, 0xed, 0x3e, 0x33, 0x19, 0x3b, |
| | | 0x17, 0xaf, 0xde, 0x67, 0x83, 0x37, 0xe4, 0xbb, 0xa4, 0x68, 0x5f, 0x52, 0xf4, 0x5b, 0x52, 0xf4, |
| | | 0x55, 0xd1, 0xde, 0xbe, 0xa2, 0xbd, 0x9f, 0x8a, 0xf6, 0x36, 0x23, 0x97, 0xe9, 0xea, 0x2f, 0x00, |
| | | 0x00, 0xff, 0xff, 0xc8, 0x63, 0xfd, 0xdb, 0xe6, 0x01, 0x00, 0x00, |
| | | } |
| | | |
| | | func (m *SdkmsgWithTask) Marshal() (dAtA []byte, err error) { |
| | |
| | | _ = i |
| | | var l int |
| | | _ = l |
| | | if len(m.Sdkid) > 0 { |
| | | if len(m.Ipcid) > 0 { |
| | | dAtA[i] = 0xa |
| | | i++ |
| | | i = encodeVarintCommsg(dAtA, i, uint64(len(m.Sdkid))) |
| | | i += copy(dAtA[i:], m.Sdkid) |
| | | i = encodeVarintCommsg(dAtA, i, uint64(len(m.Ipcid))) |
| | | i += copy(dAtA[i:], m.Ipcid) |
| | | } |
| | | if len(m.Sdktype) > 0 { |
| | | dAtA[i] = 0x12 |
| | | i++ |
| | | i = encodeVarintCommsg(dAtA, i, uint64(len(m.Sdktype))) |
| | | i += copy(dAtA[i:], m.Sdktype) |
| | | } |
| | | if len(m.SdkName) > 0 { |
| | | dAtA[i] = 0x1a |
| | | i++ |
| | | i = encodeVarintCommsg(dAtA, i, uint64(len(m.SdkName))) |
| | | i += copy(dAtA[i:], m.SdkName) |
| | | } |
| | | if len(m.Sdkdata) > 0 { |
| | | dAtA[i] = 0x22 |
| | |
| | | } |
| | | var l int |
| | | _ = l |
| | | l = len(m.Sdkid) |
| | | l = len(m.Ipcid) |
| | | if l > 0 { |
| | | n += 1 + l + sovCommsg(uint64(l)) |
| | | } |
| | | l = len(m.Sdktype) |
| | | if l > 0 { |
| | | n += 1 + l + sovCommsg(uint64(l)) |
| | | } |
| | | l = len(m.SdkName) |
| | | if l > 0 { |
| | | n += 1 + l + sovCommsg(uint64(l)) |
| | | } |
| | |
| | | } |
| | | |
| | | func sovCommsg(x uint64) (n int) { |
| | | for { |
| | | n++ |
| | | x >>= 7 |
| | | if x == 0 { |
| | | break |
| | | } |
| | | } |
| | | return n |
| | | return (math_bits.Len64(x|1) + 6) / 7 |
| | | } |
| | | func sozCommsg(x uint64) (n int) { |
| | | return sovCommsg(uint64((x << 1) ^ uint64((int64(x) >> 63)))) |
| | |
| | | switch fieldNum { |
| | | case 1: |
| | | if wireType != 2 { |
| | | return fmt.Errorf("proto: wrong wireType = %d for field Sdkid", wireType) |
| | | return fmt.Errorf("proto: wrong wireType = %d for field Ipcid", wireType) |
| | | } |
| | | var stringLen uint64 |
| | | for shift := uint(0); ; shift += 7 { |
| | |
| | | if postIndex > l { |
| | | return io.ErrUnexpectedEOF |
| | | } |
| | | m.Sdkid = string(dAtA[iNdEx:postIndex]) |
| | | m.Ipcid = string(dAtA[iNdEx:postIndex]) |
| | | iNdEx = postIndex |
| | | case 2: |
| | | if wireType != 2 { |
| | |
| | | return io.ErrUnexpectedEOF |
| | | } |
| | | m.Sdktype = string(dAtA[iNdEx:postIndex]) |
| | | iNdEx = postIndex |
| | | case 3: |
| | | if wireType != 2 { |
| | | return fmt.Errorf("proto: wrong wireType = %d for field SdkName", wireType) |
| | | } |
| | | var stringLen uint64 |
| | | for shift := uint(0); ; shift += 7 { |
| | | if shift >= 64 { |
| | | return ErrIntOverflowCommsg |
| | | } |
| | | if iNdEx >= l { |
| | | return io.ErrUnexpectedEOF |
| | | } |
| | | b := dAtA[iNdEx] |
| | | iNdEx++ |
| | | stringLen |= uint64(b&0x7F) << shift |
| | | if b < 0x80 { |
| | | break |
| | | } |
| | | } |
| | | intStringLen := int(stringLen) |
| | | if intStringLen < 0 { |
| | | return ErrInvalidLengthCommsg |
| | | } |
| | | postIndex := iNdEx + intStringLen |
| | | if postIndex < 0 { |
| | | return ErrInvalidLengthCommsg |
| | | } |
| | | if postIndex > l { |
| | | return io.ErrUnexpectedEOF |
| | | } |
| | | m.SdkName = string(dAtA[iNdEx:postIndex]) |
| | | iNdEx = postIndex |
| | | case 4: |
| | | if wireType != 2 { |
| | |
| | | package protomsg; |
| | | |
| | | message SdkmsgWithTask { |
| | | string sdkid = 1; |
| | | string ipcid = 1; |
| | | string sdktype = 2; |
| | | string sdkName = 3; |
| | | bytes sdkdata = 4; |
| | | } |
| | | |