pulsar_binary_protocol_spec::protos::protobuf::PulsarApi

Struct BaseCommand

Source
pub struct BaseCommand {
Show 53 fields pub connect: SingularPtrField<CommandConnect>, pub connected: SingularPtrField<CommandConnected>, pub subscribe: SingularPtrField<CommandSubscribe>, pub producer: SingularPtrField<CommandProducer>, pub send: SingularPtrField<CommandSend>, pub send_receipt: SingularPtrField<CommandSendReceipt>, pub send_error: SingularPtrField<CommandSendError>, pub message: SingularPtrField<CommandMessage>, pub ack: SingularPtrField<CommandAck>, pub flow: SingularPtrField<CommandFlow>, pub unsubscribe: SingularPtrField<CommandUnsubscribe>, pub success: SingularPtrField<CommandSuccess>, pub error: SingularPtrField<CommandError>, pub close_producer: SingularPtrField<CommandCloseProducer>, pub close_consumer: SingularPtrField<CommandCloseConsumer>, pub producer_success: SingularPtrField<CommandProducerSuccess>, pub ping: SingularPtrField<CommandPing>, pub pong: SingularPtrField<CommandPong>, pub redeliverUnacknowledgedMessages: SingularPtrField<CommandRedeliverUnacknowledgedMessages>, pub partitionMetadata: SingularPtrField<CommandPartitionedTopicMetadata>, pub partitionMetadataResponse: SingularPtrField<CommandPartitionedTopicMetadataResponse>, pub lookupTopic: SingularPtrField<CommandLookupTopic>, pub lookupTopicResponse: SingularPtrField<CommandLookupTopicResponse>, pub consumerStats: SingularPtrField<CommandConsumerStats>, pub consumerStatsResponse: SingularPtrField<CommandConsumerStatsResponse>, pub reachedEndOfTopic: SingularPtrField<CommandReachedEndOfTopic>, pub seek: SingularPtrField<CommandSeek>, pub getLastMessageId: SingularPtrField<CommandGetLastMessageId>, pub getLastMessageIdResponse: SingularPtrField<CommandGetLastMessageIdResponse>, pub active_consumer_change: SingularPtrField<CommandActiveConsumerChange>, pub getTopicsOfNamespace: SingularPtrField<CommandGetTopicsOfNamespace>, pub getTopicsOfNamespaceResponse: SingularPtrField<CommandGetTopicsOfNamespaceResponse>, pub getSchema: SingularPtrField<CommandGetSchema>, pub getSchemaResponse: SingularPtrField<CommandGetSchemaResponse>, pub authChallenge: SingularPtrField<CommandAuthChallenge>, pub authResponse: SingularPtrField<CommandAuthResponse>, pub ackResponse: SingularPtrField<CommandAckResponse>, pub getOrCreateSchema: SingularPtrField<CommandGetOrCreateSchema>, pub getOrCreateSchemaResponse: SingularPtrField<CommandGetOrCreateSchemaResponse>, pub newTxn: SingularPtrField<CommandNewTxn>, pub newTxnResponse: SingularPtrField<CommandNewTxnResponse>, pub addPartitionToTxn: SingularPtrField<CommandAddPartitionToTxn>, pub addPartitionToTxnResponse: SingularPtrField<CommandAddPartitionToTxnResponse>, pub addSubscriptionToTxn: SingularPtrField<CommandAddSubscriptionToTxn>, pub addSubscriptionToTxnResponse: SingularPtrField<CommandAddSubscriptionToTxnResponse>, pub endTxn: SingularPtrField<CommandEndTxn>, pub endTxnResponse: SingularPtrField<CommandEndTxnResponse>, pub endTxnOnPartition: SingularPtrField<CommandEndTxnOnPartition>, pub endTxnOnPartitionResponse: SingularPtrField<CommandEndTxnOnPartitionResponse>, pub endTxnOnSubscription: SingularPtrField<CommandEndTxnOnSubscription>, pub endTxnOnSubscriptionResponse: SingularPtrField<CommandEndTxnOnSubscriptionResponse>, pub unknown_fields: UnknownFields, pub cached_size: CachedSize, /* private fields */
}

Fields§

