github.com/tickoalcantara12/micro/v3@v3.0.0-20221007104245-9d75b9bcbab9/service/client/grpc/proto/helloworld.pb.go (about)

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