// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.17.3
// source: bin/protos/summator.proto
package protos
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type Number1 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Value1 float32 `protobuf:"fixed32,1,opt,name=value1,proto3" json:"value1,omitempty"`
Value2 float32 `protobuf:"fixed32,2,opt,name=value2,proto3" json:"value2,omitempty"`
}
func (x *Number1) Reset() {
*x = Number1{}
if protoimpl.UnsafeEnabled {
mi := &file_bin_protos_summator_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Number1) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Number1) ProtoMessage() {}
func (x *Number1) ProtoReflect() protoreflect.Message {
mi := &file_bin_protos_summator_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Number1.ProtoReflect.Descriptor instead.
func (*Number1) Descriptor() ([]byte, []int) {
return file_bin_protos_summator_proto_rawDescGZIP(), []int{0}
}
func (x *Number1) GetValue1() float32 {
if x != nil {
return x.Value1
}
return 0
}
func (x *Number1) GetValue2() float32 {
if x != nil {
return x.Value2
}
return 0
}
type Number2 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (x *Number2) Reset() {
*x = Number2{}
if protoimpl.UnsafeEnabled {
mi := &file_bin_protos_summator_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Number2) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Number2) ProtoMessage() {}
func (x *Number2) ProtoReflect() protoreflect.Message {
mi := &file_bin_protos_summator_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Number2.ProtoReflect.Descriptor instead.
func (*Number2) Descriptor() ([]byte, []int) {
return file_bin_protos_summator_proto_rawDescGZIP(), []int{1}
}
func (x *Number2) GetValue() float32 {
if x != nil {
return x.Value
}
return 0
}
var File_bin_protos_summator_proto protoreflect.FileDescriptor
var file_bin_protos_summator_proto_rawDesc = []byte{
0x0a, 0x19, 0x62, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x73, 0x75, 0x6d,
0x6d, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x07, 0x4e,
0x75, 0x6d, 0x62, 0x65, 0x72, 0x31, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x31,
0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x31, 0x12, 0x16,
0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06,
0x76, 0x61, 0x6c, 0x75, 0x65, 0x32, 0x22, 0x1f, 0x0a, 0x07, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
0x32, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02,
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x32, 0x27, 0x0a, 0x08, 0x53, 0x75, 0x6d, 0x6d, 0x61,
0x74, 0x6f, 0x72, 0x12, 0x1b, 0x0a, 0x03, 0x73, 0x75, 0x6d, 0x12, 0x08, 0x2e, 0x4e, 0x75, 0x6d,
0x62, 0x65, 0x72, 0x31, 0x1a, 0x08, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x32, 0x22, 0x00,
0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
var (
file_bin_protos_summator_proto_rawDescOnce sync.Once
file_bin_protos_summator_proto_rawDescData = file_bin_protos_summator_proto_rawDesc
)
func file_bin_protos_summator_proto_rawDescGZIP() []byte {
file_bin_protos_summator_proto_rawDescOnce.Do(func() {
file_bin_protos_summator_proto_rawDescData = protoimpl.X.CompressGZIP(file_bin_protos_summator_proto_rawDescData)
})
return file_bin_protos_summator_proto_rawDescData
}
var file_bin_protos_summator_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_bin_protos_summator_proto_goTypes = []interface{}{
(*Number1)(nil), // 0: Number1
(*Number2)(nil), // 1: Number2
}
var file_bin_protos_summator_proto_depIdxs = []int32{
0, // 0: Summator.sum:input_type -> Number1
1, // 1: Summator.sum:output_type -> Number2
1, // [1:2] is the sub-list for method output_type
0, // [0:1] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_bin_protos_summator_proto_init() }
func file_bin_protos_summator_proto_init() {
if File_bin_protos_summator_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_bin_protos_summator_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Number1); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_bin_protos_summator_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Number2); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_bin_protos_summator_proto_rawDesc,
NumEnums: 0,
NumMessages: 2,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_bin_protos_summator_proto_goTypes,
DependencyIndexes: file_bin_protos_summator_proto_depIdxs,
MessageInfos: file_bin_protos_summator_proto_msgTypes,
}.Build()
File_bin_protos_summator_proto = out.File
file_bin_protos_summator_proto_rawDesc = nil
file_bin_protos_summator_proto_goTypes = nil
file_bin_protos_summator_proto_depIdxs = nil
}