...

Source file src/github.com/letsencrypt/boulder/grpc/test_proto/interceptors_test.pb.go

Documentation: github.com/letsencrypt/boulder/grpc/test_proto

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

View as plain text