github.com/supragya/TendermintConnector@v0.0.0-20210619045051-113e32b84fb1/protocols/tmDataTransferProtocolv2/tendermintMessage.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.25.0-devel
     4  // 	protoc        v3.14.0
     5  // source: tendermintMessage.proto
     6  
     7  package tmDataTransferProtocol
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	reflect "reflect"
    13  	sync "sync"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  type PacketMsg struct {
    24  	state         protoimpl.MessageState
    25  	sizeCache     protoimpl.SizeCache
    26  	unknownFields protoimpl.UnknownFields
    27  
    28  	Eof       uint32 `protobuf:"varint,2,opt,name=eof,proto3" json:"eof,omitempty"`
    29  	DataBytes []byte `protobuf:"bytes,3,opt,name=dataBytes,proto3" json:"dataBytes,omitempty"`
    30  }
    31  
    32  func (x *PacketMsg) Reset() {
    33  	*x = PacketMsg{}
    34  	if protoimpl.UnsafeEnabled {
    35  		mi := &file_tendermintMessage_proto_msgTypes[0]
    36  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    37  		ms.StoreMessageInfo(mi)
    38  	}
    39  }
    40  
    41  func (x *PacketMsg) String() string {
    42  	return protoimpl.X.MessageStringOf(x)
    43  }
    44  
    45  func (*PacketMsg) ProtoMessage() {}
    46  
    47  func (x *PacketMsg) ProtoReflect() protoreflect.Message {
    48  	mi := &file_tendermintMessage_proto_msgTypes[0]
    49  	if protoimpl.UnsafeEnabled && x != nil {
    50  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    51  		if ms.LoadMessageInfo() == nil {
    52  			ms.StoreMessageInfo(mi)
    53  		}
    54  		return ms
    55  	}
    56  	return mi.MessageOf(x)
    57  }
    58  
    59  // Deprecated: Use PacketMsg.ProtoReflect.Descriptor instead.
    60  func (*PacketMsg) Descriptor() ([]byte, []int) {
    61  	return file_tendermintMessage_proto_rawDescGZIP(), []int{0}
    62  }
    63  
    64  func (x *PacketMsg) GetEof() uint32 {
    65  	if x != nil {
    66  		return x.Eof
    67  	}
    68  	return 0
    69  }
    70  
    71  func (x *PacketMsg) GetDataBytes() []byte {
    72  	if x != nil {
    73  		return x.DataBytes
    74  	}
    75  	return nil
    76  }
    77  
    78  type TendermintMessage struct {
    79  	state         protoimpl.MessageState
    80  	sizeCache     protoimpl.SizeCache
    81  	unknownFields protoimpl.UnknownFields
    82  
    83  	Packets  []*PacketMsg `protobuf:"bytes,3,rep,name=packets,proto3" json:"packets,omitempty"`
    84  	Packets2 []*PacketMsg `protobuf:"bytes,4,rep,name=packets2,proto3" json:"packets2,omitempty"`
    85  }
    86  
    87  func (x *TendermintMessage) Reset() {
    88  	*x = TendermintMessage{}
    89  	if protoimpl.UnsafeEnabled {
    90  		mi := &file_tendermintMessage_proto_msgTypes[1]
    91  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    92  		ms.StoreMessageInfo(mi)
    93  	}
    94  }
    95  
    96  func (x *TendermintMessage) String() string {
    97  	return protoimpl.X.MessageStringOf(x)
    98  }
    99  
   100  func (*TendermintMessage) ProtoMessage() {}
   101  
   102  func (x *TendermintMessage) ProtoReflect() protoreflect.Message {
   103  	mi := &file_tendermintMessage_proto_msgTypes[1]
   104  	if protoimpl.UnsafeEnabled && x != nil {
   105  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   106  		if ms.LoadMessageInfo() == nil {
   107  			ms.StoreMessageInfo(mi)
   108  		}
   109  		return ms
   110  	}
   111  	return mi.MessageOf(x)
   112  }
   113  
   114  // Deprecated: Use TendermintMessage.ProtoReflect.Descriptor instead.
   115  func (*TendermintMessage) Descriptor() ([]byte, []int) {
   116  	return file_tendermintMessage_proto_rawDescGZIP(), []int{1}
   117  }
   118  
   119  func (x *TendermintMessage) GetPackets() []*PacketMsg {
   120  	if x != nil {
   121  		return x.Packets
   122  	}
   123  	return nil
   124  }
   125  
   126  func (x *TendermintMessage) GetPackets2() []*PacketMsg {
   127  	if x != nil {
   128  		return x.Packets2
   129  	}
   130  	return nil
   131  }
   132  
   133  var File_tendermintMessage_proto protoreflect.FileDescriptor
   134  
   135  var file_tendermintMessage_proto_rawDesc = []byte{
   136  	0x0a, 0x17, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73,
   137  	0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x74, 0x6d, 0x44, 0x61, 0x74,
   138  	0x61, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
   139  	0x6c, 0x22, 0x3b, 0x0a, 0x09, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x10,
   140  	0x0a, 0x03, 0x65, 0x6f, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x65, 0x6f, 0x66,
   141  	0x12, 0x1c, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20,
   142  	0x01, 0x28, 0x0c, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x8f,
   143  	0x01, 0x0a, 0x11, 0x54, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x4d, 0x65, 0x73,
   144  	0x73, 0x61, 0x67, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18,
   145  	0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x74, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x54, 0x72,
   146  	0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50,
   147  	0x61, 0x63, 0x6b, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x52, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74,
   148  	0x73, 0x12, 0x3d, 0x0a, 0x08, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x32, 0x18, 0x04, 0x20,
   149  	0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x74, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x54, 0x72, 0x61, 0x6e,
   150  	0x73, 0x66, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x63,
   151  	0x6b, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x52, 0x08, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x32,
   152  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   153  }
   154  
   155  var (
   156  	file_tendermintMessage_proto_rawDescOnce sync.Once
   157  	file_tendermintMessage_proto_rawDescData = file_tendermintMessage_proto_rawDesc
   158  )
   159  
   160  func file_tendermintMessage_proto_rawDescGZIP() []byte {
   161  	file_tendermintMessage_proto_rawDescOnce.Do(func() {
   162  		file_tendermintMessage_proto_rawDescData = protoimpl.X.CompressGZIP(file_tendermintMessage_proto_rawDescData)
   163  	})
   164  	return file_tendermintMessage_proto_rawDescData
   165  }
   166  
   167  var file_tendermintMessage_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   168  var file_tendermintMessage_proto_goTypes = []interface{}{
   169  	(*PacketMsg)(nil),         // 0: tmDataTransferProtocol.PacketMsg
   170  	(*TendermintMessage)(nil), // 1: tmDataTransferProtocol.TendermintMessage
   171  }
   172  var file_tendermintMessage_proto_depIdxs = []int32{
   173  	0, // 0: tmDataTransferProtocol.TendermintMessage.packets:type_name -> tmDataTransferProtocol.PacketMsg
   174  	0, // 1: tmDataTransferProtocol.TendermintMessage.packets2:type_name -> tmDataTransferProtocol.PacketMsg
   175  	2, // [2:2] is the sub-list for method output_type
   176  	2, // [2:2] is the sub-list for method input_type
   177  	2, // [2:2] is the sub-list for extension type_name
   178  	2, // [2:2] is the sub-list for extension extendee
   179  	0, // [0:2] is the sub-list for field type_name
   180  }
   181  
   182  func init() { file_tendermintMessage_proto_init() }
   183  func file_tendermintMessage_proto_init() {
   184  	if File_tendermintMessage_proto != nil {
   185  		return
   186  	}
   187  	if !protoimpl.UnsafeEnabled {
   188  		file_tendermintMessage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   189  			switch v := v.(*PacketMsg); i {
   190  			case 0:
   191  				return &v.state
   192  			case 1:
   193  				return &v.sizeCache
   194  			case 2:
   195  				return &v.unknownFields
   196  			default:
   197  				return nil
   198  			}
   199  		}
   200  		file_tendermintMessage_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   201  			switch v := v.(*TendermintMessage); i {
   202  			case 0:
   203  				return &v.state
   204  			case 1:
   205  				return &v.sizeCache
   206  			case 2:
   207  				return &v.unknownFields
   208  			default:
   209  				return nil
   210  			}
   211  		}
   212  	}
   213  	type x struct{}
   214  	out := protoimpl.TypeBuilder{
   215  		File: protoimpl.DescBuilder{
   216  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   217  			RawDescriptor: file_tendermintMessage_proto_rawDesc,
   218  			NumEnums:      0,
   219  			NumMessages:   2,
   220  			NumExtensions: 0,
   221  			NumServices:   0,
   222  		},
   223  		GoTypes:           file_tendermintMessage_proto_goTypes,
   224  		DependencyIndexes: file_tendermintMessage_proto_depIdxs,
   225  		MessageInfos:      file_tendermintMessage_proto_msgTypes,
   226  	}.Build()
   227  	File_tendermintMessage_proto = out.File
   228  	file_tendermintMessage_proto_rawDesc = nil
   229  	file_tendermintMessage_proto_goTypes = nil
   230  	file_tendermintMessage_proto_depIdxs = nil
   231  }