public static final class ListCollectionsResponse.Builder extends GeneratedMessageV3.Builder<ListCollectionsResponse.Builder> implements ListCollectionsResponseOrBuilderMessage for response to listing Collections
Protobuf type google.cloud.vectorsearch.v1beta.ListCollectionsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListCollectionsResponse.BuilderImplements
ListCollectionsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllCollections(Iterable<? extends Collection> values)
public ListCollectionsResponse.Builder addAllCollections(Iterable<? extends Collection> values)The list of Collection
repeated .google.cloud.vectorsearch.v1beta.Collection collections = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.vectorsearch.v1beta.Collection> |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
addAllUnreachable(Iterable<String> values)
public ListCollectionsResponse.Builder addAllUnreachable(Iterable<String> values)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
This builder for chaining. |
addCollections(Collection value)
public ListCollectionsResponse.Builder addCollections(Collection value)The list of Collection
repeated .google.cloud.vectorsearch.v1beta.Collection collections = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Collection |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
addCollections(Collection.Builder builderForValue)
public ListCollectionsResponse.Builder addCollections(Collection.Builder builderForValue)The list of Collection
repeated .google.cloud.vectorsearch.v1beta.Collection collections = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Collection.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
addCollections(int index, Collection value)
public ListCollectionsResponse.Builder addCollections(int index, Collection value)The list of Collection
repeated .google.cloud.vectorsearch.v1beta.Collection collections = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Collection |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
addCollections(int index, Collection.Builder builderForValue)
public ListCollectionsResponse.Builder addCollections(int index, Collection.Builder builderForValue)The list of Collection
repeated .google.cloud.vectorsearch.v1beta.Collection collections = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Collection.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
addCollectionsBuilder()
public Collection.Builder addCollectionsBuilder()The list of Collection
repeated .google.cloud.vectorsearch.v1beta.Collection collections = 1;
| Returns | |
|---|---|
| Type | Description |
Collection.Builder |
|
addCollectionsBuilder(int index)
public Collection.Builder addCollectionsBuilder(int index)The list of Collection
repeated .google.cloud.vectorsearch.v1beta.Collection collections = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Collection.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCollectionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
addUnreachable(String value)
public ListCollectionsResponse.Builder addUnreachable(String value)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListCollectionsResponse.Builder addUnreachableBytes(ByteString value)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
This builder for chaining. |
build()
public ListCollectionsResponse build()| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse |
|
buildPartial()
public ListCollectionsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse |
|
clear()
public ListCollectionsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
clearCollections()
public ListCollectionsResponse.Builder clearCollections()The list of Collection
repeated .google.cloud.vectorsearch.v1beta.Collection collections = 1;
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public ListCollectionsResponse.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
clearNextPageToken()
public ListCollectionsResponse.Builder clearNextPageToken()A token identifying a page of results the server should return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCollectionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
clearUnreachable()
public ListCollectionsResponse.Builder clearUnreachable()Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
This builder for chaining. |
clone()
public ListCollectionsResponse.Builder clone()| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
getCollections(int index)
public Collection getCollections(int index)The list of Collection
repeated .google.cloud.vectorsearch.v1beta.Collection collections = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Collection |
|
getCollectionsBuilder(int index)
public Collection.Builder getCollectionsBuilder(int index)The list of Collection
repeated .google.cloud.vectorsearch.v1beta.Collection collections = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Collection.Builder |
|
getCollectionsBuilderList()
public List<Collection.Builder> getCollectionsBuilderList()The list of Collection
repeated .google.cloud.vectorsearch.v1beta.Collection collections = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getCollectionsCount()
public int getCollectionsCount()The list of Collection
repeated .google.cloud.vectorsearch.v1beta.Collection collections = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getCollectionsList()
public List<Collection> getCollectionsList()The list of Collection
repeated .google.cloud.vectorsearch.v1beta.Collection collections = 1;
| Returns | |
|---|---|
| Type | Description |
List<Collection> |
|
getCollectionsOrBuilder(int index)
public CollectionOrBuilder getCollectionsOrBuilder(int index)The list of Collection
repeated .google.cloud.vectorsearch.v1beta.Collection collections = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CollectionOrBuilder |
|
getCollectionsOrBuilderList()
public List<? extends CollectionOrBuilder> getCollectionsOrBuilderList()The list of Collection
repeated .google.cloud.vectorsearch.v1beta.Collection collections = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.vectorsearch.v1beta.CollectionOrBuilder> |
|
getDefaultInstanceForType()
public ListCollectionsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getUnreachable(int index)
public String getUnreachable(int index)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListCollectionsResponse other)
public ListCollectionsResponse.Builder mergeFrom(ListCollectionsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListCollectionsResponse |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListCollectionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListCollectionsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCollectionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
removeCollections(int index)
public ListCollectionsResponse.Builder removeCollections(int index)The list of Collection
repeated .google.cloud.vectorsearch.v1beta.Collection collections = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
setCollections(int index, Collection value)
public ListCollectionsResponse.Builder setCollections(int index, Collection value)The list of Collection
repeated .google.cloud.vectorsearch.v1beta.Collection collections = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Collection |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
setCollections(int index, Collection.Builder builderForValue)
public ListCollectionsResponse.Builder setCollections(int index, Collection.Builder builderForValue)The list of Collection
repeated .google.cloud.vectorsearch.v1beta.Collection collections = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Collection.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListCollectionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
setNextPageToken(String value)
public ListCollectionsResponse.Builder setNextPageToken(String value)A token identifying a page of results the server should return.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListCollectionsResponse.Builder setNextPageTokenBytes(ByteString value)A token identifying a page of results the server should return.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListCollectionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCollectionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
|
setUnreachable(int index, String value)
public ListCollectionsResponse.Builder setUnreachable(int index, String value)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe unreachable to set. |
| Returns | |
|---|---|
| Type | Description |
ListCollectionsResponse.Builder |
This builder for chaining. |