Single Key-Value pair. Key must be non-empty.
| 72 | |
| 73 | // Single Key-Value pair. Key must be non-empty. |
| 74 | type KeyValuePair struct { |
| 75 | Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` |
| 76 | Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` |
| 77 | // ID of the codec used to write the value |
| 78 | Codec string `protobuf:"bytes,3,opt,name=codec,proto3" json:"codec,omitempty"` |
| 79 | // Is this Key marked for deletion? |
| 80 | Deleted bool `protobuf:"varint,4,opt,name=deleted,proto3" json:"deleted,omitempty"` |
| 81 | // When was the key last updated? |
| 82 | UpdateTimeMillis int64 `protobuf:"varint,5,opt,name=update_time_millis,json=updateTimeMillis,proto3" json:"update_time_millis,omitempty"` |
| 83 | } |
| 84 | |
| 85 | func (m *KeyValuePair) Reset() { *m = KeyValuePair{} } |
| 86 | func (*KeyValuePair) ProtoMessage() {} |
nothing calls this directly
no outgoing calls
no test coverage detected