public interface DevicePolicyOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAllowedDeviceManagementLevels(int index)
public abstract 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;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| DeviceManagementLevel | The allowedDeviceManagementLevels at the given index. |
getAllowedDeviceManagementLevelsCount()
public abstract int getAllowedDeviceManagementLevelsCount()Allowed device management levels, an empty list allows all management levels.
repeated .google.identity.accesscontextmanager.type.DeviceManagementLevel allowed_device_management_levels = 6;
| Type | Description |
| int | The count of allowedDeviceManagementLevels. |
getAllowedDeviceManagementLevelsList()
public abstract 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;
| Type | Description |
| List<DeviceManagementLevel> | A list containing the allowedDeviceManagementLevels. |
getAllowedDeviceManagementLevelsValue(int index)
public abstract 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;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| int | The enum numeric value on the wire of allowedDeviceManagementLevels at the given index. |
getAllowedDeviceManagementLevelsValueList()
public abstract 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;
| Type | Description |
| List<Integer> | A list containing the enum numeric values on the wire for allowedDeviceManagementLevels. |
getAllowedEncryptionStatuses(int index)
public abstract DeviceEncryptionStatus getAllowedEncryptionStatuses(int index)Allowed encryptions statuses, an empty list allows all statuses.
repeated .google.identity.accesscontextmanager.type.DeviceEncryptionStatus allowed_encryption_statuses = 2;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| DeviceEncryptionStatus | The allowedEncryptionStatuses at the given index. |
getAllowedEncryptionStatusesCount()
public abstract int getAllowedEncryptionStatusesCount()Allowed encryptions statuses, an empty list allows all statuses.
repeated .google.identity.accesscontextmanager.type.DeviceEncryptionStatus allowed_encryption_statuses = 2;
| Type | Description |
| int | The count of allowedEncryptionStatuses. |
getAllowedEncryptionStatusesList()
public abstract List<DeviceEncryptionStatus> getAllowedEncryptionStatusesList()Allowed encryptions statuses, an empty list allows all statuses.
repeated .google.identity.accesscontextmanager.type.DeviceEncryptionStatus allowed_encryption_statuses = 2;
| Type | Description |
| List<DeviceEncryptionStatus> | A list containing the allowedEncryptionStatuses. |
getAllowedEncryptionStatusesValue(int index)
public abstract int getAllowedEncryptionStatusesValue(int index)Allowed encryptions statuses, an empty list allows all statuses.
repeated .google.identity.accesscontextmanager.type.DeviceEncryptionStatus allowed_encryption_statuses = 2;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| int | The enum numeric value on the wire of allowedEncryptionStatuses at the given index. |
getAllowedEncryptionStatusesValueList()
public abstract List<Integer> getAllowedEncryptionStatusesValueList()Allowed encryptions statuses, an empty list allows all statuses.
repeated .google.identity.accesscontextmanager.type.DeviceEncryptionStatus allowed_encryption_statuses = 2;
| Type | Description |
| List<Integer> | A list containing the enum numeric values on the wire for allowedEncryptionStatuses. |
getOsConstraints(int index)
public abstract 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;
| Name | Description |
| index | int |
| Type | Description |
| OsConstraint |
getOsConstraintsCount()
public abstract int getOsConstraintsCount()Allowed OS versions, an empty list allows all types and all versions.
repeated .google.identity.accesscontextmanager.v1.OsConstraint os_constraints = 3;
| Type | Description |
| int |
getOsConstraintsList()
public abstract List<OsConstraint> getOsConstraintsList()Allowed OS versions, an empty list allows all types and all versions.
repeated .google.identity.accesscontextmanager.v1.OsConstraint os_constraints = 3;
| Type | Description |
| List<OsConstraint> |
getOsConstraintsOrBuilder(int index)
public abstract 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;
| Name | Description |
| index | int |
| Type | Description |
| OsConstraintOrBuilder |
getOsConstraintsOrBuilderList()
public abstract 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;
| Type | Description |
| List<? extends com.google.identity.accesscontextmanager.v1.OsConstraintOrBuilder> |
getRequireAdminApproval()
public abstract boolean getRequireAdminApproval()Whether the device needs to be approved by the customer admin.
bool require_admin_approval = 7;
| Type | Description |
| boolean | The requireAdminApproval. |
getRequireCorpOwned()
public abstract boolean getRequireCorpOwned()Whether the device needs to be corp owned.
bool require_corp_owned = 8;
| Type | Description |
| boolean | The requireCorpOwned. |
getRequireScreenlock()
public abstract boolean getRequireScreenlock() Whether or not screenlock is required for the DevicePolicy to be true.
Defaults to false.
bool require_screenlock = 1;
| Type | Description |
| boolean | The requireScreenlock. |