#[deprecated(since = "2.0.0", note = "Use associated constants instead. This will no longer be generated in 2021.")]
#[deprecated(since = "2.0.0", note = "Use associated constants instead. This will no longer be generated in 2021.")]
#[deprecated(since = "2.0.0", note = "Use associated constants instead. This will no longer be generated in 2021.")]
unsafe { self._tab.get::<ChannelInstructionIxType>(ChannelInstruction::VT_IX_TYPE, Some(ChannelInstructionIxType::ExecuteV1)).unwrap()}
unsafe { self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<'a, u8>>>(ChannelInstruction::VT_EXECUTE_V1, None)}
unsafe { self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<'a, u8>>>(ChannelInstruction::VT_STATUS_V1, None)}
unsafe { self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<'a, u8>>>(ChannelInstruction::VT_DEPLOY_V1, None)}
unsafe { self._tab.get::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<'a, u8>>>(ChannelInstruction::VT_CLAIM_V1, None)}
.visit_field::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<'_, u8>>>("execute_v1", Self::VT_EXECUTE_V1, false)?
.visit_field::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<'_, u8>>>("status_v1", Self::VT_STATUS_V1, false)?
.visit_field::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<'_, u8>>>("deploy_v1", Self::VT_DEPLOY_V1, false)?
.visit_field::<flatbuffers::ForwardsUOffset<flatbuffers::Vector<'_, u8>>>("claim_v1", Self::VT_CLAIM_V1, false)?
self.fbb_.push_slot::<ChannelInstructionIxType>(ChannelInstruction::VT_IX_TYPE, ix_type, ChannelInstructionIxType::ExecuteV1);
pub fn add_execute_v1(&mut self, execute_v1: flatbuffers::WIPOffset<flatbuffers::Vector<'b , u8>>) {
self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(ChannelInstruction::VT_EXECUTE_V1, execute_v1);
pub fn add_status_v1(&mut self, status_v1: flatbuffers::WIPOffset<flatbuffers::Vector<'b , u8>>) {
self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(ChannelInstruction::VT_STATUS_V1, status_v1);
pub fn add_deploy_v1(&mut self, deploy_v1: flatbuffers::WIPOffset<flatbuffers::Vector<'b , u8>>) {
self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(ChannelInstruction::VT_DEPLOY_V1, deploy_v1);
pub fn add_claim_v1(&mut self, claim_v1: flatbuffers::WIPOffset<flatbuffers::Vector<'b , u8>>) {
self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(ChannelInstruction::VT_CLAIM_V1, claim_v1);
pub fn new(_fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>) -> ChannelInstructionBuilder<'a, 'b, A> {
pub fn root_as_channel_instruction(buf: &[u8]) -> Result<ChannelInstruction, flatbuffers::InvalidFlatbuffer> {
pub fn size_prefixed_root_as_channel_instruction(buf: &[u8]) -> Result<ChannelInstruction, flatbuffers::InvalidFlatbuffer> {
/// Assumes, without verification, that a buffer of bytes contains a ChannelInstruction and returns it.
/// Assumes, without verification, that a buffer of bytes contains a size prefixed ChannelInstruction and returns it.
/// Callers must trust the given bytes do indeed contain a valid size prefixed `ChannelInstruction`.
pub unsafe fn size_prefixed_root_as_channel_instruction_unchecked(buf: &[u8]) -> ChannelInstruction {
pub fn finish_size_prefixed_channel_instruction_buffer<'a, 'b, A: flatbuffers::Allocator + 'a>(fbb: &'b mut flatbuffers::FlatBufferBuilder<'a, A>, root: flatbuffers::WIPOffset<ChannelInstruction<'a>>) {