Interface DevicePolicyOrBuilder (1.18.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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The requireAdminApproval.

getRequireCorpOwned()

public abstract boolean getRequireCorpOwned()

Whether the device needs to be corp owned.

bool require_corp_owned = 8;

Returns
TypeDescription
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
TypeDescription
boolean

The requireScreenlock.