go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/server/internal/testpb/test.pb.go (about)

     1  // Copyright 2023 The LUCI 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.31.0
    18  // 	protoc        v3.21.7
    19  // source: go.chromium.org/luci/server/internal/testpb/test.proto
    20  
    21  package testpb
    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  type Request struct {
    38  	state         protoimpl.MessageState
    39  	sizeCache     protoimpl.SizeCache
    40  	unknownFields protoimpl.UnknownFields
    41  
    42  	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
    43  }
    44  
    45  func (x *Request) Reset() {
    46  	*x = Request{}
    47  	if protoimpl.UnsafeEnabled {
    48  		mi := &file_go_chromium_org_luci_server_internal_testpb_test_proto_msgTypes[0]
    49  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    50  		ms.StoreMessageInfo(mi)
    51  	}
    52  }
    53  
    54  func (x *Request) String() string {
    55  	return protoimpl.X.MessageStringOf(x)
    56  }
    57  
    58  func (*Request) ProtoMessage() {}
    59  
    60  func (x *Request) ProtoReflect() protoreflect.Message {
    61  	mi := &file_go_chromium_org_luci_server_internal_testpb_test_proto_msgTypes[0]
    62  	if protoimpl.UnsafeEnabled && x != nil {
    63  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    64  		if ms.LoadMessageInfo() == nil {
    65  			ms.StoreMessageInfo(mi)
    66  		}
    67  		return ms
    68  	}
    69  	return mi.MessageOf(x)
    70  }
    71  
    72  // Deprecated: Use Request.ProtoReflect.Descriptor instead.
    73  func (*Request) Descriptor() ([]byte, []int) {
    74  	return file_go_chromium_org_luci_server_internal_testpb_test_proto_rawDescGZIP(), []int{0}
    75  }
    76  
    77  func (x *Request) GetText() string {
    78  	if x != nil {
    79  		return x.Text
    80  	}
    81  	return ""
    82  }
    83  
    84  type Response struct {
    85  	state         protoimpl.MessageState
    86  	sizeCache     protoimpl.SizeCache
    87  	unknownFields protoimpl.UnknownFields
    88  
    89  	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
    90  }
    91  
    92  func (x *Response) Reset() {
    93  	*x = Response{}
    94  	if protoimpl.UnsafeEnabled {
    95  		mi := &file_go_chromium_org_luci_server_internal_testpb_test_proto_msgTypes[1]
    96  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    97  		ms.StoreMessageInfo(mi)
    98  	}
    99  }
   100  
   101  func (x *Response) String() string {
   102  	return protoimpl.X.MessageStringOf(x)
   103  }
   104  
   105  func (*Response) ProtoMessage() {}
   106  
   107  func (x *Response) ProtoReflect() protoreflect.Message {
   108  	mi := &file_go_chromium_org_luci_server_internal_testpb_test_proto_msgTypes[1]
   109  	if protoimpl.UnsafeEnabled && x != nil {
   110  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   111  		if ms.LoadMessageInfo() == nil {
   112  			ms.StoreMessageInfo(mi)
   113  		}
   114  		return ms
   115  	}
   116  	return mi.MessageOf(x)
   117  }
   118  
   119  // Deprecated: Use Response.ProtoReflect.Descriptor instead.
   120  func (*Response) Descriptor() ([]byte, []int) {
   121  	return file_go_chromium_org_luci_server_internal_testpb_test_proto_rawDescGZIP(), []int{1}
   122  }
   123  
   124  func (x *Response) GetText() string {
   125  	if x != nil {
   126  		return x.Text
   127  	}
   128  	return ""
   129  }
   130  
   131  var File_go_chromium_org_luci_server_internal_testpb_test_proto protoreflect.FileDescriptor
   132  
   133  var file_go_chromium_org_luci_server_internal_testpb_test_proto_rawDesc = []byte{
   134  	0x0a, 0x36, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
   135  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x69, 0x6e,
   136  	0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2f, 0x74, 0x65,
   137  	0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62,
   138  	0x22, 0x1d, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74,
   139  	0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x22,
   140  	0x1e, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74,
   141  	0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x32,
   142  	0xd9, 0x01, 0x0a, 0x04, 0x54, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x05, 0x55, 0x6e, 0x61, 0x72,
   143  	0x79, 0x12, 0x0f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65,
   144  	0x73, 0x74, 0x1a, 0x10, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70,
   145  	0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x74,
   146  	0x72, 0x65, 0x61, 0x6d, 0x12, 0x0f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x52, 0x65,
   147  	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x52,
   148  	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x33, 0x0a, 0x0c, 0x43, 0x6c, 0x69,
   149  	0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x0f, 0x2e, 0x74, 0x65, 0x73, 0x74,
   150  	0x70, 0x62, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x74, 0x65, 0x73,
   151  	0x74, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x12, 0x3b,
   152  	0x0a, 0x12, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x74,
   153  	0x72, 0x65, 0x61, 0x6d, 0x12, 0x0f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x52, 0x65,
   154  	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x52,
   155  	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x42, 0x2d, 0x5a, 0x2b, 0x67,
   156  	0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c,
   157  	0x75, 0x63, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
   158  	0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
   159  	0x6f, 0x33,
   160  }
   161  
   162  var (
   163  	file_go_chromium_org_luci_server_internal_testpb_test_proto_rawDescOnce sync.Once
   164  	file_go_chromium_org_luci_server_internal_testpb_test_proto_rawDescData = file_go_chromium_org_luci_server_internal_testpb_test_proto_rawDesc
   165  )
   166  
   167  func file_go_chromium_org_luci_server_internal_testpb_test_proto_rawDescGZIP() []byte {
   168  	file_go_chromium_org_luci_server_internal_testpb_test_proto_rawDescOnce.Do(func() {
   169  		file_go_chromium_org_luci_server_internal_testpb_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_server_internal_testpb_test_proto_rawDescData)
   170  	})
   171  	return file_go_chromium_org_luci_server_internal_testpb_test_proto_rawDescData
   172  }
   173  
   174  var file_go_chromium_org_luci_server_internal_testpb_test_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   175  var file_go_chromium_org_luci_server_internal_testpb_test_proto_goTypes = []interface{}{
   176  	(*Request)(nil),  // 0: testpb.Request
   177  	(*Response)(nil), // 1: testpb.Response
   178  }
   179  var file_go_chromium_org_luci_server_internal_testpb_test_proto_depIdxs = []int32{
   180  	0, // 0: testpb.Test.Unary:input_type -> testpb.Request
   181  	0, // 1: testpb.Test.ServerStream:input_type -> testpb.Request
   182  	0, // 2: testpb.Test.ClientStream:input_type -> testpb.Request
   183  	0, // 3: testpb.Test.ClientServerStream:input_type -> testpb.Request
   184  	1, // 4: testpb.Test.Unary:output_type -> testpb.Response
   185  	1, // 5: testpb.Test.ServerStream:output_type -> testpb.Response
   186  	1, // 6: testpb.Test.ClientStream:output_type -> testpb.Response
   187  	1, // 7: testpb.Test.ClientServerStream:output_type -> testpb.Response
   188  	4, // [4:8] is the sub-list for method output_type
   189  	0, // [0:4] is the sub-list for method input_type
   190  	0, // [0:0] is the sub-list for extension type_name
   191  	0, // [0:0] is the sub-list for extension extendee
   192  	0, // [0:0] is the sub-list for field type_name
   193  }
   194  
   195  func init() { file_go_chromium_org_luci_server_internal_testpb_test_proto_init() }
   196  func file_go_chromium_org_luci_server_internal_testpb_test_proto_init() {
   197  	if File_go_chromium_org_luci_server_internal_testpb_test_proto != nil {
   198  		return
   199  	}
   200  	if !protoimpl.UnsafeEnabled {
   201  		file_go_chromium_org_luci_server_internal_testpb_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   202  			switch v := v.(*Request); i {
   203  			case 0:
   204  				return &v.state
   205  			case 1:
   206  				return &v.sizeCache
   207  			case 2:
   208  				return &v.unknownFields
   209  			default:
   210  				return nil
   211  			}
   212  		}
   213  		file_go_chromium_org_luci_server_internal_testpb_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   214  			switch v := v.(*Response); i {
   215  			case 0:
   216  				return &v.state
   217  			case 1:
   218  				return &v.sizeCache
   219  			case 2:
   220  				return &v.unknownFields
   221  			default:
   222  				return nil
   223  			}
   224  		}
   225  	}
   226  	type x struct{}
   227  	out := protoimpl.TypeBuilder{
   228  		File: protoimpl.DescBuilder{
   229  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   230  			RawDescriptor: file_go_chromium_org_luci_server_internal_testpb_test_proto_rawDesc,
   231  			NumEnums:      0,
   232  			NumMessages:   2,
   233  			NumExtensions: 0,
   234  			NumServices:   1,
   235  		},
   236  		GoTypes:           file_go_chromium_org_luci_server_internal_testpb_test_proto_goTypes,
   237  		DependencyIndexes: file_go_chromium_org_luci_server_internal_testpb_test_proto_depIdxs,
   238  		MessageInfos:      file_go_chromium_org_luci_server_internal_testpb_test_proto_msgTypes,
   239  	}.Build()
   240  	File_go_chromium_org_luci_server_internal_testpb_test_proto = out.File
   241  	file_go_chromium_org_luci_server_internal_testpb_test_proto_rawDesc = nil
   242  	file_go_chromium_org_luci_server_internal_testpb_test_proto_goTypes = nil
   243  	file_go_chromium_org_luci_server_internal_testpb_test_proto_depIdxs = nil
   244  }