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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addProcessors(Processor value)
public ListProcessorsResponse.Builder addProcessors(Processor value)
The list of processors.
repeated .google.cloud.documentai.v1.Processor processors = 1;
addProcessors(Processor.Builder builderForValue)
public ListProcessorsResponse.Builder addProcessors(Processor.Builder builderForValue)
The list of processors.
repeated .google.cloud.documentai.v1.Processor processors = 1;
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;
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;
addProcessorsBuilder()
public Processor.Builder addProcessorsBuilder()
The list of processors.
repeated .google.cloud.documentai.v1.Processor processors = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListProcessorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListProcessorsResponse build()
buildPartial()
public ListProcessorsResponse buildPartial()
clear()
public ListProcessorsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListProcessorsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListProcessorsResponse.Builder clearNextPageToken()
Points to the next processor, otherwise empty.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListProcessorsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProcessors()
public ListProcessorsResponse.Builder clearProcessors()
The list of processors.
repeated .google.cloud.documentai.v1.Processor processors = 1;
clone()
public ListProcessorsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListProcessorsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
getProcessorsBuilderList()
public List<Processor.Builder> getProcessorsBuilderList()
The list of processors.
repeated .google.cloud.documentai.v1.Processor processors = 1;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListProcessorsResponse other)
public ListProcessorsResponse.Builder mergeFrom(ListProcessorsResponse other)
public ListProcessorsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListProcessorsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListProcessorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListProcessorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListProcessorsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListProcessorsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides