This repository has been archived by the owner on Aug 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pbobject.pb.go
117 lines (100 loc) · 4.77 KB
/
pbobject.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: github.com/aperturerobotics/pbobject/pbobject.proto
/*
Package pbobject is a generated protocol buffer package.
It is generated from these files:
github.com/aperturerobotics/pbobject/pbobject.proto
It has these top-level messages:
ObjectWrapper
ObjectTypeID
*/
package pbobject
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "github.com/aperturerobotics/timestamp"
import objectenc "github.com/aperturerobotics/objectenc"
import objectsig "github.com/aperturerobotics/objectsig"
// 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
// ObjectWrapper wraps and stores an object.
type ObjectWrapper struct {
// ObjectTypeCrc is the crc32 of the object type ID.
ObjectTypeCrc uint32 `protobuf:"varint,1,opt,name=object_type_crc,json=objectTypeCrc" json:"object_type_crc,omitempty"`
// EncBlob is the inner data of the object.
EncBlob *objectenc.EncryptedBlob `protobuf:"bytes,3,opt,name=enc_blob,json=encBlob" json:"enc_blob,omitempty"`
// Signatures contains the set of signatures attached to this object.
// The data signed is the unencrypted object data.
Signatures []*objectsig.Signature `protobuf:"bytes,4,rep,name=signatures" json:"signatures,omitempty"`
}
func (m *ObjectWrapper) Reset() { *m = ObjectWrapper{} }
func (m *ObjectWrapper) String() string { return proto.CompactTextString(m) }
func (*ObjectWrapper) ProtoMessage() {}
func (*ObjectWrapper) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *ObjectWrapper) GetObjectTypeCrc() uint32 {
if m != nil {
return m.ObjectTypeCrc
}
return 0
}
func (m *ObjectWrapper) GetEncBlob() *objectenc.EncryptedBlob {
if m != nil {
return m.EncBlob
}
return nil
}
func (m *ObjectWrapper) GetSignatures() []*objectsig.Signature {
if m != nil {
return m.Signatures
}
return nil
}
// ObjectTypeID is an identifier for a type, hashed to get the object type crc.
type ObjectTypeID struct {
// TypeUuid is the type unique identifier.
TypeUuid string `protobuf:"bytes,1,opt,name=type_uuid,json=typeUuid" json:"type_uuid,omitempty"`
}
func (m *ObjectTypeID) Reset() { *m = ObjectTypeID{} }
func (m *ObjectTypeID) String() string { return proto.CompactTextString(m) }
func (*ObjectTypeID) ProtoMessage() {}
func (*ObjectTypeID) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *ObjectTypeID) GetTypeUuid() string {
if m != nil {
return m.TypeUuid
}
return ""
}
func init() {
proto.RegisterType((*ObjectWrapper)(nil), "pbobject.ObjectWrapper")
proto.RegisterType((*ObjectTypeID)(nil), "pbobject.ObjectTypeID")
}
func init() {
proto.RegisterFile("github.com/aperturerobotics/pbobject/pbobject.proto", fileDescriptor0)
}
var fileDescriptor0 = []byte{
// 257 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x8f, 0xcb, 0x4a, 0xc4, 0x30,
0x14, 0x86, 0x29, 0x23, 0xda, 0xc9, 0x58, 0x84, 0xe0, 0xa2, 0xe8, 0xa6, 0xcc, 0x42, 0x0a, 0x42,
0x07, 0xa6, 0xfa, 0x02, 0x5e, 0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