github.com/Heebron/moby@v0.0.0-20221111184709-6eab4f55faf7/api/types/swarm/runtime/plugin.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: plugin.proto
     3  
     4  /*
     5  	Package runtime is a generated protocol buffer package.
     6  
     7  	It is generated from these files:
     8  		plugin.proto
     9  
    10  	It has these top-level messages:
    11  		PluginSpec
    12  		PluginPrivilege
    13  */
    14  package runtime
    15  
    16  import proto "github.com/gogo/protobuf/proto"
    17  import fmt "fmt"
    18  import math "math"
    19  
    20  import io "io"
    21  
    22  // Reference imports to suppress errors if they are not otherwise used.
    23  var _ = proto.Marshal
    24  var _ = fmt.Errorf
    25  var _ = math.Inf
    26  
    27  // This is a compile-time assertion to ensure that this generated file
    28  // is compatible with the proto package it is being compiled against.
    29  // A compilation error at this line likely means your copy of the
    30  // proto package needs to be updated.
    31  const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
    32  
    33  // PluginSpec defines the base payload which clients can specify for creating
    34  // a service with the plugin runtime.
    35  type PluginSpec struct {
    36  	Name       string             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    37  	Remote     string             `protobuf:"bytes,2,opt,name=remote,proto3" json:"remote,omitempty"`
    38  	Privileges []*PluginPrivilege `protobuf:"bytes,3,rep,name=privileges" json:"privileges,omitempty"`
    39  	Disabled   bool               `protobuf:"varint,4,opt,name=disabled,proto3" json:"disabled,omitempty"`
    40  	Env        []string           `protobuf:"bytes,5,rep,name=env" json:"env,omitempty"`
    41  }
    42  
    43  func (m *PluginSpec) Reset()                    { *m = PluginSpec{} }
    44  func (m *PluginSpec) String() string            { return proto.CompactTextString(m) }
    45  func (*PluginSpec) ProtoMessage()               {}
    46  func (*PluginSpec) Descriptor() ([]byte, []int) { return fileDescriptorPlugin, []int{0} }
    47  
    48  func (m *PluginSpec) GetName() string {
    49  	if m != nil {
    50  		return m.Name
    51  	}
    52  	return ""
    53  }
    54  
    55  func (m *PluginSpec) GetRemote() string {
    56  	if m != nil {
    57  		return m.Remote
    58  	}
    59  	return ""
    60  }
    61  
    62  func (m *PluginSpec) GetPrivileges() []*PluginPrivilege {
    63  	if m != nil {
    64  		return m.Privileges
    65  	}
    66  	return nil
    67  }
    68  
    69  func (m *PluginSpec) GetDisabled() bool {
    70  	if m != nil {
    71  		return m.Disabled
    72  	}
    73  	return false
    74  }
    75  
    76  func (m *PluginSpec) GetEnv() []string {
    77  	if m != nil {
    78  		return m.Env
    79  	}
    80  	return nil
    81  }
    82  
    83  // PluginPrivilege describes a permission the user has to accept
    84  // upon installing a plugin.
    85  type PluginPrivilege struct {
    86  	Name        string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    87  	Description string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
    88  	Value       []string `protobuf:"bytes,3,rep,name=value" json:"value,omitempty"`
    89  }
    90  
    91  func (m *PluginPrivilege) Reset()                    { *m = PluginPrivilege{} }
    92  func (m *PluginPrivilege) String() string            { return proto.CompactTextString(m) }
    93  func (*PluginPrivilege) ProtoMessage()               {}
    94  func (*PluginPrivilege) Descriptor() ([]byte, []int) { return fileDescriptorPlugin, []int{1} }
    95  
    96  func (m *PluginPrivilege) GetName() string {
    97  	if m != nil {
    98  		return m.Name
    99  	}
   100  	return ""
   101  }
   102  
   103  func (m *PluginPrivilege) GetDescription() string {
   104  	if m != nil {
   105  		return m.Description
   106  	}
   107  	return ""
   108  }
   109  
   110  func (m *PluginPrivilege) GetValue() []string {
   111  	if m != nil {
   112  		return m.Value
   113  	}
   114  	return nil
   115  }
   116  
   117  func init() {
   118  	proto.RegisterType((*PluginSpec)(nil), "PluginSpec")
   119  	proto.RegisterType((*PluginPrivilege)(nil), "PluginPrivilege")
   120  }
   121  func (m *PluginSpec) Marshal() (dAtA []byte, err error) {
   122  	size := m.Size()
   123  	dAtA = make([]byte, size)
   124  	n, err := m.MarshalTo(dAtA)
   125  	if err != nil {
   126  		return nil, err
   127  	}
   128  	return dAtA[:n], nil
   129  }
   130  
   131  func (m *PluginSpec) MarshalTo(dAtA []byte) (int, error) {
   132  	var i int
   133  	_ = i
   134  	var l int
   135  	_ = l
   136  	if len(m.Name) > 0 {
   137  		dAtA[i] = 0xa
   138  		i++
   139  		i = encodeVarintPlugin(dAtA, i, uint64(len(m.Name)))
   140  		i += copy(dAtA[i:], m.Name)
   141  	}
   142  	if len(m.Remote) > 0 {
   143  		dAtA[i] = 0x12
   144  		i++
   145  		i = encodeVarintPlugin(dAtA, i, uint64(len(m.Remote)))
   146  		i += copy(dAtA[i:], m.Remote)
   147  	}
   148  	if len(m.Privileges) > 0 {
   149  		for _, msg := range m.Privileges {
   150  			dAtA[i] = 0x1a
   151  			i++
   152  			i = encodeVarintPlugin(dAtA, i, uint64(msg.Size()))
   153  			n, err := msg.MarshalTo(dAtA[i:])
   154  			if err != nil {
   155  				return 0, err
   156  			}
   157  			i += n
   158  		}
   159  	}
   160  	if m.Disabled {
   161  		dAtA[i] = 0x20
   162  		i++
   163  		if m.Disabled {
   164  			dAtA[i] = 1
   165  		} else {
   166  			dAtA[i] = 0
   167  		}
   168  		i++
   169  	}
   170  	if len(m.Env) > 0 {
   171  		for _, s := range m.Env {
   172  			dAtA[i] = 0x2a
   173  			i++
   174  			l = len(s)
   175  			for l >= 1<<7 {
   176  				dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
   177  				l >>= 7
   178  				i++
   179  			}
   180  			dAtA[i] = uint8(l)
   181  			i++
   182  			i += copy(dAtA[i:], s)
   183  		}
   184  	}
   185  	return i, nil
   186  }
   187  
   188  func (m *PluginPrivilege) Marshal() (dAtA []byte, err error) {
   189  	size := m.Size()
   190  	dAtA = make([]byte, size)
   191  	n, err := m.MarshalTo(dAtA)
   192  	if err != nil {
   193  		return nil, err
   194  	}
   195  	return dAtA[:n], nil
   196  }
   197  
   198  func (m *PluginPrivilege) MarshalTo(dAtA []byte) (int, error) {
   199  	var i int
   200  	_ = i
   201  	var l int
   202  	_ = l
   203  	if len(m.Name) > 0 {
   204  		dAtA[i] = 0xa
   205  		i++
   206  		i = encodeVarintPlugin(dAtA, i, uint64(len(m.Name)))
   207  		i += copy(dAtA[i:], m.Name)
   208  	}
   209  	if len(m.Description) > 0 {
   210  		dAtA[i] = 0x12
   211  		i++
   212  		i = encodeVarintPlugin(dAtA, i, uint64(len(m.Description)))
   213  		i += copy(dAtA[i:], m.Description)
   214  	}
   215  	if len(m.Value) > 0 {
   216  		for _, s := range m.Value {
   217  			dAtA[i] = 0x1a
   218  			i++
   219  			l = len(s)
   220  			for l >= 1<<7 {
   221  				dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
   222  				l >>= 7
   223  				i++
   224  			}
   225  			dAtA[i] = uint8(l)
   226  			i++
   227  			i += copy(dAtA[i:], s)
   228  		}
   229  	}
   230  	return i, nil
   231  }
   232  
   233  func encodeVarintPlugin(dAtA []byte, offset int, v uint64) int {
   234  	for v >= 1<<7 {
   235  		dAtA[offset] = uint8(v&0x7f | 0x80)
   236  		v >>= 7
   237  		offset++
   238  	}
   239  	dAtA[offset] = uint8(v)
   240  	return offset + 1
   241  }
   242  func (m *PluginSpec) Size() (n int) {
   243  	var l int
   244  	_ = l
   245  	l = len(m.Name)
   246  	if l > 0 {
   247  		n += 1 + l + sovPlugin(uint64(l))
   248  	}
   249  	l = len(m.Remote)
   250  	if l > 0 {
   251  		n += 1 + l + sovPlugin(uint64(l))
   252  	}
   253  	if len(m.Privileges) > 0 {
   254  		for _, e := range m.Privileges {
   255  			l = e.Size()
   256  			n += 1 + l + sovPlugin(uint64(l))
   257  		}
   258  	}
   259  	if m.Disabled {
   260  		n += 2
   261  	}
   262  	if len(m.Env) > 0 {
   263  		for _, s := range m.Env {
   264  			l = len(s)
   265  			n += 1 + l + sovPlugin(uint64(l))
   266  		}
   267  	}
   268  	return n
   269  }
   270  
   271  func (m *PluginPrivilege) Size() (n int) {
   272  	var l int
   273  	_ = l
   274  	l = len(m.Name)
   275  	if l > 0 {
   276  		n += 1 + l + sovPlugin(uint64(l))
   277  	}
   278  	l = len(m.Description)
   279  	if l > 0 {
   280  		n += 1 + l + sovPlugin(uint64(l))
   281  	}
   282  	if len(m.Value) > 0 {
   283  		for _, s := range m.Value {
   284  			l = len(s)
   285  			n += 1 + l + sovPlugin(uint64(l))
   286  		}
   287  	}
   288  	return n
   289  }
   290  
   291  func sovPlugin(x uint64) (n int) {
   292  	for {
   293  		n++
   294  		x >>= 7
   295  		if x == 0 {
   296  			break
   297  		}
   298  	}
   299  	return n
   300  }
   301  func sozPlugin(x uint64) (n int) {
   302  	return sovPlugin(uint64((x << 1) ^ uint64((int64(x) >> 63))))
   303  }
   304  func (m *PluginSpec) Unmarshal(dAtA []byte) error {
   305  	l := len(dAtA)
   306  	iNdEx := 0
   307  	for iNdEx < l {
   308  		preIndex := iNdEx
   309  		var wire uint64
   310  		for shift := uint(0); ; shift += 7 {
   311  			if shift >= 64 {
   312  				return ErrIntOverflowPlugin
   313  			}
   314  			if iNdEx >= l {
   315  				return io.ErrUnexpectedEOF
   316  			}
   317  			b := dAtA[iNdEx]
   318  			iNdEx++
   319  			wire |= (uint64(b) & 0x7F) << shift
   320  			if b < 0x80 {
   321  				break
   322  			}
   323  		}
   324  		fieldNum := int32(wire >> 3)
   325  		wireType := int(wire & 0x7)
   326  		if wireType == 4 {
   327  			return fmt.Errorf("proto: PluginSpec: wiretype end group for non-group")
   328  		}
   329  		if fieldNum <= 0 {
   330  			return fmt.Errorf("proto: PluginSpec: illegal tag %d (wire type %d)", fieldNum, wire)
   331  		}
   332  		switch fieldNum {
   333  		case 1:
   334  			if wireType != 2 {
   335  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
   336  			}
   337  			var stringLen uint64
   338  			for shift := uint(0); ; shift += 7 {
   339  				if shift >= 64 {
   340  					return ErrIntOverflowPlugin
   341  				}
   342  				if iNdEx >= l {
   343  					return io.ErrUnexpectedEOF
   344  				}
   345  				b := dAtA[iNdEx]
   346  				iNdEx++
   347  				stringLen |= (uint64(b) & 0x7F) << shift
   348  				if b < 0x80 {
   349  					break
   350  				}
   351  			}
   352  			intStringLen := int(stringLen)
   353  			if intStringLen < 0 {
   354  				return ErrInvalidLengthPlugin
   355  			}
   356  			postIndex := iNdEx + intStringLen
   357  			if postIndex > l {
   358  				return io.ErrUnexpectedEOF
   359  			}
   360  			m.Name = string(dAtA[iNdEx:postIndex])
   361  			iNdEx = postIndex
   362  		case 2:
   363  			if wireType != 2 {
   364  				return fmt.Errorf("proto: wrong wireType = %d for field Remote", wireType)
   365  			}
   366  			var stringLen uint64
   367  			for shift := uint(0); ; shift += 7 {
   368  				if shift >= 64 {
   369  					return ErrIntOverflowPlugin
   370  				}
   371  				if iNdEx >= l {
   372  					return io.ErrUnexpectedEOF
   373  				}
   374  				b := dAtA[iNdEx]
   375  				iNdEx++
   376  				stringLen |= (uint64(b) & 0x7F) << shift
   377  				if b < 0x80 {
   378  					break
   379  				}
   380  			}
   381  			intStringLen := int(stringLen)
   382  			if intStringLen < 0 {
   383  				return ErrInvalidLengthPlugin
   384  			}
   385  			postIndex := iNdEx + intStringLen
   386  			if postIndex > l {
   387  				return io.ErrUnexpectedEOF
   388  			}
   389  			m.Remote = string(dAtA[iNdEx:postIndex])
   390  			iNdEx = postIndex
   391  		case 3:
   392  			if wireType != 2 {
   393  				return fmt.Errorf("proto: wrong wireType = %d for field Privileges", wireType)
   394  			}
   395  			var msglen int
   396  			for shift := uint(0); ; shift += 7 {
   397  				if shift >= 64 {
   398  					return ErrIntOverflowPlugin
   399  				}
   400  				if iNdEx >= l {
   401  					return io.ErrUnexpectedEOF
   402  				}
   403  				b := dAtA[iNdEx]
   404  				iNdEx++
   405  				msglen |= (int(b) & 0x7F) << shift
   406  				if b < 0x80 {
   407  					break
   408  				}
   409  			}
   410  			if msglen < 0 {
   411  				return ErrInvalidLengthPlugin
   412  			}
   413  			postIndex := iNdEx + msglen
   414  			if postIndex > l {
   415  				return io.ErrUnexpectedEOF
   416  			}
   417  			m.Privileges = append(m.Privileges, &PluginPrivilege{})
   418  			if err := m.Privileges[len(m.Privileges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
   419  				return err
   420  			}
   421  			iNdEx = postIndex
   422  		case 4:
   423  			if wireType != 0 {
   424  				return fmt.Errorf("proto: wrong wireType = %d for field Disabled", wireType)
   425  			}
   426  			var v int
   427  			for shift := uint(0); ; shift += 7 {
   428  				if shift >= 64 {
   429  					return ErrIntOverflowPlugin
   430  				}
   431  				if iNdEx >= l {
   432  					return io.ErrUnexpectedEOF
   433  				}
   434  				b := dAtA[iNdEx]
   435  				iNdEx++
   436  				v |= (int(b) & 0x7F) << shift
   437  				if b < 0x80 {
   438  					break
   439  				}
   440  			}
   441  			m.Disabled = bool(v != 0)
   442  		case 5:
   443  			if wireType != 2 {
   444  				return fmt.Errorf("proto: wrong wireType = %d for field Env", wireType)
   445  			}
   446  			var stringLen uint64
   447  			for shift := uint(0); ; shift += 7 {
   448  				if shift >= 64 {
   449  					return ErrIntOverflowPlugin
   450  				}
   451  				if iNdEx >= l {
   452  					return io.ErrUnexpectedEOF
   453  				}
   454  				b := dAtA[iNdEx]
   455  				iNdEx++
   456  				stringLen |= (uint64(b) & 0x7F) << shift
   457  				if b < 0x80 {
   458  					break
   459  				}
   460  			}
   461  			intStringLen := int(stringLen)
   462  			if intStringLen < 0 {
   463  				return ErrInvalidLengthPlugin
   464  			}
   465  			postIndex := iNdEx + intStringLen
   466  			if postIndex > l {
   467  				return io.ErrUnexpectedEOF
   468  			}
   469  			m.Env = append(m.Env, string(dAtA[iNdEx:postIndex]))
   470  			iNdEx = postIndex
   471  		default:
   472  			iNdEx = preIndex
   473  			skippy, err := skipPlugin(dAtA[iNdEx:])
   474  			if err != nil {
   475  				return err
   476  			}
   477  			if skippy < 0 {
   478  				return ErrInvalidLengthPlugin
   479  			}
   480  			if (iNdEx + skippy) > l {
   481  				return io.ErrUnexpectedEOF
   482  			}
   483  			iNdEx += skippy
   484  		}
   485  	}
   486  
   487  	if iNdEx > l {
   488  		return io.ErrUnexpectedEOF
   489  	}
   490  	return nil
   491  }
   492  func (m *PluginPrivilege) Unmarshal(dAtA []byte) error {
   493  	l := len(dAtA)
   494  	iNdEx := 0
   495  	for iNdEx < l {
   496  		preIndex := iNdEx
   497  		var wire uint64
   498  		for shift := uint(0); ; shift += 7 {
   499  			if shift >= 64 {
   500  				return ErrIntOverflowPlugin
   501  			}
   502  			if iNdEx >= l {
   503  				return io.ErrUnexpectedEOF
   504  			}
   505  			b := dAtA[iNdEx]
   506  			iNdEx++
   507  			wire |= (uint64(b) & 0x7F) << shift
   508  			if b < 0x80 {
   509  				break
   510  			}
   511  		}
   512  		fieldNum := int32(wire >> 3)
   513  		wireType := int(wire & 0x7)
   514  		if wireType == 4 {
   515  			return fmt.Errorf("proto: PluginPrivilege: wiretype end group for non-group")
   516  		}
   517  		if fieldNum <= 0 {
   518  			return fmt.Errorf("proto: PluginPrivilege: illegal tag %d (wire type %d)", fieldNum, wire)
   519  		}
   520  		switch fieldNum {
   521  		case 1:
   522  			if wireType != 2 {
   523  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
   524  			}
   525  			var stringLen uint64
   526  			for shift := uint(0); ; shift += 7 {
   527  				if shift >= 64 {
   528  					return ErrIntOverflowPlugin
   529  				}
   530  				if iNdEx >= l {
   531  					return io.ErrUnexpectedEOF
   532  				}
   533  				b := dAtA[iNdEx]
   534  				iNdEx++
   535  				stringLen |= (uint64(b) & 0x7F) << shift
   536  				if b < 0x80 {
   537  					break
   538  				}
   539  			}
   540  			intStringLen := int(stringLen)
   541  			if intStringLen < 0 {
   542  				return ErrInvalidLengthPlugin
   543  			}
   544  			postIndex := iNdEx + intStringLen
   545  			if postIndex > l {
   546  				return io.ErrUnexpectedEOF
   547  			}
   548  			m.Name = string(dAtA[iNdEx:postIndex])
   549  			iNdEx = postIndex
   550  		case 2:
   551  			if wireType != 2 {
   552  				return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
   553  			}
   554  			var stringLen uint64
   555  			for shift := uint(0); ; shift += 7 {
   556  				if shift >= 64 {
   557  					return ErrIntOverflowPlugin
   558  				}
   559  				if iNdEx >= l {
   560  					return io.ErrUnexpectedEOF
   561  				}
   562  				b := dAtA[iNdEx]
   563  				iNdEx++
   564  				stringLen |= (uint64(b) & 0x7F) << shift
   565  				if b < 0x80 {
   566  					break
   567  				}
   568  			}
   569  			intStringLen := int(stringLen)
   570  			if intStringLen < 0 {
   571  				return ErrInvalidLengthPlugin
   572  			}
   573  			postIndex := iNdEx + intStringLen
   574  			if postIndex > l {
   575  				return io.ErrUnexpectedEOF
   576  			}
   577  			m.Description = string(dAtA[iNdEx:postIndex])
   578  			iNdEx = postIndex
   579  		case 3:
   580  			if wireType != 2 {
   581  				return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
   582  			}
   583  			var stringLen uint64
   584  			for shift := uint(0); ; shift += 7 {
   585  				if shift >= 64 {
   586  					return ErrIntOverflowPlugin
   587  				}
   588  				if iNdEx >= l {
   589  					return io.ErrUnexpectedEOF
   590  				}
   591  				b := dAtA[iNdEx]
   592  				iNdEx++
   593  				stringLen |= (uint64(b) & 0x7F) << shift
   594  				if b < 0x80 {
   595  					break
   596  				}
   597  			}
   598  			intStringLen := int(stringLen)
   599  			if intStringLen < 0 {
   600  				return ErrInvalidLengthPlugin
   601  			}
   602  			postIndex := iNdEx + intStringLen
   603  			if postIndex > l {
   604  				return io.ErrUnexpectedEOF
   605  			}
   606  			m.Value = append(m.Value, string(dAtA[iNdEx:postIndex]))
   607  			iNdEx = postIndex
   608  		default:
   609  			iNdEx = preIndex
   610  			skippy, err := skipPlugin(dAtA[iNdEx:])
   611  			if err != nil {
   612  				return err
   613  			}
   614  			if skippy < 0 {
   615  				return ErrInvalidLengthPlugin
   616  			}
   617  			if (iNdEx + skippy) > l {
   618  				return io.ErrUnexpectedEOF
   619  			}
   620  			iNdEx += skippy
   621  		}
   622  	}
   623  
   624  	if iNdEx > l {
   625  		return io.ErrUnexpectedEOF
   626  	}
   627  	return nil
   628  }
   629  func skipPlugin(dAtA []byte) (n int, err error) {
   630  	l := len(dAtA)
   631  	iNdEx := 0
   632  	for iNdEx < l {
   633  		var wire uint64
   634  		for shift := uint(0); ; shift += 7 {
   635  			if shift >= 64 {
   636  				return 0, ErrIntOverflowPlugin
   637  			}
   638  			if iNdEx >= l {
   639  				return 0, io.ErrUnexpectedEOF
   640  			}
   641  			b := dAtA[iNdEx]
   642  			iNdEx++
   643  			wire |= (uint64(b) & 0x7F) << shift
   644  			if b < 0x80 {
   645  				break
   646  			}
   647  		}
   648  		wireType := int(wire & 0x7)
   649  		switch wireType {
   650  		case 0:
   651  			for shift := uint(0); ; shift += 7 {
   652  				if shift >= 64 {
   653  					return 0, ErrIntOverflowPlugin
   654  				}
   655  				if iNdEx >= l {
   656  					return 0, io.ErrUnexpectedEOF
   657  				}
   658  				iNdEx++
   659  				if dAtA[iNdEx-1] < 0x80 {
   660  					break
   661  				}
   662  			}
   663  			return iNdEx, nil
   664  		case 1:
   665  			iNdEx += 8
   666  			return iNdEx, nil
   667  		case 2:
   668  			var length int
   669  			for shift := uint(0); ; shift += 7 {
   670  				if shift >= 64 {
   671  					return 0, ErrIntOverflowPlugin
   672  				}
   673  				if iNdEx >= l {
   674  					return 0, io.ErrUnexpectedEOF
   675  				}
   676  				b := dAtA[iNdEx]
   677  				iNdEx++
   678  				length |= (int(b) & 0x7F) << shift
   679  				if b < 0x80 {
   680  					break
   681  				}
   682  			}
   683  			iNdEx += length
   684  			if length < 0 {
   685  				return 0, ErrInvalidLengthPlugin
   686  			}
   687  			return iNdEx, nil
   688  		case 3:
   689  			for {
   690  				var innerWire uint64
   691  				var start int = iNdEx
   692  				for shift := uint(0); ; shift += 7 {
   693  					if shift >= 64 {
   694  						return 0, ErrIntOverflowPlugin
   695  					}
   696  					if iNdEx >= l {
   697  						return 0, io.ErrUnexpectedEOF
   698  					}
   699  					b := dAtA[iNdEx]
   700  					iNdEx++
   701  					innerWire |= (uint64(b) & 0x7F) << shift
   702  					if b < 0x80 {
   703  						break
   704  					}
   705  				}
   706  				innerWireType := int(innerWire & 0x7)
   707  				if innerWireType == 4 {
   708  					break
   709  				}
   710  				next, err := skipPlugin(dAtA[start:])
   711  				if err != nil {
   712  					return 0, err
   713  				}
   714  				iNdEx = start + next
   715  			}
   716  			return iNdEx, nil
   717  		case 4:
   718  			return iNdEx, nil
   719  		case 5:
   720  			iNdEx += 4
   721  			return iNdEx, nil
   722  		default:
   723  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
   724  		}
   725  	}
   726  	panic("unreachable")
   727  }
   728  
   729  var (
   730  	ErrInvalidLengthPlugin = fmt.Errorf("proto: negative length found during unmarshaling")
   731  	ErrIntOverflowPlugin   = fmt.Errorf("proto: integer overflow")
   732  )
   733  
   734  func init() { proto.RegisterFile("plugin.proto", fileDescriptorPlugin) }
   735  
   736  var fileDescriptorPlugin = []byte{
   737  	// 256 bytes of a gzipped FileDescriptorProto
   738  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0x4d, 0x4b, 0xc3, 0x30,
   739  	0x18, 0xc7, 0x89, 0xdd, 0xc6, 0xfa, 0x4c, 0x70, 0x04, 0x91, 0xe2, 0xa1, 0x94, 0x9d, 0x7a, 0x6a,
   740  	0x45, 0x2f, 0x82, 0x37, 0x0f, 0x9e, 0x47, 0xbc, 0x09, 0x1e, 0xd2, 0xf6, 0xa1, 0x06, 0x9b, 0x17,
   741  	0x92, 0xb4, 0xe2, 0x37, 0xf1, 0x23, 0x79, 0xf4, 0x23, 0x48, 0x3f, 0x89, 0x98, 0x75, 0x32, 0x64,
   742  	0xa7, 0xff, 0x4b, 0xc2, 0x9f, 0x1f, 0x0f, 0x9c, 0x9a, 0xae, 0x6f, 0x85, 0x2a, 0x8c, 0xd5, 0x5e,
   743  	0x6f, 0x3e, 0x08, 0xc0, 0x36, 0x14, 0x8f, 0x06, 0x6b, 0x4a, 0x61, 0xa6, 0xb8, 0xc4, 0x84, 0x64,
   744  	0x24, 0x8f, 0x59, 0xf0, 0xf4, 0x02, 0x16, 0x16, 0xa5, 0xf6, 0x98, 0x9c, 0x84, 0x76, 0x4a, 0xf4,
   745  	0x0a, 0xc0, 0x58, 0x31, 0x88, 0x0e, 0x5b, 0x74, 0x49, 0x94, 0x45, 0xf9, 0xea, 0x7a, 0x5d, 0xec,
   746  	0xc6, 0xb6, 0xfb, 0x07, 0x76, 0xf0, 0x87, 0x5e, 0xc2, 0xb2, 0x11, 0x8e, 0x57, 0x1d, 0x36, 0xc9,
   747  	0x2c, 0x23, 0xf9, 0x92, 0xfd, 0x65, 0xba, 0x86, 0x08, 0xd5, 0x90, 0xcc, 0xb3, 0x28, 0x8f, 0xd9,
   748  	0xaf, 0xdd, 0x3c, 0xc3, 0xd9, 0xbf, 0xb1, 0xa3, 0x78, 0x19, 0xac, 0x1a, 0x74, 0xb5, 0x15, 0xc6,
   749  	0x0b, 0xad, 0x26, 0xc6, 0xc3, 0x8a, 0x9e, 0xc3, 0x7c, 0xe0, 0x5d, 0x8f, 0x81, 0x31, 0x66, 0xbb,
   750  	0x70, 0xff, 0xf0, 0x39, 0xa6, 0xe4, 0x6b, 0x4c, 0xc9, 0xf7, 0x98, 0x92, 0xa7, 0xdb, 0x56, 0xf8,
   751  	0x97, 0xbe, 0x2a, 0x6a, 0x2d, 0xcb, 0x46, 0xd7, 0xaf, 0x68, 0xf7, 0xc2, 0x8d, 0x28, 0xfd, 0xbb,
   752  	0x41, 0x57, 0xba, 0x37, 0x6e, 0x65, 0x69, 0x7b, 0xe5, 0x85, 0xc4, 0xbb, 0x49, 0xab, 0x45, 0x38,
   753  	0xe4, 0xcd, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x99, 0xa8, 0xd9, 0x9b, 0x58, 0x01, 0x00, 0x00,
   754  }