github.com/letsencrypt/boulder@v0.20251208.0/grpc/test_proto/interceptors_test.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.36.5 4 // protoc v3.20.1 5 // source: interceptors_test.proto 6 7 package test_proto 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 durationpb "google.golang.org/protobuf/types/known/durationpb" 13 reflect "reflect" 14 sync "sync" 15 unsafe "unsafe" 16 ) 17 18 const ( 19 // Verify that this generated code is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 21 // Verify that runtime/protoimpl is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 23 ) 24 25 type Time struct { 26 state protoimpl.MessageState `protogen:"open.v1"` 27 Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` 28 unknownFields protoimpl.UnknownFields 29 sizeCache protoimpl.SizeCache 30 } 31 32 func (x *Time) Reset() { 33 *x = Time{} 34 mi := &file_interceptors_test_proto_msgTypes[0] 35 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 36 ms.StoreMessageInfo(mi) 37 } 38 39 func (x *Time) String() string { 40 return protoimpl.X.MessageStringOf(x) 41 } 42 43 func (*Time) ProtoMessage() {} 44 45 func (x *Time) ProtoReflect() protoreflect.Message { 46 mi := &file_interceptors_test_proto_msgTypes[0] 47 if x != nil { 48 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 49 if ms.LoadMessageInfo() == nil { 50 ms.StoreMessageInfo(mi) 51 } 52 return ms 53 } 54 return mi.MessageOf(x) 55 } 56 57 // Deprecated: Use Time.ProtoReflect.Descriptor instead. 58 func (*Time) Descriptor() ([]byte, []int) { 59 return file_interceptors_test_proto_rawDescGZIP(), []int{0} 60 } 61 62 func (x *Time) GetDuration() *durationpb.Duration { 63 if x != nil { 64 return x.Duration 65 } 66 return nil 67 } 68 69 var File_interceptors_test_proto protoreflect.FileDescriptor 70 71 var file_interceptors_test_proto_rawDesc = string([]byte{ 72 0x0a, 0x17, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x6f, 0x72, 0x73, 0x5f, 0x74, 73 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 74 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 75 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x43, 0x0a, 0x04, 0x54, 0x69, 0x6d, 76 0x65, 0x12, 0x35, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 77 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 78 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 79 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x32, 0x22, 80 0x0a, 0x07, 0x43, 0x68, 0x69, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x05, 0x43, 0x68, 0x69, 81 0x6c, 0x6c, 0x12, 0x05, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x05, 0x2e, 0x54, 0x69, 0x6d, 0x65, 82 0x22, 0x00, 0x42, 0x30, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 83 0x2f, 0x6c, 0x65, 0x74, 0x73, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x2f, 0x62, 0x6f, 0x75, 84 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x70, 85 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 86 }) 87 88 var ( 89 file_interceptors_test_proto_rawDescOnce sync.Once 90 file_interceptors_test_proto_rawDescData []byte 91 ) 92 93 func file_interceptors_test_proto_rawDescGZIP() []byte { 94 file_interceptors_test_proto_rawDescOnce.Do(func() { 95 file_interceptors_test_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_interceptors_test_proto_rawDesc), len(file_interceptors_test_proto_rawDesc))) 96 }) 97 return file_interceptors_test_proto_rawDescData 98 } 99 100 var file_interceptors_test_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 101 var file_interceptors_test_proto_goTypes = []any{ 102 (*Time)(nil), // 0: Time 103 (*durationpb.Duration)(nil), // 1: google.protobuf.Duration 104 } 105 var file_interceptors_test_proto_depIdxs = []int32{ 106 1, // 0: Time.duration:type_name -> google.protobuf.Duration 107 0, // 1: Chiller.Chill:input_type -> Time 108 0, // 2: Chiller.Chill:output_type -> Time 109 2, // [2:3] is the sub-list for method output_type 110 1, // [1:2] is the sub-list for method input_type 111 1, // [1:1] is the sub-list for extension type_name 112 1, // [1:1] is the sub-list for extension extendee 113 0, // [0:1] is the sub-list for field type_name 114 } 115 116 func init() { file_interceptors_test_proto_init() } 117 func file_interceptors_test_proto_init() { 118 if File_interceptors_test_proto != nil { 119 return 120 } 121 type x struct{} 122 out := protoimpl.TypeBuilder{ 123 File: protoimpl.DescBuilder{ 124 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 125 RawDescriptor: unsafe.Slice(unsafe.StringData(file_interceptors_test_proto_rawDesc), len(file_interceptors_test_proto_rawDesc)), 126 NumEnums: 0, 127 NumMessages: 1, 128 NumExtensions: 0, 129 NumServices: 1, 130 }, 131 GoTypes: file_interceptors_test_proto_goTypes, 132 DependencyIndexes: file_interceptors_test_proto_depIdxs, 133 MessageInfos: file_interceptors_test_proto_msgTypes, 134 }.Build() 135 File_interceptors_test_proto = out.File 136 file_interceptors_test_proto_goTypes = nil 137 file_interceptors_test_proto_depIdxs = nil 138 }