§connect: SingularPtrField<CommandConnect>§connected: SingularPtrField<CommandConnected>§subscribe: SingularPtrField<CommandSubscribe>§producer: SingularPtrField<CommandProducer>§send: SingularPtrField<CommandSend>§send_receipt: SingularPtrField<CommandSendReceipt>§send_error: SingularPtrField<CommandSendError>§message: SingularPtrField<CommandMessage>§ack: SingularPtrField<CommandAck>§flow: SingularPtrField<CommandFlow>§unsubscribe: SingularPtrField<CommandUnsubscribe>§success: SingularPtrField<CommandSuccess>§error: SingularPtrField<CommandError>§close_producer: SingularPtrField<CommandCloseProducer>§close_consumer: SingularPtrField<CommandCloseConsumer>§producer_success: SingularPtrField<CommandProducerSuccess>§ping: SingularPtrField<CommandPing>§pong: SingularPtrField<CommandPong>§redeliverUnacknowledgedMessages: SingularPtrField<CommandRedeliverUnacknowledgedMessages>§partitionMetadata: SingularPtrField<CommandPartitionedTopicMetadata>§partitionMetadataResponse: SingularPtrField<CommandPartitionedTopicMetadataResponse>§lookupTopic: SingularPtrField<CommandLookupTopic>§lookupTopicResponse: SingularPtrField<CommandLookupTopicResponse>§consumerStats: SingularPtrField<CommandConsumerStats>§consumerStatsResponse: SingularPtrField<CommandConsumerStatsResponse>§reachedEndOfTopic: SingularPtrField<CommandReachedEndOfTopic>§seek: SingularPtrField<CommandSeek>§getLastMessageId: SingularPtrField<CommandGetLastMessageId>§getLastMessageIdResponse: SingularPtrField<CommandGetLastMessageIdResponse>§active_consumer_change: SingularPtrField<CommandActiveConsumerChange>§getTopicsOfNamespace: SingularPtrField<CommandGetTopicsOfNamespace>§getTopicsOfNamespaceResponse: SingularPtrField<CommandGetTopicsOfNamespaceResponse>§getSchema: SingularPtrField<CommandGetSchema>§getSchemaResponse: SingularPtrField<CommandGetSchemaResponse>§authChallenge: SingularPtrField<CommandAuthChallenge>§authResponse: SingularPtrField<CommandAuthResponse>§ackResponse: SingularPtrField<CommandAckResponse>§getOrCreateSchema: SingularPtrField<CommandGetOrCreateSchema>§getOrCreateSchemaResponse: SingularPtrField<CommandGetOrCreateSchemaResponse>§newTxn: SingularPtrField<CommandNewTxn>§newTxnResponse: SingularPtrField<CommandNewTxnResponse>§addPartitionToTxn: SingularPtrField<CommandAddPartitionToTxn>§addPartitionToTxnResponse: SingularPtrField<CommandAddPartitionToTxnResponse>§addSubscriptionToTxn: SingularPtrField<CommandAddSubscriptionToTxn>§addSubscriptionToTxnResponse: SingularPtrField<CommandAddSubscriptionToTxnResponse>§endTxn: SingularPtrField<CommandEndTxn>§endTxnResponse: SingularPtrField<CommandEndTxnResponse>§endTxnOnPartition: SingularPtrField<CommandEndTxnOnPartition>§endTxnOnPartitionResponse: SingularPtrField<CommandEndTxnOnPartitionResponse>§endTxnOnSubscription: SingularPtrField<CommandEndTxnOnSubscription>§endTxnOnSubscriptionResponse: SingularPtrField<CommandEndTxnOnSubscriptionResponse>§unknown_fields: UnknownFields§cached_size: CachedSize

Implementations§

Source§

impl BaseCommand

Source

pub fn new() -> BaseCommand

Source

pub fn get_field_type(&self) -> BaseCommand_Type

Source

pub fn clear_field_type(&mut self)

Source

pub fn has_field_type(&self) -> bool

Source

pub fn set_field_type(&mut self, v: BaseCommand_Type)

Source

pub fn get_connect(&self) -> &CommandConnect

Source

pub fn clear_connect(&mut self)

Source

pub fn has_connect(&self) -> bool

Source

pub fn set_connect(&mut self, v: CommandConnect)

Source

pub fn mut_connect(&mut self) -> &mut CommandConnect

Source

pub fn take_connect(&mut self) -> CommandConnect

Source

pub fn get_connected(&self) -> &CommandConnected

Source

pub fn clear_connected(&mut self)

Source

pub fn has_connected(&self) -> bool

Source

pub fn set_connected(&mut self, v: CommandConnected)

Source

pub fn mut_connected(&mut self) -> &mut CommandConnected

Source

pub fn take_connected(&mut self) -> CommandConnected

Source

pub fn get_subscribe(&self) -> &CommandSubscribe

Source

pub fn clear_subscribe(&mut self)

Source

pub fn has_subscribe(&self) -> bool

Source

pub fn set_subscribe(&mut self, v: CommandSubscribe)

Source

pub fn mut_subscribe(&mut self) -> &mut CommandSubscribe

Source

pub fn take_subscribe(&mut self) -> CommandSubscribe

