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
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
Name | Description |
values | Iterable<? extends com.google.cloud.documentai.v1beta3.Processor>
|
Returns
addProcessors(Processor value)
public ListProcessorsResponse.Builder addProcessors(Processor value)
The list of processors.
repeated .google.cloud.documentai.v1beta3.Processor processors = 1;
Parameter
Returns
addProcessors(Processor.Builder builderForValue)
public ListProcessorsResponse.Builder addProcessors(Processor.Builder builderForValue)
The list of processors.
repeated .google.cloud.documentai.v1beta3.Processor processors = 1;
Parameter
Returns
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
Returns
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
Returns
addProcessorsBuilder()
public Processor.Builder addProcessorsBuilder()
The list of processors.
repeated .google.cloud.documentai.v1beta3.Processor processors = 1;
Returns
addProcessorsBuilder(int index)
public Processor.Builder addProcessorsBuilder(int index)
The list of processors.
repeated .google.cloud.documentai.v1beta3.Processor processors = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListProcessorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListProcessorsResponse build()
Returns
buildPartial()
public ListProcessorsResponse buildPartial()
Returns
clear()
public ListProcessorsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListProcessorsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListProcessorsResponse.Builder clearNextPageToken()
Points to the next processor, otherwise empty.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListProcessorsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProcessors()
public ListProcessorsResponse.Builder clearProcessors()
The list of processors.
repeated .google.cloud.documentai.v1beta3.Processor processors = 1;
Returns
clone()
public ListProcessorsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListProcessorsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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.v1beta3.Processor processors = 1;
Parameter
Returns
getProcessorsBuilder(int index)
public Processor.Builder getProcessorsBuilder(int index)
The list of processors.
repeated .google.cloud.documentai.v1beta3.Processor processors = 1;
Parameter
Returns
getProcessorsBuilderList()
public List<Processor.Builder> getProcessorsBuilderList()
The list of processors.
repeated .google.cloud.documentai.v1beta3.Processor processors = 1;
Returns
getProcessorsCount()
public int getProcessorsCount()
The list of processors.
repeated .google.cloud.documentai.v1beta3.Processor processors = 1;
Returns
getProcessorsList()
public List<Processor> getProcessorsList()
The list of processors.
repeated .google.cloud.documentai.v1beta3.Processor processors = 1;
Returns
getProcessorsOrBuilder(int index)
public ProcessorOrBuilder getProcessorsOrBuilder(int index)
The list of processors.
repeated .google.cloud.documentai.v1beta3.Processor processors = 1;
Parameter
Returns
getProcessorsOrBuilderList()
public List<? extends ProcessorOrBuilder> getProcessorsOrBuilderList()
The list of processors.
repeated .google.cloud.documentai.v1beta3.Processor processors = 1;
Returns
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.ProcessorOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListProcessorsResponse other)
public ListProcessorsResponse.Builder mergeFrom(ListProcessorsResponse other)
Parameter
Returns
public ListProcessorsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListProcessorsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListProcessorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeProcessors(int index)
public ListProcessorsResponse.Builder removeProcessors(int index)
The list of processors.
repeated .google.cloud.documentai.v1beta3.Processor processors = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListProcessorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListProcessorsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListProcessorsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides