github.com/minio/minio@v0.0.0-20240328213742-3f72439b8a27/cmd/bucket-metadata_gen.go (about)

     1  package cmd
     2  
     3  // Code generated by github.com/tinylib/msgp DO NOT EDIT.
     4  
     5  import (
     6  	"github.com/tinylib/msgp/msgp"
     7  )
     8  
     9  // DecodeMsg implements msgp.Decodable
    10  func (z *BucketMetadata) DecodeMsg(dc *msgp.Reader) (err error) {
    11  	var field []byte
    12  	_ = field
    13  	var zb0001 uint32
    14  	zb0001, err = dc.ReadMapHeader()
    15  	if err != nil {
    16  		err = msgp.WrapError(err)
    17  		return
    18  	}
    19  	for zb0001 > 0 {
    20  		zb0001--
    21  		field, err = dc.ReadMapKeyPtr()
    22  		if err != nil {
    23  			err = msgp.WrapError(err)
    24  			return
    25  		}
    26  		switch msgp.UnsafeString(field) {
    27  		case "Name":
    28  			z.Name, err = dc.ReadString()
    29  			if err != nil {
    30  				err = msgp.WrapError(err, "Name")
    31  				return
    32  			}
    33  		case "Created":
    34  			z.Created, err = dc.ReadTime()
    35  			if err != nil {
    36  				err = msgp.WrapError(err, "Created")
    37  				return
    38  			}
    39  		case "LockEnabled":
    40  			z.LockEnabled, err = dc.ReadBool()
    41  			if err != nil {
    42  				err = msgp.WrapError(err, "LockEnabled")
    43  				return
    44  			}
    45  		case "PolicyConfigJSON":
    46  			z.PolicyConfigJSON, err = dc.ReadBytes(z.PolicyConfigJSON)
    47  			if err != nil {
    48  				err = msgp.WrapError(err, "PolicyConfigJSON")
    49  				return
    50  			}
    51  		case "NotificationConfigXML":
    52  			z.NotificationConfigXML, err = dc.ReadBytes(z.NotificationConfigXML)
    53  			if err != nil {
    54  				err = msgp.WrapError(err, "NotificationConfigXML")
    55  				return
    56  			}
    57  		case "LifecycleConfigXML":
    58  			z.LifecycleConfigXML, err = dc.ReadBytes(z.LifecycleConfigXML)
    59  			if err != nil {
    60  				err = msgp.WrapError(err, "LifecycleConfigXML")
    61  				return
    62  			}
    63  		case "ObjectLockConfigXML":
    64  			z.ObjectLockConfigXML, err = dc.ReadBytes(z.ObjectLockConfigXML)
    65  			if err != nil {
    66  				err = msgp.WrapError(err, "ObjectLockConfigXML")
    67  				return
    68  			}
    69  		case "VersioningConfigXML":
    70  			z.VersioningConfigXML, err = dc.ReadBytes(z.VersioningConfigXML)
    71  			if err != nil {
    72  				err = msgp.WrapError(err, "VersioningConfigXML")
    73  				return
    74  			}
    75  		case "EncryptionConfigXML":
    76  			z.EncryptionConfigXML, err = dc.ReadBytes(z.EncryptionConfigXML)
    77  			if err != nil {
    78  				err = msgp.WrapError(err, "EncryptionConfigXML")
    79  				return
    80  			}
    81  		case "TaggingConfigXML":
    82  			z.TaggingConfigXML, err = dc.ReadBytes(z.TaggingConfigXML)
    83  			if err != nil {
    84  				err = msgp.WrapError(err, "TaggingConfigXML")
    85  				return
    86  			}
    87  		case "QuotaConfigJSON":
    88  			z.QuotaConfigJSON, err = dc.ReadBytes(z.QuotaConfigJSON)
    89  			if err != nil {
    90  				err = msgp.WrapError(err, "QuotaConfigJSON")
    91  				return
    92  			}
    93  		case "ReplicationConfigXML":
    94  			z.ReplicationConfigXML, err = dc.ReadBytes(z.ReplicationConfigXML)
    95  			if err != nil {
    96  				err = msgp.WrapError(err, "ReplicationConfigXML")
    97  				return
    98  			}
    99  		case "BucketTargetsConfigJSON":
   100  			z.BucketTargetsConfigJSON, err = dc.ReadBytes(z.BucketTargetsConfigJSON)
   101  			if err != nil {
   102  				err = msgp.WrapError(err, "BucketTargetsConfigJSON")
   103  				return
   104  			}
   105  		case "BucketTargetsConfigMetaJSON":
   106  			z.BucketTargetsConfigMetaJSON, err = dc.ReadBytes(z.BucketTargetsConfigMetaJSON)
   107  			if err != nil {
   108  				err = msgp.WrapError(err, "BucketTargetsConfigMetaJSON")
   109  				return
   110  			}
   111  		case "PolicyConfigUpdatedAt":
   112  			z.PolicyConfigUpdatedAt, err = dc.ReadTime()
   113  			if err != nil {
   114  				err = msgp.WrapError(err, "PolicyConfigUpdatedAt")
   115  				return
   116  			}
   117  		case "ObjectLockConfigUpdatedAt":
   118  			z.ObjectLockConfigUpdatedAt, err = dc.ReadTime()
   119  			if err != nil {
   120  				err = msgp.WrapError(err, "ObjectLockConfigUpdatedAt")
   121  				return
   122  			}
   123  		case "EncryptionConfigUpdatedAt":
   124  			z.EncryptionConfigUpdatedAt, err = dc.ReadTime()
   125  			if err != nil {
   126  				err = msgp.WrapError(err, "EncryptionConfigUpdatedAt")
   127  				return
   128  			}
   129  		case "TaggingConfigUpdatedAt":
   130  			z.TaggingConfigUpdatedAt, err = dc.ReadTime()
   131  			if err != nil {
   132  				err = msgp.WrapError(err, "TaggingConfigUpdatedAt")
   133  				return
   134  			}
   135  		case "QuotaConfigUpdatedAt":
   136  			z.QuotaConfigUpdatedAt, err = dc.ReadTime()
   137  			if err != nil {
   138  				err = msgp.WrapError(err, "QuotaConfigUpdatedAt")
   139  				return
   140  			}
   141  		case "ReplicationConfigUpdatedAt":
   142  			z.ReplicationConfigUpdatedAt, err = dc.ReadTime()
   143  			if err != nil {
   144  				err = msgp.WrapError(err, "ReplicationConfigUpdatedAt")
   145  				return
   146  			}
   147  		case "VersioningConfigUpdatedAt":
   148  			z.VersioningConfigUpdatedAt, err = dc.ReadTime()
   149  			if err != nil {
   150  				err = msgp.WrapError(err, "VersioningConfigUpdatedAt")
   151  				return
   152  			}
   153  		case "LifecycleConfigUpdatedAt":
   154  			z.LifecycleConfigUpdatedAt, err = dc.ReadTime()
   155  			if err != nil {
   156  				err = msgp.WrapError(err, "LifecycleConfigUpdatedAt")
   157  				return
   158  			}
   159  		default:
   160  			err = dc.Skip()
   161  			if err != nil {
   162  				err = msgp.WrapError(err)
   163  				return
   164  			}
   165  		}
   166  	}
   167  	return
   168  }
   169  
   170  // EncodeMsg implements msgp.Encodable
   171  func (z *BucketMetadata) EncodeMsg(en *msgp.Writer) (err error) {
   172  	// map header, size 22
   173  	// write "Name"
   174  	err = en.Append(0xde, 0x0, 0x16, 0xa4, 0x4e, 0x61, 0x6d, 0x65)
   175  	if err != nil {
   176  		return
   177  	}
   178  	err = en.WriteString(z.Name)
   179  	if err != nil {
   180  		err = msgp.WrapError(err, "Name")
   181  		return
   182  	}
   183  	// write "Created"
   184  	err = en.Append(0xa7, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64)
   185  	if err != nil {
   186  		return
   187  	}
   188  	err = en.WriteTime(z.Created)
   189  	if err != nil {
   190  		err = msgp.WrapError(err, "Created")
   191  		return
   192  	}
   193  	// write "LockEnabled"
   194  	err = en.Append(0xab, 0x4c, 0x6f, 0x63, 0x6b, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64)
   195  	if err != nil {
   196  		return
   197  	}
   198  	err = en.WriteBool(z.LockEnabled)
   199  	if err != nil {
   200  		err = msgp.WrapError(err, "LockEnabled")
   201  		return
   202  	}
   203  	// write "PolicyConfigJSON"
   204  	err = en.Append(0xb0, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4a, 0x53, 0x4f, 0x4e)
   205  	if err != nil {
   206  		return
   207  	}
   208  	err = en.WriteBytes(z.PolicyConfigJSON)
   209  	if err != nil {
   210  		err = msgp.WrapError(err, "PolicyConfigJSON")
   211  		return
   212  	}
   213  	// write "NotificationConfigXML"
   214  	err = en.Append(0xb5, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x58, 0x4d, 0x4c)
   215  	if err != nil {
   216  		return
   217  	}
   218  	err = en.WriteBytes(z.NotificationConfigXML)
   219  	if err != nil {
   220  		err = msgp.WrapError(err, "NotificationConfigXML")
   221  		return
   222  	}
   223  	// write "LifecycleConfigXML"
   224  	err = en.Append(0xb2, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x58, 0x4d, 0x4c)
   225  	if err != nil {
   226  		return
   227  	}
   228  	err = en.WriteBytes(z.LifecycleConfigXML)
   229  	if err != nil {
   230  		err = msgp.WrapError(err, "LifecycleConfigXML")
   231  		return
   232  	}
   233  	// write "ObjectLockConfigXML"
   234  	err = en.Append(0xb3, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x58, 0x4d, 0x4c)
   235  	if err != nil {
   236  		return
   237  	}
   238  	err = en.WriteBytes(z.ObjectLockConfigXML)
   239  	if err != nil {
   240  		err = msgp.WrapError(err, "ObjectLockConfigXML")
   241  		return
   242  	}
   243  	// write "VersioningConfigXML"
   244  	err = en.Append(0xb3, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x58, 0x4d, 0x4c)
   245  	if err != nil {
   246  		return
   247  	}
   248  	err = en.WriteBytes(z.VersioningConfigXML)
   249  	if err != nil {
   250  		err = msgp.WrapError(err, "VersioningConfigXML")
   251  		return
   252  	}
   253  	// write "EncryptionConfigXML"
   254  	err = en.Append(0xb3, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x58, 0x4d, 0x4c)
   255  	if err != nil {
   256  		return
   257  	}
   258  	err = en.WriteBytes(z.EncryptionConfigXML)
   259  	if err != nil {
   260  		err = msgp.WrapError(err, "EncryptionConfigXML")
   261  		return
   262  	}
   263  	// write "TaggingConfigXML"
   264  	err = en.Append(0xb0, 0x54, 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x58, 0x4d, 0x4c)
   265  	if err != nil {
   266  		return
   267  	}
   268  	err = en.WriteBytes(z.TaggingConfigXML)
   269  	if err != nil {
   270  		err = msgp.WrapError(err, "TaggingConfigXML")
   271  		return
   272  	}
   273  	// write "QuotaConfigJSON"
   274  	err = en.Append(0xaf, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4a, 0x53, 0x4f, 0x4e)
   275  	if err != nil {
   276  		return
   277  	}
   278  	err = en.WriteBytes(z.QuotaConfigJSON)
   279  	if err != nil {
   280  		err = msgp.WrapError(err, "QuotaConfigJSON")
   281  		return
   282  	}
   283  	// write "ReplicationConfigXML"
   284  	err = en.Append(0xb4, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x58, 0x4d, 0x4c)
   285  	if err != nil {
   286  		return
   287  	}
   288  	err = en.WriteBytes(z.ReplicationConfigXML)
   289  	if err != nil {
   290  		err = msgp.WrapError(err, "ReplicationConfigXML")
   291  		return
   292  	}
   293  	// write "BucketTargetsConfigJSON"
   294  	err = en.Append(0xb7, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4a, 0x53, 0x4f, 0x4e)
   295  	if err != nil {
   296  		return
   297  	}
   298  	err = en.WriteBytes(z.BucketTargetsConfigJSON)
   299  	if err != nil {
   300  		err = msgp.WrapError(err, "BucketTargetsConfigJSON")
   301  		return
   302  	}
   303  	// write "BucketTargetsConfigMetaJSON"
   304  	err = en.Append(0xbb, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x4a, 0x53, 0x4f, 0x4e)
   305  	if err != nil {
   306  		return
   307  	}
   308  	err = en.WriteBytes(z.BucketTargetsConfigMetaJSON)
   309  	if err != nil {
   310  		err = msgp.WrapError(err, "BucketTargetsConfigMetaJSON")
   311  		return
   312  	}
   313  	// write "PolicyConfigUpdatedAt"
   314  	err = en.Append(0xb5, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74)
   315  	if err != nil {
   316  		return
   317  	}
   318  	err = en.WriteTime(z.PolicyConfigUpdatedAt)
   319  	if err != nil {
   320  		err = msgp.WrapError(err, "PolicyConfigUpdatedAt")
   321  		return
   322  	}
   323  	// write "ObjectLockConfigUpdatedAt"
   324  	err = en.Append(0xb9, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74)
   325  	if err != nil {
   326  		return
   327  	}
   328  	err = en.WriteTime(z.ObjectLockConfigUpdatedAt)
   329  	if err != nil {
   330  		err = msgp.WrapError(err, "ObjectLockConfigUpdatedAt")
   331  		return
   332  	}
   333  	// write "EncryptionConfigUpdatedAt"
   334  	err = en.Append(0xb9, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74)
   335  	if err != nil {
   336  		return
   337  	}
   338  	err = en.WriteTime(z.EncryptionConfigUpdatedAt)
   339  	if err != nil {
   340  		err = msgp.WrapError(err, "EncryptionConfigUpdatedAt")
   341  		return
   342  	}
   343  	// write "TaggingConfigUpdatedAt"
   344  	err = en.Append(0xb6, 0x54, 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74)
   345  	if err != nil {
   346  		return
   347  	}
   348  	err = en.WriteTime(z.TaggingConfigUpdatedAt)
   349  	if err != nil {
   350  		err = msgp.WrapError(err, "TaggingConfigUpdatedAt")
   351  		return
   352  	}
   353  	// write "QuotaConfigUpdatedAt"
   354  	err = en.Append(0xb4, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74)
   355  	if err != nil {
   356  		return
   357  	}
   358  	err = en.WriteTime(z.QuotaConfigUpdatedAt)
   359  	if err != nil {
   360  		err = msgp.WrapError(err, "QuotaConfigUpdatedAt")
   361  		return
   362  	}
   363  	// write "ReplicationConfigUpdatedAt"
   364  	err = en.Append(0xba, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74)
   365  	if err != nil {
   366  		return
   367  	}
   368  	err = en.WriteTime(z.ReplicationConfigUpdatedAt)
   369  	if err != nil {
   370  		err = msgp.WrapError(err, "ReplicationConfigUpdatedAt")
   371  		return
   372  	}
   373  	// write "VersioningConfigUpdatedAt"
   374  	err = en.Append(0xb9, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74)
   375  	if err != nil {
   376  		return
   377  	}
   378  	err = en.WriteTime(z.VersioningConfigUpdatedAt)
   379  	if err != nil {
   380  		err = msgp.WrapError(err, "VersioningConfigUpdatedAt")
   381  		return
   382  	}
   383  	// write "LifecycleConfigUpdatedAt"
   384  	err = en.Append(0xb8, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74)
   385  	if err != nil {
   386  		return
   387  	}
   388  	err = en.WriteTime(z.LifecycleConfigUpdatedAt)
   389  	if err != nil {
   390  		err = msgp.WrapError(err, "LifecycleConfigUpdatedAt")
   391  		return
   392  	}
   393  	return
   394  }
   395  
   396  // MarshalMsg implements msgp.Marshaler
   397  func (z *BucketMetadata) MarshalMsg(b []byte) (o []byte, err error) {
   398  	o = msgp.Require(b, z.Msgsize())
   399  	// map header, size 22
   400  	// string "Name"
   401  	o = append(o, 0xde, 0x0, 0x16, 0xa4, 0x4e, 0x61, 0x6d, 0x65)
   402  	o = msgp.AppendString(o, z.Name)
   403  	// string "Created"
   404  	o = append(o, 0xa7, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64)
   405  	o = msgp.AppendTime(o, z.Created)
   406  	// string "LockEnabled"
   407  	o = append(o, 0xab, 0x4c, 0x6f, 0x63, 0x6b, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64)
   408  	o = msgp.AppendBool(o, z.LockEnabled)
   409  	// string "PolicyConfigJSON"
   410  	o = append(o, 0xb0, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4a, 0x53, 0x4f, 0x4e)
   411  	o = msgp.AppendBytes(o, z.PolicyConfigJSON)
   412  	// string "NotificationConfigXML"
   413  	o = append(o, 0xb5, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x58, 0x4d, 0x4c)
   414  	o = msgp.AppendBytes(o, z.NotificationConfigXML)
   415  	// string "LifecycleConfigXML"
   416  	o = append(o, 0xb2, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x58, 0x4d, 0x4c)
   417  	o = msgp.AppendBytes(o, z.LifecycleConfigXML)
   418  	// string "ObjectLockConfigXML"
   419  	o = append(o, 0xb3, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x58, 0x4d, 0x4c)
   420  	o = msgp.AppendBytes(o, z.ObjectLockConfigXML)
   421  	// string "VersioningConfigXML"
   422  	o = append(o, 0xb3, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x58, 0x4d, 0x4c)
   423  	o = msgp.AppendBytes(o, z.VersioningConfigXML)
   424  	// string "EncryptionConfigXML"
   425  	o = append(o, 0xb3, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x58, 0x4d, 0x4c)
   426  	o = msgp.AppendBytes(o, z.EncryptionConfigXML)
   427  	// string "TaggingConfigXML"
   428  	o = append(o, 0xb0, 0x54, 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x58, 0x4d, 0x4c)
   429  	o = msgp.AppendBytes(o, z.TaggingConfigXML)
   430  	// string "QuotaConfigJSON"
   431  	o = append(o, 0xaf, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4a, 0x53, 0x4f, 0x4e)
   432  	o = msgp.AppendBytes(o, z.QuotaConfigJSON)
   433  	// string "ReplicationConfigXML"
   434  	o = append(o, 0xb4, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x58, 0x4d, 0x4c)
   435  	o = msgp.AppendBytes(o, z.ReplicationConfigXML)
   436  	// string "BucketTargetsConfigJSON"
   437  	o = append(o, 0xb7, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4a, 0x53, 0x4f, 0x4e)
   438  	o = msgp.AppendBytes(o, z.BucketTargetsConfigJSON)
   439  	// string "BucketTargetsConfigMetaJSON"
   440  	o = append(o, 0xbb, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x4a, 0x53, 0x4f, 0x4e)
   441  	o = msgp.AppendBytes(o, z.BucketTargetsConfigMetaJSON)
   442  	// string "PolicyConfigUpdatedAt"
   443  	o = append(o, 0xb5, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74)
   444  	o = msgp.AppendTime(o, z.PolicyConfigUpdatedAt)
   445  	// string "ObjectLockConfigUpdatedAt"
   446  	o = append(o, 0xb9, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74)
   447  	o = msgp.AppendTime(o, z.ObjectLockConfigUpdatedAt)
   448  	// string "EncryptionConfigUpdatedAt"
   449  	o = append(o, 0xb9, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74)
   450  	o = msgp.AppendTime(o, z.EncryptionConfigUpdatedAt)
   451  	// string "TaggingConfigUpdatedAt"
   452  	o = append(o, 0xb6, 0x54, 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74)
   453  	o = msgp.AppendTime(o, z.TaggingConfigUpdatedAt)
   454  	// string "QuotaConfigUpdatedAt"
   455  	o = append(o, 0xb4, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74)
   456  	o = msgp.AppendTime(o, z.QuotaConfigUpdatedAt)
   457  	// string "ReplicationConfigUpdatedAt"
   458  	o = append(o, 0xba, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74)
   459  	o = msgp.AppendTime(o, z.ReplicationConfigUpdatedAt)
   460  	// string "VersioningConfigUpdatedAt"
   461  	o = append(o, 0xb9, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74)
   462  	o = msgp.AppendTime(o, z.VersioningConfigUpdatedAt)
   463  	// string "LifecycleConfigUpdatedAt"
   464  	o = append(o, 0xb8, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74)
   465  	o = msgp.AppendTime(o, z.LifecycleConfigUpdatedAt)
   466  	return
   467  }
   468  
   469  // UnmarshalMsg implements msgp.Unmarshaler
   470  func (z *BucketMetadata) UnmarshalMsg(bts []byte) (o []byte, err error) {
   471  	var field []byte
   472  	_ = field
   473  	var zb0001 uint32
   474  	zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
   475  	if err != nil {
   476  		err = msgp.WrapError(err)
   477  		return
   478  	}
   479  	for zb0001 > 0 {
   480  		zb0001--
   481  		field, bts, err = msgp.ReadMapKeyZC(bts)
   482  		if err != nil {
   483  			err = msgp.WrapError(err)
   484  			return
   485  		}
   486  		switch msgp.UnsafeString(field) {
   487  		case "Name":
   488  			z.Name, bts, err = msgp.ReadStringBytes(bts)
   489  			if err != nil {
   490  				err = msgp.WrapError(err, "Name")
   491  				return
   492  			}
   493  		case "Created":
   494  			z.Created, bts, err = msgp.ReadTimeBytes(bts)
   495  			if err != nil {
   496  				err = msgp.WrapError(err, "Created")
   497  				return
   498  			}
   499  		case "LockEnabled":
   500  			z.LockEnabled, bts, err = msgp.ReadBoolBytes(bts)
   501  			if err != nil {
   502  				err = msgp.WrapError(err, "LockEnabled")
   503  				return
   504  			}
   505  		case "PolicyConfigJSON":
   506  			z.PolicyConfigJSON, bts, err = msgp.ReadBytesBytes(bts, z.PolicyConfigJSON)
   507  			if err != nil {
   508  				err = msgp.WrapError(err, "PolicyConfigJSON")
   509  				return
   510  			}
   511  		case "NotificationConfigXML":
   512  			z.NotificationConfigXML, bts, err = msgp.ReadBytesBytes(bts, z.NotificationConfigXML)
   513  			if err != nil {
   514  				err = msgp.WrapError(err, "NotificationConfigXML")
   515  				return
   516  			}
   517  		case "LifecycleConfigXML":
   518  			z.LifecycleConfigXML, bts, err = msgp.ReadBytesBytes(bts, z.LifecycleConfigXML)
   519  			if err != nil {
   520  				err = msgp.WrapError(err, "LifecycleConfigXML")
   521  				return
   522  			}
   523  		case "ObjectLockConfigXML":
   524  			z.ObjectLockConfigXML, bts, err = msgp.ReadBytesBytes(bts, z.ObjectLockConfigXML)
   525  			if err != nil {
   526  				err = msgp.WrapError(err, "ObjectLockConfigXML")
   527  				return
   528  			}
   529  		case "VersioningConfigXML":
   530  			z.VersioningConfigXML, bts, err = msgp.ReadBytesBytes(bts, z.VersioningConfigXML)
   531  			if err != nil {
   532  				err = msgp.WrapError(err, "VersioningConfigXML")
   533  				return
   534  			}
   535  		case "EncryptionConfigXML":
   536  			z.EncryptionConfigXML, bts, err = msgp.ReadBytesBytes(bts, z.EncryptionConfigXML)
   537  			if err != nil {
   538  				err = msgp.WrapError(err, "EncryptionConfigXML")
   539  				return
   540  			}
   541  		case "TaggingConfigXML":
   542  			z.TaggingConfigXML, bts, err = msgp.ReadBytesBytes(bts, z.TaggingConfigXML)
   543  			if err != nil {
   544  				err = msgp.WrapError(err, "TaggingConfigXML")
   545  				return
   546  			}
   547  		case "QuotaConfigJSON":
   548  			z.QuotaConfigJSON, bts, err = msgp.ReadBytesBytes(bts, z.QuotaConfigJSON)
   549  			if err != nil {
   550  				err = msgp.WrapError(err, "QuotaConfigJSON")
   551  				return
   552  			}
   553  		case "ReplicationConfigXML":
   554  			z.ReplicationConfigXML, bts, err = msgp.ReadBytesBytes(bts, z.ReplicationConfigXML)
   555  			if err != nil {
   556  				err = msgp.WrapError(err, "ReplicationConfigXML")
   557  				return
   558  			}
   559  		case "BucketTargetsConfigJSON":
   560  			z.BucketTargetsConfigJSON, bts, err = msgp.ReadBytesBytes(bts, z.BucketTargetsConfigJSON)
   561  			if err != nil {
   562  				err = msgp.WrapError(err, "BucketTargetsConfigJSON")
   563  				return
   564  			}
   565  		case "BucketTargetsConfigMetaJSON":
   566  			z.BucketTargetsConfigMetaJSON, bts, err = msgp.ReadBytesBytes(bts, z.BucketTargetsConfigMetaJSON)
   567  			if err != nil {
   568  				err = msgp.WrapError(err, "BucketTargetsConfigMetaJSON")
   569  				return
   570  			}
   571  		case "PolicyConfigUpdatedAt":
   572  			z.PolicyConfigUpdatedAt, bts, err = msgp.ReadTimeBytes(bts)
   573  			if err != nil {
   574  				err = msgp.WrapError(err, "PolicyConfigUpdatedAt")
   575  				return
   576  			}
   577  		case "ObjectLockConfigUpdatedAt":
   578  			z.ObjectLockConfigUpdatedAt, bts, err = msgp.ReadTimeBytes(bts)
   579  			if err != nil {
   580  				err = msgp.WrapError(err, "ObjectLockConfigUpdatedAt")
   581  				return
   582  			}
   583  		case "EncryptionConfigUpdatedAt":
   584  			z.EncryptionConfigUpdatedAt, bts, err = msgp.ReadTimeBytes(bts)
   585  			if err != nil {
   586  				err = msgp.WrapError(err, "EncryptionConfigUpdatedAt")
   587  				return
   588  			}
   589  		case "TaggingConfigUpdatedAt":
   590  			z.TaggingConfigUpdatedAt, bts, err = msgp.ReadTimeBytes(bts)
   591  			if err != nil {
   592  				err = msgp.WrapError(err, "TaggingConfigUpdatedAt")
   593  				return
   594  			}
   595  		case "QuotaConfigUpdatedAt":
   596  			z.QuotaConfigUpdatedAt, bts, err = msgp.ReadTimeBytes(bts)
   597  			if err != nil {
   598  				err = msgp.WrapError(err, "QuotaConfigUpdatedAt")
   599  				return
   600  			}
   601  		case "ReplicationConfigUpdatedAt":
   602  			z.ReplicationConfigUpdatedAt, bts, err = msgp.ReadTimeBytes(bts)
   603  			if err != nil {
   604  				err = msgp.WrapError(err, "ReplicationConfigUpdatedAt")
   605  				return
   606  			}
   607  		case "VersioningConfigUpdatedAt":
   608  			z.VersioningConfigUpdatedAt, bts, err = msgp.ReadTimeBytes(bts)
   609  			if err != nil {
   610  				err = msgp.WrapError(err, "VersioningConfigUpdatedAt")
   611  				return
   612  			}
   613  		case "LifecycleConfigUpdatedAt":
   614  			z.LifecycleConfigUpdatedAt, bts, err = msgp.ReadTimeBytes(bts)
   615  			if err != nil {
   616  				err = msgp.WrapError(err, "LifecycleConfigUpdatedAt")
   617  				return
   618  			}
   619  		default:
   620  			bts, err = msgp.Skip(bts)
   621  			if err != nil {
   622  				err = msgp.WrapError(err)
   623  				return
   624  			}
   625  		}
   626  	}
   627  	o = bts
   628  	return
   629  }
   630  
   631  // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
   632  func (z *BucketMetadata) Msgsize() (s int) {
   633  	s = 3 + 5 + msgp.StringPrefixSize + len(z.Name) + 8 + msgp.TimeSize + 12 + msgp.BoolSize + 17 + msgp.BytesPrefixSize + len(z.PolicyConfigJSON) + 22 + msgp.BytesPrefixSize + len(z.NotificationConfigXML) + 19 + msgp.BytesPrefixSize + len(z.LifecycleConfigXML) + 20 + msgp.BytesPrefixSize + len(z.ObjectLockConfigXML) + 20 + msgp.BytesPrefixSize + len(z.VersioningConfigXML) + 20 + msgp.BytesPrefixSize + len(z.EncryptionConfigXML) + 17 + msgp.BytesPrefixSize + len(z.TaggingConfigXML) + 16 + msgp.BytesPrefixSize + len(z.QuotaConfigJSON) + 21 + msgp.BytesPrefixSize + len(z.ReplicationConfigXML) + 24 + msgp.BytesPrefixSize + len(z.BucketTargetsConfigJSON) + 28 + msgp.BytesPrefixSize + len(z.BucketTargetsConfigMetaJSON) + 22 + msgp.TimeSize + 26 + msgp.TimeSize + 26 + msgp.TimeSize + 23 + msgp.TimeSize + 21 + msgp.TimeSize + 27 + msgp.TimeSize + 26 + msgp.TimeSize + 25 + msgp.TimeSize
   634  	return
   635  }