github.com/containerd/Containerd@v1.4.13/api/services/images/v1/images.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: github.com/containerd/containerd/api/services/images/v1/images.proto
     3  
     4  package images
     5  
     6  import (
     7  	context "context"
     8  	fmt "fmt"
     9  	types "github.com/containerd/containerd/api/types"
    10  	proto "github.com/gogo/protobuf/proto"
    11  	github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
    12  	github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
    13  	types1 "github.com/gogo/protobuf/types"
    14  	grpc "google.golang.org/grpc"
    15  	codes "google.golang.org/grpc/codes"
    16  	status "google.golang.org/grpc/status"
    17  	io "io"
    18  	math "math"
    19  	math_bits "math/bits"
    20  	reflect "reflect"
    21  	strings "strings"
    22  	time "time"
    23  )
    24  
    25  // Reference imports to suppress errors if they are not otherwise used.
    26  var _ = proto.Marshal
    27  var _ = fmt.Errorf
    28  var _ = math.Inf
    29  var _ = time.Kitchen
    30  
    31  // This is a compile-time assertion to ensure that this generated file
    32  // is compatible with the proto package it is being compiled against.
    33  // A compilation error at this line likely means your copy of the
    34  // proto package needs to be updated.
    35  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    36  
    37  type Image struct {
    38  	// Name provides a unique name for the image.
    39  	//
    40  	// Containerd treats this as the primary identifier.
    41  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    42  	// Labels provides free form labels for the image. These are runtime only
    43  	// and do not get inherited into the package image in any way.
    44  	//
    45  	// Labels may be updated using the field mask.
    46  	// The combined size of a key/value pair cannot exceed 4096 bytes.
    47  	Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    48  	// Target describes the content entry point of the image.
    49  	Target types.Descriptor `protobuf:"bytes,3,opt,name=target,proto3" json:"target"`
    50  	// CreatedAt is the time the image was first created.
    51  	CreatedAt time.Time `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"`
    52  	// UpdatedAt is the last time the image was mutated.
    53  	UpdatedAt            time.Time `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at"`
    54  	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
    55  	XXX_unrecognized     []byte    `json:"-"`
    56  	XXX_sizecache        int32     `json:"-"`
    57  }
    58  
    59  func (m *Image) Reset()      { *m = Image{} }
    60  func (*Image) ProtoMessage() {}
    61  func (*Image) Descriptor() ([]byte, []int) {
    62  	return fileDescriptor_8666fa071128ae5f, []int{0}
    63  }
    64  func (m *Image) XXX_Unmarshal(b []byte) error {
    65  	return m.Unmarshal(b)
    66  }
    67  func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    68  	if deterministic {
    69  		return xxx_messageInfo_Image.Marshal(b, m, deterministic)
    70  	} else {
    71  		b = b[:cap(b)]
    72  		n, err := m.MarshalToSizedBuffer(b)
    73  		if err != nil {
    74  			return nil, err
    75  		}
    76  		return b[:n], nil
    77  	}
    78  }
    79  func (m *Image) XXX_Merge(src proto.Message) {
    80  	xxx_messageInfo_Image.Merge(m, src)
    81  }
    82  func (m *Image) XXX_Size() int {
    83  	return m.Size()
    84  }
    85  func (m *Image) XXX_DiscardUnknown() {
    86  	xxx_messageInfo_Image.DiscardUnknown(m)
    87  }
    88  
    89  var xxx_messageInfo_Image proto.InternalMessageInfo
    90  
    91  type GetImageRequest struct {
    92  	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    93  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    94  	XXX_unrecognized     []byte   `json:"-"`
    95  	XXX_sizecache        int32    `json:"-"`
    96  }
    97  
    98  func (m *GetImageRequest) Reset()      { *m = GetImageRequest{} }
    99  func (*GetImageRequest) ProtoMessage() {}
   100  func (*GetImageRequest) Descriptor() ([]byte, []int) {
   101  	return fileDescriptor_8666fa071128ae5f, []int{1}
   102  }
   103  func (m *GetImageRequest) XXX_Unmarshal(b []byte) error {
   104  	return m.Unmarshal(b)
   105  }
   106  func (m *GetImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   107  	if deterministic {
   108  		return xxx_messageInfo_GetImageRequest.Marshal(b, m, deterministic)
   109  	} else {
   110  		b = b[:cap(b)]
   111  		n, err := m.MarshalToSizedBuffer(b)
   112  		if err != nil {
   113  			return nil, err
   114  		}
   115  		return b[:n], nil
   116  	}
   117  }
   118  func (m *GetImageRequest) XXX_Merge(src proto.Message) {
   119  	xxx_messageInfo_GetImageRequest.Merge(m, src)
   120  }
   121  func (m *GetImageRequest) XXX_Size() int {
   122  	return m.Size()
   123  }
   124  func (m *GetImageRequest) XXX_DiscardUnknown() {
   125  	xxx_messageInfo_GetImageRequest.DiscardUnknown(m)
   126  }
   127  
   128  var xxx_messageInfo_GetImageRequest proto.InternalMessageInfo
   129  
   130  type GetImageResponse struct {
   131  	Image                *Image   `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
   132  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   133  	XXX_unrecognized     []byte   `json:"-"`
   134  	XXX_sizecache        int32    `json:"-"`
   135  }
   136  
   137  func (m *GetImageResponse) Reset()      { *m = GetImageResponse{} }
   138  func (*GetImageResponse) ProtoMessage() {}
   139  func (*GetImageResponse) Descriptor() ([]byte, []int) {
   140  	return fileDescriptor_8666fa071128ae5f, []int{2}
   141  }
   142  func (m *GetImageResponse) XXX_Unmarshal(b []byte) error {
   143  	return m.Unmarshal(b)
   144  }
   145  func (m *GetImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   146  	if deterministic {
   147  		return xxx_messageInfo_GetImageResponse.Marshal(b, m, deterministic)
   148  	} else {
   149  		b = b[:cap(b)]
   150  		n, err := m.MarshalToSizedBuffer(b)
   151  		if err != nil {
   152  			return nil, err
   153  		}
   154  		return b[:n], nil
   155  	}
   156  }
   157  func (m *GetImageResponse) XXX_Merge(src proto.Message) {
   158  	xxx_messageInfo_GetImageResponse.Merge(m, src)
   159  }
   160  func (m *GetImageResponse) XXX_Size() int {
   161  	return m.Size()
   162  }
   163  func (m *GetImageResponse) XXX_DiscardUnknown() {
   164  	xxx_messageInfo_GetImageResponse.DiscardUnknown(m)
   165  }
   166  
   167  var xxx_messageInfo_GetImageResponse proto.InternalMessageInfo
   168  
   169  type CreateImageRequest struct {
   170  	Image                Image    `protobuf:"bytes,1,opt,name=image,proto3" json:"image"`
   171  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   172  	XXX_unrecognized     []byte   `json:"-"`
   173  	XXX_sizecache        int32    `json:"-"`
   174  }
   175  
   176  func (m *CreateImageRequest) Reset()      { *m = CreateImageRequest{} }
   177  func (*CreateImageRequest) ProtoMessage() {}
   178  func (*CreateImageRequest) Descriptor() ([]byte, []int) {
   179  	return fileDescriptor_8666fa071128ae5f, []int{3}
   180  }
   181  func (m *CreateImageRequest) XXX_Unmarshal(b []byte) error {
   182  	return m.Unmarshal(b)
   183  }
   184  func (m *CreateImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   185  	if deterministic {
   186  		return xxx_messageInfo_CreateImageRequest.Marshal(b, m, deterministic)
   187  	} else {
   188  		b = b[:cap(b)]
   189  		n, err := m.MarshalToSizedBuffer(b)
   190  		if err != nil {
   191  			return nil, err
   192  		}
   193  		return b[:n], nil
   194  	}
   195  }
   196  func (m *CreateImageRequest) XXX_Merge(src proto.Message) {
   197  	xxx_messageInfo_CreateImageRequest.Merge(m, src)
   198  }
   199  func (m *CreateImageRequest) XXX_Size() int {
   200  	return m.Size()
   201  }
   202  func (m *CreateImageRequest) XXX_DiscardUnknown() {
   203  	xxx_messageInfo_CreateImageRequest.DiscardUnknown(m)
   204  }
   205  
   206  var xxx_messageInfo_CreateImageRequest proto.InternalMessageInfo
   207  
   208  type CreateImageResponse struct {
   209  	Image                Image    `protobuf:"bytes,1,opt,name=image,proto3" json:"image"`
   210  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   211  	XXX_unrecognized     []byte   `json:"-"`
   212  	XXX_sizecache        int32    `json:"-"`
   213  }
   214  
   215  func (m *CreateImageResponse) Reset()      { *m = CreateImageResponse{} }
   216  func (*CreateImageResponse) ProtoMessage() {}
   217  func (*CreateImageResponse) Descriptor() ([]byte, []int) {
   218  	return fileDescriptor_8666fa071128ae5f, []int{4}
   219  }
   220  func (m *CreateImageResponse) XXX_Unmarshal(b []byte) error {
   221  	return m.Unmarshal(b)
   222  }
   223  func (m *CreateImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   224  	if deterministic {
   225  		return xxx_messageInfo_CreateImageResponse.Marshal(b, m, deterministic)
   226  	} else {
   227  		b = b[:cap(b)]
   228  		n, err := m.MarshalToSizedBuffer(b)
   229  		if err != nil {
   230  			return nil, err
   231  		}
   232  		return b[:n], nil
   233  	}
   234  }
   235  func (m *CreateImageResponse) XXX_Merge(src proto.Message) {
   236  	xxx_messageInfo_CreateImageResponse.Merge(m, src)
   237  }
   238  func (m *CreateImageResponse) XXX_Size() int {
   239  	return m.Size()
   240  }
   241  func (m *CreateImageResponse) XXX_DiscardUnknown() {
   242  	xxx_messageInfo_CreateImageResponse.DiscardUnknown(m)
   243  }
   244  
   245  var xxx_messageInfo_CreateImageResponse proto.InternalMessageInfo
   246  
   247  type UpdateImageRequest struct {
   248  	// Image provides a full or partial image for update.
   249  	//
   250  	// The name field must be set or an error will be returned.
   251  	Image Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image"`
   252  	// UpdateMask specifies which fields to perform the update on. If empty,
   253  	// the operation applies to all fields.
   254  	UpdateMask           *types1.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
   255  	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
   256  	XXX_unrecognized     []byte            `json:"-"`
   257  	XXX_sizecache        int32             `json:"-"`
   258  }
   259  
   260  func (m *UpdateImageRequest) Reset()      { *m = UpdateImageRequest{} }
   261  func (*UpdateImageRequest) ProtoMessage() {}
   262  func (*UpdateImageRequest) Descriptor() ([]byte, []int) {
   263  	return fileDescriptor_8666fa071128ae5f, []int{5}
   264  }
   265  func (m *UpdateImageRequest) XXX_Unmarshal(b []byte) error {
   266  	return m.Unmarshal(b)
   267  }
   268  func (m *UpdateImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   269  	if deterministic {
   270  		return xxx_messageInfo_UpdateImageRequest.Marshal(b, m, deterministic)
   271  	} else {
   272  		b = b[:cap(b)]
   273  		n, err := m.MarshalToSizedBuffer(b)
   274  		if err != nil {
   275  			return nil, err
   276  		}
   277  		return b[:n], nil
   278  	}
   279  }
   280  func (m *UpdateImageRequest) XXX_Merge(src proto.Message) {
   281  	xxx_messageInfo_UpdateImageRequest.Merge(m, src)
   282  }
   283  func (m *UpdateImageRequest) XXX_Size() int {
   284  	return m.Size()
   285  }
   286  func (m *UpdateImageRequest) XXX_DiscardUnknown() {
   287  	xxx_messageInfo_UpdateImageRequest.DiscardUnknown(m)
   288  }
   289  
   290  var xxx_messageInfo_UpdateImageRequest proto.InternalMessageInfo
   291  
   292  type UpdateImageResponse struct {
   293  	Image                Image    `protobuf:"bytes,1,opt,name=image,proto3" json:"image"`
   294  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   295  	XXX_unrecognized     []byte   `json:"-"`
   296  	XXX_sizecache        int32    `json:"-"`
   297  }
   298  
   299  func (m *UpdateImageResponse) Reset()      { *m = UpdateImageResponse{} }
   300  func (*UpdateImageResponse) ProtoMessage() {}
   301  func (*UpdateImageResponse) Descriptor() ([]byte, []int) {
   302  	return fileDescriptor_8666fa071128ae5f, []int{6}
   303  }
   304  func (m *UpdateImageResponse) XXX_Unmarshal(b []byte) error {
   305  	return m.Unmarshal(b)
   306  }
   307  func (m *UpdateImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   308  	if deterministic {
   309  		return xxx_messageInfo_UpdateImageResponse.Marshal(b, m, deterministic)
   310  	} else {
   311  		b = b[:cap(b)]
   312  		n, err := m.MarshalToSizedBuffer(b)
   313  		if err != nil {
   314  			return nil, err
   315  		}
   316  		return b[:n], nil
   317  	}
   318  }
   319  func (m *UpdateImageResponse) XXX_Merge(src proto.Message) {
   320  	xxx_messageInfo_UpdateImageResponse.Merge(m, src)
   321  }
   322  func (m *UpdateImageResponse) XXX_Size() int {
   323  	return m.Size()
   324  }
   325  func (m *UpdateImageResponse) XXX_DiscardUnknown() {
   326  	xxx_messageInfo_UpdateImageResponse.DiscardUnknown(m)
   327  }
   328  
   329  var xxx_messageInfo_UpdateImageResponse proto.InternalMessageInfo
   330  
   331  type ListImagesRequest struct {
   332  	// Filters contains one or more filters using the syntax defined in the
   333  	// containerd filter package.
   334  	//
   335  	// The returned result will be those that match any of the provided
   336  	// filters. Expanded, images that match the following will be
   337  	// returned:
   338  	//
   339  	//   filters[0] or filters[1] or ... or filters[n-1] or filters[n]
   340  	//
   341  	// If filters is zero-length or nil, all items will be returned.
   342  	Filters              []string `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
   343  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   344  	XXX_unrecognized     []byte   `json:"-"`
   345  	XXX_sizecache        int32    `json:"-"`
   346  }
   347  
   348  func (m *ListImagesRequest) Reset()      { *m = ListImagesRequest{} }
   349  func (*ListImagesRequest) ProtoMessage() {}
   350  func (*ListImagesRequest) Descriptor() ([]byte, []int) {
   351  	return fileDescriptor_8666fa071128ae5f, []int{7}
   352  }
   353  func (m *ListImagesRequest) XXX_Unmarshal(b []byte) error {
   354  	return m.Unmarshal(b)
   355  }
   356  func (m *ListImagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   357  	if deterministic {
   358  		return xxx_messageInfo_ListImagesRequest.Marshal(b, m, deterministic)
   359  	} else {
   360  		b = b[:cap(b)]
   361  		n, err := m.MarshalToSizedBuffer(b)
   362  		if err != nil {
   363  			return nil, err
   364  		}
   365  		return b[:n], nil
   366  	}
   367  }
   368  func (m *ListImagesRequest) XXX_Merge(src proto.Message) {
   369  	xxx_messageInfo_ListImagesRequest.Merge(m, src)
   370  }
   371  func (m *ListImagesRequest) XXX_Size() int {
   372  	return m.Size()
   373  }
   374  func (m *ListImagesRequest) XXX_DiscardUnknown() {
   375  	xxx_messageInfo_ListImagesRequest.DiscardUnknown(m)
   376  }
   377  
   378  var xxx_messageInfo_ListImagesRequest proto.InternalMessageInfo
   379  
   380  type ListImagesResponse struct {
   381  	Images               []Image  `protobuf:"bytes,1,rep,name=images,proto3" json:"images"`
   382  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   383  	XXX_unrecognized     []byte   `json:"-"`
   384  	XXX_sizecache        int32    `json:"-"`
   385  }
   386  
   387  func (m *ListImagesResponse) Reset()      { *m = ListImagesResponse{} }
   388  func (*ListImagesResponse) ProtoMessage() {}
   389  func (*ListImagesResponse) Descriptor() ([]byte, []int) {
   390  	return fileDescriptor_8666fa071128ae5f, []int{8}
   391  }
   392  func (m *ListImagesResponse) XXX_Unmarshal(b []byte) error {
   393  	return m.Unmarshal(b)
   394  }
   395  func (m *ListImagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   396  	if deterministic {
   397  		return xxx_messageInfo_ListImagesResponse.Marshal(b, m, deterministic)
   398  	} else {
   399  		b = b[:cap(b)]
   400  		n, err := m.MarshalToSizedBuffer(b)
   401  		if err != nil {
   402  			return nil, err
   403  		}
   404  		return b[:n], nil
   405  	}
   406  }
   407  func (m *ListImagesResponse) XXX_Merge(src proto.Message) {
   408  	xxx_messageInfo_ListImagesResponse.Merge(m, src)
   409  }
   410  func (m *ListImagesResponse) XXX_Size() int {
   411  	return m.Size()
   412  }
   413  func (m *ListImagesResponse) XXX_DiscardUnknown() {
   414  	xxx_messageInfo_ListImagesResponse.DiscardUnknown(m)
   415  }
   416  
   417  var xxx_messageInfo_ListImagesResponse proto.InternalMessageInfo
   418  
   419  type DeleteImageRequest struct {
   420  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   421  	// Sync indicates that the delete and cleanup should be done
   422  	// synchronously before returning to the caller
   423  	//
   424  	// Default is false
   425  	Sync                 bool     `protobuf:"varint,2,opt,name=sync,proto3" json:"sync,omitempty"`
   426  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   427  	XXX_unrecognized     []byte   `json:"-"`
   428  	XXX_sizecache        int32    `json:"-"`
   429  }
   430  
   431  func (m *DeleteImageRequest) Reset()      { *m = DeleteImageRequest{} }
   432  func (*DeleteImageRequest) ProtoMessage() {}
   433  func (*DeleteImageRequest) Descriptor() ([]byte, []int) {
   434  	return fileDescriptor_8666fa071128ae5f, []int{9}
   435  }
   436  func (m *DeleteImageRequest) XXX_Unmarshal(b []byte) error {
   437  	return m.Unmarshal(b)
   438  }
   439  func (m *DeleteImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   440  	if deterministic {
   441  		return xxx_messageInfo_DeleteImageRequest.Marshal(b, m, deterministic)
   442  	} else {
   443  		b = b[:cap(b)]
   444  		n, err := m.MarshalToSizedBuffer(b)
   445  		if err != nil {
   446  			return nil, err
   447  		}
   448  		return b[:n], nil
   449  	}
   450  }
   451  func (m *DeleteImageRequest) XXX_Merge(src proto.Message) {
   452  	xxx_messageInfo_DeleteImageRequest.Merge(m, src)
   453  }
   454  func (m *DeleteImageRequest) XXX_Size() int {
   455  	return m.Size()
   456  }
   457  func (m *DeleteImageRequest) XXX_DiscardUnknown() {
   458  	xxx_messageInfo_DeleteImageRequest.DiscardUnknown(m)
   459  }
   460  
   461  var xxx_messageInfo_DeleteImageRequest proto.InternalMessageInfo
   462  
   463  func init() {
   464  	proto.RegisterType((*Image)(nil), "containerd.services.images.v1.Image")
   465  	proto.RegisterMapType((map[string]string)(nil), "containerd.services.images.v1.Image.LabelsEntry")
   466  	proto.RegisterType((*GetImageRequest)(nil), "containerd.services.images.v1.GetImageRequest")
   467  	proto.RegisterType((*GetImageResponse)(nil), "containerd.services.images.v1.GetImageResponse")
   468  	proto.RegisterType((*CreateImageRequest)(nil), "containerd.services.images.v1.CreateImageRequest")
   469  	proto.RegisterType((*CreateImageResponse)(nil), "containerd.services.images.v1.CreateImageResponse")
   470  	proto.RegisterType((*UpdateImageRequest)(nil), "containerd.services.images.v1.UpdateImageRequest")
   471  	proto.RegisterType((*UpdateImageResponse)(nil), "containerd.services.images.v1.UpdateImageResponse")
   472  	proto.RegisterType((*ListImagesRequest)(nil), "containerd.services.images.v1.ListImagesRequest")
   473  	proto.RegisterType((*ListImagesResponse)(nil), "containerd.services.images.v1.ListImagesResponse")
   474  	proto.RegisterType((*DeleteImageRequest)(nil), "containerd.services.images.v1.DeleteImageRequest")
   475  }
   476  
   477  func init() {
   478  	proto.RegisterFile("github.com/containerd/containerd/api/services/images/v1/images.proto", fileDescriptor_8666fa071128ae5f)
   479  }
   480  
   481  var fileDescriptor_8666fa071128ae5f = []byte{
   482  	// 659 bytes of a gzipped FileDescriptorProto
   483  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcd, 0x6e, 0xd3, 0x40,
   484  	0x10, 0x8e, 0x93, 0xd4, 0x6d, 0x27, 0x07, 0xca, 0x52, 0x21, 0xcb, 0x40, 0x1a, 0x45, 0x20, 0xe5,
   485  	0xc2, 0x9a, 0x86, 0x0b, 0xb4, 0x08, 0xd1, 0xb4, 0xa5, 0x20, 0x15, 0x0e, 0xe6, 0xaf, 0xe2, 0x52,
   486  	0x6d, 0x92, 0x89, 0xb1, 0x62, 0xc7, 0xc6, 0xbb, 0x89, 0x94, 0x1b, 0x8f, 0x80, 0x04, 0x0f, 0xd5,
   487  	0x23, 0x47, 0x4e, 0x40, 0x73, 0xe0, 0x39, 0x90, 0x77, 0x37, 0x34, 0x4d, 0x22, 0x92, 0x94, 0xde,
   488  	0x66, 0xed, 0xef, 0x9b, 0x9f, 0x6f, 0x66, 0x76, 0x61, 0xcf, 0xf3, 0xc5, 0x87, 0x6e, 0x9d, 0x36,
   489  	0xa2, 0xd0, 0x69, 0x44, 0x1d, 0xc1, 0xfc, 0x0e, 0x26, 0xcd, 0x51, 0x93, 0xc5, 0xbe, 0xc3, 0x31,
   490  	0xe9, 0xf9, 0x0d, 0xe4, 0x8e, 0x1f, 0x32, 0x0f, 0xb9, 0xd3, 0xdb, 0xd4, 0x16, 0x8d, 0x93, 0x48,
   491  	0x44, 0xe4, 0xd6, 0x19, 0x9e, 0x0e, 0xb1, 0x54, 0x23, 0x7a, 0x9b, 0xf6, 0xba, 0x17, 0x79, 0x91,
   492  	0x44, 0x3a, 0xa9, 0xa5, 0x48, 0xf6, 0x0d, 0x2f, 0x8a, 0xbc, 0x00, 0x1d, 0x79, 0xaa, 0x77, 0x5b,
   493  	0x0e, 0x86, 0xb1, 0xe8, 0xeb, 0x9f, 0xa5, 0xf1, 0x9f, 0x2d, 0x1f, 0x83, 0xe6, 0x71, 0xc8, 0x78,
   494  	0x5b, 0x23, 0x36, 0xc6, 0x11, 0xc2, 0x0f, 0x91, 0x0b, 0x16, 0xc6, 0x1a, 0xb0, 0x3d, 0x57, 0x69,
   495  	0xa2, 0x1f, 0x23, 0x77, 0x9a, 0xc8, 0x1b, 0x89, 0x1f, 0x8b, 0x28, 0x51, 0xe4, 0xf2, 0xef, 0x2c,
   496  	0x2c, 0x3d, 0x4f, 0x0b, 0x20, 0x04, 0xf2, 0x1d, 0x16, 0xa2, 0x65, 0x94, 0x8c, 0xca, 0xaa, 0x2b,
   497  	0x6d, 0xf2, 0x0c, 0xcc, 0x80, 0xd5, 0x31, 0xe0, 0x56, 0xb6, 0x94, 0xab, 0x14, 0xaa, 0xf7, 0xe8,
   498  	0x3f, 0x05, 0xa0, 0xd2, 0x13, 0x3d, 0x94, 0x94, 0xfd, 0x8e, 0x48, 0xfa, 0xae, 0xe6, 0x93, 0x2d,
   499  	0x30, 0x05, 0x4b, 0x3c, 0x14, 0x56, 0xae, 0x64, 0x54, 0x0a, 0xd5, 0x9b, 0xa3, 0x9e, 0x64, 0x6e,
   500  	0x74, 0xef, 0x6f, 0x6e, 0xb5, 0xfc, 0xc9, 0x8f, 0x8d, 0x8c, 0xab, 0x19, 0x64, 0x17, 0xa0, 0x91,
   501  	0x20, 0x13, 0xd8, 0x3c, 0x66, 0xc2, 0x5a, 0x96, 0x7c, 0x9b, 0x2a, 0x59, 0xe8, 0x50, 0x16, 0xfa,
   502  	0x7a, 0x28, 0x4b, 0x6d, 0x25, 0x65, 0x7f, 0xfe, 0xb9, 0x61, 0xb8, 0xab, 0x9a, 0xb7, 0x23, 0x9d,
   503  	0x74, 0xe3, 0xe6, 0xd0, 0xc9, 0xca, 0x22, 0x4e, 0x34, 0x6f, 0x47, 0xd8, 0x0f, 0xa1, 0x30, 0x52,
   504  	0x1c, 0x59, 0x83, 0x5c, 0x1b, 0xfb, 0x5a, 0xb1, 0xd4, 0x24, 0xeb, 0xb0, 0xd4, 0x63, 0x41, 0x17,
   505  	0xad, 0xac, 0xfc, 0xa6, 0x0e, 0x5b, 0xd9, 0x07, 0x46, 0xf9, 0x0e, 0x5c, 0x39, 0x40, 0x21, 0x05,
   506  	0x72, 0xf1, 0x63, 0x17, 0xb9, 0x98, 0xa6, 0x78, 0xf9, 0x25, 0xac, 0x9d, 0xc1, 0x78, 0x1c, 0x75,
   507  	0x38, 0x92, 0x2d, 0x58, 0x92, 0x12, 0x4b, 0x60, 0xa1, 0x7a, 0x7b, 0x9e, 0x26, 0xb8, 0x8a, 0x52,
   508  	0x7e, 0x0b, 0x64, 0x57, 0x6a, 0x70, 0x2e, 0xf2, 0x93, 0x0b, 0x78, 0xd4, 0x4d, 0xd1, 0x7e, 0xdf,
   509  	0xc1, 0xb5, 0x73, 0x7e, 0x75, 0xaa, 0xff, 0xef, 0xf8, 0x8b, 0x01, 0xe4, 0x8d, 0x14, 0xfc, 0x72,
   510  	0x33, 0x26, 0xdb, 0x50, 0x50, 0x8d, 0x94, 0xcb, 0x25, 0x1b, 0x34, 0x6d, 0x02, 0x9e, 0xa6, 0xfb,
   511  	0xf7, 0x82, 0xf1, 0xb6, 0xab, 0xe7, 0x25, 0xb5, 0xd3, 0x72, 0xcf, 0x25, 0x75, 0x69, 0xe5, 0xde,
   512  	0x85, 0xab, 0x87, 0x3e, 0x57, 0x0d, 0xe7, 0xc3, 0x62, 0x2d, 0x58, 0x6e, 0xf9, 0x81, 0xc0, 0x84,
   513  	0x5b, 0x46, 0x29, 0x57, 0x59, 0x75, 0x87, 0xc7, 0xf2, 0x11, 0x90, 0x51, 0xb8, 0x4e, 0xa3, 0x06,
   514  	0xa6, 0x0a, 0x22, 0xe1, 0x8b, 0xe5, 0xa1, 0x99, 0xe5, 0x47, 0x40, 0xf6, 0x30, 0xc0, 0x31, 0xd9,
   515  	0xa7, 0x5d, 0x0a, 0x04, 0xf2, 0xbc, 0xdf, 0x69, 0x48, 0x05, 0x57, 0x5c, 0x69, 0x57, 0xbf, 0xe6,
   516  	0xc1, 0x54, 0x49, 0x91, 0x16, 0xe4, 0x0e, 0x50, 0x10, 0x3a, 0x23, 0x87, 0xb1, 0x65, 0xb0, 0x9d,
   517  	0xb9, 0xf1, 0xba, 0xe8, 0x36, 0xe4, 0x53, 0x29, 0xc8, 0xac, 0x3b, 0x69, 0x42, 0x5e, 0x7b, 0x73,
   518  	0x01, 0x86, 0x0e, 0x16, 0x81, 0xa9, 0xc6, 0x9d, 0xcc, 0x22, 0x4f, 0x6e, 0x9b, 0x5d, 0x5d, 0x84,
   519  	0x72, 0x16, 0x50, 0x0d, 0xdc, 0xcc, 0x80, 0x93, 0xcb, 0x32, 0x33, 0xe0, 0xb4, 0x51, 0x7e, 0x05,
   520  	0xa6, 0xea, 0xff, 0xcc, 0x80, 0x93, 0x63, 0x62, 0x5f, 0x9f, 0x58, 0xa3, 0xfd, 0xf4, 0x8d, 0xab,
   521  	0x1d, 0x9d, 0x9c, 0x16, 0x33, 0xdf, 0x4f, 0x8b, 0x99, 0x4f, 0x83, 0xa2, 0x71, 0x32, 0x28, 0x1a,
   522  	0xdf, 0x06, 0x45, 0xe3, 0xd7, 0xa0, 0x68, 0xbc, 0x7f, 0x7c, 0xc1, 0xf7, 0x78, 0x5b, 0x59, 0x47,
   523  	0x99, 0xba, 0x29, 0x63, 0xdd, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0x24, 0x4e, 0xca, 0x64, 0xda,
   524  	0x07, 0x00, 0x00,
   525  }
   526  
   527  // Reference imports to suppress errors if they are not otherwise used.
   528  var _ context.Context
   529  var _ grpc.ClientConn
   530  
   531  // This is a compile-time assertion to ensure that this generated file
   532  // is compatible with the grpc package it is being compiled against.
   533  const _ = grpc.SupportPackageIsVersion4
   534  
   535  // ImagesClient is the client API for Images service.
   536  //
   537  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   538  type ImagesClient interface {
   539  	// Get returns an image by name.
   540  	Get(ctx context.Context, in *GetImageRequest, opts ...grpc.CallOption) (*GetImageResponse, error)
   541  	// List returns a list of all images known to containerd.
   542  	List(ctx context.Context, in *ListImagesRequest, opts ...grpc.CallOption) (*ListImagesResponse, error)
   543  	// Create an image record in the metadata store.
   544  	//
   545  	// The name of the image must be unique.
   546  	Create(ctx context.Context, in *CreateImageRequest, opts ...grpc.CallOption) (*CreateImageResponse, error)
   547  	// Update assigns the name to a given target image based on the provided
   548  	// image.
   549  	Update(ctx context.Context, in *UpdateImageRequest, opts ...grpc.CallOption) (*UpdateImageResponse, error)
   550  	// Delete deletes the image by name.
   551  	Delete(ctx context.Context, in *DeleteImageRequest, opts ...grpc.CallOption) (*types1.Empty, error)
   552  }
   553  
   554  type imagesClient struct {
   555  	cc *grpc.ClientConn
   556  }
   557  
   558  func NewImagesClient(cc *grpc.ClientConn) ImagesClient {
   559  	return &imagesClient{cc}
   560  }
   561  
   562  func (c *imagesClient) Get(ctx context.Context, in *GetImageRequest, opts ...grpc.CallOption) (*GetImageResponse, error) {
   563  	out := new(GetImageResponse)
   564  	err := c.cc.Invoke(ctx, "/containerd.services.images.v1.Images/Get", in, out, opts...)
   565  	if err != nil {
   566  		return nil, err
   567  	}
   568  	return out, nil
   569  }
   570  
   571  func (c *imagesClient) List(ctx context.Context, in *ListImagesRequest, opts ...grpc.CallOption) (*ListImagesResponse, error) {
   572  	out := new(ListImagesResponse)
   573  	err := c.cc.Invoke(ctx, "/containerd.services.images.v1.Images/List", in, out, opts...)
   574  	if err != nil {
   575  		return nil, err
   576  	}
   577  	return out, nil
   578  }
   579  
   580  func (c *imagesClient) Create(ctx context.Context, in *CreateImageRequest, opts ...grpc.CallOption) (*CreateImageResponse, error) {
   581  	out := new(CreateImageResponse)
   582  	err := c.cc.Invoke(ctx, "/containerd.services.images.v1.Images/Create", in, out, opts...)
   583  	if err != nil {
   584  		return nil, err
   585  	}
   586  	return out, nil
   587  }
   588  
   589  func (c *imagesClient) Update(ctx context.Context, in *UpdateImageRequest, opts ...grpc.CallOption) (*UpdateImageResponse, error) {
   590  	out := new(UpdateImageResponse)
   591  	err := c.cc.Invoke(ctx, "/containerd.services.images.v1.Images/Update", in, out, opts...)
   592  	if err != nil {
   593  		return nil, err
   594  	}
   595  	return out, nil
   596  }
   597  
   598  func (c *imagesClient) Delete(ctx context.Context, in *DeleteImageRequest, opts ...grpc.CallOption) (*types1.Empty, error) {
   599  	out := new(types1.Empty)
   600  	err := c.cc.Invoke(ctx, "/containerd.services.images.v1.Images/Delete", in, out, opts...)
   601  	if err != nil {
   602  		return nil, err
   603  	}
   604  	return out, nil
   605  }
   606  
   607  // ImagesServer is the server API for Images service.
   608  type ImagesServer interface {
   609  	// Get returns an image by name.
   610  	Get(context.Context, *GetImageRequest) (*GetImageResponse, error)
   611  	// List returns a list of all images known to containerd.
   612  	List(context.Context, *ListImagesRequest) (*ListImagesResponse, error)
   613  	// Create an image record in the metadata store.
   614  	//
   615  	// The name of the image must be unique.
   616  	Create(context.Context, *CreateImageRequest) (*CreateImageResponse, error)
   617  	// Update assigns the name to a given target image based on the provided
   618  	// image.
   619  	Update(context.Context, *UpdateImageRequest) (*UpdateImageResponse, error)
   620  	// Delete deletes the image by name.
   621  	Delete(context.Context, *DeleteImageRequest) (*types1.Empty, error)
   622  }
   623  
   624  // UnimplementedImagesServer can be embedded to have forward compatible implementations.
   625  type UnimplementedImagesServer struct {
   626  }
   627  
   628  func (*UnimplementedImagesServer) Get(ctx context.Context, req *GetImageRequest) (*GetImageResponse, error) {
   629  	return nil, status.Errorf(codes.Unimplemented, "method Get not implemented")
   630  }
   631  func (*UnimplementedImagesServer) List(ctx context.Context, req *ListImagesRequest) (*ListImagesResponse, error) {
   632  	return nil, status.Errorf(codes.Unimplemented, "method List not implemented")
   633  }
   634  func (*UnimplementedImagesServer) Create(ctx context.Context, req *CreateImageRequest) (*CreateImageResponse, error) {
   635  	return nil, status.Errorf(codes.Unimplemented, "method Create not implemented")
   636  }
   637  func (*UnimplementedImagesServer) Update(ctx context.Context, req *UpdateImageRequest) (*UpdateImageResponse, error) {
   638  	return nil, status.Errorf(codes.Unimplemented, "method Update not implemented")
   639  }
   640  func (*UnimplementedImagesServer) Delete(ctx context.Context, req *DeleteImageRequest) (*types1.Empty, error) {
   641  	return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
   642  }
   643  
   644  func RegisterImagesServer(s *grpc.Server, srv ImagesServer) {
   645  	s.RegisterService(&_Images_serviceDesc, srv)
   646  }
   647  
   648  func _Images_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   649  	in := new(GetImageRequest)
   650  	if err := dec(in); err != nil {
   651  		return nil, err
   652  	}
   653  	if interceptor == nil {
   654  		return srv.(ImagesServer).Get(ctx, in)
   655  	}
   656  	info := &grpc.UnaryServerInfo{
   657  		Server:     srv,
   658  		FullMethod: "/containerd.services.images.v1.Images/Get",
   659  	}
   660  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   661  		return srv.(ImagesServer).Get(ctx, req.(*GetImageRequest))
   662  	}
   663  	return interceptor(ctx, in, info, handler)
   664  }
   665  
   666  func _Images_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   667  	in := new(ListImagesRequest)
   668  	if err := dec(in); err != nil {
   669  		return nil, err
   670  	}
   671  	if interceptor == nil {
   672  		return srv.(ImagesServer).List(ctx, in)
   673  	}
   674  	info := &grpc.UnaryServerInfo{
   675  		Server:     srv,
   676  		FullMethod: "/containerd.services.images.v1.Images/List",
   677  	}
   678  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   679  		return srv.(ImagesServer).List(ctx, req.(*ListImagesRequest))
   680  	}
   681  	return interceptor(ctx, in, info, handler)
   682  }
   683  
   684  func _Images_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   685  	in := new(CreateImageRequest)
   686  	if err := dec(in); err != nil {
   687  		return nil, err
   688  	}
   689  	if interceptor == nil {
   690  		return srv.(ImagesServer).Create(ctx, in)
   691  	}
   692  	info := &grpc.UnaryServerInfo{
   693  		Server:     srv,
   694  		FullMethod: "/containerd.services.images.v1.Images/Create",
   695  	}
   696  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   697  		return srv.(ImagesServer).Create(ctx, req.(*CreateImageRequest))
   698  	}
   699  	return interceptor(ctx, in, info, handler)
   700  }
   701  
   702  func _Images_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   703  	in := new(UpdateImageRequest)
   704  	if err := dec(in); err != nil {
   705  		return nil, err
   706  	}
   707  	if interceptor == nil {
   708  		return srv.(ImagesServer).Update(ctx, in)
   709  	}
   710  	info := &grpc.UnaryServerInfo{
   711  		Server:     srv,
   712  		FullMethod: "/containerd.services.images.v1.Images/Update",
   713  	}
   714  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   715  		return srv.(ImagesServer).Update(ctx, req.(*UpdateImageRequest))
   716  	}
   717  	return interceptor(ctx, in, info, handler)
   718  }
   719  
   720  func _Images_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   721  	in := new(DeleteImageRequest)
   722  	if err := dec(in); err != nil {
   723  		return nil, err
   724  	}
   725  	if interceptor == nil {
   726  		return srv.(ImagesServer).Delete(ctx, in)
   727  	}
   728  	info := &grpc.UnaryServerInfo{
   729  		Server:     srv,
   730  		FullMethod: "/containerd.services.images.v1.Images/Delete",
   731  	}
   732  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   733  		return srv.(ImagesServer).Delete(ctx, req.(*DeleteImageRequest))
   734  	}
   735  	return interceptor(ctx, in, info, handler)
   736  }
   737  
   738  var _Images_serviceDesc = grpc.ServiceDesc{
   739  	ServiceName: "containerd.services.images.v1.Images",
   740  	HandlerType: (*ImagesServer)(nil),
   741  	Methods: []grpc.MethodDesc{
   742  		{
   743  			MethodName: "Get",
   744  			Handler:    _Images_Get_Handler,
   745  		},
   746  		{
   747  			MethodName: "List",
   748  			Handler:    _Images_List_Handler,
   749  		},
   750  		{
   751  			MethodName: "Create",
   752  			Handler:    _Images_Create_Handler,
   753  		},
   754  		{
   755  			MethodName: "Update",
   756  			Handler:    _Images_Update_Handler,
   757  		},
   758  		{
   759  			MethodName: "Delete",
   760  			Handler:    _Images_Delete_Handler,
   761  		},
   762  	},
   763  	Streams:  []grpc.StreamDesc{},
   764  	Metadata: "github.com/containerd/containerd/api/services/images/v1/images.proto",
   765  }
   766  
   767  func (m *Image) Marshal() (dAtA []byte, err error) {
   768  	size := m.Size()
   769  	dAtA = make([]byte, size)
   770  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   771  	if err != nil {
   772  		return nil, err
   773  	}
   774  	return dAtA[:n], nil
   775  }
   776  
   777  func (m *Image) MarshalTo(dAtA []byte) (int, error) {
   778  	size := m.Size()
   779  	return m.MarshalToSizedBuffer(dAtA[:size])
   780  }
   781  
   782  func (m *Image) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   783  	i := len(dAtA)
   784  	_ = i
   785  	var l int
   786  	_ = l
   787  	if m.XXX_unrecognized != nil {
   788  		i -= len(m.XXX_unrecognized)
   789  		copy(dAtA[i:], m.XXX_unrecognized)
   790  	}
   791  	n1, err1 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.UpdatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.UpdatedAt):])
   792  	if err1 != nil {
   793  		return 0, err1
   794  	}
   795  	i -= n1
   796  	i = encodeVarintImages(dAtA, i, uint64(n1))
   797  	i--
   798  	dAtA[i] = 0x42
   799  	n2, err2 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt):])
   800  	if err2 != nil {
   801  		return 0, err2
   802  	}
   803  	i -= n2
   804  	i = encodeVarintImages(dAtA, i, uint64(n2))
   805  	i--
   806  	dAtA[i] = 0x3a
   807  	{
   808  		size, err := m.Target.MarshalToSizedBuffer(dAtA[:i])
   809  		if err != nil {
   810  			return 0, err
   811  		}
   812  		i -= size
   813  		i = encodeVarintImages(dAtA, i, uint64(size))
   814  	}
   815  	i--
   816  	dAtA[i] = 0x1a
   817  	if len(m.Labels) > 0 {
   818  		for k := range m.Labels {
   819  			v := m.Labels[k]
   820  			baseI := i
   821  			i -= len(v)
   822  			copy(dAtA[i:], v)
   823  			i = encodeVarintImages(dAtA, i, uint64(len(v)))
   824  			i--
   825  			dAtA[i] = 0x12
   826  			i -= len(k)
   827  			copy(dAtA[i:], k)
   828  			i = encodeVarintImages(dAtA, i, uint64(len(k)))
   829  			i--
   830  			dAtA[i] = 0xa
   831  			i = encodeVarintImages(dAtA, i, uint64(baseI-i))
   832  			i--
   833  			dAtA[i] = 0x12
   834  		}
   835  	}
   836  	if len(m.Name) > 0 {
   837  		i -= len(m.Name)
   838  		copy(dAtA[i:], m.Name)
   839  		i = encodeVarintImages(dAtA, i, uint64(len(m.Name)))
   840  		i--
   841  		dAtA[i] = 0xa
   842  	}
   843  	return len(dAtA) - i, nil
   844  }
   845  
   846  func (m *GetImageRequest) Marshal() (dAtA []byte, err error) {
   847  	size := m.Size()
   848  	dAtA = make([]byte, size)
   849  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   850  	if err != nil {
   851  		return nil, err
   852  	}
   853  	return dAtA[:n], nil
   854  }
   855  
   856  func (m *GetImageRequest) MarshalTo(dAtA []byte) (int, error) {
   857  	size := m.Size()
   858  	return m.MarshalToSizedBuffer(dAtA[:size])
   859  }
   860  
   861  func (m *GetImageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   862  	i := len(dAtA)
   863  	_ = i
   864  	var l int
   865  	_ = l
   866  	if m.XXX_unrecognized != nil {
   867  		i -= len(m.XXX_unrecognized)
   868  		copy(dAtA[i:], m.XXX_unrecognized)
   869  	}
   870  	if len(m.Name) > 0 {
   871  		i -= len(m.Name)
   872  		copy(dAtA[i:], m.Name)
   873  		i = encodeVarintImages(dAtA, i, uint64(len(m.Name)))
   874  		i--
   875  		dAtA[i] = 0xa
   876  	}
   877  	return len(dAtA) - i, nil
   878  }
   879  
   880  func (m *GetImageResponse) Marshal() (dAtA []byte, err error) {
   881  	size := m.Size()
   882  	dAtA = make([]byte, size)
   883  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   884  	if err != nil {
   885  		return nil, err
   886  	}
   887  	return dAtA[:n], nil
   888  }
   889  
   890  func (m *GetImageResponse) MarshalTo(dAtA []byte) (int, error) {
   891  	size := m.Size()
   892  	return m.MarshalToSizedBuffer(dAtA[:size])
   893  }
   894  
   895  func (m *GetImageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   896  	i := len(dAtA)
   897  	_ = i
   898  	var l int
   899  	_ = l
   900  	if m.XXX_unrecognized != nil {
   901  		i -= len(m.XXX_unrecognized)
   902  		copy(dAtA[i:], m.XXX_unrecognized)
   903  	}
   904  	if m.Image != nil {
   905  		{
   906  			size, err := m.Image.MarshalToSizedBuffer(dAtA[:i])
   907  			if err != nil {
   908  				return 0, err
   909  			}
   910  			i -= size
   911  			i = encodeVarintImages(dAtA, i, uint64(size))
   912  		}
   913  		i--
   914  		dAtA[i] = 0xa
   915  	}
   916  	return len(dAtA) - i, nil
   917  }
   918  
   919  func (m *CreateImageRequest) Marshal() (dAtA []byte, err error) {
   920  	size := m.Size()
   921  	dAtA = make([]byte, size)
   922  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   923  	if err != nil {
   924  		return nil, err
   925  	}
   926  	return dAtA[:n], nil
   927  }
   928  
   929  func (m *CreateImageRequest) MarshalTo(dAtA []byte) (int, error) {
   930  	size := m.Size()
   931  	return m.MarshalToSizedBuffer(dAtA[:size])
   932  }
   933  
   934  func (m *CreateImageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   935  	i := len(dAtA)
   936  	_ = i
   937  	var l int
   938  	_ = l
   939  	if m.XXX_unrecognized != nil {
   940  		i -= len(m.XXX_unrecognized)
   941  		copy(dAtA[i:], m.XXX_unrecognized)
   942  	}
   943  	{
   944  		size, err := m.Image.MarshalToSizedBuffer(dAtA[:i])
   945  		if err != nil {
   946  			return 0, err
   947  		}
   948  		i -= size
   949  		i = encodeVarintImages(dAtA, i, uint64(size))
   950  	}
   951  	i--
   952  	dAtA[i] = 0xa
   953  	return len(dAtA) - i, nil
   954  }
   955  
   956  func (m *CreateImageResponse) 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 *CreateImageResponse) MarshalTo(dAtA []byte) (int, error) {
   967  	size := m.Size()
   968  	return m.MarshalToSizedBuffer(dAtA[:size])
   969  }
   970  
   971  func (m *CreateImageResponse) 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  	{
   981  		size, err := m.Image.MarshalToSizedBuffer(dAtA[:i])
   982  		if err != nil {
   983  			return 0, err
   984  		}
   985  		i -= size
   986  		i = encodeVarintImages(dAtA, i, uint64(size))
   987  	}
   988  	i--
   989  	dAtA[i] = 0xa
   990  	return len(dAtA) - i, nil
   991  }
   992  
   993  func (m *UpdateImageRequest) Marshal() (dAtA []byte, err error) {
   994  	size := m.Size()
   995  	dAtA = make([]byte, size)
   996  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   997  	if err != nil {
   998  		return nil, err
   999  	}
  1000  	return dAtA[:n], nil
  1001  }
  1002  
  1003  func (m *UpdateImageRequest) MarshalTo(dAtA []byte) (int, error) {
  1004  	size := m.Size()
  1005  	return m.MarshalToSizedBuffer(dAtA[:size])
  1006  }
  1007  
  1008  func (m *UpdateImageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1009  	i := len(dAtA)
  1010  	_ = i
  1011  	var l int
  1012  	_ = l
  1013  	if m.XXX_unrecognized != nil {
  1014  		i -= len(m.XXX_unrecognized)
  1015  		copy(dAtA[i:], m.XXX_unrecognized)
  1016  	}
  1017  	if m.UpdateMask != nil {
  1018  		{
  1019  			size, err := m.UpdateMask.MarshalToSizedBuffer(dAtA[:i])
  1020  			if err != nil {
  1021  				return 0, err
  1022  			}
  1023  			i -= size
  1024  			i = encodeVarintImages(dAtA, i, uint64(size))
  1025  		}
  1026  		i--
  1027  		dAtA[i] = 0x12
  1028  	}
  1029  	{
  1030  		size, err := m.Image.MarshalToSizedBuffer(dAtA[:i])
  1031  		if err != nil {
  1032  			return 0, err
  1033  		}
  1034  		i -= size
  1035  		i = encodeVarintImages(dAtA, i, uint64(size))
  1036  	}
  1037  	i--
  1038  	dAtA[i] = 0xa
  1039  	return len(dAtA) - i, nil
  1040  }
  1041  
  1042  func (m *UpdateImageResponse) Marshal() (dAtA []byte, err error) {
  1043  	size := m.Size()
  1044  	dAtA = make([]byte, size)
  1045  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1046  	if err != nil {
  1047  		return nil, err
  1048  	}
  1049  	return dAtA[:n], nil
  1050  }
  1051  
  1052  func (m *UpdateImageResponse) MarshalTo(dAtA []byte) (int, error) {
  1053  	size := m.Size()
  1054  	return m.MarshalToSizedBuffer(dAtA[:size])
  1055  }
  1056  
  1057  func (m *UpdateImageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1058  	i := len(dAtA)
  1059  	_ = i
  1060  	var l int
  1061  	_ = l
  1062  	if m.XXX_unrecognized != nil {
  1063  		i -= len(m.XXX_unrecognized)
  1064  		copy(dAtA[i:], m.XXX_unrecognized)
  1065  	}
  1066  	{
  1067  		size, err := m.Image.MarshalToSizedBuffer(dAtA[:i])
  1068  		if err != nil {
  1069  			return 0, err
  1070  		}
  1071  		i -= size
  1072  		i = encodeVarintImages(dAtA, i, uint64(size))
  1073  	}
  1074  	i--
  1075  	dAtA[i] = 0xa
  1076  	return len(dAtA) - i, nil
  1077  }
  1078  
  1079  func (m *ListImagesRequest) Marshal() (dAtA []byte, err error) {
  1080  	size := m.Size()
  1081  	dAtA = make([]byte, size)
  1082  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1083  	if err != nil {
  1084  		return nil, err
  1085  	}
  1086  	return dAtA[:n], nil
  1087  }
  1088  
  1089  func (m *ListImagesRequest) MarshalTo(dAtA []byte) (int, error) {
  1090  	size := m.Size()
  1091  	return m.MarshalToSizedBuffer(dAtA[:size])
  1092  }
  1093  
  1094  func (m *ListImagesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1095  	i := len(dAtA)
  1096  	_ = i
  1097  	var l int
  1098  	_ = l
  1099  	if m.XXX_unrecognized != nil {
  1100  		i -= len(m.XXX_unrecognized)
  1101  		copy(dAtA[i:], m.XXX_unrecognized)
  1102  	}
  1103  	if len(m.Filters) > 0 {
  1104  		for iNdEx := len(m.Filters) - 1; iNdEx >= 0; iNdEx-- {
  1105  			i -= len(m.Filters[iNdEx])
  1106  			copy(dAtA[i:], m.Filters[iNdEx])
  1107  			i = encodeVarintImages(dAtA, i, uint64(len(m.Filters[iNdEx])))
  1108  			i--
  1109  			dAtA[i] = 0xa
  1110  		}
  1111  	}
  1112  	return len(dAtA) - i, nil
  1113  }
  1114  
  1115  func (m *ListImagesResponse) Marshal() (dAtA []byte, err error) {
  1116  	size := m.Size()
  1117  	dAtA = make([]byte, size)
  1118  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1119  	if err != nil {
  1120  		return nil, err
  1121  	}
  1122  	return dAtA[:n], nil
  1123  }
  1124  
  1125  func (m *ListImagesResponse) MarshalTo(dAtA []byte) (int, error) {
  1126  	size := m.Size()
  1127  	return m.MarshalToSizedBuffer(dAtA[:size])
  1128  }
  1129  
  1130  func (m *ListImagesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1131  	i := len(dAtA)
  1132  	_ = i
  1133  	var l int
  1134  	_ = l
  1135  	if m.XXX_unrecognized != nil {
  1136  		i -= len(m.XXX_unrecognized)
  1137  		copy(dAtA[i:], m.XXX_unrecognized)
  1138  	}
  1139  	if len(m.Images) > 0 {
  1140  		for iNdEx := len(m.Images) - 1; iNdEx >= 0; iNdEx-- {
  1141  			{
  1142  				size, err := m.Images[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  1143  				if err != nil {
  1144  					return 0, err
  1145  				}
  1146  				i -= size
  1147  				i = encodeVarintImages(dAtA, i, uint64(size))
  1148  			}
  1149  			i--
  1150  			dAtA[i] = 0xa
  1151  		}
  1152  	}
  1153  	return len(dAtA) - i, nil
  1154  }
  1155  
  1156  func (m *DeleteImageRequest) Marshal() (dAtA []byte, err error) {
  1157  	size := m.Size()
  1158  	dAtA = make([]byte, size)
  1159  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1160  	if err != nil {
  1161  		return nil, err
  1162  	}
  1163  	return dAtA[:n], nil
  1164  }
  1165  
  1166  func (m *DeleteImageRequest) MarshalTo(dAtA []byte) (int, error) {
  1167  	size := m.Size()
  1168  	return m.MarshalToSizedBuffer(dAtA[:size])
  1169  }
  1170  
  1171  func (m *DeleteImageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1172  	i := len(dAtA)
  1173  	_ = i
  1174  	var l int
  1175  	_ = l
  1176  	if m.XXX_unrecognized != nil {
  1177  		i -= len(m.XXX_unrecognized)
  1178  		copy(dAtA[i:], m.XXX_unrecognized)
  1179  	}
  1180  	if m.Sync {
  1181  		i--
  1182  		if m.Sync {
  1183  			dAtA[i] = 1
  1184  		} else {
  1185  			dAtA[i] = 0
  1186  		}
  1187  		i--
  1188  		dAtA[i] = 0x10
  1189  	}
  1190  	if len(m.Name) > 0 {
  1191  		i -= len(m.Name)
  1192  		copy(dAtA[i:], m.Name)
  1193  		i = encodeVarintImages(dAtA, i, uint64(len(m.Name)))
  1194  		i--
  1195  		dAtA[i] = 0xa
  1196  	}
  1197  	return len(dAtA) - i, nil
  1198  }
  1199  
  1200  func encodeVarintImages(dAtA []byte, offset int, v uint64) int {
  1201  	offset -= sovImages(v)
  1202  	base := offset
  1203  	for v >= 1<<7 {
  1204  		dAtA[offset] = uint8(v&0x7f | 0x80)
  1205  		v >>= 7
  1206  		offset++
  1207  	}
  1208  	dAtA[offset] = uint8(v)
  1209  	return base
  1210  }
  1211  func (m *Image) Size() (n int) {
  1212  	if m == nil {
  1213  		return 0
  1214  	}
  1215  	var l int
  1216  	_ = l
  1217  	l = len(m.Name)
  1218  	if l > 0 {
  1219  		n += 1 + l + sovImages(uint64(l))
  1220  	}
  1221  	if len(m.Labels) > 0 {
  1222  		for k, v := range m.Labels {
  1223  			_ = k
  1224  			_ = v
  1225  			mapEntrySize := 1 + len(k) + sovImages(uint64(len(k))) + 1 + len(v) + sovImages(uint64(len(v)))
  1226  			n += mapEntrySize + 1 + sovImages(uint64(mapEntrySize))
  1227  		}
  1228  	}
  1229  	l = m.Target.Size()
  1230  	n += 1 + l + sovImages(uint64(l))
  1231  	l = github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt)
  1232  	n += 1 + l + sovImages(uint64(l))
  1233  	l = github_com_gogo_protobuf_types.SizeOfStdTime(m.UpdatedAt)
  1234  	n += 1 + l + sovImages(uint64(l))
  1235  	if m.XXX_unrecognized != nil {
  1236  		n += len(m.XXX_unrecognized)
  1237  	}
  1238  	return n
  1239  }
  1240  
  1241  func (m *GetImageRequest) Size() (n int) {
  1242  	if m == nil {
  1243  		return 0
  1244  	}
  1245  	var l int
  1246  	_ = l
  1247  	l = len(m.Name)
  1248  	if l > 0 {
  1249  		n += 1 + l + sovImages(uint64(l))
  1250  	}
  1251  	if m.XXX_unrecognized != nil {
  1252  		n += len(m.XXX_unrecognized)
  1253  	}
  1254  	return n
  1255  }
  1256  
  1257  func (m *GetImageResponse) Size() (n int) {
  1258  	if m == nil {
  1259  		return 0
  1260  	}
  1261  	var l int
  1262  	_ = l
  1263  	if m.Image != nil {
  1264  		l = m.Image.Size()
  1265  		n += 1 + l + sovImages(uint64(l))
  1266  	}
  1267  	if m.XXX_unrecognized != nil {
  1268  		n += len(m.XXX_unrecognized)
  1269  	}
  1270  	return n
  1271  }
  1272  
  1273  func (m *CreateImageRequest) Size() (n int) {
  1274  	if m == nil {
  1275  		return 0
  1276  	}
  1277  	var l int
  1278  	_ = l
  1279  	l = m.Image.Size()
  1280  	n += 1 + l + sovImages(uint64(l))
  1281  	if m.XXX_unrecognized != nil {
  1282  		n += len(m.XXX_unrecognized)
  1283  	}
  1284  	return n
  1285  }
  1286  
  1287  func (m *CreateImageResponse) Size() (n int) {
  1288  	if m == nil {
  1289  		return 0
  1290  	}
  1291  	var l int
  1292  	_ = l
  1293  	l = m.Image.Size()
  1294  	n += 1 + l + sovImages(uint64(l))
  1295  	if m.XXX_unrecognized != nil {
  1296  		n += len(m.XXX_unrecognized)
  1297  	}
  1298  	return n
  1299  }
  1300  
  1301  func (m *UpdateImageRequest) Size() (n int) {
  1302  	if m == nil {
  1303  		return 0
  1304  	}
  1305  	var l int
  1306  	_ = l
  1307  	l = m.Image.Size()
  1308  	n += 1 + l + sovImages(uint64(l))
  1309  	if m.UpdateMask != nil {
  1310  		l = m.UpdateMask.Size()
  1311  		n += 1 + l + sovImages(uint64(l))
  1312  	}
  1313  	if m.XXX_unrecognized != nil {
  1314  		n += len(m.XXX_unrecognized)
  1315  	}
  1316  	return n
  1317  }
  1318  
  1319  func (m *UpdateImageResponse) Size() (n int) {
  1320  	if m == nil {
  1321  		return 0
  1322  	}
  1323  	var l int
  1324  	_ = l
  1325  	l = m.Image.Size()
  1326  	n += 1 + l + sovImages(uint64(l))
  1327  	if m.XXX_unrecognized != nil {
  1328  		n += len(m.XXX_unrecognized)
  1329  	}
  1330  	return n
  1331  }
  1332  
  1333  func (m *ListImagesRequest) Size() (n int) {
  1334  	if m == nil {
  1335  		return 0
  1336  	}
  1337  	var l int
  1338  	_ = l
  1339  	if len(m.Filters) > 0 {
  1340  		for _, s := range m.Filters {
  1341  			l = len(s)
  1342  			n += 1 + l + sovImages(uint64(l))
  1343  		}
  1344  	}
  1345  	if m.XXX_unrecognized != nil {
  1346  		n += len(m.XXX_unrecognized)
  1347  	}
  1348  	return n
  1349  }
  1350  
  1351  func (m *ListImagesResponse) Size() (n int) {
  1352  	if m == nil {
  1353  		return 0
  1354  	}
  1355  	var l int
  1356  	_ = l
  1357  	if len(m.Images) > 0 {
  1358  		for _, e := range m.Images {
  1359  			l = e.Size()
  1360  			n += 1 + l + sovImages(uint64(l))
  1361  		}
  1362  	}
  1363  	if m.XXX_unrecognized != nil {
  1364  		n += len(m.XXX_unrecognized)
  1365  	}
  1366  	return n
  1367  }
  1368  
  1369  func (m *DeleteImageRequest) Size() (n int) {
  1370  	if m == nil {
  1371  		return 0
  1372  	}
  1373  	var l int
  1374  	_ = l
  1375  	l = len(m.Name)
  1376  	if l > 0 {
  1377  		n += 1 + l + sovImages(uint64(l))
  1378  	}
  1379  	if m.Sync {
  1380  		n += 2
  1381  	}
  1382  	if m.XXX_unrecognized != nil {
  1383  		n += len(m.XXX_unrecognized)
  1384  	}
  1385  	return n
  1386  }
  1387  
  1388  func sovImages(x uint64) (n int) {
  1389  	return (math_bits.Len64(x|1) + 6) / 7
  1390  }
  1391  func sozImages(x uint64) (n int) {
  1392  	return sovImages(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1393  }
  1394  func (this *Image) String() string {
  1395  	if this == nil {
  1396  		return "nil"
  1397  	}
  1398  	keysForLabels := make([]string, 0, len(this.Labels))
  1399  	for k, _ := range this.Labels {
  1400  		keysForLabels = append(keysForLabels, k)
  1401  	}
  1402  	github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
  1403  	mapStringForLabels := "map[string]string{"
  1404  	for _, k := range keysForLabels {
  1405  		mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
  1406  	}
  1407  	mapStringForLabels += "}"
  1408  	s := strings.Join([]string{`&Image{`,
  1409  		`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  1410  		`Labels:` + mapStringForLabels + `,`,
  1411  		`Target:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Target), "Descriptor", "types.Descriptor", 1), `&`, ``, 1) + `,`,
  1412  		`CreatedAt:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.CreatedAt), "Timestamp", "types1.Timestamp", 1), `&`, ``, 1) + `,`,
  1413  		`UpdatedAt:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.UpdatedAt), "Timestamp", "types1.Timestamp", 1), `&`, ``, 1) + `,`,
  1414  		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1415  		`}`,
  1416  	}, "")
  1417  	return s
  1418  }
  1419  func (this *GetImageRequest) String() string {
  1420  	if this == nil {
  1421  		return "nil"
  1422  	}
  1423  	s := strings.Join([]string{`&GetImageRequest{`,
  1424  		`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  1425  		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1426  		`}`,
  1427  	}, "")
  1428  	return s
  1429  }
  1430  func (this *GetImageResponse) String() string {
  1431  	if this == nil {
  1432  		return "nil"
  1433  	}
  1434  	s := strings.Join([]string{`&GetImageResponse{`,
  1435  		`Image:` + strings.Replace(this.Image.String(), "Image", "Image", 1) + `,`,
  1436  		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1437  		`}`,
  1438  	}, "")
  1439  	return s
  1440  }
  1441  func (this *CreateImageRequest) String() string {
  1442  	if this == nil {
  1443  		return "nil"
  1444  	}
  1445  	s := strings.Join([]string{`&CreateImageRequest{`,
  1446  		`Image:` + strings.Replace(strings.Replace(this.Image.String(), "Image", "Image", 1), `&`, ``, 1) + `,`,
  1447  		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1448  		`}`,
  1449  	}, "")
  1450  	return s
  1451  }
  1452  func (this *CreateImageResponse) String() string {
  1453  	if this == nil {
  1454  		return "nil"
  1455  	}
  1456  	s := strings.Join([]string{`&CreateImageResponse{`,
  1457  		`Image:` + strings.Replace(strings.Replace(this.Image.String(), "Image", "Image", 1), `&`, ``, 1) + `,`,
  1458  		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1459  		`}`,
  1460  	}, "")
  1461  	return s
  1462  }
  1463  func (this *UpdateImageRequest) String() string {
  1464  	if this == nil {
  1465  		return "nil"
  1466  	}
  1467  	s := strings.Join([]string{`&UpdateImageRequest{`,
  1468  		`Image:` + strings.Replace(strings.Replace(this.Image.String(), "Image", "Image", 1), `&`, ``, 1) + `,`,
  1469  		`UpdateMask:` + strings.Replace(fmt.Sprintf("%v", this.UpdateMask), "FieldMask", "types1.FieldMask", 1) + `,`,
  1470  		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1471  		`}`,
  1472  	}, "")
  1473  	return s
  1474  }
  1475  func (this *UpdateImageResponse) String() string {
  1476  	if this == nil {
  1477  		return "nil"
  1478  	}
  1479  	s := strings.Join([]string{`&UpdateImageResponse{`,
  1480  		`Image:` + strings.Replace(strings.Replace(this.Image.String(), "Image", "Image", 1), `&`, ``, 1) + `,`,
  1481  		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1482  		`}`,
  1483  	}, "")
  1484  	return s
  1485  }
  1486  func (this *ListImagesRequest) String() string {
  1487  	if this == nil {
  1488  		return "nil"
  1489  	}
  1490  	s := strings.Join([]string{`&ListImagesRequest{`,
  1491  		`Filters:` + fmt.Sprintf("%v", this.Filters) + `,`,
  1492  		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1493  		`}`,
  1494  	}, "")
  1495  	return s
  1496  }
  1497  func (this *ListImagesResponse) String() string {
  1498  	if this == nil {
  1499  		return "nil"
  1500  	}
  1501  	repeatedStringForImages := "[]Image{"
  1502  	for _, f := range this.Images {
  1503  		repeatedStringForImages += strings.Replace(strings.Replace(f.String(), "Image", "Image", 1), `&`, ``, 1) + ","
  1504  	}
  1505  	repeatedStringForImages += "}"
  1506  	s := strings.Join([]string{`&ListImagesResponse{`,
  1507  		`Images:` + repeatedStringForImages + `,`,
  1508  		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1509  		`}`,
  1510  	}, "")
  1511  	return s
  1512  }
  1513  func (this *DeleteImageRequest) String() string {
  1514  	if this == nil {
  1515  		return "nil"
  1516  	}
  1517  	s := strings.Join([]string{`&DeleteImageRequest{`,
  1518  		`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  1519  		`Sync:` + fmt.Sprintf("%v", this.Sync) + `,`,
  1520  		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1521  		`}`,
  1522  	}, "")
  1523  	return s
  1524  }
  1525  func valueToStringImages(v interface{}) string {
  1526  	rv := reflect.ValueOf(v)
  1527  	if rv.IsNil() {
  1528  		return "nil"
  1529  	}
  1530  	pv := reflect.Indirect(rv).Interface()
  1531  	return fmt.Sprintf("*%v", pv)
  1532  }
  1533  func (m *Image) Unmarshal(dAtA []byte) error {
  1534  	l := len(dAtA)
  1535  	iNdEx := 0
  1536  	for iNdEx < l {
  1537  		preIndex := iNdEx
  1538  		var wire uint64
  1539  		for shift := uint(0); ; shift += 7 {
  1540  			if shift >= 64 {
  1541  				return ErrIntOverflowImages
  1542  			}
  1543  			if iNdEx >= l {
  1544  				return io.ErrUnexpectedEOF
  1545  			}
  1546  			b := dAtA[iNdEx]
  1547  			iNdEx++
  1548  			wire |= uint64(b&0x7F) << shift
  1549  			if b < 0x80 {
  1550  				break
  1551  			}
  1552  		}
  1553  		fieldNum := int32(wire >> 3)
  1554  		wireType := int(wire & 0x7)
  1555  		if wireType == 4 {
  1556  			return fmt.Errorf("proto: Image: wiretype end group for non-group")
  1557  		}
  1558  		if fieldNum <= 0 {
  1559  			return fmt.Errorf("proto: Image: illegal tag %d (wire type %d)", fieldNum, wire)
  1560  		}
  1561  		switch fieldNum {
  1562  		case 1:
  1563  			if wireType != 2 {
  1564  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  1565  			}
  1566  			var stringLen uint64
  1567  			for shift := uint(0); ; shift += 7 {
  1568  				if shift >= 64 {
  1569  					return ErrIntOverflowImages
  1570  				}
  1571  				if iNdEx >= l {
  1572  					return io.ErrUnexpectedEOF
  1573  				}
  1574  				b := dAtA[iNdEx]
  1575  				iNdEx++
  1576  				stringLen |= uint64(b&0x7F) << shift
  1577  				if b < 0x80 {
  1578  					break
  1579  				}
  1580  			}
  1581  			intStringLen := int(stringLen)
  1582  			if intStringLen < 0 {
  1583  				return ErrInvalidLengthImages
  1584  			}
  1585  			postIndex := iNdEx + intStringLen
  1586  			if postIndex < 0 {
  1587  				return ErrInvalidLengthImages
  1588  			}
  1589  			if postIndex > l {
  1590  				return io.ErrUnexpectedEOF
  1591  			}
  1592  			m.Name = string(dAtA[iNdEx:postIndex])
  1593  			iNdEx = postIndex
  1594  		case 2:
  1595  			if wireType != 2 {
  1596  				return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
  1597  			}
  1598  			var msglen int
  1599  			for shift := uint(0); ; shift += 7 {
  1600  				if shift >= 64 {
  1601  					return ErrIntOverflowImages
  1602  				}
  1603  				if iNdEx >= l {
  1604  					return io.ErrUnexpectedEOF
  1605  				}
  1606  				b := dAtA[iNdEx]
  1607  				iNdEx++
  1608  				msglen |= int(b&0x7F) << shift
  1609  				if b < 0x80 {
  1610  					break
  1611  				}
  1612  			}
  1613  			if msglen < 0 {
  1614  				return ErrInvalidLengthImages
  1615  			}
  1616  			postIndex := iNdEx + msglen
  1617  			if postIndex < 0 {
  1618  				return ErrInvalidLengthImages
  1619  			}
  1620  			if postIndex > l {
  1621  				return io.ErrUnexpectedEOF
  1622  			}
  1623  			if m.Labels == nil {
  1624  				m.Labels = make(map[string]string)
  1625  			}
  1626  			var mapkey string
  1627  			var mapvalue string
  1628  			for iNdEx < postIndex {
  1629  				entryPreIndex := iNdEx
  1630  				var wire uint64
  1631  				for shift := uint(0); ; shift += 7 {
  1632  					if shift >= 64 {
  1633  						return ErrIntOverflowImages
  1634  					}
  1635  					if iNdEx >= l {
  1636  						return io.ErrUnexpectedEOF
  1637  					}
  1638  					b := dAtA[iNdEx]
  1639  					iNdEx++
  1640  					wire |= uint64(b&0x7F) << shift
  1641  					if b < 0x80 {
  1642  						break
  1643  					}
  1644  				}
  1645  				fieldNum := int32(wire >> 3)
  1646  				if fieldNum == 1 {
  1647  					var stringLenmapkey uint64
  1648  					for shift := uint(0); ; shift += 7 {
  1649  						if shift >= 64 {
  1650  							return ErrIntOverflowImages
  1651  						}
  1652  						if iNdEx >= l {
  1653  							return io.ErrUnexpectedEOF
  1654  						}
  1655  						b := dAtA[iNdEx]
  1656  						iNdEx++
  1657  						stringLenmapkey |= uint64(b&0x7F) << shift
  1658  						if b < 0x80 {
  1659  							break
  1660  						}
  1661  					}
  1662  					intStringLenmapkey := int(stringLenmapkey)
  1663  					if intStringLenmapkey < 0 {
  1664  						return ErrInvalidLengthImages
  1665  					}
  1666  					postStringIndexmapkey := iNdEx + intStringLenmapkey
  1667  					if postStringIndexmapkey < 0 {
  1668  						return ErrInvalidLengthImages
  1669  					}
  1670  					if postStringIndexmapkey > l {
  1671  						return io.ErrUnexpectedEOF
  1672  					}
  1673  					mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  1674  					iNdEx = postStringIndexmapkey
  1675  				} else if fieldNum == 2 {
  1676  					var stringLenmapvalue uint64
  1677  					for shift := uint(0); ; shift += 7 {
  1678  						if shift >= 64 {
  1679  							return ErrIntOverflowImages
  1680  						}
  1681  						if iNdEx >= l {
  1682  							return io.ErrUnexpectedEOF
  1683  						}
  1684  						b := dAtA[iNdEx]
  1685  						iNdEx++
  1686  						stringLenmapvalue |= uint64(b&0x7F) << shift
  1687  						if b < 0x80 {
  1688  							break
  1689  						}
  1690  					}
  1691  					intStringLenmapvalue := int(stringLenmapvalue)
  1692  					if intStringLenmapvalue < 0 {
  1693  						return ErrInvalidLengthImages
  1694  					}
  1695  					postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  1696  					if postStringIndexmapvalue < 0 {
  1697  						return ErrInvalidLengthImages
  1698  					}
  1699  					if postStringIndexmapvalue > l {
  1700  						return io.ErrUnexpectedEOF
  1701  					}
  1702  					mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
  1703  					iNdEx = postStringIndexmapvalue
  1704  				} else {
  1705  					iNdEx = entryPreIndex
  1706  					skippy, err := skipImages(dAtA[iNdEx:])
  1707  					if err != nil {
  1708  						return err
  1709  					}
  1710  					if (skippy < 0) || (iNdEx+skippy) < 0 {
  1711  						return ErrInvalidLengthImages
  1712  					}
  1713  					if (iNdEx + skippy) > postIndex {
  1714  						return io.ErrUnexpectedEOF
  1715  					}
  1716  					iNdEx += skippy
  1717  				}
  1718  			}
  1719  			m.Labels[mapkey] = mapvalue
  1720  			iNdEx = postIndex
  1721  		case 3:
  1722  			if wireType != 2 {
  1723  				return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType)
  1724  			}
  1725  			var msglen int
  1726  			for shift := uint(0); ; shift += 7 {
  1727  				if shift >= 64 {
  1728  					return ErrIntOverflowImages
  1729  				}
  1730  				if iNdEx >= l {
  1731  					return io.ErrUnexpectedEOF
  1732  				}
  1733  				b := dAtA[iNdEx]
  1734  				iNdEx++
  1735  				msglen |= int(b&0x7F) << shift
  1736  				if b < 0x80 {
  1737  					break
  1738  				}
  1739  			}
  1740  			if msglen < 0 {
  1741  				return ErrInvalidLengthImages
  1742  			}
  1743  			postIndex := iNdEx + msglen
  1744  			if postIndex < 0 {
  1745  				return ErrInvalidLengthImages
  1746  			}
  1747  			if postIndex > l {
  1748  				return io.ErrUnexpectedEOF
  1749  			}
  1750  			if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1751  				return err
  1752  			}
  1753  			iNdEx = postIndex
  1754  		case 7:
  1755  			if wireType != 2 {
  1756  				return fmt.Errorf("proto: wrong wireType = %d for field CreatedAt", wireType)
  1757  			}
  1758  			var msglen int
  1759  			for shift := uint(0); ; shift += 7 {
  1760  				if shift >= 64 {
  1761  					return ErrIntOverflowImages
  1762  				}
  1763  				if iNdEx >= l {
  1764  					return io.ErrUnexpectedEOF
  1765  				}
  1766  				b := dAtA[iNdEx]
  1767  				iNdEx++
  1768  				msglen |= int(b&0x7F) << shift
  1769  				if b < 0x80 {
  1770  					break
  1771  				}
  1772  			}
  1773  			if msglen < 0 {
  1774  				return ErrInvalidLengthImages
  1775  			}
  1776  			postIndex := iNdEx + msglen
  1777  			if postIndex < 0 {
  1778  				return ErrInvalidLengthImages
  1779  			}
  1780  			if postIndex > l {
  1781  				return io.ErrUnexpectedEOF
  1782  			}
  1783  			if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.CreatedAt, dAtA[iNdEx:postIndex]); err != nil {
  1784  				return err
  1785  			}
  1786  			iNdEx = postIndex
  1787  		case 8:
  1788  			if wireType != 2 {
  1789  				return fmt.Errorf("proto: wrong wireType = %d for field UpdatedAt", wireType)
  1790  			}
  1791  			var msglen int
  1792  			for shift := uint(0); ; shift += 7 {
  1793  				if shift >= 64 {
  1794  					return ErrIntOverflowImages
  1795  				}
  1796  				if iNdEx >= l {
  1797  					return io.ErrUnexpectedEOF
  1798  				}
  1799  				b := dAtA[iNdEx]
  1800  				iNdEx++
  1801  				msglen |= int(b&0x7F) << shift
  1802  				if b < 0x80 {
  1803  					break
  1804  				}
  1805  			}
  1806  			if msglen < 0 {
  1807  				return ErrInvalidLengthImages
  1808  			}
  1809  			postIndex := iNdEx + msglen
  1810  			if postIndex < 0 {
  1811  				return ErrInvalidLengthImages
  1812  			}
  1813  			if postIndex > l {
  1814  				return io.ErrUnexpectedEOF
  1815  			}
  1816  			if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.UpdatedAt, dAtA[iNdEx:postIndex]); err != nil {
  1817  				return err
  1818  			}
  1819  			iNdEx = postIndex
  1820  		default:
  1821  			iNdEx = preIndex
  1822  			skippy, err := skipImages(dAtA[iNdEx:])
  1823  			if err != nil {
  1824  				return err
  1825  			}
  1826  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1827  				return ErrInvalidLengthImages
  1828  			}
  1829  			if (iNdEx + skippy) > l {
  1830  				return io.ErrUnexpectedEOF
  1831  			}
  1832  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1833  			iNdEx += skippy
  1834  		}
  1835  	}
  1836  
  1837  	if iNdEx > l {
  1838  		return io.ErrUnexpectedEOF
  1839  	}
  1840  	return nil
  1841  }
  1842  func (m *GetImageRequest) Unmarshal(dAtA []byte) error {
  1843  	l := len(dAtA)
  1844  	iNdEx := 0
  1845  	for iNdEx < l {
  1846  		preIndex := iNdEx
  1847  		var wire uint64
  1848  		for shift := uint(0); ; shift += 7 {
  1849  			if shift >= 64 {
  1850  				return ErrIntOverflowImages
  1851  			}
  1852  			if iNdEx >= l {
  1853  				return io.ErrUnexpectedEOF
  1854  			}
  1855  			b := dAtA[iNdEx]
  1856  			iNdEx++
  1857  			wire |= uint64(b&0x7F) << shift
  1858  			if b < 0x80 {
  1859  				break
  1860  			}
  1861  		}
  1862  		fieldNum := int32(wire >> 3)
  1863  		wireType := int(wire & 0x7)
  1864  		if wireType == 4 {
  1865  			return fmt.Errorf("proto: GetImageRequest: wiretype end group for non-group")
  1866  		}
  1867  		if fieldNum <= 0 {
  1868  			return fmt.Errorf("proto: GetImageRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  1869  		}
  1870  		switch fieldNum {
  1871  		case 1:
  1872  			if wireType != 2 {
  1873  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  1874  			}
  1875  			var stringLen uint64
  1876  			for shift := uint(0); ; shift += 7 {
  1877  				if shift >= 64 {
  1878  					return ErrIntOverflowImages
  1879  				}
  1880  				if iNdEx >= l {
  1881  					return io.ErrUnexpectedEOF
  1882  				}
  1883  				b := dAtA[iNdEx]
  1884  				iNdEx++
  1885  				stringLen |= uint64(b&0x7F) << shift
  1886  				if b < 0x80 {
  1887  					break
  1888  				}
  1889  			}
  1890  			intStringLen := int(stringLen)
  1891  			if intStringLen < 0 {
  1892  				return ErrInvalidLengthImages
  1893  			}
  1894  			postIndex := iNdEx + intStringLen
  1895  			if postIndex < 0 {
  1896  				return ErrInvalidLengthImages
  1897  			}
  1898  			if postIndex > l {
  1899  				return io.ErrUnexpectedEOF
  1900  			}
  1901  			m.Name = string(dAtA[iNdEx:postIndex])
  1902  			iNdEx = postIndex
  1903  		default:
  1904  			iNdEx = preIndex
  1905  			skippy, err := skipImages(dAtA[iNdEx:])
  1906  			if err != nil {
  1907  				return err
  1908  			}
  1909  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1910  				return ErrInvalidLengthImages
  1911  			}
  1912  			if (iNdEx + skippy) > l {
  1913  				return io.ErrUnexpectedEOF
  1914  			}
  1915  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1916  			iNdEx += skippy
  1917  		}
  1918  	}
  1919  
  1920  	if iNdEx > l {
  1921  		return io.ErrUnexpectedEOF
  1922  	}
  1923  	return nil
  1924  }
  1925  func (m *GetImageResponse) Unmarshal(dAtA []byte) error {
  1926  	l := len(dAtA)
  1927  	iNdEx := 0
  1928  	for iNdEx < l {
  1929  		preIndex := iNdEx
  1930  		var wire uint64
  1931  		for shift := uint(0); ; shift += 7 {
  1932  			if shift >= 64 {
  1933  				return ErrIntOverflowImages
  1934  			}
  1935  			if iNdEx >= l {
  1936  				return io.ErrUnexpectedEOF
  1937  			}
  1938  			b := dAtA[iNdEx]
  1939  			iNdEx++
  1940  			wire |= uint64(b&0x7F) << shift
  1941  			if b < 0x80 {
  1942  				break
  1943  			}
  1944  		}
  1945  		fieldNum := int32(wire >> 3)
  1946  		wireType := int(wire & 0x7)
  1947  		if wireType == 4 {
  1948  			return fmt.Errorf("proto: GetImageResponse: wiretype end group for non-group")
  1949  		}
  1950  		if fieldNum <= 0 {
  1951  			return fmt.Errorf("proto: GetImageResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  1952  		}
  1953  		switch fieldNum {
  1954  		case 1:
  1955  			if wireType != 2 {
  1956  				return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  1957  			}
  1958  			var msglen int
  1959  			for shift := uint(0); ; shift += 7 {
  1960  				if shift >= 64 {
  1961  					return ErrIntOverflowImages
  1962  				}
  1963  				if iNdEx >= l {
  1964  					return io.ErrUnexpectedEOF
  1965  				}
  1966  				b := dAtA[iNdEx]
  1967  				iNdEx++
  1968  				msglen |= int(b&0x7F) << shift
  1969  				if b < 0x80 {
  1970  					break
  1971  				}
  1972  			}
  1973  			if msglen < 0 {
  1974  				return ErrInvalidLengthImages
  1975  			}
  1976  			postIndex := iNdEx + msglen
  1977  			if postIndex < 0 {
  1978  				return ErrInvalidLengthImages
  1979  			}
  1980  			if postIndex > l {
  1981  				return io.ErrUnexpectedEOF
  1982  			}
  1983  			if m.Image == nil {
  1984  				m.Image = &Image{}
  1985  			}
  1986  			if err := m.Image.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1987  				return err
  1988  			}
  1989  			iNdEx = postIndex
  1990  		default:
  1991  			iNdEx = preIndex
  1992  			skippy, err := skipImages(dAtA[iNdEx:])
  1993  			if err != nil {
  1994  				return err
  1995  			}
  1996  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1997  				return ErrInvalidLengthImages
  1998  			}
  1999  			if (iNdEx + skippy) > l {
  2000  				return io.ErrUnexpectedEOF
  2001  			}
  2002  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2003  			iNdEx += skippy
  2004  		}
  2005  	}
  2006  
  2007  	if iNdEx > l {
  2008  		return io.ErrUnexpectedEOF
  2009  	}
  2010  	return nil
  2011  }
  2012  func (m *CreateImageRequest) Unmarshal(dAtA []byte) error {
  2013  	l := len(dAtA)
  2014  	iNdEx := 0
  2015  	for iNdEx < l {
  2016  		preIndex := iNdEx
  2017  		var wire uint64
  2018  		for shift := uint(0); ; shift += 7 {
  2019  			if shift >= 64 {
  2020  				return ErrIntOverflowImages
  2021  			}
  2022  			if iNdEx >= l {
  2023  				return io.ErrUnexpectedEOF
  2024  			}
  2025  			b := dAtA[iNdEx]
  2026  			iNdEx++
  2027  			wire |= uint64(b&0x7F) << shift
  2028  			if b < 0x80 {
  2029  				break
  2030  			}
  2031  		}
  2032  		fieldNum := int32(wire >> 3)
  2033  		wireType := int(wire & 0x7)
  2034  		if wireType == 4 {
  2035  			return fmt.Errorf("proto: CreateImageRequest: wiretype end group for non-group")
  2036  		}
  2037  		if fieldNum <= 0 {
  2038  			return fmt.Errorf("proto: CreateImageRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  2039  		}
  2040  		switch fieldNum {
  2041  		case 1:
  2042  			if wireType != 2 {
  2043  				return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  2044  			}
  2045  			var msglen int
  2046  			for shift := uint(0); ; shift += 7 {
  2047  				if shift >= 64 {
  2048  					return ErrIntOverflowImages
  2049  				}
  2050  				if iNdEx >= l {
  2051  					return io.ErrUnexpectedEOF
  2052  				}
  2053  				b := dAtA[iNdEx]
  2054  				iNdEx++
  2055  				msglen |= int(b&0x7F) << shift
  2056  				if b < 0x80 {
  2057  					break
  2058  				}
  2059  			}
  2060  			if msglen < 0 {
  2061  				return ErrInvalidLengthImages
  2062  			}
  2063  			postIndex := iNdEx + msglen
  2064  			if postIndex < 0 {
  2065  				return ErrInvalidLengthImages
  2066  			}
  2067  			if postIndex > l {
  2068  				return io.ErrUnexpectedEOF
  2069  			}
  2070  			if err := m.Image.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2071  				return err
  2072  			}
  2073  			iNdEx = postIndex
  2074  		default:
  2075  			iNdEx = preIndex
  2076  			skippy, err := skipImages(dAtA[iNdEx:])
  2077  			if err != nil {
  2078  				return err
  2079  			}
  2080  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2081  				return ErrInvalidLengthImages
  2082  			}
  2083  			if (iNdEx + skippy) > l {
  2084  				return io.ErrUnexpectedEOF
  2085  			}
  2086  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2087  			iNdEx += skippy
  2088  		}
  2089  	}
  2090  
  2091  	if iNdEx > l {
  2092  		return io.ErrUnexpectedEOF
  2093  	}
  2094  	return nil
  2095  }
  2096  func (m *CreateImageResponse) Unmarshal(dAtA []byte) error {
  2097  	l := len(dAtA)
  2098  	iNdEx := 0
  2099  	for iNdEx < l {
  2100  		preIndex := iNdEx
  2101  		var wire uint64
  2102  		for shift := uint(0); ; shift += 7 {
  2103  			if shift >= 64 {
  2104  				return ErrIntOverflowImages
  2105  			}
  2106  			if iNdEx >= l {
  2107  				return io.ErrUnexpectedEOF
  2108  			}
  2109  			b := dAtA[iNdEx]
  2110  			iNdEx++
  2111  			wire |= uint64(b&0x7F) << shift
  2112  			if b < 0x80 {
  2113  				break
  2114  			}
  2115  		}
  2116  		fieldNum := int32(wire >> 3)
  2117  		wireType := int(wire & 0x7)
  2118  		if wireType == 4 {
  2119  			return fmt.Errorf("proto: CreateImageResponse: wiretype end group for non-group")
  2120  		}
  2121  		if fieldNum <= 0 {
  2122  			return fmt.Errorf("proto: CreateImageResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2123  		}
  2124  		switch fieldNum {
  2125  		case 1:
  2126  			if wireType != 2 {
  2127  				return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  2128  			}
  2129  			var msglen int
  2130  			for shift := uint(0); ; shift += 7 {
  2131  				if shift >= 64 {
  2132  					return ErrIntOverflowImages
  2133  				}
  2134  				if iNdEx >= l {
  2135  					return io.ErrUnexpectedEOF
  2136  				}
  2137  				b := dAtA[iNdEx]
  2138  				iNdEx++
  2139  				msglen |= int(b&0x7F) << shift
  2140  				if b < 0x80 {
  2141  					break
  2142  				}
  2143  			}
  2144  			if msglen < 0 {
  2145  				return ErrInvalidLengthImages
  2146  			}
  2147  			postIndex := iNdEx + msglen
  2148  			if postIndex < 0 {
  2149  				return ErrInvalidLengthImages
  2150  			}
  2151  			if postIndex > l {
  2152  				return io.ErrUnexpectedEOF
  2153  			}
  2154  			if err := m.Image.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2155  				return err
  2156  			}
  2157  			iNdEx = postIndex
  2158  		default:
  2159  			iNdEx = preIndex
  2160  			skippy, err := skipImages(dAtA[iNdEx:])
  2161  			if err != nil {
  2162  				return err
  2163  			}
  2164  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2165  				return ErrInvalidLengthImages
  2166  			}
  2167  			if (iNdEx + skippy) > l {
  2168  				return io.ErrUnexpectedEOF
  2169  			}
  2170  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2171  			iNdEx += skippy
  2172  		}
  2173  	}
  2174  
  2175  	if iNdEx > l {
  2176  		return io.ErrUnexpectedEOF
  2177  	}
  2178  	return nil
  2179  }
  2180  func (m *UpdateImageRequest) Unmarshal(dAtA []byte) error {
  2181  	l := len(dAtA)
  2182  	iNdEx := 0
  2183  	for iNdEx < l {
  2184  		preIndex := iNdEx
  2185  		var wire uint64
  2186  		for shift := uint(0); ; shift += 7 {
  2187  			if shift >= 64 {
  2188  				return ErrIntOverflowImages
  2189  			}
  2190  			if iNdEx >= l {
  2191  				return io.ErrUnexpectedEOF
  2192  			}
  2193  			b := dAtA[iNdEx]
  2194  			iNdEx++
  2195  			wire |= uint64(b&0x7F) << shift
  2196  			if b < 0x80 {
  2197  				break
  2198  			}
  2199  		}
  2200  		fieldNum := int32(wire >> 3)
  2201  		wireType := int(wire & 0x7)
  2202  		if wireType == 4 {
  2203  			return fmt.Errorf("proto: UpdateImageRequest: wiretype end group for non-group")
  2204  		}
  2205  		if fieldNum <= 0 {
  2206  			return fmt.Errorf("proto: UpdateImageRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  2207  		}
  2208  		switch fieldNum {
  2209  		case 1:
  2210  			if wireType != 2 {
  2211  				return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  2212  			}
  2213  			var msglen int
  2214  			for shift := uint(0); ; shift += 7 {
  2215  				if shift >= 64 {
  2216  					return ErrIntOverflowImages
  2217  				}
  2218  				if iNdEx >= l {
  2219  					return io.ErrUnexpectedEOF
  2220  				}
  2221  				b := dAtA[iNdEx]
  2222  				iNdEx++
  2223  				msglen |= int(b&0x7F) << shift
  2224  				if b < 0x80 {
  2225  					break
  2226  				}
  2227  			}
  2228  			if msglen < 0 {
  2229  				return ErrInvalidLengthImages
  2230  			}
  2231  			postIndex := iNdEx + msglen
  2232  			if postIndex < 0 {
  2233  				return ErrInvalidLengthImages
  2234  			}
  2235  			if postIndex > l {
  2236  				return io.ErrUnexpectedEOF
  2237  			}
  2238  			if err := m.Image.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2239  				return err
  2240  			}
  2241  			iNdEx = postIndex
  2242  		case 2:
  2243  			if wireType != 2 {
  2244  				return fmt.Errorf("proto: wrong wireType = %d for field UpdateMask", wireType)
  2245  			}
  2246  			var msglen int
  2247  			for shift := uint(0); ; shift += 7 {
  2248  				if shift >= 64 {
  2249  					return ErrIntOverflowImages
  2250  				}
  2251  				if iNdEx >= l {
  2252  					return io.ErrUnexpectedEOF
  2253  				}
  2254  				b := dAtA[iNdEx]
  2255  				iNdEx++
  2256  				msglen |= int(b&0x7F) << shift
  2257  				if b < 0x80 {
  2258  					break
  2259  				}
  2260  			}
  2261  			if msglen < 0 {
  2262  				return ErrInvalidLengthImages
  2263  			}
  2264  			postIndex := iNdEx + msglen
  2265  			if postIndex < 0 {
  2266  				return ErrInvalidLengthImages
  2267  			}
  2268  			if postIndex > l {
  2269  				return io.ErrUnexpectedEOF
  2270  			}
  2271  			if m.UpdateMask == nil {
  2272  				m.UpdateMask = &types1.FieldMask{}
  2273  			}
  2274  			if err := m.UpdateMask.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2275  				return err
  2276  			}
  2277  			iNdEx = postIndex
  2278  		default:
  2279  			iNdEx = preIndex
  2280  			skippy, err := skipImages(dAtA[iNdEx:])
  2281  			if err != nil {
  2282  				return err
  2283  			}
  2284  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2285  				return ErrInvalidLengthImages
  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 *UpdateImageResponse) 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 ErrIntOverflowImages
  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: UpdateImageResponse: wiretype end group for non-group")
  2324  		}
  2325  		if fieldNum <= 0 {
  2326  			return fmt.Errorf("proto: UpdateImageResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2327  		}
  2328  		switch fieldNum {
  2329  		case 1:
  2330  			if wireType != 2 {
  2331  				return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  2332  			}
  2333  			var msglen int
  2334  			for shift := uint(0); ; shift += 7 {
  2335  				if shift >= 64 {
  2336  					return ErrIntOverflowImages
  2337  				}
  2338  				if iNdEx >= l {
  2339  					return io.ErrUnexpectedEOF
  2340  				}
  2341  				b := dAtA[iNdEx]
  2342  				iNdEx++
  2343  				msglen |= int(b&0x7F) << shift
  2344  				if b < 0x80 {
  2345  					break
  2346  				}
  2347  			}
  2348  			if msglen < 0 {
  2349  				return ErrInvalidLengthImages
  2350  			}
  2351  			postIndex := iNdEx + msglen
  2352  			if postIndex < 0 {
  2353  				return ErrInvalidLengthImages
  2354  			}
  2355  			if postIndex > l {
  2356  				return io.ErrUnexpectedEOF
  2357  			}
  2358  			if err := m.Image.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2359  				return err
  2360  			}
  2361  			iNdEx = postIndex
  2362  		default:
  2363  			iNdEx = preIndex
  2364  			skippy, err := skipImages(dAtA[iNdEx:])
  2365  			if err != nil {
  2366  				return err
  2367  			}
  2368  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2369  				return ErrInvalidLengthImages
  2370  			}
  2371  			if (iNdEx + skippy) > l {
  2372  				return io.ErrUnexpectedEOF
  2373  			}
  2374  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2375  			iNdEx += skippy
  2376  		}
  2377  	}
  2378  
  2379  	if iNdEx > l {
  2380  		return io.ErrUnexpectedEOF
  2381  	}
  2382  	return nil
  2383  }
  2384  func (m *ListImagesRequest) Unmarshal(dAtA []byte) error {
  2385  	l := len(dAtA)
  2386  	iNdEx := 0
  2387  	for iNdEx < l {
  2388  		preIndex := iNdEx
  2389  		var wire uint64
  2390  		for shift := uint(0); ; shift += 7 {
  2391  			if shift >= 64 {
  2392  				return ErrIntOverflowImages
  2393  			}
  2394  			if iNdEx >= l {
  2395  				return io.ErrUnexpectedEOF
  2396  			}
  2397  			b := dAtA[iNdEx]
  2398  			iNdEx++
  2399  			wire |= uint64(b&0x7F) << shift
  2400  			if b < 0x80 {
  2401  				break
  2402  			}
  2403  		}
  2404  		fieldNum := int32(wire >> 3)
  2405  		wireType := int(wire & 0x7)
  2406  		if wireType == 4 {
  2407  			return fmt.Errorf("proto: ListImagesRequest: wiretype end group for non-group")
  2408  		}
  2409  		if fieldNum <= 0 {
  2410  			return fmt.Errorf("proto: ListImagesRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  2411  		}
  2412  		switch fieldNum {
  2413  		case 1:
  2414  			if wireType != 2 {
  2415  				return fmt.Errorf("proto: wrong wireType = %d for field Filters", wireType)
  2416  			}
  2417  			var stringLen uint64
  2418  			for shift := uint(0); ; shift += 7 {
  2419  				if shift >= 64 {
  2420  					return ErrIntOverflowImages
  2421  				}
  2422  				if iNdEx >= l {
  2423  					return io.ErrUnexpectedEOF
  2424  				}
  2425  				b := dAtA[iNdEx]
  2426  				iNdEx++
  2427  				stringLen |= uint64(b&0x7F) << shift
  2428  				if b < 0x80 {
  2429  					break
  2430  				}
  2431  			}
  2432  			intStringLen := int(stringLen)
  2433  			if intStringLen < 0 {
  2434  				return ErrInvalidLengthImages
  2435  			}
  2436  			postIndex := iNdEx + intStringLen
  2437  			if postIndex < 0 {
  2438  				return ErrInvalidLengthImages
  2439  			}
  2440  			if postIndex > l {
  2441  				return io.ErrUnexpectedEOF
  2442  			}
  2443  			m.Filters = append(m.Filters, string(dAtA[iNdEx:postIndex]))
  2444  			iNdEx = postIndex
  2445  		default:
  2446  			iNdEx = preIndex
  2447  			skippy, err := skipImages(dAtA[iNdEx:])
  2448  			if err != nil {
  2449  				return err
  2450  			}
  2451  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2452  				return ErrInvalidLengthImages
  2453  			}
  2454  			if (iNdEx + skippy) > l {
  2455  				return io.ErrUnexpectedEOF
  2456  			}
  2457  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2458  			iNdEx += skippy
  2459  		}
  2460  	}
  2461  
  2462  	if iNdEx > l {
  2463  		return io.ErrUnexpectedEOF
  2464  	}
  2465  	return nil
  2466  }
  2467  func (m *ListImagesResponse) Unmarshal(dAtA []byte) error {
  2468  	l := len(dAtA)
  2469  	iNdEx := 0
  2470  	for iNdEx < l {
  2471  		preIndex := iNdEx
  2472  		var wire uint64
  2473  		for shift := uint(0); ; shift += 7 {
  2474  			if shift >= 64 {
  2475  				return ErrIntOverflowImages
  2476  			}
  2477  			if iNdEx >= l {
  2478  				return io.ErrUnexpectedEOF
  2479  			}
  2480  			b := dAtA[iNdEx]
  2481  			iNdEx++
  2482  			wire |= uint64(b&0x7F) << shift
  2483  			if b < 0x80 {
  2484  				break
  2485  			}
  2486  		}
  2487  		fieldNum := int32(wire >> 3)
  2488  		wireType := int(wire & 0x7)
  2489  		if wireType == 4 {
  2490  			return fmt.Errorf("proto: ListImagesResponse: wiretype end group for non-group")
  2491  		}
  2492  		if fieldNum <= 0 {
  2493  			return fmt.Errorf("proto: ListImagesResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2494  		}
  2495  		switch fieldNum {
  2496  		case 1:
  2497  			if wireType != 2 {
  2498  				return fmt.Errorf("proto: wrong wireType = %d for field Images", wireType)
  2499  			}
  2500  			var msglen int
  2501  			for shift := uint(0); ; shift += 7 {
  2502  				if shift >= 64 {
  2503  					return ErrIntOverflowImages
  2504  				}
  2505  				if iNdEx >= l {
  2506  					return io.ErrUnexpectedEOF
  2507  				}
  2508  				b := dAtA[iNdEx]
  2509  				iNdEx++
  2510  				msglen |= int(b&0x7F) << shift
  2511  				if b < 0x80 {
  2512  					break
  2513  				}
  2514  			}
  2515  			if msglen < 0 {
  2516  				return ErrInvalidLengthImages
  2517  			}
  2518  			postIndex := iNdEx + msglen
  2519  			if postIndex < 0 {
  2520  				return ErrInvalidLengthImages
  2521  			}
  2522  			if postIndex > l {
  2523  				return io.ErrUnexpectedEOF
  2524  			}
  2525  			m.Images = append(m.Images, Image{})
  2526  			if err := m.Images[len(m.Images)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2527  				return err
  2528  			}
  2529  			iNdEx = postIndex
  2530  		default:
  2531  			iNdEx = preIndex
  2532  			skippy, err := skipImages(dAtA[iNdEx:])
  2533  			if err != nil {
  2534  				return err
  2535  			}
  2536  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2537  				return ErrInvalidLengthImages
  2538  			}
  2539  			if (iNdEx + skippy) > l {
  2540  				return io.ErrUnexpectedEOF
  2541  			}
  2542  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2543  			iNdEx += skippy
  2544  		}
  2545  	}
  2546  
  2547  	if iNdEx > l {
  2548  		return io.ErrUnexpectedEOF
  2549  	}
  2550  	return nil
  2551  }
  2552  func (m *DeleteImageRequest) Unmarshal(dAtA []byte) error {
  2553  	l := len(dAtA)
  2554  	iNdEx := 0
  2555  	for iNdEx < l {
  2556  		preIndex := iNdEx
  2557  		var wire uint64
  2558  		for shift := uint(0); ; shift += 7 {
  2559  			if shift >= 64 {
  2560  				return ErrIntOverflowImages
  2561  			}
  2562  			if iNdEx >= l {
  2563  				return io.ErrUnexpectedEOF
  2564  			}
  2565  			b := dAtA[iNdEx]
  2566  			iNdEx++
  2567  			wire |= uint64(b&0x7F) << shift
  2568  			if b < 0x80 {
  2569  				break
  2570  			}
  2571  		}
  2572  		fieldNum := int32(wire >> 3)
  2573  		wireType := int(wire & 0x7)
  2574  		if wireType == 4 {
  2575  			return fmt.Errorf("proto: DeleteImageRequest: wiretype end group for non-group")
  2576  		}
  2577  		if fieldNum <= 0 {
  2578  			return fmt.Errorf("proto: DeleteImageRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  2579  		}
  2580  		switch fieldNum {
  2581  		case 1:
  2582  			if wireType != 2 {
  2583  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  2584  			}
  2585  			var stringLen uint64
  2586  			for shift := uint(0); ; shift += 7 {
  2587  				if shift >= 64 {
  2588  					return ErrIntOverflowImages
  2589  				}
  2590  				if iNdEx >= l {
  2591  					return io.ErrUnexpectedEOF
  2592  				}
  2593  				b := dAtA[iNdEx]
  2594  				iNdEx++
  2595  				stringLen |= uint64(b&0x7F) << shift
  2596  				if b < 0x80 {
  2597  					break
  2598  				}
  2599  			}
  2600  			intStringLen := int(stringLen)
  2601  			if intStringLen < 0 {
  2602  				return ErrInvalidLengthImages
  2603  			}
  2604  			postIndex := iNdEx + intStringLen
  2605  			if postIndex < 0 {
  2606  				return ErrInvalidLengthImages
  2607  			}
  2608  			if postIndex > l {
  2609  				return io.ErrUnexpectedEOF
  2610  			}
  2611  			m.Name = string(dAtA[iNdEx:postIndex])
  2612  			iNdEx = postIndex
  2613  		case 2:
  2614  			if wireType != 0 {
  2615  				return fmt.Errorf("proto: wrong wireType = %d for field Sync", wireType)
  2616  			}
  2617  			var v int
  2618  			for shift := uint(0); ; shift += 7 {
  2619  				if shift >= 64 {
  2620  					return ErrIntOverflowImages
  2621  				}
  2622  				if iNdEx >= l {
  2623  					return io.ErrUnexpectedEOF
  2624  				}
  2625  				b := dAtA[iNdEx]
  2626  				iNdEx++
  2627  				v |= int(b&0x7F) << shift
  2628  				if b < 0x80 {
  2629  					break
  2630  				}
  2631  			}
  2632  			m.Sync = bool(v != 0)
  2633  		default:
  2634  			iNdEx = preIndex
  2635  			skippy, err := skipImages(dAtA[iNdEx:])
  2636  			if err != nil {
  2637  				return err
  2638  			}
  2639  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2640  				return ErrInvalidLengthImages
  2641  			}
  2642  			if (iNdEx + skippy) > l {
  2643  				return io.ErrUnexpectedEOF
  2644  			}
  2645  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2646  			iNdEx += skippy
  2647  		}
  2648  	}
  2649  
  2650  	if iNdEx > l {
  2651  		return io.ErrUnexpectedEOF
  2652  	}
  2653  	return nil
  2654  }
  2655  func skipImages(dAtA []byte) (n int, err error) {
  2656  	l := len(dAtA)
  2657  	iNdEx := 0
  2658  	depth := 0
  2659  	for iNdEx < l {
  2660  		var wire uint64
  2661  		for shift := uint(0); ; shift += 7 {
  2662  			if shift >= 64 {
  2663  				return 0, ErrIntOverflowImages
  2664  			}
  2665  			if iNdEx >= l {
  2666  				return 0, io.ErrUnexpectedEOF
  2667  			}
  2668  			b := dAtA[iNdEx]
  2669  			iNdEx++
  2670  			wire |= (uint64(b) & 0x7F) << shift
  2671  			if b < 0x80 {
  2672  				break
  2673  			}
  2674  		}
  2675  		wireType := int(wire & 0x7)
  2676  		switch wireType {
  2677  		case 0:
  2678  			for shift := uint(0); ; shift += 7 {
  2679  				if shift >= 64 {
  2680  					return 0, ErrIntOverflowImages
  2681  				}
  2682  				if iNdEx >= l {
  2683  					return 0, io.ErrUnexpectedEOF
  2684  				}
  2685  				iNdEx++
  2686  				if dAtA[iNdEx-1] < 0x80 {
  2687  					break
  2688  				}
  2689  			}
  2690  		case 1:
  2691  			iNdEx += 8
  2692  		case 2:
  2693  			var length int
  2694  			for shift := uint(0); ; shift += 7 {
  2695  				if shift >= 64 {
  2696  					return 0, ErrIntOverflowImages
  2697  				}
  2698  				if iNdEx >= l {
  2699  					return 0, io.ErrUnexpectedEOF
  2700  				}
  2701  				b := dAtA[iNdEx]
  2702  				iNdEx++
  2703  				length |= (int(b) & 0x7F) << shift
  2704  				if b < 0x80 {
  2705  					break
  2706  				}
  2707  			}
  2708  			if length < 0 {
  2709  				return 0, ErrInvalidLengthImages
  2710  			}
  2711  			iNdEx += length
  2712  		case 3:
  2713  			depth++
  2714  		case 4:
  2715  			if depth == 0 {
  2716  				return 0, ErrUnexpectedEndOfGroupImages
  2717  			}
  2718  			depth--
  2719  		case 5:
  2720  			iNdEx += 4
  2721  		default:
  2722  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  2723  		}
  2724  		if iNdEx < 0 {
  2725  			return 0, ErrInvalidLengthImages
  2726  		}
  2727  		if depth == 0 {
  2728  			return iNdEx, nil
  2729  		}
  2730  	}
  2731  	return 0, io.ErrUnexpectedEOF
  2732  }
  2733  
  2734  var (
  2735  	ErrInvalidLengthImages        = fmt.Errorf("proto: negative length found during unmarshaling")
  2736  	ErrIntOverflowImages          = fmt.Errorf("proto: integer overflow")
  2737  	ErrUnexpectedEndOfGroupImages = fmt.Errorf("proto: unexpected end of group")
  2738  )