HamcrestMatchersv13.StringContainsProto.Builder


public final class HamcrestMatchersv13.StringContainsProto.Builder extends GeneratedMessageLite.Builder implements HamcrestMatchersv13.StringContainsProtoOrBuilder


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

Summary

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.StringContainsProto.Builder clearId()

string id = 1;

Returns
HamcrestMatchersv13.StringContainsProto.Builder

This builder for chaining.

clearSubstring

public HamcrestMatchersv13.StringContainsProto.Builder clearSubstring()

bytes substring = 2;

Returns
HamcrestMatchersv13.StringContainsProto.Builder

This builder for chaining.

getId

public String getId()

string id = 1;

Returns
String

The id.

getIdBytes

public ByteString getIdBytes()

string id = 1;

Returns
ByteString

The bytes for id.

getSubstring

public ByteString getSubstring()

bytes substring = 2;

Returns
ByteString

The substring.

setId

public HamcrestMatchersv13.StringContainsProto.Builder setId(String value)

string id = 1;

Parameters
String value

The id to set.

Returns
HamcrestMatchersv13.StringContainsProto.Builder

This builder for chaining.

setIdBytes

public HamcrestMatchersv13.StringContainsProto.Builder setIdBytes(ByteString value)

string id = 1;

Parameters
ByteString value

The bytes for id to set.

Returns
HamcrestMatchersv13.StringContainsProto.Builder

This builder for chaining.

setSubstring

public HamcrestMatchersv13.StringContainsProto.Builder setSubstring(ByteString value)

bytes substring = 2;

Parameters
ByteString value

The substring to set.

Returns
HamcrestMatchersv13.StringContainsProto.Builder

This builder for chaining.