github.com/jlmucb/cloudproxy@v0.0.0-20170830161738-b5aa0b619bc4/go/support_libraries/protected_objects/protected_objects.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: protected_objects.proto 3 // DO NOT EDIT! 4 5 /* 6 Package protected_objects is a generated protocol buffer package. 7 8 It is generated from these files: 9 protected_objects.proto 10 11 It has these top-level messages: 12 ObjectIdMessage 13 ObjectMessage 14 NodeMessage 15 ProtectedObjectMessage 16 ObjectStoreMessage 17 NodeStoreMessage 18 ProtectedObjectStoreMessage 19 */ 20 package protected_objects 21 22 import proto "github.com/golang/protobuf/proto" 23 import fmt "fmt" 24 import math "math" 25 26 // Reference imports to suppress errors if they are not otherwise used. 27 var _ = proto.Marshal 28 var _ = fmt.Errorf 29 var _ = math.Inf 30 31 // This is a compile-time assertion to ensure that this generated file 32 // is compatible with the proto package it is being compiled against. 33 // A compilation error at this line likely means your copy of the 34 // proto package needs to be updated. 35 // const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 36 37 // Epochs must increase monotonically and be > 0 38 type ObjectIdMessage struct { 39 ObjName *string `protobuf:"bytes,1,req,name=obj_name" json:"obj_name,omitempty"` 40 ObjEpoch *int32 `protobuf:"varint,2,opt,name=obj_epoch" json:"obj_epoch,omitempty"` 41 XXX_unrecognized []byte `json:"-"` 42 } 43 44 func (m *ObjectIdMessage) Reset() { *m = ObjectIdMessage{} } 45 func (m *ObjectIdMessage) String() string { return proto.CompactTextString(m) } 46 func (*ObjectIdMessage) ProtoMessage() {} 47 func (*ObjectIdMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } 48 49 func (m *ObjectIdMessage) GetObjName() string { 50 if m != nil && m.ObjName != nil { 51 return *m.ObjName 52 } 53 return "" 54 } 55 56 func (m *ObjectIdMessage) GetObjEpoch() int32 { 57 if m != nil && m.ObjEpoch != nil { 58 return *m.ObjEpoch 59 } 60 return 0 61 } 62 63 // Standard statuses are: active, retired, inactive, revoked 64 // Standard types are: file, key, key-aes128-ctr-hmacsha256 65 // NotBefore and notAfter are string with the standard 66 // string format: 2006-01-02 15:04:05.999999999 -0700 MST 67 type ObjectMessage struct { 68 ObjId *ObjectIdMessage `protobuf:"bytes,1,req,name=obj_id" json:"obj_id,omitempty"` 69 ObjType *string `protobuf:"bytes,2,opt,name=obj_type" json:"obj_type,omitempty"` 70 ObjStatus *string `protobuf:"bytes,3,opt,name=obj_status" json:"obj_status,omitempty"` 71 NotBefore *string `protobuf:"bytes,4,opt,name=not_before" json:"not_before,omitempty"` 72 NotAfter *string `protobuf:"bytes,5,opt,name=not_after" json:"not_after,omitempty"` 73 ObjVal []byte `protobuf:"bytes,6,opt,name=obj_val" json:"obj_val,omitempty"` 74 XXX_unrecognized []byte `json:"-"` 75 } 76 77 func (m *ObjectMessage) Reset() { *m = ObjectMessage{} } 78 func (m *ObjectMessage) String() string { return proto.CompactTextString(m) } 79 func (*ObjectMessage) ProtoMessage() {} 80 func (*ObjectMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } 81 82 func (m *ObjectMessage) GetObjId() *ObjectIdMessage { 83 if m != nil { 84 return m.ObjId 85 } 86 return nil 87 } 88 89 func (m *ObjectMessage) GetObjType() string { 90 if m != nil && m.ObjType != nil { 91 return *m.ObjType 92 } 93 return "" 94 } 95 96 func (m *ObjectMessage) GetObjStatus() string { 97 if m != nil && m.ObjStatus != nil { 98 return *m.ObjStatus 99 } 100 return "" 101 } 102 103 func (m *ObjectMessage) GetNotBefore() string { 104 if m != nil && m.NotBefore != nil { 105 return *m.NotBefore 106 } 107 return "" 108 } 109 110 func (m *ObjectMessage) GetNotAfter() string { 111 if m != nil && m.NotAfter != nil { 112 return *m.NotAfter 113 } 114 return "" 115 } 116 117 func (m *ObjectMessage) GetObjVal() []byte { 118 if m != nil { 119 return m.ObjVal 120 } 121 return nil 122 } 123 124 type NodeMessage struct { 125 ProtectedObjId *ObjectIdMessage `protobuf:"bytes,1,req,name=protected_obj_id" json:"protected_obj_id,omitempty"` 126 ProtectorObjId *ObjectIdMessage `protobuf:"bytes,2,opt,name=protector_obj_id" json:"protector_obj_id,omitempty"` 127 XXX_unrecognized []byte `json:"-"` 128 } 129 130 func (m *NodeMessage) Reset() { *m = NodeMessage{} } 131 func (m *NodeMessage) String() string { return proto.CompactTextString(m) } 132 func (*NodeMessage) ProtoMessage() {} 133 func (*NodeMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} } 134 135 func (m *NodeMessage) GetProtectedObjId() *ObjectIdMessage { 136 if m != nil { 137 return m.ProtectedObjId 138 } 139 return nil 140 } 141 142 func (m *NodeMessage) GetProtectorObjId() *ObjectIdMessage { 143 if m != nil { 144 return m.ProtectorObjId 145 } 146 return nil 147 } 148 149 type ProtectedObjectMessage struct { 150 ProtectedObjId *ObjectIdMessage `protobuf:"bytes,1,req,name=protected_obj_id" json:"protected_obj_id,omitempty"` 151 ProtectorObjId *ObjectIdMessage `protobuf:"bytes,2,opt,name=protector_obj_id" json:"protector_obj_id,omitempty"` 152 Blob []byte `protobuf:"bytes,3,opt,name=blob" json:"blob,omitempty"` 153 XXX_unrecognized []byte `json:"-"` 154 } 155 156 func (m *ProtectedObjectMessage) Reset() { *m = ProtectedObjectMessage{} } 157 func (m *ProtectedObjectMessage) String() string { return proto.CompactTextString(m) } 158 func (*ProtectedObjectMessage) ProtoMessage() {} 159 func (*ProtectedObjectMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} } 160 161 func (m *ProtectedObjectMessage) GetProtectedObjId() *ObjectIdMessage { 162 if m != nil { 163 return m.ProtectedObjId 164 } 165 return nil 166 } 167 168 func (m *ProtectedObjectMessage) GetProtectorObjId() *ObjectIdMessage { 169 if m != nil { 170 return m.ProtectorObjId 171 } 172 return nil 173 } 174 175 func (m *ProtectedObjectMessage) GetBlob() []byte { 176 if m != nil { 177 return m.Blob 178 } 179 return nil 180 } 181 182 type ObjectStoreMessage struct { 183 Objects []*ObjectMessage `protobuf:"bytes,1,rep,name=objects" json:"objects,omitempty"` 184 XXX_unrecognized []byte `json:"-"` 185 } 186 187 func (m *ObjectStoreMessage) Reset() { *m = ObjectStoreMessage{} } 188 func (m *ObjectStoreMessage) String() string { return proto.CompactTextString(m) } 189 func (*ObjectStoreMessage) ProtoMessage() {} 190 func (*ObjectStoreMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} } 191 192 func (m *ObjectStoreMessage) GetObjects() []*ObjectMessage { 193 if m != nil { 194 return m.Objects 195 } 196 return nil 197 } 198 199 type NodeStoreMessage struct { 200 NodeObjects []*NodeMessage `protobuf:"bytes,1,rep,name=node_objects" json:"node_objects,omitempty"` 201 XXX_unrecognized []byte `json:"-"` 202 } 203 204 func (m *NodeStoreMessage) Reset() { *m = NodeStoreMessage{} } 205 func (m *NodeStoreMessage) String() string { return proto.CompactTextString(m) } 206 func (*NodeStoreMessage) ProtoMessage() {} 207 func (*NodeStoreMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} } 208 209 func (m *NodeStoreMessage) GetNodeObjects() []*NodeMessage { 210 if m != nil { 211 return m.NodeObjects 212 } 213 return nil 214 } 215 216 type ProtectedObjectStoreMessage struct { 217 ProtectedObjects []*ProtectedObjectMessage `protobuf:"bytes,1,rep,name=protected_objects" json:"protected_objects,omitempty"` 218 XXX_unrecognized []byte `json:"-"` 219 } 220 221 func (m *ProtectedObjectStoreMessage) Reset() { *m = ProtectedObjectStoreMessage{} } 222 func (m *ProtectedObjectStoreMessage) String() string { return proto.CompactTextString(m) } 223 func (*ProtectedObjectStoreMessage) ProtoMessage() {} 224 func (*ProtectedObjectStoreMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} } 225 226 func (m *ProtectedObjectStoreMessage) GetProtectedObjects() []*ProtectedObjectMessage { 227 if m != nil { 228 return m.ProtectedObjects 229 } 230 return nil 231 } 232 233 func init() { 234 proto.RegisterType((*ObjectIdMessage)(nil), "protected_objects.object_id_message") 235 proto.RegisterType((*ObjectMessage)(nil), "protected_objects.object_message") 236 proto.RegisterType((*NodeMessage)(nil), "protected_objects.node_message") 237 proto.RegisterType((*ProtectedObjectMessage)(nil), "protected_objects.protected_object_message") 238 proto.RegisterType((*ObjectStoreMessage)(nil), "protected_objects.object_store_message") 239 proto.RegisterType((*NodeStoreMessage)(nil), "protected_objects.node_store_message") 240 proto.RegisterType((*ProtectedObjectStoreMessage)(nil), "protected_objects.protected_object_store_message") 241 } 242 243 var fileDescriptor0 = []byte{ 244 // 307 bytes of a gzipped FileDescriptorProto 245 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xcc, 0x93, 0xbd, 0x4e, 0xc3, 0x30, 246 0x14, 0x85, 0xe5, 0xfe, 0x41, 0x2e, 0x11, 0x34, 0x16, 0x12, 0x9e, 0xa0, 0x58, 0x0c, 0x95, 0x90, 247 0x32, 0x54, 0x20, 0x31, 0x31, 0x32, 0xc0, 0x43, 0x58, 0x4e, 0x73, 0x4b, 0x8b, 0xda, 0x38, 0x8a, 248 0x0d, 0x12, 0x2f, 0xc1, 0x53, 0x30, 0xf0, 0x98, 0xd8, 0x26, 0xa1, 0x84, 0x24, 0x12, 0x6c, 0xdd, 249 0xac, 0x93, 0x7b, 0x3e, 0x9f, 0xdc, 0x93, 0xc0, 0x49, 0x5e, 0x28, 0x83, 0x73, 0x83, 0xa9, 0x50, 250 0xc9, 0x93, 0x3d, 0xe8, 0xd8, 0x29, 0x8a, 0x46, 0x8d, 0x07, 0xfc, 0x06, 0xa2, 0xaf, 0xa3, 0x58, 251 0xa5, 0x62, 0x83, 0x5a, 0xcb, 0x47, 0xa4, 0x63, 0xd8, 0xb7, 0xa2, 0xc8, 0xe4, 0x06, 0x19, 0x99, 252 0xf4, 0xa6, 0x01, 0x8d, 0x20, 0x70, 0x0a, 0xe6, 0x6a, 0xbe, 0x64, 0xbd, 0x09, 0x99, 0x0e, 0xf9, 253 0x3b, 0x81, 0xc3, 0xd2, 0x5a, 0xf9, 0xae, 0x60, 0xe4, 0xa6, 0x56, 0xa9, 0x77, 0x1d, 0xcc, 0x2e, 254 0xe2, 0x66, 0x92, 0xce, 0xdb, 0xcc, 0x6b, 0x8e, 0x1e, 0x1d, 0x50, 0x0a, 0xe0, 0x14, 0x6d, 0xa4, 255 0x79, 0xd6, 0xac, 0x5f, 0x69, 0x99, 0x32, 0x22, 0xc1, 0x85, 0x2a, 0x90, 0x0d, 0xbc, 0x66, 0x53, 256 0x39, 0x4d, 0x2e, 0x0c, 0x16, 0x6c, 0xe8, 0xa5, 0x23, 0xd8, 0x73, 0xd6, 0x17, 0xb9, 0x66, 0x23, 257 0x2b, 0x84, 0xfc, 0x8d, 0x40, 0x98, 0xa9, 0x14, 0xbf, 0xaf, 0xbb, 0x85, 0x71, 0x2d, 0xd5, 0x7f, 258 0xe3, 0x6e, 0xfd, 0xaa, 0xa8, 0xfc, 0x2e, 0xf6, 0x1f, 0xfd, 0xfc, 0x83, 0x00, 0xfb, 0x3d, 0xb7, 259 0x2b, 0xe1, 0x68, 0x08, 0x83, 0x64, 0xad, 0x12, 0xbf, 0xf3, 0x90, 0xdf, 0xc3, 0x71, 0x39, 0xa2, 260 0x2d, 0x6f, 0xbb, 0xc2, 0x99, 0x5f, 0xb2, 0x43, 0xd8, 0x70, 0x7d, 0x0b, 0x3f, 0xef, 0x86, 0x57, 261 0xaf, 0xfd, 0x00, 0xd4, 0xd7, 0x50, 0x27, 0x5d, 0x97, 0xe5, 0xd4, 0x71, 0x67, 0x2d, 0xb8, 0x9f, 262 0x1d, 0xf2, 0x25, 0x9c, 0x36, 0x56, 0x58, 0x07, 0xdf, 0x41, 0xf3, 0x63, 0x2f, 0xe9, 0x97, 0x71, 263 0xfb, 0xff, 0xd1, 0x56, 0xc8, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0x29, 0xb4, 0xa8, 0x21, 0x4c, 264 0x03, 0x00, 0x00, 265 }