public static final class ListIndexesResponse.Builder extends GeneratedMessageV3.Builder<ListIndexesResponse.Builder> implements ListIndexesResponseOrBuilder
Response message for ListIndexes.
Protobuf type google.cloud.visionai.v1.ListIndexesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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
|
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;
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
|
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;
addIndexesBuilder()
public Index.Builder addIndexesBuilder()
The indexes under the specified corpus.
repeated .google.cloud.visionai.v1.Index indexes = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListIndexesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListIndexesResponse build()
buildPartial()
public ListIndexesResponse buildPartial()
clear()
public ListIndexesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListIndexesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIndexes()
public ListIndexesResponse.Builder clearIndexes()
The indexes under the specified corpus.
repeated .google.cloud.visionai.v1.Index indexes = 1;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListIndexesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListIndexesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListIndexesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
getIndexesBuilderList()
public List<Index.Builder> getIndexesBuilderList()
The indexes under the specified corpus.
repeated .google.cloud.visionai.v1.Index indexes = 1;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListIndexesResponse other)
public ListIndexesResponse.Builder mergeFrom(ListIndexesResponse other)
public ListIndexesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListIndexesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListIndexesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListIndexesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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;
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListIndexesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListIndexesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides