dubbo.apache.org/dubbo-go/v3@v3.1.1/protocol/dubbo3/internal/helloworld.pb.go (about)

     1  /*
     2   * Licensed to the Apache Software Foundation (ASF) under one or more
     3   * contributor license agreements.  See the NOTICE file distributed with
     4   * this work for additional information regarding copyright ownership.
     5   * The ASF licenses this file to You under the Apache License, Version 2.0
     6   * (the "License"); you may not use this file except in compliance with
     7   * the License.  You may obtain a copy of the License at
     8   *
     9   *     http://www.apache.org/licenses/LICENSE-2.0
    10   *
    11   * Unless required by applicable law or agreed to in writing, software
    12   * distributed under the License is distributed on an "AS IS" BASIS,
    13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    14   * See the License for the specific language governing permissions and
    15   * limitations under the License.
    16   */
    17  
    18  // Code generated by protoc-gen-go. DO NOT EDIT.
    19  // versions:
    20  // 	protoc-gen-go v1.25.0
    21  // 	protoc        v3.14.0
    22  // source: helloworld.proto
    23  
    24  package internal
    25  
    26  import (
    27  	reflect "reflect"
    28  	sync "sync"
    29  )
    30  
    31  import (
    32  	proto "github.com/golang/protobuf/proto"
    33  
    34  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    35  
    36  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    37  )
    38  
    39  const (
    40  	// Verify that this generated code is sufficiently up-to-date.
    41  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    42  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    43  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    44  )
    45  
    46  // This is a compile-time assertion that a sufficiently up-to-date version
    47  // of the legacy proto package is being used.
    48  const _ = proto.ProtoPackageIsVersion4
    49  
    50  // The request message containing the user's name.
    51  type HelloRequest struct {
    52  	state         protoimpl.MessageState
    53  	sizeCache     protoimpl.SizeCache
    54  	unknownFields protoimpl.UnknownFields
    55  
    56  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    57  }
    58  
    59  func (x *HelloRequest) Reset() {
    60  	*x = HelloRequest{}
    61  	if protoimpl.UnsafeEnabled {
    62  		mi := &file_helloworld_proto_msgTypes[0]
    63  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    64  		ms.StoreMessageInfo(mi)
    65  	}
    66  }
    67  
    68  func (x *HelloRequest) String() string {
    69  	return protoimpl.X.MessageStringOf(x)
    70  }
    71  
    72  func (*HelloRequest) ProtoMessage() {}
    73  
    74  func (x *HelloRequest) ProtoReflect() protoreflect.Message {
    75  	mi := &file_helloworld_proto_msgTypes[0]
    76  	if protoimpl.UnsafeEnabled && x != nil {
    77  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    78  		if ms.LoadMessageInfo() == nil {
    79  			ms.StoreMessageInfo(mi)
    80  		}
    81  		return ms
    82  	}
    83  	return mi.MessageOf(x)
    84  }
    85  
    86  // Deprecated: Use HelloRequest.ProtoReflect.Descriptor instead.
    87  func (*HelloRequest) Descriptor() ([]byte, []int) {
    88  	return file_helloworld_proto_rawDescGZIP(), []int{0}
    89  }
    90  
    91  func (x *HelloRequest) GetName() string {
    92  	if x != nil {
    93  		return x.Name
    94  	}
    95  	return ""
    96  }
    97  
    98  // The response message containing the greetings
    99  type HelloReply struct {
   100  	state         protoimpl.MessageState
   101  	sizeCache     protoimpl.SizeCache
   102  	unknownFields protoimpl.UnknownFields
   103  
   104  	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
   105  }
   106  
   107  func (x *HelloReply) Reset() {
   108  	*x = HelloReply{}
   109  	if protoimpl.UnsafeEnabled {
   110  		mi := &file_helloworld_proto_msgTypes[1]
   111  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   112  		ms.StoreMessageInfo(mi)
   113  	}
   114  }
   115  
   116  func (x *HelloReply) String() string {
   117  	return protoimpl.X.MessageStringOf(x)
   118  }
   119  
   120  func (*HelloReply) ProtoMessage() {}
   121  
   122  func (x *HelloReply) ProtoReflect() protoreflect.Message {
   123  	mi := &file_helloworld_proto_msgTypes[1]
   124  	if protoimpl.UnsafeEnabled && x != nil {
   125  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   126  		if ms.LoadMessageInfo() == nil {
   127  			ms.StoreMessageInfo(mi)
   128  		}
   129  		return ms
   130  	}
   131  	return mi.MessageOf(x)
   132  }
   133  
   134  // Deprecated: Use HelloReply.ProtoReflect.Descriptor instead.
   135  func (*HelloReply) Descriptor() ([]byte, []int) {
   136  	return file_helloworld_proto_rawDescGZIP(), []int{1}
   137  }
   138  
   139  func (x *HelloReply) GetMessage() string {
   140  	if x != nil {
   141  		return x.Message
   142  	}
   143  	return ""
   144  }
   145  
   146  var File_helloworld_proto protoreflect.FileDescriptor
   147  
   148  var file_helloworld_proto_rawDesc = []byte{
   149  	0x0a, 0x10, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f,
   150  	0x74, 0x6f, 0x12, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x22, 0x22, 0x0a, 0x0c,
   151  	0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04,
   152  	0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   153  	0x22, 0x26, 0x0a, 0x0a, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x18,
   154  	0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
   155  	0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x45, 0x0a, 0x07, 0x47, 0x72, 0x65, 0x65,
   156  	0x74, 0x65, 0x72, 0x12, 0x3a, 0x0a, 0x08, 0x53, 0x61, 0x79, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12,
   157  	0x16, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f,
   158  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
   159  	0x61, 0x6c, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42,
   160  	0x43, 0x0a, 0x1b, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70,
   161  	0x6c, 0x65, 0x73, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x42, 0x0f,
   162  	0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
   163  	0x01, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0xa2, 0x02,
   164  	0x03, 0x48, 0x4c, 0x57, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   165  }
   166  
   167  var (
   168  	file_helloworld_proto_rawDescOnce sync.Once
   169  	file_helloworld_proto_rawDescData = file_helloworld_proto_rawDesc
   170  )
   171  
   172  func file_helloworld_proto_rawDescGZIP() []byte {
   173  	file_helloworld_proto_rawDescOnce.Do(func() {
   174  		file_helloworld_proto_rawDescData = protoimpl.X.CompressGZIP(file_helloworld_proto_rawDescData)
   175  	})
   176  	return file_helloworld_proto_rawDescData
   177  }
   178  
   179  var file_helloworld_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   180  var file_helloworld_proto_goTypes = []interface{}{
   181  	(*HelloRequest)(nil), // 0: internal.HelloRequest
   182  	(*HelloReply)(nil),   // 1: internal.HelloReply
   183  }
   184  var file_helloworld_proto_depIdxs = []int32{
   185  	0, // 0: internal.Greeter.SayHello:input_type -> internal.HelloRequest
   186  	1, // 1: internal.Greeter.SayHello:output_type -> internal.HelloReply
   187  	1, // [1:2] is the sub-list for method output_type
   188  	0, // [0:1] is the sub-list for method input_type
   189  	0, // [0:0] is the sub-list for extension type_name
   190  	0, // [0:0] is the sub-list for extension extendee
   191  	0, // [0:0] is the sub-list for field type_name
   192  }
   193  
   194  func init() { file_helloworld_proto_init() }
   195  func file_helloworld_proto_init() {
   196  	if File_helloworld_proto != nil {
   197  		return
   198  	}
   199  	if !protoimpl.UnsafeEnabled {
   200  		file_helloworld_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   201  			switch v := v.(*HelloRequest); 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  		file_helloworld_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   213  			switch v := v.(*HelloReply); i {
   214  			case 0:
   215  				return &v.state
   216  			case 1:
   217  				return &v.sizeCache
   218  			case 2:
   219  				return &v.unknownFields
   220  			default:
   221  				return nil
   222  			}
   223  		}
   224  	}
   225  	type x struct{}
   226  	out := protoimpl.TypeBuilder{
   227  		File: protoimpl.DescBuilder{
   228  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   229  			RawDescriptor: file_helloworld_proto_rawDesc,
   230  			NumEnums:      0,
   231  			NumMessages:   2,
   232  			NumExtensions: 0,
   233  			NumServices:   1,
   234  		},
   235  		GoTypes:           file_helloworld_proto_goTypes,
   236  		DependencyIndexes: file_helloworld_proto_depIdxs,
   237  		MessageInfos:      file_helloworld_proto_msgTypes,
   238  	}.Build()
   239  	File_helloworld_proto = out.File
   240  	file_helloworld_proto_rawDesc = nil
   241  	file_helloworld_proto_goTypes = nil
   242  	file_helloworld_proto_depIdxs = nil
   243  }