public static final class ListProcessorVersionsResponse.Builder extends GeneratedMessageV3.Builder<ListProcessorVersionsResponse.Builder> implements ListProcessorVersionsResponseOrBuilder
Response message for list processors.
Protobuf type google.cloud.documentai.v1beta3.ListProcessorVersionsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
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
addProcessorVersions(ProcessorVersion value)
public ListProcessorVersionsResponse.Builder addProcessorVersions(ProcessorVersion value)
The list of processors.
repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;
Parameter
Returns
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
Returns
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
Returns
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
Returns
addProcessorVersionsBuilder()
public ProcessorVersion.Builder addProcessorVersionsBuilder()
The list of processors.
repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;
Returns
addProcessorVersionsBuilder(int index)
public ProcessorVersion.Builder addProcessorVersionsBuilder(int index)
The list of processors.
repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListProcessorVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListProcessorVersionsResponse build()
Returns
buildPartial()
public ListProcessorVersionsResponse buildPartial()
Returns
clear()
public ListProcessorVersionsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListProcessorVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListProcessorVersionsResponse.Builder clearNextPageToken()
Points to the next processor, otherwise empty.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListProcessorVersionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProcessorVersions()
public ListProcessorVersionsResponse.Builder clearProcessorVersions()
The list of processors.
repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;
Returns
clone()
public ListProcessorVersionsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListProcessorVersionsResponse 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.
|
getProcessorVersions(int index)
public ProcessorVersion getProcessorVersions(int index)
The list of processors.
repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;
Parameter
Returns
getProcessorVersionsBuilder(int index)
public ProcessorVersion.Builder getProcessorVersionsBuilder(int index)
The list of processors.
repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;
Parameter
Returns
getProcessorVersionsBuilderList()
public List<ProcessorVersion.Builder> getProcessorVersionsBuilderList()
The list of processors.
repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;
Returns
getProcessorVersionsCount()
public int getProcessorVersionsCount()
The list of processors.
repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;
Returns
getProcessorVersionsList()
public List<ProcessorVersion> getProcessorVersionsList()
The list of processors.
repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;
Returns
getProcessorVersionsOrBuilder(int index)
public ProcessorVersionOrBuilder getProcessorVersionsOrBuilder(int index)
The list of processors.
repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListProcessorVersionsResponse other)
public ListProcessorVersionsResponse.Builder mergeFrom(ListProcessorVersionsResponse other)
Parameter
Returns
public ListProcessorVersionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListProcessorVersionsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListProcessorVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeProcessorVersions(int index)
public ListProcessorVersionsResponse.Builder removeProcessorVersions(int index)
The list of processors.
repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListProcessorVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListProcessorVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListProcessorVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides