public interface DevicePolicyOrBuilder extends MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
DeviceManagementLevel |
getAllowedDeviceManagementLevels(int index)
Allowed device management levels, an empty list allows all management
levels.
|
int |
getAllowedDeviceManagementLevelsCount()
Allowed device management levels, an empty list allows all management
levels.
|
List<DeviceManagementLevel> |
getAllowedDeviceManagementLevelsList()
Allowed device management levels, an empty list allows all management
levels.
|
int |
getAllowedDeviceManagementLevelsValue(int index)
Allowed device management levels, an empty list allows all management
levels.
|
List<Integer> |
getAllowedDeviceManagementLevelsValueList()
Allowed device management levels, an empty list allows all management
levels.
|
DeviceEncryptionStatus |
getAllowedEncryptionStatuses(int index)
Allowed encryptions statuses, an empty list allows all statuses.
|
int |
getAllowedEncryptionStatusesCount()
Allowed encryptions statuses, an empty list allows all statuses.
|
List<DeviceEncryptionStatus> |
getAllowedEncryptionStatusesList()
Allowed encryptions statuses, an empty list allows all statuses.
|
int |
getAllowedEncryptionStatusesValue(int index)
Allowed encryptions statuses, an empty list allows all statuses.
|
List<Integer> |
getAllowedEncryptionStatusesValueList()
Allowed encryptions statuses, an empty list allows all statuses.
|
OsConstraint |
getOsConstraints(int index)
Allowed OS versions, an empty list allows all types and all versions.
|
int |
getOsConstraintsCount()
Allowed OS versions, an empty list allows all types and all versions.
|
List<OsConstraint> |
getOsConstraintsList()
Allowed OS versions, an empty list allows all types and all versions.
|
OsConstraintOrBuilder |
getOsConstraintsOrBuilder(int index)
Allowed OS versions, an empty list allows all types and all versions.
|
List<? extends OsConstraintOrBuilder> |
getOsConstraintsOrBuilderList()
Allowed OS versions, an empty list allows all types and all versions.
|
boolean |
getRequireAdminApproval()
Whether the device needs to be approved by the customer admin.
|
boolean |
getRequireCorpOwned()
Whether the device needs to be corp owned.
|
boolean |
getRequireScreenlock()
Whether or not screenlock is required for the DevicePolicy to be true.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedboolean getRequireScreenlock()
Whether or not screenlock is required for the DevicePolicy to be true. Defaults to `false`.
bool require_screenlock = 1;List<DeviceEncryptionStatus> getAllowedEncryptionStatusesList()
Allowed encryptions statuses, an empty list allows all statuses.
repeated .google.identity.accesscontextmanager.type.DeviceEncryptionStatus allowed_encryption_statuses = 2;
int getAllowedEncryptionStatusesCount()
Allowed encryptions statuses, an empty list allows all statuses.
repeated .google.identity.accesscontextmanager.type.DeviceEncryptionStatus allowed_encryption_statuses = 2;
DeviceEncryptionStatus getAllowedEncryptionStatuses(int index)
Allowed encryptions statuses, an empty list allows all statuses.
repeated .google.identity.accesscontextmanager.type.DeviceEncryptionStatus allowed_encryption_statuses = 2;
index - The index of the element to return.List<Integer> getAllowedEncryptionStatusesValueList()
Allowed encryptions statuses, an empty list allows all statuses.
repeated .google.identity.accesscontextmanager.type.DeviceEncryptionStatus allowed_encryption_statuses = 2;
int getAllowedEncryptionStatusesValue(int index)
Allowed encryptions statuses, an empty list allows all statuses.
repeated .google.identity.accesscontextmanager.type.DeviceEncryptionStatus allowed_encryption_statuses = 2;
index - The index of the value to return.List<OsConstraint> getOsConstraintsList()
Allowed OS versions, an empty list allows all types and all versions.
repeated .google.identity.accesscontextmanager.v1.OsConstraint os_constraints = 3;OsConstraint getOsConstraints(int index)
Allowed OS versions, an empty list allows all types and all versions.
repeated .google.identity.accesscontextmanager.v1.OsConstraint os_constraints = 3;int getOsConstraintsCount()
Allowed OS versions, an empty list allows all types and all versions.
repeated .google.identity.accesscontextmanager.v1.OsConstraint os_constraints = 3;List<? extends OsConstraintOrBuilder> getOsConstraintsOrBuilderList()
Allowed OS versions, an empty list allows all types and all versions.
repeated .google.identity.accesscontextmanager.v1.OsConstraint os_constraints = 3;OsConstraintOrBuilder getOsConstraintsOrBuilder(int index)
Allowed OS versions, an empty list allows all types and all versions.
repeated .google.identity.accesscontextmanager.v1.OsConstraint os_constraints = 3;List<DeviceManagementLevel> getAllowedDeviceManagementLevelsList()
Allowed device management levels, an empty list allows all management levels.
repeated .google.identity.accesscontextmanager.type.DeviceManagementLevel allowed_device_management_levels = 6;
int getAllowedDeviceManagementLevelsCount()
Allowed device management levels, an empty list allows all management levels.
repeated .google.identity.accesscontextmanager.type.DeviceManagementLevel allowed_device_management_levels = 6;
DeviceManagementLevel getAllowedDeviceManagementLevels(int index)
Allowed device management levels, an empty list allows all management levels.
repeated .google.identity.accesscontextmanager.type.DeviceManagementLevel allowed_device_management_levels = 6;
index - The index of the element to return.List<Integer> getAllowedDeviceManagementLevelsValueList()
Allowed device management levels, an empty list allows all management levels.
repeated .google.identity.accesscontextmanager.type.DeviceManagementLevel allowed_device_management_levels = 6;
int getAllowedDeviceManagementLevelsValue(int index)
Allowed device management levels, an empty list allows all management levels.
repeated .google.identity.accesscontextmanager.type.DeviceManagementLevel allowed_device_management_levels = 6;
index - The index of the value to return.boolean getRequireAdminApproval()
Whether the device needs to be approved by the customer admin.
bool require_admin_approval = 7;boolean getRequireCorpOwned()
Whether the device needs to be corp owned.
bool require_corp_owned = 8;Copyright © 2021 Google LLC. All rights reserved.