1// Copyright (C) 2024 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// Code generated by protoc-gen-go. DO NOT EDIT.
16// versions:
17// 	protoc-gen-go v1.30.0
18// 	protoc        v3.21.12
19// source: cts/tests/mediapc/requirements/mpc.proto
20
21package mpc_go_proto
22
23import (
24	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26	reflect "reflect"
27	sync "sync"
28)
29
30const (
31	// Verify that this generated code is sufficiently up-to-date.
32	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33	// Verify that runtime/protoimpl is sufficiently up-to-date.
34	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35)
36
37// The  Media Performance class of a device.
38//
39// Media performance class are defined for each Android version starting with R
40// (version 30). The special value of 0 designates that the device is not of a
41// media performance class.
42type MediaPerformanceClass int32
43
44const (
45	MediaPerformanceClass_MEDIA_PERFORMANCE_CLASS_UNSPECIFIED MediaPerformanceClass = 0
46	MediaPerformanceClass_MEDIA_PERFORMANCE_CLASS_INVALID     MediaPerformanceClass = -1
47	// As specified in
48	// https://source.android.com/docs/compatibility/11/android-11-cdd#227_handheld_media_performance_class
49	MediaPerformanceClass_MEDIA_PERFORMANCE_CLASS_11 MediaPerformanceClass = 30
50	// As specified in
51	// https://source.android.com/docs/compatibility/12/android-12-cdd#227_handheld_media_performance_class
52	MediaPerformanceClass_MEDIA_PERFORMANCE_CLASS_12 MediaPerformanceClass = 31
53	// As specified in
54	// https://source.android.com/docs/compatibility/13/android-13-cdd#227_handheld_media_performance_class
55	MediaPerformanceClass_MEDIA_PERFORMANCE_CLASS_13 MediaPerformanceClass = 33
56	// As specified in
57	// https://source.android.com/docs/compatibility/14/android-14-cdd#227_handheld_media_performance_class
58	MediaPerformanceClass_MEDIA_PERFORMANCE_CLASS_14 MediaPerformanceClass = 34
59	// As specified in
60	// https://source.android.com/docs/compatibility/15/android-15-cdd#227_handheld_media_performance_class
61	MediaPerformanceClass_MEDIA_PERFORMANCE_CLASS_15 MediaPerformanceClass = 35
62)
63
64// Enum value maps for MediaPerformanceClass.
65var (
66	MediaPerformanceClass_name = map[int32]string{
67		0:  "MEDIA_PERFORMANCE_CLASS_UNSPECIFIED",
68		-1: "MEDIA_PERFORMANCE_CLASS_INVALID",
69		30: "MEDIA_PERFORMANCE_CLASS_11",
70		31: "MEDIA_PERFORMANCE_CLASS_12",
71		33: "MEDIA_PERFORMANCE_CLASS_13",
72		34: "MEDIA_PERFORMANCE_CLASS_14",
73		35: "MEDIA_PERFORMANCE_CLASS_15",
74	}
75	MediaPerformanceClass_value = map[string]int32{
76		"MEDIA_PERFORMANCE_CLASS_UNSPECIFIED": 0,
77		"MEDIA_PERFORMANCE_CLASS_INVALID":     -1,
78		"MEDIA_PERFORMANCE_CLASS_11":          30,
79		"MEDIA_PERFORMANCE_CLASS_12":          31,
80		"MEDIA_PERFORMANCE_CLASS_13":          33,
81		"MEDIA_PERFORMANCE_CLASS_14":          34,
82		"MEDIA_PERFORMANCE_CLASS_15":          35,
83	}
84)
85
86func (x MediaPerformanceClass) Enum() *MediaPerformanceClass {
87	p := new(MediaPerformanceClass)
88	*p = x
89	return p
90}
91
92func (x MediaPerformanceClass) String() string {
93	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
94}
95
96func (MediaPerformanceClass) Descriptor() protoreflect.EnumDescriptor {
97	return file_cts_tests_mediapc_requirements_mpc_proto_enumTypes[0].Descriptor()
98}
99
100func (MediaPerformanceClass) Type() protoreflect.EnumType {
101	return &file_cts_tests_mediapc_requirements_mpc_proto_enumTypes[0]
102}
103
104func (x MediaPerformanceClass) Number() protoreflect.EnumNumber {
105	return protoreflect.EnumNumber(x)
106}
107
108// Deprecated: Do not use.
109func (x *MediaPerformanceClass) UnmarshalJSON(b []byte) error {
110	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
111	if err != nil {
112		return err
113	}
114	*x = MediaPerformanceClass(num)
115	return nil
116}
117
118// Deprecated: Use MediaPerformanceClass.Descriptor instead.
119func (MediaPerformanceClass) EnumDescriptor() ([]byte, []int) {
120	return file_cts_tests_mediapc_requirements_mpc_proto_rawDescGZIP(), []int{0}
121}
122
123var File_cts_tests_mediapc_requirements_mpc_proto protoreflect.FileDescriptor
124
125var file_cts_tests_mediapc_requirements_mpc_proto_rawDesc = []byte{
126	0x0a, 0x28, 0x63, 0x74, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x6d, 0x65, 0x64, 0x69,
127	0x61, 0x70, 0x63, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73,
128	0x2f, 0x6d, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x61, 0x6e, 0x64, 0x72,
129	0x6f, 0x69, 0x64, 0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72,
130	0x6d, 0x61, 0x6e, 0x63, 0x65, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2a, 0x8e, 0x02, 0x0a, 0x15, 0x4d,
131	0x65, 0x64, 0x69, 0x61, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x43,
132	0x6c, 0x61, 0x73, 0x73, 0x12, 0x27, 0x0a, 0x23, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x5f, 0x50, 0x45,
133	0x52, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f,
134	0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x2c, 0x0a,
135	0x1f, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x5f, 0x50, 0x45, 0x52, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x4e,
136	0x43, 0x45, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44,
137	0x10, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x4d,
138	0x45, 0x44, 0x49, 0x41, 0x5f, 0x50, 0x45, 0x52, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x4e, 0x43, 0x45,
139	0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, 0x31, 0x31, 0x10, 0x1e, 0x12, 0x1e, 0x0a, 0x1a, 0x4d,
140	0x45, 0x44, 0x49, 0x41, 0x5f, 0x50, 0x45, 0x52, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x4e, 0x43, 0x45,
141	0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, 0x31, 0x32, 0x10, 0x1f, 0x12, 0x1e, 0x0a, 0x1a, 0x4d,
142	0x45, 0x44, 0x49, 0x41, 0x5f, 0x50, 0x45, 0x52, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x4e, 0x43, 0x45,
143	0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, 0x31, 0x33, 0x10, 0x21, 0x12, 0x1e, 0x0a, 0x1a, 0x4d,
144	0x45, 0x44, 0x49, 0x41, 0x5f, 0x50, 0x45, 0x52, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x4e, 0x43, 0x45,
145	0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, 0x31, 0x34, 0x10, 0x22, 0x12, 0x1e, 0x0a, 0x1a, 0x4d,
146	0x45, 0x44, 0x49, 0x41, 0x5f, 0x50, 0x45, 0x52, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x4e, 0x43, 0x45,
147	0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, 0x31, 0x35, 0x10, 0x23, 0x42, 0x2e, 0x50, 0x01, 0x5a,
148	0x2a, 0x63, 0x74, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x70,
149	0x63, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x6d,
150	0x70, 0x63, 0x5f, 0x67, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
151}
152
153var (
154	file_cts_tests_mediapc_requirements_mpc_proto_rawDescOnce sync.Once
155	file_cts_tests_mediapc_requirements_mpc_proto_rawDescData = file_cts_tests_mediapc_requirements_mpc_proto_rawDesc
156)
157
158func file_cts_tests_mediapc_requirements_mpc_proto_rawDescGZIP() []byte {
159	file_cts_tests_mediapc_requirements_mpc_proto_rawDescOnce.Do(func() {
160		file_cts_tests_mediapc_requirements_mpc_proto_rawDescData = protoimpl.X.CompressGZIP(file_cts_tests_mediapc_requirements_mpc_proto_rawDescData)
161	})
162	return file_cts_tests_mediapc_requirements_mpc_proto_rawDescData
163}
164
165var file_cts_tests_mediapc_requirements_mpc_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
166var file_cts_tests_mediapc_requirements_mpc_proto_goTypes = []interface{}{
167	(MediaPerformanceClass)(0), // 0: android.media.performanceclass.MediaPerformanceClass
168}
169var file_cts_tests_mediapc_requirements_mpc_proto_depIdxs = []int32{
170	0, // [0:0] is the sub-list for method output_type
171	0, // [0:0] is the sub-list for method input_type
172	0, // [0:0] is the sub-list for extension type_name
173	0, // [0:0] is the sub-list for extension extendee
174	0, // [0:0] is the sub-list for field type_name
175}
176
177func init() { file_cts_tests_mediapc_requirements_mpc_proto_init() }
178func file_cts_tests_mediapc_requirements_mpc_proto_init() {
179	if File_cts_tests_mediapc_requirements_mpc_proto != nil {
180		return
181	}
182	type x struct{}
183	out := protoimpl.TypeBuilder{
184		File: protoimpl.DescBuilder{
185			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
186			RawDescriptor: file_cts_tests_mediapc_requirements_mpc_proto_rawDesc,
187			NumEnums:      1,
188			NumMessages:   0,
189			NumExtensions: 0,
190			NumServices:   0,
191		},
192		GoTypes:           file_cts_tests_mediapc_requirements_mpc_proto_goTypes,
193		DependencyIndexes: file_cts_tests_mediapc_requirements_mpc_proto_depIdxs,
194		EnumInfos:         file_cts_tests_mediapc_requirements_mpc_proto_enumTypes,
195	}.Build()
196	File_cts_tests_mediapc_requirements_mpc_proto = out.File
197	file_cts_tests_mediapc_requirements_mpc_proto_rawDesc = nil
198	file_cts_tests_mediapc_requirements_mpc_proto_goTypes = nil
199	file_cts_tests_mediapc_requirements_mpc_proto_depIdxs = nil
200}
201