7e136db9cf
* Cleanup metadata across layers * Fix pointer db tests
92 lines
3.8 KiB
Go
92 lines
3.8 KiB
Go
// Copyright (C) 2018 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: meta.proto
|
|
|
|
package objects
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
// SerializableMeta is the object metadata that will be stored serialized
|
|
type SerializableMeta struct {
|
|
ContentType string `protobuf:"bytes,1,opt,name=ContentType,proto3" json:"ContentType,omitempty"`
|
|
UserDefined map[string]string `protobuf:"bytes,2,rep,name=UserDefined,proto3" json:"UserDefined,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SerializableMeta) Reset() { *m = SerializableMeta{} }
|
|
func (m *SerializableMeta) String() string { return proto.CompactTextString(m) }
|
|
func (*SerializableMeta) ProtoMessage() {}
|
|
func (*SerializableMeta) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_meta_5a7fa61f937f80b3, []int{0}
|
|
}
|
|
func (m *SerializableMeta) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SerializableMeta.Unmarshal(m, b)
|
|
}
|
|
func (m *SerializableMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SerializableMeta.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *SerializableMeta) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SerializableMeta.Merge(dst, src)
|
|
}
|
|
func (m *SerializableMeta) XXX_Size() int {
|
|
return xxx_messageInfo_SerializableMeta.Size(m)
|
|
}
|
|
func (m *SerializableMeta) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SerializableMeta.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SerializableMeta proto.InternalMessageInfo
|
|
|
|
func (m *SerializableMeta) GetContentType() string {
|
|
if m != nil {
|
|
return m.ContentType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SerializableMeta) GetUserDefined() map[string]string {
|
|
if m != nil {
|
|
return m.UserDefined
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*SerializableMeta)(nil), "objects.SerializableMeta")
|
|
proto.RegisterMapType((map[string]string)(nil), "objects.SerializableMeta.UserDefinedEntry")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("meta.proto", fileDescriptor_meta_5a7fa61f937f80b3) }
|
|
|
|
var fileDescriptor_meta_5a7fa61f937f80b3 = []byte{
|
|
// 172 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0xca, 0x4d, 0x2d, 0x49,
|
|
0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0xcf, 0x4f, 0xca, 0x4a, 0x4d, 0x2e, 0x29, 0x56,
|
|
0x3a, 0xc4, 0xc8, 0x25, 0x10, 0x9c, 0x5a, 0x94, 0x99, 0x98, 0x93, 0x59, 0x95, 0x98, 0x94, 0x93,
|
|
0xea, 0x9b, 0x5a, 0x92, 0x28, 0xa4, 0xc0, 0xc5, 0xed, 0x9c, 0x9f, 0x57, 0x92, 0x9a, 0x57, 0x12,
|
|
0x52, 0x59, 0x90, 0x2a, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x19, 0x84, 0x2c, 0x24, 0xe4, 0xc3, 0xc5,
|
|
0x1d, 0x5a, 0x9c, 0x5a, 0xe4, 0x92, 0x9a, 0x96, 0x99, 0x97, 0x9a, 0x22, 0xc1, 0xa4, 0xc0, 0xac,
|
|
0xc1, 0x6d, 0xa4, 0xa5, 0x07, 0x35, 0x55, 0x0f, 0xdd, 0x44, 0x3d, 0x24, 0xc5, 0xae, 0x79, 0x25,
|
|
0x45, 0x95, 0x41, 0xc8, 0xda, 0xa5, 0xec, 0xb8, 0x04, 0xd0, 0x15, 0x08, 0x09, 0x70, 0x31, 0x67,
|
|
0xa7, 0x56, 0x42, 0xed, 0x06, 0x31, 0x85, 0x44, 0xb8, 0x58, 0xcb, 0x12, 0x73, 0x4a, 0x53, 0x25,
|
|
0x98, 0xc0, 0x62, 0x10, 0x8e, 0x15, 0x93, 0x05, 0x63, 0x12, 0x1b, 0xd8, 0x53, 0xc6, 0x80, 0x00,
|
|
0x00, 0x00, 0xff, 0xff, 0x65, 0x5b, 0x93, 0x65, 0xe2, 0x00, 0x00, 0x00,
|
|
}
|