Source

pub fn get_producer(&self) -> &CommandProducer

Source

pub fn clear_producer(&mut self)

Source

pub fn has_producer(&self) -> bool

Source

pub fn set_producer(&mut self, v: CommandProducer)

Source

pub fn mut_producer(&mut self) -> &mut CommandProducer

Source

pub fn take_producer(&mut self) -> CommandProducer

Source

pub fn get_send(&self) -> &CommandSend

Source

pub fn clear_send(&mut self)

Source

pub fn has_send(&self) -> bool

Source

pub fn set_send(&mut self, v: CommandSend)

Source

pub fn mut_send(&mut self) -> &mut CommandSend

Source

pub fn take_send(&mut self) -> CommandSend

Source

pub fn get_send_receipt(&self) -> &CommandSendReceipt

Source

pub fn clear_send_receipt(&mut self)

Source

pub fn has_send_receipt(&self) -> bool

Source

pub fn set_send_receipt(&mut self, v: CommandSendReceipt)

Source

pub fn mut_send_receipt(&mut self) -> &mut CommandSendReceipt

Source

pub fn take_send_receipt(&mut self) -> CommandSendReceipt

Source

pub fn get_send_error(&self) -> &CommandSendError

Source

pub fn clear_send_error(&mut self)

Source

pub fn has_send_error(&self) -> bool

Source

pub fn set_send_error(&mut self, v: CommandSendError)

Source

pub fn mut_send_error(&mut self) -> &mut CommandSendError

Source

pub fn take_send_error(&mut self) -> CommandSendError

Source

pub fn get_message(&self) -> &CommandMessage

Source

pub fn clear_message(&mut self)

Source

pub fn has_message(&self) -> bool

Source

pub fn set_message(&mut self, v: CommandMessage)

Source

pub fn mut_message(&mut self) -> &mut CommandMessage

Source

pub fn take_message(&mut self) -> CommandMessage

Source

pub fn get_ack(&self) -> &CommandAck

Source

pub fn clear_ack(&mut self)

Source

pub fn has_ack(&self) -> bool

Source

pub fn set_ack(&mut self, v: CommandAck)

Source

pub fn mut_ack(&mut self) -> &mut CommandAck

Source

pub fn take_ack(&mut self) -> CommandAck

Source

pub fn get_flow(&self) -> &CommandFlow

Source

pub fn clear_flow(&mut self)

Source

pub fn has_flow(&self) -> bool

Source

pub fn set_flow(&mut self, v: CommandFlow)

Source

pub fn mut_flow(&mut self) -> &mut CommandFlow

Source

pub fn take_flow(&mut self) -> CommandFlow

Source

pub fn get_unsubscribe(&self) -> &CommandUnsubscribe

Source

pub fn clear_unsubscribe(&mut self)

Source

pub fn has_unsubscribe(&self) -> bool

Source

pub fn set_unsubscribe(&mut self, v: CommandUnsubscribe)

Source

pub fn mut_unsubscribe(&mut self) -> &mut CommandUnsubscribe

Source

pub fn take_unsubscribe(&mut self) -> CommandUnsubscribe

Source

pub fn get_success(&self) -> &CommandSuccess

Source

pub fn clear_success(&mut self)

Source

pub fn has_success(&self) -> bool

Source

pub fn set_success(&mut self, v: CommandSuccess)

Source

pub fn mut_success(&mut self) -> &mut CommandSuccess

Source

pub fn take_success(&mut self) -> CommandSuccess

Source

pub fn get_error(&self) -> &CommandError

Source

pub fn clear_error(&mut self)

Source

pub fn has_error(&self) -> bool

Source

pub fn set_error(&mut self, v: CommandError)

Source

pub fn mut_error(&mut self) -> &mut CommandError

Source

pub fn take_error(&mut self) -> CommandError

Source

pub fn get_close_producer(&self) -> &CommandCloseProducer

Source

pub fn clear_close_producer(&mut self)

Source

pub fn has_close_producer(&self) -> bool

Source

pub fn set_close_producer(&mut self, v: CommandCloseProducer)

Source

pub fn mut_close_producer(&mut self) -> &mut CommandCloseProducer

Source

pub fn take_close_producer(&mut self) -> CommandCloseProducer

Source

pub fn get_close_consumer(&self) -> &CommandCloseConsumer

Source

pub fn clear_close_consumer(&mut self)

Source

pub fn has_close_consumer(&self) -> bool

Source

pub fn set_close_consumer(&mut self, v: CommandCloseConsumer)

Source

pub fn mut_close_consumer(&mut self) -> &mut CommandCloseConsumer

Source

