public final class

ErrorProto.ErrorStatus

extends <any>

implements ErrorProto.ErrorStatusOrBuilder

 java.lang.Object

↳<any>

↳androidx.health.platform.client.proto.ErrorProto.ErrorStatus

Overview

Protobuf type androidx.health.platform.client.proto.ErrorStatus

Summary

Fields
public static final intCODE_FIELD_NUMBER

public static final intMESSAGE_FIELD_NUMBER

public static final intPERMISSION_FIELD_NUMBER

Methods
protected final java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public intgetCode()

optional int32 code = 1;

public static ErrorProto.ErrorStatusgetDefaultInstance()

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 PermissionProto.PermissionOrBuildergetPermissionOrBuilder(int index)

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

public java.util.List<PermissionProto.PermissionOrBuilder>getPermissionOrBuilderList()

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

public booleanhasCode()

optional int32 code = 1;

public booleanhasMessage()

optional string message = 2;

public static ErrorProto.ErrorStatus.BuildernewBuilder()

public static ErrorProto.ErrorStatus.BuildernewBuilder(ErrorProto.ErrorStatus prototype)

public static ErrorProto.ErrorStatusparseDelimitedFrom(java.io.InputStream input)

public static ErrorProto.ErrorStatusparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ErrorProto.ErrorStatusparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ErrorProto.ErrorStatusparseFrom(java.nio.ByteBuffer data)

public static ErrorProto.ErrorStatusparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ErrorProto.ErrorStatusparseFrom(com.google.protobuf.ByteString data)

public static ErrorProto.ErrorStatusparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ErrorProto.ErrorStatusparseFrom(com.google.protobuf.CodedInputStream input)

public static ErrorProto.ErrorStatusparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ErrorProto.ErrorStatusparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static <any>parser()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public static final int CODE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER

public static final int PERMISSION_FIELD_NUMBER

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 java.util.List<PermissionProto.PermissionOrBuilder> getPermissionOrBuilderList()

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

public int getPermissionCount()

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 PermissionProto.PermissionOrBuilder getPermissionOrBuilder(int index)

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

public static ErrorProto.ErrorStatus parseFrom(java.nio.ByteBuffer data)

public static ErrorProto.ErrorStatus parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ErrorProto.ErrorStatus parseFrom(com.google.protobuf.ByteString data)

public static ErrorProto.ErrorStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ErrorProto.ErrorStatus parseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ErrorProto.ErrorStatus parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ErrorProto.ErrorStatus parseDelimitedFrom(java.io.InputStream input)

public static ErrorProto.ErrorStatus parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ErrorProto.ErrorStatus parseFrom(com.google.protobuf.CodedInputStream input)

public static ErrorProto.ErrorStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ErrorProto.ErrorStatus.Builder newBuilder()

public static ErrorProto.ErrorStatus.Builder newBuilder(ErrorProto.ErrorStatus prototype)

protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static ErrorProto.ErrorStatus getDefaultInstance()

public static <any> parser()