// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.6 // protoc v6.31.0 // source: dr_basic_idl.proto package dr_basic_pb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" 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) ) type HttpResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Solution string `protobuf:"bytes,3,opt,name=solution,proto3" json:"solution,omitempty"` Data *anypb.Any `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *HttpResponse) Reset() { *x = HttpResponse{} mi := &file_dr_basic_idl_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *HttpResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*HttpResponse) ProtoMessage() {} func (x *HttpResponse) ProtoReflect() protoreflect.Message { mi := &file_dr_basic_idl_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 HttpResponse.ProtoReflect.Descriptor instead. func (*HttpResponse) Descriptor() ([]byte, []int) { return file_dr_basic_idl_proto_rawDescGZIP(), []int{0} } func (x *HttpResponse) GetCode() string { if x != nil { return x.Code } return "" } func (x *HttpResponse) GetDescription() string { if x != nil { return x.Description } return "" } func (x *HttpResponse) GetSolution() string { if x != nil { return x.Solution } return "" } func (x *HttpResponse) GetData() *anypb.Any { if x != nil { return x.Data } return nil } var File_dr_basic_idl_proto protoreflect.FileDescriptor const file_dr_basic_idl_proto_rawDesc = "" + "\n" + "\x12dr_basic_idl.proto\x12\bdr.basic\x1a\x19google/protobuf/any.proto\"\x8a\x01\n" + "\fHttpResponse\x12\x12\n" + "\x04code\x18\x01 \x01(\tR\x04code\x12 \n" + "\vdescription\x18\x02 \x01(\tR\vdescription\x12\x1a\n" + "\bsolution\x18\x03 \x01(\tR\bsolution\x12(\n" + "\x04data\x18\x04 \x01(\v2\x14.google.protobuf.AnyR\x04dataB\x0eZ\fdr_basic_pb/b\x06proto3" var ( file_dr_basic_idl_proto_rawDescOnce sync.Once file_dr_basic_idl_proto_rawDescData []byte ) func file_dr_basic_idl_proto_rawDescGZIP() []byte { file_dr_basic_idl_proto_rawDescOnce.Do(func() { file_dr_basic_idl_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dr_basic_idl_proto_rawDesc), len(file_dr_basic_idl_proto_rawDesc))) }) return file_dr_basic_idl_proto_rawDescData } var file_dr_basic_idl_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_dr_basic_idl_proto_goTypes = []any{ (*HttpResponse)(nil), // 0: dr.basic.HttpResponse (*anypb.Any)(nil), // 1: google.protobuf.Any } var file_dr_basic_idl_proto_depIdxs = []int32{ 1, // 0: dr.basic.HttpResponse.data:type_name -> google.protobuf.Any 1, // [1:1] is the sub-list for method output_type 1, // [1:1] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name } func init() { file_dr_basic_idl_proto_init() } func file_dr_basic_idl_proto_init() { if File_dr_basic_idl_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_dr_basic_idl_proto_rawDesc), len(file_dr_basic_idl_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, GoTypes: file_dr_basic_idl_proto_goTypes, DependencyIndexes: file_dr_basic_idl_proto_depIdxs, MessageInfos: file_dr_basic_idl_proto_msgTypes, }.Build() File_dr_basic_idl_proto = out.File file_dr_basic_idl_proto_goTypes = nil file_dr_basic_idl_proto_depIdxs = nil }