Class ListProcessorVersionsResponse.Builder (2.28.0)

public static final class ListProcessorVersionsResponse.Builder extends GeneratedMessageV3.Builder<ListProcessorVersionsResponse.Builder> implements ListProcessorVersionsResponseOrBuilder

Response message for the ListProcessorVersions method.

Protobuf type google.cloud.documentai.v1.ListProcessorVersionsResponse

Static Methods

getDescriptor()

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

Methods

addAllProcessorVersions(Iterable<? extends ProcessorVersion> values)

public ListProcessorVersionsResponse.Builder addAllProcessorVersions(Iterable<? extends ProcessorVersion> values)

The list of processors.

repeated .google.cloud.documentai.v1.ProcessorVersion processor_versions = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1.ProcessorVersion>
Returns
TypeDescription
ListProcessorVersionsResponse.Builder

addProcessorVersions(ProcessorVersion value)

public ListProcessorVersionsResponse.Builder addProcessorVersions(ProcessorVersion value)

The list of processors.

repeated .google.cloud.documentai.v1.ProcessorVersion processor_versions = 1;

Parameter
NameDescription
valueProcessorVersion
Returns
TypeDescription
ListProcessorVersionsResponse.Builder

addProcessorVersions(ProcessorVersion.Builder builderForValue)

public ListProcessorVersionsResponse.Builder addProcessorVersions(ProcessorVersion.Builder builderForValue)

The list of processors.

repeated .google.cloud.documentai.v1.ProcessorVersion processor_versions = 1;

Parameter
NameDescription
builderForValueProcessorVersion.Builder
Returns
TypeDescription
ListProcessorVersionsResponse.Builder

addProcessorVersions(int index, ProcessorVersion value)

public ListProcessorVersionsResponse.Builder addProcessorVersions(int index, ProcessorVersion value)

The list of processors.

repeated .google.cloud.documentai.v1.ProcessorVersion processor_versions = 1;

Parameters
NameDescription
indexint
valueProcessorVersion
Returns
TypeDescription
ListProcessorVersionsResponse.Builder

addProcessorVersions(int index, ProcessorVersion.Builder builderForValue)

public ListProcessorVersionsResponse.Builder addProcessorVersions(int index, ProcessorVersion.Builder builderForValue)

The list of processors.

repeated .google.cloud.documentai.v1.ProcessorVersion processor_versions = 1;

Parameters
NameDescription
indexint
builderForValueProcessorVersion.Builder
Returns
TypeDescription
ListProcessorVersionsResponse.Builder

addProcessorVersionsBuilder()

public ProcessorVersion.Builder addProcessorVersionsBuilder()

The list of processors.

repeated .google.cloud.documentai.v1.ProcessorVersion processor_versions = 1;

Returns
TypeDescription
ProcessorVersion.Builder

addProcessorVersionsBuilder(int index)

public ProcessorVersion.Builder addProcessorVersionsBuilder(int index)

The list of processors.

repeated .google.cloud.documentai.v1.ProcessorVersion processor_versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProcessorVersion.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListProcessorVersionsResponse build()
Returns
TypeDescription
ListProcessorVersionsResponse

buildPartial()

public ListProcessorVersionsResponse buildPartial()
Returns
TypeDescription
ListProcessorVersionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListProcessorVersionsResponse.Builder clearNextPageToken()

Points to the next processor, otherwise empty.

string next_page_token = 2;

Returns
TypeDescription
ListProcessorVersionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProcessorVersions()

public ListProcessorVersionsResponse.Builder clearProcessorVersions()

The list of processors.

repeated .google.cloud.documentai.v1.ProcessorVersion processor_versions = 1;

Returns
TypeDescription
ListProcessorVersionsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListProcessorVersionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListProcessorVersionsResponse

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.

getProcessorVersions(int index)

public ProcessorVersion getProcessorVersions(int index)

The list of processors.

repeated .google.cloud.documentai.v1.ProcessorVersion processor_versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProcessorVersion

getProcessorVersionsBuilder(int index)

public ProcessorVersion.Builder getProcessorVersionsBuilder(int index)

The list of processors.

repeated .google.cloud.documentai.v1.ProcessorVersion processor_versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProcessorVersion.Builder

getProcessorVersionsBuilderList()

public List<ProcessorVersion.Builder> getProcessorVersionsBuilderList()

The list of processors.

repeated .google.cloud.documentai.v1.ProcessorVersion processor_versions = 1;

Returns
TypeDescription
List<Builder>

getProcessorVersionsCount()

public int getProcessorVersionsCount()

The list of processors.

repeated .google.cloud.documentai.v1.ProcessorVersion processor_versions = 1;

Returns
TypeDescription
int

getProcessorVersionsList()

public List<ProcessorVersion> getProcessorVersionsList()

The list of processors.

repeated .google.cloud.documentai.v1.ProcessorVersion processor_versions = 1;

Returns
TypeDescription
List<ProcessorVersion>

getProcessorVersionsOrBuilder(int index)

public ProcessorVersionOrBuilder getProcessorVersionsOrBuilder(int index)

The list of processors.

repeated .google.cloud.documentai.v1.ProcessorVersion processor_versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProcessorVersionOrBuilder

getProcessorVersionsOrBuilderList()

public List<? extends ProcessorVersionOrBuilder> getProcessorVersionsOrBuilderList()

The list of processors.

repeated .google.cloud.documentai.v1.ProcessorVersion processor_versions = 1;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1.ProcessorVersionOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListProcessorVersionsResponse other)

public ListProcessorVersionsResponse.Builder mergeFrom(ListProcessorVersionsResponse other)
Parameter
NameDescription
otherListProcessorVersionsResponse
Returns
TypeDescription
ListProcessorVersionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeProcessorVersions(int index)

public ListProcessorVersionsResponse.Builder removeProcessorVersions(int index)

The list of processors.

repeated .google.cloud.documentai.v1.ProcessorVersion processor_versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListProcessorVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

setProcessorVersions(int index, ProcessorVersion value)

public ListProcessorVersionsResponse.Builder setProcessorVersions(int index, ProcessorVersion value)

The list of processors.

repeated .google.cloud.documentai.v1.ProcessorVersion processor_versions = 1;

Parameters
NameDescription
indexint
valueProcessorVersion
Returns
TypeDescription
ListProcessorVersionsResponse.Builder

setProcessorVersions(int index, ProcessorVersion.Builder builderForValue)

public ListProcessorVersionsResponse.Builder setProcessorVersions(int index, ProcessorVersion.Builder builderForValue)

The list of processors.

repeated .google.cloud.documentai.v1.ProcessorVersion processor_versions = 1;

Parameters
NameDescription
indexint
builderForValueProcessorVersion.Builder
Returns
TypeDescription
ListProcessorVersionsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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