// Code generated by protoc-gen-go. DO NOT EDIT.
// source: autonomy.proto

package types

import (
	fmt "fmt"

	proto "github.com/golang/protobuf/proto"

	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package

// message for execs.Autonomy
type AutonomyAction struct {
	// Types that are valid to be assigned to Value:
	//	*AutonomyAction_PropBoard
	//	*AutonomyAction_RvkPropBoard
	//	*AutonomyAction_VotePropBoard
	//	*AutonomyAction_TmintPropBoard
	//	*AutonomyAction_PropProject
	//	*AutonomyAction_RvkPropProject
	//	*AutonomyAction_VotePropProject
	//	*AutonomyAction_PubVotePropProject
	//	*AutonomyAction_TmintPropProject
	//	*AutonomyAction_PropRule
	//	*AutonomyAction_RvkPropRule
	//	*AutonomyAction_VotePropRule
	//	*AutonomyAction_TmintPropRule
	//	*AutonomyAction_Transfer
	//	*AutonomyAction_CommentProp
	//	*AutonomyAction_PropChange
	//	*AutonomyAction_RvkPropChange
	//	*AutonomyAction_VotePropChange
	//	*AutonomyAction_TmintPropChange
	Value                isAutonomyAction_Value `protobuf_oneof:"value"`
	Ty                   int32                  `protobuf:"varint,20,opt,name=ty,proto3" json:"ty,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (m *AutonomyAction) Reset()         { *m = AutonomyAction{} }
func (m *AutonomyAction) String() string { return proto.CompactTextString(m) }
func (*AutonomyAction) ProtoMessage()    {}
func (*AutonomyAction) Descriptor() ([]byte, []int) {
	return fileDescriptor_autonomy_a527d25057c6879d, []int{0}
}
func (m *AutonomyAction) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_AutonomyAction.Unmarshal(m, b)
}
func (m *AutonomyAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_AutonomyAction.Marshal(b, m, deterministic)
}
func (dst *AutonomyAction) XXX_Merge(src proto.Message) {
	xxx_messageInfo_AutonomyAction.Merge(dst, src)
}
func (m *AutonomyAction) XXX_Size() int {
	return xxx_messageInfo_AutonomyAction.Size(m)
}
func (m *AutonomyAction) XXX_DiscardUnknown() {
	xxx_messageInfo_AutonomyAction.DiscardUnknown(m)
}

var xxx_messageInfo_AutonomyAction proto.InternalMessageInfo

type isAutonomyAction_Value interface {
	isAutonomyAction_Value()
}

type AutonomyAction_PropBoard struct {
	PropBoard *ProposalBoard `protobuf:"bytes,1,opt,name=propBoard,proto3,oneof"`
}

type AutonomyAction_RvkPropBoard struct {
	RvkPropBoard *RevokeProposalBoard `protobuf:"bytes,2,opt,name=rvkPropBoard,proto3,oneof"`
}

type AutonomyAction_VotePropBoard struct {
	VotePropBoard *VoteProposalBoard `protobuf:"bytes,3,opt,name=votePropBoard,proto3,oneof"`
}

type AutonomyAction_TmintPropBoard struct {
	TmintPropBoard *TerminateProposalBoard `protobuf:"bytes,4,opt,name=tmintPropBoard,proto3,oneof"`
}

type AutonomyAction_PropProject struct {
	PropProject *ProposalProject `protobuf:"bytes,5,opt,name=propProject,proto3,oneof"`
}

type AutonomyAction_RvkPropProject struct {
	RvkPropProject *RevokeProposalProject `protobuf:"bytes,6,opt,name=rvkPropProject,proto3,oneof"`
}

type AutonomyAction_VotePropProject struct {
	VotePropProject *VoteProposalProject `protobuf:"bytes,7,opt,name=votePropProject,proto3,oneof"`
}

type AutonomyAction_PubVotePropProject struct {
	PubVotePropProject *PubVoteProposalProject `protobuf:"bytes,8,opt,name=pubVotePropProject,proto3,oneof"`
}

type AutonomyAction_TmintPropProject struct {
	TmintPropProject *TerminateProposalProject `protobuf:"bytes,9,opt,name=tmintPropProject,proto3,oneof"`
}

type AutonomyAction_PropRule struct {
	PropRule *ProposalRule `protobuf:"bytes,10,opt,name=propRule,proto3,oneof"`
}

type AutonomyAction_RvkPropRule struct {
	RvkPropRule *RevokeProposalRule `protobuf:"bytes,11,opt,name=rvkPropRule,proto3,oneof"`
}

type AutonomyAction_VotePropRule struct {
	VotePropRule *VoteProposalRule `protobuf:"bytes,12,opt,name=votePropRule,proto3,oneof"`
}

type AutonomyAction_TmintPropRule struct {
	TmintPropRule *TerminateProposalRule `protobuf:"bytes,13,opt,name=tmintPropRule,proto3,oneof"`
}

type AutonomyAction_Transfer struct {
	Transfer *TransferFund `protobuf:"bytes,14,opt,name=transfer,proto3,oneof"`
}

type AutonomyAction_CommentProp struct {
	CommentProp *Comment `protobuf:"bytes,15,opt,name=commentProp,proto3,oneof"`
}

type AutonomyAction_PropChange struct {
	PropChange *ProposalChange `protobuf:"bytes,16,opt,name=propChange,proto3,oneof"`
}

type AutonomyAction_RvkPropChange struct {
	RvkPropChange *RevokeProposalChange `protobuf:"bytes,17,opt,name=rvkPropChange,proto3,oneof"`
}

type AutonomyAction_VotePropChange struct {
	VotePropChange *VoteProposalChange `protobuf:"bytes,18,opt,name=votePropChange,proto3,oneof"`
}

type AutonomyAction_TmintPropChange struct {
	TmintPropChange *TerminateProposalChange `protobuf:"bytes,19,opt,name=tmintPropChange,proto3,oneof"`
}

func (*AutonomyAction_PropBoard) isAutonomyAction_Value() {}

func (*AutonomyAction_RvkPropBoard) isAutonomyAction_Value() {}

func (*AutonomyAction_VotePropBoard) isAutonomyAction_Value() {}

func (*AutonomyAction_TmintPropBoard) isAutonomyAction_Value() {}

func (*AutonomyAction_PropProject) isAutonomyAction_Value() {}

func (*AutonomyAction_RvkPropProject) isAutonomyAction_Value() {}

func (*AutonomyAction_VotePropProject) isAutonomyAction_Value() {}

func (*AutonomyAction_PubVotePropProject) isAutonomyAction_Value() {}

func (*AutonomyAction_TmintPropProject) isAutonomyAction_Value() {}

func (*AutonomyAction_PropRule) isAutonomyAction_Value() {}

func (*AutonomyAction_RvkPropRule) isAutonomyAction_Value() {}

func (*AutonomyAction_VotePropRule) isAutonomyAction_Value() {}

func (*AutonomyAction_TmintPropRule) isAutonomyAction_Value() {}

func (*AutonomyAction_Transfer) isAutonomyAction_Value() {}

func (*AutonomyAction_CommentProp) isAutonomyAction_Value() {}

func (*AutonomyAction_PropChange) isAutonomyAction_Value() {}

func (*AutonomyAction_RvkPropChange) isAutonomyAction_Value() {}

func (*AutonomyAction_VotePropChange) isAutonomyAction_Value() {}

func (*AutonomyAction_TmintPropChange) isAutonomyAction_Value() {}

func (m *AutonomyAction) GetValue() isAutonomyAction_Value {
	if m != nil {
		return m.Value
	}
	return nil
}

func (m *AutonomyAction) GetPropBoard() *ProposalBoard {
	if x, ok := m.GetValue().(*AutonomyAction_PropBoard); ok {
		return x.PropBoard
	}
	return nil
}

func (m *AutonomyAction) GetRvkPropBoard() *RevokeProposalBoard {
	if x, ok := m.GetValue().(*AutonomyAction_RvkPropBoard); ok {
		return x.RvkPropBoard
	}
	return nil
}

func (m *AutonomyAction) GetVotePropBoard() *VoteProposalBoard {
	if x, ok := m.GetValue().(*AutonomyAction_VotePropBoard); ok {
		return x.VotePropBoard
	}
	return nil
}

func (m *AutonomyAction) GetTmintPropBoard() *TerminateProposalBoard {
	if x, ok := m.GetValue().(*AutonomyAction_TmintPropBoard); ok {
		return x.TmintPropBoard
	}
	return nil
}

func (m *AutonomyAction) GetPropProject() *ProposalProject {
	if x, ok := m.GetValue().(*AutonomyAction_PropProject); ok {
		return x.PropProject
	}
	return nil
}

func (m *AutonomyAction) GetRvkPropProject() *RevokeProposalProject {
	if x, ok := m.GetValue().(*AutonomyAction_RvkPropProject); ok {
		return x.RvkPropProject
	}
	return nil
}

func (m *AutonomyAction) GetVotePropProject() *VoteProposalProject {
	if x, ok := m.GetValue().(*AutonomyAction_VotePropProject); ok {
		return x.VotePropProject
	}
	return nil
}

func (m *AutonomyAction) GetPubVotePropProject() *PubVoteProposalProject {
	if x, ok := m.GetValue().(*AutonomyAction_PubVotePropProject); ok {
		return x.PubVotePropProject
	}
	return nil
}

func (m *AutonomyAction) GetTmintPropProject() *TerminateProposalProject {
	if x, ok := m.GetValue().(*AutonomyAction_TmintPropProject); ok {
		return x.TmintPropProject
	}
	return nil
}

func (m *AutonomyAction) GetPropRule() *ProposalRule {
	if x, ok := m.GetValue().(*AutonomyAction_PropRule); ok {
		return x.PropRule
	}
	return nil
}

func (m *AutonomyAction) GetRvkPropRule() *RevokeProposalRule {
	if x, ok := m.GetValue().(*AutonomyAction_RvkPropRule); ok {
		return x.RvkPropRule
	}
	return nil
}

func (m *AutonomyAction) GetVotePropRule() *VoteProposalRule {
	if x, ok := m.GetValue().(*AutonomyAction_VotePropRule); ok {
		return x.VotePropRule
	}
	return nil
}

func (m *AutonomyAction) GetTmintPropRule() *TerminateProposalRule {
	if x, ok := m.GetValue().(*AutonomyAction_TmintPropRule); ok {
		return x.TmintPropRule
	}
	return nil
}

func (m *AutonomyAction) GetTransfer() *TransferFund {
	if x, ok := m.GetValue().(*AutonomyAction_Transfer); ok {
		return x.Transfer
	}
	return nil
}

func (m *AutonomyAction) GetCommentProp() *Comment {
	if x, ok := m.GetValue().(*AutonomyAction_CommentProp); ok {
		return x.CommentProp
	}
	return nil
}

func (m *AutonomyAction) GetPropChange() *ProposalChange {
	if x, ok := m.GetValue().(*AutonomyAction_PropChange); ok {
		return x.PropChange
	}
	return nil
}

func (m *AutonomyAction) GetRvkPropChange() *RevokeProposalChange {
	if x, ok := m.GetValue().(*AutonomyAction_RvkPropChange); ok {
		return x.RvkPropChange
	}
	return nil
}

func (m *AutonomyAction) GetVotePropChange() *VoteProposalChange {
	if x, ok := m.GetValue().(*AutonomyAction_VotePropChange); ok {
		return x.VotePropChange
	}
	return nil
}

func (m *AutonomyAction) GetTmintPropChange() *TerminateProposalChange {
	if x, ok := m.GetValue().(*AutonomyAction_TmintPropChange); ok {
		return x.TmintPropChange
	}
	return nil
}

func (m *AutonomyAction) GetTy() int32 {
	if m != nil {
		return m.Ty
	}
	return 0
}

// XXX_OneofFuncs is for the internal use of the proto package.
func (*AutonomyAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
	return _AutonomyAction_OneofMarshaler, _AutonomyAction_OneofUnmarshaler, _AutonomyAction_OneofSizer, []interface{}{
		(*AutonomyAction_PropBoard)(nil),
		(*AutonomyAction_RvkPropBoard)(nil),
		(*AutonomyAction_VotePropBoard)(nil),
		(*AutonomyAction_TmintPropBoard)(nil),
		(*AutonomyAction_PropProject)(nil),
		(*AutonomyAction_RvkPropProject)(nil),
		(*AutonomyAction_VotePropProject)(nil),
		(*AutonomyAction_PubVotePropProject)(nil),
		(*AutonomyAction_TmintPropProject)(nil),
		(*AutonomyAction_PropRule)(nil),
		(*AutonomyAction_RvkPropRule)(nil),
		(*AutonomyAction_VotePropRule)(nil),
		(*AutonomyAction_TmintPropRule)(nil),
		(*AutonomyAction_Transfer)(nil),
		(*AutonomyAction_CommentProp)(nil),
		(*AutonomyAction_PropChange)(nil),
		(*AutonomyAction_RvkPropChange)(nil),
		(*AutonomyAction_VotePropChange)(nil),
		(*AutonomyAction_TmintPropChange)(nil),
	}
}

func _AutonomyAction_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
	m := msg.(*AutonomyAction)
	// value
	switch x := m.Value.(type) {
	case *AutonomyAction_PropBoard:
		b.EncodeVarint(1<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.PropBoard); err != nil {
			return err
		}
	case *AutonomyAction_RvkPropBoard:
		b.EncodeVarint(2<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.RvkPropBoard); err != nil {
			return err
		}
	case *AutonomyAction_VotePropBoard:
		b.EncodeVarint(3<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.VotePropBoard); err != nil {
			return err
		}
	case *AutonomyAction_TmintPropBoard:
		b.EncodeVarint(4<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.TmintPropBoard); err != nil {
			return err
		}
	case *AutonomyAction_PropProject:
		b.EncodeVarint(5<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.PropProject); err != nil {
			return err
		}
	case *AutonomyAction_RvkPropProject:
		b.EncodeVarint(6<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.RvkPropProject); err != nil {
			return err
		}
	case *AutonomyAction_VotePropProject:
		b.EncodeVarint(7<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.VotePropProject); err != nil {
			return err
		}
	case *AutonomyAction_PubVotePropProject:
		b.EncodeVarint(8<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.PubVotePropProject); err != nil {
			return err
		}
	case *AutonomyAction_TmintPropProject:
		b.EncodeVarint(9<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.TmintPropProject); err != nil {
			return err
		}
	case *AutonomyAction_PropRule:
		b.EncodeVarint(10<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.PropRule); err != nil {
			return err
		}
	case *AutonomyAction_RvkPropRule:
		b.EncodeVarint(11<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.RvkPropRule); err != nil {
			return err
		}
	case *AutonomyAction_VotePropRule:
		b.EncodeVarint(12<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.VotePropRule); err != nil {
			return err
		}
	case *AutonomyAction_TmintPropRule:
		b.EncodeVarint(13<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.TmintPropRule); err != nil {
			return err
		}
	case *AutonomyAction_Transfer:
		b.EncodeVarint(14<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.Transfer); err != nil {
			return err
		}
	case *AutonomyAction_CommentProp:
		b.EncodeVarint(15<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.CommentProp); err != nil {
			return err
		}
	case *AutonomyAction_PropChange:
		b.EncodeVarint(16<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.PropChange); err != nil {
			return err
		}
	case *AutonomyAction_RvkPropChange:
		b.EncodeVarint(17<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.RvkPropChange); err != nil {
			return err
		}
	case *AutonomyAction_VotePropChange:
		b.EncodeVarint(18<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.VotePropChange); err != nil {
			return err
		}
	case *AutonomyAction_TmintPropChange:
		b.EncodeVarint(19<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.TmintPropChange); err != nil {
			return err
		}
	case nil:
	default:
		return fmt.Errorf("AutonomyAction.Value has unexpected type %T", x)
	}
	return nil
}

func _AutonomyAction_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
	m := msg.(*AutonomyAction)
	switch tag {
	case 1: // value.propBoard
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(ProposalBoard)
		err := b.DecodeMessage(msg)
		m.Value = &AutonomyAction_PropBoard{msg}
		return true, err
	case 2: // value.rvkPropBoard
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(RevokeProposalBoard)
		err := b.DecodeMessage(msg)
		m.Value = &AutonomyAction_RvkPropBoard{msg}
		return true, err
	case 3: // value.votePropBoard
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(VoteProposalBoard)
		err := b.DecodeMessage(msg)
		m.Value = &AutonomyAction_VotePropBoard{msg}
		return true, err
	case 4: // value.tmintPropBoard
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(TerminateProposalBoard)
		err := b.DecodeMessage(msg)
		m.Value = &AutonomyAction_TmintPropBoard{msg}
		return true, err
	case 5: // value.propProject
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(ProposalProject)
		err := b.DecodeMessage(msg)
		m.Value = &AutonomyAction_PropProject{msg}
		return true, err
	case 6: // value.rvkPropProject
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(RevokeProposalProject)
		err := b.DecodeMessage(msg)
		m.Value = &AutonomyAction_RvkPropProject{msg}
		return true, err
	case 7: // value.votePropProject
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(VoteProposalProject)
		err := b.DecodeMessage(msg)
		m.Value = &AutonomyAction_VotePropProject{msg}
		return true, err
	case 8: // value.pubVotePropProject
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(PubVoteProposalProject)
		err := b.DecodeMessage(msg)
		m.Value = &AutonomyAction_PubVotePropProject{msg}
		return true, err
	case 9: // value.tmintPropProject
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(TerminateProposalProject)
		err := b.DecodeMessage(msg)
		m.Value = &AutonomyAction_TmintPropProject{msg}
		return true, err
	case 10: // value.propRule
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(ProposalRule)
		err := b.DecodeMessage(msg)
		m.Value = &AutonomyAction_PropRule{msg}
		return true, err
	case 11: // value.rvkPropRule
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(RevokeProposalRule)
		err := b.DecodeMessage(msg)
		m.Value = &AutonomyAction_RvkPropRule{msg}
		return true, err
	case 12: // value.votePropRule
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(VoteProposalRule)
		err := b.DecodeMessage(msg)
		m.Value = &AutonomyAction_VotePropRule{msg}
		return true, err
	case 13: // value.tmintPropRule
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(TerminateProposalRule)
		err := b.DecodeMessage(msg)
		m.Value = &AutonomyAction_TmintPropRule{msg}
		return true, err
	case 14: // value.transfer
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(TransferFund)
		err := b.DecodeMessage(msg)
		m.Value = &AutonomyAction_Transfer{msg}
		return true, err
	case 15: // value.commentProp
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(Comment)
		err := b.DecodeMessage(msg)
		m.Value = &AutonomyAction_CommentProp{msg}
		return true, err
	case 16: // value.propChange
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(ProposalChange)
		err := b.DecodeMessage(msg)
		m.Value = &AutonomyAction_PropChange{msg}
		return true, err
	case 17: // value.rvkPropChange
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(RevokeProposalChange)
		err := b.DecodeMessage(msg)
		m.Value = &AutonomyAction_RvkPropChange{msg}
		return true, err
	case 18: // value.votePropChange
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(VoteProposalChange)
		err := b.DecodeMessage(msg)
		m.Value = &AutonomyAction_VotePropChange{msg}
		return true, err
	case 19: // value.tmintPropChange
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(TerminateProposalChange)
		err := b.DecodeMessage(msg)
		m.Value = &AutonomyAction_TmintPropChange{msg}
		return true, err
	default:
		return false, nil
	}
}

func _AutonomyAction_OneofSizer(msg proto.Message) (n int) {
	m := msg.(*AutonomyAction)
	// value
	switch x := m.Value.(type) {
	case *AutonomyAction_PropBoard:
		s := proto.Size(x.PropBoard)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *AutonomyAction_RvkPropBoard:
		s := proto.Size(x.RvkPropBoard)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *AutonomyAction_VotePropBoard:
		s := proto.Size(x.VotePropBoard)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *AutonomyAction_TmintPropBoard:
		s := proto.Size(x.TmintPropBoard)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *AutonomyAction_PropProject:
		s := proto.Size(x.PropProject)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *AutonomyAction_RvkPropProject:
		s := proto.Size(x.RvkPropProject)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *AutonomyAction_VotePropProject:
		s := proto.Size(x.VotePropProject)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *AutonomyAction_PubVotePropProject:
		s := proto.Size(x.PubVotePropProject)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *AutonomyAction_TmintPropProject:
		s := proto.Size(x.TmintPropProject)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *AutonomyAction_PropRule:
		s := proto.Size(x.PropRule)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *AutonomyAction_RvkPropRule:
		s := proto.Size(x.RvkPropRule)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *AutonomyAction_VotePropRule:
		s := proto.Size(x.VotePropRule)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *AutonomyAction_TmintPropRule:
		s := proto.Size(x.TmintPropRule)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *AutonomyAction_Transfer:
		s := proto.Size(x.Transfer)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *AutonomyAction_CommentProp:
		s := proto.Size(x.CommentProp)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *AutonomyAction_PropChange:
		s := proto.Size(x.PropChange)
		n += 2 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *AutonomyAction_RvkPropChange:
		s := proto.Size(x.RvkPropChange)
		n += 2 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *AutonomyAction_VotePropChange:
		s := proto.Size(x.VotePropChange)
		n += 2 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *AutonomyAction_TmintPropChange:
		s := proto.Size(x.TmintPropChange)
		n += 2 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case nil:
	default:
		panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
	}
	return n
}

func init() {
	proto.RegisterType((*AutonomyAction)(nil), "types.AutonomyAction")
}

func init() { proto.RegisterFile("autonomy.proto", fileDescriptor_autonomy_a527d25057c6879d) }

var fileDescriptor_autonomy_a527d25057c6879d = []byte{
	// 504 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x94, 0x4d, 0x6f, 0xd3, 0x40,
	0x10, 0x40, 0xd3, 0x40, 0xfa, 0x31, 0x8e, 0x9d, 0x32, 0x2d, 0x60, 0xc2, 0x57, 0xc5, 0xa9, 0xa7,
	0x48, 0x14, 0x24, 0x24, 0xa4, 0x4a, 0x6d, 0x83, 0x42, 0x84, 0x84, 0x88, 0xac, 0xaa, 0x77, 0x27,
	0x2c, 0x10, 0x1a, 0x7b, 0xad, 0xcd, 0x3a, 0x52, 0x7e, 0x00, 0xff, 0x1b, 0x79, 0x3c, 0x5e, 0x7b,
	0x37, 0xee, 0x2d, 0xf6, 0xce, 0x7b, 0xd1, 0x3c, 0x27, 0x86, 0x20, 0xce, 0xb5, 0x4c, 0x65, 0xb2,
	0x1d, 0x65, 0x4a, 0x6a, 0x89, 0x3d, 0xbd, 0xcd, 0xc4, 0x7a, 0xe8, 0xcd, 0x65, 0xac, 0x7e, 0x96,
	0xf7, 0x86, 0x7e, 0xa6, 0xe4, 0x5f, 0xb1, 0xd0, 0x7c, 0x09, 0x2a, 0x5f, 0x09, 0xfe, 0xdc, 0x5f,
	0xfc, 0x89, 0xd3, 0xdf, 0x7c, 0xf5, 0xee, 0x1f, 0x40, 0x70, 0xcd, 0xbe, 0xeb, 0x85, 0x5e, 0xca,
	0x14, 0x3f, 0xc2, 0x51, 0xa6, 0x64, 0x76, 0x53, 0xe8, 0xc2, 0xbd, 0xb3, 0xbd, 0x73, 0xef, 0xe2,
	0x74, 0x44, 0xdf, 0x31, 0x9a,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