zotregistry.io/zot@v1.4.4-0.20231124084042-02a8ed785457/pkg/meta/proto/gen/versioned.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.31.0
     4  // 	protoc        v4.24.4
     5  // source: oci/versioned.proto
     6  
     7  package gen
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	reflect "reflect"
    13  	sync "sync"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  type Versioned struct {
    24  	state         protoimpl.MessageState
    25  	sizeCache     protoimpl.SizeCache
    26  	unknownFields protoimpl.UnknownFields
    27  
    28  	SchemaVersion int32 `protobuf:"varint,1,opt,name=SchemaVersion,proto3" json:"SchemaVersion,omitempty"`
    29  }
    30  
    31  func (x *Versioned) Reset() {
    32  	*x = Versioned{}
    33  	if protoimpl.UnsafeEnabled {
    34  		mi := &file_oci_versioned_proto_msgTypes[0]
    35  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    36  		ms.StoreMessageInfo(mi)
    37  	}
    38  }
    39  
    40  func (x *Versioned) String() string {
    41  	return protoimpl.X.MessageStringOf(x)
    42  }
    43  
    44  func (*Versioned) ProtoMessage() {}
    45  
    46  func (x *Versioned) ProtoReflect() protoreflect.Message {
    47  	mi := &file_oci_versioned_proto_msgTypes[0]
    48  	if protoimpl.UnsafeEnabled && x != nil {
    49  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    50  		if ms.LoadMessageInfo() == nil {
    51  			ms.StoreMessageInfo(mi)
    52  		}
    53  		return ms
    54  	}
    55  	return mi.MessageOf(x)
    56  }
    57  
    58  // Deprecated: Use Versioned.ProtoReflect.Descriptor instead.
    59  func (*Versioned) Descriptor() ([]byte, []int) {
    60  	return file_oci_versioned_proto_rawDescGZIP(), []int{0}
    61  }
    62  
    63  func (x *Versioned) GetSchemaVersion() int32 {
    64  	if x != nil {
    65  		return x.SchemaVersion
    66  	}
    67  	return 0
    68  }
    69  
    70  var File_oci_versioned_proto protoreflect.FileDescriptor
    71  
    72  var file_oci_versioned_proto_rawDesc = []byte{
    73  	0x0a, 0x13, 0x6f, 0x63, 0x69, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x2e,
    74  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x6f, 0x63, 0x69, 0x5f, 0x76, 0x31, 0x22, 0x31, 0x0a,
    75  	0x09, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x53, 0x63,
    76  	0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
    77  	0x05, 0x52, 0x0d, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
    78  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
    79  }
    80  
    81  var (
    82  	file_oci_versioned_proto_rawDescOnce sync.Once
    83  	file_oci_versioned_proto_rawDescData = file_oci_versioned_proto_rawDesc
    84  )
    85  
    86  func file_oci_versioned_proto_rawDescGZIP() []byte {
    87  	file_oci_versioned_proto_rawDescOnce.Do(func() {
    88  		file_oci_versioned_proto_rawDescData = protoimpl.X.CompressGZIP(file_oci_versioned_proto_rawDescData)
    89  	})
    90  	return file_oci_versioned_proto_rawDescData
    91  }
    92  
    93  var file_oci_versioned_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
    94  var file_oci_versioned_proto_goTypes = []interface{}{
    95  	(*Versioned)(nil), // 0: oci_v1.Versioned
    96  }
    97  var file_oci_versioned_proto_depIdxs = []int32{
    98  	0, // [0:0] is the sub-list for method output_type
    99  	0, // [0:0] is the sub-list for method input_type
   100  	0, // [0:0] is the sub-list for extension type_name
   101  	0, // [0:0] is the sub-list for extension extendee
   102  	0, // [0:0] is the sub-list for field type_name
   103  }
   104  
   105  func init() { file_oci_versioned_proto_init() }
   106  func file_oci_versioned_proto_init() {
   107  	if File_oci_versioned_proto != nil {
   108  		return
   109  	}
   110  	if !protoimpl.UnsafeEnabled {
   111  		file_oci_versioned_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   112  			switch v := v.(*Versioned); i {
   113  			case 0:
   114  				return &v.state
   115  			case 1:
   116  				return &v.sizeCache
   117  			case 2:
   118  				return &v.unknownFields
   119  			default:
   120  				return nil
   121  			}
   122  		}
   123  	}
   124  	type x struct{}
   125  	out := protoimpl.TypeBuilder{
   126  		File: protoimpl.DescBuilder{
   127  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   128  			RawDescriptor: file_oci_versioned_proto_rawDesc,
   129  			NumEnums:      0,
   130  			NumMessages:   1,
   131  			NumExtensions: 0,
   132  			NumServices:   0,
   133  		},
   134  		GoTypes:           file_oci_versioned_proto_goTypes,
   135  		DependencyIndexes: file_oci_versioned_proto_depIdxs,
   136  		MessageInfos:      file_oci_versioned_proto_msgTypes,
   137  	}.Build()
   138  	File_oci_versioned_proto = out.File
   139  	file_oci_versioned_proto_rawDesc = nil
   140  	file_oci_versioned_proto_goTypes = nil
   141  	file_oci_versioned_proto_depIdxs = nil
   142  }