Class ListProcessorVersionsResponse.Builder (2.51.0)

public static final class ListProcessorVersionsResponse.Builder extends GeneratedMessageV3.Builder<ListProcessorVersionsResponse.Builder> implements ListProcessorVersionsResponseOrBuilder

Response message for the ListProcessorVersions method.

Protobuf type google.cloud.documentai.v1beta3.ListProcessorVersionsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllProcessorVersions(Iterable<? extends ProcessorVersion> values)

public ListProcessorVersionsResponse.Builder addAllProcessorVersions(Iterable<? extends ProcessorVersion> values)

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.documentai.v1beta3.ProcessorVersion>
Returns
Type Description
ListProcessorVersionsResponse.Builder

addProcessorVersions(ProcessorVersion value)

public ListProcessorVersionsResponse.Builder addProcessorVersions(ProcessorVersion value)

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Parameter
Name Description
value ProcessorVersion
Returns
Type Description
ListProcessorVersionsResponse.Builder

addProcessorVersions(ProcessorVersion.Builder builderForValue)

public ListProcessorVersionsResponse.Builder addProcessorVersions(ProcessorVersion.Builder builderForValue)

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Parameter
Name Description
builderForValue ProcessorVersion.Builder
Returns
Type Description
ListProcessorVersionsResponse.Builder

addProcessorVersions(int index, ProcessorVersion value)

public ListProcessorVersionsResponse.Builder addProcessorVersions(int index, ProcessorVersion value)

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Parameters
Name Description
index int
value ProcessorVersion
Returns
Type Description
ListProcessorVersionsResponse.Builder

addProcessorVersions(int index, ProcessorVersion.Builder builderForValue)

public ListProcessorVersionsResponse.Builder addProcessorVersions(int index, ProcessorVersion.Builder builderForValue)

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Parameters
Name Description
index int
builderForValue ProcessorVersion.Builder
Returns
Type Description
ListProcessorVersionsResponse.Builder

addProcessorVersionsBuilder()

public ProcessorVersion.Builder addProcessorVersionsBuilder()

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Returns
Type Description
ProcessorVersion.Builder

addProcessorVersionsBuilder(int index)

public ProcessorVersion.Builder addProcessorVersionsBuilder(int index)

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
ProcessorVersion.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListProcessorVersionsResponse build()
Returns
Type Description
ListProcessorVersionsResponse

buildPartial()

public ListProcessorVersionsResponse buildPartial()
Returns
Type Description
ListProcessorVersionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListProcessorVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListProcessorVersionsResponse.Builder
Overrides

clearNextPageToken()

public ListProcessorVersionsResponse.Builder clearNextPageToken()

Points to the next processor, otherwise empty.

string next_page_token = 2;

Returns
Type Description
ListProcessorVersionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProcessorVersions()

public ListProcessorVersionsResponse.Builder clearProcessorVersions()

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Returns
Type Description
ListProcessorVersionsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListProcessorVersionsResponse getDefaultInstanceForType()
Returns
Type Description
ListProcessorVersionsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Points to the next processor, otherwise empty.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Points to the next processor, otherwise empty.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getProcessorVersions(int index)

public ProcessorVersion getProcessorVersions(int index)

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
ProcessorVersion

getProcessorVersionsBuilder(int index)

public ProcessorVersion.Builder getProcessorVersionsBuilder(int index)

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
ProcessorVersion.Builder

getProcessorVersionsBuilderList()

public List<ProcessorVersion.Builder> getProcessorVersionsBuilderList()

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Returns
Type Description
List<Builder>

getProcessorVersionsCount()

public int getProcessorVersionsCount()

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Returns
Type Description
int

getProcessorVersionsList()

public List<ProcessorVersion> getProcessorVersionsList()

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Returns
Type Description
List<ProcessorVersion>

getProcessorVersionsOrBuilder(int index)

public ProcessorVersionOrBuilder getProcessorVersionsOrBuilder(int index)

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
ProcessorVersionOrBuilder

getProcessorVersionsOrBuilderList()

public List<? extends ProcessorVersionOrBuilder> getProcessorVersionsOrBuilderList()

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Returns
Type Description
List<? extends com.google.cloud.documentai.v1beta3.ProcessorVersionOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListProcessorVersionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeProcessorVersions(int index)

public ListProcessorVersionsResponse.Builder removeProcessorVersions(int index)

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListProcessorVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListProcessorVersionsResponse.Builder setNextPageToken(String value)

Points to the next processor, otherwise empty.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListProcessorVersionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListProcessorVersionsResponse.Builder setNextPageTokenBytes(ByteString value)

Points to the next processor, otherwise empty.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListProcessorVersionsResponse.Builder

This builder for chaining.

setProcessorVersions(int index, ProcessorVersion value)

public ListProcessorVersionsResponse.Builder setProcessorVersions(int index, ProcessorVersion value)

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Parameters
Name Description
index int
value ProcessorVersion
Returns
Type Description
ListProcessorVersionsResponse.Builder

setProcessorVersions(int index, ProcessorVersion.Builder builderForValue)

public ListProcessorVersionsResponse.Builder setProcessorVersions(int index, ProcessorVersion.Builder builderForValue)

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Parameters
Name Description
index int
builderForValue ProcessorVersion.Builder
Returns
Type Description
ListProcessorVersionsResponse.Builder

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

public ListProcessorVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListProcessorVersionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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