2018-11-20 17:09:35 +00:00
|
|
|
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
2018-08-24 04:56:38 +01:00
|
|
|
// source: meta.proto
|
|
|
|
|
2018-09-18 05:39:06 +01:00
|
|
|
package pb
|
2018-08-24 04:56:38 +01:00
|
|
|
|
2018-11-20 17:09:35 +00:00
|
|
|
import proto "github.com/gogo/protobuf/proto"
|
2018-08-24 04:56:38 +01:00
|
|
|
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.
|
2018-11-20 17:09:35 +00:00
|
|
|
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
2018-08-24 04:56:38 +01:00
|
|
|
|
2018-11-30 15:02:01 +00:00
|
|
|
// SerializableMeta is the object metadata that will be stored serialized
|
|
|
|
type SerializableMeta struct {
|
|
|
|
ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
|
|
|
|
UserDefined map[string]string `protobuf:"bytes,2,rep,name=user_defined,json=userDefined" json:"user_defined,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:"-"`
|
2018-08-24 04:56:38 +01:00
|
|
|
}
|
|
|
|
|
2018-11-30 15:02:01 +00:00
|
|
|
func (m *SerializableMeta) Reset() { *m = SerializableMeta{} }
|
|
|
|
func (m *SerializableMeta) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SerializableMeta) ProtoMessage() {}
|
|
|
|
func (*SerializableMeta) Descriptor() ([]byte, []int) {
|
2019-01-17 18:34:13 +00:00
|
|
|
return fileDescriptor_meta_12afffbb4ed1a0bb, []int{0}
|
2018-08-24 04:56:38 +01:00
|
|
|
}
|
2018-11-30 15:02:01 +00:00
|
|
|
func (m *SerializableMeta) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SerializableMeta.Unmarshal(m, b)
|
2018-08-24 04:56:38 +01:00
|
|
|
}
|
2018-11-30 15:02:01 +00:00
|
|
|
func (m *SerializableMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SerializableMeta.Marshal(b, m, deterministic)
|
2018-08-24 04:56:38 +01:00
|
|
|
}
|
2018-11-30 15:02:01 +00:00
|
|
|
func (dst *SerializableMeta) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SerializableMeta.Merge(dst, src)
|
2018-08-24 04:56:38 +01:00
|
|
|
}
|
2018-11-30 15:02:01 +00:00
|
|
|
func (m *SerializableMeta) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SerializableMeta.Size(m)
|
2018-08-24 04:56:38 +01:00
|
|
|
}
|
2018-11-30 15:02:01 +00:00
|
|
|
func (m *SerializableMeta) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SerializableMeta.DiscardUnknown(m)
|
2018-08-24 04:56:38 +01:00
|
|
|
}
|
|
|
|
|
2018-11-30 15:02:01 +00:00
|
|
|
var xxx_messageInfo_SerializableMeta proto.InternalMessageInfo
|
2018-08-24 04:56:38 +01:00
|
|
|
|
2018-11-30 15:02:01 +00:00
|
|
|
func (m *SerializableMeta) GetContentType() string {
|
2018-10-15 19:58:57 +01:00
|
|
|
if m != nil {
|
2018-11-30 15:02:01 +00:00
|
|
|
return m.ContentType
|
2018-10-15 19:58:57 +01:00
|
|
|
}
|
2018-11-30 15:02:01 +00:00
|
|
|
return ""
|
2018-10-15 19:58:57 +01:00
|
|
|
}
|
|
|
|
|
2018-11-30 15:02:01 +00:00
|
|
|
func (m *SerializableMeta) GetUserDefined() map[string]string {
|
2018-08-24 04:56:38 +01:00
|
|
|
if m != nil {
|
2018-11-30 15:02:01 +00:00
|
|
|
return m.UserDefined
|
2018-10-03 14:05:40 +01:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-08-24 04:56:38 +01:00
|
|
|
func init() {
|
2018-12-03 13:23:12 +00:00
|
|
|
proto.RegisterType((*SerializableMeta)(nil), "objects.SerializableMeta")
|
|
|
|
proto.RegisterMapType((map[string]string)(nil), "objects.SerializableMeta.UserDefinedEntry")
|
2018-11-30 15:02:01 +00:00
|
|
|
}
|
|
|
|
|
2019-01-17 18:34:13 +00:00
|
|
|
func init() { proto.RegisterFile("meta.proto", fileDescriptor_meta_12afffbb4ed1a0bb) }
|
2018-11-30 15:02:01 +00:00
|
|
|
|
2019-01-17 18:34:13 +00:00
|
|
|
var fileDescriptor_meta_12afffbb4ed1a0bb = []byte{
|
2018-11-30 15:02:01 +00:00
|
|
|
// 191 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, 0xc2, 0xc8, 0x25, 0x10, 0x9c, 0x5a, 0x94, 0x99, 0x98, 0x93, 0x59, 0x95, 0x98, 0x94, 0x93,
|
|
|
|
0xea, 0x9b, 0x5a, 0x92, 0x28, 0xa4, 0xc8, 0xc5, 0x93, 0x9c, 0x9f, 0x57, 0x92, 0x9a, 0x57, 0x12,
|
|
|
|
0x5f, 0x52, 0x59, 0x90, 0x2a, 0xc1, 0xa8, 0xc0, 0xa8, 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