github.com/demonoid81/containerd@v1.3.4/api/services/namespaces/v1/namespace.pb.go (about)

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