Class FetchProcessorTypesResponse.Builder (2.7.3)

Stay organized with collections Save and categorize content based on your preferences.
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

addProcessorTypes(int index, ProcessorType.Builder builderForValue)

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

The list of processor types.

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

Parameters
NameDescription
indexint
builderForValueProcessorType.Builder
Returns
TypeDescription
FetchProcessorTypesResponse.Builder

addProcessorTypesBuilder()

public ProcessorType.Builder addProcessorTypesBuilder()

The list of processor types.

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

Returns
TypeDescription
ProcessorType.Builder

addProcessorTypesBuilder(int index)

public ProcessorType.Builder addProcessorTypesBuilder(int index)

The list of processor types.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ProcessorType.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchProcessorTypesResponse build()
Returns
TypeDescription
FetchProcessorTypesResponse

buildPartial()

public FetchProcessorTypesResponse buildPartial()
Returns
TypeDescription
FetchProcessorTypesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProcessorTypes()

public FetchProcessorTypesResponse.Builder clearProcessorTypes()

The list of processor types.

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

Returns
TypeDescription
FetchProcessorTypesResponse.Builder

clone()

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

getDefaultInstanceForType()

public FetchProcessorTypesResponse getDefaultInstanceForType()
Returns
TypeDescription
FetchProcessorTypesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProcessorTypes(int index)

public ProcessorType getProcessorTypes(int index)

The list of processor types.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ProcessorType

getProcessorTypesBuilder(int index)

public ProcessorType.Builder getProcessorTypesBuilder(int index)

The list of processor types.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ProcessorType.Builder

getProcessorTypesBuilderList()

public List<ProcessorType.Builder> getProcessorTypesBuilderList()

The list of processor types.

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

Returns
TypeDescription
List<Builder>

getProcessorTypesCount()

public int getProcessorTypesCount()

The list of processor types.

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

Returns
TypeDescription
int

getProcessorTypesList()

public List<ProcessorType> getProcessorTypesList()

The list of processor types.

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

Returns
TypeDescription
List<ProcessorType>

getProcessorTypesOrBuilder(int index)

public ProcessorTypeOrBuilder getProcessorTypesOrBuilder(int index)

The list of processor types.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ProcessorTypeOrBuilder

getProcessorTypesOrBuilderList()

public List<? extends ProcessorTypeOrBuilder> getProcessorTypesOrBuilderList()

The list of processor types.

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

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta3.ProcessorTypeOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FetchProcessorTypesResponse other)

public FetchProcessorTypesResponse.Builder mergeFrom(FetchProcessorTypesResponse other)
Parameter
NameDescription
otherFetchProcessorTypesResponse
Returns
TypeDescription
FetchProcessorTypesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeProcessorTypes(int index)

public FetchProcessorTypesResponse.Builder removeProcessorTypes(int index)

The list of processor types.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FetchProcessorTypesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setProcessorTypes(int index, ProcessorType value)

public FetchProcessorTypesResponse.Builder setProcessorTypes(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

setProcessorTypes(int index, ProcessorType.Builder builderForValue)

public FetchProcessorTypesResponse.Builder setProcessorTypes(int index, ProcessorType.Builder builderForValue)

The list of processor types.

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

Parameters
NameDescription
indexint
builderForValueProcessorType.Builder
Returns
TypeDescription
FetchProcessorTypesResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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