public final class

ErrorProto.ErrorStatus.Builder

extends <any>

implements ErrorProto.ErrorStatusOrBuilder

 java.lang.Object

↳<any>

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

Overview

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

Summary

Methods
public ErrorProto.ErrorStatus.BuilderaddAllPermission(java.lang.Iterable<PermissionProto.Permission> values)

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

public ErrorProto.ErrorStatus.BuilderaddPermission(int index, PermissionProto.Permission.Builder builderForValue)

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

public ErrorProto.ErrorStatus.BuilderaddPermission(int index, PermissionProto.Permission value)

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

public ErrorProto.ErrorStatus.BuilderaddPermission(PermissionProto.Permission.Builder builderForValue)

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

public ErrorProto.ErrorStatus.BuilderaddPermission(PermissionProto.Permission value)

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

public ErrorProto.ErrorStatus.BuilderclearCode()

optional int32 code = 1;

public ErrorProto.ErrorStatus.BuilderclearMessage()

optional string message = 2;

public ErrorProto.ErrorStatus.BuilderclearPermission()

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

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;

public ErrorProto.ErrorStatus.BuilderremovePermission(int index)

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

public ErrorProto.ErrorStatus.BuildersetCode(int value)

optional int32 code = 1;

public ErrorProto.ErrorStatus.BuildersetMessage(java.lang.String value)

optional string message = 2;

public ErrorProto.ErrorStatus.BuildersetMessageBytes(com.google.protobuf.ByteString value)

optional string message = 2;

public ErrorProto.ErrorStatus.BuildersetPermission(int index, PermissionProto.Permission.Builder builderForValue)

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

public ErrorProto.ErrorStatus.BuildersetPermission(int index, PermissionProto.Permission value)

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

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

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 ErrorProto.ErrorStatus.Builder setCode(int value)

optional int32 code = 1;

Parameters:

value: The code to set.

Returns:

This builder for chaining.

optional int32 code = 1;

Returns:

This builder for chaining.

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 ErrorProto.ErrorStatus.Builder setMessage(java.lang.String value)

optional string message = 2;

Parameters:

value: The message to set.

Returns:

This builder for chaining.

public ErrorProto.ErrorStatus.Builder clearMessage()

optional string message = 2;

Returns:

This builder for chaining.

public ErrorProto.ErrorStatus.Builder setMessageBytes(com.google.protobuf.ByteString value)

optional string message = 2;

Parameters:

value: The bytes for message to set.

Returns:

This builder for chaining.

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

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 ErrorProto.ErrorStatus.Builder setPermission(int index, PermissionProto.Permission value)

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

public ErrorProto.ErrorStatus.Builder setPermission(int index, PermissionProto.Permission.Builder builderForValue)

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

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

public ErrorProto.ErrorStatus.Builder addPermission(int index, PermissionProto.Permission value)

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

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

public ErrorProto.ErrorStatus.Builder addPermission(int index, PermissionProto.Permission.Builder builderForValue)

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

public ErrorProto.ErrorStatus.Builder addAllPermission(java.lang.Iterable<PermissionProto.Permission> values)

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

public ErrorProto.ErrorStatus.Builder clearPermission()

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

public ErrorProto.ErrorStatus.Builder removePermission(int index)

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