Class ListEvaluationsResponse (2.34.0)

public final class ListEvaluationsResponse extends GeneratedMessageV3 implements ListEvaluationsResponseOrBuilder

The response from ListEvaluations.

Protobuf type google.cloud.documentai.v1.ListEvaluationsResponse

Static Fields

EVALUATIONS_FIELD_NUMBER

public static final int EVALUATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListEvaluationsResponse getDefaultInstance()
Returns
TypeDescription
ListEvaluationsResponse

getDescriptor()

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

newBuilder()

public static ListEvaluationsResponse.Builder newBuilder()
Returns
TypeDescription
ListEvaluationsResponse.Builder

newBuilder(ListEvaluationsResponse prototype)

public static ListEvaluationsResponse.Builder newBuilder(ListEvaluationsResponse prototype)
Parameter
NameDescription
prototypeListEvaluationsResponse
Returns
TypeDescription
ListEvaluationsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListEvaluationsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListEvaluationsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListEvaluationsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListEvaluationsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListEvaluationsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListEvaluationsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListEvaluationsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListEvaluationsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListEvaluationsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListEvaluationsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListEvaluationsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListEvaluationsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListEvaluationsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListEvaluationsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListEvaluationsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListEvaluationsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListEvaluationsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListEvaluationsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListEvaluationsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListEvaluationsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListEvaluationsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListEvaluationsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListEvaluationsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListEvaluationsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListEvaluationsResponse> parser()
Returns
TypeDescription
Parser<ListEvaluationsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListEvaluationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListEvaluationsResponse

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

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.

getParserForType()

public Parser<ListEvaluationsResponse> getParserForType()
Returns
TypeDescription
Parser<ListEvaluationsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListEvaluationsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListEvaluationsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListEvaluationsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListEvaluationsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListEvaluationsResponse.Builder toBuilder()
Returns
TypeDescription
ListEvaluationsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException