kythe.io@v0.0.68-0.20240422202219-7225dbc01741/third_party/riegeli/records_metadata_go_proto/records_metadata.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.25.0
     4  // 	protoc        v3.13.0
     5  // source: riegeli/records/records_metadata.proto
     6  
     7  package riegeli
     8  
     9  import (
    10  	proto "github.com/golang/protobuf/proto"
    11  	descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
    12  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    13  	protoiface "google.golang.org/protobuf/runtime/protoiface"
    14  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    15  	reflect "reflect"
    16  	sync "sync"
    17  )
    18  
    19  const (
    20  	// Verify that this generated code is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    22  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    23  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    24  )
    25  
    26  // This is a compile-time assertion that a sufficiently up-to-date version
    27  // of the legacy proto package is being used.
    28  const _ = proto.ProtoPackageIsVersion4
    29  
    30  type RecordsMetadata struct {
    31  	state           protoimpl.MessageState
    32  	sizeCache       protoimpl.SizeCache
    33  	unknownFields   protoimpl.UnknownFields
    34  	extensionFields protoimpl.ExtensionFields
    35  
    36  	FileComment         *string                           `protobuf:"bytes,1,opt,name=file_comment,json=fileComment" json:"file_comment,omitempty"`
    37  	RecordTypeName      *string                           `protobuf:"bytes,2,opt,name=record_type_name,json=recordTypeName" json:"record_type_name,omitempty"`
    38  	FileDescriptor      []*descriptor.FileDescriptorProto `protobuf:"bytes,3,rep,name=file_descriptor,json=fileDescriptor" json:"file_descriptor,omitempty"`
    39  	RecordWriterOptions *string                           `protobuf:"bytes,4,opt,name=record_writer_options,json=recordWriterOptions" json:"record_writer_options,omitempty"`
    40  	NumRecords          *int64                            `protobuf:"varint,5,opt,name=num_records,json=numRecords" json:"num_records,omitempty"`
    41  }
    42  
    43  func (x *RecordsMetadata) Reset() {
    44  	*x = RecordsMetadata{}
    45  	if protoimpl.UnsafeEnabled {
    46  		mi := &file_riegeli_records_records_metadata_proto_msgTypes[0]
    47  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    48  		ms.StoreMessageInfo(mi)
    49  	}
    50  }
    51  
    52  func (x *RecordsMetadata) String() string {
    53  	return protoimpl.X.MessageStringOf(x)
    54  }
    55  
    56  func (*RecordsMetadata) ProtoMessage() {}
    57  
    58  func (x *RecordsMetadata) ProtoReflect() protoreflect.Message {
    59  	mi := &file_riegeli_records_records_metadata_proto_msgTypes[0]
    60  	if protoimpl.UnsafeEnabled && x != nil {
    61  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    62  		if ms.LoadMessageInfo() == nil {
    63  			ms.StoreMessageInfo(mi)
    64  		}
    65  		return ms
    66  	}
    67  	return mi.MessageOf(x)
    68  }
    69  
    70  // Deprecated: Use RecordsMetadata.ProtoReflect.Descriptor instead.
    71  func (*RecordsMetadata) Descriptor() ([]byte, []int) {
    72  	return file_riegeli_records_records_metadata_proto_rawDescGZIP(), []int{0}
    73  }
    74  
    75  var extRange_RecordsMetadata = []protoiface.ExtensionRangeV1{
    76  	{Start: 1000, End: 536870911},
    77  }
    78  
    79  // Deprecated: Use RecordsMetadata.ProtoReflect.Descriptor.ExtensionRanges instead.
    80  func (*RecordsMetadata) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
    81  	return extRange_RecordsMetadata
    82  }
    83  
    84  func (x *RecordsMetadata) GetFileComment() string {
    85  	if x != nil && x.FileComment != nil {
    86  		return *x.FileComment
    87  	}
    88  	return ""
    89  }
    90  
    91  func (x *RecordsMetadata) GetRecordTypeName() string {
    92  	if x != nil && x.RecordTypeName != nil {
    93  		return *x.RecordTypeName
    94  	}
    95  	return ""
    96  }
    97  
    98  func (x *RecordsMetadata) GetFileDescriptor() []*descriptor.FileDescriptorProto {
    99  	if x != nil {
   100  		return x.FileDescriptor
   101  	}
   102  	return nil
   103  }
   104  
   105  func (x *RecordsMetadata) GetRecordWriterOptions() string {
   106  	if x != nil && x.RecordWriterOptions != nil {
   107  		return *x.RecordWriterOptions
   108  	}
   109  	return ""
   110  }
   111  
   112  func (x *RecordsMetadata) GetNumRecords() int64 {
   113  	if x != nil && x.NumRecords != nil {
   114  		return *x.NumRecords
   115  	}
   116  	return 0
   117  }
   118  
   119  var File_riegeli_records_records_metadata_proto protoreflect.FileDescriptor
   120  
   121  var file_riegeli_records_records_metadata_proto_rawDesc = []byte{
   122  	0x0a, 0x26, 0x72, 0x69, 0x65, 0x67, 0x65, 0x6c, 0x69, 0x2f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64,
   123  	0x73, 0x2f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
   124  	0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x72, 0x69, 0x65, 0x67, 0x65, 0x6c,
   125  	0x69, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
   126  	0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72,
   127  	0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x02, 0x0a, 0x0f, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x4d,
   128  	0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x5f,
   129  	0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66,
   130  	0x69, 0x6c, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65,
   131  	0x63, 0x6f, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
   132  	0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65,
   133  	0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x73,
   134  	0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e,
   135  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
   136  	0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72,
   137  	0x6f, 0x74, 0x6f, 0x52, 0x0e, 0x66, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
   138  	0x74, 0x6f, 0x72, 0x12, 0x32, 0x0a, 0x15, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x77, 0x72,
   139  	0x69, 0x74, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01,
   140  	0x28, 0x09, 0x52, 0x13, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x57, 0x72, 0x69, 0x74, 0x65, 0x72,
   141  	0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x75, 0x6d, 0x5f, 0x72,
   142  	0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x75,
   143  	0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80,
   144  	0x80, 0x80, 0x02,
   145  }
   146  
   147  var (
   148  	file_riegeli_records_records_metadata_proto_rawDescOnce sync.Once
   149  	file_riegeli_records_records_metadata_proto_rawDescData = file_riegeli_records_records_metadata_proto_rawDesc
   150  )
   151  
   152  func file_riegeli_records_records_metadata_proto_rawDescGZIP() []byte {
   153  	file_riegeli_records_records_metadata_proto_rawDescOnce.Do(func() {
   154  		file_riegeli_records_records_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(file_riegeli_records_records_metadata_proto_rawDescData)
   155  	})
   156  	return file_riegeli_records_records_metadata_proto_rawDescData
   157  }
   158  
   159  var file_riegeli_records_records_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   160  var file_riegeli_records_records_metadata_proto_goTypes = []interface{}{
   161  	(*RecordsMetadata)(nil),                // 0: riegeli.RecordsMetadata
   162  	(*descriptor.FileDescriptorProto)(nil), // 1: google.protobuf.FileDescriptorProto
   163  }
   164  var file_riegeli_records_records_metadata_proto_depIdxs = []int32{
   165  	1, // 0: riegeli.RecordsMetadata.file_descriptor:type_name -> google.protobuf.FileDescriptorProto
   166  	1, // [1:1] is the sub-list for method output_type
   167  	1, // [1:1] is the sub-list for method input_type
   168  	1, // [1:1] is the sub-list for extension type_name
   169  	1, // [1:1] is the sub-list for extension extendee
   170  	0, // [0:1] is the sub-list for field type_name
   171  }
   172  
   173  func init() { file_riegeli_records_records_metadata_proto_init() }
   174  func file_riegeli_records_records_metadata_proto_init() {
   175  	if File_riegeli_records_records_metadata_proto != nil {
   176  		return
   177  	}
   178  	if !protoimpl.UnsafeEnabled {
   179  		file_riegeli_records_records_metadata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   180  			switch v := v.(*RecordsMetadata); i {
   181  			case 0:
   182  				return &v.state
   183  			case 1:
   184  				return &v.sizeCache
   185  			case 2:
   186  				return &v.unknownFields
   187  			case 3:
   188  				return &v.extensionFields
   189  			default:
   190  				return nil
   191  			}
   192  		}
   193  	}
   194  	type x struct{}
   195  	out := protoimpl.TypeBuilder{
   196  		File: protoimpl.DescBuilder{
   197  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   198  			RawDescriptor: file_riegeli_records_records_metadata_proto_rawDesc,
   199  			NumEnums:      0,
   200  			NumMessages:   1,
   201  			NumExtensions: 0,
   202  			NumServices:   0,
   203  		},
   204  		GoTypes:           file_riegeli_records_records_metadata_proto_goTypes,
   205  		DependencyIndexes: file_riegeli_records_records_metadata_proto_depIdxs,
   206  		MessageInfos:      file_riegeli_records_records_metadata_proto_msgTypes,
   207  	}.Build()
   208  	File_riegeli_records_records_metadata_proto = out.File
   209  	file_riegeli_records_records_metadata_proto_rawDesc = nil
   210  	file_riegeli_records_records_metadata_proto_goTypes = nil
   211  	file_riegeli_records_records_metadata_proto_depIdxs = nil
   212  }