public static final class ListResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListResponse.Builder> implements ListResponseOrBuilder
The response for the `List` operation.Protobuf type
ListResponse| Modifier and Type | Method and Description |
|---|---|
ListResponse.Builder |
addAllVectors(java.lang.Iterable<? extends ListItem> values)
A list of ids
|
ListResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListResponse.Builder |
addVectors(int index,
ListItem.Builder builderForValue)
A list of ids
|
ListResponse.Builder |
addVectors(int index,
ListItem value)
A list of ids
|
ListResponse.Builder |
addVectors(ListItem.Builder builderForValue)
A list of ids
|
ListResponse.Builder |
addVectors(ListItem value)
A list of ids
|
ListItem.Builder |
addVectorsBuilder()
A list of ids
|
ListItem.Builder |
addVectorsBuilder(int index)
A list of ids
|
ListResponse |
build() |
ListResponse |
buildPartial() |
ListResponse.Builder |
clear() |
ListResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListResponse.Builder |
clearNamespace()
The namespace of the vectors.
|
ListResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListResponse.Builder |
clearPagination()
Pagination token to continue past this listing
|
ListResponse.Builder |
clearUsage()
The usage for this operation.
|
ListResponse.Builder |
clearVectors()
A list of ids
|
ListResponse.Builder |
clone() |
ListResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getNamespace()
The namespace of the vectors.
|
com.google.protobuf.ByteString |
getNamespaceBytes()
The namespace of the vectors.
|
Pagination |
getPagination()
Pagination token to continue past this listing
|
Pagination.Builder |
getPaginationBuilder()
Pagination token to continue past this listing
|
PaginationOrBuilder |
getPaginationOrBuilder()
Pagination token to continue past this listing
|
Usage |
getUsage()
The usage for this operation.
|
Usage.Builder |
getUsageBuilder()
The usage for this operation.
|
UsageOrBuilder |
getUsageOrBuilder()
The usage for this operation.
|
ListItem |
getVectors(int index)
A list of ids
|
ListItem.Builder |
getVectorsBuilder(int index)
A list of ids
|
java.util.List<ListItem.Builder> |
getVectorsBuilderList()
A list of ids
|
int |
getVectorsCount()
A list of ids
|
java.util.List<ListItem> |
getVectorsList()
A list of ids
|
ListItemOrBuilder |
getVectorsOrBuilder(int index)
A list of ids
|
java.util.List<? extends ListItemOrBuilder> |
getVectorsOrBuilderList()
A list of ids
|
boolean |
hasPagination()
Pagination token to continue past this listing
|
boolean |
hasUsage()
The usage for this operation.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListResponse.Builder |
mergeFrom(ListResponse other) |
ListResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListResponse.Builder |
mergePagination(Pagination value)
Pagination token to continue past this listing
|
ListResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListResponse.Builder |
mergeUsage(Usage value)
The usage for this operation.
|
ListResponse.Builder |
removeVectors(int index)
A list of ids
|
ListResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListResponse.Builder |
setNamespace(java.lang.String value)
The namespace of the vectors.
|
ListResponse.Builder |
setNamespaceBytes(com.google.protobuf.ByteString value)
The namespace of the vectors.
|
ListResponse.Builder |
setPagination(Pagination.Builder builderForValue)
Pagination token to continue past this listing
|
ListResponse.Builder |
setPagination(Pagination value)
Pagination token to continue past this listing
|
ListResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ListResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListResponse.Builder |
setUsage(Usage.Builder builderForValue)
The usage for this operation.
|
ListResponse.Builder |
setUsage(Usage value)
The usage for this operation.
|
ListResponse.Builder |
setVectors(int index,
ListItem.Builder builderForValue)
A list of ids
|
ListResponse.Builder |
setVectors(int index,
ListItem value)
A list of ids
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListResponse.Builder>public ListResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListResponse.Builder>public ListResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListResponse.Builder>public ListResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListResponse.Builder>public ListResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListResponse.Builder>public ListResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListResponse.Builder>public ListResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListResponse.Builder>public ListResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListResponse.Builder>public ListResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListResponse.Builder>public ListResponse.Builder mergeFrom(ListResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListResponse.Builder>public ListResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListResponse.Builder>java.io.IOExceptionpublic java.util.List<ListItem> getVectorsList()
A list of ids
repeated .ListItem vectors = 1;getVectorsList in interface ListResponseOrBuilderpublic int getVectorsCount()
A list of ids
repeated .ListItem vectors = 1;getVectorsCount in interface ListResponseOrBuilderpublic ListItem getVectors(int index)
A list of ids
repeated .ListItem vectors = 1;getVectors in interface ListResponseOrBuilderpublic ListResponse.Builder setVectors(int index, ListItem value)
A list of ids
repeated .ListItem vectors = 1;public ListResponse.Builder setVectors(int index, ListItem.Builder builderForValue)
A list of ids
repeated .ListItem vectors = 1;public ListResponse.Builder addVectors(ListItem value)
A list of ids
repeated .ListItem vectors = 1;public ListResponse.Builder addVectors(int index, ListItem value)
A list of ids
repeated .ListItem vectors = 1;public ListResponse.Builder addVectors(ListItem.Builder builderForValue)
A list of ids
repeated .ListItem vectors = 1;public ListResponse.Builder addVectors(int index, ListItem.Builder builderForValue)
A list of ids
repeated .ListItem vectors = 1;public ListResponse.Builder addAllVectors(java.lang.Iterable<? extends ListItem> values)
A list of ids
repeated .ListItem vectors = 1;public ListResponse.Builder clearVectors()
A list of ids
repeated .ListItem vectors = 1;public ListResponse.Builder removeVectors(int index)
A list of ids
repeated .ListItem vectors = 1;public ListItem.Builder getVectorsBuilder(int index)
A list of ids
repeated .ListItem vectors = 1;public ListItemOrBuilder getVectorsOrBuilder(int index)
A list of ids
repeated .ListItem vectors = 1;getVectorsOrBuilder in interface ListResponseOrBuilderpublic java.util.List<? extends ListItemOrBuilder> getVectorsOrBuilderList()
A list of ids
repeated .ListItem vectors = 1;getVectorsOrBuilderList in interface ListResponseOrBuilderpublic ListItem.Builder addVectorsBuilder()
A list of ids
repeated .ListItem vectors = 1;public ListItem.Builder addVectorsBuilder(int index)
A list of ids
repeated .ListItem vectors = 1;public java.util.List<ListItem.Builder> getVectorsBuilderList()
A list of ids
repeated .ListItem vectors = 1;public boolean hasPagination()
Pagination token to continue past this listing
optional .Pagination pagination = 2;hasPagination in interface ListResponseOrBuilderpublic Pagination getPagination()
Pagination token to continue past this listing
optional .Pagination pagination = 2;getPagination in interface ListResponseOrBuilderpublic ListResponse.Builder setPagination(Pagination value)
Pagination token to continue past this listing
optional .Pagination pagination = 2;public ListResponse.Builder setPagination(Pagination.Builder builderForValue)
Pagination token to continue past this listing
optional .Pagination pagination = 2;public ListResponse.Builder mergePagination(Pagination value)
Pagination token to continue past this listing
optional .Pagination pagination = 2;public ListResponse.Builder clearPagination()
Pagination token to continue past this listing
optional .Pagination pagination = 2;public Pagination.Builder getPaginationBuilder()
Pagination token to continue past this listing
optional .Pagination pagination = 2;public PaginationOrBuilder getPaginationOrBuilder()
Pagination token to continue past this listing
optional .Pagination pagination = 2;getPaginationOrBuilder in interface ListResponseOrBuilderpublic java.lang.String getNamespace()
The namespace of the vectors.
string namespace = 3;getNamespace in interface ListResponseOrBuilderpublic com.google.protobuf.ByteString getNamespaceBytes()
The namespace of the vectors.
string namespace = 3;getNamespaceBytes in interface ListResponseOrBuilderpublic ListResponse.Builder setNamespace(java.lang.String value)
The namespace of the vectors.
string namespace = 3;value - The namespace to set.public ListResponse.Builder clearNamespace()
The namespace of the vectors.
string namespace = 3;public ListResponse.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
The namespace of the vectors.
string namespace = 3;value - The bytes for namespace to set.public boolean hasUsage()
The usage for this operation.
optional .Usage usage = 4;hasUsage in interface ListResponseOrBuilderpublic Usage getUsage()
The usage for this operation.
optional .Usage usage = 4;getUsage in interface ListResponseOrBuilderpublic ListResponse.Builder setUsage(Usage value)
The usage for this operation.
optional .Usage usage = 4;public ListResponse.Builder setUsage(Usage.Builder builderForValue)
The usage for this operation.
optional .Usage usage = 4;public ListResponse.Builder mergeUsage(Usage value)
The usage for this operation.
optional .Usage usage = 4;public ListResponse.Builder clearUsage()
The usage for this operation.
optional .Usage usage = 4;public Usage.Builder getUsageBuilder()
The usage for this operation.
optional .Usage usage = 4;public UsageOrBuilder getUsageOrBuilder()
The usage for this operation.
optional .Usage usage = 4;getUsageOrBuilder in interface ListResponseOrBuilderpublic final ListResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListResponse.Builder>public final ListResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListResponse.Builder>