Class ListEvaluationsResponse.Builder (2.32.0)

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

The response from ListEvaluations.

Protobuf type google.cloud.documentai.v1.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.v1.Evaluation evaluations = 1;

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

addEvaluations(Evaluation value)

public ListEvaluationsResponse.Builder addEvaluations(Evaluation value)

The evaluations requested.

repeated .google.cloud.documentai.v1.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.v1.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.v1.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.v1.Evaluation evaluations = 1;

Parameters
NameDescription
indexint
builderForValueEvaluation.Builder
Returns
TypeDescription
ListEvaluationsResponse.Builder

addEvaluationsBuilder()

public Evaluation.Builder addEvaluationsBuilder()

The evaluations requested.

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

Returns
TypeDescription
Evaluation.Builder

addEvaluationsBuilder(int index)

public Evaluation.Builder addEvaluationsBuilder(int index)

The evaluations requested.

repeated .google.cloud.documentai.v1.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 clear()
Returns
TypeDescription
ListEvaluationsResponse.Builder
Overrides

clearEvaluations()

public ListEvaluationsResponse.Builder clearEvaluations()

The evaluations requested.

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

Returns
TypeDescription
ListEvaluationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListEvaluationsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ListEvaluationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListEvaluationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListEvaluationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEvaluations(int index)

public Evaluation getEvaluations(int index)

The evaluations requested.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Evaluation

getEvaluationsBuilder(int index)

public Evaluation.Builder getEvaluationsBuilder(int index)

The evaluations requested.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Evaluation.Builder

getEvaluationsBuilderList()

public List<Evaluation.Builder> getEvaluationsBuilderList()

The evaluations requested.

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

Returns
TypeDescription
List<Builder>

getEvaluationsCount()

public int getEvaluationsCount()

The evaluations requested.

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

Returns
TypeDescription
int

getEvaluationsList()

public List<Evaluation> getEvaluationsList()

The evaluations requested.

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

Returns
TypeDescription
List<Evaluation>

getEvaluationsOrBuilder(int index)

public EvaluationOrBuilder getEvaluationsOrBuilder(int index)

The evaluations requested.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
EvaluationOrBuilder

getEvaluationsOrBuilderList()

public List<? extends EvaluationOrBuilder> getEvaluationsOrBuilderList()

The evaluations requested.

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

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1.EvaluationOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

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(ListEvaluationsResponse other)

public ListEvaluationsResponse.Builder mergeFrom(ListEvaluationsResponse other)
Parameter
NameDescription
otherListEvaluationsResponse
Returns
TypeDescription
ListEvaluationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEvaluations(int index)

public ListEvaluationsResponse.Builder removeEvaluations(int index)

The evaluations requested.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListEvaluationsResponse.Builder

setEvaluations(int index, Evaluation value)

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

The evaluations requested.

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

Parameters
NameDescription
indexint
valueEvaluation
Returns
TypeDescription
ListEvaluationsResponse.Builder

setEvaluations(int index, Evaluation.Builder builderForValue)

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

The evaluations requested.

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

Parameters
NameDescription
indexint
builderForValueEvaluation.Builder
Returns
TypeDescription
ListEvaluationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListEvaluationsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListEvaluationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListEvaluationsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListEvaluationsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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