public final class

UiInteraction.Error.Builder

extends <any>

implements UiInteraction.ErrorOrBuilder

 java.lang.Object

↳<any>

↳androidx.test.espresso.proto.UiInteraction.Error.Builder

Overview

Protobuf type google.test.remote.ui.Error

Summary

Methods
public UiInteraction.Error.BuilderclearCode()

int32 code = 1;

public UiInteraction.Error.BuilderclearDescription()

string description = 2;

public UiInteraction.Error.BuilderclearNestedError()

.google.test.remote.ui.Error nested_error = 3;

public intgetCode()

int32 code = 1;

public java.lang.StringgetDescription()

string description = 2;

public com.google.protobuf.ByteStringgetDescriptionBytes()

string description = 2;

public UiInteraction.ErrorgetNestedError()

.google.test.remote.ui.Error nested_error = 3;

public booleanhasNestedError()

.google.test.remote.ui.Error nested_error = 3;

public UiInteraction.Error.BuildermergeNestedError(UiInteraction.Error value)

.google.test.remote.ui.Error nested_error = 3;

public UiInteraction.Error.BuildersetCode(int value)

int32 code = 1;

public UiInteraction.Error.BuildersetDescription(java.lang.String value)

string description = 2;

public UiInteraction.Error.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)

string description = 2;

public UiInteraction.Error.BuildersetNestedError(UiInteraction.Error.Builder builderForValue)

.google.test.remote.ui.Error nested_error = 3;

public UiInteraction.Error.BuildersetNestedError(UiInteraction.Error value)

.google.test.remote.ui.Error nested_error = 3;

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

Methods

public int getCode()

int32 code = 1;

Returns:

The code.

public UiInteraction.Error.Builder setCode(int value)

int32 code = 1;

Parameters:

value: The code to set.

Returns:

This builder for chaining.

public UiInteraction.Error.Builder clearCode()

int32 code = 1;

Returns:

This builder for chaining.

public java.lang.String getDescription()

string description = 2;

Returns:

The description.

public com.google.protobuf.ByteString getDescriptionBytes()

string description = 2;

Returns:

The bytes for description.

public UiInteraction.Error.Builder setDescription(java.lang.String value)

string description = 2;

Parameters:

value: The description to set.

Returns:

This builder for chaining.

public UiInteraction.Error.Builder clearDescription()

string description = 2;

Returns:

This builder for chaining.

public UiInteraction.Error.Builder setDescriptionBytes(com.google.protobuf.ByteString value)

string description = 2;

Parameters:

value: The bytes for description to set.

Returns:

This builder for chaining.

public boolean hasNestedError()

.google.test.remote.ui.Error nested_error = 3;

public UiInteraction.Error getNestedError()

.google.test.remote.ui.Error nested_error = 3;

.google.test.remote.ui.Error nested_error = 3;

public UiInteraction.Error.Builder setNestedError(UiInteraction.Error.Builder builderForValue)

.google.test.remote.ui.Error nested_error = 3;

public UiInteraction.Error.Builder mergeNestedError(UiInteraction.Error value)

.google.test.remote.ui.Error nested_error = 3;

public UiInteraction.Error.Builder clearNestedError()

.google.test.remote.ui.Error nested_error = 3;