zhangzengfei
2024-05-08 e2c32868dc935c0f9773b51ed88de5e94b2ea874
base.pb.go
@@ -5,9 +5,10 @@
import (
   fmt "fmt"
   proto "github.com/golang/protobuf/proto"
   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.
@@ -19,15 +20,12 @@
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
// struct for sdk
type Point struct {
   X                    int32    `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
   Y                    int32    `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
   XXX_NoUnkeyedLiteral struct{} `json:"-"`
   XXX_unrecognized     []byte   `json:"-"`
   XXX_sizecache        int32    `json:"-"`
   X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
   Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
}
func (m *Point) Reset()         { *m = Point{} }
@@ -78,13 +76,10 @@
}
type Rect struct {
   Left                 int32    `protobuf:"varint,1,opt,name=left,proto3" json:"left,omitempty"`
   Top                  int32    `protobuf:"varint,2,opt,name=top,proto3" json:"top,omitempty"`
   Right                int32    `protobuf:"varint,3,opt,name=right,proto3" json:"right,omitempty"`
   Bottom               int32    `protobuf:"varint,4,opt,name=bottom,proto3" json:"bottom,omitempty"`
   XXX_NoUnkeyedLiteral struct{} `json:"-"`
   XXX_unrecognized     []byte   `json:"-"`
   XXX_sizecache        int32    `json:"-"`
   Left   int32 `protobuf:"varint,1,opt,name=left,proto3" json:"left,omitempty"`
   Top    int32 `protobuf:"varint,2,opt,name=top,proto3" json:"top,omitempty"`
   Right  int32 `protobuf:"varint,3,opt,name=right,proto3" json:"right,omitempty"`
   Bottom int32 `protobuf:"varint,4,opt,name=bottom,proto3" json:"bottom,omitempty"`
}
func (m *Rect) Reset()         { *m = Rect{} }
@@ -156,7 +151,7 @@
func init() { proto.RegisterFile("base.proto", fileDescriptor_db1b6b0986796150) }
var fileDescriptor_db1b6b0986796150 = []byte{
   // 158 bytes of a gzipped FileDescriptorProto
   // 167 bytes of a gzipped FileDescriptorProto
   0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4a, 0x4a, 0x2c, 0x4e,
   0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0xb9, 0xc5, 0xe9, 0x4a, 0xca, 0x5c,
   0xac, 0x01, 0xf9, 0x99, 0x79, 0x25, 0x42, 0x3c, 0x5c, 0x8c, 0x15, 0x12, 0x8c, 0x0a, 0x8c, 0x1a,
@@ -164,9 +159,10 @@
   0x94, 0x9a, 0x5c, 0x22, 0x24, 0xc4, 0xc5, 0x92, 0x93, 0x9a, 0x56, 0x02, 0x55, 0x06, 0x66, 0x0b,
   0x09, 0x70, 0x31, 0x97, 0xe4, 0x17, 0x40, 0xd5, 0x82, 0x98, 0x42, 0x22, 0x5c, 0xac, 0x45, 0x99,
   0xe9, 0x19, 0x25, 0x12, 0xcc, 0x60, 0x31, 0x08, 0x47, 0x48, 0x8c, 0x8b, 0x2d, 0x29, 0xbf, 0xa4,
   0x24, 0x3f, 0x57, 0x82, 0x05, 0x2c, 0x0c, 0xe5, 0x39, 0x09, 0x9c, 0x78, 0x24, 0xc7, 0x78, 0xe1,
   0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x33, 0x1e, 0xcb, 0x31, 0x24, 0xb1, 0x81, 0x1d, 0x67,
   0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xb3, 0xb0, 0xbd, 0x0b, 0xb1, 0x00, 0x00, 0x00,
   0x24, 0x3f, 0x57, 0x82, 0x05, 0x2c, 0x0c, 0xe5, 0x39, 0x49, 0x9c, 0x78, 0x24, 0xc7, 0x78, 0xe1,
   0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70,
   0xe3, 0xb1, 0x1c, 0x43, 0x12, 0x1b, 0xd8, 0x91, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa5,
   0xe9, 0x4a, 0x5f, 0xb9, 0x00, 0x00, 0x00,
}
func (m *Point) Marshal() (dAtA []byte, err error) {
@@ -193,9 +189,6 @@
      dAtA[i] = 0x10
      i++
      i = encodeVarintBase(dAtA, i, uint64(m.Y))
   }
   if m.XXX_unrecognized != nil {
      i += copy(dAtA[i:], m.XXX_unrecognized)
   }
   return i, nil
}
@@ -235,9 +228,6 @@
      i++
      i = encodeVarintBase(dAtA, i, uint64(m.Bottom))
   }
   if m.XXX_unrecognized != nil {
      i += copy(dAtA[i:], m.XXX_unrecognized)
   }
   return i, nil
}
@@ -262,9 +252,6 @@
   if m.Y != 0 {
      n += 1 + sovBase(uint64(m.Y))
   }
   if m.XXX_unrecognized != nil {
      n += len(m.XXX_unrecognized)
   }
   return n
}
@@ -286,21 +273,11 @@
   if m.Bottom != 0 {
      n += 1 + sovBase(uint64(m.Bottom))
   }
   if m.XXX_unrecognized != nil {
      n += len(m.XXX_unrecognized)
   }
   return n
}
func sovBase(x uint64) (n int) {
   for {
      n++
      x >>= 7
      if x == 0 {
         break
      }
   }
   return n
   return (math_bits.Len64(x|1) + 6) / 7
}
func sozBase(x uint64) (n int) {
   return sovBase(uint64((x << 1) ^ uint64((int64(x) >> 63))))
@@ -387,7 +364,6 @@
         if (iNdEx + skippy) > l {
            return io.ErrUnexpectedEOF
         }
         m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
         iNdEx += skippy
      }
   }
@@ -517,7 +493,6 @@
         if (iNdEx + skippy) > l {
            return io.ErrUnexpectedEOF
         }
         m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
         iNdEx += skippy
      }
   }