Class ListEvaluationsResponse.Builder (2.47.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.documentai.v1beta3.Evaluation>
Returns
Type Description
ListEvaluationsResponse.Builder

addEvaluations(Evaluation value)

public ListEvaluationsResponse.Builder addEvaluations(Evaluation value)

The evaluations requested.

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

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

addEvaluationsBuilder()

public Evaluation.Builder addEvaluationsBuilder()

The evaluations requested.

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

Returns
Type Description
Evaluation.Builder

addEvaluationsBuilder(int index)

public Evaluation.Builder addEvaluationsBuilder(int index)

The evaluations requested.

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

Parameter
Name Description
index int
Returns
Type Description
Evaluation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListEvaluationsResponse build()
Returns
Type Description
ListEvaluationsResponse

buildPartial()

public ListEvaluationsResponse buildPartial()
Returns
Type Description
ListEvaluationsResponse

clear()

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

clearEvaluations()

public ListEvaluationsResponse.Builder clearEvaluations()

The evaluations requested.

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

Returns
Type Description
ListEvaluationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListEvaluationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ListEvaluationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListEvaluationsResponse getDefaultInstanceForType()
Returns
Type Description
ListEvaluationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEvaluations(int index)

public Evaluation getEvaluations(int index)

The evaluations requested.

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

Parameter
Name Description
index int
Returns
Type Description
Evaluation

getEvaluationsBuilder(int index)

public Evaluation.Builder getEvaluationsBuilder(int index)

The evaluations requested.

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

Parameter
Name Description
index int
Returns
Type Description
Evaluation.Builder

getEvaluationsBuilderList()

public List<Evaluation.Builder> getEvaluationsBuilderList()

The evaluations requested.

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

Returns
Type Description
List<Builder>

getEvaluationsCount()

public int getEvaluationsCount()

The evaluations requested.

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

Returns
Type Description
int

getEvaluationsList()

public List<Evaluation> getEvaluationsList()

The evaluations requested.

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

Returns
Type Description
List<Evaluation>

getEvaluationsOrBuilder(int index)

public EvaluationOrBuilder getEvaluationsOrBuilder(int index)

The evaluations requested.

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

Parameter
Name Description
index int
Returns
Type Description
EvaluationOrBuilder

getEvaluationsOrBuilderList()

public List<? extends EvaluationOrBuilder> getEvaluationsOrBuilderList()

The evaluations requested.

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

Returns
Type Description
List<? extends com.google.cloud.documentai.v1beta3.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
Type Description
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
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(ListEvaluationsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListEvaluationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListEvaluationsResponse.Builder
Overrides

removeEvaluations(int index)

public ListEvaluationsResponse.Builder removeEvaluations(int index)

The evaluations requested.

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

Parameter
Name Description
index int
Returns
Type Description
ListEvaluationsResponse.Builder

setEvaluations(int index, Evaluation value)

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

The evaluations requested.

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

Parameters
Name Description
index int
value Evaluation
Returns
Type Description
ListEvaluationsResponse.Builder

setEvaluations(int index, Evaluation.Builder builderForValue)

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

The evaluations requested.

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

Parameters
Name Description
index int
builderForValue Evaluation.Builder
Returns
Type Description
ListEvaluationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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