Class ListEvaluationsResponse.Builder (2.11.0)

public static final class ListEvaluationsResponse.Builder extends GeneratedMessageV3.Builder<ListEvaluationsResponse.Builder> implements ListEvaluationsResponseOrBuilder

The response from ListEvaluations.

Protobuf type google.cloud.documentai.v1beta3.ListEvaluationsResponse

Static Methods

getDescriptor()

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

Methods

addAllEvaluations(Iterable<? extends Evaluation> values)

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

The evaluations requested.

repeated .google.cloud.documentai.v1beta3.Evaluation evaluations = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1beta3.Evaluation>
Returns
TypeDescription
ListEvaluationsResponse.Builder

addEvaluations(Evaluation value)

public ListEvaluationsResponse.Builder addEvaluations(Evaluation value)

The evaluations requested.

repeated .google.cloud.documentai.v1beta3.Evaluation evaluations = 1;

Parameter
NameDescription
valueEvaluation
Returns
TypeDescription
ListEvaluationsResponse.Builder

addEvaluations(Evaluation.Builder builderForValue)

public ListEvaluationsResponse.Builder addEvaluations(Evaluation.Builder builderForValue)

The evaluations requested.

repeated .google.cloud.documentai.v1beta3.Evaluation evaluations = 1;

Parameter
NameDescription
builderForValueEvaluation.Builder
Returns
TypeDescription
ListEvaluationsResponse.Builder

addEvaluations(int index, Evaluation value)

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

The evaluations requested.

repeated .google.cloud.documentai.v1beta3.Evaluation evaluations = 1;

Parameters
NameDescription
indexint
valueEvaluation
Returns
TypeDescription
ListEvaluationsResponse.Builder

addEvaluations(int index, Evaluation.Builder builderForValue)

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

The evaluations requested.

repeated .google.cloud.documentai.v1beta3.Evaluation evaluations = 1;

Parameters
NameDescription
indexint
builderForValueEvaluation.Builder
Returns
TypeDescription
ListEvaluationsResponse.Builder

addEvaluationsBuilder()

public Evaluation.Builder addEvaluationsBuilder()

The evaluations requested.

repeated .google.cloud.documentai.v1beta3.Evaluation evaluations = 1;

Returns
TypeDescription
Evaluation.Builder

addEvaluationsBuilder(int index)

public Evaluation.Builder addEvaluationsBuilder(int index)

The evaluations requested.

repeated .google.cloud.documentai.v1beta3.Evaluation evaluations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Evaluation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListEvaluationsResponse build()
Returns
TypeDescription
ListEvaluationsResponse

buildPartial()

public ListEvaluationsResponse buildPartial()
Returns
TypeDescription
ListEvaluationsResponse

clear()

public ListEvaluationsResponse.Builder c