Class ListPrebuiltProcessorsResponse.Builder (0.12.0)

public static final class ListPrebuiltProcessorsResponse.Builder extends GeneratedMessageV3.Builder<ListPrebuiltProcessorsResponse.Builder> implements ListPrebuiltProcessorsResponseOrBuilder

Response Message for listing Prebuilt Processors.

Protobuf type google.cloud.visionai.v1.ListPrebuiltProcessorsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllProcessors(Iterable<? extends Processor> values)

public ListPrebuiltProcessorsResponse.Builder addAllProcessors(Iterable<? extends Processor> values)

The list of Processor.

repeated .google.cloud.visionai.v1.Processor processors = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.Processor>
Returns
Type Description
ListPrebuiltProcessorsResponse.Builder

addProcessors(Processor value)

public ListPrebuiltProcessorsResponse.Builder addProcessors(Processor value)

The list of Processor.

repeated .google.cloud.visionai.v1.Processor processors = 1;

Parameter
Name Description
value Processor
Returns
Type Description
ListPrebuiltProcessorsResponse.Builder

addProcessors(Processor.Builder builderForValue)

public ListPrebuiltProcessorsResponse.Builder addProcessors(Processor.Builder builderForValue)

The list of Processor.

repeated .google.cloud.visionai.v1.Processor processors = 1;

Parameter
Name Description
builderForValue Processor.Builder
Returns
Type Description
ListPrebuiltProcessorsResponse.Builder

addProcessors(int index, Processor value)

public ListPrebuiltProcessorsResponse.Builder addProcessors(int index, Processor value)

The list of Processor.

repeated .google.cloud.visionai.v1.Processor processors = 1;

Parameters
Name Description
index int
value Processor
Returns
Type Description
ListPrebuiltProcessorsResponse.Builder

addProcessors(int index, Processor.Builder builderForValue)

public ListPrebuiltProcessorsResponse.Builder addProcessors(int index, Processor.Builder builderForValue)

The list of Processor.

repeated .google.cloud.visionai.v1.Processor processors = 1;

Parameters
Name Description
index int
builderForValue Processor.Builder
Returns
Type Description
ListPrebuiltProcessorsResponse.Builder

addProcessorsBuilder()

public Processor.Builder addProcessorsBuilder()

The list of Processor.

repeated .google.cloud.visionai.v1.Processor processors = 1;

Returns
Type Description
Processor.Builder

addProcessorsBuilder(int index)

public Processor.Builder addProcessorsBuilder(int index)

The list of Processor.

repeated .google.cloud.visionai.v1.Processor processors = 1;

Parameter
Name Description
index int
Returns
Type Description
Processor.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListPrebuiltProcessorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListPrebuiltProcessorsResponse.Builder
Overrides

build()

public ListPrebuiltProcessorsResponse build()
Returns
Type Description
ListPrebuiltProcessorsResponse

buildPartial()

public ListPrebuiltProcessorsResponse buildPartial()
Returns
Type Description
ListPrebuiltProcessorsResponse

clear()

public ListPrebuiltProcessorsResponse.Builder clear()
Returns
Type Description
ListPrebuiltProcessorsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListPrebuiltProcessorsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListPrebuiltProcessorsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListPrebuiltProcessorsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListPrebuiltProcessorsResponse.Builder
Overrides

clearProcessors()

public ListPrebuiltProcessorsResponse.Builder clearProcessors()

The list of Processor.

repeated .google.cloud.visionai.v1.Processor processors = 1;

Returns
Type Description
ListPrebuiltProcessorsResponse.Builder

clone()

public ListPrebuiltProcessorsResponse.Builder clone()
Returns
Type Description
ListPrebuiltProcessorsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListPrebuiltProcessorsResponse getDefaultInstanceForType()
Returns
Type Description
ListPrebuiltProcessorsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProcessors(int index)

public Processor getProcessors(int index)

The list of Processor.

repeated .google.cloud.visionai.v1.Processor processors = 1;

Parameter
Name Description
index int
Returns
Type Description
Processor

getProcessorsBuilder(int index)

public Processor.Builder getProcessorsBuilder(int index)

The list of Processor.

repeated .google.cloud.visionai.v1.Processor processors = 1;

Parameter
Name Description
index int
Returns
Type Description
Processor.Builder

getProcessorsBuilderList()

public List<Processor.Builder> getProcessorsBuilderList()

The list of Processor.

repeated .google.cloud.visionai.v1.Processor processors = 1;

Returns
Type Description
List<Builder>

getProcessorsCount()

public int getProcessorsCount()

The list of Processor.

repeated .google.cloud.visionai.v1.Processor processors = 1;

Returns
Type Description
int

getProcessorsList()

public List<Processor> getProcessorsList()

The list of Processor.

repeated .google.cloud.visionai.v1.Processor processors = 1;

Returns
Type Description
List<Processor>

getProcessorsOrBuilder(int index)

public ProcessorOrBuilder getProcessorsOrBuilder(int index)

The list of Processor.

repeated .google.cloud.visionai.v1.Processor processors = 1;

Parameter
Name Description
index int
Returns
Type Description
ProcessorOrBuilder

getProcessorsOrBuilderList()

public List<? extends ProcessorOrBuilder> getProcessorsOrBuilderList()

The list of Processor.

repeated .google.cloud.visionai.v1.Processor processors = 1;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.ProcessorOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPrebuiltProcessorsResponse other)

public ListPrebuiltProcessorsResponse.Builder mergeFrom(ListPrebuiltProcessorsResponse other)
Parameter
Name Description
other ListPrebuiltProcessorsResponse
Returns
Type Description
ListPrebuiltProcessorsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListPrebuiltProcessorsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListPrebuiltProcessorsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListPrebuiltProcessorsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListPrebuiltProcessorsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListPrebuiltProcessorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListPrebuiltProcessorsResponse.Builder
Overrides

removeProcessors(int index)

public ListPrebuiltProcessorsResponse.Builder removeProcessors(int index)

The list of Processor.

repeated .google.cloud.visionai.v1.Processor processors = 1;

Parameter
Name Description
index int
Returns
Type Description
ListPrebuiltProcessorsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListPrebuiltProcessorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListPrebuiltProcessorsResponse.Builder
Overrides

setProcessors(int index, Processor value)

public ListPrebuiltProcessorsResponse.Builder setProcessors(int index, Processor value)

The list of Processor.

repeated .google.cloud.visionai.v1.Processor processors = 1;

Parameters
Name Description
index int
value Processor
Returns
Type Description
ListPrebuiltProcessorsResponse.Builder

setProcessors(int index, Processor.Builder builderForValue)

public ListPrebuiltProcessorsResponse.Builder setProcessors(int index, Processor.Builder builderForValue)

The list of Processor.

repeated .google.cloud.visionai.v1.Processor processors = 1;

Parameters
Name Description
index int
builderForValue Processor.Builder
Returns
Type Description
ListPrebuiltProcessorsResponse.Builder

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

public ListPrebuiltProcessorsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListPrebuiltProcessorsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListPrebuiltProcessorsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListPrebuiltProcessorsResponse.Builder
Overrides