pub fn take_close_consumer(&mut self) -> CommandCloseConsumer

Source

pub fn get_producer_success(&self) -> &CommandProducerSuccess

Source

pub fn clear_producer_success(&mut self)

Source

pub fn has_producer_success(&self) -> bool

Source

pub fn set_producer_success(&mut self, v: CommandProducerSuccess)

Source

pub fn mut_producer_success(&mut self) -> &mut CommandProducerSuccess

Source

pub fn take_producer_success(&mut self) -> CommandProducerSuccess

Source

pub fn get_ping(&self) -> &CommandPing

Source

pub fn clear_ping(&mut self)

Source

pub fn has_ping(&self) -> bool

Source

pub fn set_ping(&mut self, v: CommandPing)

Source

pub fn mut_ping(&mut self) -> &mut CommandPing

Source

pub fn take_ping(&mut self) -> CommandPing

Source

pub fn get_pong(&self) -> &CommandPong

Source

pub fn clear_pong(&mut self)

Source

pub fn has_pong(&self) -> bool

Source

pub fn set_pong(&mut self, v: CommandPong)

Source

pub fn mut_pong(&mut self) -> &mut CommandPong

Source

pub fn take_pong(&mut self) -> CommandPong

Source

pub fn get_redeliverUnacknowledgedMessages( &self, ) -> &CommandRedeliverUnacknowledgedMessages

Source

pub fn clear_redeliverUnacknowledgedMessages(&mut self)

Source

pub fn has_redeliverUnacknowledgedMessages(&self) -> bool

Source

pub fn set_redeliverUnacknowledgedMessages( &mut self, v: CommandRedeliverUnacknowledgedMessages, )

Source

pub fn mut_redeliverUnacknowledgedMessages( &mut self, ) -> &mut CommandRedeliverUnacknowledgedMessages

Source

pub fn take_redeliverUnacknowledgedMessages( &mut self, ) -> CommandRedeliverUnacknowledgedMessages

Source

pub fn get_partitionMetadata(&self) -> &CommandPartitionedTopicMetadata

Source

pub fn clear_partitionMetadata(&mut self)

Source

pub fn has_partitionMetadata(&self) -> bool

Source

pub fn set_partitionMetadata(&mut self, v: CommandPartitionedTopicMetadata)

Source

pub fn mut_partitionMetadata(&mut self) -> &mut CommandPartitionedTopicMetadata

Source

pub fn take_partitionMetadata(&mut self) -> CommandPartitionedTopicMetadata

Source

pub fn get_partitionMetadataResponse( &self, ) -> &CommandPartitionedTopicMetadataResponse

Source

pub fn clear_partitionMetadataResponse(&mut self)

Source

pub fn has_partitionMetadataResponse(&self) -> bool

Source

pub fn set_partitionMetadataResponse( &mut self, v: CommandPartitionedTopicMetadataResponse, )

Source

pub fn mut_partitionMetadataResponse( &mut self, ) -> &mut CommandPartitionedTopicMetadataResponse

Source

pub fn take_partitionMetadataResponse( &mut self, ) -> CommandPartitionedTopicMetadataResponse

Source

pub fn get_lookupTopic(&self) -> &CommandLookupTopic

Source

pub fn clear_lookupTopic(&mut self)

Source

pub fn has_lookupTopic(&self) -> bool

Source

pub fn set_lookupTopic(&mut self, v: CommandLookupTopic)

Source

pub fn mut_lookupTopic(&mut self) -> &mut CommandLookupTopic

Source

pub fn take_lookupTopic(&mut self) -> CommandLookupTopic

Source

pub fn get_lookupTopicResponse(&self) -> &CommandLookupTopicResponse

Source

pub fn clear_lookupTopicResponse(&mut self)

Source

pub fn has_lookupTopicResponse(&self) -> bool

Source

pub fn set_lookupTopicResponse(&mut self, v: CommandLookupTopicResponse)

Source

pub fn mut_lookupTopicResponse(&mut self) -> &mut CommandLookupTopicResponse

Source

pub fn take_lookupTopicResponse(&mut self) -> CommandLookupTopicResponse

Source

pub fn get_consumerStats(&self) -> &CommandConsumerStats

Source

pub fn clear_consumerStats(&mut self)

Source

pub fn has_consumerStats(&self) -> bool

Source

pub fn set_consumerStats(&mut self, v: CommandConsumerStats)

Source

pub fn mut_consumerStats(&mut self) -> &mut CommandConsumerStats

Source

pub fn take_consumerStats(&mut self) -> CommandConsumerStats

Source

pub fn get_consumerStatsResponse(&self) -> &CommandConsumerStatsResponse

Source

pub fn clear_consumerStatsResponse(&mut self)

