github.com/jlmucb/cloudproxy@v0.0.0-20170830161738-b5aa0b619bc4/go/tao/rollback.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: proto/rollback.proto 3 // DO NOT EDIT! 4 5 /* 6 Package tao is a generated protocol buffer package. 7 8 It is generated from these files: 9 proto/rollback.proto 10 11 It has these top-level messages: 12 RollbackEntry 13 RollbackCounterTable 14 RollbackSealedData 15 */ 16 package tao 17 18 import proto "github.com/golang/protobuf/proto" 19 import fmt "fmt" 20 import math "math" 21 22 // Reference imports to suppress errors if they are not otherwise used. 23 var _ = proto.Marshal 24 var _ = fmt.Errorf 25 var _ = math.Inf 26 27 // This is the entry used by the host to track the stored counter value. 28 type RollbackEntry struct { 29 HostedProgramName *string `protobuf:"bytes,1,req,name=hosted_program_name" json:"hosted_program_name,omitempty"` 30 EntryLabel *string `protobuf:"bytes,2,req,name=entry_label" json:"entry_label,omitempty"` 31 Counter *int64 `protobuf:"varint,3,opt,name=counter" json:"counter,omitempty"` 32 XXX_unrecognized []byte `json:"-"` 33 } 34 35 func (m *RollbackEntry) Reset() { *m = RollbackEntry{} } 36 func (m *RollbackEntry) String() string { return proto.CompactTextString(m) } 37 func (*RollbackEntry) ProtoMessage() {} 38 func (*RollbackEntry) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } 39 40 func (m *RollbackEntry) GetHostedProgramName() string { 41 if m != nil && m.HostedProgramName != nil { 42 return *m.HostedProgramName 43 } 44 return "" 45 } 46 47 func (m *RollbackEntry) GetEntryLabel() string { 48 if m != nil && m.EntryLabel != nil { 49 return *m.EntryLabel 50 } 51 return "" 52 } 53 54 func (m *RollbackEntry) GetCounter() int64 { 55 if m != nil && m.Counter != nil { 56 return *m.Counter 57 } 58 return 0 59 } 60 61 // Table of entries. 62 type RollbackCounterTable struct { 63 Entries []*RollbackEntry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"` 64 XXX_unrecognized []byte `json:"-"` 65 } 66 67 func (m *RollbackCounterTable) Reset() { *m = RollbackCounterTable{} } 68 func (m *RollbackCounterTable) String() string { return proto.CompactTextString(m) } 69 func (*RollbackCounterTable) ProtoMessage() {} 70 func (*RollbackCounterTable) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } 71 72 func (m *RollbackCounterTable) GetEntries() []*RollbackEntry { 73 if m != nil { 74 return m.Entries 75 } 76 return nil 77 } 78 79 // This is the data structure sealed by the host. 80 type RollbackSealedData struct { 81 Entry *RollbackEntry `protobuf:"bytes,1,opt,name=entry" json:"entry,omitempty"` 82 ProtectedData []byte `protobuf:"bytes,2,opt,name=protected_data" json:"protected_data,omitempty"` 83 XXX_unrecognized []byte `json:"-"` 84 } 85 86 func (m *RollbackSealedData) Reset() { *m = RollbackSealedData{} } 87 func (m *RollbackSealedData) String() string { return proto.CompactTextString(m) } 88 func (*RollbackSealedData) ProtoMessage() {} 89 func (*RollbackSealedData) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} } 90 91 func (m *RollbackSealedData) GetEntry() *RollbackEntry { 92 if m != nil { 93 return m.Entry 94 } 95 return nil 96 } 97 98 func (m *RollbackSealedData) GetProtectedData() []byte { 99 if m != nil { 100 return m.ProtectedData 101 } 102 return nil 103 } 104 105 func init() { 106 proto.RegisterType((*RollbackEntry)(nil), "tao.rollback_entry") 107 proto.RegisterType((*RollbackCounterTable)(nil), "tao.rollback_counter_table") 108 proto.RegisterType((*RollbackSealedData)(nil), "tao.rollback_sealed_data") 109 } 110 111 /* 112 var fileDescriptor0 = []byte{ 113 // 197 bytes of a gzipped FileDescriptorProto 114 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x8f, 0xc1, 0x6a, 0x84, 0x30, 115 0x10, 0x86, 0x89, 0xa1, 0x48, 0xc7, 0x62, 0x21, 0x8a, 0x08, 0xbd, 0x48, 0xe8, 0x21, 0x27, 0x0b, 116 0x7d, 0x80, 0x3e, 0x44, 0xfb, 0x00, 0x61, 0xd4, 0xa1,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