Class ListProcessorsResponse.Builder (2.12.0)

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

Response message for list processors.

Protobuf type google.cloud.documentai.v1beta3.ListProcessorsResponse

Static Methods

getDescriptor()

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

Methods

addAllProcessors(Iterable<? extends Processor> values)

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

The list of processors.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1beta3.Processor>
Returns
TypeDescription
ListProcessorsResponse.Builder

addProcessors(Processor value)

public ListProcessorsResponse.Builder addProcessors(Processor value)

The list of processors.

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

Parameter
NameDescription
valueProcessor
Returns
TypeDescription
ListProcessorsResponse.Builder

addProcessors(Processor.Builder builderForValue)

public ListProcessorsResponse.Builder addProcessors(Processor.Builder builderForValue)

The list of processors.

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

Parameter
NameDescription
builderForValueProcessor.Builder
Returns
TypeDescription
ListProcessorsResponse.Builder

addProcessors(int index, Processor value)

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

The list of processors.

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

Parameters
NameDescription
indexint
valueProcessor
Returns
TypeDescription
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.v1beta3.Processor processors = 1;

Parameters
NameDescription
indexint
builderForValueProcessor.Builder
Returns
TypeDescription
ListProcessorsResponse.Builder

addProcessorsBuilder()

public Processor.Builder addProcessorsBuilder()

The list of processors.

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

Returns
TypeDescription
Processor.Builder

addProcessorsBuilder(int index)

public Processor.Builder addProcessorsBuilder(int index)

The list of processors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Processor.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListProcessorsResponse build()
Returns
TypeDescription
ListProcessorsResponse

buildPartial()

public ListProcessorsResponse buildPartial()
Returns
TypeDescription
ListProcessorsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListProcessorsResponse.Builder clearNextPageToken()

Points to the next processor, otherwise empty.

string next_page_token = 2;

Returns
TypeDescription
ListProcessorsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProcessors()

public ListProcessorsResponse.Builder clearProcessors()

The list of processors.

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

Returns
TypeDescription
ListProcessorsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListProcessorsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListProcessorsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Points to the next processor, otherwise empty.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Points to the next processor, otherwise empty.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getProcessors(int index)

public Processor getProcessors(int index)

The list of processors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Processor

getProcessorsBuilder(int index)

public Processor.Builder getProcessorsBuilder(int index)

The list of processors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Processor.Builder

getProcessorsBuilderList()

public List<Processor.Builder> getProcessorsBuilderList()

The list of processors.

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

Returns
TypeDescription
List<Builder>

getProcessorsCount()

public int getProcessorsCount()

The list of processors.

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

Returns
TypeDescription
int

getProcessorsList()

public List<Processor> getProcessorsList()

The list of processors.

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

Returns
TypeDescription
List<Processor>

getProcessorsOrBuilder(int index)

public ProcessorOrBuilder getProcessorsOrBuilder(int index)

The list of processors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ProcessorOrBuilder

getProcessorsOrBuilderList()

public List<? extends ProcessorOrBuilder> getProcessorsOrBuilderList()

The list of processors.

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

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta3.ProcessorOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListProcessorsResponse other)

public ListProcessorsResponse.Builder mergeFrom(ListProcessorsResponse other)
Parameter
NameDescription
otherListProcessorsResponse
Returns
TypeDescription
ListProcessorsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeProcessors(int index)

public ListProcessorsResponse.Builder removeProcessors(int index)

The list of processors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListProcessorsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListProcessorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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.v1beta3.Processor processors = 1;

Parameters
NameDescription
indexint
valueProcessor
Returns
TypeDescription
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.v1beta3.Processor processors = 1;

Parameters
NameDescription
indexint
builderForValueProcessor.Builder
Returns
TypeDescription
ListProcessorsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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