public interface

PermissionProto.PermissionOrBuilder

 androidx.health.platform.client.proto.PermissionProto.PermissionOrBuilder

Subclasses:

PermissionProto.Permission, PermissionProto.Permission.Builder

Summary

Methods
public PermissionProto.AccessTypegetAccessType()

optional .androidx.health.platform.client.proto.AccessType access_type = 2;

public DataProto.DataTypegetDataType()

optional .androidx.health.platform.client.proto.DataType data_type = 1;

public java.lang.StringgetPermission()

optional string permission = 3;

public com.google.protobuf.ByteStringgetPermissionBytes()

optional string permission = 3;

public booleanhasAccessType()

optional .androidx.health.platform.client.proto.AccessType access_type = 2;

public booleanhasDataType()

optional .androidx.health.platform.client.proto.DataType data_type = 1;

public booleanhasPermission()

optional string permission = 3;

Methods

public boolean hasDataType()

optional .androidx.health.platform.client.proto.DataType data_type = 1;

Returns:

Whether the dataType field is set.

public DataProto.DataType getDataType()

optional .androidx.health.platform.client.proto.DataType data_type = 1;

Returns:

The dataType.

public boolean hasAccessType()

optional .androidx.health.platform.client.proto.AccessType access_type = 2;

Returns:

Whether the accessType field is set.

public PermissionProto.AccessType getAccessType()

optional .androidx.health.platform.client.proto.AccessType access_type = 2;

Returns:

The accessType.

public boolean hasPermission()

optional string permission = 3;

Returns:

Whether the permission field is set.

public java.lang.String getPermission()

optional string permission = 3;

Returns:

The permission.

public com.google.protobuf.ByteString getPermissionBytes()

optional string permission = 3;

Returns:

The bytes for permission.