Struct pulsar_binary_protocol_spec::protos::protobuf::PulsarApi::MessageMetadata[][src]

pub struct MessageMetadata {
    pub properties: RepeatedField<KeyValue>,
    pub replicate_to: RepeatedField<String>,
    pub encryption_keys: RepeatedField<EncryptionKeys>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
    // some fields omitted
}

Fields

properties: RepeatedField<KeyValue>replicate_to: RepeatedField<String>encryption_keys: RepeatedField<EncryptionKeys>unknown_fields: UnknownFieldscached_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]

impl Debug for MessageMetadata[src]

impl Default for MessageMetadata[src]

impl<'a> Default for &'a MessageMetadata[src]

impl<'a> From<&'a MessageMetadata> for MessageMetadata<'a>[src]

impl Message for MessageMetadata[src]

impl PartialEq<MessageMetadata> for MessageMetadata[src]

impl ProtobufValue for MessageMetadata[src]

impl StructuralPartialEq for MessageMetadata[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.