Source

pub fn has_consumerStatsResponse(&self) -> bool

Source

pub fn set_consumerStatsResponse(&mut self, v: CommandConsumerStatsResponse)

Source

pub fn mut_consumerStatsResponse(&mut self) -> &mut CommandConsumerStatsResponse

Source

pub fn take_consumerStatsResponse(&mut self) -> CommandConsumerStatsResponse

Source

pub fn get_reachedEndOfTopic(&self) -> &CommandReachedEndOfTopic

Source

pub fn clear_reachedEndOfTopic(&mut self)

Source

pub fn has_reachedEndOfTopic(&self) -> bool

Source

pub fn set_reachedEndOfTopic(&mut self, v: CommandReachedEndOfTopic)

Source

pub fn mut_reachedEndOfTopic(&mut self) -> &mut CommandReachedEndOfTopic

Source

pub fn take_reachedEndOfTopic(&mut self) -> CommandReachedEndOfTopic

Source

pub fn get_seek(&self) -> &CommandSeek

Source

pub fn clear_seek(&mut self)

Source

pub fn has_seek(&self) -> bool

Source

pub fn set_seek(&mut self, v: CommandSeek)

Source

pub fn mut_seek(&mut self) -> &mut CommandSeek

Source

pub fn take_seek(&mut self) -> CommandSeek

Source

pub fn get_getLastMessageId(&self) -> &CommandGetLastMessageId

Source

pub fn clear_getLastMessageId(&mut self)

Source

pub fn has_getLastMessageId(&self) -> bool

Source

pub fn set_getLastMessageId(&mut self, v: CommandGetLastMessageId)

Source

pub fn mut_getLastMessageId(&mut self) -> &mut CommandGetLastMessageId

Source

pub fn take_getLastMessageId(&mut self) -> CommandGetLastMessageId

Source

pub fn get_getLastMessageIdResponse(&self) -> &CommandGetLastMessageIdResponse

Source

pub fn clear_getLastMessageIdResponse(&mut self)

Source

pub fn has_getLastMessageIdResponse(&self) -> bool

Source

pub fn set_getLastMessageIdResponse( &mut self, v: CommandGetLastMessageIdResponse, )

Source

pub fn mut_getLastMessageIdResponse( &mut self, ) -> &mut CommandGetLastMessageIdResponse

Source

pub fn take_getLastMessageIdResponse( &mut self, ) -> CommandGetLastMessageIdResponse

Source

pub fn get_active_consumer_change(&self) -> &CommandActiveConsumerChange

Source

pub fn clear_active_consumer_change(&mut self)

Source

pub fn has_active_consumer_change(&self) -> bool

Source

pub fn set_active_consumer_change(&mut self, v: CommandActiveConsumerChange)

Source

pub fn mut_active_consumer_change(&mut self) -> &mut CommandActiveConsumerChange

Source

pub fn take_active_consumer_change(&mut self) -> CommandActiveConsumerChange

Source

pub fn get_getTopicsOfNamespace(&self) -> &CommandGetTopicsOfNamespace

Source

pub fn clear_getTopicsOfNamespace(&mut self)

Source

pub fn has_getTopicsOfNamespace(&self) -> bool

Source

pub fn set_getTopicsOfNamespace(&mut self, v: CommandGetTopicsOfNamespace)

Source

pub fn mut_getTopicsOfNamespace(&mut self) -> &mut CommandGetTopicsOfNamespace

Source

pub fn take_getTopicsOfNamespace(&mut self) -> CommandGetTopicsOfNamespace

Source

pub fn get_getTopicsOfNamespaceResponse( &self, ) -> &CommandGetTopicsOfNamespaceResponse

Source

pub fn clear_getTopicsOfNamespaceResponse(&mut self)

Source

pub fn has_getTopicsOfNamespaceResponse(&self) -> bool

Source

pub fn set_getTopicsOfNamespaceResponse( &mut self, v: CommandGetTopicsOfNamespaceResponse, )

Source

pub fn mut_getTopicsOfNamespaceResponse( &mut self, ) -> &mut CommandGetTopicsOfNamespaceResponse

Source

pub fn take_getTopicsOfNamespaceResponse( &mut self, ) -> CommandGetTopicsOfNamespaceResponse

Source

pub fn get_getSchema(&self) -> &CommandGetSchema

Source

pub fn clear_getSchema(&mut self)

Source

pub fn has_getSchema(&self) -> bool

Source

pub fn set_getSchema(&mut self, v: CommandGetSchema)

Source

pub fn mut_getSchema(&mut self) -> &mut CommandGetSchema

Source

pub fn take_getSchema(&mut self) -> CommandGetSchema

Source

