• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/component_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 component used in manufacturing a device.
28type ComponentId struct {
29	state         protoimpl.MessageState
30	sizeCache     protoimpl.SizeCache
31	unknownFields protoimpl.UnknownFields
32
33	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
34}
35
36func (x *ComponentId) Reset() {
37	*x = ComponentId{}
38	if protoimpl.UnsafeEnabled {
39		mi := &file_chromiumos_config_api_component_id_proto_msgTypes[0]
40		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
41		ms.StoreMessageInfo(mi)
42	}
43}
44
45func (x *ComponentId) String() string {
46	return protoimpl.X.MessageStringOf(x)
47}
48
49func (*ComponentId) ProtoMessage() {}
50
51func (x *ComponentId) ProtoReflect() protoreflect.Message {
52	mi := &file_chromiumos_config_api_component_id_proto_msgTypes[0]
53	if protoimpl.UnsafeEnabled && x != nil {
54		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
55		if ms.LoadMessageInfo() == nil {
56			ms.StoreMessageInfo(mi)
57		}
58		return ms
59	}
60	return mi.MessageOf(x)
61}
62
63// Deprecated: Use ComponentId.ProtoReflect.Descriptor instead.
64func (*ComponentId) Descriptor() ([]byte, []int) {
65	return file_chromiumos_config_api_component_id_proto_rawDescGZIP(), []int{0}
66}
67
68func (x *ComponentId) GetValue() string {
69	if x != nil {
70		return x.Value
71	}
72	return ""
73}
74
75var File_chromiumos_config_api_component_id_proto protoreflect.FileDescriptor
76
77var file_chromiumos_config_api_component_id_proto_rawDesc = []byte{
78	0x0a, 0x28, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e,
79	0x66, 0x69, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e,
80	0x74, 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x63, 0x68, 0x72, 0x6f,
81	0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70,
82	0x69, 0x22, 0x23, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x49, 0x64,
83	0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
84	0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x2a, 0x5a, 0x28, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72,
85	0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69,
86	0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6f, 0x2f, 0x61,
87	0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
88}
89
90var (
91	file_chromiumos_config_api_component_id_proto_rawDescOnce sync.Once
92	file_chromiumos_config_api_component_id_proto_rawDescData = file_chromiumos_config_api_component_id_proto_rawDesc
93)
94
95func file_chromiumos_config_api_component_id_proto_rawDescGZIP() []byte {
96	file_chromiumos_config_api_component_id_proto_rawDescOnce.Do(func() {
97		file_chromiumos_config_api_component_id_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromiumos_config_api_component_id_proto_rawDescData)
98	})
99	return file_chromiumos_config_api_component_id_proto_rawDescData
100}
101
102var file_chromiumos_config_api_component_id_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
103var file_chromiumos_config_api_component_id_proto_goTypes = []interface{}{
104	(*ComponentId)(nil), // 0: chromiumos.config.api.ComponentId
105}
106var file_chromiumos_config_api_component_id_proto_depIdxs = []int32{
107	0, // [0:0] is the sub-list for method output_type
108	0, // [0:0] is the sub-list for method input_type
109	0, // [0:0] is the sub-list for extension type_name
110	0, // [0:0] is the sub-list for extension extendee
111	0, // [0:0] is the sub-list for field type_name
112}
113
114func init() { file_chromiumos_config_api_component_id_proto_init() }
115func file_chromiumos_config_api_component_id_proto_init() {
116	if File_chromiumos_config_api_component_id_proto != nil {
117		return
118	}
119	if !protoimpl.UnsafeEnabled {
120		file_chromiumos_config_api_component_id_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
121			switch v := v.(*ComponentId); i {
122			case 0:
123				return &v.state
124			case 1:
125				return &v.sizeCache
126			case 2:
127				return &v.unknownFields
128			default:
129				return nil
130			}
131		}
132	}
133	type x struct{}
134	out := protoimpl.TypeBuilder{
135		File: protoimpl.DescBuilder{
136			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
137			RawDescriptor: file_chromiumos_config_api_component_id_proto_rawDesc,
138			NumEnums:      0,
139			NumMessages:   1,
140			NumExtensions: 0,
141			NumServices:   0,
142		},
143		GoTypes:           file_chromiumos_config_api_component_id_proto_goTypes,
144		DependencyIndexes: file_chromiumos_config_api_component_id_proto_depIdxs,
145		MessageInfos:      file_chromiumos_config_api_component_id_proto_msgTypes,
146	}.Build()
147	File_chromiumos_config_api_component_id_proto = out.File
148	file_chromiumos_config_api_component_id_proto_rawDesc = nil
149	file_chromiumos_config_api_component_id_proto_goTypes = nil
150	file_chromiumos_config_api_component_id_proto_depIdxs = nil
151}
152