Class ListPublicOperatorsResponse.Builder (0.2.0)

public static final class ListPublicOperatorsResponse.Builder extends GeneratedMessageV3.Builder<ListPublicOperatorsResponse.Builder> implements ListPublicOperatorsResponseOrBuilder

Response message of ListPublicOperators API.

Protobuf type google.cloud.visionai.v1.ListPublicOperatorsResponse

Static Methods

getDescriptor()

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

Methods

addAllOperators(Iterable<? extends Operator> values)

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

addOperators(Operator value)

public ListPublicOperatorsResponse.Builder addOperators(Operator value)

The list of Operator

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

Parameter
Name Description
value Operator
Returns
Type Description
ListPublicOperatorsResponse.Builder

addOperators(Operator.Builder builderForValue)

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

addOperators(int index, Operator value)

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

addOperators(int index, Operator.Builder builderForValue)

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

build()

public ListPublicOperatorsResponse build()
Returns
Type Description
ListPublicOperatorsResponse

buildPartial()

public ListPublicOperatorsResponse buildPartial()
Returns
Type Description
ListPublicOperatorsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListPublicOperatorsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListPublicOperatorsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperators()

public ListPublicOperatorsResponse.Builder clearOperators()

The list of Operator

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

Returns
Type Description
ListPublicOperatorsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListPublicOperatorsResponse getDefaultInstanceForType()
Returns
Type Description
ListPublicOperatorsResponse

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>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPublicOperatorsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeOperators(int index)

public ListPublicOperatorsResponse.Builder removeOperators(int index)

The list of Operator

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

Parameter
Name Description
index int
Returns
Type Description
ListPublicOperatorsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

setOperators(int index, Operator value)

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

setOperators(int index, Operator.Builder builderForValue)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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