public static final class ListEvaluationsResponse.Builder extends GeneratedMessageV3.Builder<ListEvaluationsResponse.Builder> implements ListEvaluationsResponseOrBuilder
The response from ListEvaluations.
Protobuf type google.cloud.documentai.v1.ListEvaluationsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
Name | Description |
values | Iterable<? extends com.google.cloud.documentai.v1.Evaluation>
|
Returns
addEvaluations(Evaluation value)
public ListEvaluationsResponse.Builder addEvaluations(Evaluation value)
The evaluations requested.
repeated .google.cloud.documentai.v1.Evaluation evaluations = 1;
Parameter
Returns
addEvaluations(Evaluation.Builder builderForValue)
public ListEvaluationsResponse.Builder addEvaluations(Evaluation.Builder builderForValue)
The evaluations requested.
repeated .google.cloud.documentai.v1.Evaluation evaluations = 1;
Parameter
Returns
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
Returns
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
Returns
addEvaluationsBuilder()
public Evaluation.Builder addEvaluationsBuilder()
The evaluations requested.
repeated .google.cloud.documentai.v1.Evaluation evaluations = 1;
Returns
addEvaluationsBuilder(int index)
public Evaluation.Builder addEvaluationsBuilder(int index)
The evaluations requested.
repeated .google.cloud.documentai.v1.Evaluation evaluations = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListEvaluationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListEvaluationsResponse build()
Returns
buildPartial()
public ListEvaluationsResponse buildPartial()
Returns
clear()
public ListEvaluationsResponse.Builder clear()
Returns
Overrides
clearEvaluations()
public ListEvaluationsResponse.Builder clearEvaluations()
The evaluations requested.
repeated .google.cloud.documentai.v1.Evaluation evaluations = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListEvaluationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListEvaluationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListEvaluationsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListEvaluationsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEvaluations(int index)
public Evaluation getEvaluations(int index)
The evaluations requested.
repeated .google.cloud.documentai.v1.Evaluation evaluations = 1;
Parameter
Returns
getEvaluationsBuilder(int index)
public Evaluation.Builder getEvaluationsBuilder(int index)
The evaluations requested.
repeated .google.cloud.documentai.v1.Evaluation evaluations = 1;
Parameter
Returns
getEvaluationsBuilderList()
public List<Evaluation.Builder> getEvaluationsBuilderList()
The evaluations requested.
repeated .google.cloud.documentai.v1.Evaluation evaluations = 1;
Returns
getEvaluationsCount()
public int getEvaluationsCount()
The evaluations requested.
repeated .google.cloud.documentai.v1.Evaluation evaluations = 1;
Returns
getEvaluationsList()
public List<Evaluation> getEvaluationsList()
The evaluations requested.
repeated .google.cloud.documentai.v1.Evaluation evaluations = 1;
Returns
getEvaluationsOrBuilder(int index)
public EvaluationOrBuilder getEvaluationsOrBuilder(int index)
The evaluations requested.
repeated .google.cloud.documentai.v1.Evaluation evaluations = 1;
Parameter
Returns
getEvaluationsOrBuilderList()
public List<? extends EvaluationOrBuilder> getEvaluationsOrBuilderList()
The evaluations requested.
repeated .google.cloud.documentai.v1.Evaluation evaluations = 1;
Returns
Type | Description |
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListEvaluationsResponse other)
public ListEvaluationsResponse.Builder mergeFrom(ListEvaluationsResponse other)
Parameter
Returns
public ListEvaluationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListEvaluationsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListEvaluationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeEvaluations(int index)
public ListEvaluationsResponse.Builder removeEvaluations(int index)
The evaluations requested.
repeated .google.cloud.documentai.v1.Evaluation evaluations = 1;
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListEvaluationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListEvaluationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListEvaluationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides