Struct kvproto::pdpb::RegionHeartbeatResponse [−][src]
Fields
header: SingularPtrField<ResponseHeader>
change_peer: SingularPtrField<ChangePeer>
transfer_leader: SingularPtrField<TransferLeader>
region_id: u64
region_epoch: SingularPtrField<RegionEpoch>
target_peer: SingularPtrField<Peer>
merge: SingularPtrField<Merge>
split_region: SingularPtrField<SplitRegion>
change_peer_v2: SingularPtrField<ChangePeerV2>
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl RegionHeartbeatResponse
[src]
pub fn new() -> RegionHeartbeatResponse
[src]
pub fn get_header(&self) -> &ResponseHeader
[src]
pub fn clear_header(&mut self)
[src]
pub fn has_header(&self) -> bool
[src]
pub fn set_header(&mut self, v: ResponseHeader)
[src]
pub fn mut_header(&mut self) -> &mut ResponseHeader
[src]
pub fn take_header(&mut self) -> ResponseHeader
[src]
pub fn get_change_peer(&self) -> &ChangePeer
[src]
pub fn clear_change_peer(&mut self)
[src]
pub fn has_change_peer(&self) -> bool
[src]
pub fn set_change_peer(&mut self, v: ChangePeer)
[src]
pub fn mut_change_peer(&mut self) -> &mut ChangePeer
[src]
pub fn take_change_peer(&mut self) -> ChangePeer
[src]
pub fn get_transfer_leader(&self) -> &TransferLeader
[src]
pub fn clear_transfer_leader(&mut self)
[src]
pub fn has_transfer_leader(&self) -> bool
[src]
pub fn set_transfer_leader(&mut self, v: TransferLeader)
[src]
pub fn mut_transfer_leader(&mut self) -> &mut TransferLeader
[src]
pub fn take_transfer_leader(&mut self) -> TransferLeader
[src]
pub fn get_region_id(&self) -> u64
[src]
pub fn clear_region_id(&mut self)
[src]
pub fn set_region_id(&mut self, v: u64)
[src]
pub fn get_region_epoch(&self) -> &RegionEpoch
[src]
pub fn clear_region_epoch(&mut self)
[src]
pub fn has_region_epoch(&self) -> bool
[src]
pub fn set_region_epoch(&mut self, v: RegionEpoch)
[src]
pub fn mut_region_epoch(&mut self) -> &mut RegionEpoch
[src]
pub fn take_region_epoch(&mut self) -> RegionEpoch
[src]
pub fn get_target_peer(&self) -> &Peer
[src]
pub fn clear_target_peer(&mut self)
[src]
pub fn has_target_peer(&self) -> bool
[src]
pub fn set_target_peer(&mut self, v: Peer)
[src]
pub fn mut_target_peer(&mut self) -> &mut Peer
[src]
pub fn take_target_peer(&mut self) -> Peer
[src]
pub fn get_merge(&self) -> &Merge
[src]
pub fn clear_merge(&mut self)
[src]
pub fn has_merge(&self) -> bool
[src]
pub fn set_merge(&mut self, v: Merge)
[src]
pub fn mut_merge(&mut self) -> &mut Merge
[src]
pub fn take_merge(&mut self) -> Merge
[src]
pub fn get_split_region(&self) -> &SplitRegion
[src]
pub fn clear_split_region(&mut self)
[src]
pub fn has_split_region(&self) -> bool
[src]
pub fn set_split_region(&mut self, v: SplitRegion)
[src]
pub fn mut_split_region(&mut self) -> &mut SplitRegion
[src]
pub fn take_split_region(&mut self) -> SplitRegion
[src]
pub fn get_change_peer_v2(&self) -> &ChangePeerV2
[src]
pub fn clear_change_peer_v2(&mut self)
[src]
pub fn has_change_peer_v2(&self) -> bool
[src]
pub fn set_change_peer_v2(&mut self, v: ChangePeerV2)
[src]
pub fn mut_change_peer_v2(&mut self) -> &mut ChangePeerV2
[src]
pub fn take_change_peer_v2(&mut self) -> ChangePeerV2
[src]
Trait Implementations
impl Clear for RegionHeartbeatResponse
[src]
impl Clone for RegionHeartbeatResponse
[src]
fn clone(&self) -> RegionHeartbeatResponse
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RegionHeartbeatResponse
[src]
impl Default for RegionHeartbeatResponse
[src]
fn default() -> RegionHeartbeatResponse
[src]
impl<'a> Default for &'a RegionHeartbeatResponse
[src]
fn default() -> &'a RegionHeartbeatResponse
[src]
impl Message for RegionHeartbeatResponse
[src]
fn is_initialized(&self) -> bool
[src]
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
[src]
fn compute_size(&self) -> u32
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
[src]
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn as_any(&self) -> &dyn Any
[src]
fn as_any_mut(&mut self) -> &mut dyn Any
[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>
[src]
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn new() -> RegionHeartbeatResponse
[src]
fn default_instance() -> &'static RegionHeartbeatResponse
[src]
pub fn write_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
[src]
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
pub fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]
pub fn check_initialized(&self) -> Result<(), ProtobufError>
[src]
pub fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
[src]
pub fn write_to_vec(&self, v: &mut Vec<u8, Global>) -> Result<(), ProtobufError>
[src]
pub fn write_to_bytes(&self) -> Result<Vec<u8, Global>, ProtobufError>
[src]
pub fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to_bytes(
&self
) -> Result<Vec<u8, Global>, ProtobufError>
[src]
&self
) -> Result<Vec<u8, Global>, ProtobufError>
pub fn type_id(&self) -> TypeId
[src]
pub fn descriptor_static() -> &'static MessageDescriptor
[src]
impl PartialEq<RegionHeartbeatResponse> for RegionHeartbeatResponse
[src]
fn eq(&self, other: &RegionHeartbeatResponse) -> bool
[src]
fn ne(&self, other: &RegionHeartbeatResponse) -> bool
[src]
impl PbPrint for RegionHeartbeatResponse
[src]
impl ProtobufValue for RegionHeartbeatResponse
[src]
fn as_ref(&self) -> ProtobufValueRef<'_>
[src]
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn is_non_zero(&self) -> bool
[src]
pub fn as_ref_copy(&self) -> ProtobufValueRef<'static>
[src]
impl StructuralPartialEq for RegionHeartbeatResponse
[src]
Auto Trait Implementations
impl RefUnwindSafe for RegionHeartbeatResponse
impl Send for RegionHeartbeatResponse
impl Sync for RegionHeartbeatResponse
impl Unpin for RegionHeartbeatResponse
impl UnwindSafe for RegionHeartbeatResponse
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,