Class ListProcessorsResponse.Builder (2.55.0)

public static final class ListProcessorsResponse.Builder extends GeneratedMessageV3.Builder<ListProcessorsResponse.Builder> implements ListProcessorsResponseOrBuilder

Response message for the ListProcessors method.

Protobuf type google.cloud.documentai.v1.ListProcessorsResponse

Static Methods

getDescriptor()

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

Methods

addAllProcessors(Iterable<? extends Processor> values)

public ListProcessorsResponse.Builder addAllProcessors(Iterable<? extends Processor> values)

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.documentai.v1.Processor>
Returns
Type Description
ListProcessorsResponse.Builder

addProcessors(Processor value)

public ListProcessorsResponse.Builder addProcessors(Processor value)

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Parameter
Name Description
value Processor
Returns
Type Description
ListProcessorsResponse.Builder

addProcessors(Processor.Builder builderForValue)

public ListProcessorsResponse.Builder addProcessors(Processor.Builder builderForValue)

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Parameter
Name Description
builderForValue Processor.Builder
Returns
Type Description
ListProcessorsResponse.Builder

addProcessors(int index, Processor value)

public ListProcessorsResponse.Builder addProcessors(int index, Processor value)

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Parameters
Name Description
index int
value Processor
Returns
Type Description
ListProcessorsResponse.Builder

addProcessors(int index, Processor.Builder builderForValue)

public ListProcessorsResponse.Builder addProcessors(int index, Processor.Builder builderForValue)

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Parameters
Name Description
index int
builderForValue Processor.Builder
Returns
Type Description
ListProcessorsResponse.Builder

addProcessorsBuilder()

public Processor.Builder addProcessorsBuilder()

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Returns
Type Description
Processor.Builder

addProcessorsBuilder(int index)

public Processor.Builder addProcessorsBuilder(int index)

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Parameter
Name Description
index int
Returns
Type Description
Processor.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListProcessorsResponse build()
Returns
Type Description
ListProcessorsResponse

buildPartial()

public ListProcessorsResponse buildPartial()
Returns
Type Description
ListProcessorsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListProcessorsResponse.Builder clearNextPageToken()

Points to the next processor, otherwise empty.

string next_page_token = 2;

Returns
Type Description
ListProcessorsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProcessors()

public ListProcessorsResponse.Builder clearProcessors()

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Returns
Type Description
ListProcessorsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListProcessorsResponse getDefaultInstanceForType()
Returns
Type Description
ListProcessorsResponse

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.

getProcessors(int index)

public Processor getProcessors(int index)

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Parameter
Name Description
index int
Returns
Type Description
Processor

getProcessorsBuilder(int index)

public Processor.Builder getProcessorsBuilder(int index)

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Parameter
Name Description
index int
Returns
Type Description
Processor.Builder

getProcessorsBuilderList()

public List<Processor.Builder> getProcessorsBuilderList()

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Returns
Type Description
List<Builder>

getProcessorsCount()

public int getProcessorsCount()

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Returns
Type Description
int

getProcessorsList()

public List<Processor> getProcessorsList()

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Returns
Type Description
List<Processor>

getProcessorsOrBuilder(int index)

public ProcessorOrBuilder getProcessorsOrBuilder(int index)

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Parameter
Name Description
index int
Returns
Type Description
ProcessorOrBuilder

getProcessorsOrBuilderList()

public List<? extends ProcessorOrBuilder> getProcessorsOrBuilderList()

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Returns
Type Description
List<? extends com.google.cloud.documentai.v1.ProcessorOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListProcessorsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeProcessors(int index)

public ListProcessorsResponse.Builder removeProcessors(int index)

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Parameter
Name Description
index int
Returns
Type Description
ListProcessorsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListProcessorsResponse.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
ListProcessorsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListProcessorsResponse.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
ListProcessorsResponse.Builder

This builder for chaining.

setProcessors(int index, Processor value)

public ListProcessorsResponse.Builder setProcessors(int index, Processor value)

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Parameters
Name Description
index int
value Processor
Returns
Type Description
ListProcessorsResponse.Builder

setProcessors(int index, Processor.Builder builderForValue)

public ListProcessorsResponse.Builder setProcessors(int index, Processor.Builder builderForValue)

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Parameters
Name Description
index int
builderForValue Processor.Builder
Returns
Type Description
ListProcessorsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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