Class ListEvaluationsRequest.Builder (2.17.0)

public static final class ListEvaluationsRequest.Builder extends GeneratedMessageV3.Builder<ListEvaluationsRequest.Builder> implements ListEvaluationsRequestOrBuilder

Retrieves a list of evaluations for a given ProcessorVersion.

Protobuf type google.cloud.documentai.v1beta3.ListEvaluationsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListEvaluationsRequest build()
Returns
TypeDescription
ListEvaluationsRequest

buildPartial()

public ListEvaluationsRequest buildPartial()
Returns
TypeDescription
ListEvaluationsRequest

clear()

public ListEvaluationsRequest.Builder clear()
Returns
TypeDescription
ListEvaluationsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListEvaluationsRequest.Builder clearPageSize()

The standard list page size. If unspecified, at most 5 evaluations will be returned. The maximum value is 100; values above 100 will be coerced to 100.

int32 page_size = 2;

Returns
TypeDescription
ListEvaluationsRequest.Builder

This builder for chaining.

clearPageToken()

public ListEvaluationsRequest.Builder clearPageToken()

A page token, received from a previous ListEvaluations call. Provide this to retrieve the subsequent page.

string page_token = 3;

Returns
TypeDescription
ListEvaluationsRequest.Builder

This builder for chaining.

clearParent()

public ListEvaluationsRequest.Builder clearParent()

Required. The resource name of the ProcessorVersion to list evaluations for. projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ListEvaluationsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListEvaluationsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListEvaluationsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

The standard list page size. If unspecified, at most 5 evaluations will be returned. The maximum value is 100; values above 100 will be coerced to 100.

int32 page_size = 2;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

A page token, received from a previous ListEvaluations call. Provide this to retrieve the subsequent page.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A page token, received from a previous ListEvaluations call. Provide this to retrieve the subsequent page.

string page_token = 3;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The resource name of the ProcessorVersion to list evaluations for. projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the ProcessorVersion to list evaluations for. projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListEvaluationsRequest other)

public ListEvaluationsRequest.Builder mergeFrom(ListEvaluationsRequest other)
Parameter
NameDescription
otherListEvaluationsRequest
Returns
TypeDescription
ListEvaluationsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListEvaluationsRequest.Builder setPageSize(int value)

The standard list page size. If unspecified, at most 5 evaluations will be returned. The maximum value is 100; values above 100 will be coerced to 100.

int32 page_size = 2;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListEvaluationsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListEvaluationsRequest.Builder setPageToken(String value)

A page token, received from a previous ListEvaluations call. Provide this to retrieve the subsequent page.

string page_token = 3;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListEvaluationsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListEvaluationsRequest.Builder setPageTokenBytes(ByteString value)

A page token, received from a previous ListEvaluations call. Provide this to retrieve the subsequent page.

string page_token = 3;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListEvaluationsRequest.Builder

This builder for chaining.

setParent(String value)

public ListEvaluationsRequest.Builder setParent(String value)

Required. The resource name of the ProcessorVersion to list evaluations for. projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListEvaluationsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListEvaluationsRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the ProcessorVersion to list evaluations for. projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListEvaluationsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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