github.com/jlmucb/cloudproxy@v0.0.0-20170830161738-b5aa0b619bc4/go/tao/rpc.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: rpc.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 rpc.proto 10 11 It has these top-level messages: 12 RPCRequest 13 RPCResponse 14 */ 15 package tao 16 17 import proto "github.com/golang/protobuf/proto" 18 import fmt "fmt" 19 import math "math" 20 21 // Reference imports to suppress errors if they are not otherwise used. 22 var _ = proto.Marshal 23 var _ = fmt.Errorf 24 var _ = math.Inf 25 26 type RPCRequest struct { 27 Data []byte `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"` 28 Size *int32 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"` 29 Policy *string `protobuf:"bytes,3,opt,name=policy" json:"policy,omitempty"` 30 Time *int64 `protobuf:"varint,4,opt,name=time" json:"time,omitempty"` 31 Expiration *int64 `protobuf:"varint,5,opt,name=expiration" json:"expiration,omitempty"` 32 Issuer []byte `protobuf:"bytes,6,opt,name=issuer" json:"issuer,omitempty"` 33 Label *string `protobuf:"bytes,7,opt,name=label" json:"label,omitempty"` 34 Counter *int64 `protobuf:"varint,8,opt,name=counter" json:"counter,omitempty"` 35 XXX_unrecognized []byte `json:"-"` 36 } 37 38 func (m *RPCRequest) Reset() { *m = RPCRequest{} } 39 func (m *RPCRequest) String() string { return proto.CompactTextString(m) } 40 func (*RPCRequest) ProtoMessage() {} 41 func (*RPCRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } 42 43 func (m *RPCRequest) GetData() []byte { 44 if m != nil { 45 return m.Data 46 } 47 return nil 48 } 49 50 func (m *RPCRequest) GetSize() int32 { 51 if m != nil && m.Size != nil { 52 return *m.Size 53 } 54 return 0 55 } 56 57 func (m *RPCRequest) GetPolicy() string { 58 if m != nil && m.Policy != nil { 59 return *m.Policy 60 } 61 return "" 62 } 63 64 func (m *RPCRequest) GetTime() int64 { 65 if m != nil && m.Time != nil { 66 return *m.Time 67 } 68 return 0 69 } 70 71 func (m *RPCRequest) GetExpiration() int64 { 72 if m != nil && m.Expiration != nil { 73 return *m.Expiration 74 } 75 return 0 76 } 77 78 func (m *RPCRequest) GetIssuer() []byte { 79 if m != nil { 80 return m.Issuer 81 } 82 return nil 83 } 84 85 func (m *RPCRequest) GetLabel() string { 86 if m != nil && m.Label != nil { 87 return *m.Label 88 } 89 return "" 90 } 91 92 func (m *RPCRequest) GetCounter() int64 { 93 if m != nil && m.Counter != nil { 94 return *m.Counter 95 } 96 return 0 97 } 98 99 type RPCResponse struct { 100 Data []byte `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"` 101 Policy *string `protobuf:"bytes,2,opt,name=policy" json:"policy,omitempty"` 102 Counter *int64 `protobuf:"varint,3,opt,name=counter" json:"counter,omitempty"` 103 XXX_unrecognized []byte `json:"-"` 104 } 105 106 func (m *RPCResponse) Reset() { *m = RPCResponse{} } 107 func (m *RPCResponse) String() string { return proto.CompactTextString(m) } 108 func (*RPCResponse) ProtoMessage() {} 109 func (*RPCResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } 110 111 func (m *RPCResponse) GetData() []byte { 112 if m != nil { 113 return m.Data 114 } 115 return nil 116 } 117 118 func (m *RPCResponse) GetPolicy() string { 119 if m != nil && m.Policy != nil { 120 return *m.Policy 121 } 122 return "" 123 } 124 125 func (m *RPCResponse) GetCounter() int64 { 126 if m != nil && m.Counter != nil { 127 return *m.Counter 128 } 129 return 0 130 } 131 132 func init() { 133 proto.RegisterType((*RPCRequest)(nil), "tao.RPCRequest") 134 proto.RegisterType((*RPCResponse)(nil), "tao.RPCResponse") 135 } 136 137 /* 138 var fileDescriptor0 = []byte{ 139 // 180 bytes of a gzipped FileDescriptorProto 140 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x5c, 0x8e, 0x3d, 0x8e, 0xc2, 0x30, 141 0x10, 0x85, 0x95, 0x38, 0x3f, 0x9b, 0xd9, 0xec, 0xae, 0xe4, 0x6a, 0xca, 0x55, 0x2a, 0x2a, 0x4e, 142 0x40, 0xc7, 0x05, 0x50, 0x6e, 0x60, 0xc2, 0x14, 0x96, 0x42, 0xc6, 0xd8, 0x13, 0x09, 0x38, 0x02, 143 0xa7, 0xc6, 0x76, 0x83, 0x94, 0xf2, 0xf3, 0xf3, 0x7b, 0xf3, 0x41, 0xe7, 0xdd, 0xb4, 0x77, 0x9e, 144 0x85, 0xb5, 0x12, 0xc3, 0xc3, 0xab, 0x00, 0x18, 0x4f, 0xc7, 0x91, 0x6e, 0x2b, 0x05, 0xd1, 0x3d, 145 0x54, 0x17, 0x23, 0x06, 0x8b, 0xff, 0x62, 0xd7, 0x27, 0x0a, 0xf6, 0x49, 0x58, 0x46, 0xaa, 0xf5, 146 0x2f, 0x34, 0x8e, 0x67, 0x3b, 0x3d, 0x50, 0x45, 0xee, 0x52, 0x2a, 0xf6, 0x4a, 0x58, 0x45, 0x52, 147 0x5a, 0x03, 0xd0, 0xdd, 0x59, 0x6f, 0xc4, 0xf2, 0x82, 0x75, 0x7e, 0x8b, 0x0d, 0x1b, 0xc2, 0x4a, 148 0x1e, 0x9b, 0xbc, 0xf7, 0x03, 0xf5, 0x6c, 0xce, 0x34, 0x63, 0x9b, 0x07, 0xfe, 0xa0, 0x9d, 0x78, 149 0x5d, 0x24, 0xe6, 0x5f, 0xe9, 0xff, 0x70, 0x80, 0xef, 0xec, 0x12, 0x1c, 0x2f, 0x81, 0x36, 0x32, 150 0x9f, 0xf3, 0xe5, 0xb6, 0x9d, 0x7c, 0xd4, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x05, 0x51, 0xc8, 0x46, 151 0xdb, 0x00, 0x00, 0x00, 152 } 153 */