• 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/design_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 a Chromium OS hardware design project.
28type DesignId 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	// Design ID to use for software configs. May be used in place of value for
35	// software config (e.g. audio) purposes.
36	ConfigDesignIdOverride *DesignId `protobuf:"bytes,2,opt,name=config_design_id_override,json=configDesignIdOverride,proto3" json:"config_design_id_override,omitempty"`
37	// Design ID to use for the model name, to be used as the key for test
38	// coverage requirements, and hence the cros-config model name.
39	ModelNameDesignIdOverride *DesignId `protobuf:"bytes,3,opt,name=model_name_design_id_override,json=modelNameDesignIdOverride,proto3" json:"model_name_design_id_override,omitempty"`
40}
41
42func (x *DesignId) Reset() {
43	*x = DesignId{}
44	if protoimpl.UnsafeEnabled {
45		mi := &file_chromiumos_config_api_design_id_proto_msgTypes[0]
46		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
47		ms.StoreMessageInfo(mi)
48	}
49}
50
51func (x *DesignId) String() string {
52	return protoimpl.X.MessageStringOf(x)
53}
54
55func (*DesignId) ProtoMessage() {}
56
57func (x *DesignId) ProtoReflect() protoreflect.Message {
58	mi := &file_chromiumos_config_api_design_id_proto_msgTypes[0]
59	if protoimpl.UnsafeEnabled && x != nil {
60		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61		if ms.LoadMessageInfo() == nil {
62			ms.StoreMessageInfo(mi)
63		}
64		return ms
65	}
66	return mi.MessageOf(x)
67}
68
69// Deprecated: Use DesignId.ProtoReflect.Descriptor instead.
70func (*DesignId) Descriptor() ([]byte, []int) {
71	return file_chromiumos_config_api_design_id_proto_rawDescGZIP(), []int{0}
72}
73
74func (x *DesignId) GetValue() string {
75	if x != nil {
76		return x.Value
77	}
78	return ""
79}
80
81func (x *DesignId) GetConfigDesignIdOverride() *DesignId {
82	if x != nil {
83		return x.ConfigDesignIdOverride
84	}
85	return nil
86}
87
88func (x *DesignId) GetModelNameDesignIdOverride() *DesignId {
89	if x != nil {
90		return x.ModelNameDesignIdOverride
91	}
92	return nil
93}
94
95var File_chromiumos_config_api_design_id_proto protoreflect.FileDescriptor
96
97var file_chromiumos_config_api_design_id_proto_rawDesc = []byte{
98	0x0a, 0x25, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e,
99	0x66, 0x69, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x69,
100	0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75,
101	0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x22, 0xdf,
102	0x01, 0x0a, 0x08, 0x44, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76,
103	0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
104	0x65, 0x12, 0x5a, 0x0a, 0x19, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x64, 0x65, 0x73, 0x69,
105	0x67, 0x6e, 0x5f, 0x69, 0x64, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x02,
106	0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f,
107	0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, 0x73,
108	0x69, 0x67, 0x6e, 0x49, 0x64, 0x52, 0x16, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x73,
109	0x69, 0x67, 0x6e, 0x49, 0x64, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x61, 0x0a,
110	0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x69,
111	0x67, 0x6e, 0x5f, 0x69, 0x64, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x03,
112	0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f,
113	0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, 0x73,
114	0x69, 0x67, 0x6e, 0x49, 0x64, 0x52, 0x19, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65,
115	0x44, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x49, 0x64, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65,
116	0x42, 0x2a, 0x5a, 0x28, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e,
117	0x6f, 0x72, 0x67, 0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63,
118	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72,
119	0x6f, 0x74, 0x6f, 0x33,
120}
121
122var (
123	file_chromiumos_config_api_design_id_proto_rawDescOnce sync.Once
124	file_chromiumos_config_api_design_id_proto_rawDescData = file_chromiumos_config_api_design_id_proto_rawDesc
125)
126
127func file_chromiumos_config_api_design_id_proto_rawDescGZIP() []byte {
128	file_chromiumos_config_api_design_id_proto_rawDescOnce.Do(func() {
129		file_chromiumos_config_api_design_id_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromiumos_config_api_design_id_proto_rawDescData)
130	})
131	return file_chromiumos_config_api_design_id_proto_rawDescData
132}
133
134var file_chromiumos_config_api_design_id_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
135var file_chromiumos_config_api_design_id_proto_goTypes = []interface{}{
136	(*DesignId)(nil), // 0: chromiumos.config.api.DesignId
137}
138var file_chromiumos_config_api_design_id_proto_depIdxs = []int32{
139	0, // 0: chromiumos.config.api.DesignId.config_design_id_override:type_name -> chromiumos.config.api.DesignId
140	0, // 1: chromiumos.config.api.DesignId.model_name_design_id_override:type_name -> chromiumos.config.api.DesignId
141	2, // [2:2] is the sub-list for method output_type
142	2, // [2:2] is the sub-list for method input_type
143	2, // [2:2] is the sub-list for extension type_name
144	2, // [2:2] is the sub-list for extension extendee
145	0, // [0:2] is the sub-list for field type_name
146}
147
148func init() { file_chromiumos_config_api_design_id_proto_init() }
149func file_chromiumos_config_api_design_id_proto_init() {
150	if File_chromiumos_config_api_design_id_proto != nil {
151		return
152	}
153	if !protoimpl.UnsafeEnabled {
154		file_chromiumos_config_api_design_id_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
155			switch v := v.(*DesignId); i {
156			case 0:
157				return &v.state
158			case 1:
159				return &v.sizeCache
160			case 2:
161				return &v.unknownFields
162			default:
163				return nil
164			}
165		}
166	}
167	type x struct{}
168	out := protoimpl.TypeBuilder{
169		File: protoimpl.DescBuilder{
170			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
171			RawDescriptor: file_chromiumos_config_api_design_id_proto_rawDesc,
172			NumEnums:      0,
173			NumMessages:   1,
174			NumExtensions: 0,
175			NumServices:   0,
176		},
177		GoTypes:           file_chromiumos_config_api_design_id_proto_goTypes,
178		DependencyIndexes: file_chromiumos_config_api_design_id_proto_depIdxs,
179		MessageInfos:      file_chromiumos_config_api_design_id_proto_msgTypes,
180	}.Build()
181	File_chromiumos_config_api_design_id_proto = out.File
182	file_chromiumos_config_api_design_id_proto_rawDesc = nil
183	file_chromiumos_config_api_design_id_proto_goTypes = nil
184	file_chromiumos_config_api_design_id_proto_depIdxs = nil
185}
186