Class ListOperatorsResponse.Builder (0.2.0)

public static final class ListOperatorsResponse.Builder extends GeneratedMessageV3.Builder<ListOperatorsResponse.Builder> implements ListOperatorsResponseOrBuilder

Message for response to listing Operators.

Protobuf type google.cloud.visionai.v1.ListOperatorsResponse

Static Methods

getDescriptor()

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

Methods

addAllOperators(Iterable<? extends Operator> values)

public ListOperatorsResponse.Builder addAllOperators(Iterable<? extends Operator> values)

The list of Operator

repeated .google.cloud.visionai.v1.Operator operators = 1;

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

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addOperators(Operator value)

public ListOperatorsResponse.Builder addOperators(Operator value)

The list of Operator

repeated .google.cloud.visionai.v1.Operator operators = 1;

Parameter
Name Description
value Operator
Returns
Type Description
ListOperatorsResponse.Builder

addOperators(Operator.Builder builderForValue)

public ListOperatorsResponse.Builder addOperators(Operator.Builder builderForValue)

The list of Operator

repeated .google.cloud.visionai.v1.Operator operators = 1;

Parameter
Name Description
builderForValue Operator.Builder
Returns
Type Description
ListOperatorsResponse.Builder

addOperators(int index, Operator value)

public ListOperatorsResponse.Builder addOperators(int index, Operator value)

The list of Operator

repeated .google.cloud.visionai.v1.Operator operators = 1;

Parameters
Name Description
index int
value Operator
Returns
Type Description
ListOperatorsResponse.Builder

addOperators(int index, Operator.Builder builderForValue)

public ListOperatorsResponse.Builder addOperators(int index, Operator.Builder builderForValue)

The list of Operator

repeated .google.cloud.visionai.v1.Operator operators = 1;

Parameters
Name Description
index int
builderForValue Operator.Builder
Returns
Type Description
ListOperatorsResponse.Builder

addOperatorsBuilder()

public Operator.Builder addOperatorsBuilder()

The list of Operator

repeated .google.cloud.visionai.v1.Operator operators = 1;

Returns
Type Description
Operator.Builder

addOperatorsBuilder(int index)

public Operator.Builder addOperatorsBuilder(int index)

The list of Operator

repeated .google.cloud.visionai.v1.Operator operators = 1;

Parameter
Name Description
index int
Returns
Type Description
Operator.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListOperatorsResponse build()
Returns
Type Description
ListOperatorsResponse

buildPartial()

public ListOperatorsResponse buildPartial()
Returns
Type Description
ListOperatorsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListOperatorsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListOperatorsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperators()

public ListOperatorsResponse.Builder clearOperators()

The list of Operator

repeated .google.cloud.visionai.v1.Operator operators = 1;

Returns
Type Description
ListOperatorsResponse.Builder

clearUnreachable()

public ListOperatorsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListOperatorsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListOperatorsResponse getDefaultInstanceForType()
Returns
Type Description
ListOperatorsResponse

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.

getOperators(int index)

public Operator getOperators(int index)

The list of Operator

repeated .google.cloud.visionai.v1.Operator operators = 1;

Parameter
Name Description
index int
Returns
Type Description
Operator

getOperatorsBuilder(int index)

public Operator.Builder getOperatorsBuilder(int index)

The list of Operator

repeated .google.cloud.visionai.v1.Operator operators = 1;

Parameter
Name Description
index int
Returns
Type Description
Operator.Builder

getOperatorsBuilderList()

public List<Operator.Builder> getOperatorsBuilderList()

The list of Operator

repeated .google.cloud.visionai.v1.Operator operators = 1;

Returns
Type Description
List<Builder>

getOperatorsCount()

public int getOperatorsCount()

The list of Operator

repeated .google.cloud.visionai.v1.Operator operators = 1;

Returns
Type Description
int

getOperatorsList()

public List<Operator> getOperatorsList()

The list of Operator

repeated .google.cloud.visionai.v1.Operator operators = 1;

Returns
Type Description
List<Operator>

getOperatorsOrBuilder(int index)

public OperatorOrBuilder getOperatorsOrBuilder(int index)

The list of Operator

repeated .google.cloud.visionai.v1.Operator operators = 1;

Parameter
Name Description
index int
Returns
Type Description
OperatorOrBuilder

getOperatorsOrBuilderList()

public List<? extends OperatorOrBuilder> getOperatorsOrBuilderList()

The list of Operator

repeated .google.cloud.visionai.v1.Operator operators = 1;

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeOperators(int index)

public ListOperatorsResponse.Builder removeOperators(int index)

The list of Operator

repeated .google.cloud.visionai.v1.Operator operators = 1;

Parameter
Name Description
index int
Returns
Type Description
ListOperatorsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

setOperators(int index, Operator value)

public ListOperatorsResponse.Builder setOperators(int index, Operator value)

The list of Operator

repeated .google.cloud.visionai.v1.Operator operators = 1;

Parameters
Name Description
index int
value Operator
Returns
Type Description
ListOperatorsResponse.Builder

setOperators(int index, Operator.Builder builderForValue)

public ListOperatorsResponse.Builder setOperators(int index, Operator.Builder builderForValue)

The list of Operator

repeated .google.cloud.visionai.v1.Operator operators = 1;

Parameters
Name Description
index int
builderForValue Operator.Builder
Returns
Type Description
ListOperatorsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.