pub fn get_getSchemaResponse(&self) -> &CommandGetSchemaResponse

Source

pub fn clear_getSchemaResponse(&mut self)

Source

pub fn has_getSchemaResponse(&self) -> bool

Source

pub fn set_getSchemaResponse(&mut self, v: CommandGetSchemaResponse)

Source

pub fn mut_getSchemaResponse(&mut self) -> &mut CommandGetSchemaResponse

Source

pub fn take_getSchemaResponse(&mut self) -> CommandGetSchemaResponse

Source

pub fn get_authChallenge(&self) -> &CommandAuthChallenge

Source

pub fn clear_authChallenge(&mut self)

Source

pub fn has_authChallenge(&self) -> bool

Source

pub fn set_authChallenge(&mut self, v: CommandAuthChallenge)

Source

pub fn mut_authChallenge(&mut self) -> &mut CommandAuthChallenge

Source

pub fn take_authChallenge(&mut self) -> CommandAuthChallenge

Source

pub fn get_authResponse(&self) -> &CommandAuthResponse

Source

pub fn clear_authResponse(&mut self)

Source

pub fn has_authResponse(&self) -> bool

Source

pub fn set_authResponse(&mut self, v: CommandAuthResponse)

Source

pub fn mut_authResponse(&mut self) -> &mut CommandAuthResponse

Source

pub fn take_authResponse(&mut self) -> CommandAuthResponse

Source

pub fn get_ackResponse(&self) -> &CommandAckResponse

Source

pub fn clear_ackResponse(&mut self)

Source

pub fn has_ackResponse(&self) -> bool

Source

pub fn set_ackResponse(&mut self, v: CommandAckResponse)

Source

pub fn mut_ackResponse(&mut self) -> &mut CommandAckResponse

Source

pub fn take_ackResponse(&mut self) -> CommandAckResponse

Source

pub fn get_getOrCreateSchema(&self) -> &CommandGetOrCreateSchema

Source

pub fn clear_getOrCreateSchema(&mut self)

Source

pub fn has_getOrCreateSchema(&self) -> bool

Source

pub fn set_getOrCreateSchema(&mut self, v: CommandGetOrCreateSchema)

Source

pub fn mut_getOrCreateSchema(&mut self) -> &mut CommandGetOrCreateSchema

Source

pub fn take_getOrCreateSchema(&mut self) -> CommandGetOrCreateSchema

Source

pub fn get_getOrCreateSchemaResponse(&self) -> &CommandGetOrCreateSchemaResponse

Source

pub fn clear_getOrCreateSchemaResponse(&mut self)

Source

pub fn has_getOrCreateSchemaResponse(&self) -> bool

Source

pub fn set_getOrCreateSchemaResponse( &mut self, v: CommandGetOrCreateSchemaResponse, )

Source

pub fn mut_getOrCreateSchemaResponse( &mut self, ) -> &mut CommandGetOrCreateSchemaResponse

Source

pub fn take_getOrCreateSchemaResponse( &mut self, ) -> CommandGetOrCreateSchemaResponse

Source

pub fn get_newTxn(&self) -> &CommandNewTxn

Source

pub fn clear_newTxn(&mut self)

Source

pub fn has_newTxn(&self) -> bool

Source

pub fn set_newTxn(&mut self, v: CommandNewTxn)

Source

pub fn mut_newTxn(&mut self) -> &mut CommandNewTxn

Source

pub fn take_newTxn(&mut self) -> CommandNewTxn

Source

pub fn get_newTxnResponse(&self) -> &CommandNewTxnResponse

Source

pub fn clear_newTxnResponse(&mut self)

Source

pub fn has_newTxnResponse(&self) -> bool

Source

pub fn set_newTxnResponse(&mut self, v: CommandNewTxnResponse)

Source

pub fn mut_newTxnResponse(&mut self) -> &mut CommandNewTxnResponse

Source

pub fn take_newTxnResponse(&mut self) -> CommandNewTxnResponse

Source

pub fn get_addPartitionToTxn(&self) -> &CommandAddPartitionToTxn

Source

pub fn clear_addPartitionToTxn(&mut self)

Source

pub fn has_addPartitionToTxn(&self) -> bool

Source

pub fn set_addPartitionToTxn(&mut self, v: CommandAddPartitionToTxn)

Source

pub fn mut_addPartitionToTxn(&mut self) -> &mut CommandAddPartitionToTxn

Source

pub fn take_addPartitionToTxn(&mut self) -> CommandAddPartitionToTxn

Source

pub fn get_addPartitionToTxnResponse(&self) -> &CommandAddPartitionToTxnResponse

Source

pub fn clear_addPartitionToTxnResponse(&mut self)

