Struct pulsar_binary_protocol_spec::protos::protobuf::PulsarApi::MessageMetadata [−][src]
Fields
properties: RepeatedField<KeyValue>
replicate_to: RepeatedField<String>
encryption_keys: RepeatedField<EncryptionKeys>
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl MessageMetadata
[src]
pub fn new() -> MessageMetadata
[src]
pub fn get_producer_name(&self) -> &str
[src]
pub fn clear_producer_name(&mut self)
[src]
pub fn has_producer_name(&self) -> bool
[src]
pub fn set_producer_name(&mut self, v: String)
[src]
pub fn mut_producer_name(&mut self) -> &mut String
[src]
pub fn take_producer_name(&mut self) -> String
[src]
pub fn get_sequence_id(&self) -> u64
[src]
pub fn clear_sequence_id(&mut self)
[src]
pub fn has_sequence_id(&self) -> bool
[src]
pub fn set_sequence_id(&mut self, v: u64)
[src]
pub fn get_publish_time(&self) -> u64
[src]
pub fn clear_publish_time(&mut self)
[src]
pub fn has_publish_time(&self) -> bool
[src]
pub fn set_publish_time(&mut self, v: u64)
[src]
pub fn get_properties(&self) -> &[KeyValue]
[src]
pub fn clear_properties(&mut self)
[src]
pub fn set_properties(&mut self, v: RepeatedField<KeyValue>)
[src]
pub fn mut_properties(&mut self) -> &mut RepeatedField<KeyValue>
[src]
pub fn take_properties(&mut self) -> RepeatedField<KeyValue>
[src]
pub fn get_replicated_from(&self) -> &str
[src]
pub fn clear_replicated_from(&mut self)
[src]
pub fn has_replicated_from(&self) -> bool
[src]
pub fn set_replicated_from(&mut self, v: String)
[src]
pub fn mut_replicated_from(&mut self) -> &mut String
[src]
pub fn take_replicated_from(&mut self) -> String
[src]
pub fn get_partition_key(&self) -> &str
[src]
pub fn clear_partition_key(&mut self)
[src]
pub fn has_partition_key(&self) -> bool
[src]
pub fn set_partition_key(&mut self, v: String)
[src]
pub fn mut_partition_key(&mut self) -> &mut String
[src]
pub fn take_partition_key(&mut self) -> String
[src]
pub fn get_replicate_to(&self) -> &[String]
[src]
pub fn clear_replicate_to(&mut self)
[src]
pub fn set_replicate_to(&mut self, v: RepeatedField<String>)
[src]
pub fn mut_replicate_to(&mut self) -> &mut RepeatedField<String>
[src]
pub fn take_replicate_to(&mut self) -> RepeatedField<String>
[src]
pub fn get_compression(&self) -> CompressionType
[src]
pub fn clear_compression(&mut self)
[src]
pub fn has_compression(&self) -> bool
[src]
pub fn set_compression(&mut self, v: CompressionType)
[src]
pub fn get_uncompressed_size(&self) -> u32
[src]
pub fn clear_uncompressed_size(&mut self)
[src]
pub fn has_uncompressed_size(&self) -> bool
[src]
pub fn set_uncompressed_size(&mut self, v: u32)
[src]
pub fn get_num_messages_in_batch(&self) -> i32
[src]
pub fn clear_num_messages_in_batch(&mut self)
[src]
pub fn has_num_messages_in_batch(&self) -> bool
[src]
pub fn set_num_messages_in_batch(&mut self, v: i32)
[src]
pub fn get_event_time(&self) -> u64
[src]
pub fn clear_event_time(&mut self)
[src]
pub fn has_event_time(&self) -> bool
[src]
pub fn set_event_time(&mut self, v: u64)
[src]
pub fn get_encryption_keys(&self) -> &[EncryptionKeys]
[src]
pub fn clear_encryption_keys(&mut self)
[src]
pub fn set_encryption_keys(&mut self, v: RepeatedField<EncryptionKeys>)
[src]
pub fn mut_encryption_keys(&mut self) -> &mut RepeatedField<EncryptionKeys>
[src]
pub fn take_encryption_keys(&mut self) -> RepeatedField<EncryptionKeys>
[src]
pub fn get_encryption_algo(&self) -> &str
[src]
pub fn clear_encryption_algo(&mut self)
[src]
pub fn has_encryption_algo(&self) -> bool
[src]
pub fn set_encryption_algo(&mut self, v: String)
[src]
pub fn mut_encryption_algo(&mut self) -> &mut String
[src]
pub fn take_encryption_algo(&mut self) -> String
[src]
pub fn get_encryption_param(&self) -> &[u8]
[src]
pub fn clear_encryption_param(&mut self)
[src]
pub fn has_encryption_param(&self) -> bool
[src]
pub fn set_encryption_param(&mut self, v: Vec<u8>)
[src]
pub fn mut_encryption_param(&mut self) -> &mut Vec<u8>
[src]
pub fn take_encryption_param(&mut self) -> Vec<u8>
[src]
pub fn get_schema_version(&self) -> &[u8]
[src]
pub fn clear_schema_version(&mut self)
[src]
pub fn has_schema_version(&self) -> bool
[src]
pub fn set_schema_version(&mut self, v: Vec<u8>)
[src]
pub fn mut_schema_version(&mut self) -> &mut Vec<u8>
[src]
pub fn take_schema_version(&mut self) -> Vec<u8>
[src]
pub fn get_partition_key_b64_encoded(&self) -> bool
[src]
pub fn clear_partition_key_b64_encoded(&mut self)
[src]
pub fn has_partition_key_b64_encoded(&self) -> bool
[src]
pub fn set_partition_key_b64_encoded(&mut self, v: bool)
[src]
pub fn get_ordering_key(&self) -> &[u8]
[src]
pub fn clear_ordering_key(&mut self)
[src]
pub fn has_ordering_key(&self) -> bool
[src]
pub fn set_ordering_key(&mut self, v: Vec<u8>)
[src]
pub fn mut_ordering_key(&mut self) -> &mut Vec<u8>
[src]
pub fn take_ordering_key(&mut self) -> Vec<u8>
[src]
pub fn get_deliver_at_time(&self) -> i64
[src]
pub fn clear_deliver_at_time(&mut self)
[src]
pub fn has_deliver_at_time(&self) -> bool
[src]
pub fn set_deliver_at_time(&mut self, v: i64)
[src]
pub fn get_marker_type(&self) -> i32
[src]
pub fn clear_marker_type(&mut self)
[src]
pub fn has_marker_type(&self) -> bool
[src]
pub fn set_marker_type(&mut self, v: i32)
[src]
pub fn get_txnid_least_bits(&self) -> u64
[src]
pub fn clear_txnid_least_bits(&mut self)
[src]
pub fn has_txnid_least_bits(&self) -> bool
[src]
pub fn set_txnid_least_bits(&mut self, v: u64)
[src]
pub fn get_txnid_most_bits(&self) -> u64
[src]
pub fn clear_txnid_most_bits(&mut self)
[src]
pub fn has_txnid_most_bits(&self) -> bool
[src]
pub fn set_txnid_most_bits(&mut self, v: u64)
[src]
pub fn get_highest_sequence_id(&self) -> u64
[src]
pub fn clear_highest_sequence_id(&mut self)
[src]
pub fn has_highest_sequence_id(&self) -> bool
[src]
pub fn set_highest_sequence_id(&mut self, v: u64)
[src]
pub fn get_null_value(&self) -> bool
[src]
pub fn clear_null_value(&mut self)
[src]
pub fn has_null_value(&self) -> bool
[src]
pub fn set_null_value(&mut self, v: bool)
[src]
pub fn get_uuid(&self) -> &str
[src]
pub fn clear_uuid(&mut self)
[src]
pub fn has_uuid(&self) -> bool
[src]
pub fn set_uuid(&mut self, v: String)
[src]
pub fn mut_uuid(&mut self) -> &mut String
[src]
pub fn take_uuid(&mut self) -> String
[src]
pub fn get_num_chunks_from_msg(&self) -> i32
[src]
pub fn clear_num_chunks_from_msg(&mut self)
[src]
pub fn has_num_chunks_from_msg(&self) -> bool
[src]
pub fn set_num_chunks_from_msg(&mut self, v: i32)
[src]
pub fn get_total_chunk_msg_size(&self) -> i32
[src]
pub fn clear_total_chunk_msg_size(&mut self)
[src]
pub fn has_total_chunk_msg_size(&self) -> bool
[src]
pub fn set_total_chunk_msg_size(&mut self, v: i32)
[src]
pub fn get_chunk_id(&self) -> i32
[src]
pub fn clear_chunk_id(&mut self)
[src]
pub fn has_chunk_id(&self) -> bool
[src]
pub fn set_chunk_id(&mut self, v: i32)
[src]
pub fn get_null_partition_key(&self) -> bool
[src]
pub fn clear_null_partition_key(&mut self)
[src]
pub fn has_null_partition_key(&self) -> bool
[src]
pub fn set_null_partition_key(&mut self, v: bool)
[src]
Trait Implementations
impl Clear for MessageMetadata
[src]
impl Clone for MessageMetadata
[src]
fn clone(&self) -> MessageMetadata
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MessageMetadata
[src]
impl Default for MessageMetadata
[src]
fn default() -> MessageMetadata
[src]
impl<'a> Default for &'a MessageMetadata
[src]
fn default() -> &'a MessageMetadata
[src]
impl<'a> From<&'a MessageMetadata> for MessageMetadata<'a>
[src]
fn from(mm: &'a Protobuf_MessageMetadata) -> Self
[src]
impl Message for MessageMetadata
[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() -> MessageMetadata
[src]
fn default_instance() -> &'static MessageMetadata
[src]
pub fn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, ProtobufError>
[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 parse_from_reader(reader: &mut dyn Read) -> Result<Self, ProtobufError>
[src]
pub fn parse_from_bytes(bytes: &[u8]) -> Result<Self, 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<MessageMetadata> for MessageMetadata
[src]
fn eq(&self, other: &MessageMetadata) -> bool
[src]
fn ne(&self, other: &MessageMetadata) -> bool
[src]
impl ProtobufValue for MessageMetadata
[src]
fn as_ref(&self) -> ReflectValueRef<'_>
[src]
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn is_non_zero(&self) -> bool
[src]
pub fn as_ref_copy(&self) -> ReflectValueRef<'static>
[src]
impl StructuralPartialEq for MessageMetadata
[src]
Auto Trait Implementations
impl RefUnwindSafe for MessageMetadata
[src]
impl Send for MessageMetadata
[src]
impl Sync for MessageMetadata
[src]
impl Unpin for MessageMetadata
[src]
impl UnwindSafe for MessageMetadata
[src]
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>,