Class FetchProcessorTypesResponse.Builder (2.12.0)

public static final class FetchProcessorTypesResponse.Builder extends GeneratedMessageV3.Builder<FetchProcessorTypesResponse.Builder> implements FetchProcessorTypesResponseOrBuilder

Response message for fetch processor types.

Protobuf type google.cloud.documentai.v1beta3.FetchProcessorTypesResponse

Static Methods

getDescriptor()

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

Methods

addAllProcessorTypes(Iterable<? extends ProcessorType> values)

public FetchProcessorTypesResponse.Builder addAllProcessorTypes(Iterable<? extends ProcessorType> values)

The list of processor types.

repeated .google.cloud.documentai.v1beta3.ProcessorType processor_types = 1;

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

addProcessorTypes(ProcessorType value)

public FetchProcessorTypesResponse.Builder addProcessorTypes(ProcessorType value)

The list of processor types.

repeated .google.cloud.documentai.v1beta3.ProcessorType processor_types = 1;

Parameter
NameDescription
valueProcessorType
Returns
TypeDescription
FetchProcessorTypesResponse.Builder

addProcessorTypes(ProcessorType.Builder builderForValue)

public FetchProcessorTypesResponse.Builder addProcessorTypes(ProcessorType.Builder builderForValue)

The list of processor types.

repeated .google.cloud.documentai.v1beta3.ProcessorType processor_types = 1;

Parameter
NameDescription
builderForValueProcessorType.Builder
Returns
TypeDescription
FetchProcessorTypesResponse.Builder

addProcessorTypes(int index, ProcessorType value)

public FetchProcessorTypesResponse.Builder addProcessorTypes(int index, ProcessorType value)

The list of processor types.

repeated .google.cloud.documentai.v1beta3.ProcessorType processor_types = 1;

Parameters
NameDescription
indexint
valueProcessorType
Returns
TypeDescription
FetchProcessorTypesResponse.Builder