Class ListProcessesResponse.Builder (0.1.0)

public static final class ListProcessesResponse.Builder extends GeneratedMessageV3.Builder<ListProcessesResponse.Builder> implements ListProcessesResponseOrBuilder

Message for response to listing Processes.

Protobuf type google.cloud.visionai.v1.ListProcessesResponse

Static Methods

getDescriptor()

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

Methods

addAllProcesses(Iterable<? extends Process> values)

public ListProcessesResponse.Builder addAllProcesses(Iterable<? extends Process> values)

The list of Processes.

repeated .google.cloud.visionai.v1.Process processes = 1;

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

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addProcesses(Process value)

public ListProcessesResponse.Builder addProcesses(Process value)

The list of Processes.

repeated .google.cloud.visionai.v1.Process processes = 1;

Parameter
Name Description
value Process
Returns
Type Description
ListProcessesResponse.Builder

addProcesses(Process.Builder builderForValue)

public ListProcessesResponse.Builder addProcesses(Process.Builder builderForValue)

The list of Processes.

repeated .google.cloud.visionai.v1.Process processes = 1;

Parameter
Name Description
builderForValue Process.Builder
Returns
Type Description
ListProcessesResponse.Builder

addProcesses(int index, Process value)

public ListProcessesResponse.Builder addProcesses(int index, Process value)

The list of Processes.

repeated .google.cloud.visionai.v1.Process processes = 1;

Parameters
Name Description
index int
value Process
Returns
Type Description
ListProcessesResponse.Builder

addProcesses(int index, Process.Builder builderForValue)

public ListProcessesResponse.Builder addProcesses(int index, Process.Builder builderForValue)

The list of Processes.

repeated .google.cloud.visionai.v1.Process processes = 1;

Parameters
Name Description
index int
builderForValue Process.Builder
Returns
Type Description
ListProcessesResponse.Builder

addProcessesBuilder()

public Process.Builder addProcessesBuilder()

The list of Processes.

repeated .google.cloud.visionai.v1.Process processes = 1;

Returns
Type Description
Process.Builder

addProcessesBuilder(int index)

public Process.Builder addProcessesBuilder(int index)

The list of Processes.

repeated .google.cloud.visionai.v1.Process processes = 1;

Parameter
Name Description
index int
Returns
Type Description
Process.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListProcessesResponse build()
Returns
Type Description
ListProcessesResponse

buildPartial()

public ListProcessesResponse buildPartial()
Returns
Type Description
ListProcessesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListProcessesResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListProcessesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProcesses()

public ListProcessesResponse.Builder clearProcesses()

The list of Processes.

repeated .google.cloud.visionai.v1.Process processes = 1;

Returns
Type Description
ListProcessesResponse.Builder

clearUnreachable()

public ListProcessesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListProcessesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListProcessesResponse getDefaultInstanceForType()
Returns
Type Description
ListProcessesResponse

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.

getProcesses(int index)

public Process getProcesses(int index)

The list of Processes.

repeated .google.cloud.visionai.v1.Process processes = 1;

Parameter
Name Description
index int
Returns
Type Description
Process

getProcessesBuilder(int index)

public Process.Builder getProcessesBuilder(int index)

The list of Processes.

repeated .google.cloud.visionai.v1.Process processes = 1;

Parameter
Name Description
index int
Returns
Type Description
Process.Builder

getProcessesBuilderList()

public List<Process.Builder> getProcessesBuilderList()

The list of Processes.

repeated .google.cloud.visionai.v1.Process processes = 1;

Returns
Type Description
List<Builder>

getProcessesCount()

public int getProcessesCount()

The list of Processes.

repeated .google.cloud.visionai.v1.Process processes = 1;

Returns
Type Description
int

getProcessesList()

public List<Process> getProcessesList()

The list of Processes.

repeated .google.cloud.visionai.v1.Process processes = 1;

Returns
Type Description
List<Process>

getProcessesOrBuilder(int index)

public ProcessOrBuilder getProcessesOrBuilder(int index)

The list of Processes.

repeated .google.cloud.visionai.v1.Process processes = 1;

Parameter
Name Description
index int
Returns
Type Description
ProcessOrBuilder

getProcessesOrBuilderList()

public List<? extends ProcessOrBuilder> getProcessesOrBuilderList()

The list of Processes.

repeated .google.cloud.visionai.v1.Process processes = 1;

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

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(ListProcessesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeProcesses(int index)

public ListProcessesResponse.Builder removeProcesses(int index)

The list of Processes.

repeated .google.cloud.visionai.v1.Process processes = 1;

Parameter
Name Description
index int
Returns
Type Description
ListProcessesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

setProcesses(int index, Process value)

public ListProcessesResponse.Builder setProcesses(int index, Process value)

The list of Processes.

repeated .google.cloud.visionai.v1.Process processes = 1;

Parameters
Name Description
index int
value Process
Returns
Type Description
ListProcessesResponse.Builder

setProcesses(int index, Process.Builder builderForValue)

public ListProcessesResponse.Builder setProcesses(int index, Process.Builder builderForValue)

The list of Processes.

repeated .google.cloud.visionai.v1.Process processes = 1;

Parameters
Name Description
index int
builderForValue Process.Builder
Returns
Type Description
ListProcessesResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.