github.com/argoproj/argo-cd/v3@v3.2.1/cmpserver/apiclient/plugin.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: cmpserver/plugin/plugin.proto
     3  
     4  package apiclient
     5  
     6  import (
     7  	context "context"
     8  	fmt "fmt"
     9  	apiclient "github.com/argoproj/argo-cd/v3/reposerver/apiclient"
    10  	proto "github.com/gogo/protobuf/proto"
    11  	grpc "google.golang.org/grpc"
    12  	codes "google.golang.org/grpc/codes"
    13  	status "google.golang.org/grpc/status"
    14  	emptypb "google.golang.org/protobuf/types/known/emptypb"
    15  	io "io"
    16  	math "math"
    17  	math_bits "math/bits"
    18  )
    19  
    20  // Reference imports to suppress errors if they are not otherwise used.
    21  var _ = proto.Marshal
    22  var _ = fmt.Errorf
    23  var _ = math.Inf
    24  
    25  // This is a compile-time assertion to ensure that this generated file
    26  // is compatible with the proto package it is being compiled against.
    27  // A compilation error at this line likely means your copy of the
    28  // proto package needs to be updated.
    29  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    30  
    31  // AppStreamRequest is the request object used to send the application's
    32  // files over a stream.
    33  type AppStreamRequest struct {
    34  	// Types that are valid to be assigned to Request:
    35  	//	*AppStreamRequest_Metadata
    36  	//	*AppStreamRequest_File
    37  	Request              isAppStreamRequest_Request `protobuf_oneof:"request"`
    38  	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
    39  	XXX_unrecognized     []byte                     `json:"-"`
    40  	XXX_sizecache        int32                      `json:"-"`
    41  }
    42  
    43  func (m *AppStreamRequest) Reset()         { *m = AppStreamRequest{} }
    44  func (m *AppStreamRequest) String() string { return proto.CompactTextString(m) }
    45  func (*AppStreamRequest) ProtoMessage()    {}
    46  func (*AppStreamRequest) Descriptor() ([]byte, []int) {
    47  	return fileDescriptor_b21875a7079a06ed, []int{0}
    48  }
    49  func (m *AppStreamRequest) XXX_Unmarshal(b []byte) error {
    50  	return m.Unmarshal(b)
    51  }
    52  func (m *AppStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    53  	if deterministic {
    54  		return xxx_messageInfo_AppStreamRequest.Marshal(b, m, deterministic)
    55  	} else {
    56  		b = b[:cap(b)]
    57  		n, err := m.MarshalToSizedBuffer(b)
    58  		if err != nil {
    59  			return nil, err
    60  		}
    61  		return b[:n], nil
    62  	}
    63  }
    64  func (m *AppStreamRequest) XXX_Merge(src proto.Message) {
    65  	xxx_messageInfo_AppStreamRequest.Merge(m, src)
    66  }
    67  func (m *AppStreamRequest) XXX_Size() int {
    68  	return m.Size()
    69  }
    70  func (m *AppStreamRequest) XXX_DiscardUnknown() {
    71  	xxx_messageInfo_AppStreamRequest.DiscardUnknown(m)
    72  }
    73  
    74  var xxx_messageInfo_AppStreamRequest proto.InternalMessageInfo
    75  
    76  type isAppStreamRequest_Request interface {
    77  	isAppStreamRequest_Request()
    78  	MarshalTo([]byte) (int, error)
    79  	Size() int
    80  }
    81  
    82  type AppStreamRequest_Metadata struct {
    83  	Metadata *ManifestRequestMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
    84  }
    85  type AppStreamRequest_File struct {
    86  	File *File `protobuf:"bytes,2,opt,name=file,proto3,oneof" json:"file,omitempty"`
    87  }
    88  
    89  func (*AppStreamRequest_Metadata) isAppStreamRequest_Request() {}
    90  func (*AppStreamRequest_File) isAppStreamRequest_Request()     {}
    91  
    92  func (m *AppStreamRequest) GetRequest() isAppStreamRequest_Request {
    93  	if m != nil {
    94  		return m.Request
    95  	}
    96  	return nil
    97  }
    98  
    99  func (m *AppStreamRequest) GetMetadata() *ManifestRequestMetadata {
   100  	if x, ok := m.GetRequest().(*AppStreamRequest_Metadata); ok {
   101  		return x.Metadata
   102  	}
   103  	return nil
   104  }
   105  
   106  func (m *AppStreamRequest) GetFile() *File {
   107  	if x, ok := m.GetRequest().(*AppStreamRequest_File); ok {
   108  		return x.File
   109  	}
   110  	return nil
   111  }
   112  
   113  // XXX_OneofWrappers is for the internal use of the proto package.
   114  func (*AppStreamRequest) XXX_OneofWrappers() []interface{} {
   115  	return []interface{}{
   116  		(*AppStreamRequest_Metadata)(nil),
   117  		(*AppStreamRequest_File)(nil),
   118  	}
   119  }
   120  
   121  // ManifestRequestMetadata defines the metada related to the file being sent
   122  // to the CMP server.
   123  type ManifestRequestMetadata struct {
   124  	// appName refers to the ArgoCD Application name
   125  	AppName string `protobuf:"bytes,1,opt,name=appName,proto3" json:"appName,omitempty"`
   126  	// appRelPath points to the application relative path inside the tarball
   127  	AppRelPath string `protobuf:"bytes,2,opt,name=appRelPath,proto3" json:"appRelPath,omitempty"`
   128  	// checksum is used to verify the integrity of the file
   129  	Checksum string `protobuf:"bytes,3,opt,name=checksum,proto3" json:"checksum,omitempty"`
   130  	// size relates to the file size in bytes
   131  	Size_ int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
   132  	// env is a list with the environment variables needed to generate manifests
   133  	Env                  []*EnvEntry `protobuf:"bytes,5,rep,name=env,proto3" json:"env,omitempty"`
   134  	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
   135  	XXX_unrecognized     []byte      `json:"-"`
   136  	XXX_sizecache        int32       `json:"-"`
   137  }
   138  
   139  func (m *ManifestRequestMetadata) Reset()         { *m = ManifestRequestMetadata{} }
   140  func (m *ManifestRequestMetadata) String() string { return proto.CompactTextString(m) }
   141  func (*ManifestRequestMetadata) ProtoMessage()    {}
   142  func (*ManifestRequestMetadata) Descriptor() ([]byte, []int) {
   143  	return fileDescriptor_b21875a7079a06ed, []int{1}
   144  }
   145  func (m *ManifestRequestMetadata) XXX_Unmarshal(b []byte) error {
   146  	return m.Unmarshal(b)
   147  }
   148  func (m *ManifestRequestMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   149  	if deterministic {
   150  		return xxx_messageInfo_ManifestRequestMetadata.Marshal(b, m, deterministic)
   151  	} else {
   152  		b = b[:cap(b)]
   153  		n, err := m.MarshalToSizedBuffer(b)
   154  		if err != nil {
   155  			return nil, err
   156  		}
   157  		return b[:n], nil
   158  	}
   159  }
   160  func (m *ManifestRequestMetadata) XXX_Merge(src proto.Message) {
   161  	xxx_messageInfo_ManifestRequestMetadata.Merge(m, src)
   162  }
   163  func (m *ManifestRequestMetadata) XXX_Size() int {
   164  	return m.Size()
   165  }
   166  func (m *ManifestRequestMetadata) XXX_DiscardUnknown() {
   167  	xxx_messageInfo_ManifestRequestMetadata.DiscardUnknown(m)
   168  }
   169  
   170  var xxx_messageInfo_ManifestRequestMetadata proto.InternalMessageInfo
   171  
   172  func (m *ManifestRequestMetadata) GetAppName() string {
   173  	if m != nil {
   174  		return m.AppName
   175  	}
   176  	return ""
   177  }
   178  
   179  func (m *ManifestRequestMetadata) GetAppRelPath() string {
   180  	if m != nil {
   181  		return m.AppRelPath
   182  	}
   183  	return ""
   184  }
   185  
   186  func (m *ManifestRequestMetadata) GetChecksum() string {
   187  	if m != nil {
   188  		return m.Checksum
   189  	}
   190  	return ""
   191  }
   192  
   193  func (m *ManifestRequestMetadata) GetSize_() int64 {
   194  	if m != nil {
   195  		return m.Size_
   196  	}
   197  	return 0
   198  }
   199  
   200  func (m *ManifestRequestMetadata) GetEnv() []*EnvEntry {
   201  	if m != nil {
   202  		return m.Env
   203  	}
   204  	return nil
   205  }
   206  
   207  // EnvEntry represents an entry in the application's environment
   208  type EnvEntry struct {
   209  	// Name is the name of the variable, usually expressed in uppercase
   210  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   211  	// Value is the value of the variable
   212  	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
   213  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   214  	XXX_unrecognized     []byte   `json:"-"`
   215  	XXX_sizecache        int32    `json:"-"`
   216  }
   217  
   218  func (m *EnvEntry) Reset()         { *m = EnvEntry{} }
   219  func (m *EnvEntry) String() string { return proto.CompactTextString(m) }
   220  func (*EnvEntry) ProtoMessage()    {}
   221  func (*EnvEntry) Descriptor() ([]byte, []int) {
   222  	return fileDescriptor_b21875a7079a06ed, []int{2}
   223  }
   224  func (m *EnvEntry) XXX_Unmarshal(b []byte) error {
   225  	return m.Unmarshal(b)
   226  }
   227  func (m *EnvEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   228  	if deterministic {
   229  		return xxx_messageInfo_EnvEntry.Marshal(b, m, deterministic)
   230  	} else {
   231  		b = b[:cap(b)]
   232  		n, err := m.MarshalToSizedBuffer(b)
   233  		if err != nil {
   234  			return nil, err
   235  		}
   236  		return b[:n], nil
   237  	}
   238  }
   239  func (m *EnvEntry) XXX_Merge(src proto.Message) {
   240  	xxx_messageInfo_EnvEntry.Merge(m, src)
   241  }
   242  func (m *EnvEntry) XXX_Size() int {
   243  	return m.Size()
   244  }
   245  func (m *EnvEntry) XXX_DiscardUnknown() {
   246  	xxx_messageInfo_EnvEntry.DiscardUnknown(m)
   247  }
   248  
   249  var xxx_messageInfo_EnvEntry proto.InternalMessageInfo
   250  
   251  func (m *EnvEntry) GetName() string {
   252  	if m != nil {
   253  		return m.Name
   254  	}
   255  	return ""
   256  }
   257  
   258  func (m *EnvEntry) GetValue() string {
   259  	if m != nil {
   260  		return m.Value
   261  	}
   262  	return ""
   263  }
   264  
   265  type ManifestResponse struct {
   266  	Manifests            []string `protobuf:"bytes,1,rep,name=manifests,proto3" json:"manifests,omitempty"`
   267  	SourceType           string   `protobuf:"bytes,2,opt,name=sourceType,proto3" json:"sourceType,omitempty"`
   268  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   269  	XXX_unrecognized     []byte   `json:"-"`
   270  	XXX_sizecache        int32    `json:"-"`
   271  }
   272  
   273  func (m *ManifestResponse) Reset()         { *m = ManifestResponse{} }
   274  func (m *ManifestResponse) String() string { return proto.CompactTextString(m) }
   275  func (*ManifestResponse) ProtoMessage()    {}
   276  func (*ManifestResponse) Descriptor() ([]byte, []int) {
   277  	return fileDescriptor_b21875a7079a06ed, []int{3}
   278  }
   279  func (m *ManifestResponse) XXX_Unmarshal(b []byte) error {
   280  	return m.Unmarshal(b)
   281  }
   282  func (m *ManifestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   283  	if deterministic {
   284  		return xxx_messageInfo_ManifestResponse.Marshal(b, m, deterministic)
   285  	} else {
   286  		b = b[:cap(b)]
   287  		n, err := m.MarshalToSizedBuffer(b)
   288  		if err != nil {
   289  			return nil, err
   290  		}
   291  		return b[:n], nil
   292  	}
   293  }
   294  func (m *ManifestResponse) XXX_Merge(src proto.Message) {
   295  	xxx_messageInfo_ManifestResponse.Merge(m, src)
   296  }
   297  func (m *ManifestResponse) XXX_Size() int {
   298  	return m.Size()
   299  }
   300  func (m *ManifestResponse) XXX_DiscardUnknown() {
   301  	xxx_messageInfo_ManifestResponse.DiscardUnknown(m)
   302  }
   303  
   304  var xxx_messageInfo_ManifestResponse proto.InternalMessageInfo
   305  
   306  func (m *ManifestResponse) GetManifests() []string {
   307  	if m != nil {
   308  		return m.Manifests
   309  	}
   310  	return nil
   311  }
   312  
   313  func (m *ManifestResponse) GetSourceType() string {
   314  	if m != nil {
   315  		return m.SourceType
   316  	}
   317  	return ""
   318  }
   319  
   320  type RepositoryResponse struct {
   321  	IsSupported          bool     `protobuf:"varint,1,opt,name=isSupported,proto3" json:"isSupported,omitempty"`
   322  	IsDiscoveryEnabled   bool     `protobuf:"varint,2,opt,name=isDiscoveryEnabled,proto3" json:"isDiscoveryEnabled,omitempty"`
   323  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   324  	XXX_unrecognized     []byte   `json:"-"`
   325  	XXX_sizecache        int32    `json:"-"`
   326  }
   327  
   328  func (m *RepositoryResponse) Reset()         { *m = RepositoryResponse{} }
   329  func (m *RepositoryResponse) String() string { return proto.CompactTextString(m) }
   330  func (*RepositoryResponse) ProtoMessage()    {}
   331  func (*RepositoryResponse) Descriptor() ([]byte, []int) {
   332  	return fileDescriptor_b21875a7079a06ed, []int{4}
   333  }
   334  func (m *RepositoryResponse) XXX_Unmarshal(b []byte) error {
   335  	return m.Unmarshal(b)
   336  }
   337  func (m *RepositoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   338  	if deterministic {
   339  		return xxx_messageInfo_RepositoryResponse.Marshal(b, m, deterministic)
   340  	} else {
   341  		b = b[:cap(b)]
   342  		n, err := m.MarshalToSizedBuffer(b)
   343  		if err != nil {
   344  			return nil, err
   345  		}
   346  		return b[:n], nil
   347  	}
   348  }
   349  func (m *RepositoryResponse) XXX_Merge(src proto.Message) {
   350  	xxx_messageInfo_RepositoryResponse.Merge(m, src)
   351  }
   352  func (m *RepositoryResponse) XXX_Size() int {
   353  	return m.Size()
   354  }
   355  func (m *RepositoryResponse) XXX_DiscardUnknown() {
   356  	xxx_messageInfo_RepositoryResponse.DiscardUnknown(m)
   357  }
   358  
   359  var xxx_messageInfo_RepositoryResponse proto.InternalMessageInfo
   360  
   361  func (m *RepositoryResponse) GetIsSupported() bool {
   362  	if m != nil {
   363  		return m.IsSupported
   364  	}
   365  	return false
   366  }
   367  
   368  func (m *RepositoryResponse) GetIsDiscoveryEnabled() bool {
   369  	if m != nil {
   370  		return m.IsDiscoveryEnabled
   371  	}
   372  	return false
   373  }
   374  
   375  // ParametersAnnouncementResponse contains a list of announcements. This list represents all the parameters which a CMP
   376  // is able to accept.
   377  type ParametersAnnouncementResponse struct {
   378  	ParameterAnnouncements []*apiclient.ParameterAnnouncement `protobuf:"bytes,1,rep,name=parameterAnnouncements,proto3" json:"parameterAnnouncements,omitempty"`
   379  	XXX_NoUnkeyedLiteral   struct{}                           `json:"-"`
   380  	XXX_unrecognized       []byte                             `json:"-"`
   381  	XXX_sizecache          int32                              `json:"-"`
   382  }
   383  
   384  func (m *ParametersAnnouncementResponse) Reset()         { *m = ParametersAnnouncementResponse{} }
   385  func (m *ParametersAnnouncementResponse) String() string { return proto.CompactTextString(m) }
   386  func (*ParametersAnnouncementResponse) ProtoMessage()    {}
   387  func (*ParametersAnnouncementResponse) Descriptor() ([]byte, []int) {
   388  	return fileDescriptor_b21875a7079a06ed, []int{5}
   389  }
   390  func (m *ParametersAnnouncementResponse) XXX_Unmarshal(b []byte) error {
   391  	return m.Unmarshal(b)
   392  }
   393  func (m *ParametersAnnouncementResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   394  	if deterministic {
   395  		return xxx_messageInfo_ParametersAnnouncementResponse.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 *ParametersAnnouncementResponse) XXX_Merge(src proto.Message) {
   406  	xxx_messageInfo_ParametersAnnouncementResponse.Merge(m, src)
   407  }
   408  func (m *ParametersAnnouncementResponse) XXX_Size() int {
   409  	return m.Size()
   410  }
   411  func (m *ParametersAnnouncementResponse) XXX_DiscardUnknown() {
   412  	xxx_messageInfo_ParametersAnnouncementResponse.DiscardUnknown(m)
   413  }
   414  
   415  var xxx_messageInfo_ParametersAnnouncementResponse proto.InternalMessageInfo
   416  
   417  func (m *ParametersAnnouncementResponse) GetParameterAnnouncements() []*apiclient.ParameterAnnouncement {
   418  	if m != nil {
   419  		return m.ParameterAnnouncements
   420  	}
   421  	return nil
   422  }
   423  
   424  type File struct {
   425  	Chunk                []byte   `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"`
   426  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   427  	XXX_unrecognized     []byte   `json:"-"`
   428  	XXX_sizecache        int32    `json:"-"`
   429  }
   430  
   431  func (m *File) Reset()         { *m = File{} }
   432  func (m *File) String() string { return proto.CompactTextString(m) }
   433  func (*File) ProtoMessage()    {}
   434  func (*File) Descriptor() ([]byte, []int) {
   435  	return fileDescriptor_b21875a7079a06ed, []int{6}
   436  }
   437  func (m *File) XXX_Unmarshal(b []byte) error {
   438  	return m.Unmarshal(b)
   439  }
   440  func (m *File) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   441  	if deterministic {
   442  		return xxx_messageInfo_File.Marshal(b, m, deterministic)
   443  	} else {
   444  		b = b[:cap(b)]
   445  		n, err := m.MarshalToSizedBuffer(b)
   446  		if err != nil {
   447  			return nil, err
   448  		}
   449  		return b[:n], nil
   450  	}
   451  }
   452  func (m *File) XXX_Merge(src proto.Message) {
   453  	xxx_messageInfo_File.Merge(m, src)
   454  }
   455  func (m *File) XXX_Size() int {
   456  	return m.Size()
   457  }
   458  func (m *File) XXX_DiscardUnknown() {
   459  	xxx_messageInfo_File.DiscardUnknown(m)
   460  }
   461  
   462  var xxx_messageInfo_File proto.InternalMessageInfo
   463  
   464  func (m *File) GetChunk() []byte {
   465  	if m != nil {
   466  		return m.Chunk
   467  	}
   468  	return nil
   469  }
   470  
   471  // CheckPluginConfigurationResponse contains a list of plugin configuration flags.
   472  type CheckPluginConfigurationResponse struct {
   473  	IsDiscoveryConfigured bool     `protobuf:"varint,1,opt,name=isDiscoveryConfigured,proto3" json:"isDiscoveryConfigured,omitempty"`
   474  	ProvideGitCreds       bool     `protobuf:"varint,2,opt,name=provideGitCreds,proto3" json:"provideGitCreds,omitempty"`
   475  	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
   476  	XXX_unrecognized      []byte   `json:"-"`
   477  	XXX_sizecache         int32    `json:"-"`
   478  }
   479  
   480  func (m *CheckPluginConfigurationResponse) Reset()         { *m = CheckPluginConfigurationResponse{} }
   481  func (m *CheckPluginConfigurationResponse) String() string { return proto.CompactTextString(m) }
   482  func (*CheckPluginConfigurationResponse) ProtoMessage()    {}
   483  func (*CheckPluginConfigurationResponse) Descriptor() ([]byte, []int) {
   484  	return fileDescriptor_b21875a7079a06ed, []int{7}
   485  }
   486  func (m *CheckPluginConfigurationResponse) XXX_Unmarshal(b []byte) error {
   487  	return m.Unmarshal(b)
   488  }
   489  func (m *CheckPluginConfigurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   490  	if deterministic {
   491  		return xxx_messageInfo_CheckPluginConfigurationResponse.Marshal(b, m, deterministic)
   492  	} else {
   493  		b = b[:cap(b)]
   494  		n, err := m.MarshalToSizedBuffer(b)
   495  		if err != nil {
   496  			return nil, err
   497  		}
   498  		return b[:n], nil
   499  	}
   500  }
   501  func (m *CheckPluginConfigurationResponse) XXX_Merge(src proto.Message) {
   502  	xxx_messageInfo_CheckPluginConfigurationResponse.Merge(m, src)
   503  }
   504  func (m *CheckPluginConfigurationResponse) XXX_Size() int {
   505  	return m.Size()
   506  }
   507  func (m *CheckPluginConfigurationResponse) XXX_DiscardUnknown() {
   508  	xxx_messageInfo_CheckPluginConfigurationResponse.DiscardUnknown(m)
   509  }
   510  
   511  var xxx_messageInfo_CheckPluginConfigurationResponse proto.InternalMessageInfo
   512  
   513  func (m *CheckPluginConfigurationResponse) GetIsDiscoveryConfigured() bool {
   514  	if m != nil {
   515  		return m.IsDiscoveryConfigured
   516  	}
   517  	return false
   518  }
   519  
   520  func (m *CheckPluginConfigurationResponse) GetProvideGitCreds() bool {
   521  	if m != nil {
   522  		return m.ProvideGitCreds
   523  	}
   524  	return false
   525  }
   526  
   527  func init() {
   528  	proto.RegisterType((*AppStreamRequest)(nil), "plugin.AppStreamRequest")
   529  	proto.RegisterType((*ManifestRequestMetadata)(nil), "plugin.ManifestRequestMetadata")
   530  	proto.RegisterType((*EnvEntry)(nil), "plugin.EnvEntry")
   531  	proto.RegisterType((*ManifestResponse)(nil), "plugin.ManifestResponse")
   532  	proto.RegisterType((*RepositoryResponse)(nil), "plugin.RepositoryResponse")
   533  	proto.RegisterType((*ParametersAnnouncementResponse)(nil), "plugin.ParametersAnnouncementResponse")
   534  	proto.RegisterType((*File)(nil), "plugin.File")
   535  	proto.RegisterType((*CheckPluginConfigurationResponse)(nil), "plugin.CheckPluginConfigurationResponse")
   536  }
   537  
   538  func init() { proto.RegisterFile("cmpserver/plugin/plugin.proto", fileDescriptor_b21875a7079a06ed) }
   539  
   540  var fileDescriptor_b21875a7079a06ed = []byte{
   541  	// 668 bytes of a gzipped FileDescriptorProto
   542  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0xcd, 0x6e, 0xd3, 0x40,
   543  	0x10, 0x8e, 0x9b, 0xb4, 0x4d, 0x26, 0x95, 0x1a, 0xad, 0xa0, 0x98, 0xd0, 0x86, 0xe0, 0x03, 0xca,
   544  	0x05, 0x47, 0x4a, 0x7b, 0x45, 0xa2, 0x2d, 0xa1, 0x15, 0x28, 0x28, 0x72, 0xb9, 0xc0, 0x01, 0x69,
   545  	0xe3, 0x4c, 0x92, 0xa5, 0xf6, 0xee, 0xb2, 0x5e, 0x5b, 0x0a, 0x5c, 0x10, 0x2f, 0xc3, 0xab, 0x70,
   546  	0xe4, 0x11, 0x50, 0x5f, 0x83, 0x0b, 0xf2, 0xda, 0x4e, 0xa2, 0x36, 0x6d, 0x4f, 0x9e, 0xbf, 0xfd,
   547  	0xfc, 0xcd, 0xec, 0x37, 0x0b, 0x07, 0x7e, 0x28, 0x23, 0x54, 0x09, 0xaa, 0xae, 0x0c, 0xe2, 0x29,
   548  	0xe3, 0xf9, 0xc7, 0x95, 0x4a, 0x68, 0x41, 0xb6, 0x32, 0xaf, 0xd9, 0x9f, 0x32, 0x3d, 0x8b, 0x47,
   549  	0xae, 0x2f, 0xc2, 0x2e, 0x55, 0x53, 0x21, 0x95, 0xf8, 0x62, 0x8c, 0x17, 0xfe, 0xb8, 0x9b, 0x1c,
   550  	0x76, 0x15, 0x4a, 0x91, 0xc3, 0x18, 0x93, 0x69, 0xa1, 0xe6, 0x2b, 0x66, 0x06, 0xd7, 0x7c, 0x32,
   551  	0x15, 0x62, 0x1a, 0x60, 0xd7, 0x78, 0xa3, 0x78, 0xd2, 0xc5, 0x50, 0xea, 0x3c, 0xe9, 0xfc, 0xb0,
   552  	0xa0, 0x71, 0x2c, 0xe5, 0x85, 0x56, 0x48, 0x43, 0x0f, 0xbf, 0xc6, 0x18, 0x69, 0xf2, 0x12, 0xaa,
   553  	0x21, 0x6a, 0x3a, 0xa6, 0x9a, 0xda, 0x56, 0xdb, 0xea, 0xd4, 0x7b, 0x4f, 0xdd, 0x9c, 0xe1, 0x80,
   554  	0x72, 0x36, 0xc1, 0x48, 0xe7, 0xa5, 0x83, 0xbc, 0xec, 0xbc, 0xe4, 0x2d, 0x8e, 0x10, 0x07, 0x2a,
   555  	0x13, 0x16, 0xa0, 0xbd, 0x61, 0x8e, 0xee, 0x14, 0x47, 0xdf, 0xb0, 0x00, 0xcf, 0x4b, 0x9e, 0xc9,
   556  	0x9d, 0xd4, 0x60, 0x5b, 0x65, 0x10, 0xce, 0x2f, 0x0b, 0x1e, 0xdd, 0x02, 0x4b, 0x6c, 0xd8, 0xa6,
   557  	0x52, 0xbe, 0xa7, 0x21, 0x1a, 0x22, 0x35, 0xaf, 0x70, 0x49, 0x0b, 0x80, 0x4a, 0xe9, 0x61, 0x30,
   558  	0xa4, 0x7a, 0x66, 0x7e, 0x55, 0xf3, 0x56, 0x22, 0xa4, 0x09, 0x55, 0x7f, 0x86, 0xfe, 0x65, 0x14,
   559  	0x87, 0x76, 0xd9, 0x64, 0x17, 0x3e, 0x21, 0x50, 0x89, 0xd8, 0x37, 0xb4, 0x2b, 0x6d, 0xab, 0x53,
   560  	0xf6, 0x8c, 0x4d, 0x1c, 0x28, 0x23, 0x4f, 0xec, 0xcd, 0x76, 0xb9, 0x53, 0xef, 0x35, 0x0a, 0xce,
   561  	0x7d, 0x9e, 0xf4, 0xb9, 0x56, 0x73, 0x2f, 0x4d, 0x3a, 0x47, 0x50, 0x2d, 0x02, 0x29, 0x06, 0x5f,
   562  	0xd2, 0x32, 0x36, 0x79, 0x00, 0x9b, 0x09, 0x0d, 0x62, 0xcc, 0xe9, 0x64, 0x8e, 0x33, 0x84, 0xc6,
   563  	0xb2, 0xbd, 0x48, 0x0a, 0x1e, 0x21, 0xd9, 0x87, 0x5a, 0x98, 0xc7, 0x22, 0xdb, 0x6a, 0x97, 0x3b,
   564  	0x35, 0x6f, 0x19, 0x48, 0x7b, 0x8b, 0x44, 0xac, 0x7c, 0xfc, 0x30, 0x97, 0x05, 0xd8, 0x4a, 0xc4,
   565  	0x99, 0x00, 0xf1, 0x16, 0xb7, 0xbc, 0xc0, 0x6c, 0x43, 0x9d, 0x45, 0x17, 0xb1, 0x94, 0x42, 0x69,
   566  	0x1c, 0x1b, 0x62, 0x55, 0x6f, 0x35, 0x44, 0x5c, 0x20, 0x2c, 0x7a, 0xcd, 0x22, 0x5f, 0x24, 0xa8,
   567  	0xe6, 0x7d, 0x4e, 0x47, 0x01, 0x8e, 0x0d, 0x7e, 0xd5, 0x5b, 0x93, 0x71, 0xbe, 0x43, 0x6b, 0x48,
   568  	0x15, 0x0d, 0x51, 0xa3, 0x8a, 0x8e, 0x39, 0x17, 0x31, 0xf7, 0x31, 0x44, 0xbe, 0xec, 0xe3, 0x23,
   569  	0xec, 0xc9, 0xa2, 0x62, 0xb5, 0x20, 0x6b, 0xaa, 0xde, 0x7b, 0xe6, 0xae, 0xc8, 0x71, 0xb8, 0xae,
   570  	0xd2, 0xbb, 0x05, 0xc0, 0xd9, 0x87, 0x4a, 0xaa, 0x98, 0x74, 0xa8, 0xfe, 0x2c, 0xe6, 0x97, 0xa6,
   571  	0xa1, 0x1d, 0x2f, 0x73, 0x9c, 0x9f, 0x16, 0xb4, 0x4f, 0xd3, 0xfb, 0x1c, 0x9a, 0x8b, 0x3a, 0x15,
   572  	0x7c, 0xc2, 0xa6, 0xb1, 0xa2, 0x9a, 0x09, 0xbe, 0x60, 0x77, 0x04, 0x0f, 0x57, 0xba, 0x2a, 0x6a,
   573  	0x16, 0xb3, 0x59, 0x9f, 0x24, 0x1d, 0xd8, 0x95, 0x4a, 0x24, 0x6c, 0x8c, 0x67, 0x4c, 0x9f, 0x2a,
   574  	0x1c, 0x47, 0xf9, 0x88, 0xae, 0x87, 0x7b, 0xff, 0x36, 0xe0, 0x20, 0x3b, 0x38, 0xa0, 0x9c, 0x4e,
   575  	0x0d, 0xf1, 0x8c, 0xcf, 0x05, 0xaa, 0x84, 0xf9, 0x48, 0xde, 0x42, 0xe3, 0x0c, 0x39, 0x2a, 0xaa,
   576  	0xb1, 0xd0, 0x00, 0xb1, 0x0b, 0x71, 0x5d, 0xdf, 0xbb, 0xa6, 0x7d, 0x73, 0xcb, 0xb2, 0x4e, 0x9c,
   577  	0x52, 0xc7, 0x22, 0x9f, 0xc1, 0xbe, 0xad, 0x63, 0xb2, 0xe7, 0x66, 0x4b, 0xee, 0x16, 0x4b, 0xee,
   578  	0xf6, 0xd3, 0x25, 0x6f, 0x76, 0x0a, 0xc4, 0xfb, 0x66, 0xe5, 0x94, 0xc8, 0x3b, 0xd8, 0x1d, 0x50,
   579  	0xed, 0xcf, 0x96, 0xd2, 0xba, 0x83, 0x6a, 0xb3, 0xc8, 0xdc, 0x14, 0xa2, 0x21, 0x4b, 0xe1, 0xf1,
   580  	0x19, 0xea, 0xf5, 0xea, 0xb9, 0x03, 0xf6, 0x79, 0x91, 0xb9, 0x5b, 0x77, 0xe9, 0x2f, 0x4e, 0x5e,
   581  	0xfd, 0xbe, 0x6a, 0x59, 0x7f, 0xae, 0x5a, 0xd6, 0xdf, 0xab, 0x96, 0xf5, 0xa9, 0x77, 0xcf, 0x63,
   582  	0xb9, 0x7c, 0x72, 0xa9, 0x64, 0x7e, 0xc0, 0x90, 0xeb, 0xd1, 0x96, 0x99, 0xd6, 0xe1, 0xff, 0x00,
   583  	0x00, 0x00, 0xff, 0xff, 0xb0, 0x8d, 0xb8, 0x47, 0x90, 0x05, 0x00, 0x00,
   584  }
   585  
   586  // Reference imports to suppress errors if they are not otherwise used.
   587  var _ context.Context
   588  var _ grpc.ClientConn
   589  
   590  // This is a compile-time assertion to ensure that this generated file
   591  // is compatible with the grpc package it is being compiled against.
   592  const _ = grpc.SupportPackageIsVersion4
   593  
   594  // ConfigManagementPluginServiceClient is the client API for ConfigManagementPluginService service.
   595  //
   596  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   597  type ConfigManagementPluginServiceClient interface {
   598  	// GenerateManifests receive a stream containing a tgz archive with all required files necessary
   599  	// to generate manifests
   600  	GenerateManifest(ctx context.Context, opts ...grpc.CallOption) (ConfigManagementPluginService_GenerateManifestClient, error)
   601  	// CheckPluginConfiguration is a pre-flight request  to check the plugin configuration
   602  	// without sending the whole repo.
   603  	CheckPluginConfiguration(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CheckPluginConfigurationResponse, error)
   604  	// MatchRepository returns whether or not the given application is supported by the plugin
   605  	MatchRepository(ctx context.Context, opts ...grpc.CallOption) (ConfigManagementPluginService_MatchRepositoryClient, error)
   606  	// GetParametersAnnouncement gets a list of parameter announcements for the given app
   607  	GetParametersAnnouncement(ctx context.Context, opts ...grpc.CallOption) (ConfigManagementPluginService_GetParametersAnnouncementClient, error)
   608  }
   609  
   610  type configManagementPluginServiceClient struct {
   611  	cc *grpc.ClientConn
   612  }
   613  
   614  func NewConfigManagementPluginServiceClient(cc *grpc.ClientConn) ConfigManagementPluginServiceClient {
   615  	return &configManagementPluginServiceClient{cc}
   616  }
   617  
   618  func (c *configManagementPluginServiceClient) GenerateManifest(ctx context.Context, opts ...grpc.CallOption) (ConfigManagementPluginService_GenerateManifestClient, error) {
   619  	stream, err := c.cc.NewStream(ctx, &_ConfigManagementPluginService_serviceDesc.Streams[0], "/plugin.ConfigManagementPluginService/GenerateManifest", opts...)
   620  	if err != nil {
   621  		return nil, err
   622  	}
   623  	x := &configManagementPluginServiceGenerateManifestClient{stream}
   624  	return x, nil
   625  }
   626  
   627  type ConfigManagementPluginService_GenerateManifestClient interface {
   628  	Send(*AppStreamRequest) error
   629  	CloseAndRecv() (*ManifestResponse, error)
   630  	grpc.ClientStream
   631  }
   632  
   633  type configManagementPluginServiceGenerateManifestClient struct {
   634  	grpc.ClientStream
   635  }
   636  
   637  func (x *configManagementPluginServiceGenerateManifestClient) Send(m *AppStreamRequest) error {
   638  	return x.ClientStream.SendMsg(m)
   639  }
   640  
   641  func (x *configManagementPluginServiceGenerateManifestClient) CloseAndRecv() (*ManifestResponse, error) {
   642  	if err := x.ClientStream.CloseSend(); err != nil {
   643  		return nil, err
   644  	}
   645  	m := new(ManifestResponse)
   646  	if err := x.ClientStream.RecvMsg(m); err != nil {
   647  		return nil, err
   648  	}
   649  	return m, nil
   650  }
   651  
   652  func (c *configManagementPluginServiceClient) CheckPluginConfiguration(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CheckPluginConfigurationResponse, error) {
   653  	out := new(CheckPluginConfigurationResponse)
   654  	err := c.cc.Invoke(ctx, "/plugin.ConfigManagementPluginService/CheckPluginConfiguration", in, out, opts...)
   655  	if err != nil {
   656  		return nil, err
   657  	}
   658  	return out, nil
   659  }
   660  
   661  func (c *configManagementPluginServiceClient) MatchRepository(ctx context.Context, opts ...grpc.CallOption) (ConfigManagementPluginService_MatchRepositoryClient, error) {
   662  	stream, err := c.cc.NewStream(ctx, &_ConfigManagementPluginService_serviceDesc.Streams[1], "/plugin.ConfigManagementPluginService/MatchRepository", opts...)
   663  	if err != nil {
   664  		return nil, err
   665  	}
   666  	x := &configManagementPluginServiceMatchRepositoryClient{stream}
   667  	return x, nil
   668  }
   669  
   670  type ConfigManagementPluginService_MatchRepositoryClient interface {
   671  	Send(*AppStreamRequest) error
   672  	CloseAndRecv() (*RepositoryResponse, error)
   673  	grpc.ClientStream
   674  }
   675  
   676  type configManagementPluginServiceMatchRepositoryClient struct {
   677  	grpc.ClientStream
   678  }
   679  
   680  func (x *configManagementPluginServiceMatchRepositoryClient) Send(m *AppStreamRequest) error {
   681  	return x.ClientStream.SendMsg(m)
   682  }
   683  
   684  func (x *configManagementPluginServiceMatchRepositoryClient) CloseAndRecv() (*RepositoryResponse, error) {
   685  	if err := x.ClientStream.CloseSend(); err != nil {
   686  		return nil, err
   687  	}
   688  	m := new(RepositoryResponse)
   689  	if err := x.ClientStream.RecvMsg(m); err != nil {
   690  		return nil, err
   691  	}
   692  	return m, nil
   693  }
   694  
   695  func (c *configManagementPluginServiceClient) GetParametersAnnouncement(ctx context.Context, opts ...grpc.CallOption) (ConfigManagementPluginService_GetParametersAnnouncementClient, error) {
   696  	stream, err := c.cc.NewStream(ctx, &_ConfigManagementPluginService_serviceDesc.Streams[2], "/plugin.ConfigManagementPluginService/GetParametersAnnouncement", opts...)
   697  	if err != nil {
   698  		return nil, err
   699  	}
   700  	x := &configManagementPluginServiceGetParametersAnnouncementClient{stream}
   701  	return x, nil
   702  }
   703  
   704  type ConfigManagementPluginService_GetParametersAnnouncementClient interface {
   705  	Send(*AppStreamRequest) error
   706  	CloseAndRecv() (*ParametersAnnouncementResponse, error)
   707  	grpc.ClientStream
   708  }
   709  
   710  type configManagementPluginServiceGetParametersAnnouncementClient struct {
   711  	grpc.ClientStream
   712  }
   713  
   714  func (x *configManagementPluginServiceGetParametersAnnouncementClient) Send(m *AppStreamRequest) error {
   715  	return x.ClientStream.SendMsg(m)
   716  }
   717  
   718  func (x *configManagementPluginServiceGetParametersAnnouncementClient) CloseAndRecv() (*ParametersAnnouncementResponse, error) {
   719  	if err := x.ClientStream.CloseSend(); err != nil {
   720  		return nil, err
   721  	}
   722  	m := new(ParametersAnnouncementResponse)
   723  	if err := x.ClientStream.RecvMsg(m); err != nil {
   724  		return nil, err
   725  	}
   726  	return m, nil
   727  }
   728  
   729  // ConfigManagementPluginServiceServer is the server API for ConfigManagementPluginService service.
   730  type ConfigManagementPluginServiceServer interface {
   731  	// GenerateManifests receive a stream containing a tgz archive with all required files necessary
   732  	// to generate manifests
   733  	GenerateManifest(ConfigManagementPluginService_GenerateManifestServer) error
   734  	// CheckPluginConfiguration is a pre-flight request  to check the plugin configuration
   735  	// without sending the whole repo.
   736  	CheckPluginConfiguration(context.Context, *emptypb.Empty) (*CheckPluginConfigurationResponse, error)
   737  	// MatchRepository returns whether or not the given application is supported by the plugin
   738  	MatchRepository(ConfigManagementPluginService_MatchRepositoryServer) error
   739  	// GetParametersAnnouncement gets a list of parameter announcements for the given app
   740  	GetParametersAnnouncement(ConfigManagementPluginService_GetParametersAnnouncementServer) error
   741  }
   742  
   743  // UnimplementedConfigManagementPluginServiceServer can be embedded to have forward compatible implementations.
   744  type UnimplementedConfigManagementPluginServiceServer struct {
   745  }
   746  
   747  func (*UnimplementedConfigManagementPluginServiceServer) GenerateManifest(srv ConfigManagementPluginService_GenerateManifestServer) error {
   748  	return status.Errorf(codes.Unimplemented, "method GenerateManifest not implemented")
   749  }
   750  func (*UnimplementedConfigManagementPluginServiceServer) CheckPluginConfiguration(ctx context.Context, req *emptypb.Empty) (*CheckPluginConfigurationResponse, error) {
   751  	return nil, status.Errorf(codes.Unimplemented, "method CheckPluginConfiguration not implemented")
   752  }
   753  func (*UnimplementedConfigManagementPluginServiceServer) MatchRepository(srv ConfigManagementPluginService_MatchRepositoryServer) error {
   754  	return status.Errorf(codes.Unimplemented, "method MatchRepository not implemented")
   755  }
   756  func (*UnimplementedConfigManagementPluginServiceServer) GetParametersAnnouncement(srv ConfigManagementPluginService_GetParametersAnnouncementServer) error {
   757  	return status.Errorf(codes.Unimplemented, "method GetParametersAnnouncement not implemented")
   758  }
   759  
   760  func RegisterConfigManagementPluginServiceServer(s *grpc.Server, srv ConfigManagementPluginServiceServer) {
   761  	s.RegisterService(&_ConfigManagementPluginService_serviceDesc, srv)
   762  }
   763  
   764  func _ConfigManagementPluginService_GenerateManifest_Handler(srv interface{}, stream grpc.ServerStream) error {
   765  	return srv.(ConfigManagementPluginServiceServer).GenerateManifest(&configManagementPluginServiceGenerateManifestServer{stream})
   766  }
   767  
   768  type ConfigManagementPluginService_GenerateManifestServer interface {
   769  	SendAndClose(*ManifestResponse) error
   770  	Recv() (*AppStreamRequest, error)
   771  	grpc.ServerStream
   772  }
   773  
   774  type configManagementPluginServiceGenerateManifestServer struct {
   775  	grpc.ServerStream
   776  }
   777  
   778  func (x *configManagementPluginServiceGenerateManifestServer) SendAndClose(m *ManifestResponse) error {
   779  	return x.ServerStream.SendMsg(m)
   780  }
   781  
   782  func (x *configManagementPluginServiceGenerateManifestServer) Recv() (*AppStreamRequest, error) {
   783  	m := new(AppStreamRequest)
   784  	if err := x.ServerStream.RecvMsg(m); err != nil {
   785  		return nil, err
   786  	}
   787  	return m, nil
   788  }
   789  
   790  func _ConfigManagementPluginService_CheckPluginConfiguration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   791  	in := new(emptypb.Empty)
   792  	if err := dec(in); err != nil {
   793  		return nil, err
   794  	}
   795  	if interceptor == nil {
   796  		return srv.(ConfigManagementPluginServiceServer).CheckPluginConfiguration(ctx, in)
   797  	}
   798  	info := &grpc.UnaryServerInfo{
   799  		Server:     srv,
   800  		FullMethod: "/plugin.ConfigManagementPluginService/CheckPluginConfiguration",
   801  	}
   802  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   803  		return srv.(ConfigManagementPluginServiceServer).CheckPluginConfiguration(ctx, req.(*emptypb.Empty))
   804  	}
   805  	return interceptor(ctx, in, info, handler)
   806  }
   807  
   808  func _ConfigManagementPluginService_MatchRepository_Handler(srv interface{}, stream grpc.ServerStream) error {
   809  	return srv.(ConfigManagementPluginServiceServer).MatchRepository(&configManagementPluginServiceMatchRepositoryServer{stream})
   810  }
   811  
   812  type ConfigManagementPluginService_MatchRepositoryServer interface {
   813  	SendAndClose(*RepositoryResponse) error
   814  	Recv() (*AppStreamRequest, error)
   815  	grpc.ServerStream
   816  }
   817  
   818  type configManagementPluginServiceMatchRepositoryServer struct {
   819  	grpc.ServerStream
   820  }
   821  
   822  func (x *configManagementPluginServiceMatchRepositoryServer) SendAndClose(m *RepositoryResponse) error {
   823  	return x.ServerStream.SendMsg(m)
   824  }
   825  
   826  func (x *configManagementPluginServiceMatchRepositoryServer) Recv() (*AppStreamRequest, error) {
   827  	m := new(AppStreamRequest)
   828  	if err := x.ServerStream.RecvMsg(m); err != nil {
   829  		return nil, err
   830  	}
   831  	return m, nil
   832  }
   833  
   834  func _ConfigManagementPluginService_GetParametersAnnouncement_Handler(srv interface{}, stream grpc.ServerStream) error {
   835  	return srv.(ConfigManagementPluginServiceServer).GetParametersAnnouncement(&configManagementPluginServiceGetParametersAnnouncementServer{stream})
   836  }
   837  
   838  type ConfigManagementPluginService_GetParametersAnnouncementServer interface {
   839  	SendAndClose(*ParametersAnnouncementResponse) error
   840  	Recv() (*AppStreamRequest, error)
   841  	grpc.ServerStream
   842  }
   843  
   844  type configManagementPluginServiceGetParametersAnnouncementServer struct {
   845  	grpc.ServerStream
   846  }
   847  
   848  func (x *configManagementPluginServiceGetParametersAnnouncementServer) SendAndClose(m *ParametersAnnouncementResponse) error {
   849  	return x.ServerStream.SendMsg(m)
   850  }
   851  
   852  func (x *configManagementPluginServiceGetParametersAnnouncementServer) Recv() (*AppStreamRequest, error) {
   853  	m := new(AppStreamRequest)
   854  	if err := x.ServerStream.RecvMsg(m); err != nil {
   855  		return nil, err
   856  	}
   857  	return m, nil
   858  }
   859  
   860  var _ConfigManagementPluginService_serviceDesc = grpc.ServiceDesc{
   861  	ServiceName: "plugin.ConfigManagementPluginService",
   862  	HandlerType: (*ConfigManagementPluginServiceServer)(nil),
   863  	Methods: []grpc.MethodDesc{
   864  		{
   865  			MethodName: "CheckPluginConfiguration",
   866  			Handler:    _ConfigManagementPluginService_CheckPluginConfiguration_Handler,
   867  		},
   868  	},
   869  	Streams: []grpc.StreamDesc{
   870  		{
   871  			StreamName:    "GenerateManifest",
   872  			Handler:       _ConfigManagementPluginService_GenerateManifest_Handler,
   873  			ClientStreams: true,
   874  		},
   875  		{
   876  			StreamName:    "MatchRepository",
   877  			Handler:       _ConfigManagementPluginService_MatchRepository_Handler,
   878  			ClientStreams: true,
   879  		},
   880  		{
   881  			StreamName:    "GetParametersAnnouncement",
   882  			Handler:       _ConfigManagementPluginService_GetParametersAnnouncement_Handler,
   883  			ClientStreams: true,
   884  		},
   885  	},
   886  	Metadata: "cmpserver/plugin/plugin.proto",
   887  }
   888  
   889  func (m *AppStreamRequest) Marshal() (dAtA []byte, err error) {
   890  	size := m.Size()
   891  	dAtA = make([]byte, size)
   892  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   893  	if err != nil {
   894  		return nil, err
   895  	}
   896  	return dAtA[:n], nil
   897  }
   898  
   899  func (m *AppStreamRequest) MarshalTo(dAtA []byte) (int, error) {
   900  	size := m.Size()
   901  	return m.MarshalToSizedBuffer(dAtA[:size])
   902  }
   903  
   904  func (m *AppStreamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   905  	i := len(dAtA)
   906  	_ = i
   907  	var l int
   908  	_ = l
   909  	if m.XXX_unrecognized != nil {
   910  		i -= len(m.XXX_unrecognized)
   911  		copy(dAtA[i:], m.XXX_unrecognized)
   912  	}
   913  	if m.Request != nil {
   914  		{
   915  			size := m.Request.Size()
   916  			i -= size
   917  			if _, err := m.Request.MarshalTo(dAtA[i:]); err != nil {
   918  				return 0, err
   919  			}
   920  		}
   921  	}
   922  	return len(dAtA) - i, nil
   923  }
   924  
   925  func (m *AppStreamRequest_Metadata) MarshalTo(dAtA []byte) (int, error) {
   926  	size := m.Size()
   927  	return m.MarshalToSizedBuffer(dAtA[:size])
   928  }
   929  
   930  func (m *AppStreamRequest_Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   931  	i := len(dAtA)
   932  	if m.Metadata != nil {
   933  		{
   934  			size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i])
   935  			if err != nil {
   936  				return 0, err
   937  			}
   938  			i -= size
   939  			i = encodeVarintPlugin(dAtA, i, uint64(size))
   940  		}
   941  		i--
   942  		dAtA[i] = 0xa
   943  	}
   944  	return len(dAtA) - i, nil
   945  }
   946  func (m *AppStreamRequest_File) MarshalTo(dAtA []byte) (int, error) {
   947  	size := m.Size()
   948  	return m.MarshalToSizedBuffer(dAtA[:size])
   949  }
   950  
   951  func (m *AppStreamRequest_File) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   952  	i := len(dAtA)
   953  	if m.File != nil {
   954  		{
   955  			size, err := m.File.MarshalToSizedBuffer(dAtA[:i])
   956  			if err != nil {
   957  				return 0, err
   958  			}
   959  			i -= size
   960  			i = encodeVarintPlugin(dAtA, i, uint64(size))
   961  		}
   962  		i--
   963  		dAtA[i] = 0x12
   964  	}
   965  	return len(dAtA) - i, nil
   966  }
   967  func (m *ManifestRequestMetadata) Marshal() (dAtA []byte, err error) {
   968  	size := m.Size()
   969  	dAtA = make([]byte, size)
   970  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   971  	if err != nil {
   972  		return nil, err
   973  	}
   974  	return dAtA[:n], nil
   975  }
   976  
   977  func (m *ManifestRequestMetadata) MarshalTo(dAtA []byte) (int, error) {
   978  	size := m.Size()
   979  	return m.MarshalToSizedBuffer(dAtA[:size])
   980  }
   981  
   982  func (m *ManifestRequestMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   983  	i := len(dAtA)
   984  	_ = i
   985  	var l int
   986  	_ = l
   987  	if m.XXX_unrecognized != nil {
   988  		i -= len(m.XXX_unrecognized)
   989  		copy(dAtA[i:], m.XXX_unrecognized)
   990  	}
   991  	if len(m.Env) > 0 {
   992  		for iNdEx := len(m.Env) - 1; iNdEx >= 0; iNdEx-- {
   993  			{
   994  				size, err := m.Env[iNdEx].MarshalToSizedBuffer(dAtA[:i])
   995  				if err != nil {
   996  					return 0, err
   997  				}
   998  				i -= size
   999  				i = encodeVarintPlugin(dAtA, i, uint64(size))
  1000  			}
  1001  			i--
  1002  			dAtA[i] = 0x2a
  1003  		}
  1004  	}
  1005  	if m.Size_ != 0 {
  1006  		i = encodeVarintPlugin(dAtA, i, uint64(m.Size_))
  1007  		i--
  1008  		dAtA[i] = 0x20
  1009  	}
  1010  	if len(m.Checksum) > 0 {
  1011  		i -= len(m.Checksum)
  1012  		copy(dAtA[i:], m.Checksum)
  1013  		i = encodeVarintPlugin(dAtA, i, uint64(len(m.Checksum)))
  1014  		i--
  1015  		dAtA[i] = 0x1a
  1016  	}
  1017  	if len(m.AppRelPath) > 0 {
  1018  		i -= len(m.AppRelPath)
  1019  		copy(dAtA[i:], m.AppRelPath)
  1020  		i = encodeVarintPlugin(dAtA, i, uint64(len(m.AppRelPath)))
  1021  		i--
  1022  		dAtA[i] = 0x12
  1023  	}
  1024  	if len(m.AppName) > 0 {
  1025  		i -= len(m.AppName)
  1026  		copy(dAtA[i:], m.AppName)
  1027  		i = encodeVarintPlugin(dAtA, i, uint64(len(m.AppName)))
  1028  		i--
  1029  		dAtA[i] = 0xa
  1030  	}
  1031  	return len(dAtA) - i, nil
  1032  }
  1033  
  1034  func (m *EnvEntry) Marshal() (dAtA []byte, err error) {
  1035  	size := m.Size()
  1036  	dAtA = make([]byte, size)
  1037  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1038  	if err != nil {
  1039  		return nil, err
  1040  	}
  1041  	return dAtA[:n], nil
  1042  }
  1043  
  1044  func (m *EnvEntry) MarshalTo(dAtA []byte) (int, error) {
  1045  	size := m.Size()
  1046  	return m.MarshalToSizedBuffer(dAtA[:size])
  1047  }
  1048  
  1049  func (m *EnvEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1050  	i := len(dAtA)
  1051  	_ = i
  1052  	var l int
  1053  	_ = l
  1054  	if m.XXX_unrecognized != nil {
  1055  		i -= len(m.XXX_unrecognized)
  1056  		copy(dAtA[i:], m.XXX_unrecognized)
  1057  	}
  1058  	if len(m.Value) > 0 {
  1059  		i -= len(m.Value)
  1060  		copy(dAtA[i:], m.Value)
  1061  		i = encodeVarintPlugin(dAtA, i, uint64(len(m.Value)))
  1062  		i--
  1063  		dAtA[i] = 0x12
  1064  	}
  1065  	if len(m.Name) > 0 {
  1066  		i -= len(m.Name)
  1067  		copy(dAtA[i:], m.Name)
  1068  		i = encodeVarintPlugin(dAtA, i, uint64(len(m.Name)))
  1069  		i--
  1070  		dAtA[i] = 0xa
  1071  	}
  1072  	return len(dAtA) - i, nil
  1073  }
  1074  
  1075  func (m *ManifestResponse) Marshal() (dAtA []byte, err error) {
  1076  	size := m.Size()
  1077  	dAtA = make([]byte, size)
  1078  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1079  	if err != nil {
  1080  		return nil, err
  1081  	}
  1082  	return dAtA[:n], nil
  1083  }
  1084  
  1085  func (m *ManifestResponse) MarshalTo(dAtA []byte) (int, error) {
  1086  	size := m.Size()
  1087  	return m.MarshalToSizedBuffer(dAtA[:size])
  1088  }
  1089  
  1090  func (m *ManifestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1091  	i := len(dAtA)
  1092  	_ = i
  1093  	var l int
  1094  	_ = l
  1095  	if m.XXX_unrecognized != nil {
  1096  		i -= len(m.XXX_unrecognized)
  1097  		copy(dAtA[i:], m.XXX_unrecognized)
  1098  	}
  1099  	if len(m.SourceType) > 0 {
  1100  		i -= len(m.SourceType)
  1101  		copy(dAtA[i:], m.SourceType)
  1102  		i = encodeVarintPlugin(dAtA, i, uint64(len(m.SourceType)))
  1103  		i--
  1104  		dAtA[i] = 0x12
  1105  	}
  1106  	if len(m.Manifests) > 0 {
  1107  		for iNdEx := len(m.Manifests) - 1; iNdEx >= 0; iNdEx-- {
  1108  			i -= len(m.Manifests[iNdEx])
  1109  			copy(dAtA[i:], m.Manifests[iNdEx])
  1110  			i = encodeVarintPlugin(dAtA, i, uint64(len(m.Manifests[iNdEx])))
  1111  			i--
  1112  			dAtA[i] = 0xa
  1113  		}
  1114  	}
  1115  	return len(dAtA) - i, nil
  1116  }
  1117  
  1118  func (m *RepositoryResponse) Marshal() (dAtA []byte, err error) {
  1119  	size := m.Size()
  1120  	dAtA = make([]byte, size)
  1121  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1122  	if err != nil {
  1123  		return nil, err
  1124  	}
  1125  	return dAtA[:n], nil
  1126  }
  1127  
  1128  func (m *RepositoryResponse) MarshalTo(dAtA []byte) (int, error) {
  1129  	size := m.Size()
  1130  	return m.MarshalToSizedBuffer(dAtA[:size])
  1131  }
  1132  
  1133  func (m *RepositoryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1134  	i := len(dAtA)
  1135  	_ = i
  1136  	var l int
  1137  	_ = l
  1138  	if m.XXX_unrecognized != nil {
  1139  		i -= len(m.XXX_unrecognized)
  1140  		copy(dAtA[i:], m.XXX_unrecognized)
  1141  	}
  1142  	if m.IsDiscoveryEnabled {
  1143  		i--
  1144  		if m.IsDiscoveryEnabled {
  1145  			dAtA[i] = 1
  1146  		} else {
  1147  			dAtA[i] = 0
  1148  		}
  1149  		i--
  1150  		dAtA[i] = 0x10
  1151  	}
  1152  	if m.IsSupported {
  1153  		i--
  1154  		if m.IsSupported {
  1155  			dAtA[i] = 1
  1156  		} else {
  1157  			dAtA[i] = 0
  1158  		}
  1159  		i--
  1160  		dAtA[i] = 0x8
  1161  	}
  1162  	return len(dAtA) - i, nil
  1163  }
  1164  
  1165  func (m *ParametersAnnouncementResponse) Marshal() (dAtA []byte, err error) {
  1166  	size := m.Size()
  1167  	dAtA = make([]byte, size)
  1168  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1169  	if err != nil {
  1170  		return nil, err
  1171  	}
  1172  	return dAtA[:n], nil
  1173  }
  1174  
  1175  func (m *ParametersAnnouncementResponse) MarshalTo(dAtA []byte) (int, error) {
  1176  	size := m.Size()
  1177  	return m.MarshalToSizedBuffer(dAtA[:size])
  1178  }
  1179  
  1180  func (m *ParametersAnnouncementResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1181  	i := len(dAtA)
  1182  	_ = i
  1183  	var l int
  1184  	_ = l
  1185  	if m.XXX_unrecognized != nil {
  1186  		i -= len(m.XXX_unrecognized)
  1187  		copy(dAtA[i:], m.XXX_unrecognized)
  1188  	}
  1189  	if len(m.ParameterAnnouncements) > 0 {
  1190  		for iNdEx := len(m.ParameterAnnouncements) - 1; iNdEx >= 0; iNdEx-- {
  1191  			{
  1192  				size, err := m.ParameterAnnouncements[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  1193  				if err != nil {
  1194  					return 0, err
  1195  				}
  1196  				i -= size
  1197  				i = encodeVarintPlugin(dAtA, i, uint64(size))
  1198  			}
  1199  			i--
  1200  			dAtA[i] = 0xa
  1201  		}
  1202  	}
  1203  	return len(dAtA) - i, nil
  1204  }
  1205  
  1206  func (m *File) Marshal() (dAtA []byte, err error) {
  1207  	size := m.Size()
  1208  	dAtA = make([]byte, size)
  1209  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1210  	if err != nil {
  1211  		return nil, err
  1212  	}
  1213  	return dAtA[:n], nil
  1214  }
  1215  
  1216  func (m *File) MarshalTo(dAtA []byte) (int, error) {
  1217  	size := m.Size()
  1218  	return m.MarshalToSizedBuffer(dAtA[:size])
  1219  }
  1220  
  1221  func (m *File) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1222  	i := len(dAtA)
  1223  	_ = i
  1224  	var l int
  1225  	_ = l
  1226  	if m.XXX_unrecognized != nil {
  1227  		i -= len(m.XXX_unrecognized)
  1228  		copy(dAtA[i:], m.XXX_unrecognized)
  1229  	}
  1230  	if len(m.Chunk) > 0 {
  1231  		i -= len(m.Chunk)
  1232  		copy(dAtA[i:], m.Chunk)
  1233  		i = encodeVarintPlugin(dAtA, i, uint64(len(m.Chunk)))
  1234  		i--
  1235  		dAtA[i] = 0xa
  1236  	}
  1237  	return len(dAtA) - i, nil
  1238  }
  1239  
  1240  func (m *CheckPluginConfigurationResponse) Marshal() (dAtA []byte, err error) {
  1241  	size := m.Size()
  1242  	dAtA = make([]byte, size)
  1243  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1244  	if err != nil {
  1245  		return nil, err
  1246  	}
  1247  	return dAtA[:n], nil
  1248  }
  1249  
  1250  func (m *CheckPluginConfigurationResponse) MarshalTo(dAtA []byte) (int, error) {
  1251  	size := m.Size()
  1252  	return m.MarshalToSizedBuffer(dAtA[:size])
  1253  }
  1254  
  1255  func (m *CheckPluginConfigurationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1256  	i := len(dAtA)
  1257  	_ = i
  1258  	var l int
  1259  	_ = l
  1260  	if m.XXX_unrecognized != nil {
  1261  		i -= len(m.XXX_unrecognized)
  1262  		copy(dAtA[i:], m.XXX_unrecognized)
  1263  	}
  1264  	if m.ProvideGitCreds {
  1265  		i--
  1266  		if m.ProvideGitCreds {
  1267  			dAtA[i] = 1
  1268  		} else {
  1269  			dAtA[i] = 0
  1270  		}
  1271  		i--
  1272  		dAtA[i] = 0x10
  1273  	}
  1274  	if m.IsDiscoveryConfigured {
  1275  		i--
  1276  		if m.IsDiscoveryConfigured {
  1277  			dAtA[i] = 1
  1278  		} else {
  1279  			dAtA[i] = 0
  1280  		}
  1281  		i--
  1282  		dAtA[i] = 0x8
  1283  	}
  1284  	return len(dAtA) - i, nil
  1285  }
  1286  
  1287  func encodeVarintPlugin(dAtA []byte, offset int, v uint64) int {
  1288  	offset -= sovPlugin(v)
  1289  	base := offset
  1290  	for v >= 1<<7 {
  1291  		dAtA[offset] = uint8(v&0x7f | 0x80)
  1292  		v >>= 7
  1293  		offset++
  1294  	}
  1295  	dAtA[offset] = uint8(v)
  1296  	return base
  1297  }
  1298  func (m *AppStreamRequest) Size() (n int) {
  1299  	if m == nil {
  1300  		return 0
  1301  	}
  1302  	var l int
  1303  	_ = l
  1304  	if m.Request != nil {
  1305  		n += m.Request.Size()
  1306  	}
  1307  	if m.XXX_unrecognized != nil {
  1308  		n += len(m.XXX_unrecognized)
  1309  	}
  1310  	return n
  1311  }
  1312  
  1313  func (m *AppStreamRequest_Metadata) Size() (n int) {
  1314  	if m == nil {
  1315  		return 0
  1316  	}
  1317  	var l int
  1318  	_ = l
  1319  	if m.Metadata != nil {
  1320  		l = m.Metadata.Size()
  1321  		n += 1 + l + sovPlugin(uint64(l))
  1322  	}
  1323  	return n
  1324  }
  1325  func (m *AppStreamRequest_File) Size() (n int) {
  1326  	if m == nil {
  1327  		return 0
  1328  	}
  1329  	var l int
  1330  	_ = l
  1331  	if m.File != nil {
  1332  		l = m.File.Size()
  1333  		n += 1 + l + sovPlugin(uint64(l))
  1334  	}
  1335  	return n
  1336  }
  1337  func (m *ManifestRequestMetadata) Size() (n int) {
  1338  	if m == nil {
  1339  		return 0
  1340  	}
  1341  	var l int
  1342  	_ = l
  1343  	l = len(m.AppName)
  1344  	if l > 0 {
  1345  		n += 1 + l + sovPlugin(uint64(l))
  1346  	}
  1347  	l = len(m.AppRelPath)
  1348  	if l > 0 {
  1349  		n += 1 + l + sovPlugin(uint64(l))
  1350  	}
  1351  	l = len(m.Checksum)
  1352  	if l > 0 {
  1353  		n += 1 + l + sovPlugin(uint64(l))
  1354  	}
  1355  	if m.Size_ != 0 {
  1356  		n += 1 + sovPlugin(uint64(m.Size_))
  1357  	}
  1358  	if len(m.Env) > 0 {
  1359  		for _, e := range m.Env {
  1360  			l = e.Size()
  1361  			n += 1 + l + sovPlugin(uint64(l))
  1362  		}
  1363  	}
  1364  	if m.XXX_unrecognized != nil {
  1365  		n += len(m.XXX_unrecognized)
  1366  	}
  1367  	return n
  1368  }
  1369  
  1370  func (m *EnvEntry) Size() (n int) {
  1371  	if m == nil {
  1372  		return 0
  1373  	}
  1374  	var l int
  1375  	_ = l
  1376  	l = len(m.Name)
  1377  	if l > 0 {
  1378  		n += 1 + l + sovPlugin(uint64(l))
  1379  	}
  1380  	l = len(m.Value)
  1381  	if l > 0 {
  1382  		n += 1 + l + sovPlugin(uint64(l))
  1383  	}
  1384  	if m.XXX_unrecognized != nil {
  1385  		n += len(m.XXX_unrecognized)
  1386  	}
  1387  	return n
  1388  }
  1389  
  1390  func (m *ManifestResponse) Size() (n int) {
  1391  	if m == nil {
  1392  		return 0
  1393  	}
  1394  	var l int
  1395  	_ = l
  1396  	if len(m.Manifests) > 0 {
  1397  		for _, s := range m.Manifests {
  1398  			l = len(s)
  1399  			n += 1 + l + sovPlugin(uint64(l))
  1400  		}
  1401  	}
  1402  	l = len(m.SourceType)
  1403  	if l > 0 {
  1404  		n += 1 + l + sovPlugin(uint64(l))
  1405  	}
  1406  	if m.XXX_unrecognized != nil {
  1407  		n += len(m.XXX_unrecognized)
  1408  	}
  1409  	return n
  1410  }
  1411  
  1412  func (m *RepositoryResponse) Size() (n int) {
  1413  	if m == nil {
  1414  		return 0
  1415  	}
  1416  	var l int
  1417  	_ = l
  1418  	if m.IsSupported {
  1419  		n += 2
  1420  	}
  1421  	if m.IsDiscoveryEnabled {
  1422  		n += 2
  1423  	}
  1424  	if m.XXX_unrecognized != nil {
  1425  		n += len(m.XXX_unrecognized)
  1426  	}
  1427  	return n
  1428  }
  1429  
  1430  func (m *ParametersAnnouncementResponse) Size() (n int) {
  1431  	if m == nil {
  1432  		return 0
  1433  	}
  1434  	var l int
  1435  	_ = l
  1436  	if len(m.ParameterAnnouncements) > 0 {
  1437  		for _, e := range m.ParameterAnnouncements {
  1438  			l = e.Size()
  1439  			n += 1 + l + sovPlugin(uint64(l))
  1440  		}
  1441  	}
  1442  	if m.XXX_unrecognized != nil {
  1443  		n += len(m.XXX_unrecognized)
  1444  	}
  1445  	return n
  1446  }
  1447  
  1448  func (m *File) Size() (n int) {
  1449  	if m == nil {
  1450  		return 0
  1451  	}
  1452  	var l int
  1453  	_ = l
  1454  	l = len(m.Chunk)
  1455  	if l > 0 {
  1456  		n += 1 + l + sovPlugin(uint64(l))
  1457  	}
  1458  	if m.XXX_unrecognized != nil {
  1459  		n += len(m.XXX_unrecognized)
  1460  	}
  1461  	return n
  1462  }
  1463  
  1464  func (m *CheckPluginConfigurationResponse) Size() (n int) {
  1465  	if m == nil {
  1466  		return 0
  1467  	}
  1468  	var l int
  1469  	_ = l
  1470  	if m.IsDiscoveryConfigured {
  1471  		n += 2
  1472  	}
  1473  	if m.ProvideGitCreds {
  1474  		n += 2
  1475  	}
  1476  	if m.XXX_unrecognized != nil {
  1477  		n += len(m.XXX_unrecognized)
  1478  	}
  1479  	return n
  1480  }
  1481  
  1482  func sovPlugin(x uint64) (n int) {
  1483  	return (math_bits.Len64(x|1) + 6) / 7
  1484  }
  1485  func sozPlugin(x uint64) (n int) {
  1486  	return sovPlugin(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1487  }
  1488  func (m *AppStreamRequest) Unmarshal(dAtA []byte) error {
  1489  	l := len(dAtA)
  1490  	iNdEx := 0
  1491  	for iNdEx < l {
  1492  		preIndex := iNdEx
  1493  		var wire uint64
  1494  		for shift := uint(0); ; shift += 7 {
  1495  			if shift >= 64 {
  1496  				return ErrIntOverflowPlugin
  1497  			}
  1498  			if iNdEx >= l {
  1499  				return io.ErrUnexpectedEOF
  1500  			}
  1501  			b := dAtA[iNdEx]
  1502  			iNdEx++
  1503  			wire |= uint64(b&0x7F) << shift
  1504  			if b < 0x80 {
  1505  				break
  1506  			}
  1507  		}
  1508  		fieldNum := int32(wire >> 3)
  1509  		wireType := int(wire & 0x7)
  1510  		if wireType == 4 {
  1511  			return fmt.Errorf("proto: AppStreamRequest: wiretype end group for non-group")
  1512  		}
  1513  		if fieldNum <= 0 {
  1514  			return fmt.Errorf("proto: AppStreamRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  1515  		}
  1516  		switch fieldNum {
  1517  		case 1:
  1518  			if wireType != 2 {
  1519  				return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType)
  1520  			}
  1521  			var msglen int
  1522  			for shift := uint(0); ; shift += 7 {
  1523  				if shift >= 64 {
  1524  					return ErrIntOverflowPlugin
  1525  				}
  1526  				if iNdEx >= l {
  1527  					return io.ErrUnexpectedEOF
  1528  				}
  1529  				b := dAtA[iNdEx]
  1530  				iNdEx++
  1531  				msglen |= int(b&0x7F) << shift
  1532  				if b < 0x80 {
  1533  					break
  1534  				}
  1535  			}
  1536  			if msglen < 0 {
  1537  				return ErrInvalidLengthPlugin
  1538  			}
  1539  			postIndex := iNdEx + msglen
  1540  			if postIndex < 0 {
  1541  				return ErrInvalidLengthPlugin
  1542  			}
  1543  			if postIndex > l {
  1544  				return io.ErrUnexpectedEOF
  1545  			}
  1546  			v := &ManifestRequestMetadata{}
  1547  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1548  				return err
  1549  			}
  1550  			m.Request = &AppStreamRequest_Metadata{v}
  1551  			iNdEx = postIndex
  1552  		case 2:
  1553  			if wireType != 2 {
  1554  				return fmt.Errorf("proto: wrong wireType = %d for field File", wireType)
  1555  			}
  1556  			var msglen int
  1557  			for shift := uint(0); ; shift += 7 {
  1558  				if shift >= 64 {
  1559  					return ErrIntOverflowPlugin
  1560  				}
  1561  				if iNdEx >= l {
  1562  					return io.ErrUnexpectedEOF
  1563  				}
  1564  				b := dAtA[iNdEx]
  1565  				iNdEx++
  1566  				msglen |= int(b&0x7F) << shift
  1567  				if b < 0x80 {
  1568  					break
  1569  				}
  1570  			}
  1571  			if msglen < 0 {
  1572  				return ErrInvalidLengthPlugin
  1573  			}
  1574  			postIndex := iNdEx + msglen
  1575  			if postIndex < 0 {
  1576  				return ErrInvalidLengthPlugin
  1577  			}
  1578  			if postIndex > l {
  1579  				return io.ErrUnexpectedEOF
  1580  			}
  1581  			v := &File{}
  1582  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1583  				return err
  1584  			}
  1585  			m.Request = &AppStreamRequest_File{v}
  1586  			iNdEx = postIndex
  1587  		default:
  1588  			iNdEx = preIndex
  1589  			skippy, err := skipPlugin(dAtA[iNdEx:])
  1590  			if err != nil {
  1591  				return err
  1592  			}
  1593  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1594  				return ErrInvalidLengthPlugin
  1595  			}
  1596  			if (iNdEx + skippy) > l {
  1597  				return io.ErrUnexpectedEOF
  1598  			}
  1599  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1600  			iNdEx += skippy
  1601  		}
  1602  	}
  1603  
  1604  	if iNdEx > l {
  1605  		return io.ErrUnexpectedEOF
  1606  	}
  1607  	return nil
  1608  }
  1609  func (m *ManifestRequestMetadata) Unmarshal(dAtA []byte) error {
  1610  	l := len(dAtA)
  1611  	iNdEx := 0
  1612  	for iNdEx < l {
  1613  		preIndex := iNdEx
  1614  		var wire uint64
  1615  		for shift := uint(0); ; shift += 7 {
  1616  			if shift >= 64 {
  1617  				return ErrIntOverflowPlugin
  1618  			}
  1619  			if iNdEx >= l {
  1620  				return io.ErrUnexpectedEOF
  1621  			}
  1622  			b := dAtA[iNdEx]
  1623  			iNdEx++
  1624  			wire |= uint64(b&0x7F) << shift
  1625  			if b < 0x80 {
  1626  				break
  1627  			}
  1628  		}
  1629  		fieldNum := int32(wire >> 3)
  1630  		wireType := int(wire & 0x7)
  1631  		if wireType == 4 {
  1632  			return fmt.Errorf("proto: ManifestRequestMetadata: wiretype end group for non-group")
  1633  		}
  1634  		if fieldNum <= 0 {
  1635  			return fmt.Errorf("proto: ManifestRequestMetadata: illegal tag %d (wire type %d)", fieldNum, wire)
  1636  		}
  1637  		switch fieldNum {
  1638  		case 1:
  1639  			if wireType != 2 {
  1640  				return fmt.Errorf("proto: wrong wireType = %d for field AppName", wireType)
  1641  			}
  1642  			var stringLen uint64
  1643  			for shift := uint(0); ; shift += 7 {
  1644  				if shift >= 64 {
  1645  					return ErrIntOverflowPlugin
  1646  				}
  1647  				if iNdEx >= l {
  1648  					return io.ErrUnexpectedEOF
  1649  				}
  1650  				b := dAtA[iNdEx]
  1651  				iNdEx++
  1652  				stringLen |= uint64(b&0x7F) << shift
  1653  				if b < 0x80 {
  1654  					break
  1655  				}
  1656  			}
  1657  			intStringLen := int(stringLen)
  1658  			if intStringLen < 0 {
  1659  				return ErrInvalidLengthPlugin
  1660  			}
  1661  			postIndex := iNdEx + intStringLen
  1662  			if postIndex < 0 {
  1663  				return ErrInvalidLengthPlugin
  1664  			}
  1665  			if postIndex > l {
  1666  				return io.ErrUnexpectedEOF
  1667  			}
  1668  			m.AppName = string(dAtA[iNdEx:postIndex])
  1669  			iNdEx = postIndex
  1670  		case 2:
  1671  			if wireType != 2 {
  1672  				return fmt.Errorf("proto: wrong wireType = %d for field AppRelPath", wireType)
  1673  			}
  1674  			var stringLen uint64
  1675  			for shift := uint(0); ; shift += 7 {
  1676  				if shift >= 64 {
  1677  					return ErrIntOverflowPlugin
  1678  				}
  1679  				if iNdEx >= l {
  1680  					return io.ErrUnexpectedEOF
  1681  				}
  1682  				b := dAtA[iNdEx]
  1683  				iNdEx++
  1684  				stringLen |= uint64(b&0x7F) << shift
  1685  				if b < 0x80 {
  1686  					break
  1687  				}
  1688  			}
  1689  			intStringLen := int(stringLen)
  1690  			if intStringLen < 0 {
  1691  				return ErrInvalidLengthPlugin
  1692  			}
  1693  			postIndex := iNdEx + intStringLen
  1694  			if postIndex < 0 {
  1695  				return ErrInvalidLengthPlugin
  1696  			}
  1697  			if postIndex > l {
  1698  				return io.ErrUnexpectedEOF
  1699  			}
  1700  			m.AppRelPath = string(dAtA[iNdEx:postIndex])
  1701  			iNdEx = postIndex
  1702  		case 3:
  1703  			if wireType != 2 {
  1704  				return fmt.Errorf("proto: wrong wireType = %d for field Checksum", wireType)
  1705  			}
  1706  			var stringLen uint64
  1707  			for shift := uint(0); ; shift += 7 {
  1708  				if shift >= 64 {
  1709  					return ErrIntOverflowPlugin
  1710  				}
  1711  				if iNdEx >= l {
  1712  					return io.ErrUnexpectedEOF
  1713  				}
  1714  				b := dAtA[iNdEx]
  1715  				iNdEx++
  1716  				stringLen |= uint64(b&0x7F) << shift
  1717  				if b < 0x80 {
  1718  					break
  1719  				}
  1720  			}
  1721  			intStringLen := int(stringLen)
  1722  			if intStringLen < 0 {
  1723  				return ErrInvalidLengthPlugin
  1724  			}
  1725  			postIndex := iNdEx + intStringLen
  1726  			if postIndex < 0 {
  1727  				return ErrInvalidLengthPlugin
  1728  			}
  1729  			if postIndex > l {
  1730  				return io.ErrUnexpectedEOF
  1731  			}
  1732  			m.Checksum = string(dAtA[iNdEx:postIndex])
  1733  			iNdEx = postIndex
  1734  		case 4:
  1735  			if wireType != 0 {
  1736  				return fmt.Errorf("proto: wrong wireType = %d for field Size_", wireType)
  1737  			}
  1738  			m.Size_ = 0
  1739  			for shift := uint(0); ; shift += 7 {
  1740  				if shift >= 64 {
  1741  					return ErrIntOverflowPlugin
  1742  				}
  1743  				if iNdEx >= l {
  1744  					return io.ErrUnexpectedEOF
  1745  				}
  1746  				b := dAtA[iNdEx]
  1747  				iNdEx++
  1748  				m.Size_ |= int64(b&0x7F) << shift
  1749  				if b < 0x80 {
  1750  					break
  1751  				}
  1752  			}
  1753  		case 5:
  1754  			if wireType != 2 {
  1755  				return fmt.Errorf("proto: wrong wireType = %d for field Env", wireType)
  1756  			}
  1757  			var msglen int
  1758  			for shift := uint(0); ; shift += 7 {
  1759  				if shift >= 64 {
  1760  					return ErrIntOverflowPlugin
  1761  				}
  1762  				if iNdEx >= l {
  1763  					return io.ErrUnexpectedEOF
  1764  				}
  1765  				b := dAtA[iNdEx]
  1766  				iNdEx++
  1767  				msglen |= int(b&0x7F) << shift
  1768  				if b < 0x80 {
  1769  					break
  1770  				}
  1771  			}
  1772  			if msglen < 0 {
  1773  				return ErrInvalidLengthPlugin
  1774  			}
  1775  			postIndex := iNdEx + msglen
  1776  			if postIndex < 0 {
  1777  				return ErrInvalidLengthPlugin
  1778  			}
  1779  			if postIndex > l {
  1780  				return io.ErrUnexpectedEOF
  1781  			}
  1782  			m.Env = append(m.Env, &EnvEntry{})
  1783  			if err := m.Env[len(m.Env)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1784  				return err
  1785  			}
  1786  			iNdEx = postIndex
  1787  		default:
  1788  			iNdEx = preIndex
  1789  			skippy, err := skipPlugin(dAtA[iNdEx:])
  1790  			if err != nil {
  1791  				return err
  1792  			}
  1793  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1794  				return ErrInvalidLengthPlugin
  1795  			}
  1796  			if (iNdEx + skippy) > l {
  1797  				return io.ErrUnexpectedEOF
  1798  			}
  1799  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1800  			iNdEx += skippy
  1801  		}
  1802  	}
  1803  
  1804  	if iNdEx > l {
  1805  		return io.ErrUnexpectedEOF
  1806  	}
  1807  	return nil
  1808  }
  1809  func (m *EnvEntry) Unmarshal(dAtA []byte) error {
  1810  	l := len(dAtA)
  1811  	iNdEx := 0
  1812  	for iNdEx < l {
  1813  		preIndex := iNdEx
  1814  		var wire uint64
  1815  		for shift := uint(0); ; shift += 7 {
  1816  			if shift >= 64 {
  1817  				return ErrIntOverflowPlugin
  1818  			}
  1819  			if iNdEx >= l {
  1820  				return io.ErrUnexpectedEOF
  1821  			}
  1822  			b := dAtA[iNdEx]
  1823  			iNdEx++
  1824  			wire |= uint64(b&0x7F) << shift
  1825  			if b < 0x80 {
  1826  				break
  1827  			}
  1828  		}
  1829  		fieldNum := int32(wire >> 3)
  1830  		wireType := int(wire & 0x7)
  1831  		if wireType == 4 {
  1832  			return fmt.Errorf("proto: EnvEntry: wiretype end group for non-group")
  1833  		}
  1834  		if fieldNum <= 0 {
  1835  			return fmt.Errorf("proto: EnvEntry: illegal tag %d (wire type %d)", fieldNum, wire)
  1836  		}
  1837  		switch fieldNum {
  1838  		case 1:
  1839  			if wireType != 2 {
  1840  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  1841  			}
  1842  			var stringLen uint64
  1843  			for shift := uint(0); ; shift += 7 {
  1844  				if shift >= 64 {
  1845  					return ErrIntOverflowPlugin
  1846  				}
  1847  				if iNdEx >= l {
  1848  					return io.ErrUnexpectedEOF
  1849  				}
  1850  				b := dAtA[iNdEx]
  1851  				iNdEx++
  1852  				stringLen |= uint64(b&0x7F) << shift
  1853  				if b < 0x80 {
  1854  					break
  1855  				}
  1856  			}
  1857  			intStringLen := int(stringLen)
  1858  			if intStringLen < 0 {
  1859  				return ErrInvalidLengthPlugin
  1860  			}
  1861  			postIndex := iNdEx + intStringLen
  1862  			if postIndex < 0 {
  1863  				return ErrInvalidLengthPlugin
  1864  			}
  1865  			if postIndex > l {
  1866  				return io.ErrUnexpectedEOF
  1867  			}
  1868  			m.Name = string(dAtA[iNdEx:postIndex])
  1869  			iNdEx = postIndex
  1870  		case 2:
  1871  			if wireType != 2 {
  1872  				return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  1873  			}
  1874  			var stringLen uint64
  1875  			for shift := uint(0); ; shift += 7 {
  1876  				if shift >= 64 {
  1877  					return ErrIntOverflowPlugin
  1878  				}
  1879  				if iNdEx >= l {
  1880  					return io.ErrUnexpectedEOF
  1881  				}
  1882  				b := dAtA[iNdEx]
  1883  				iNdEx++
  1884  				stringLen |= uint64(b&0x7F) << shift
  1885  				if b < 0x80 {
  1886  					break
  1887  				}
  1888  			}
  1889  			intStringLen := int(stringLen)
  1890  			if intStringLen < 0 {
  1891  				return ErrInvalidLengthPlugin
  1892  			}
  1893  			postIndex := iNdEx + intStringLen
  1894  			if postIndex < 0 {
  1895  				return ErrInvalidLengthPlugin
  1896  			}
  1897  			if postIndex > l {
  1898  				return io.ErrUnexpectedEOF
  1899  			}
  1900  			m.Value = string(dAtA[iNdEx:postIndex])
  1901  			iNdEx = postIndex
  1902  		default:
  1903  			iNdEx = preIndex
  1904  			skippy, err := skipPlugin(dAtA[iNdEx:])
  1905  			if err != nil {
  1906  				return err
  1907  			}
  1908  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1909  				return ErrInvalidLengthPlugin
  1910  			}
  1911  			if (iNdEx + skippy) > l {
  1912  				return io.ErrUnexpectedEOF
  1913  			}
  1914  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1915  			iNdEx += skippy
  1916  		}
  1917  	}
  1918  
  1919  	if iNdEx > l {
  1920  		return io.ErrUnexpectedEOF
  1921  	}
  1922  	return nil
  1923  }
  1924  func (m *ManifestResponse) Unmarshal(dAtA []byte) error {
  1925  	l := len(dAtA)
  1926  	iNdEx := 0
  1927  	for iNdEx < l {
  1928  		preIndex := iNdEx
  1929  		var wire uint64
  1930  		for shift := uint(0); ; shift += 7 {
  1931  			if shift >= 64 {
  1932  				return ErrIntOverflowPlugin
  1933  			}
  1934  			if iNdEx >= l {
  1935  				return io.ErrUnexpectedEOF
  1936  			}
  1937  			b := dAtA[iNdEx]
  1938  			iNdEx++
  1939  			wire |= uint64(b&0x7F) << shift
  1940  			if b < 0x80 {
  1941  				break
  1942  			}
  1943  		}
  1944  		fieldNum := int32(wire >> 3)
  1945  		wireType := int(wire & 0x7)
  1946  		if wireType == 4 {
  1947  			return fmt.Errorf("proto: ManifestResponse: wiretype end group for non-group")
  1948  		}
  1949  		if fieldNum <= 0 {
  1950  			return fmt.Errorf("proto: ManifestResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  1951  		}
  1952  		switch fieldNum {
  1953  		case 1:
  1954  			if wireType != 2 {
  1955  				return fmt.Errorf("proto: wrong wireType = %d for field Manifests", wireType)
  1956  			}
  1957  			var stringLen uint64
  1958  			for shift := uint(0); ; shift += 7 {
  1959  				if shift >= 64 {
  1960  					return ErrIntOverflowPlugin
  1961  				}
  1962  				if iNdEx >= l {
  1963  					return io.ErrUnexpectedEOF
  1964  				}
  1965  				b := dAtA[iNdEx]
  1966  				iNdEx++
  1967  				stringLen |= uint64(b&0x7F) << shift
  1968  				if b < 0x80 {
  1969  					break
  1970  				}
  1971  			}
  1972  			intStringLen := int(stringLen)
  1973  			if intStringLen < 0 {
  1974  				return ErrInvalidLengthPlugin
  1975  			}
  1976  			postIndex := iNdEx + intStringLen
  1977  			if postIndex < 0 {
  1978  				return ErrInvalidLengthPlugin
  1979  			}
  1980  			if postIndex > l {
  1981  				return io.ErrUnexpectedEOF
  1982  			}
  1983  			m.Manifests = append(m.Manifests, string(dAtA[iNdEx:postIndex]))
  1984  			iNdEx = postIndex
  1985  		case 2:
  1986  			if wireType != 2 {
  1987  				return fmt.Errorf("proto: wrong wireType = %d for field SourceType", wireType)
  1988  			}
  1989  			var stringLen uint64
  1990  			for shift := uint(0); ; shift += 7 {
  1991  				if shift >= 64 {
  1992  					return ErrIntOverflowPlugin
  1993  				}
  1994  				if iNdEx >= l {
  1995  					return io.ErrUnexpectedEOF
  1996  				}
  1997  				b := dAtA[iNdEx]
  1998  				iNdEx++
  1999  				stringLen |= uint64(b&0x7F) << shift
  2000  				if b < 0x80 {
  2001  					break
  2002  				}
  2003  			}
  2004  			intStringLen := int(stringLen)
  2005  			if intStringLen < 0 {
  2006  				return ErrInvalidLengthPlugin
  2007  			}
  2008  			postIndex := iNdEx + intStringLen
  2009  			if postIndex < 0 {
  2010  				return ErrInvalidLengthPlugin
  2011  			}
  2012  			if postIndex > l {
  2013  				return io.ErrUnexpectedEOF
  2014  			}
  2015  			m.SourceType = string(dAtA[iNdEx:postIndex])
  2016  			iNdEx = postIndex
  2017  		default:
  2018  			iNdEx = preIndex
  2019  			skippy, err := skipPlugin(dAtA[iNdEx:])
  2020  			if err != nil {
  2021  				return err
  2022  			}
  2023  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2024  				return ErrInvalidLengthPlugin
  2025  			}
  2026  			if (iNdEx + skippy) > l {
  2027  				return io.ErrUnexpectedEOF
  2028  			}
  2029  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2030  			iNdEx += skippy
  2031  		}
  2032  	}
  2033  
  2034  	if iNdEx > l {
  2035  		return io.ErrUnexpectedEOF
  2036  	}
  2037  	return nil
  2038  }
  2039  func (m *RepositoryResponse) Unmarshal(dAtA []byte) error {
  2040  	l := len(dAtA)
  2041  	iNdEx := 0
  2042  	for iNdEx < l {
  2043  		preIndex := iNdEx
  2044  		var wire uint64
  2045  		for shift := uint(0); ; shift += 7 {
  2046  			if shift >= 64 {
  2047  				return ErrIntOverflowPlugin
  2048  			}
  2049  			if iNdEx >= l {
  2050  				return io.ErrUnexpectedEOF
  2051  			}
  2052  			b := dAtA[iNdEx]
  2053  			iNdEx++
  2054  			wire |= uint64(b&0x7F) << shift
  2055  			if b < 0x80 {
  2056  				break
  2057  			}
  2058  		}
  2059  		fieldNum := int32(wire >> 3)
  2060  		wireType := int(wire & 0x7)
  2061  		if wireType == 4 {
  2062  			return fmt.Errorf("proto: RepositoryResponse: wiretype end group for non-group")
  2063  		}
  2064  		if fieldNum <= 0 {
  2065  			return fmt.Errorf("proto: RepositoryResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2066  		}
  2067  		switch fieldNum {
  2068  		case 1:
  2069  			if wireType != 0 {
  2070  				return fmt.Errorf("proto: wrong wireType = %d for field IsSupported", wireType)
  2071  			}
  2072  			var v int
  2073  			for shift := uint(0); ; shift += 7 {
  2074  				if shift >= 64 {
  2075  					return ErrIntOverflowPlugin
  2076  				}
  2077  				if iNdEx >= l {
  2078  					return io.ErrUnexpectedEOF
  2079  				}
  2080  				b := dAtA[iNdEx]
  2081  				iNdEx++
  2082  				v |= int(b&0x7F) << shift
  2083  				if b < 0x80 {
  2084  					break
  2085  				}
  2086  			}
  2087  			m.IsSupported = bool(v != 0)
  2088  		case 2:
  2089  			if wireType != 0 {
  2090  				return fmt.Errorf("proto: wrong wireType = %d for field IsDiscoveryEnabled", wireType)
  2091  			}
  2092  			var v int
  2093  			for shift := uint(0); ; shift += 7 {
  2094  				if shift >= 64 {
  2095  					return ErrIntOverflowPlugin
  2096  				}
  2097  				if iNdEx >= l {
  2098  					return io.ErrUnexpectedEOF
  2099  				}
  2100  				b := dAtA[iNdEx]
  2101  				iNdEx++
  2102  				v |= int(b&0x7F) << shift
  2103  				if b < 0x80 {
  2104  					break
  2105  				}
  2106  			}
  2107  			m.IsDiscoveryEnabled = bool(v != 0)
  2108  		default:
  2109  			iNdEx = preIndex
  2110  			skippy, err := skipPlugin(dAtA[iNdEx:])
  2111  			if err != nil {
  2112  				return err
  2113  			}
  2114  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2115  				return ErrInvalidLengthPlugin
  2116  			}
  2117  			if (iNdEx + skippy) > l {
  2118  				return io.ErrUnexpectedEOF
  2119  			}
  2120  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2121  			iNdEx += skippy
  2122  		}
  2123  	}
  2124  
  2125  	if iNdEx > l {
  2126  		return io.ErrUnexpectedEOF
  2127  	}
  2128  	return nil
  2129  }
  2130  func (m *ParametersAnnouncementResponse) Unmarshal(dAtA []byte) error {
  2131  	l := len(dAtA)
  2132  	iNdEx := 0
  2133  	for iNdEx < l {
  2134  		preIndex := iNdEx
  2135  		var wire uint64
  2136  		for shift := uint(0); ; shift += 7 {
  2137  			if shift >= 64 {
  2138  				return ErrIntOverflowPlugin
  2139  			}
  2140  			if iNdEx >= l {
  2141  				return io.ErrUnexpectedEOF
  2142  			}
  2143  			b := dAtA[iNdEx]
  2144  			iNdEx++
  2145  			wire |= uint64(b&0x7F) << shift
  2146  			if b < 0x80 {
  2147  				break
  2148  			}
  2149  		}
  2150  		fieldNum := int32(wire >> 3)
  2151  		wireType := int(wire & 0x7)
  2152  		if wireType == 4 {
  2153  			return fmt.Errorf("proto: ParametersAnnouncementResponse: wiretype end group for non-group")
  2154  		}
  2155  		if fieldNum <= 0 {
  2156  			return fmt.Errorf("proto: ParametersAnnouncementResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2157  		}
  2158  		switch fieldNum {
  2159  		case 1:
  2160  			if wireType != 2 {
  2161  				return fmt.Errorf("proto: wrong wireType = %d for field ParameterAnnouncements", wireType)
  2162  			}
  2163  			var msglen int
  2164  			for shift := uint(0); ; shift += 7 {
  2165  				if shift >= 64 {
  2166  					return ErrIntOverflowPlugin
  2167  				}
  2168  				if iNdEx >= l {
  2169  					return io.ErrUnexpectedEOF
  2170  				}
  2171  				b := dAtA[iNdEx]
  2172  				iNdEx++
  2173  				msglen |= int(b&0x7F) << shift
  2174  				if b < 0x80 {
  2175  					break
  2176  				}
  2177  			}
  2178  			if msglen < 0 {
  2179  				return ErrInvalidLengthPlugin
  2180  			}
  2181  			postIndex := iNdEx + msglen
  2182  			if postIndex < 0 {
  2183  				return ErrInvalidLengthPlugin
  2184  			}
  2185  			if postIndex > l {
  2186  				return io.ErrUnexpectedEOF
  2187  			}
  2188  			m.ParameterAnnouncements = append(m.ParameterAnnouncements, &apiclient.ParameterAnnouncement{})
  2189  			if err := m.ParameterAnnouncements[len(m.ParameterAnnouncements)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2190  				return err
  2191  			}
  2192  			iNdEx = postIndex
  2193  		default:
  2194  			iNdEx = preIndex
  2195  			skippy, err := skipPlugin(dAtA[iNdEx:])
  2196  			if err != nil {
  2197  				return err
  2198  			}
  2199  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2200  				return ErrInvalidLengthPlugin
  2201  			}
  2202  			if (iNdEx + skippy) > l {
  2203  				return io.ErrUnexpectedEOF
  2204  			}
  2205  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2206  			iNdEx += skippy
  2207  		}
  2208  	}
  2209  
  2210  	if iNdEx > l {
  2211  		return io.ErrUnexpectedEOF
  2212  	}
  2213  	return nil
  2214  }
  2215  func (m *File) Unmarshal(dAtA []byte) error {
  2216  	l := len(dAtA)
  2217  	iNdEx := 0
  2218  	for iNdEx < l {
  2219  		preIndex := iNdEx
  2220  		var wire uint64
  2221  		for shift := uint(0); ; shift += 7 {
  2222  			if shift >= 64 {
  2223  				return ErrIntOverflowPlugin
  2224  			}
  2225  			if iNdEx >= l {
  2226  				return io.ErrUnexpectedEOF
  2227  			}
  2228  			b := dAtA[iNdEx]
  2229  			iNdEx++
  2230  			wire |= uint64(b&0x7F) << shift
  2231  			if b < 0x80 {
  2232  				break
  2233  			}
  2234  		}
  2235  		fieldNum := int32(wire >> 3)
  2236  		wireType := int(wire & 0x7)
  2237  		if wireType == 4 {
  2238  			return fmt.Errorf("proto: File: wiretype end group for non-group")
  2239  		}
  2240  		if fieldNum <= 0 {
  2241  			return fmt.Errorf("proto: File: illegal tag %d (wire type %d)", fieldNum, wire)
  2242  		}
  2243  		switch fieldNum {
  2244  		case 1:
  2245  			if wireType != 2 {
  2246  				return fmt.Errorf("proto: wrong wireType = %d for field Chunk", wireType)
  2247  			}
  2248  			var byteLen int
  2249  			for shift := uint(0); ; shift += 7 {
  2250  				if shift >= 64 {
  2251  					return ErrIntOverflowPlugin
  2252  				}
  2253  				if iNdEx >= l {
  2254  					return io.ErrUnexpectedEOF
  2255  				}
  2256  				b := dAtA[iNdEx]
  2257  				iNdEx++
  2258  				byteLen |= int(b&0x7F) << shift
  2259  				if b < 0x80 {
  2260  					break
  2261  				}
  2262  			}
  2263  			if byteLen < 0 {
  2264  				return ErrInvalidLengthPlugin
  2265  			}
  2266  			postIndex := iNdEx + byteLen
  2267  			if postIndex < 0 {
  2268  				return ErrInvalidLengthPlugin
  2269  			}
  2270  			if postIndex > l {
  2271  				return io.ErrUnexpectedEOF
  2272  			}
  2273  			m.Chunk = append(m.Chunk[:0], dAtA[iNdEx:postIndex]...)
  2274  			if m.Chunk == nil {
  2275  				m.Chunk = []byte{}
  2276  			}
  2277  			iNdEx = postIndex
  2278  		default:
  2279  			iNdEx = preIndex
  2280  			skippy, err := skipPlugin(dAtA[iNdEx:])
  2281  			if err != nil {
  2282  				return err
  2283  			}
  2284  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2285  				return ErrInvalidLengthPlugin
  2286  			}
  2287  			if (iNdEx + skippy) > l {
  2288  				return io.ErrUnexpectedEOF
  2289  			}
  2290  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2291  			iNdEx += skippy
  2292  		}
  2293  	}
  2294  
  2295  	if iNdEx > l {
  2296  		return io.ErrUnexpectedEOF
  2297  	}
  2298  	return nil
  2299  }
  2300  func (m *CheckPluginConfigurationResponse) Unmarshal(dAtA []byte) error {
  2301  	l := len(dAtA)
  2302  	iNdEx := 0
  2303  	for iNdEx < l {
  2304  		preIndex := iNdEx
  2305  		var wire uint64
  2306  		for shift := uint(0); ; shift += 7 {
  2307  			if shift >= 64 {
  2308  				return ErrIntOverflowPlugin
  2309  			}
  2310  			if iNdEx >= l {
  2311  				return io.ErrUnexpectedEOF
  2312  			}
  2313  			b := dAtA[iNdEx]
  2314  			iNdEx++
  2315  			wire |= uint64(b&0x7F) << shift
  2316  			if b < 0x80 {
  2317  				break
  2318  			}
  2319  		}
  2320  		fieldNum := int32(wire >> 3)
  2321  		wireType := int(wire & 0x7)
  2322  		if wireType == 4 {
  2323  			return fmt.Errorf("proto: CheckPluginConfigurationResponse: wiretype end group for non-group")
  2324  		}
  2325  		if fieldNum <= 0 {
  2326  			return fmt.Errorf("proto: CheckPluginConfigurationResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2327  		}
  2328  		switch fieldNum {
  2329  		case 1:
  2330  			if wireType != 0 {
  2331  				return fmt.Errorf("proto: wrong wireType = %d for field IsDiscoveryConfigured", wireType)
  2332  			}
  2333  			var v int
  2334  			for shift := uint(0); ; shift += 7 {
  2335  				if shift >= 64 {
  2336  					return ErrIntOverflowPlugin
  2337  				}
  2338  				if iNdEx >= l {
  2339  					return io.ErrUnexpectedEOF
  2340  				}
  2341  				b := dAtA[iNdEx]
  2342  				iNdEx++
  2343  				v |= int(b&0x7F) << shift
  2344  				if b < 0x80 {
  2345  					break
  2346  				}
  2347  			}
  2348  			m.IsDiscoveryConfigured = bool(v != 0)
  2349  		case 2:
  2350  			if wireType != 0 {
  2351  				return fmt.Errorf("proto: wrong wireType = %d for field ProvideGitCreds", wireType)
  2352  			}
  2353  			var v int
  2354  			for shift := uint(0); ; shift += 7 {
  2355  				if shift >= 64 {
  2356  					return ErrIntOverflowPlugin
  2357  				}
  2358  				if iNdEx >= l {
  2359  					return io.ErrUnexpectedEOF
  2360  				}
  2361  				b := dAtA[iNdEx]
  2362  				iNdEx++
  2363  				v |= int(b&0x7F) << shift
  2364  				if b < 0x80 {
  2365  					break
  2366  				}
  2367  			}
  2368  			m.ProvideGitCreds = bool(v != 0)
  2369  		default:
  2370  			iNdEx = preIndex
  2371  			skippy, err := skipPlugin(dAtA[iNdEx:])
  2372  			if err != nil {
  2373  				return err
  2374  			}
  2375  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2376  				return ErrInvalidLengthPlugin
  2377  			}
  2378  			if (iNdEx + skippy) > l {
  2379  				return io.ErrUnexpectedEOF
  2380  			}
  2381  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2382  			iNdEx += skippy
  2383  		}
  2384  	}
  2385  
  2386  	if iNdEx > l {
  2387  		return io.ErrUnexpectedEOF
  2388  	}
  2389  	return nil
  2390  }
  2391  func skipPlugin(dAtA []byte) (n int, err error) {
  2392  	l := len(dAtA)
  2393  	iNdEx := 0
  2394  	depth := 0
  2395  	for iNdEx < l {
  2396  		var wire uint64
  2397  		for shift := uint(0); ; shift += 7 {
  2398  			if shift >= 64 {
  2399  				return 0, ErrIntOverflowPlugin
  2400  			}
  2401  			if iNdEx >= l {
  2402  				return 0, io.ErrUnexpectedEOF
  2403  			}
  2404  			b := dAtA[iNdEx]
  2405  			iNdEx++
  2406  			wire |= (uint64(b) & 0x7F) << shift
  2407  			if b < 0x80 {
  2408  				break
  2409  			}
  2410  		}
  2411  		wireType := int(wire & 0x7)
  2412  		switch wireType {
  2413  		case 0:
  2414  			for shift := uint(0); ; shift += 7 {
  2415  				if shift >= 64 {
  2416  					return 0, ErrIntOverflowPlugin
  2417  				}
  2418  				if iNdEx >= l {
  2419  					return 0, io.ErrUnexpectedEOF
  2420  				}
  2421  				iNdEx++
  2422  				if dAtA[iNdEx-1] < 0x80 {
  2423  					break
  2424  				}
  2425  			}
  2426  		case 1:
  2427  			iNdEx += 8
  2428  		case 2:
  2429  			var length int
  2430  			for shift := uint(0); ; shift += 7 {
  2431  				if shift >= 64 {
  2432  					return 0, ErrIntOverflowPlugin
  2433  				}
  2434  				if iNdEx >= l {
  2435  					return 0, io.ErrUnexpectedEOF
  2436  				}
  2437  				b := dAtA[iNdEx]
  2438  				iNdEx++
  2439  				length |= (int(b) & 0x7F) << shift
  2440  				if b < 0x80 {
  2441  					break
  2442  				}
  2443  			}
  2444  			if length < 0 {
  2445  				return 0, ErrInvalidLengthPlugin
  2446  			}
  2447  			iNdEx += length
  2448  		case 3:
  2449  			depth++
  2450  		case 4:
  2451  			if depth == 0 {
  2452  				return 0, ErrUnexpectedEndOfGroupPlugin
  2453  			}
  2454  			depth--
  2455  		case 5:
  2456  			iNdEx += 4
  2457  		default:
  2458  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  2459  		}
  2460  		if iNdEx < 0 {
  2461  			return 0, ErrInvalidLengthPlugin
  2462  		}
  2463  		if depth == 0 {
  2464  			return iNdEx, nil
  2465  		}
  2466  	}
  2467  	return 0, io.ErrUnexpectedEOF
  2468  }
  2469  
  2470  var (
  2471  	ErrInvalidLengthPlugin        = fmt.Errorf("proto: negative length found during unmarshaling")
  2472  	ErrIntOverflowPlugin          = fmt.Errorf("proto: integer overflow")
  2473  	ErrUnexpectedEndOfGroupPlugin = fmt.Errorf("proto: unexpected end of group")
  2474  )