Class SearchEvaluationsResponse.Builder (0.174.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.datalabeling.v1beta1.Evaluation>
Returns
Type Description
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
Name Description
value Evaluation
Returns
Type Description
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
Name Description
builderForValue Evaluation.Builder
Returns
Type Description
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
Name Description
index int
value Evaluation
Returns
Type Description
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
Name Description
index int
builderForValue Evaluation.Builder
Returns
Type Description
SearchEvaluationsResponse.Builder

addEvaluationsBuilder()

public Evaluation.Builder addEvaluationsBuilder()

The list of evaluations matching the search.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
Evaluation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchEvaluationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchEvaluationsResponse.Builder
Overrides

build()

public SearchEvaluationsResponse build()
Returns
Type Description
SearchEvaluationsResponse

buildPartial()

public SearchEvaluationsResponse buildPartial()
Returns
Type Description
SearchEvaluationsResponse

clear()

public SearchEvaluationsResponse.Builder clear()
Returns
Type Description
SearchEvaluationsResponse.Builder
Overrides

clearEvaluations()

public SearchEvaluationsResponse.Builder clearEvaluations()

The list of evaluations matching the search.

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

Returns
Type Description
SearchEvaluationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public SearchEvaluationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchEvaluationsResponse.Builder
Overrides

clearNextPageToken()

public SearchEvaluationsResponse.Builder clearNextPageToken()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
Type Description
SearchEvaluationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchEvaluationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchEvaluationsResponse.Builder
Overrides

clone()

public SearchEvaluationsResponse.Builder clone()
Returns
Type Description
SearchEvaluationsResponse.Builder
Overrides

getDefaultInstanceForType()

public SearchEvaluationsResponse getDefaultInstanceForType()
Returns
Type Description
SearchEvaluationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
Evaluation.Builder

getEvaluationsBuilderList()

public List<Evaluation.Builder> getEvaluationsBuilderList()

The list of evaluations matching the search.

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

Returns
Type Description
List<Builder>

getEvaluationsCount()

public int getEvaluationsCount()

The list of evaluations matching the search.

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

Returns
Type Description
int

getEvaluationsList()

public List<Evaluation> getEvaluationsList()

The list of evaluations matching the search.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
EvaluationOrBuilder

getEvaluationsOrBuilderList()

public List<? extends EvaluationOrBuilder> getEvaluationsOrBuilderList()

The list of evaluations matching the search.

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

Returns
Type Description
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
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchEvaluationsResponse other)

public SearchEvaluationsResponse.Builder mergeFrom(SearchEvaluationsResponse other)
Parameter
Name Description
other SearchEvaluationsResponse
Returns
Type Description
SearchEvaluationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchEvaluationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchEvaluationsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchEvaluationsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchEvaluationsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchEvaluationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
value Evaluation
Returns
Type Description
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
Name Description
index int
builderForValue Evaluation.Builder
Returns
Type Description
SearchEvaluationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SearchEvaluationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SearchEvaluationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchEvaluationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchEvaluationsResponse.Builder
Overrides