|
@@ -523,8 +523,8 @@ impl ::protobuf::reflect::ProtobufValue for Revision {
|
|
|
pub struct RevisionRange {
|
|
|
// message fields
|
|
|
pub doc_id: ::std::string::String,
|
|
|
- pub from_rev_id: i64,
|
|
|
- pub to_rev_id: i64,
|
|
|
+ pub start: i64,
|
|
|
+ pub end: i64,
|
|
|
// special fields
|
|
|
pub unknown_fields: ::protobuf::UnknownFields,
|
|
|
pub cached_size: ::protobuf::CachedSize,
|
|
@@ -567,34 +567,34 @@ impl RevisionRange {
|
|
|
::std::mem::replace(&mut self.doc_id, ::std::string::String::new())
|
|
|
}
|
|
|
|
|
|
- // int64 from_rev_id = 2;
|
|
|
+ // int64 start = 2;
|
|
|
|
|
|
|
|
|
- pub fn get_from_rev_id(&self) -> i64 {
|
|
|
- self.from_rev_id
|
|
|
+ pub fn get_start(&self) -> i64 {
|
|
|
+ self.start
|
|
|
}
|
|
|
- pub fn clear_from_rev_id(&mut self) {
|
|
|
- self.from_rev_id = 0;
|
|
|
+ pub fn clear_start(&mut self) {
|
|
|
+ self.start = 0;
|
|
|
}
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
- pub fn set_from_rev_id(&mut self, v: i64) {
|
|
|
- self.from_rev_id = v;
|
|
|
+ pub fn set_start(&mut self, v: i64) {
|
|
|
+ self.start = v;
|
|
|
}
|
|
|
|
|
|
- // int64 to_rev_id = 3;
|
|
|
+ // int64 end = 3;
|
|
|
|
|
|
|
|
|
- pub fn get_to_rev_id(&self) -> i64 {
|
|
|
- self.to_rev_id
|
|
|
+ pub fn get_end(&self) -> i64 {
|
|
|
+ self.end
|
|
|
}
|
|
|
- pub fn clear_to_rev_id(&mut self) {
|
|
|
- self.to_rev_id = 0;
|
|
|
+ pub fn clear_end(&mut self) {
|
|
|
+ self.end = 0;
|
|
|
}
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
- pub fn set_to_rev_id(&mut self, v: i64) {
|
|
|
- self.to_rev_id = v;
|
|
|
+ pub fn set_end(&mut self, v: i64) {
|
|
|
+ self.end = v;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -615,14 +615,14 @@ impl ::protobuf::Message for RevisionRange {
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
|
|
}
|
|
|
let tmp = is.read_int64()?;
|
|
|
- self.from_rev_id = tmp;
|
|
|
+ self.start = tmp;
|
|
|
},
|
|
|
3 => {
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
|
|
}
|
|
|
let tmp = is.read_int64()?;
|
|
|
- self.to_rev_id = tmp;
|
|
|
+ self.end = tmp;
|
|
|
},
|
|
|
_ => {
|
|
|
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
|
@@ -639,11 +639,11 @@ impl ::protobuf::Message for RevisionRange {
|
|
|
if !self.doc_id.is_empty() {
|
|
|
my_size += ::protobuf::rt::string_size(1, &self.doc_id);
|
|
|
}
|
|
|
- if self.from_rev_id != 0 {
|
|
|
- my_size += ::protobuf::rt::value_size(2, self.from_rev_id, ::protobuf::wire_format::WireTypeVarint);
|
|
|
+ if self.start != 0 {
|
|
|
+ my_size += ::protobuf::rt::value_size(2, self.start, ::protobuf::wire_format::WireTypeVarint);
|
|
|
}
|
|
|
- if self.to_rev_id != 0 {
|
|
|
- my_size += ::protobuf::rt::value_size(3, self.to_rev_id, ::protobuf::wire_format::WireTypeVarint);
|
|
|
+ if self.end != 0 {
|
|
|
+ my_size += ::protobuf::rt::value_size(3, self.end, ::protobuf::wire_format::WireTypeVarint);
|
|
|
}
|
|
|
my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
|
|
|
self.cached_size.set(my_size);
|
|
@@ -654,11 +654,11 @@ impl ::protobuf::Message for RevisionRange {
|
|
|
if !self.doc_id.is_empty() {
|
|
|
os.write_string(1, &self.doc_id)?;
|
|
|
}
|
|
|
- if self.from_rev_id != 0 {
|
|
|
- os.write_int64(2, self.from_rev_id)?;
|
|
|
+ if self.start != 0 {
|
|
|
+ os.write_int64(2, self.start)?;
|
|
|
}
|
|
|
- if self.to_rev_id != 0 {
|
|
|
- os.write_int64(3, self.to_rev_id)?;
|
|
|
+ if self.end != 0 {
|
|
|
+ os.write_int64(3, self.end)?;
|
|
|
}
|
|
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
|
|
::std::result::Result::Ok(())
|
|
@@ -704,14 +704,14 @@ impl ::protobuf::Message for RevisionRange {
|
|
|
|m: &mut RevisionRange| { &mut m.doc_id },
|
|
|
));
|
|
|
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt64>(
|
|
|
- "from_rev_id",
|
|
|
- |m: &RevisionRange| { &m.from_rev_id },
|
|
|
- |m: &mut RevisionRange| { &mut m.from_rev_id },
|
|
|
+ "start",
|
|
|
+ |m: &RevisionRange| { &m.start },
|
|
|
+ |m: &mut RevisionRange| { &mut m.start },
|
|
|
));
|
|
|
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt64>(
|
|
|
- "to_rev_id",
|
|
|
- |m: &RevisionRange| { &m.to_rev_id },
|
|
|
- |m: &mut RevisionRange| { &mut m.to_rev_id },
|
|
|
+ "end",
|
|
|
+ |m: &RevisionRange| { &m.end },
|
|
|
+ |m: &mut RevisionRange| { &mut m.end },
|
|
|
));
|
|
|
::protobuf::reflect::MessageDescriptor::new_pb_name::<RevisionRange>(
|
|
|
"RevisionRange",
|
|
@@ -730,8 +730,8 @@ impl ::protobuf::Message for RevisionRange {
|
|
|
impl ::protobuf::Clear for RevisionRange {
|
|
|
fn clear(&mut self) {
|
|
|
self.doc_id.clear();
|
|
|
- self.from_rev_id = 0;
|
|
|
- self.to_rev_id = 0;
|
|
|
+ self.start = 0;
|
|
|
+ self.end = 0;
|
|
|
self.unknown_fields.clear();
|
|
|
}
|
|
|
}
|
|
@@ -804,48 +804,48 @@ static file_descriptor_proto_data: &'static [u8] = b"\
|
|
|
\x20\x01(\x03R\tbaseRevId\x12\x15\n\x06rev_id\x18\x02\x20\x01(\x03R\x05r\
|
|
|
evId\x12\x1d\n\ndelta_data\x18\x03\x20\x01(\x0cR\tdeltaData\x12\x10\n\
|
|
|
\x03md5\x18\x04\x20\x01(\tR\x03md5\x12\x15\n\x06doc_id\x18\x05\x20\x01(\
|
|
|
- \tR\x05docId\x12\x18\n\x02ty\x18\x06\x20\x01(\x0e2\x08.RevTypeR\x02ty\"b\
|
|
|
+ \tR\x05docId\x12\x18\n\x02ty\x18\x06\x20\x01(\x0e2\x08.RevTypeR\x02ty\"N\
|
|
|
\n\rRevisionRange\x12\x15\n\x06doc_id\x18\x01\x20\x01(\tR\x05docId\x12\
|
|
|
- \x1e\n\x0bfrom_rev_id\x18\x02\x20\x01(\x03R\tfromRevId\x12\x1a\n\tto_rev\
|
|
|
- _id\x18\x03\x20\x01(\x03R\x07toRevId*\x20\n\x07RevType\x12\t\n\x05Local\
|
|
|
- \x10\0\x12\n\n\x06Remote\x10\x01J\xea\x05\n\x06\x12\x04\0\0\x15\x01\n\
|
|
|
- \x08\n\x01\x0c\x12\x03\0\0\x12\n\n\n\x02\x04\0\x12\x04\x02\0\x04\x01\n\n\
|
|
|
- \n\x03\x04\0\x01\x12\x03\x02\x08\r\n\x0b\n\x04\x04\0\x02\0\x12\x03\x03\
|
|
|
- \x04\x14\n\x0c\n\x05\x04\0\x02\0\x05\x12\x03\x03\x04\t\n\x0c\n\x05\x04\0\
|
|
|
- \x02\0\x01\x12\x03\x03\n\x0f\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03\x03\x12\
|
|
|
- \x13\n\n\n\x02\x04\x01\x12\x04\x05\0\x0c\x01\n\n\n\x03\x04\x01\x01\x12\
|
|
|
- \x03\x05\x08\x10\n\x0b\n\x04\x04\x01\x02\0\x12\x03\x06\x04\x1a\n\x0c\n\
|
|
|
- \x05\x04\x01\x02\0\x05\x12\x03\x06\x04\t\n\x0c\n\x05\x04\x01\x02\0\x01\
|
|
|
- \x12\x03\x06\n\x15\n\x0c\n\x05\x04\x01\x02\0\x03\x12\x03\x06\x18\x19\n\
|
|
|
- \x0b\n\x04\x04\x01\x02\x01\x12\x03\x07\x04\x15\n\x0c\n\x05\x04\x01\x02\
|
|
|
- \x01\x05\x12\x03\x07\x04\t\n\x0c\n\x05\x04\x01\x02\x01\x01\x12\x03\x07\n\
|
|
|
- \x10\n\x0c\n\x05\x04\x01\x02\x01\x03\x12\x03\x07\x13\x14\n\x0b\n\x04\x04\
|
|
|
- \x01\x02\x02\x12\x03\x08\x04\x19\n\x0c\n\x05\x04\x01\x02\x02\x05\x12\x03\
|
|
|
- \x08\x04\t\n\x0c\n\x05\x04\x01\x02\x02\x01\x12\x03\x08\n\x14\n\x0c\n\x05\
|
|
|
- \x04\x01\x02\x02\x03\x12\x03\x08\x17\x18\n\x0b\n\x04\x04\x01\x02\x03\x12\
|
|
|
- \x03\t\x04\x13\n\x0c\n\x05\x04\x01\x02\x03\x05\x12\x03\t\x04\n\n\x0c\n\
|
|
|
- \x05\x04\x01\x02\x03\x01\x12\x03\t\x0b\x0e\n\x0c\n\x05\x04\x01\x02\x03\
|
|
|
- \x03\x12\x03\t\x11\x12\n\x0b\n\x04\x04\x01\x02\x04\x12\x03\n\x04\x16\n\
|
|
|
- \x0c\n\x05\x04\x01\x02\x04\x05\x12\x03\n\x04\n\n\x0c\n\x05\x04\x01\x02\
|
|
|
- \x04\x01\x12\x03\n\x0b\x11\n\x0c\n\x05\x04\x01\x02\x04\x03\x12\x03\n\x14\
|
|
|
- \x15\n\x0b\n\x04\x04\x01\x02\x05\x12\x03\x0b\x04\x13\n\x0c\n\x05\x04\x01\
|
|
|
- \x02\x05\x06\x12\x03\x0b\x04\x0b\n\x0c\n\x05\x04\x01\x02\x05\x01\x12\x03\
|
|
|
- \x0b\x0c\x0e\n\x0c\n\x05\x04\x01\x02\x05\x03\x12\x03\x0b\x11\x12\n\n\n\
|
|
|
- \x02\x04\x02\x12\x04\r\0\x11\x01\n\n\n\x03\x04\x02\x01\x12\x03\r\x08\x15\
|
|
|
- \n\x0b\n\x04\x04\x02\x02\0\x12\x03\x0e\x04\x16\n\x0c\n\x05\x04\x02\x02\0\
|
|
|
- \x05\x12\x03\x0e\x04\n\n\x0c\n\x05\x04\x02\x02\0\x01\x12\x03\x0e\x0b\x11\
|
|
|
- \n\x0c\n\x05\x04\x02\x02\0\x03\x12\x03\x0e\x14\x15\n\x0b\n\x04\x04\x02\
|
|
|
- \x02\x01\x12\x03\x0f\x04\x1a\n\x0c\n\x05\x04\x02\x02\x01\x05\x12\x03\x0f\
|
|
|
- \x04\t\n\x0c\n\x05\x04\x02\x02\x01\x01\x12\x03\x0f\n\x15\n\x0c\n\x05\x04\
|
|
|
- \x02\x02\x01\x03\x12\x03\x0f\x18\x19\n\x0b\n\x04\x04\x02\x02\x02\x12\x03\
|
|
|
- \x10\x04\x18\n\x0c\n\x05\x04\x02\x02\x02\x05\x12\x03\x10\x04\t\n\x0c\n\
|
|
|
- \x05\x04\x02\x02\x02\x01\x12\x03\x10\n\x13\n\x0c\n\x05\x04\x02\x02\x02\
|
|
|
- \x03\x12\x03\x10\x16\x17\n\n\n\x02\x05\0\x12\x04\x12\0\x15\x01\n\n\n\x03\
|
|
|
- \x05\0\x01\x12\x03\x12\x05\x0c\n\x0b\n\x04\x05\0\x02\0\x12\x03\x13\x04\
|
|
|
- \x0e\n\x0c\n\x05\x05\0\x02\0\x01\x12\x03\x13\x04\t\n\x0c\n\x05\x05\0\x02\
|
|
|
- \0\x02\x12\x03\x13\x0c\r\n\x0b\n\x04\x05\0\x02\x01\x12\x03\x14\x04\x0f\n\
|
|
|
- \x0c\n\x05\x05\0\x02\x01\x01\x12\x03\x14\x04\n\n\x0c\n\x05\x05\0\x02\x01\
|
|
|
- \x02\x12\x03\x14\r\x0eb\x06proto3\
|
|
|
+ \x14\n\x05start\x18\x02\x20\x01(\x03R\x05start\x12\x10\n\x03end\x18\x03\
|
|
|
+ \x20\x01(\x03R\x03end*\x20\n\x07RevType\x12\t\n\x05Local\x10\0\x12\n\n\
|
|
|
+ \x06Remote\x10\x01J\xea\x05\n\x06\x12\x04\0\0\x15\x01\n\x08\n\x01\x0c\
|
|
|
+ \x12\x03\0\0\x12\n\n\n\x02\x04\0\x12\x04\x02\0\x04\x01\n\n\n\x03\x04\0\
|
|
|
+ \x01\x12\x03\x02\x08\r\n\x0b\n\x04\x04\0\x02\0\x12\x03\x03\x04\x14\n\x0c\
|
|
|
+ \n\x05\x04\0\x02\0\x05\x12\x03\x03\x04\t\n\x0c\n\x05\x04\0\x02\0\x01\x12\
|
|
|
+ \x03\x03\n\x0f\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03\x03\x12\x13\n\n\n\x02\
|
|
|
+ \x04\x01\x12\x04\x05\0\x0c\x01\n\n\n\x03\x04\x01\x01\x12\x03\x05\x08\x10\
|
|
|
+ \n\x0b\n\x04\x04\x01\x02\0\x12\x03\x06\x04\x1a\n\x0c\n\x05\x04\x01\x02\0\
|
|
|
+ \x05\x12\x03\x06\x04\t\n\x0c\n\x05\x04\x01\x02\0\x01\x12\x03\x06\n\x15\n\
|
|
|
+ \x0c\n\x05\x04\x01\x02\0\x03\x12\x03\x06\x18\x19\n\x0b\n\x04\x04\x01\x02\
|
|
|
+ \x01\x12\x03\x07\x04\x15\n\x0c\n\x05\x04\x01\x02\x01\x05\x12\x03\x07\x04\
|
|
|
+ \t\n\x0c\n\x05\x04\x01\x02\x01\x01\x12\x03\x07\n\x10\n\x0c\n\x05\x04\x01\
|
|
|
+ \x02\x01\x03\x12\x03\x07\x13\x14\n\x0b\n\x04\x04\x01\x02\x02\x12\x03\x08\
|
|
|
+ \x04\x19\n\x0c\n\x05\x04\x01\x02\x02\x05\x12\x03\x08\x04\t\n\x0c\n\x05\
|
|
|
+ \x04\x01\x02\x02\x01\x12\x03\x08\n\x14\n\x0c\n\x05\x04\x01\x02\x02\x03\
|
|
|
+ \x12\x03\x08\x17\x18\n\x0b\n\x04\x04\x01\x02\x03\x12\x03\t\x04\x13\n\x0c\
|
|
|
+ \n\x05\x04\x01\x02\x03\x05\x12\x03\t\x04\n\n\x0c\n\x05\x04\x01\x02\x03\
|
|
|
+ \x01\x12\x03\t\x0b\x0e\n\x0c\n\x05\x04\x01\x02\x03\x03\x12\x03\t\x11\x12\
|
|
|
+ \n\x0b\n\x04\x04\x01\x02\x04\x12\x03\n\x04\x16\n\x0c\n\x05\x04\x01\x02\
|
|
|
+ \x04\x05\x12\x03\n\x04\n\n\x0c\n\x05\x04\x01\x02\x04\x01\x12\x03\n\x0b\
|
|
|
+ \x11\n\x0c\n\x05\x04\x01\x02\x04\x03\x12\x03\n\x14\x15\n\x0b\n\x04\x04\
|
|
|
+ \x01\x02\x05\x12\x03\x0b\x04\x13\n\x0c\n\x05\x04\x01\x02\x05\x06\x12\x03\
|
|
|
+ \x0b\x04\x0b\n\x0c\n\x05\x04\x01\x02\x05\x01\x12\x03\x0b\x0c\x0e\n\x0c\n\
|
|
|
+ \x05\x04\x01\x02\x05\x03\x12\x03\x0b\x11\x12\n\n\n\x02\x04\x02\x12\x04\r\
|
|
|
+ \0\x11\x01\n\n\n\x03\x04\x02\x01\x12\x03\r\x08\x15\n\x0b\n\x04\x04\x02\
|
|
|
+ \x02\0\x12\x03\x0e\x04\x16\n\x0c\n\x05\x04\x02\x02\0\x05\x12\x03\x0e\x04\
|
|
|
+ \n\n\x0c\n\x05\x04\x02\x02\0\x01\x12\x03\x0e\x0b\x11\n\x0c\n\x05\x04\x02\
|
|
|
+ \x02\0\x03\x12\x03\x0e\x14\x15\n\x0b\n\x04\x04\x02\x02\x01\x12\x03\x0f\
|
|
|
+ \x04\x14\n\x0c\n\x05\x04\x02\x02\x01\x05\x12\x03\x0f\x04\t\n\x0c\n\x05\
|
|
|
+ \x04\x02\x02\x01\x01\x12\x03\x0f\n\x0f\n\x0c\n\x05\x04\x02\x02\x01\x03\
|
|
|
+ \x12\x03\x0f\x12\x13\n\x0b\n\x04\x04\x02\x02\x02\x12\x03\x10\x04\x12\n\
|
|
|
+ \x0c\n\x05\x04\x02\x02\x02\x05\x12\x03\x10\x04\t\n\x0c\n\x05\x04\x02\x02\
|
|
|
+ \x02\x01\x12\x03\x10\n\r\n\x0c\n\x05\x04\x02\x02\x02\x03\x12\x03\x10\x10\
|
|
|
+ \x11\n\n\n\x02\x05\0\x12\x04\x12\0\x15\x01\n\n\n\x03\x05\0\x01\x12\x03\
|
|
|
+ \x12\x05\x0c\n\x0b\n\x04\x05\0\x02\0\x12\x03\x13\x04\x0e\n\x0c\n\x05\x05\
|
|
|
+ \0\x02\0\x01\x12\x03\x13\x04\t\n\x0c\n\x05\x05\0\x02\0\x02\x12\x03\x13\
|
|
|
+ \x0c\r\n\x0b\n\x04\x05\0\x02\x01\x12\x03\x14\x04\x0f\n\x0c\n\x05\x05\0\
|
|
|
+ \x02\x01\x01\x12\x03\x14\x04\n\n\x0c\n\x05\x05\0\x02\x01\x02\x12\x03\x14\
|
|
|
+ \r\x0eb\x06proto3\
|
|
|
";
|
|
|
|
|
|
static file_descriptor_proto_lazy: ::protobuf::rt::LazyV2<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::LazyV2::INIT;
|