github.com/alibaba/ilogtail/pkg@v0.0.0-20250526110833-c53b480d046c/protocol/sls_logs.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: sls_logs.proto
     3  
     4  package protocol
     5  
     6  import (
     7  	encoding_binary "encoding/binary"
     8  	fmt "fmt"
     9  	_ "github.com/gogo/protobuf/gogoproto"
    10  	github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto"
    11  	proto "github.com/gogo/protobuf/proto"
    12  	io "io"
    13  	math "math"
    14  	math_bits "math/bits"
    15  )
    16  
    17  // Reference imports to suppress errors if they are not otherwise used.
    18  var _ = proto.Marshal
    19  var _ = fmt.Errorf
    20  var _ = math.Inf
    21  
    22  // This is a compile-time assertion to ensure that this generated file
    23  // is compatible with the proto package it is being compiled against.
    24  // A compilation error at this line likely means your copy of the
    25  // proto package needs to be updated.
    26  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    27  
    28  type Log struct {
    29  	Time     uint32         `protobuf:"varint,1,req,name=Time" json:"Time"`
    30  	Contents []*Log_Content `protobuf:"bytes,2,rep,name=Contents" json:"Contents,omitempty"`
    31  	Values   []string       `protobuf:"bytes,3,rep,name=values" json:"values,omitempty"`
    32  	TimeNs   *uint32        `protobuf:"fixed32,4,opt,name=Time_ns,json=TimeNs" json:"Time_ns,omitempty"`
    33  }
    34  
    35  func (m *Log) Reset()         { *m = Log{} }
    36  func (m *Log) String() string { return proto.CompactTextString(m) }
    37  func (*Log) ProtoMessage()    {}
    38  func (*Log) Descriptor() ([]byte, []int) {
    39  	return fileDescriptor_8af9b9327e825b67, []int{0}
    40  }
    41  func (m *Log) XXX_Unmarshal(b []byte) error {
    42  	return m.Unmarshal(b)
    43  }
    44  func (m *Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    45  	if deterministic {
    46  		return xxx_messageInfo_Log.Marshal(b, m, deterministic)
    47  	} else {
    48  		b = b[:cap(b)]
    49  		n, err := m.MarshalToSizedBuffer(b)
    50  		if err != nil {
    51  			return nil, err
    52  		}
    53  		return b[:n], nil
    54  	}
    55  }
    56  func (m *Log) XXX_Merge(src proto.Message) {
    57  	xxx_messageInfo_Log.Merge(m, src)
    58  }
    59  func (m *Log) XXX_Size() int {
    60  	return m.Size()
    61  }
    62  func (m *Log) XXX_DiscardUnknown() {
    63  	xxx_messageInfo_Log.DiscardUnknown(m)
    64  }
    65  
    66  var xxx_messageInfo_Log proto.InternalMessageInfo
    67  
    68  func (m *Log) GetTime() uint32 {
    69  	if m != nil {
    70  		return m.Time
    71  	}
    72  	return 0
    73  }
    74  
    75  func (m *Log) GetContents() []*Log_Content {
    76  	if m != nil {
    77  		return m.Contents
    78  	}
    79  	return nil
    80  }
    81  
    82  func (m *Log) GetValues() []string {
    83  	if m != nil {
    84  		return m.Values
    85  	}
    86  	return nil
    87  }
    88  
    89  func (m *Log) GetTimeNs() uint32 {
    90  	if m != nil && m.TimeNs != nil {
    91  		return *m.TimeNs
    92  	}
    93  	return 0
    94  }
    95  
    96  type Log_Content struct {
    97  	Key   string `protobuf:"bytes,1,req,name=Key" json:"Key"`
    98  	Value string `protobuf:"bytes,2,req,name=Value" json:"Value"`
    99  }
   100  
   101  func (m *Log_Content) Reset()         { *m = Log_Content{} }
   102  func (m *Log_Content) String() string { return proto.CompactTextString(m) }
   103  func (*Log_Content) ProtoMessage()    {}
   104  func (*Log_Content) Descriptor() ([]byte, []int) {
   105  	return fileDescriptor_8af9b9327e825b67, []int{0, 0}
   106  }
   107  func (m *Log_Content) XXX_Unmarshal(b []byte) error {
   108  	return m.Unmarshal(b)
   109  }
   110  func (m *Log_Content) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   111  	if deterministic {
   112  		return xxx_messageInfo_Log_Content.Marshal(b, m, deterministic)
   113  	} else {
   114  		b = b[:cap(b)]
   115  		n, err := m.MarshalToSizedBuffer(b)
   116  		if err != nil {
   117  			return nil, err
   118  		}
   119  		return b[:n], nil
   120  	}
   121  }
   122  func (m *Log_Content) XXX_Merge(src proto.Message) {
   123  	xxx_messageInfo_Log_Content.Merge(m, src)
   124  }
   125  func (m *Log_Content) XXX_Size() int {
   126  	return m.Size()
   127  }
   128  func (m *Log_Content) XXX_DiscardUnknown() {
   129  	xxx_messageInfo_Log_Content.DiscardUnknown(m)
   130  }
   131  
   132  var xxx_messageInfo_Log_Content proto.InternalMessageInfo
   133  
   134  func (m *Log_Content) GetKey() string {
   135  	if m != nil {
   136  		return m.Key
   137  	}
   138  	return ""
   139  }
   140  
   141  func (m *Log_Content) GetValue() string {
   142  	if m != nil {
   143  		return m.Value
   144  	}
   145  	return ""
   146  }
   147  
   148  type LogTag struct {
   149  	Key   string `protobuf:"bytes,1,req,name=Key" json:"Key"`
   150  	Value string `protobuf:"bytes,2,req,name=Value" json:"Value"`
   151  }
   152  
   153  func (m *LogTag) Reset()         { *m = LogTag{} }
   154  func (m *LogTag) String() string { return proto.CompactTextString(m) }
   155  func (*LogTag) ProtoMessage()    {}
   156  func (*LogTag) Descriptor() ([]byte, []int) {
   157  	return fileDescriptor_8af9b9327e825b67, []int{1}
   158  }
   159  func (m *LogTag) XXX_Unmarshal(b []byte) error {
   160  	return m.Unmarshal(b)
   161  }
   162  func (m *LogTag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   163  	if deterministic {
   164  		return xxx_messageInfo_LogTag.Marshal(b, m, deterministic)
   165  	} else {
   166  		b = b[:cap(b)]
   167  		n, err := m.MarshalToSizedBuffer(b)
   168  		if err != nil {
   169  			return nil, err
   170  		}
   171  		return b[:n], nil
   172  	}
   173  }
   174  func (m *LogTag) XXX_Merge(src proto.Message) {
   175  	xxx_messageInfo_LogTag.Merge(m, src)
   176  }
   177  func (m *LogTag) XXX_Size() int {
   178  	return m.Size()
   179  }
   180  func (m *LogTag) XXX_DiscardUnknown() {
   181  	xxx_messageInfo_LogTag.DiscardUnknown(m)
   182  }
   183  
   184  var xxx_messageInfo_LogTag proto.InternalMessageInfo
   185  
   186  func (m *LogTag) GetKey() string {
   187  	if m != nil {
   188  		return m.Key
   189  	}
   190  	return ""
   191  }
   192  
   193  func (m *LogTag) GetValue() string {
   194  	if m != nil {
   195  		return m.Value
   196  	}
   197  	return ""
   198  }
   199  
   200  type LogGroup struct {
   201  	Logs        []*Log    `protobuf:"bytes,1,rep,name=Logs" json:"Logs,omitempty"`
   202  	Category    string    `protobuf:"bytes,2,opt,name=Category" json:"Category"`
   203  	Topic       string    `protobuf:"bytes,3,opt,name=Topic" json:"Topic"`
   204  	Source      string    `protobuf:"bytes,4,opt,name=Source" json:"Source"`
   205  	MachineUUID string    `protobuf:"bytes,5,opt,name=MachineUUID" json:"MachineUUID"`
   206  	LogTags     []*LogTag `protobuf:"bytes,6,rep,name=LogTags" json:"LogTags,omitempty"`
   207  }
   208  
   209  func (m *LogGroup) Reset()         { *m = LogGroup{} }
   210  func (m *LogGroup) String() string { return proto.CompactTextString(m) }
   211  func (*LogGroup) ProtoMessage()    {}
   212  func (*LogGroup) Descriptor() ([]byte, []int) {
   213  	return fileDescriptor_8af9b9327e825b67, []int{2}
   214  }
   215  func (m *LogGroup) XXX_Unmarshal(b []byte) error {
   216  	return m.Unmarshal(b)
   217  }
   218  func (m *LogGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   219  	if deterministic {
   220  		return xxx_messageInfo_LogGroup.Marshal(b, m, deterministic)
   221  	} else {
   222  		b = b[:cap(b)]
   223  		n, err := m.MarshalToSizedBuffer(b)
   224  		if err != nil {
   225  			return nil, err
   226  		}
   227  		return b[:n], nil
   228  	}
   229  }
   230  func (m *LogGroup) XXX_Merge(src proto.Message) {
   231  	xxx_messageInfo_LogGroup.Merge(m, src)
   232  }
   233  func (m *LogGroup) XXX_Size() int {
   234  	return m.Size()
   235  }
   236  func (m *LogGroup) XXX_DiscardUnknown() {
   237  	xxx_messageInfo_LogGroup.DiscardUnknown(m)
   238  }
   239  
   240  var xxx_messageInfo_LogGroup proto.InternalMessageInfo
   241  
   242  func (m *LogGroup) GetLogs() []*Log {
   243  	if m != nil {
   244  		return m.Logs
   245  	}
   246  	return nil
   247  }
   248  
   249  func (m *LogGroup) GetCategory() string {
   250  	if m != nil {
   251  		return m.Category
   252  	}
   253  	return ""
   254  }
   255  
   256  func (m *LogGroup) GetTopic() string {
   257  	if m != nil {
   258  		return m.Topic
   259  	}
   260  	return ""
   261  }
   262  
   263  func (m *LogGroup) GetSource() string {
   264  	if m != nil {
   265  		return m.Source
   266  	}
   267  	return ""
   268  }
   269  
   270  func (m *LogGroup) GetMachineUUID() string {
   271  	if m != nil {
   272  		return m.MachineUUID
   273  	}
   274  	return ""
   275  }
   276  
   277  func (m *LogGroup) GetLogTags() []*LogTag {
   278  	if m != nil {
   279  		return m.LogTags
   280  	}
   281  	return nil
   282  }
   283  
   284  type SlsLogPackage struct {
   285  	Data           []byte `protobuf:"bytes,1,req,name=data" json:"data"`
   286  	UncompressSize int32  `protobuf:"varint,2,opt,name=uncompress_size,json=uncompressSize" json:"uncompress_size"`
   287  }
   288  
   289  func (m *SlsLogPackage) Reset()         { *m = SlsLogPackage{} }
   290  func (m *SlsLogPackage) String() string { return proto.CompactTextString(m) }
   291  func (*SlsLogPackage) ProtoMessage()    {}
   292  func (*SlsLogPackage) Descriptor() ([]byte, []int) {
   293  	return fileDescriptor_8af9b9327e825b67, []int{3}
   294  }
   295  func (m *SlsLogPackage) XXX_Unmarshal(b []byte) error {
   296  	return m.Unmarshal(b)
   297  }
   298  func (m *SlsLogPackage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   299  	if deterministic {
   300  		return xxx_messageInfo_SlsLogPackage.Marshal(b, m, deterministic)
   301  	} else {
   302  		b = b[:cap(b)]
   303  		n, err := m.MarshalToSizedBuffer(b)
   304  		if err != nil {
   305  			return nil, err
   306  		}
   307  		return b[:n], nil
   308  	}
   309  }
   310  func (m *SlsLogPackage) XXX_Merge(src proto.Message) {
   311  	xxx_messageInfo_SlsLogPackage.Merge(m, src)
   312  }
   313  func (m *SlsLogPackage) XXX_Size() int {
   314  	return m.Size()
   315  }
   316  func (m *SlsLogPackage) XXX_DiscardUnknown() {
   317  	xxx_messageInfo_SlsLogPackage.DiscardUnknown(m)
   318  }
   319  
   320  var xxx_messageInfo_SlsLogPackage proto.InternalMessageInfo
   321  
   322  func (m *SlsLogPackage) GetData() []byte {
   323  	if m != nil {
   324  		return m.Data
   325  	}
   326  	return nil
   327  }
   328  
   329  func (m *SlsLogPackage) GetUncompressSize() int32 {
   330  	if m != nil {
   331  		return m.UncompressSize
   332  	}
   333  	return 0
   334  }
   335  
   336  type SlsLogPackageList struct {
   337  	Packages []*SlsLogPackage `protobuf:"bytes,1,rep,name=packages" json:"packages,omitempty"`
   338  }
   339  
   340  func (m *SlsLogPackageList) Reset()         { *m = SlsLogPackageList{} }
   341  func (m *SlsLogPackageList) String() string { return proto.CompactTextString(m) }
   342  func (*SlsLogPackageList) ProtoMessage()    {}
   343  func (*SlsLogPackageList) Descriptor() ([]byte, []int) {
   344  	return fileDescriptor_8af9b9327e825b67, []int{4}
   345  }
   346  func (m *SlsLogPackageList) XXX_Unmarshal(b []byte) error {
   347  	return m.Unmarshal(b)
   348  }
   349  func (m *SlsLogPackageList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   350  	if deterministic {
   351  		return xxx_messageInfo_SlsLogPackageList.Marshal(b, m, deterministic)
   352  	} else {
   353  		b = b[:cap(b)]
   354  		n, err := m.MarshalToSizedBuffer(b)
   355  		if err != nil {
   356  			return nil, err
   357  		}
   358  		return b[:n], nil
   359  	}
   360  }
   361  func (m *SlsLogPackageList) XXX_Merge(src proto.Message) {
   362  	xxx_messageInfo_SlsLogPackageList.Merge(m, src)
   363  }
   364  func (m *SlsLogPackageList) XXX_Size() int {
   365  	return m.Size()
   366  }
   367  func (m *SlsLogPackageList) XXX_DiscardUnknown() {
   368  	xxx_messageInfo_SlsLogPackageList.DiscardUnknown(m)
   369  }
   370  
   371  var xxx_messageInfo_SlsLogPackageList proto.InternalMessageInfo
   372  
   373  func (m *SlsLogPackageList) GetPackages() []*SlsLogPackage {
   374  	if m != nil {
   375  		return m.Packages
   376  	}
   377  	return nil
   378  }
   379  
   380  type LogGroupList struct {
   381  	LogGroupList []*LogGroup `protobuf:"bytes,1,rep,name=logGroupList" json:"logGroupList,omitempty"`
   382  }
   383  
   384  func (m *LogGroupList) Reset()         { *m = LogGroupList{} }
   385  func (m *LogGroupList) String() string { return proto.CompactTextString(m) }
   386  func (*LogGroupList) ProtoMessage()    {}
   387  func (*LogGroupList) Descriptor() ([]byte, []int) {
   388  	return fileDescriptor_8af9b9327e825b67, []int{5}
   389  }
   390  func (m *LogGroupList) XXX_Unmarshal(b []byte) error {
   391  	return m.Unmarshal(b)
   392  }
   393  func (m *LogGroupList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   394  	if deterministic {
   395  		return xxx_messageInfo_LogGroupList.Marshal(b, m, deterministic)
   396  	} else {
   397  		b = b[:cap(b)]
   398  		n, err := m.MarshalToSizedBuffer(b)
   399  		if err != nil {
   400  			return nil, err
   401  		}
   402  		return b[:n], nil
   403  	}
   404  }
   405  func (m *LogGroupList) XXX_Merge(src proto.Message) {
   406  	xxx_messageInfo_LogGroupList.Merge(m, src)
   407  }
   408  func (m *LogGroupList) XXX_Size() int {
   409  	return m.Size()
   410  }
   411  func (m *LogGroupList) XXX_DiscardUnknown() {
   412  	xxx_messageInfo_LogGroupList.DiscardUnknown(m)
   413  }
   414  
   415  var xxx_messageInfo_LogGroupList proto.InternalMessageInfo
   416  
   417  func (m *LogGroupList) GetLogGroupList() []*LogGroup {
   418  	if m != nil {
   419  		return m.LogGroupList
   420  	}
   421  	return nil
   422  }
   423  
   424  func init() {
   425  	proto.RegisterType((*Log)(nil), "sls_logs.Log")
   426  	proto.RegisterType((*Log_Content)(nil), "sls_logs.Log.Content")
   427  	proto.RegisterType((*LogTag)(nil), "sls_logs.LogTag")
   428  	proto.RegisterType((*LogGroup)(nil), "sls_logs.LogGroup")
   429  	proto.RegisterType((*SlsLogPackage)(nil), "sls_logs.SlsLogPackage")
   430  	proto.RegisterType((*SlsLogPackageList)(nil), "sls_logs.SlsLogPackageList")
   431  	proto.RegisterType((*LogGroupList)(nil), "sls_logs.LogGroupList")
   432  }
   433  
   434  func init() { proto.RegisterFile("sls_logs.proto", fileDescriptor_8af9b9327e825b67) }
   435  
   436  var fileDescriptor_8af9b9327e825b67 = []byte{
   437  	// 486 bytes of a gzipped FileDescriptorProto
   438  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0xcb, 0x6e, 0xd3, 0x4c,
   439  	0x14, 0xce, 0xc4, 0xb9, 0xf5, 0x34, 0xe9, 0xff, 0x33, 0x12, 0x65, 0x14, 0x81, 0x31, 0x59, 0xa0,
   440  	0x08, 0xa9, 0x89, 0x00, 0x89, 0x15, 0x6c, 0x52, 0xc4, 0x45, 0x18, 0x84, 0x9c, 0x14, 0x21, 0x36,
   441  	0xd1, 0xc4, 0x0c, 0xd3, 0x51, 0x9d, 0x1c, 0xcb, 0x63, 0x23, 0xb5, 0x4f, 0xc1, 0x63, 0x65, 0xd9,
   442  	0x25, 0x1b, 0x10, 0x4a, 0x5e, 0x04, 0x79, 0x7c, 0xa9, 0xbd, 0x65, 0xe7, 0xef, 0xe2, 0xef, 0xdc,
   443  	0x34, 0x70, 0xa4, 0x03, 0xbd, 0x0c, 0x50, 0xea, 0x49, 0x18, 0x61, 0x8c, 0xb4, 0x57, 0xe0, 0xe1,
   444  	0x89, 0x54, 0xf1, 0x79, 0xb2, 0x9a, 0xf8, 0xb8, 0x9e, 0x4a, 0x94, 0x38, 0x35, 0x86, 0x55, 0xf2,
   445  	0xcd, 0x20, 0x03, 0xcc, 0x57, 0xf6, 0xe3, 0x68, 0x4b, 0xc0, 0x72, 0x51, 0x52, 0x06, 0xad, 0x85,
   446  	0x5a, 0x0b, 0x46, 0x9c, 0xe6, 0x78, 0x30, 0x6b, 0x6d, 0x7f, 0xdf, 0x6f, 0x78, 0x86, 0xa1, 0x8f,
   447  	0xa1, 0x77, 0x8a, 0x9b, 0x58, 0x6c, 0x62, 0xcd, 0x9a, 0x8e, 0x35, 0x3e, 0x7c, 0x72, 0x7b, 0x52,
   448  	0x56, 0x77, 0x51, 0x4e, 0x72, 0xd5, 0x2b, 0x6d, 0xf4, 0x18, 0x3a, 0xdf, 0x79, 0x90, 0x08, 0xcd,
   449  	0x2c, 0xc7, 0x1a, 0x1f, 0x78, 0x39, 0xa2, 0xf7, 0xa0, 0x9b, 0x46, 0x2e, 0x37, 0x9a, 0xb5, 0x1c,
   450  	0x32, 0xee, 0x9a, 0x3a, 0xc4, 0xeb, 0xa4, 0xe4, 0x07, 0x3d, 0x7c, 0x01, 0xdd, 0x3c, 0x82, 0x1e,
   451  	0x83, 0xf5, 0x4e, 0x5c, 0x9a, 0x6e, 0x0e, 0xf2, 0x6e, 0x52, 0x82, 0x0e, 0xa1, 0xfd, 0x29, 0xcd,
   452  	0x62, 0xcd, 0x8a, 0x92, 0x51, 0xa3, 0xe7, 0xd0, 0x71, 0x51, 0x2e, 0xb8, 0xfc, 0xa7, 0xbf, 0x7f,
   453  	0x11, 0xe8, 0xb9, 0x28, 0x5f, 0x47, 0x98, 0x84, 0xf4, 0x01, 0xb4, 0x5c, 0x94, 0x9a, 0x11, 0x33,
   454  	0xef, 0xa0, 0x36, 0xaf, 0x67, 0x24, 0xea, 0x40, 0xef, 0x94, 0xc7, 0x42, 0x62, 0x74, 0xc9, 0x9a,
   455  	0x0e, 0x29, 0xe3, 0x4a, 0x36, 0xad, 0xb6, 0xc0, 0x50, 0xf9, 0xcc, 0xaa, 0xc8, 0x19, 0x45, 0xef,
   456  	0x42, 0x67, 0x8e, 0x49, 0xe4, 0x0b, 0xb3, 0x88, 0x42, 0xcc, 0x39, 0xfa, 0x10, 0x0e, 0xdf, 0x73,
   457  	0xff, 0x5c, 0x6d, 0xc4, 0xd9, 0xd9, 0xdb, 0x97, 0xac, 0x5d, 0xb1, 0x54, 0x05, 0xfa, 0x08, 0xba,
   458  	0xd9, 0xc4, 0x9a, 0x75, 0x4c, 0xa7, 0xff, 0xd7, 0x3a, 0x5d, 0x70, 0xe9, 0x15, 0x86, 0xd1, 0x67,
   459  	0x18, 0xcc, 0x03, 0xed, 0xa2, 0xfc, 0xc8, 0xfd, 0x0b, 0x2e, 0x45, 0x7a, 0xf1, 0xaf, 0x3c, 0xe6,
   460  	0x66, 0x4b, 0xfd, 0xe2, 0xe2, 0x29, 0x43, 0x4f, 0xe0, 0xbf, 0x64, 0xe3, 0xe3, 0x3a, 0x8c, 0x84,
   461  	0xd6, 0x4b, 0xad, 0xae, 0x84, 0x99, 0xb0, 0x9d, 0x9b, 0x8e, 0x6e, 0xc4, 0xb9, 0xba, 0x12, 0xa3,
   462  	0x37, 0x70, 0xab, 0x96, 0xec, 0x2a, 0x1d, 0xd3, 0xa7, 0xd0, 0x0b, 0x33, 0x58, 0x6c, 0xf1, 0xce,
   463  	0x4d, 0x6f, 0x35, 0xbb, 0x57, 0x1a, 0x47, 0xaf, 0xa0, 0x5f, 0x9c, 0xc0, 0x84, 0x3c, 0x83, 0x7e,
   464  	0x50, 0xc1, 0x79, 0x10, 0xad, 0x0d, 0x69, 0x54, 0xaf, 0xe6, 0x9b, 0xcd, 0xb6, 0x3b, 0x9b, 0x5c,
   465  	0xef, 0x6c, 0xf2, 0x67, 0x67, 0x93, 0x1f, 0x7b, 0xbb, 0x71, 0xbd, 0xb7, 0x1b, 0x3f, 0xf7, 0x76,
   466  	0xe3, 0xcb, 0xb8, 0xf2, 0x3a, 0x78, 0xa0, 0x56, 0x7c, 0xc5, 0xa7, 0x2a, 0x40, 0x19, 0x73, 0x15,
   467  	0x4c, 0xc3, 0x0b, 0x99, 0xbd, 0x16, 0x1f, 0x83, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xc9, 0xad,
   468  	0x4e, 0xb8, 0x62, 0x03, 0x00, 0x00,
   469  }
   470  
   471  func (m *Log) Marshal() (dAtA []byte, err error) {
   472  	size := m.Size()
   473  	dAtA = make([]byte, size)
   474  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   475  	if err != nil {
   476  		return nil, err
   477  	}
   478  	return dAtA[:n], nil
   479  }
   480  
   481  func (m *Log) MarshalTo(dAtA []byte) (int, error) {
   482  	size := m.Size()
   483  	return m.MarshalToSizedBuffer(dAtA[:size])
   484  }
   485  
   486  func (m *Log) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   487  	i := len(dAtA)
   488  	_ = i
   489  	var l int
   490  	_ = l
   491  	if m.TimeNs != nil {
   492  		i -= 4
   493  		encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(*m.TimeNs))
   494  		i--
   495  		dAtA[i] = 0x25
   496  	}
   497  	if len(m.Values) > 0 {
   498  		for iNdEx := len(m.Values) - 1; iNdEx >= 0; iNdEx-- {
   499  			i -= len(m.Values[iNdEx])
   500  			copy(dAtA[i:], m.Values[iNdEx])
   501  			i = encodeVarintSlsLogs(dAtA, i, uint64(len(m.Values[iNdEx])))
   502  			i--
   503  			dAtA[i] = 0x1a
   504  		}
   505  	}
   506  	if len(m.Contents) > 0 {
   507  		for iNdEx := len(m.Contents) - 1; iNdEx >= 0; iNdEx-- {
   508  			{
   509  				size, err := m.Contents[iNdEx].MarshalToSizedBuffer(dAtA[:i])
   510  				if err != nil {
   511  					return 0, err
   512  				}
   513  				i -= size
   514  				i = encodeVarintSlsLogs(dAtA, i, uint64(size))
   515  			}
   516  			i--
   517  			dAtA[i] = 0x12
   518  		}
   519  	}
   520  	i = encodeVarintSlsLogs(dAtA, i, uint64(m.Time))
   521  	i--
   522  	dAtA[i] = 0x8
   523  	return len(dAtA) - i, nil
   524  }
   525  
   526  func (m *Log_Content) Marshal() (dAtA []byte, err error) {
   527  	size := m.Size()
   528  	dAtA = make([]byte, size)
   529  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   530  	if err != nil {
   531  		return nil, err
   532  	}
   533  	return dAtA[:n], nil
   534  }
   535  
   536  func (m *Log_Content) MarshalTo(dAtA []byte) (int, error) {
   537  	size := m.Size()
   538  	return m.MarshalToSizedBuffer(dAtA[:size])
   539  }
   540  
   541  func (m *Log_Content) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   542  	i := len(dAtA)
   543  	_ = i
   544  	var l int
   545  	_ = l
   546  	i -= len(m.Value)
   547  	copy(dAtA[i:], m.Value)
   548  	i = encodeVarintSlsLogs(dAtA, i, uint64(len(m.Value)))
   549  	i--
   550  	dAtA[i] = 0x12
   551  	i -= len(m.Key)
   552  	copy(dAtA[i:], m.Key)
   553  	i = encodeVarintSlsLogs(dAtA, i, uint64(len(m.Key)))
   554  	i--
   555  	dAtA[i] = 0xa
   556  	return len(dAtA) - i, nil
   557  }
   558  
   559  func (m *LogTag) Marshal() (dAtA []byte, err error) {
   560  	size := m.Size()
   561  	dAtA = make([]byte, size)
   562  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   563  	if err != nil {
   564  		return nil, err
   565  	}
   566  	return dAtA[:n], nil
   567  }
   568  
   569  func (m *LogTag) MarshalTo(dAtA []byte) (int, error) {
   570  	size := m.Size()
   571  	return m.MarshalToSizedBuffer(dAtA[:size])
   572  }
   573  
   574  func (m *LogTag) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   575  	i := len(dAtA)
   576  	_ = i
   577  	var l int
   578  	_ = l
   579  	i -= len(m.Value)
   580  	copy(dAtA[i:], m.Value)
   581  	i = encodeVarintSlsLogs(dAtA, i, uint64(len(m.Value)))
   582  	i--
   583  	dAtA[i] = 0x12
   584  	i -= len(m.Key)
   585  	copy(dAtA[i:], m.Key)
   586  	i = encodeVarintSlsLogs(dAtA, i, uint64(len(m.Key)))
   587  	i--
   588  	dAtA[i] = 0xa
   589  	return len(dAtA) - i, nil
   590  }
   591  
   592  func (m *LogGroup) Marshal() (dAtA []byte, err error) {
   593  	size := m.Size()
   594  	dAtA = make([]byte, size)
   595  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   596  	if err != nil {
   597  		return nil, err
   598  	}
   599  	return dAtA[:n], nil
   600  }
   601  
   602  func (m *LogGroup) MarshalTo(dAtA []byte) (int, error) {
   603  	size := m.Size()
   604  	return m.MarshalToSizedBuffer(dAtA[:size])
   605  }
   606  
   607  func (m *LogGroup) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   608  	i := len(dAtA)
   609  	_ = i
   610  	var l int
   611  	_ = l
   612  	if len(m.LogTags) > 0 {
   613  		for iNdEx := len(m.LogTags) - 1; iNdEx >= 0; iNdEx-- {
   614  			{
   615  				size, err := m.LogTags[iNdEx].MarshalToSizedBuffer(dAtA[:i])
   616  				if err != nil {
   617  					return 0, err
   618  				}
   619  				i -= size
   620  				i = encodeVarintSlsLogs(dAtA, i, uint64(size))
   621  			}
   622  			i--
   623  			dAtA[i] = 0x32
   624  		}
   625  	}
   626  	i -= len(m.MachineUUID)
   627  	copy(dAtA[i:], m.MachineUUID)
   628  	i = encodeVarintSlsLogs(dAtA, i, uint64(len(m.MachineUUID)))
   629  	i--
   630  	dAtA[i] = 0x2a
   631  	i -= len(m.Source)
   632  	copy(dAtA[i:], m.Source)
   633  	i = encodeVarintSlsLogs(dAtA, i, uint64(len(m.Source)))
   634  	i--
   635  	dAtA[i] = 0x22
   636  	i -= len(m.Topic)
   637  	copy(dAtA[i:], m.Topic)
   638  	i = encodeVarintSlsLogs(dAtA, i, uint64(len(m.Topic)))
   639  	i--
   640  	dAtA[i] = 0x1a
   641  	i -= len(m.Category)
   642  	copy(dAtA[i:], m.Category)
   643  	i = encodeVarintSlsLogs(dAtA, i, uint64(len(m.Category)))
   644  	i--
   645  	dAtA[i] = 0x12
   646  	if len(m.Logs) > 0 {
   647  		for iNdEx := len(m.Logs) - 1; iNdEx >= 0; iNdEx-- {
   648  			{
   649  				size, err := m.Logs[iNdEx].MarshalToSizedBuffer(dAtA[:i])
   650  				if err != nil {
   651  					return 0, err
   652  				}
   653  				i -= size
   654  				i = encodeVarintSlsLogs(dAtA, i, uint64(size))
   655  			}
   656  			i--
   657  			dAtA[i] = 0xa
   658  		}
   659  	}
   660  	return len(dAtA) - i, nil
   661  }
   662  
   663  func (m *SlsLogPackage) Marshal() (dAtA []byte, err error) {
   664  	size := m.Size()
   665  	dAtA = make([]byte, size)
   666  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   667  	if err != nil {
   668  		return nil, err
   669  	}
   670  	return dAtA[:n], nil
   671  }
   672  
   673  func (m *SlsLogPackage) MarshalTo(dAtA []byte) (int, error) {
   674  	size := m.Size()
   675  	return m.MarshalToSizedBuffer(dAtA[:size])
   676  }
   677  
   678  func (m *SlsLogPackage) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   679  	i := len(dAtA)
   680  	_ = i
   681  	var l int
   682  	_ = l
   683  	i = encodeVarintSlsLogs(dAtA, i, uint64(m.UncompressSize))
   684  	i--
   685  	dAtA[i] = 0x10
   686  	if m.Data != nil {
   687  		i -= len(m.Data)
   688  		copy(dAtA[i:], m.Data)
   689  		i = encodeVarintSlsLogs(dAtA, i, uint64(len(m.Data)))
   690  		i--
   691  		dAtA[i] = 0xa
   692  	}
   693  	return len(dAtA) - i, nil
   694  }
   695  
   696  func (m *SlsLogPackageList) Marshal() (dAtA []byte, err error) {
   697  	size := m.Size()
   698  	dAtA = make([]byte, size)
   699  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   700  	if err != nil {
   701  		return nil, err
   702  	}
   703  	return dAtA[:n], nil
   704  }
   705  
   706  func (m *SlsLogPackageList) MarshalTo(dAtA []byte) (int, error) {
   707  	size := m.Size()
   708  	return m.MarshalToSizedBuffer(dAtA[:size])
   709  }
   710  
   711  func (m *SlsLogPackageList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   712  	i := len(dAtA)
   713  	_ = i
   714  	var l int
   715  	_ = l
   716  	if len(m.Packages) > 0 {
   717  		for iNdEx := len(m.Packages) - 1; iNdEx >= 0; iNdEx-- {
   718  			{
   719  				size, err := m.Packages[iNdEx].MarshalToSizedBuffer(dAtA[:i])
   720  				if err != nil {
   721  					return 0, err
   722  				}
   723  				i -= size
   724  				i = encodeVarintSlsLogs(dAtA, i, uint64(size))
   725  			}
   726  			i--
   727  			dAtA[i] = 0xa
   728  		}
   729  	}
   730  	return len(dAtA) - i, nil
   731  }
   732  
   733  func (m *LogGroupList) Marshal() (dAtA []byte, err error) {
   734  	size := m.Size()
   735  	dAtA = make([]byte, size)
   736  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   737  	if err != nil {
   738  		return nil, err
   739  	}
   740  	return dAtA[:n], nil
   741  }
   742  
   743  func (m *LogGroupList) MarshalTo(dAtA []byte) (int, error) {
   744  	size := m.Size()
   745  	return m.MarshalToSizedBuffer(dAtA[:size])
   746  }
   747  
   748  func (m *LogGroupList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   749  	i := len(dAtA)
   750  	_ = i
   751  	var l int
   752  	_ = l
   753  	if len(m.LogGroupList) > 0 {
   754  		for iNdEx := len(m.LogGroupList) - 1; iNdEx >= 0; iNdEx-- {
   755  			{
   756  				size, err := m.LogGroupList[iNdEx].MarshalToSizedBuffer(dAtA[:i])
   757  				if err != nil {
   758  					return 0, err
   759  				}
   760  				i -= size
   761  				i = encodeVarintSlsLogs(dAtA, i, uint64(size))
   762  			}
   763  			i--
   764  			dAtA[i] = 0xa
   765  		}
   766  	}
   767  	return len(dAtA) - i, nil
   768  }
   769  
   770  func encodeVarintSlsLogs(dAtA []byte, offset int, v uint64) int {
   771  	offset -= sovSlsLogs(v)
   772  	base := offset
   773  	for v >= 1<<7 {
   774  		dAtA[offset] = uint8(v&0x7f | 0x80)
   775  		v >>= 7
   776  		offset++
   777  	}
   778  	dAtA[offset] = uint8(v)
   779  	return base
   780  }
   781  func (m *Log) Size() (n int) {
   782  	if m == nil {
   783  		return 0
   784  	}
   785  	var l int
   786  	_ = l
   787  	n += 1 + sovSlsLogs(uint64(m.Time))
   788  	if len(m.Contents) > 0 {
   789  		for _, e := range m.Contents {
   790  			l = e.Size()
   791  			n += 1 + l + sovSlsLogs(uint64(l))
   792  		}
   793  	}
   794  	if len(m.Values) > 0 {
   795  		for _, s := range m.Values {
   796  			l = len(s)
   797  			n += 1 + l + sovSlsLogs(uint64(l))
   798  		}
   799  	}
   800  	if m.TimeNs != nil {
   801  		n += 5
   802  	}
   803  	return n
   804  }
   805  
   806  func (m *Log_Content) Size() (n int) {
   807  	if m == nil {
   808  		return 0
   809  	}
   810  	var l int
   811  	_ = l
   812  	l = len(m.Key)
   813  	n += 1 + l + sovSlsLogs(uint64(l))
   814  	l = len(m.Value)
   815  	n += 1 + l + sovSlsLogs(uint64(l))
   816  	return n
   817  }
   818  
   819  func (m *LogTag) Size() (n int) {
   820  	if m == nil {
   821  		return 0
   822  	}
   823  	var l int
   824  	_ = l
   825  	l = len(m.Key)
   826  	n += 1 + l + sovSlsLogs(uint64(l))
   827  	l = len(m.Value)
   828  	n += 1 + l + sovSlsLogs(uint64(l))
   829  	return n
   830  }
   831  
   832  func (m *LogGroup) Size() (n int) {
   833  	if m == nil {
   834  		return 0
   835  	}
   836  	var l int
   837  	_ = l
   838  	if len(m.Logs) > 0 {
   839  		for _, e := range m.Logs {
   840  			l = e.Size()
   841  			n += 1 + l + sovSlsLogs(uint64(l))
   842  		}
   843  	}
   844  	l = len(m.Category)
   845  	n += 1 + l + sovSlsLogs(uint64(l))
   846  	l = len(m.Topic)
   847  	n += 1 + l + sovSlsLogs(uint64(l))
   848  	l = len(m.Source)
   849  	n += 1 + l + sovSlsLogs(uint64(l))
   850  	l = len(m.MachineUUID)
   851  	n += 1 + l + sovSlsLogs(uint64(l))
   852  	if len(m.LogTags) > 0 {
   853  		for _, e := range m.LogTags {
   854  			l = e.Size()
   855  			n += 1 + l + sovSlsLogs(uint64(l))
   856  		}
   857  	}
   858  	return n
   859  }
   860  
   861  func (m *SlsLogPackage) Size() (n int) {
   862  	if m == nil {
   863  		return 0
   864  	}
   865  	var l int
   866  	_ = l
   867  	if m.Data != nil {
   868  		l = len(m.Data)
   869  		n += 1 + l + sovSlsLogs(uint64(l))
   870  	}
   871  	n += 1 + sovSlsLogs(uint64(m.UncompressSize))
   872  	return n
   873  }
   874  
   875  func (m *SlsLogPackageList) Size() (n int) {
   876  	if m == nil {
   877  		return 0
   878  	}
   879  	var l int
   880  	_ = l
   881  	if len(m.Packages) > 0 {
   882  		for _, e := range m.Packages {
   883  			l = e.Size()
   884  			n += 1 + l + sovSlsLogs(uint64(l))
   885  		}
   886  	}
   887  	return n
   888  }
   889  
   890  func (m *LogGroupList) Size() (n int) {
   891  	if m == nil {
   892  		return 0
   893  	}
   894  	var l int
   895  	_ = l
   896  	if len(m.LogGroupList) > 0 {
   897  		for _, e := range m.LogGroupList {
   898  			l = e.Size()
   899  			n += 1 + l + sovSlsLogs(uint64(l))
   900  		}
   901  	}
   902  	return n
   903  }
   904  
   905  func sovSlsLogs(x uint64) (n int) {
   906  	return (math_bits.Len64(x|1) + 6) / 7
   907  }
   908  func sozSlsLogs(x uint64) (n int) {
   909  	return sovSlsLogs(uint64((x << 1) ^ uint64((int64(x) >> 63))))
   910  }
   911  func (m *Log) Unmarshal(dAtA []byte) error {
   912  	var hasFields [1]uint64
   913  	l := len(dAtA)
   914  	iNdEx := 0
   915  	for iNdEx < l {
   916  		preIndex := iNdEx
   917  		var wire uint64
   918  		for shift := uint(0); ; shift += 7 {
   919  			if shift >= 64 {
   920  				return ErrIntOverflowSlsLogs
   921  			}
   922  			if iNdEx >= l {
   923  				return io.ErrUnexpectedEOF
   924  			}
   925  			b := dAtA[iNdEx]
   926  			iNdEx++
   927  			wire |= uint64(b&0x7F) << shift
   928  			if b < 0x80 {
   929  				break
   930  			}
   931  		}
   932  		fieldNum := int32(wire >> 3)
   933  		wireType := int(wire & 0x7)
   934  		if wireType == 4 {
   935  			return fmt.Errorf("proto: Log: wiretype end group for non-group")
   936  		}
   937  		if fieldNum <= 0 {
   938  			return fmt.Errorf("proto: Log: illegal tag %d (wire type %d)", fieldNum, wire)
   939  		}
   940  		switch fieldNum {
   941  		case 1:
   942  			if wireType != 0 {
   943  				return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType)
   944  			}
   945  			m.Time = 0
   946  			for shift := uint(0); ; shift += 7 {
   947  				if shift >= 64 {
   948  					return ErrIntOverflowSlsLogs
   949  				}
   950  				if iNdEx >= l {
   951  					return io.ErrUnexpectedEOF
   952  				}
   953  				b := dAtA[iNdEx]
   954  				iNdEx++
   955  				m.Time |= uint32(b&0x7F) << shift
   956  				if b < 0x80 {
   957  					break
   958  				}
   959  			}
   960  			hasFields[0] |= uint64(0x00000001)
   961  		case 2:
   962  			if wireType != 2 {
   963  				return fmt.Errorf("proto: wrong wireType = %d for field Contents", wireType)
   964  			}
   965  			var msglen int
   966  			for shift := uint(0); ; shift += 7 {
   967  				if shift >= 64 {
   968  					return ErrIntOverflowSlsLogs
   969  				}
   970  				if iNdEx >= l {
   971  					return io.ErrUnexpectedEOF
   972  				}
   973  				b := dAtA[iNdEx]
   974  				iNdEx++
   975  				msglen |= int(b&0x7F) << shift
   976  				if b < 0x80 {
   977  					break
   978  				}
   979  			}
   980  			if msglen < 0 {
   981  				return ErrInvalidLengthSlsLogs
   982  			}
   983  			postIndex := iNdEx + msglen
   984  			if postIndex < 0 {
   985  				return ErrInvalidLengthSlsLogs
   986  			}
   987  			if postIndex > l {
   988  				return io.ErrUnexpectedEOF
   989  			}
   990  			m.Contents = append(m.Contents, &Log_Content{})
   991  			if err := m.Contents[len(m.Contents)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
   992  				return err
   993  			}
   994  			iNdEx = postIndex
   995  		case 3:
   996  			if wireType != 2 {
   997  				return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType)
   998  			}
   999  			var stringLen uint64
  1000  			for shift := uint(0); ; shift += 7 {
  1001  				if shift >= 64 {
  1002  					return ErrIntOverflowSlsLogs
  1003  				}
  1004  				if iNdEx >= l {
  1005  					return io.ErrUnexpectedEOF
  1006  				}
  1007  				b := dAtA[iNdEx]
  1008  				iNdEx++
  1009  				stringLen |= uint64(b&0x7F) << shift
  1010  				if b < 0x80 {
  1011  					break
  1012  				}
  1013  			}
  1014  			intStringLen := int(stringLen)
  1015  			if intStringLen < 0 {
  1016  				return ErrInvalidLengthSlsLogs
  1017  			}
  1018  			postIndex := iNdEx + intStringLen
  1019  			if postIndex < 0 {
  1020  				return ErrInvalidLengthSlsLogs
  1021  			}
  1022  			if postIndex > l {
  1023  				return io.ErrUnexpectedEOF
  1024  			}
  1025  			m.Values = append(m.Values, string(dAtA[iNdEx:postIndex]))
  1026  			iNdEx = postIndex
  1027  		case 4:
  1028  			if wireType != 5 {
  1029  				return fmt.Errorf("proto: wrong wireType = %d for field TimeNs", wireType)
  1030  			}
  1031  			var v uint32
  1032  			if (iNdEx + 4) > l {
  1033  				return io.ErrUnexpectedEOF
  1034  			}
  1035  			v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
  1036  			iNdEx += 4
  1037  			m.TimeNs = &v
  1038  		default:
  1039  			iNdEx = preIndex
  1040  			skippy, err := skipSlsLogs(dAtA[iNdEx:])
  1041  			if err != nil {
  1042  				return err
  1043  			}
  1044  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1045  				return ErrInvalidLengthSlsLogs
  1046  			}
  1047  			if (iNdEx + skippy) > l {
  1048  				return io.ErrUnexpectedEOF
  1049  			}
  1050  			iNdEx += skippy
  1051  		}
  1052  	}
  1053  	if hasFields[0]&uint64(0x00000001) == 0 {
  1054  		return github_com_gogo_protobuf_proto.NewRequiredNotSetError("Time")
  1055  	}
  1056  
  1057  	if iNdEx > l {
  1058  		return io.ErrUnexpectedEOF
  1059  	}
  1060  	return nil
  1061  }
  1062  func (m *Log_Content) Unmarshal(dAtA []byte) error {
  1063  	var hasFields [1]uint64
  1064  	l := len(dAtA)
  1065  	iNdEx := 0
  1066  	for iNdEx < l {
  1067  		preIndex := iNdEx
  1068  		var wire uint64
  1069  		for shift := uint(0); ; shift += 7 {
  1070  			if shift >= 64 {
  1071  				return ErrIntOverflowSlsLogs
  1072  			}
  1073  			if iNdEx >= l {
  1074  				return io.ErrUnexpectedEOF
  1075  			}
  1076  			b := dAtA[iNdEx]
  1077  			iNdEx++
  1078  			wire |= uint64(b&0x7F) << shift
  1079  			if b < 0x80 {
  1080  				break
  1081  			}
  1082  		}
  1083  		fieldNum := int32(wire >> 3)
  1084  		wireType := int(wire & 0x7)
  1085  		if wireType == 4 {
  1086  			return fmt.Errorf("proto: Content: wiretype end group for non-group")
  1087  		}
  1088  		if fieldNum <= 0 {
  1089  			return fmt.Errorf("proto: Content: illegal tag %d (wire type %d)", fieldNum, wire)
  1090  		}
  1091  		switch fieldNum {
  1092  		case 1:
  1093  			if wireType != 2 {
  1094  				return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  1095  			}
  1096  			var stringLen uint64
  1097  			for shift := uint(0); ; shift += 7 {
  1098  				if shift >= 64 {
  1099  					return ErrIntOverflowSlsLogs
  1100  				}
  1101  				if iNdEx >= l {
  1102  					return io.ErrUnexpectedEOF
  1103  				}
  1104  				b := dAtA[iNdEx]
  1105  				iNdEx++
  1106  				stringLen |= uint64(b&0x7F) << shift
  1107  				if b < 0x80 {
  1108  					break
  1109  				}
  1110  			}
  1111  			intStringLen := int(stringLen)
  1112  			if intStringLen < 0 {
  1113  				return ErrInvalidLengthSlsLogs
  1114  			}
  1115  			postIndex := iNdEx + intStringLen
  1116  			if postIndex < 0 {
  1117  				return ErrInvalidLengthSlsLogs
  1118  			}
  1119  			if postIndex > l {
  1120  				return io.ErrUnexpectedEOF
  1121  			}
  1122  			m.Key = string(dAtA[iNdEx:postIndex])
  1123  			iNdEx = postIndex
  1124  			hasFields[0] |= uint64(0x00000001)
  1125  		case 2:
  1126  			if wireType != 2 {
  1127  				return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  1128  			}
  1129  			var stringLen uint64
  1130  			for shift := uint(0); ; shift += 7 {
  1131  				if shift >= 64 {
  1132  					return ErrIntOverflowSlsLogs
  1133  				}
  1134  				if iNdEx >= l {
  1135  					return io.ErrUnexpectedEOF
  1136  				}
  1137  				b := dAtA[iNdEx]
  1138  				iNdEx++
  1139  				stringLen |= uint64(b&0x7F) << shift
  1140  				if b < 0x80 {
  1141  					break
  1142  				}
  1143  			}
  1144  			intStringLen := int(stringLen)
  1145  			if intStringLen < 0 {
  1146  				return ErrInvalidLengthSlsLogs
  1147  			}
  1148  			postIndex := iNdEx + intStringLen
  1149  			if postIndex < 0 {
  1150  				return ErrInvalidLengthSlsLogs
  1151  			}
  1152  			if postIndex > l {
  1153  				return io.ErrUnexpectedEOF
  1154  			}
  1155  			m.Value = string(dAtA[iNdEx:postIndex])
  1156  			iNdEx = postIndex
  1157  			hasFields[0] |= uint64(0x00000002)
  1158  		default:
  1159  			iNdEx = preIndex
  1160  			skippy, err := skipSlsLogs(dAtA[iNdEx:])
  1161  			if err != nil {
  1162  				return err
  1163  			}
  1164  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1165  				return ErrInvalidLengthSlsLogs
  1166  			}
  1167  			if (iNdEx + skippy) > l {
  1168  				return io.ErrUnexpectedEOF
  1169  			}
  1170  			iNdEx += skippy
  1171  		}
  1172  	}
  1173  	if hasFields[0]&uint64(0x00000001) == 0 {
  1174  		return github_com_gogo_protobuf_proto.NewRequiredNotSetError("Key")
  1175  	}
  1176  	if hasFields[0]&uint64(0x00000002) == 0 {
  1177  		return github_com_gogo_protobuf_proto.NewRequiredNotSetError("Value")
  1178  	}
  1179  
  1180  	if iNdEx > l {
  1181  		return io.ErrUnexpectedEOF
  1182  	}
  1183  	return nil
  1184  }
  1185  func (m *LogTag) Unmarshal(dAtA []byte) error {
  1186  	var hasFields [1]uint64
  1187  	l := len(dAtA)
  1188  	iNdEx := 0
  1189  	for iNdEx < l {
  1190  		preIndex := iNdEx
  1191  		var wire uint64
  1192  		for shift := uint(0); ; shift += 7 {
  1193  			if shift >= 64 {
  1194  				return ErrIntOverflowSlsLogs
  1195  			}
  1196  			if iNdEx >= l {
  1197  				return io.ErrUnexpectedEOF
  1198  			}
  1199  			b := dAtA[iNdEx]
  1200  			iNdEx++
  1201  			wire |= uint64(b&0x7F) << shift
  1202  			if b < 0x80 {
  1203  				break
  1204  			}
  1205  		}
  1206  		fieldNum := int32(wire >> 3)
  1207  		wireType := int(wire & 0x7)
  1208  		if wireType == 4 {
  1209  			return fmt.Errorf("proto: LogTag: wiretype end group for non-group")
  1210  		}
  1211  		if fieldNum <= 0 {
  1212  			return fmt.Errorf("proto: LogTag: illegal tag %d (wire type %d)", fieldNum, wire)
  1213  		}
  1214  		switch fieldNum {
  1215  		case 1:
  1216  			if wireType != 2 {
  1217  				return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  1218  			}
  1219  			var stringLen uint64
  1220  			for shift := uint(0); ; shift += 7 {
  1221  				if shift >= 64 {
  1222  					return ErrIntOverflowSlsLogs
  1223  				}
  1224  				if iNdEx >= l {
  1225  					return io.ErrUnexpectedEOF
  1226  				}
  1227  				b := dAtA[iNdEx]
  1228  				iNdEx++
  1229  				stringLen |= uint64(b&0x7F) << shift
  1230  				if b < 0x80 {
  1231  					break
  1232  				}
  1233  			}
  1234  			intStringLen := int(stringLen)
  1235  			if intStringLen < 0 {
  1236  				return ErrInvalidLengthSlsLogs
  1237  			}
  1238  			postIndex := iNdEx + intStringLen
  1239  			if postIndex < 0 {
  1240  				return ErrInvalidLengthSlsLogs
  1241  			}
  1242  			if postIndex > l {
  1243  				return io.ErrUnexpectedEOF
  1244  			}
  1245  			m.Key = string(dAtA[iNdEx:postIndex])
  1246  			iNdEx = postIndex
  1247  			hasFields[0] |= uint64(0x00000001)
  1248  		case 2:
  1249  			if wireType != 2 {
  1250  				return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  1251  			}
  1252  			var stringLen uint64
  1253  			for shift := uint(0); ; shift += 7 {
  1254  				if shift >= 64 {
  1255  					return ErrIntOverflowSlsLogs
  1256  				}
  1257  				if iNdEx >= l {
  1258  					return io.ErrUnexpectedEOF
  1259  				}
  1260  				b := dAtA[iNdEx]
  1261  				iNdEx++
  1262  				stringLen |= uint64(b&0x7F) << shift
  1263  				if b < 0x80 {
  1264  					break
  1265  				}
  1266  			}
  1267  			intStringLen := int(stringLen)
  1268  			if intStringLen < 0 {
  1269  				return ErrInvalidLengthSlsLogs
  1270  			}
  1271  			postIndex := iNdEx + intStringLen
  1272  			if postIndex < 0 {
  1273  				return ErrInvalidLengthSlsLogs
  1274  			}
  1275  			if postIndex > l {
  1276  				return io.ErrUnexpectedEOF
  1277  			}
  1278  			m.Value = string(dAtA[iNdEx:postIndex])
  1279  			iNdEx = postIndex
  1280  			hasFields[0] |= uint64(0x00000002)
  1281  		default:
  1282  			iNdEx = preIndex
  1283  			skippy, err := skipSlsLogs(dAtA[iNdEx:])
  1284  			if err != nil {
  1285  				return err
  1286  			}
  1287  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1288  				return ErrInvalidLengthSlsLogs
  1289  			}
  1290  			if (iNdEx + skippy) > l {
  1291  				return io.ErrUnexpectedEOF
  1292  			}
  1293  			iNdEx += skippy
  1294  		}
  1295  	}
  1296  	if hasFields[0]&uint64(0x00000001) == 0 {
  1297  		return github_com_gogo_protobuf_proto.NewRequiredNotSetError("Key")
  1298  	}
  1299  	if hasFields[0]&uint64(0x00000002) == 0 {
  1300  		return github_com_gogo_protobuf_proto.NewRequiredNotSetError("Value")
  1301  	}
  1302  
  1303  	if iNdEx > l {
  1304  		return io.ErrUnexpectedEOF
  1305  	}
  1306  	return nil
  1307  }
  1308  func (m *LogGroup) Unmarshal(dAtA []byte) error {
  1309  	l := len(dAtA)
  1310  	iNdEx := 0
  1311  	for iNdEx < l {
  1312  		preIndex := iNdEx
  1313  		var wire uint64
  1314  		for shift := uint(0); ; shift += 7 {
  1315  			if shift >= 64 {
  1316  				return ErrIntOverflowSlsLogs
  1317  			}
  1318  			if iNdEx >= l {
  1319  				return io.ErrUnexpectedEOF
  1320  			}
  1321  			b := dAtA[iNdEx]
  1322  			iNdEx++
  1323  			wire |= uint64(b&0x7F) << shift
  1324  			if b < 0x80 {
  1325  				break
  1326  			}
  1327  		}
  1328  		fieldNum := int32(wire >> 3)
  1329  		wireType := int(wire & 0x7)
  1330  		if wireType == 4 {
  1331  			return fmt.Errorf("proto: LogGroup: wiretype end group for non-group")
  1332  		}
  1333  		if fieldNum <= 0 {
  1334  			return fmt.Errorf("proto: LogGroup: illegal tag %d (wire type %d)", fieldNum, wire)
  1335  		}
  1336  		switch fieldNum {
  1337  		case 1:
  1338  			if wireType != 2 {
  1339  				return fmt.Errorf("proto: wrong wireType = %d for field Logs", wireType)
  1340  			}
  1341  			var msglen int
  1342  			for shift := uint(0); ; shift += 7 {
  1343  				if shift >= 64 {
  1344  					return ErrIntOverflowSlsLogs
  1345  				}
  1346  				if iNdEx >= l {
  1347  					return io.ErrUnexpectedEOF
  1348  				}
  1349  				b := dAtA[iNdEx]
  1350  				iNdEx++
  1351  				msglen |= int(b&0x7F) << shift
  1352  				if b < 0x80 {
  1353  					break
  1354  				}
  1355  			}
  1356  			if msglen < 0 {
  1357  				return ErrInvalidLengthSlsLogs
  1358  			}
  1359  			postIndex := iNdEx + msglen
  1360  			if postIndex < 0 {
  1361  				return ErrInvalidLengthSlsLogs
  1362  			}
  1363  			if postIndex > l {
  1364  				return io.ErrUnexpectedEOF
  1365  			}
  1366  			m.Logs = append(m.Logs, &Log{})
  1367  			if err := m.Logs[len(m.Logs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1368  				return err
  1369  			}
  1370  			iNdEx = postIndex
  1371  		case 2:
  1372  			if wireType != 2 {
  1373  				return fmt.Errorf("proto: wrong wireType = %d for field Category", wireType)
  1374  			}
  1375  			var stringLen uint64
  1376  			for shift := uint(0); ; shift += 7 {
  1377  				if shift >= 64 {
  1378  					return ErrIntOverflowSlsLogs
  1379  				}
  1380  				if iNdEx >= l {
  1381  					return io.ErrUnexpectedEOF
  1382  				}
  1383  				b := dAtA[iNdEx]
  1384  				iNdEx++
  1385  				stringLen |= uint64(b&0x7F) << shift
  1386  				if b < 0x80 {
  1387  					break
  1388  				}
  1389  			}
  1390  			intStringLen := int(stringLen)
  1391  			if intStringLen < 0 {
  1392  				return ErrInvalidLengthSlsLogs
  1393  			}
  1394  			postIndex := iNdEx + intStringLen
  1395  			if postIndex < 0 {
  1396  				return ErrInvalidLengthSlsLogs
  1397  			}
  1398  			if postIndex > l {
  1399  				return io.ErrUnexpectedEOF
  1400  			}
  1401  			m.Category = string(dAtA[iNdEx:postIndex])
  1402  			iNdEx = postIndex
  1403  		case 3:
  1404  			if wireType != 2 {
  1405  				return fmt.Errorf("proto: wrong wireType = %d for field Topic", wireType)
  1406  			}
  1407  			var stringLen uint64
  1408  			for shift := uint(0); ; shift += 7 {
  1409  				if shift >= 64 {
  1410  					return ErrIntOverflowSlsLogs
  1411  				}
  1412  				if iNdEx >= l {
  1413  					return io.ErrUnexpectedEOF
  1414  				}
  1415  				b := dAtA[iNdEx]
  1416  				iNdEx++
  1417  				stringLen |= uint64(b&0x7F) << shift
  1418  				if b < 0x80 {
  1419  					break
  1420  				}
  1421  			}
  1422  			intStringLen := int(stringLen)
  1423  			if intStringLen < 0 {
  1424  				return ErrInvalidLengthSlsLogs
  1425  			}
  1426  			postIndex := iNdEx + intStringLen
  1427  			if postIndex < 0 {
  1428  				return ErrInvalidLengthSlsLogs
  1429  			}
  1430  			if postIndex > l {
  1431  				return io.ErrUnexpectedEOF
  1432  			}
  1433  			m.Topic = string(dAtA[iNdEx:postIndex])
  1434  			iNdEx = postIndex
  1435  		case 4:
  1436  			if wireType != 2 {
  1437  				return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
  1438  			}
  1439  			var stringLen uint64
  1440  			for shift := uint(0); ; shift += 7 {
  1441  				if shift >= 64 {
  1442  					return ErrIntOverflowSlsLogs
  1443  				}
  1444  				if iNdEx >= l {
  1445  					return io.ErrUnexpectedEOF
  1446  				}
  1447  				b := dAtA[iNdEx]
  1448  				iNdEx++
  1449  				stringLen |= uint64(b&0x7F) << shift
  1450  				if b < 0x80 {
  1451  					break
  1452  				}
  1453  			}
  1454  			intStringLen := int(stringLen)
  1455  			if intStringLen < 0 {
  1456  				return ErrInvalidLengthSlsLogs
  1457  			}
  1458  			postIndex := iNdEx + intStringLen
  1459  			if postIndex < 0 {
  1460  				return ErrInvalidLengthSlsLogs
  1461  			}
  1462  			if postIndex > l {
  1463  				return io.ErrUnexpectedEOF
  1464  			}
  1465  			m.Source = string(dAtA[iNdEx:postIndex])
  1466  			iNdEx = postIndex
  1467  		case 5:
  1468  			if wireType != 2 {
  1469  				return fmt.Errorf("proto: wrong wireType = %d for field MachineUUID", wireType)
  1470  			}
  1471  			var stringLen uint64
  1472  			for shift := uint(0); ; shift += 7 {
  1473  				if shift >= 64 {
  1474  					return ErrIntOverflowSlsLogs
  1475  				}
  1476  				if iNdEx >= l {
  1477  					return io.ErrUnexpectedEOF
  1478  				}
  1479  				b := dAtA[iNdEx]
  1480  				iNdEx++
  1481  				stringLen |= uint64(b&0x7F) << shift
  1482  				if b < 0x80 {
  1483  					break
  1484  				}
  1485  			}
  1486  			intStringLen := int(stringLen)
  1487  			if intStringLen < 0 {
  1488  				return ErrInvalidLengthSlsLogs
  1489  			}
  1490  			postIndex := iNdEx + intStringLen
  1491  			if postIndex < 0 {
  1492  				return ErrInvalidLengthSlsLogs
  1493  			}
  1494  			if postIndex > l {
  1495  				return io.ErrUnexpectedEOF
  1496  			}
  1497  			m.MachineUUID = string(dAtA[iNdEx:postIndex])
  1498  			iNdEx = postIndex
  1499  		case 6:
  1500  			if wireType != 2 {
  1501  				return fmt.Errorf("proto: wrong wireType = %d for field LogTags", wireType)
  1502  			}
  1503  			var msglen int
  1504  			for shift := uint(0); ; shift += 7 {
  1505  				if shift >= 64 {
  1506  					return ErrIntOverflowSlsLogs
  1507  				}
  1508  				if iNdEx >= l {
  1509  					return io.ErrUnexpectedEOF
  1510  				}
  1511  				b := dAtA[iNdEx]
  1512  				iNdEx++
  1513  				msglen |= int(b&0x7F) << shift
  1514  				if b < 0x80 {
  1515  					break
  1516  				}
  1517  			}
  1518  			if msglen < 0 {
  1519  				return ErrInvalidLengthSlsLogs
  1520  			}
  1521  			postIndex := iNdEx + msglen
  1522  			if postIndex < 0 {
  1523  				return ErrInvalidLengthSlsLogs
  1524  			}
  1525  			if postIndex > l {
  1526  				return io.ErrUnexpectedEOF
  1527  			}
  1528  			m.LogTags = append(m.LogTags, &LogTag{})
  1529  			if err := m.LogTags[len(m.LogTags)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1530  				return err
  1531  			}
  1532  			iNdEx = postIndex
  1533  		default:
  1534  			iNdEx = preIndex
  1535  			skippy, err := skipSlsLogs(dAtA[iNdEx:])
  1536  			if err != nil {
  1537  				return err
  1538  			}
  1539  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1540  				return ErrInvalidLengthSlsLogs
  1541  			}
  1542  			if (iNdEx + skippy) > l {
  1543  				return io.ErrUnexpectedEOF
  1544  			}
  1545  			iNdEx += skippy
  1546  		}
  1547  	}
  1548  
  1549  	if iNdEx > l {
  1550  		return io.ErrUnexpectedEOF
  1551  	}
  1552  	return nil
  1553  }
  1554  func (m *SlsLogPackage) Unmarshal(dAtA []byte) error {
  1555  	var hasFields [1]uint64
  1556  	l := len(dAtA)
  1557  	iNdEx := 0
  1558  	for iNdEx < l {
  1559  		preIndex := iNdEx
  1560  		var wire uint64
  1561  		for shift := uint(0); ; shift += 7 {
  1562  			if shift >= 64 {
  1563  				return ErrIntOverflowSlsLogs
  1564  			}
  1565  			if iNdEx >= l {
  1566  				return io.ErrUnexpectedEOF
  1567  			}
  1568  			b := dAtA[iNdEx]
  1569  			iNdEx++
  1570  			wire |= uint64(b&0x7F) << shift
  1571  			if b < 0x80 {
  1572  				break
  1573  			}
  1574  		}
  1575  		fieldNum := int32(wire >> 3)
  1576  		wireType := int(wire & 0x7)
  1577  		if wireType == 4 {
  1578  			return fmt.Errorf("proto: SlsLogPackage: wiretype end group for non-group")
  1579  		}
  1580  		if fieldNum <= 0 {
  1581  			return fmt.Errorf("proto: SlsLogPackage: illegal tag %d (wire type %d)", fieldNum, wire)
  1582  		}
  1583  		switch fieldNum {
  1584  		case 1:
  1585  			if wireType != 2 {
  1586  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  1587  			}
  1588  			var byteLen int
  1589  			for shift := uint(0); ; shift += 7 {
  1590  				if shift >= 64 {
  1591  					return ErrIntOverflowSlsLogs
  1592  				}
  1593  				if iNdEx >= l {
  1594  					return io.ErrUnexpectedEOF
  1595  				}
  1596  				b := dAtA[iNdEx]
  1597  				iNdEx++
  1598  				byteLen |= int(b&0x7F) << shift
  1599  				if b < 0x80 {
  1600  					break
  1601  				}
  1602  			}
  1603  			if byteLen < 0 {
  1604  				return ErrInvalidLengthSlsLogs
  1605  			}
  1606  			postIndex := iNdEx + byteLen
  1607  			if postIndex < 0 {
  1608  				return ErrInvalidLengthSlsLogs
  1609  			}
  1610  			if postIndex > l {
  1611  				return io.ErrUnexpectedEOF
  1612  			}
  1613  			m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
  1614  			if m.Data == nil {
  1615  				m.Data = []byte{}
  1616  			}
  1617  			iNdEx = postIndex
  1618  			hasFields[0] |= uint64(0x00000001)
  1619  		case 2:
  1620  			if wireType != 0 {
  1621  				return fmt.Errorf("proto: wrong wireType = %d for field UncompressSize", wireType)
  1622  			}
  1623  			m.UncompressSize = 0
  1624  			for shift := uint(0); ; shift += 7 {
  1625  				if shift >= 64 {
  1626  					return ErrIntOverflowSlsLogs
  1627  				}
  1628  				if iNdEx >= l {
  1629  					return io.ErrUnexpectedEOF
  1630  				}
  1631  				b := dAtA[iNdEx]
  1632  				iNdEx++
  1633  				m.UncompressSize |= int32(b&0x7F) << shift
  1634  				if b < 0x80 {
  1635  					break
  1636  				}
  1637  			}
  1638  		default:
  1639  			iNdEx = preIndex
  1640  			skippy, err := skipSlsLogs(dAtA[iNdEx:])
  1641  			if err != nil {
  1642  				return err
  1643  			}
  1644  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1645  				return ErrInvalidLengthSlsLogs
  1646  			}
  1647  			if (iNdEx + skippy) > l {
  1648  				return io.ErrUnexpectedEOF
  1649  			}
  1650  			iNdEx += skippy
  1651  		}
  1652  	}
  1653  	if hasFields[0]&uint64(0x00000001) == 0 {
  1654  		return github_com_gogo_protobuf_proto.NewRequiredNotSetError("data")
  1655  	}
  1656  
  1657  	if iNdEx > l {
  1658  		return io.ErrUnexpectedEOF
  1659  	}
  1660  	return nil
  1661  }
  1662  func (m *SlsLogPackageList) Unmarshal(dAtA []byte) error {
  1663  	l := len(dAtA)
  1664  	iNdEx := 0
  1665  	for iNdEx < l {
  1666  		preIndex := iNdEx
  1667  		var wire uint64
  1668  		for shift := uint(0); ; shift += 7 {
  1669  			if shift >= 64 {
  1670  				return ErrIntOverflowSlsLogs
  1671  			}
  1672  			if iNdEx >= l {
  1673  				return io.ErrUnexpectedEOF
  1674  			}
  1675  			b := dAtA[iNdEx]
  1676  			iNdEx++
  1677  			wire |= uint64(b&0x7F) << shift
  1678  			if b < 0x80 {
  1679  				break
  1680  			}
  1681  		}
  1682  		fieldNum := int32(wire >> 3)
  1683  		wireType := int(wire & 0x7)
  1684  		if wireType == 4 {
  1685  			return fmt.Errorf("proto: SlsLogPackageList: wiretype end group for non-group")
  1686  		}
  1687  		if fieldNum <= 0 {
  1688  			return fmt.Errorf("proto: SlsLogPackageList: illegal tag %d (wire type %d)", fieldNum, wire)
  1689  		}
  1690  		switch fieldNum {
  1691  		case 1:
  1692  			if wireType != 2 {
  1693  				return fmt.Errorf("proto: wrong wireType = %d for field Packages", wireType)
  1694  			}
  1695  			var msglen int
  1696  			for shift := uint(0); ; shift += 7 {
  1697  				if shift >= 64 {
  1698  					return ErrIntOverflowSlsLogs
  1699  				}
  1700  				if iNdEx >= l {
  1701  					return io.ErrUnexpectedEOF
  1702  				}
  1703  				b := dAtA[iNdEx]
  1704  				iNdEx++
  1705  				msglen |= int(b&0x7F) << shift
  1706  				if b < 0x80 {
  1707  					break
  1708  				}
  1709  			}
  1710  			if msglen < 0 {
  1711  				return ErrInvalidLengthSlsLogs
  1712  			}
  1713  			postIndex := iNdEx + msglen
  1714  			if postIndex < 0 {
  1715  				return ErrInvalidLengthSlsLogs
  1716  			}
  1717  			if postIndex > l {
  1718  				return io.ErrUnexpectedEOF
  1719  			}
  1720  			m.Packages = append(m.Packages, &SlsLogPackage{})
  1721  			if err := m.Packages[len(m.Packages)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1722  				return err
  1723  			}
  1724  			iNdEx = postIndex
  1725  		default:
  1726  			iNdEx = preIndex
  1727  			skippy, err := skipSlsLogs(dAtA[iNdEx:])
  1728  			if err != nil {
  1729  				return err
  1730  			}
  1731  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1732  				return ErrInvalidLengthSlsLogs
  1733  			}
  1734  			if (iNdEx + skippy) > l {
  1735  				return io.ErrUnexpectedEOF
  1736  			}
  1737  			iNdEx += skippy
  1738  		}
  1739  	}
  1740  
  1741  	if iNdEx > l {
  1742  		return io.ErrUnexpectedEOF
  1743  	}
  1744  	return nil
  1745  }
  1746  func (m *LogGroupList) Unmarshal(dAtA []byte) error {
  1747  	l := len(dAtA)
  1748  	iNdEx := 0
  1749  	for iNdEx < l {
  1750  		preIndex := iNdEx
  1751  		var wire uint64
  1752  		for shift := uint(0); ; shift += 7 {
  1753  			if shift >= 64 {
  1754  				return ErrIntOverflowSlsLogs
  1755  			}
  1756  			if iNdEx >= l {
  1757  				return io.ErrUnexpectedEOF
  1758  			}
  1759  			b := dAtA[iNdEx]
  1760  			iNdEx++
  1761  			wire |= uint64(b&0x7F) << shift
  1762  			if b < 0x80 {
  1763  				break
  1764  			}
  1765  		}
  1766  		fieldNum := int32(wire >> 3)
  1767  		wireType := int(wire & 0x7)
  1768  		if wireType == 4 {
  1769  			return fmt.Errorf("proto: LogGroupList: wiretype end group for non-group")
  1770  		}
  1771  		if fieldNum <= 0 {
  1772  			return fmt.Errorf("proto: LogGroupList: illegal tag %d (wire type %d)", fieldNum, wire)
  1773  		}
  1774  		switch fieldNum {
  1775  		case 1:
  1776  			if wireType != 2 {
  1777  				return fmt.Errorf("proto: wrong wireType = %d for field LogGroupList", wireType)
  1778  			}
  1779  			var msglen int
  1780  			for shift := uint(0); ; shift += 7 {
  1781  				if shift >= 64 {
  1782  					return ErrIntOverflowSlsLogs
  1783  				}
  1784  				if iNdEx >= l {
  1785  					return io.ErrUnexpectedEOF
  1786  				}
  1787  				b := dAtA[iNdEx]
  1788  				iNdEx++
  1789  				msglen |= int(b&0x7F) << shift
  1790  				if b < 0x80 {
  1791  					break
  1792  				}
  1793  			}
  1794  			if msglen < 0 {
  1795  				return ErrInvalidLengthSlsLogs
  1796  			}
  1797  			postIndex := iNdEx + msglen
  1798  			if postIndex < 0 {
  1799  				return ErrInvalidLengthSlsLogs
  1800  			}
  1801  			if postIndex > l {
  1802  				return io.ErrUnexpectedEOF
  1803  			}
  1804  			m.LogGroupList = append(m.LogGroupList, &LogGroup{})
  1805  			if err := m.LogGroupList[len(m.LogGroupList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1806  				return err
  1807  			}
  1808  			iNdEx = postIndex
  1809  		default:
  1810  			iNdEx = preIndex
  1811  			skippy, err := skipSlsLogs(dAtA[iNdEx:])
  1812  			if err != nil {
  1813  				return err
  1814  			}
  1815  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1816  				return ErrInvalidLengthSlsLogs
  1817  			}
  1818  			if (iNdEx + skippy) > l {
  1819  				return io.ErrUnexpectedEOF
  1820  			}
  1821  			iNdEx += skippy
  1822  		}
  1823  	}
  1824  
  1825  	if iNdEx > l {
  1826  		return io.ErrUnexpectedEOF
  1827  	}
  1828  	return nil
  1829  }
  1830  func skipSlsLogs(dAtA []byte) (n int, err error) {
  1831  	l := len(dAtA)
  1832  	iNdEx := 0
  1833  	depth := 0
  1834  	for iNdEx < l {
  1835  		var wire uint64
  1836  		for shift := uint(0); ; shift += 7 {
  1837  			if shift >= 64 {
  1838  				return 0, ErrIntOverflowSlsLogs
  1839  			}
  1840  			if iNdEx >= l {
  1841  				return 0, io.ErrUnexpectedEOF
  1842  			}
  1843  			b := dAtA[iNdEx]
  1844  			iNdEx++
  1845  			wire |= (uint64(b) & 0x7F) << shift
  1846  			if b < 0x80 {
  1847  				break
  1848  			}
  1849  		}
  1850  		wireType := int(wire & 0x7)
  1851  		switch wireType {
  1852  		case 0:
  1853  			for shift := uint(0); ; shift += 7 {
  1854  				if shift >= 64 {
  1855  					return 0, ErrIntOverflowSlsLogs
  1856  				}
  1857  				if iNdEx >= l {
  1858  					return 0, io.ErrUnexpectedEOF
  1859  				}
  1860  				iNdEx++
  1861  				if dAtA[iNdEx-1] < 0x80 {
  1862  					break
  1863  				}
  1864  			}
  1865  		case 1:
  1866  			iNdEx += 8
  1867  		case 2:
  1868  			var length int
  1869  			for shift := uint(0); ; shift += 7 {
  1870  				if shift >= 64 {
  1871  					return 0, ErrIntOverflowSlsLogs
  1872  				}
  1873  				if iNdEx >= l {
  1874  					return 0, io.ErrUnexpectedEOF
  1875  				}
  1876  				b := dAtA[iNdEx]
  1877  				iNdEx++
  1878  				length |= (int(b) & 0x7F) << shift
  1879  				if b < 0x80 {
  1880  					break
  1881  				}
  1882  			}
  1883  			if length < 0 {
  1884  				return 0, ErrInvalidLengthSlsLogs
  1885  			}
  1886  			iNdEx += length
  1887  		case 3:
  1888  			depth++
  1889  		case 4:
  1890  			if depth == 0 {
  1891  				return 0, ErrUnexpectedEndOfGroupSlsLogs
  1892  			}
  1893  			depth--
  1894  		case 5:
  1895  			iNdEx += 4
  1896  		default:
  1897  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  1898  		}
  1899  		if iNdEx < 0 {
  1900  			return 0, ErrInvalidLengthSlsLogs
  1901  		}
  1902  		if depth == 0 {
  1903  			return iNdEx, nil
  1904  		}
  1905  	}
  1906  	return 0, io.ErrUnexpectedEOF
  1907  }
  1908  
  1909  var (
  1910  	ErrInvalidLengthSlsLogs        = fmt.Errorf("proto: negative length found during unmarshaling")
  1911  	ErrIntOverflowSlsLogs          = fmt.Errorf("proto: integer overflow")
  1912  	ErrUnexpectedEndOfGroupSlsLogs = fmt.Errorf("proto: unexpected end of group")
  1913  )