Debian Codegraph @

googleapis/identity/accesscontextmanager/type/device_resources.pb.go

raw
1 // Copyright 2020 Google LLC
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.26.0
18 // protoc v3.12.2
19 // source: google/identity/accesscontextmanager/type/device_resources.proto
20
21 package _type
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // The encryption state of the device.
39 type DeviceEncryptionStatus int32
40
41 const (
42 // The encryption status of the device is not specified or not known.
43 DeviceEncryptionStatus_ENCRYPTION_UNSPECIFIED DeviceEncryptionStatus = 0
44 // The device does not support encryption.
45 DeviceEncryptionStatus_ENCRYPTION_UNSUPPORTED DeviceEncryptionStatus = 1
46 // The device supports encryption, but is currently unencrypted.
47 DeviceEncryptionStatus_UNENCRYPTED DeviceEncryptionStatus = 2
48 // The device is encrypted.
49 DeviceEncryptionStatus_ENCRYPTED DeviceEncryptionStatus = 3
50 )
51
52 // Enum value maps for DeviceEncryptionStatus.
53 var (
54 DeviceEncryptionStatus_name = map[int32]string{
55 0: "ENCRYPTION_UNSPECIFIED",
56 1: "ENCRYPTION_UNSUPPORTED",
57 2: "UNENCRYPTED",
58 3: "ENCRYPTED",
59 }
60 DeviceEncryptionStatus_value = map[string]int32{
61 "ENCRYPTION_UNSPECIFIED": 0,
62 "ENCRYPTION_UNSUPPORTED": 1,
63 "UNENCRYPTED": 2,
64 "ENCRYPTED": 3,
65 }
66 )
67
68 func (x DeviceEncryptionStatus) Enum() *DeviceEncryptionStatus {
69 p := new(DeviceEncryptionStatus)
70 *p = x
71 return p
72 }
73
74 func (x DeviceEncryptionStatus) String() string {
75 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
76 }
77
78 func (DeviceEncryptionStatus) Descriptor() protoreflect.EnumDescriptor {
79 return file_google_identity_accesscontextmanager_type_device_resources_proto_enumTypes[0].Descriptor()
80 }
81
82 func (DeviceEncryptionStatus) Type() protoreflect.EnumType {
83 return &file_google_identity_accesscontextmanager_type_device_resources_proto_enumTypes[0]
84 }
85
86 func (x DeviceEncryptionStatus) Number() protoreflect.EnumNumber {
87 return protoreflect.EnumNumber(x)
88 }
89
90 // Deprecated: Use DeviceEncryptionStatus.Descriptor instead.
91 func (DeviceEncryptionStatus) EnumDescriptor() ([]byte, []int) {
92 return file_google_identity_accesscontextmanager_type_device_resources_proto_rawDescGZIP(), []int{0}
93 }
94
95 // The operating system type of the device.
96 // Next id: 7
97 type OsType int32
98
99 const (
100 // The operating system of the device is not specified or not known.
101 OsType_OS_UNSPECIFIED OsType = 0
102 // A desktop Mac operating system.
103 OsType_DESKTOP_MAC OsType = 1
104 // A desktop Windows operating system.
105 OsType_DESKTOP_WINDOWS OsType = 2
106 // A desktop Linux operating system.
107 OsType_DESKTOP_LINUX OsType = 3
108 // A desktop ChromeOS operating system.
109 OsType_DESKTOP_CHROME_OS OsType = 6
110 // An Android operating system.
111 OsType_ANDROID OsType = 4
112 // An iOS operating system.
113 OsType_IOS OsType = 5
114 )
115
116 // Enum value maps for OsType.
117 var (
118 OsType_name = map[int32]string{
119 0: "OS_UNSPECIFIED",
120 1: "DESKTOP_MAC",
121 2: "DESKTOP_WINDOWS",
122 3: "DESKTOP_LINUX",
123 6: "DESKTOP_CHROME_OS",
124 4: "ANDROID",
125 5: "IOS",
126 }
127 OsType_value = map[string]int32{
128 "OS_UNSPECIFIED": 0,
129 "DESKTOP_MAC": 1,
130 "DESKTOP_WINDOWS": 2,
131 "DESKTOP_LINUX": 3,
132 "DESKTOP_CHROME_OS": 6,
133 "ANDROID": 4,
134 "IOS": 5,
135 }
136 )
137
138 func (x OsType) Enum() *OsType {
139 p := new(OsType)
140 *p = x
141 return p
142 }
143
144 func (x OsType) String() string {
145 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
146 }
147
148 func (OsType) Descriptor() protoreflect.EnumDescriptor {
149 return file_google_identity_accesscontextmanager_type_device_resources_proto_enumTypes[1].Descriptor()
150 }
151
152 func (OsType) Type() protoreflect.EnumType {
153 return &file_google_identity_accesscontextmanager_type_device_resources_proto_enumTypes[1]
154 }
155
156 func (x OsType) Number() protoreflect.EnumNumber {
157 return protoreflect.EnumNumber(x)
158 }
159
160 // Deprecated: Use OsType.Descriptor instead.
161 func (OsType) EnumDescriptor() ([]byte, []int) {
162 return file_google_identity_accesscontextmanager_type_device_resources_proto_rawDescGZIP(), []int{1}
163 }
164
165 // The degree to which the device is managed by the Cloud organization.
166 type DeviceManagementLevel int32
167
168 const (
169 // The device's management level is not specified or not known.
170 DeviceManagementLevel_MANAGEMENT_UNSPECIFIED DeviceManagementLevel = 0
171 // The device is not managed.
172 DeviceManagementLevel_NONE DeviceManagementLevel = 1
173 // Basic management is enabled, which is generally limited to monitoring and
174 // wiping the corporate account.
175 DeviceManagementLevel_BASIC DeviceManagementLevel = 2
176 // Complete device management. This includes more thorough monitoring and the
177 // ability to directly manage the device (such as remote wiping). This can be
178 // enabled through the Android Enterprise Platform.
179 DeviceManagementLevel_COMPLETE DeviceManagementLevel = 3
180 )
181
182 // Enum value maps for DeviceManagementLevel.
183 var (
184 DeviceManagementLevel_name = map[int32]string{
185 0: "MANAGEMENT_UNSPECIFIED",
186 1: "NONE",
187 2: "BASIC",
188 3: "COMPLETE",
189 }
190 DeviceManagementLevel_value = map[string]int32{
191 "MANAGEMENT_UNSPECIFIED": 0,
192 "NONE": 1,
193 "BASIC": 2,
194 "COMPLETE": 3,
195 }
196 )
197
198 func (x DeviceManagementLevel) Enum() *DeviceManagementLevel {
199 p := new(DeviceManagementLevel)
200 *p = x
201 return p
202 }
203
204 func (x DeviceManagementLevel) String() string {
205 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
206 }
207
208 func (DeviceManagementLevel) Descriptor() protoreflect.EnumDescriptor {
209 return file_google_identity_accesscontextmanager_type_device_resources_proto_enumTypes[2].Descriptor()
210 }
211
212 func (DeviceManagementLevel) Type() protoreflect.EnumType {
213 return &file_google_identity_accesscontextmanager_type_device_resources_proto_enumTypes[2]
214 }
215
216 func (x DeviceManagementLevel) Number() protoreflect.EnumNumber {
217 return protoreflect.EnumNumber(x)
218 }
219
220 // Deprecated: Use DeviceManagementLevel.Descriptor instead.
221 func (DeviceManagementLevel) EnumDescriptor() ([]byte, []int) {
222 return file_google_identity_accesscontextmanager_type_device_resources_proto_rawDescGZIP(), []int{2}
223 }
224
225 var File_google_identity_accesscontextmanager_type_device_resources_proto protoreflect.FileDescriptor
226
227 var file_google_identity_accesscontextmanager_type_device_resources_proto_rawDesc = []byte{
228 0x0a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
229 0x79, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x6d,
230 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x69,
231 0x63, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f,
232 0x74, 0x6f, 0x12, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74,
233 0x69, 0x74, 0x79, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78,
234 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2a, 0x70, 0x0a,
235 0x16, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f,
236 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x4e, 0x43, 0x52, 0x59,
237 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
238 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x49, 0x4f,
239 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12,
240 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x45, 0x44, 0x10, 0x02,
241 0x12, 0x0d, 0x0a, 0x09, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x45, 0x44, 0x10, 0x03, 0x2a,
242 0x82, 0x01, 0x0a, 0x06, 0x4f, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x0e, 0x4f, 0x53,
243 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f,
244 0x0a, 0x0b, 0x44, 0x45, 0x53, 0x4b, 0x54, 0x4f, 0x50, 0x5f, 0x4d, 0x41, 0x43, 0x10, 0x01, 0x12,
245 0x13, 0x0a, 0x0f, 0x44, 0x45, 0x53, 0x4b, 0x54, 0x4f, 0x50, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f,
246 0x57, 0x53, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x44, 0x45, 0x53, 0x4b, 0x54, 0x4f, 0x50, 0x5f,
247 0x4c, 0x49, 0x4e, 0x55, 0x58, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x44, 0x45, 0x53, 0x4b, 0x54,
248 0x4f, 0x50, 0x5f, 0x43, 0x48, 0x52, 0x4f, 0x4d, 0x45, 0x5f, 0x4f, 0x53, 0x10, 0x06, 0x12, 0x0b,
249 0x0a, 0x07, 0x41, 0x4e, 0x44, 0x52, 0x4f, 0x49, 0x44, 0x10, 0x04, 0x12, 0x07, 0x0a, 0x03, 0x49,
250 0x4f, 0x53, 0x10, 0x05, 0x2a, 0x56, 0x0a, 0x15, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4d, 0x61,
251 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1a, 0x0a,
252 0x16, 0x4d, 0x41, 0x4e, 0x41, 0x47, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50,
253 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e,
254 0x45, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x02, 0x12, 0x0c,
255 0x0a, 0x08, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x03, 0x42, 0x8d, 0x02, 0x0a,
256 0x2d, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x64, 0x65, 0x6e,
257 0x74, 0x69, 0x74, 0x79, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x63, 0x6f, 0x6e, 0x74, 0x65,
258 0x78, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x42, 0x09,
259 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x6f, 0x6f,
260 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67,
261 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
262 0x69, 0x73, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x61, 0x63, 0x63, 0x65,
263 0x73, 0x73, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
264 0x2f, 0x74, 0x79, 0x70, 0x65, 0xaa, 0x02, 0x29, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x49,
265 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f,
266 0x6e, 0x74, 0x65, 0x78, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x54, 0x79, 0x70,
267 0x65, 0xca, 0x02, 0x29, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x49, 0x64, 0x65, 0x6e, 0x74,
268 0x69, 0x74, 0x79, 0x5c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78,
269 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5c, 0x54, 0x79, 0x70, 0x65, 0xea, 0x02, 0x2c,
270 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
271 0x3a, 0x3a, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x4d,
272 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, 0x62, 0x06, 0x70, 0x72,
273 0x6f, 0x74, 0x6f, 0x33,
274 }
275
276 var (
277 file_google_identity_accesscontextmanager_type_device_resources_proto_rawDescOnce sync.Once
278 file_google_identity_accesscontextmanager_type_device_resources_proto_rawDescData = file_google_identity_accesscontextmanager_type_device_resources_proto_rawDesc
279 )
280
281 func file_google_identity_accesscontextmanager_type_device_resources_proto_rawDescGZIP() []byte {
282 file_google_identity_accesscontextmanager_type_device_resources_proto_rawDescOnce.Do(func() {
283 file_google_identity_accesscontextmanager_type_device_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_identity_accesscontextmanager_type_device_resources_proto_rawDescData)
284 })
285 return file_google_identity_accesscontextmanager_type_device_resources_proto_rawDescData
286 }
287
288 var file_google_identity_accesscontextmanager_type_device_resources_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
289 var file_google_identity_accesscontextmanager_type_device_resources_proto_goTypes = []interface{}{
290 (DeviceEncryptionStatus)(0), // 0: google.identity.accesscontextmanager.type.DeviceEncryptionStatus
291 (OsType)(0), // 1: google.identity.accesscontextmanager.type.OsType
292 (DeviceManagementLevel)(0), // 2: google.identity.accesscontextmanager.type.DeviceManagementLevel
293 }
294 var file_google_identity_accesscontextmanager_type_device_resources_proto_depIdxs = []int32{
295 0, // [0:0] is the sub-list for method output_type
296 0, // [0:0] is the sub-list for method input_type
297 0, // [0:0] is the sub-list for extension type_name
298 0, // [0:0] is the sub-list for extension extendee
299 0, // [0:0] is the sub-list for field type_name
300 }
301
302 func init() { file_google_identity_accesscontextmanager_type_device_resources_proto_init() }
303 func file_google_identity_accesscontextmanager_type_device_resources_proto_init() {
304 if File_google_identity_accesscontextmanager_type_device_resources_proto != nil {
305 return
306 }
307 type x struct{}
308 out := protoimpl.TypeBuilder{
309 File: protoimpl.DescBuilder{
310 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
311 RawDescriptor: file_google_identity_accesscontextmanager_type_device_resources_proto_rawDesc,
312 NumEnums: 3,
313 NumMessages: 0,
314 NumExtensions: 0,
315 NumServices: 0,
316 },
317 GoTypes: file_google_identity_accesscontextmanager_type_device_resources_proto_goTypes,
318 DependencyIndexes: file_google_identity_accesscontextmanager_type_device_resources_proto_depIdxs,
319 EnumInfos: file_google_identity_accesscontextmanager_type_device_resources_proto_enumTypes,
320 }.Build()
321 File_google_identity_accesscontextmanager_type_device_resources_proto = out.File
322 file_google_identity_accesscontextmanager_type_device_resources_proto_rawDesc = nil
323 file_google_identity_accesscontextmanager_type_device_resources_proto_goTypes = nil
324 file_google_identity_accesscontextmanager_type_device_resources_proto_depIdxs = nil
325 }