Class ListIndexesResponse.Builder (0.10.0)

public static final class ListIndexesResponse.Builder extends GeneratedMessageV3.Builder<ListIndexesResponse.Builder> implements ListIndexesResponseOrBuilder

Response message for ListIndexes.

Protobuf type google.cloud.visionai.v1.ListIndexesResponse

Static Methods

getDescriptor()

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

Methods

addAllIndexes(Iterable<? extends Index> values)

public ListIndexesResponse.Builder addAllIndexes(Iterable<? extends Index> values)

The indexes under the specified corpus.

repeated .google.cloud.visionai.v1.Index indexes = 1;

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

addIndexes(Index value)

public ListIndexesResponse.Builder addIndexes(Index value)

The indexes under the specified corpus.

repeated .google.cloud.visionai.v1.Index indexes = 1;

Parameter
Name Description
value Index
Returns
Type Description
ListIndexesResponse.Builder

addIndexes(Index.Builder builderForValue)

public ListIndexesResponse.Builder addIndexes(Index.Builder builderForValue)

The indexes under the specified corpus.

repeated .google.cloud.visionai.v1.Index indexes = 1;

Parameter
Name Description
builderForValue Index.Builder
Returns
Type Description
ListIndexesResponse.Builder

addIndexes(int index, Index value)

public ListIndexesResponse.Builder addIndexes(int index, Index value)

The indexes under the specified corpus.

repeated .google.cloud.visionai.v1.Index indexes = 1;

Parameters
Name Description
index int
value Index
Returns
Type Description
ListIndexesResponse.Builder

addIndexes(int index, Index.Builder builderForValue)

public ListIndexesResponse.Builder addIndexes(int index, Index.Builder builderForValue)

The indexes under the specified corpus.

repeated .google.cloud.visionai.v1.Index indexes = 1;

Parameters
Name Description
index int
builderForValue Index.Builder
Returns
Type Description
ListIndexesResponse.Builder

addIndexesBuilder()

public Index.Builder addIndexesBuilder()

The indexes under the specified corpus.

repeated .google.cloud.visionai.v1.Index indexes = 1;

Returns
Type Description
Index.Builder

addIndexesBuilder(int index)

public Index.Builder addIndexesBuilder(int index)

The indexes under the specified corpus.

repeated .google.cloud.visionai.v1.Index indexes = 1;

Parameter
Name Description
index int
Returns
Type Description
Index.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListIndexesResponse build()
Returns
Type Description
ListIndexesResponse

buildPartial()

public ListIndexesResponse buildPartial()
Returns
Type Description
ListIndexesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIndexes()

public ListIndexesResponse.Builder clearIndexes()

The indexes under the specified corpus.

repeated .google.cloud.visionai.v1.Index indexes = 1;

Returns
Type Description
ListIndexesResponse.Builder

clearNextPageToken()

public ListIndexesResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListIndexesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListIndexesResponse getDefaultInstanceForType()
Returns
Type Description
ListIndexesResponse

getDescriptorForType()

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

getIndexes(int index)

public Index getIndexes(int index)

The indexes under the specified corpus.

repeated .google.cloud.visionai.v1.Index indexes = 1;

Parameter
Name Description
index int
Returns
Type Description
Index

getIndexesBuilder(int index)

public Index.Builder getIndexesBuilder(int index)

The indexes under the specified corpus.

repeated .google.cloud.visionai.v1.Index indexes = 1;

Parameter
Name Description
index int
Returns
Type Description
Index.Builder

getIndexesBuilderList()

public List<Index.Builder> getIndexesBuilderList()

The indexes under the specified corpus.

repeated .google.cloud.visionai.v1.Index indexes = 1;

Returns
Type Description
List<Builder>

getIndexesCount()

public int getIndexesCount()

The indexes under the specified corpus.

repeated .google.cloud.visionai.v1.Index indexes = 1;

Returns
Type Description
int

getIndexesList()

public List<Index> getIndexesList()

The indexes under the specified corpus.

repeated .google.cloud.visionai.v1.Index indexes = 1;

Returns
Type Description
List<Index>

getIndexesOrBuilder(int index)

public IndexOrBuilder getIndexesOrBuilder(int index)

The indexes under the specified corpus.

repeated .google.cloud.visionai.v1.Index indexes = 1;

Parameter
Name Description
index int
Returns
Type Description
IndexOrBuilder

getIndexesOrBuilderList()

public List<? extends IndexOrBuilder> getIndexesOrBuilderList()

The indexes under the specified corpus.

repeated .google.cloud.visionai.v1.Index indexes = 1;

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListIndexesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeIndexes(int index)

public ListIndexesResponse.Builder removeIndexes(int index)

The indexes under the specified corpus.

repeated .google.cloud.visionai.v1.Index indexes = 1;

Parameter
Name Description
index int
Returns
Type Description
ListIndexesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIndexes(int index, Index value)

public ListIndexesResponse.Builder setIndexes(int index, Index value)

The indexes under the specified corpus.

repeated .google.cloud.visionai.v1.Index indexes = 1;

Parameters
Name Description
index int
value Index
Returns
Type Description
ListIndexesResponse.Builder

setIndexes(int index, Index.Builder builderForValue)

public ListIndexesResponse.Builder setIndexes(int index, Index.Builder builderForValue)

The indexes under the specified corpus.

repeated .google.cloud.visionai.v1.Index indexes = 1;

Parameters
Name Description
index int
builderForValue Index.Builder
Returns
Type Description
ListIndexesResponse.Builder

setNextPageToken(String value)

public ListIndexesResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListIndexesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListIndexesResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListIndexesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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