Source

pub fn has_addPartitionToTxnResponse(&self) -> bool

Source

pub fn set_addPartitionToTxnResponse( &mut self, v: CommandAddPartitionToTxnResponse, )

Source

pub fn mut_addPartitionToTxnResponse( &mut self, ) -> &mut CommandAddPartitionToTxnResponse

Source

pub fn take_addPartitionToTxnResponse( &mut self, ) -> CommandAddPartitionToTxnResponse

Source

pub fn get_addSubscriptionToTxn(&self) -> &CommandAddSubscriptionToTxn

Source

pub fn clear_addSubscriptionToTxn(&mut self)

Source

pub fn has_addSubscriptionToTxn(&self) -> bool

Source

pub fn set_addSubscriptionToTxn(&mut self, v: CommandAddSubscriptionToTxn)

Source

pub fn mut_addSubscriptionToTxn(&mut self) -> &mut CommandAddSubscriptionToTxn

Source

pub fn take_addSubscriptionToTxn(&mut self) -> CommandAddSubscriptionToTxn

Source

pub fn get_addSubscriptionToTxnResponse( &self, ) -> &CommandAddSubscriptionToTxnResponse

Source

pub fn clear_addSubscriptionToTxnResponse(&mut self)

Source

pub fn has_addSubscriptionToTxnResponse(&self) -> bool

Source

pub fn set_addSubscriptionToTxnResponse( &mut self, v: CommandAddSubscriptionToTxnResponse, )

Source

pub fn mut_addSubscriptionToTxnResponse( &mut self, ) -> &mut CommandAddSubscriptionToTxnResponse

Source

pub fn take_addSubscriptionToTxnResponse( &mut self, ) -> CommandAddSubscriptionToTxnResponse

Source

pub fn get_endTxn(&self) -> &CommandEndTxn

Source

pub fn clear_endTxn(&mut self)

Source

pub fn has_endTxn(&self) -> bool

Source

pub fn set_endTxn(&mut self, v: CommandEndTxn)

Source

pub fn mut_endTxn(&mut self) -> &mut CommandEndTxn

Source

pub fn take_endTxn(&mut self) -> CommandEndTxn

Source

pub fn get_endTxnResponse(&self) -> &CommandEndTxnResponse

Source

pub fn clear_endTxnResponse(&mut self)

Source

pub fn has_endTxnResponse(&self) -> bool

Source

pub fn set_endTxnResponse(&mut self, v: CommandEndTxnResponse)

Source

pub fn mut_endTxnResponse(&mut self) -> &mut CommandEndTxnResponse

Source

pub fn take_endTxnResponse(&mut self) -> CommandEndTxnResponse

Source

pub fn get_endTxnOnPartition(&self) -> &CommandEndTxnOnPartition

Source

pub fn clear_endTxnOnPartition(&mut self)

Source

pub fn has_endTxnOnPartition(&self) -> bool

Source

pub fn set_endTxnOnPartition(&mut self, v: CommandEndTxnOnPartition)

Source

pub fn mut_endTxnOnPartition(&mut self) -> &mut CommandEndTxnOnPartition

Source

pub fn take_endTxnOnPartition(&mut self) -> CommandEndTxnOnPartition

Source

pub fn get_endTxnOnPartitionResponse(&self) -> &CommandEndTxnOnPartitionResponse

Source

pub fn clear_endTxnOnPartitionResponse(&mut self)

Source

pub fn has_endTxnOnPartitionResponse(&self) -> bool

Source

pub fn set_endTxnOnPartitionResponse( &mut self, v: CommandEndTxnOnPartitionResponse, )

Source

pub fn mut_endTxnOnPartitionResponse( &mut self, ) -> &mut CommandEndTxnOnPartitionResponse

Source

pub fn take_endTxnOnPartitionResponse( &mut self, ) -> CommandEndTxnOnPartitionResponse

Source

pub fn get_endTxnOnSubscription(&self) -> &CommandEndTxnOnSubscription

Source

pub fn clear_endTxnOnSubscription(&mut self)

Source

pub fn has_endTxnOnSubscription(&self) -> bool

Source

pub fn set_endTxnOnSubscription(&mut self, v: CommandEndTxnOnSubscription)

Source

pub fn mut_endTxnOnSubscription(&mut self) -> &mut CommandEndTxnOnSubscription

Source

pub fn take_endTxnOnSubscription(&mut self) -> CommandEndTxnOnSubscription

Source

pub fn get_endTxnOnSubscriptionResponse( &self, ) -> &CommandEndTxnOnSubscriptionResponse

Source

pub fn clear_endTxnOnSubscriptionResponse(&mut self)

Source

