Class SearchEvaluationsResponse.Builder (0.138.0)

public static final class SearchEvaluationsResponse.Builder extends GeneratedMessageV3.Builder<SearchEvaluationsResponse.Builder> implements SearchEvaluationsResponseOrBuilder

Results of searching evaluations.

Protobuf type google.cloud.datalabeling.v1beta1.SearchEvaluationsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllEvaluations(Iterable<? extends Evaluation> values)

public SearchEvaluationsResponse.Builder addAllEvaluations(Iterable<? extends Evaluation> values)

The list of evaluations matching the search.

repeated .google.cloud.datalabeling.v1beta1.Evaluation evaluations = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.datalabeling.v1beta1.Evaluation>
Returns
TypeDescription
SearchEvaluationsResponse.Builder

addEvaluations(Evaluation value)

public SearchEvaluationsResponse.Builder addEvaluations(Evaluation value)

The list of evaluations matching the search.

repeated .google.cloud.datalabeling.v1beta1.Evaluation evaluations = 1;

Parameter
NameDescription
valueEvaluation
Returns
TypeDescription
SearchEvaluationsResponse.Builder

addEvaluations(Evaluation.Builder builderForValue)

public SearchEvaluationsResponse.Builder addEvaluations(Evaluation.Builder builderForValue)

The list of evaluations matching the search.

repeated .google.cloud.datalabeling.v1beta1.Evaluation evaluations = 1;

Parameter
NameDescription
builderForValueEvaluation.Builder
Returns
TypeDescription
SearchEvaluationsResponse.Builder

addEvaluations(int index, Evaluation value)

public SearchEvaluationsResponse.Builder addEvaluations(int index, Evaluation value)

The list of evaluations matching the search.

repeated .google.cloud.datalabeling.v1beta1.Evaluation evaluations = 1;

Parameters
NameDescription
indexint
valueEvaluation
Returns
TypeDescription
SearchEvaluationsResponse.Builder

addEvaluations(int index, Evaluation.Builder builderForValue)

public SearchEvaluationsResponse.Builder addEvaluations(int index, Evaluation.Builder builderForValue)

The list of evaluations matching the search.

repeated .google.cloud.datalabeling.v1beta1.Evaluation evaluations = 1;

Parameters
NameDescription
indexint
builderForValueEvaluation.Builder
Returns
TypeDescription
SearchEvaluationsResponse.Builder

addEvaluationsBuilder()

public Evaluation.Builder addEvaluationsBuilder()

The list of evaluations matching the search.

repeated .google.cloud.datalabeling.v1beta1.Evaluation evaluations = 1;

Returns
TypeDescription
Evaluation.Builder

addEvaluationsBuilder(int index)

public Evaluation.Builder addEvaluationsBuilder(int index)

The list of evaluations matching the search.

repeated .google.cloud.datalabeling.v1beta1.Evaluation evaluations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Evaluation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchEvaluationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchEvaluationsResponse.Builder
Overrides

build()

public SearchEvaluationsResponse build()
Returns
TypeDescription
SearchEvaluationsResponse

buildPartial()

public SearchEvaluationsResponse buildPartial()
Returns
TypeDescription
SearchEvaluationsResponse

clear()

public SearchEvaluationsResponse.Builder clear()
Returns
TypeDescription
SearchEvaluationsResponse.Builder
Overrides

clearEvaluations()

public SearchEvaluationsResponse.Builder clearEvaluations()

The list of evaluations matching the search.

repeated .google.cloud.datalabeling.v1beta1.Evaluation evaluations = 1;

Returns
TypeDescription
SearchEvaluationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public SearchEvaluationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SearchEvaluationsResponse.Builder
Overrides

clearNextPageToken()

public SearchEvaluationsResponse.Builder clearNextPageToken()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
SearchEvaluationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchEvaluationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SearchEvaluationsResponse.Builder
Overrides

clone()

