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