pub fn has_endTxnOnSubscriptionResponse(&self) -> bool

Source

pub fn set_endTxnOnSubscriptionResponse( &mut self, v: CommandEndTxnOnSubscriptionResponse, )

Source

pub fn mut_endTxnOnSubscriptionResponse( &mut self, ) -> &mut CommandEndTxnOnSubscriptionResponse

Source

pub fn take_endTxnOnSubscriptionResponse( &mut self, ) -> CommandEndTxnOnSubscriptionResponse

Trait Implementations§

Source§

impl Clear for BaseCommand

Source§

fn clear(&mut self)

Clear this make, make it equivalent to newly created object.
Source§

impl Clone for BaseCommand

Source§

fn clone(&self) -> BaseCommand

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for BaseCommand

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> Default for &'a BaseCommand

Source§

fn default() -> &'a BaseCommand

Returns the “default value” for a type. Read more
Source§

impl Default for BaseCommand

Source§

fn default() -> BaseCommand

Returns the “default value” for a type. Read more
Source§

impl Message for BaseCommand

Source§

fn is_initialized(&self) -> bool

True iff all required fields are initialized. Always returns true for protobuf 3.
Source§

fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>

Update this message object with fields read from given stream.
Source§

fn compute_size(&self) -> u32

Compute and cache size of this message and all nested messages
Source§

fn write_to_with_cached_sizes( &self, os: &mut CodedOutputStream<'_>, ) -> ProtobufResult<()>

Write message to the stream. Read more
Source§

fn get_cached_size(&self) -> u32

Get size previously computed by compute_size.
Source§

fn get_unknown_fields(&self) -> &UnknownFields

Get a reference to unknown fields.
Source§

fn mut_unknown_fields(&mut self) -> &mut UnknownFields

Get a mutable reference to unknown fields.
Source§

fn as_any(&self) -> &dyn Any

View self as Any.
Source§

fn as_any_mut(&mut self) -> &mut dyn Any

View self as mutable Any.
Source§

fn into_any(self: Box<Self>) -> Box<dyn Any>

Convert boxed self to boxed Any.
Source§

fn descriptor(&self) -> &'static MessageDescriptor

Message descriptor for this message, used for reflection.
Source§

fn new() -> BaseCommand

Create an empty message object. Read more
Source§

fn default_instance() -> &'static BaseCommand

Return a pointer to default immutable message with static lifetime. Read more
Source§

fn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, ProtobufError>
where Self: Sized,

Parse message from stream.
Source§

fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), ProtobufError>

Write the message to the stream. Read more
Source§

fn write_length_delimited_to( &self, os: &mut CodedOutputStream<'_>, ) -> Result<(), ProtobufError>

Write the message to the stream prepending the message with message length encoded as varint.
Source§

fn write_length_delimited_to_vec( &self, vec: &mut Vec<u8>, ) -> Result<(), ProtobufError>

Write the message to the vec, prepend the message with message length encoded as varint.
Source§

fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>

Update this message object with fields read from given stream.
Source§

fn parse_from_reader(reader: &mut dyn Read) -> Result<Self, ProtobufError>
where Self: Sized,

Parse message from reader. Parse stops on EOF or when error encountered.
Source§

fn parse_from_bytes(bytes: &[u8]) -> Result<Self, ProtobufError>
where Self: Sized,

Parse message from byte array.
Source§

fn check_initialized(&self) -> Result<(), ProtobufError>

Check if all required fields of this object are initialized.
Source§

fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>

Write the message to the writer.
Source§

fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>

Write the message to bytes vec.
Source§

fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>

Write the message to bytes vec.
Source§

fn write_length_delimited_to_writer( &self, w: &mut dyn Write, ) -> Result<(), ProtobufError>

Write the message to the writer, prepend the message with message length encoded as varint.
Source§

fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>

Write the message to the bytes vec, prepend the message with message length encoded as varint.
Source§

fn type_id(&self) -> TypeId

Get type id for downcasting.
Source§

fn descriptor_static() -> &'static MessageDescriptor
where Self: Sized,

Get message descriptor for message type. Read more
Source§

impl PartialEq for BaseCommand

Source§

fn eq(&self, other: &BaseCommand) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl ProtobufValue for BaseCommand

Source§

fn as_ref(&self) -> ReflectValueRef<'_>

As ref
Source§

fn as_any(&self) -> &(dyn Any + 'static)

Convert to Any
Source§

fn is_non_zero(&self) -> bool

Is value non-zero?
Source§

fn as_ref_copy(&self) -> ReflectValueRef<'static>

Return ProtobufValueRef if self is Copy. Read more
Source§

impl StructuralPartialEq for BaseCommand

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.