public interface

ErrorProto.ErrorStatusOrBuilder

 androidx.health.platform.client.proto.ErrorProto.ErrorStatusOrBuilder

Subclasses:

ErrorProto.ErrorStatus, ErrorProto.ErrorStatus.Builder

Summary

Methods
public intgetCode()

optional int32 code = 1;

public java.lang.StringgetMessage()

optional string message = 2;

public com.google.protobuf.ByteStringgetMessageBytes()

optional string message = 2;

public PermissionProto.PermissiongetPermission(int index)

repeated .androidx.health.platform.client.proto.Permission permission = 3;

public intgetPermissionCount()

repeated .androidx.health.platform.client.proto.Permission permission = 3;

public java.util.List<PermissionProto.Permission>getPermissionList()

repeated .androidx.health.platform.client.proto.Permission permission = 3;

public booleanhasCode()

optional int32 code = 1;

public booleanhasMessage()

optional string message = 2;

Methods

public boolean hasCode()

optional int32 code = 1;

Returns:

Whether the code field is set.

public int getCode()

optional int32 code = 1;

Returns:

The code.

public boolean hasMessage()

optional string message = 2;

Returns:

Whether the message field is set.

public java.lang.String getMessage()

optional string message = 2;

Returns:

The message.

public com.google.protobuf.ByteString getMessageBytes()

optional string message = 2;

Returns:

The bytes for message.

public java.util.List<PermissionProto.Permission> getPermissionList()

repeated .androidx.health.platform.client.proto.Permission permission = 3;

public PermissionProto.Permission getPermission(int index)

repeated .androidx.health.platform.client.proto.Permission permission = 3;

public int getPermissionCount()

repeated .androidx.health.platform.client.proto.Permission permission = 3;