storj/protos/meta/meta.pb.go
Kaloyan Raev 8ce889ed1b
ObjectStore (#128)
* WIP ObjectStore

* Remove methods for extended attributes

* List returns metadata too

* No real need to prepend "object" in path

* Serialize metadata

* List retuns []ListItem instead of []Path
2018-07-16 23:44:28 +03:00

89 lines
3.6 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: meta.proto
package meta
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
// Serializable is the metadata that will be stored serialized
type Serializable 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 *Serializable) Reset() { *m = Serializable{} }
func (m *Serializable) String() string { return proto.CompactTextString(m) }
func (*Serializable) ProtoMessage() {}
func (*Serializable) Descriptor() ([]byte, []int) {
return fileDescriptor_meta_cfe0a10cfe9a0649, []int{0}
}
func (m *Serializable) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Serializable.Unmarshal(m, b)
}
func (m *Serializable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Serializable.Marshal(b, m, deterministic)
}
func (dst *Serializable) XXX_Merge(src proto.Message) {
xxx_messageInfo_Serializable.Merge(dst, src)
}
func (m *Serializable) XXX_Size() int {
return xxx_messageInfo_Serializable.Size(m)
}
func (m *Serializable) XXX_DiscardUnknown() {
xxx_messageInfo_Serializable.DiscardUnknown(m)
}
var xxx_messageInfo_Serializable proto.InternalMessageInfo
func (m *Serializable) GetContentType() string {
if m != nil {
return m.ContentType
}
return ""
}
func (m *Serializable) GetUserDefined() map[string]string {
if m != nil {
return m.UserDefined
}
return nil
}
func init() {
proto.RegisterType((*Serializable)(nil), "meta.Serializable")
proto.RegisterMapType((map[string]string)(nil), "meta.Serializable.UserDefinedEntry")
}
func init() { proto.RegisterFile("meta.proto", fileDescriptor_meta_cfe0a10cfe9a0649) }
var fileDescriptor_meta_cfe0a10cfe9a0649 = []byte{
// 161 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, 0x01, 0xb1, 0x95, 0xb6, 0x33, 0x72, 0xf1, 0x04,
0xa7, 0x16, 0x65, 0x26, 0xe6, 0x64, 0x56, 0x25, 0x26, 0xe5, 0xa4, 0x0a, 0x29, 0x70, 0x71, 0x3b,
0xe7, 0xe7, 0x95, 0xa4, 0xe6, 0x95, 0x84, 0x54, 0x16, 0xa4, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70,
0x06, 0x21, 0x0b, 0x09, 0xb9, 0x72, 0x71, 0x87, 0x16, 0xa7, 0x16, 0xb9, 0xa4, 0xa6, 0x65, 0xe6,
0xa5, 0xa6, 0x48, 0x30, 0x29, 0x30, 0x6b, 0x70, 0x1b, 0x29, 0xeb, 0x81, 0x8d, 0x46, 0x36, 0x4a,
0x0f, 0x49, 0x95, 0x6b, 0x5e, 0x49, 0x51, 0x65, 0x10, 0xb2, 0x3e, 0x29, 0x3b, 0x2e, 0x01, 0x74,
0x05, 0x42, 0x02, 0x5c, 0xcc, 0xd9, 0xa9, 0x95, 0x50, 0x4b, 0x41, 0x4c, 0x21, 0x11, 0x2e, 0xd6,
0xb2, 0xc4, 0x9c, 0xd2, 0x54, 0x09, 0x26, 0xb0, 0x18, 0x84, 0x63, 0xc5, 0x64, 0xc1, 0x98, 0xc4,
0x06, 0xf6, 0x86, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xcb, 0xbc, 0xdb, 0x94, 0xd4, 0x00, 0x00,
0x00,
}