HamcrestMatchersv13.IsProto.Builder


public final class HamcrestMatchersv13.IsProto.Builder extends GeneratedMessageLite.Builder implements HamcrestMatchersv13.IsProtoOrBuilder


Protobuf type google.test.remote.hamcrest.matcher13.IsProto

Summary

Public methods

HamcrestMatchersv13.IsProto.Builder

string id = 1;

HamcrestMatchersv13.IsProto.Builder

.google.protobuf.Any matcher = 2;

String

string id = 1;

ByteString

string id = 1;

Any

.google.protobuf.Any matcher = 2;

boolean

.google.protobuf.Any matcher = 2;

HamcrestMatchersv13.IsProto.Builder

.google.protobuf.Any matcher = 2;

HamcrestMatchersv13.IsProto.Builder
setId(String value)

string id = 1;

HamcrestMatchersv13.IsProto.Builder

string id = 1;

HamcrestMatchersv13.IsProto.Builder
setMatcher(Any.Builder builderForValue)

.google.protobuf.Any matcher = 2;

HamcrestMatchersv13.IsProto.Builder
setMatcher(Any value)

.google.protobuf.Any matcher = 2;

Inherited methods

From com.google.protobuf.AbstractMessageLite.Builder
static void
<T> addAll(Iterable<T> values, Collection<Object> list)

This method is deprecated.

boolean
mergeDelimitedFrom(
    InputStream input,
    ExtensionRegistryLite extensionRegistry
)
static UninitializedMessageException
From com.google.protobuf.GeneratedMessageLite.Builder
final MessageType
MessageType
final BuilderType
BuilderType
final void
void
MessageType
BuilderType
internalMergeFrom(MessageType message)
final boolean
BuilderType
mergeFrom(MessageType message)
From com.google.protobuf.MessageLite.Builder
From com.google.protobuf.MessageLiteOrBuilder

Public methods

clearId

public HamcrestMatchersv13.IsProto.Builder clearId()

string id = 1;

Returns
HamcrestMatchersv13.IsProto.Builder

This builder for chaining.

clearMatcher

public HamcrestMatchersv13.IsProto.Builder clearMatcher()

.google.protobuf.Any matcher = 2;

getId

public String getId()

string id = 1;

Returns
String

The id.

getIdBytes

public ByteString getIdBytes()

string id = 1;

Returns
ByteString

The bytes for id.

getMatcher

public Any getMatcher()

.google.protobuf.Any matcher = 2;

hasMatcher

public boolean hasMatcher()

.google.protobuf.Any matcher = 2;

mergeMatcher

public HamcrestMatchersv13.IsProto.Builder mergeMatcher(Any value)

.google.protobuf.Any matcher = 2;

setId

public HamcrestMatchersv13.IsProto.Builder setId(String value)

string id = 1;

Parameters
String value

The id to set.

Returns
HamcrestMatchersv13.IsProto.Builder

This builder for chaining.

setIdBytes

public HamcrestMatchersv13.IsProto.Builder setIdBytes(ByteString value)

string id = 1;

Parameters
ByteString value

The bytes for id to set.

Returns
HamcrestMatchersv13.IsProto.Builder

This builder for chaining.

setMatcher

public HamcrestMatchersv13.IsProto.Builder setMatcher(Any.Builder builderForValue)

.google.protobuf.Any matcher = 2;

setMatcher

public HamcrestMatchersv13.IsProto.Builder setMatcher(Any value)

.google.protobuf.Any matcher = 2;