public SearchEvaluationsResponse.Builder clone()
Returns
TypeDescription
SearchEvaluationsResponse.Builder
Overrides

getDefaultInstanceForType()

public SearchEvaluationsResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchEvaluationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEvaluations(int index)

public Evaluation getEvaluations(int index)

The list of evaluations matching the search.

repeated .google.cloud.datalabeling.v1beta1.Evaluation evaluations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Evaluation

getEvaluationsBuilder(int index)

public Evaluation.Builder getEvaluationsBuilder(int index)

The list of evaluations matching the search.

repeated .google.cloud.datalabeling.v1beta1.Evaluation evaluations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Evaluation.Builder

getEvaluationsBuilderList()

public List<Evaluation.Builder> getEvaluationsBuilderList()

The list of evaluations matching the search.

repeated .google.cloud.datalabeling.v1beta1.Evaluation evaluations = 1;

Returns
TypeDescription
List<Builder>

getEvaluationsCount()

public int getEvaluationsCount()

The list of evaluations matching the search.

repeated .google.cloud.datalabeling.v1beta1.Evaluation evaluations = 1;

Returns
TypeDescription
int

getEvaluationsList()

public List<Evaluation> getEvaluationsList()

The list of evaluations matching the search.

repeated .google.cloud.datalabeling.v1beta1.Evaluation evaluations = 1;

Returns
TypeDescription
List<Evaluation>

getEvaluationsOrBuilder(int index)

public EvaluationOrBuilder getEvaluationsOrBuilder(int index)

The list of evaluations matching the search.

repeated .google.cloud.datalabeling.v1beta1.Evaluation evaluations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
EvaluationOrBuilder

getEvaluationsOrBuilderList()

public List<? extends EvaluationOrBuilder> getEvaluationsOrBuilderList()

The list of evaluations matching the search.

repeated .google.cloud.datalabeling.v1beta1.Evaluation evaluations = 1;

Returns
TypeDescription
List<? extends com.google.cloud.datalabeling.v1beta1.EvaluationOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SearchEvaluationsResponse other)

public SearchEvaluationsResponse.Builder mergeFrom(SearchEvaluationsResponse other)
Parameter
NameDescription
otherSearchEvaluationsResponse
Returns
TypeDescription
SearchEvaluationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchEvaluationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchEvaluationsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SearchEvaluationsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SearchEvaluationsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchEvaluationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchEvaluationsResponse.Builder
Overrides

removeEvaluations(int index)

public SearchEvaluationsResponse.Builder removeEvaluations(int index)

The list of evaluations matching the search.

repeated .google.cloud.datalabeling.v1beta1.Evaluation evaluations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchEvaluationsResponse.Builder

setEvaluations(int index, Evaluation value)

public SearchEvaluationsResponse.Builder setEvaluations(int index, Evaluation value)

The list of evaluations matching the search.

repeated .google.cloud.datalabeling.v1beta1.Evaluation evaluations = 1;

Parameters
NameDescription
indexint
valueEvaluation
Returns
TypeDescription
SearchEvaluationsResponse.Builder

setEvaluations(int index, Evaluation.Builder builderForValue)

public SearchEvaluationsResponse.Builder setEvaluations(int index, Evaluation.Builder builderForValue)

The list of evaluations matching the search.

repeated .google.cloud.datalabeling.v1beta1.Evaluation evaluations = 1;

Parameters
NameDescription
indexint
builderForValueEvaluation.Builder
Returns
TypeDescription
SearchEvaluationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SearchEvaluationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchEvaluationsResponse.Builder
Overrides

setNextPageToken(String value)

public SearchEvaluationsResponse.Builder setNextPageToken(String value)

A token to retrieve next page of results.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
SearchEvaluationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public SearchEvaluationsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve next page of results.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
SearchEvaluationsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SearchEvaluationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SearchEvaluationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchEvaluationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchEvaluationsResponse.Builder
Overrides