1// Copyright 2020 The ChromiumOS Authors 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5// Code generated by protoc-gen-go. DO NOT EDIT. 6// versions: 7// protoc-gen-go v1.27.1 8// protoc v3.17.1 9// source: chromiumos/config/api/partner_id.proto 10 11package api 12 13import ( 14 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 15 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 16 reflect "reflect" 17 sync "sync" 18) 19 20const ( 21 // Verify that this generated code is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 23 // Verify that runtime/protoimpl is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 25) 26 27// Uniquely identifies any contributing partner to any of the chromiumos 28// projects. 29// E.g. ODMs, OEMs, SoC & Component Manufacturers, ... 30type PartnerId struct { 31 state protoimpl.MessageState 32 sizeCache protoimpl.SizeCache 33 unknownFields protoimpl.UnknownFields 34 35 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` 36} 37 38func (x *PartnerId) Reset() { 39 *x = PartnerId{} 40 if protoimpl.UnsafeEnabled { 41 mi := &file_chromiumos_config_api_partner_id_proto_msgTypes[0] 42 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 43 ms.StoreMessageInfo(mi) 44 } 45} 46 47func (x *PartnerId) String() string { 48 return protoimpl.X.MessageStringOf(x) 49} 50 51func (*PartnerId) ProtoMessage() {} 52 53func (x *PartnerId) ProtoReflect() protoreflect.Message { 54 mi := &file_chromiumos_config_api_partner_id_proto_msgTypes[0] 55 if protoimpl.UnsafeEnabled && x != nil { 56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 57 if ms.LoadMessageInfo() == nil { 58 ms.StoreMessageInfo(mi) 59 } 60 return ms 61 } 62 return mi.MessageOf(x) 63} 64 65// Deprecated: Use PartnerId.ProtoReflect.Descriptor instead. 66func (*PartnerId) Descriptor() ([]byte, []int) { 67 return file_chromiumos_config_api_partner_id_proto_rawDescGZIP(), []int{0} 68} 69 70func (x *PartnerId) GetValue() string { 71 if x != nil { 72 return x.Value 73 } 74 return "" 75} 76 77var File_chromiumos_config_api_partner_id_proto protoreflect.FileDescriptor 78 79var file_chromiumos_config_api_partner_id_proto_rawDesc = []byte{ 80 0x0a, 0x26, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 81 0x66, 0x69, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x5f, 82 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 83 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x22, 84 0x21, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 85 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 86 0x75, 0x65, 0x42, 0x2a, 0x5a, 0x28, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 87 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 88 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 89 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 90} 91 92var ( 93 file_chromiumos_config_api_partner_id_proto_rawDescOnce sync.Once 94 file_chromiumos_config_api_partner_id_proto_rawDescData = file_chromiumos_config_api_partner_id_proto_rawDesc 95) 96 97func file_chromiumos_config_api_partner_id_proto_rawDescGZIP() []byte { 98 file_chromiumos_config_api_partner_id_proto_rawDescOnce.Do(func() { 99 file_chromiumos_config_api_partner_id_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromiumos_config_api_partner_id_proto_rawDescData) 100 }) 101 return file_chromiumos_config_api_partner_id_proto_rawDescData 102} 103 104var file_chromiumos_config_api_partner_id_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 105var file_chromiumos_config_api_partner_id_proto_goTypes = []interface{}{ 106 (*PartnerId)(nil), // 0: chromiumos.config.api.PartnerId 107} 108var file_chromiumos_config_api_partner_id_proto_depIdxs = []int32{ 109 0, // [0:0] is the sub-list for method output_type 110 0, // [0:0] is the sub-list for method input_type 111 0, // [0:0] is the sub-list for extension type_name 112 0, // [0:0] is the sub-list for extension extendee 113 0, // [0:0] is the sub-list for field type_name 114} 115 116func init() { file_chromiumos_config_api_partner_id_proto_init() } 117func file_chromiumos_config_api_partner_id_proto_init() { 118 if File_chromiumos_config_api_partner_id_proto != nil { 119 return 120 } 121 if !protoimpl.UnsafeEnabled { 122 file_chromiumos_config_api_partner_id_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 123 switch v := v.(*PartnerId); i { 124 case 0: 125 return &v.state 126 case 1: 127 return &v.sizeCache 128 case 2: 129 return &v.unknownFields 130 default: 131 return nil 132 } 133 } 134 } 135 type x struct{} 136 out := protoimpl.TypeBuilder{ 137 File: protoimpl.DescBuilder{ 138 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 139 RawDescriptor: file_chromiumos_config_api_partner_id_proto_rawDesc, 140 NumEnums: 0, 141 NumMessages: 1, 142 NumExtensions: 0, 143 NumServices: 0, 144 }, 145 GoTypes: file_chromiumos_config_api_partner_id_proto_goTypes, 146 DependencyIndexes: file_chromiumos_config_api_partner_id_proto_depIdxs, 147 MessageInfos: file_chromiumos_config_api_partner_id_proto_msgTypes, 148 }.Build() 149 File_chromiumos_config_api_partner_id_proto = out.File 150 file_chromiumos_config_api_partner_id_proto_rawDesc = nil 151 file_chromiumos_config_api_partner_id_proto_goTypes = nil 152 file_chromiumos_config_api_partner_id_proto_depIdxs = nil 153} 154