Class ListProcessorsResponse.Builder (0.1.0)

public static final class ListProcessorsResponse.Builder extends GeneratedMessageV3.Builder<ListProcessorsResponse.Builder> implements ListProcessorsResponseOrBuilder

Message for response to listing Processors.

Protobuf type google.cloud.visionai.v1.ListProcessorsResponse

Static Methods

getDescriptor()

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

Methods

addAllProcessors(Iterable<? extends Processor> values)

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

addAllUnreachable(Iterable<String> values)

public ListProcessorsResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListProcessorsResponse.Builder

This builder for chaining.

addProcessors(Processor value)

public ListProcessorsResponse.Builder addProcessors(Processor value)

The list of Processor.

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

Parameter
Name Description
value Processor
Returns
Type Description
ListProcessorsResponse.Builder

addProcessors(Processor.Builder builderForValue)

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

addProcessors(int index, Processor value)

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

addProcessors(int index, Processor.Builder builderForValue)

public ListProcessorsResponse.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
ListProcessorsResponse.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 ListProcessorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListProcessorsResponse.Builder
Overrides

addUnreachable(String value)

public ListProcessorsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListProcessorsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListProcessorsResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListProcessorsResponse.Builder

This builder for chaining.

build()

public ListProcessorsResponse build()
Returns
Type Description
ListProcessorsResponse

buildPartial()

public ListProcessorsResponse buildPartial()
Returns
Type Description
ListProcessorsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListProcessorsResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ListProcessorsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProcessors()

public ListProcessorsResponse.Builder clearProcessors()

The list of Processor.

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

Returns
Type Description
ListProcessorsResponse.Builder

clearUnreachable()

public ListProcessorsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListProcessorsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListProcessorsResponse getDefaultInstanceForType()
Returns
Type Description
ListProcessorsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

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>

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListProcessorsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeProcessors(int index)

public ListProcessorsResponse.Builder removeProcessors(int index)

The list of Processor.

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

Parameter
Name Description
index int
Returns
Type Description
ListProcessorsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListProcessorsResponse.Builder setNextPageToken(String value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListProcessorsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListProcessorsResponse.Builder setNextPageTokenBytes(ByteString value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListProcessorsResponse.Builder

This builder for chaining.

setProcessors(int index, Processor value)

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

setProcessors(int index, Processor.Builder builderForValue)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListProcessorsResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListProcessorsResponse.Builder

This builder for chaining.