github.com/turingchain2020/turingchain@v1.1.21/system/dapp/manage/types/manage.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: manage.proto
     3  
     4  package types
     5  
     6  import (
     7  	fmt "fmt"
     8  	math "math"
     9  
    10  	types "github.com/turingchain2020/turingchain/types"
    11  	proto "github.com/golang/protobuf/proto"
    12  )
    13  
    14  // Reference imports to suppress errors if they are not otherwise used.
    15  var _ = proto.Marshal
    16  var _ = fmt.Errorf
    17  var _ = math.Inf
    18  
    19  // This is a compile-time assertion to ensure that this generated file
    20  // is compatible with the proto package it is being compiled against.
    21  // A compilation error at this line likely means your copy of the
    22  // proto package needs to be updated.
    23  const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
    24  
    25  type ManageAction struct {
    26  	// Types that are valid to be assigned to Value:
    27  	//	*ManageAction_Modify
    28  	Value                isManageAction_Value `protobuf_oneof:"value"`
    29  	Ty                   int32                `protobuf:"varint,2,opt,name=Ty,proto3" json:"Ty,omitempty"`
    30  	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    31  	XXX_unrecognized     []byte               `json:"-"`
    32  	XXX_sizecache        int32                `json:"-"`
    33  }
    34  
    35  func (m *ManageAction) Reset()         { *m = ManageAction{} }
    36  func (m *ManageAction) String() string { return proto.CompactTextString(m) }
    37  func (*ManageAction) ProtoMessage()    {}
    38  func (*ManageAction) Descriptor() ([]byte, []int) {
    39  	return fileDescriptor_519fa8ed5ffbbc8f, []int{0}
    40  }
    41  
    42  func (m *ManageAction) XXX_Unmarshal(b []byte) error {
    43  	return xxx_messageInfo_ManageAction.Unmarshal(m, b)
    44  }
    45  func (m *ManageAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    46  	return xxx_messageInfo_ManageAction.Marshal(b, m, deterministic)
    47  }
    48  func (m *ManageAction) XXX_Merge(src proto.Message) {
    49  	xxx_messageInfo_ManageAction.Merge(m, src)
    50  }
    51  func (m *ManageAction) XXX_Size() int {
    52  	return xxx_messageInfo_ManageAction.Size(m)
    53  }
    54  func (m *ManageAction) XXX_DiscardUnknown() {
    55  	xxx_messageInfo_ManageAction.DiscardUnknown(m)
    56  }
    57  
    58  var xxx_messageInfo_ManageAction proto.InternalMessageInfo
    59  
    60  type isManageAction_Value interface {
    61  	isManageAction_Value()
    62  }
    63  
    64  type ManageAction_Modify struct {
    65  	Modify *types.ModifyConfig `protobuf:"bytes,1,opt,name=modify,proto3,oneof"`
    66  }
    67  
    68  func (*ManageAction_Modify) isManageAction_Value() {}
    69  
    70  func (m *ManageAction) GetValue() isManageAction_Value {
    71  	if m != nil {
    72  		return m.Value
    73  	}
    74  	return nil
    75  }
    76  
    77  func (m *ManageAction) GetModify() *types.ModifyConfig {
    78  	if x, ok := m.GetValue().(*ManageAction_Modify); ok {
    79  		return x.Modify
    80  	}
    81  	return nil
    82  }
    83  
    84  func (m *ManageAction) GetTy() int32 {
    85  	if m != nil {
    86  		return m.Ty
    87  	}
    88  	return 0
    89  }
    90  
    91  // XXX_OneofWrappers is for the internal use of the proto package.
    92  func (*ManageAction) XXX_OneofWrappers() []interface{} {
    93  	return []interface{}{
    94  		(*ManageAction_Modify)(nil),
    95  	}
    96  }
    97  
    98  func init() {
    99  	proto.RegisterType((*ManageAction)(nil), "types.ManageAction")
   100  }
   101  
   102  func init() {
   103  	proto.RegisterFile("manage.proto", fileDescriptor_519fa8ed5ffbbc8f)
   104  }
   105  
   106  var fileDescriptor_519fa8ed5ffbbc8f = []byte{
   107  	// 136 bytes of a gzipped FileDescriptorProto
   108  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0xc9, 0x4d, 0xcc, 0x4b,
   109  	0x4c, 0x4f, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2d, 0xa9, 0x2c, 0x48, 0x2d, 0x96,
   110  	0xe2, 0x4b, 0xad, 0x48, 0x4d, 0x2e, 0x2d, 0xc9, 0x2f, 0x82, 0x08, 0x2b, 0x85, 0x71, 0xf1, 0xf8,
   111  	0x82, 0x95, 0x39, 0x26, 0x97, 0x64, 0xe6, 0xe7, 0x09, 0xe9, 0x72, 0xb1, 0xe5, 0xe6, 0xa7, 0x64,
   112  	0xa6, 0x55, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x1b, 0x09, 0xeb, 0x81, 0xf5, 0xe9, 0xf9, 0x82,
   113  	0x05, 0x9d, 0xf3, 0xf3, 0xd2, 0x32, 0xd3, 0x3d, 0x18, 0x82, 0xa0, 0x8a, 0x84, 0xf8, 0xb8, 0x98,
   114  	0x42, 0x2a, 0x25, 0x98, 0x14, 0x18, 0x35, 0x58, 0x83, 0x98, 0x42, 0x2a, 0x9d, 0xd8, 0xb9, 0x58,
   115  	0xcb, 0x12, 0x73, 0x4a, 0x53, 0x93, 0xd8, 0xc0, 0xc6, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff,
   116  	0xf1, 0x53, 0xa6, 0x25, 0x85, 0x00, 0x00, 0x00,
   117  }