public final class

ViewMatchers.HasFocusMatcherProto.Builder

extends <any>

implements ViewMatchers.HasFocusMatcherProtoOrBuilder

 java.lang.Object

↳<any>

↳androidx.test.espresso.proto.matcher.ViewMatchers.HasFocusMatcherProto.Builder

Overview

Protobuf type google.test.remote.ui.matcher.HasFocusMatcherProto

Summary

Methods
public ViewMatchers.HasFocusMatcherProto.BuilderclearHasFocus()

bytes has_focus = 2;

public ViewMatchers.HasFocusMatcherProto.BuilderclearId()

string id = 1;

public com.google.protobuf.ByteStringgetHasFocus()

bytes has_focus = 2;

public java.lang.StringgetId()

string id = 1;

public com.google.protobuf.ByteStringgetIdBytes()

string id = 1;

public ViewMatchers.HasFocusMatcherProto.BuildersetHasFocus(com.google.protobuf.ByteString value)

bytes has_focus = 2;

public ViewMatchers.HasFocusMatcherProto.BuildersetId(java.lang.String value)

string id = 1;

public ViewMatchers.HasFocusMatcherProto.BuildersetIdBytes(com.google.protobuf.ByteString value)

string id = 1;

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

Methods

public java.lang.String getId()

string id = 1;

Returns:

The id.

public com.google.protobuf.ByteString getIdBytes()

string id = 1;

Returns:

The bytes for id.

public ViewMatchers.HasFocusMatcherProto.Builder setId(java.lang.String value)

string id = 1;

Parameters:

value: The id to set.

Returns:

This builder for chaining.

string id = 1;

Returns:

This builder for chaining.

public ViewMatchers.HasFocusMatcherProto.Builder setIdBytes(com.google.protobuf.ByteString value)

string id = 1;

Parameters:

value: The bytes for id to set.

Returns:

This builder for chaining.

public com.google.protobuf.ByteString getHasFocus()

bytes has_focus = 2;

Returns:

The hasFocus.

public ViewMatchers.HasFocusMatcherProto.Builder setHasFocus(com.google.protobuf.ByteString value)

bytes has_focus = 2;

Parameters:

value: The hasFocus to set.

Returns:

This builder for chaining.

bytes has_focus = 2;

Returns:

This builder for chaining.