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

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