Interface DevicePolicyOrBuilder (1.47.0)

public interface DevicePolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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;

Parameter
Name Description
index int

The index of the element to return.

Returns
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;

Returns
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;

Returns
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;

Parameter
Name Description
index int

The index of the value to return.

Returns
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;

Returns
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;

Parameter
Name Description
index int

The index of the element to return.

Returns
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;

Returns
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;

Returns
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;

Parameter
Name Description
index int

The index of the value to return.

Returns
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;

Returns
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;

Parameter
Name Description
index int
Returns
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;

Returns
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;

Returns
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;

Parameter
Name Description
index int
Returns
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;

Returns
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;

Returns
Type Description
boolean

The requireAdminApproval.

getRequireCorpOwned()

public abstract boolean getRequireCorpOwned()

Whether the device needs to be corp owned.

bool require_corp_owned = 8;

Returns
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;

Returns
Type Description
boolean

The requireScreenlock.