// Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: BUSL-1.1 // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.6 // protoc (unknown) // source: testing/options/v1/service.proto package protooptions import ( _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) 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) ) // The request message. type TestMethodRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *TestMethodRequest) Reset() { *x = TestMethodRequest{} mi := &file_testing_options_v1_service_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TestMethodRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*TestMethodRequest) ProtoMessage() {} func (x *TestMethodRequest) ProtoReflect() protoreflect.Message { mi := &file_testing_options_v1_service_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use TestMethodRequest.ProtoReflect.Descriptor instead. func (*TestMethodRequest) Descriptor() ([]byte, []int) { return file_testing_options_v1_service_proto_rawDescGZIP(), []int{0} } func (x *TestMethodRequest) GetId() string { if x != nil { return x.Id } return "" } // The response message. type TestMethodResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Item string `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *TestMethodResponse) Reset() { *x = TestMethodResponse{} mi := &file_testing_options_v1_service_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TestMethodResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*TestMethodResponse) ProtoMessage() {} func (x *TestMethodResponse) ProtoReflect() protoreflect.Message { mi := &file_testing_options_v1_service_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use TestMethodResponse.ProtoReflect.Descriptor instead. func (*TestMethodResponse) Descriptor() ([]byte, []int) { return file_testing_options_v1_service_proto_rawDescGZIP(), []int{1} } func (x *TestMethodResponse) GetItem() string { if x != nil { return x.Item } return "" } var File_testing_options_v1_service_proto protoreflect.FileDescriptor const file_testing_options_v1_service_proto_rawDesc = "" + "\n" + " testing/options/v1/service.proto\x12\x12testing.options.v1\x1a\x1cgoogle/api/annotations.proto\"#\n" + "\x11TestMethodRequest\x12\x0e\n" + "\x02id\x18\x01 \x01(\tR\x02id\"(\n" + "\x12TestMethodResponse\x12\x12\n" + "\x04item\x18\x01 \x01(\tR\x04item2\x94\x01\n" + "\vTestService\x12\x84\x01\n" + "\n" + "TestMethod\x12%.testing.options.v1.TestMethodRequest\x1a&.testing.options.v1.TestMethodResponse\"'\x82\xd3\xe4\x93\x02!Z\n" + "\x12\b/v2/testb\x04item\x12\r/v1/test/{id}BNZLgithub.com/hashicorp/boundary/internal/gen/testing/protooptions;protooptionsb\x06proto3" var ( file_testing_options_v1_service_proto_rawDescOnce sync.Once file_testing_options_v1_service_proto_rawDescData []byte ) func file_testing_options_v1_service_proto_rawDescGZIP() []byte { file_testing_options_v1_service_proto_rawDescOnce.Do(func() { file_testing_options_v1_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_testing_options_v1_service_proto_rawDesc), len(file_testing_options_v1_service_proto_rawDesc))) }) return file_testing_options_v1_service_proto_rawDescData } var file_testing_options_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_testing_options_v1_service_proto_goTypes = []any{ (*TestMethodRequest)(nil), // 0: testing.options.v1.TestMethodRequest (*TestMethodResponse)(nil), // 1: testing.options.v1.TestMethodResponse } var file_testing_options_v1_service_proto_depIdxs = []int32{ 0, // 0: testing.options.v1.TestService.TestMethod:input_type -> testing.options.v1.TestMethodRequest 1, // 1: testing.options.v1.TestService.TestMethod:output_type -> testing.options.v1.TestMethodResponse 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_testing_options_v1_service_proto_init() } func file_testing_options_v1_service_proto_init() { if File_testing_options_v1_service_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_testing_options_v1_service_proto_rawDesc), len(file_testing_options_v1_service_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 1, }, GoTypes: file_testing_options_v1_service_proto_goTypes, DependencyIndexes: file_testing_options_v1_service_proto_depIdxs, MessageInfos: file_testing_options_v1_service_proto_msgTypes, }.Build() File_testing_options_v1_service_proto = out.File file_testing_options_v1_service_proto_goTypes = nil file_testing_options_v1_service_proto_depIdxs = nil }