public static final class ListDataStoresResponse.Builder extends GeneratedMessage.Builder<ListDataStoresResponse.Builder> implements ListDataStoresResponseOrBuilderResponse message for DataStoreService.ListDataStores method.
Protobuf type google.cloud.discoveryengine.v1alpha.ListDataStoresResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListDataStoresResponse.BuilderImplements
ListDataStoresResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDataStores(Iterable<? extends DataStore> values)
public ListDataStoresResponse.Builder addAllDataStores(Iterable<? extends DataStore> values)All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.discoveryengine.v1alpha.DataStore> |
| Returns | |
|---|---|
| Type | Description |
ListDataStoresResponse.Builder |
|
addDataStores(DataStore value)
public ListDataStoresResponse.Builder addDataStores(DataStore value)All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
DataStore |
| Returns | |
|---|---|
| Type | Description |
ListDataStoresResponse.Builder |
|
addDataStores(DataStore.Builder builderForValue)
public ListDataStoresResponse.Builder addDataStores(DataStore.Builder builderForValue)All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DataStore.Builder |
| Returns | |
|---|---|
| Type | Description |
ListDataStoresResponse.Builder |
|
addDataStores(int index, DataStore value)
public ListDataStoresResponse.Builder addDataStores(int index, DataStore value)All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DataStore |
| Returns | |
|---|---|
| Type | Description |
ListDataStoresResponse.Builder |
|
addDataStores(int index, DataStore.Builder builderForValue)
public ListDataStoresResponse.Builder addDataStores(int index, DataStore.Builder builderForValue)All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DataStore.Builder |
| Returns | |
|---|---|
| Type | Description |
ListDataStoresResponse.Builder |
|
addDataStoresBuilder()
public DataStore.Builder addDataStoresBuilder()All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
|
addDataStoresBuilder(int index)
public DataStore.Builder addDataStoresBuilder(int index)All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
|
build()
public ListDataStoresResponse build()| Returns | |
|---|---|
| Type | Description |
ListDataStoresResponse |
|
buildPartial()
public ListDataStoresResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListDataStoresResponse |
|
clear()
public ListDataStoresResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListDataStoresResponse.Builder |
|
clearDataStores()
public ListDataStoresResponse.Builder clearDataStores()All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;
| Returns | |
|---|---|
| Type | Description |
ListDataStoresResponse.Builder |
|
clearNextPageToken()
public ListDataStoresResponse.Builder clearNextPageToken()A token that can be sent as ListDataStoresRequest.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 |
ListDataStoresResponse.Builder |
This builder for chaining. |
getDataStores(int index)
public DataStore getDataStores(int index)All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DataStore |
|
getDataStoresBuilder(int index)
public DataStore.Builder getDataStoresBuilder(int index)All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
|
getDataStoresBuilderList()
public List<DataStore.Builder> getDataStoresBuilderList()All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getDataStoresCount()
public int getDataStoresCount()All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getDataStoresList()
public List<DataStore> getDataStoresList()All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;
| Returns | |
|---|---|
| Type | Description |
List<DataStore> |
|
getDataStoresOrBuilder(int index)
public DataStoreOrBuilder getDataStoresOrBuilder(int index)All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DataStoreOrBuilder |
|
getDataStoresOrBuilderList()
public List<? extends DataStoreOrBuilder> getDataStoresOrBuilderList()All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.discoveryengine.v1alpha.DataStoreOrBuilder> |
|
getDefaultInstanceForType()
public ListDataStoresResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListDataStoresResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken()A token that can be sent as ListDataStoresRequest.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 that can be sent as ListDataStoresRequest.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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListDataStoresResponse other)
public ListDataStoresResponse.Builder mergeFrom(ListDataStoresResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListDataStoresResponse |
| Returns | |
|---|---|
| Type | Description |
ListDataStoresResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListDataStoresResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListDataStoresResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListDataStoresResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListDataStoresResponse.Builder |
|
removeDataStores(int index)
public ListDataStoresResponse.Builder removeDataStores(int index)All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListDataStoresResponse.Builder |
|
setDataStores(int index, DataStore value)
public ListDataStoresResponse.Builder setDataStores(int index, DataStore value)All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DataStore |
| Returns | |
|---|---|
| Type | Description |
ListDataStoresResponse.Builder |
|
setDataStores(int index, DataStore.Builder builderForValue)
public ListDataStoresResponse.Builder setDataStores(int index, DataStore.Builder builderForValue)All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1alpha.DataStore data_stores = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DataStore.Builder |
| Returns | |
|---|---|
| Type | Description |
ListDataStoresResponse.Builder |
|
setNextPageToken(String value)
public ListDataStoresResponse.Builder setNextPageToken(String value)A token that can be sent as ListDataStoresRequest.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 |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListDataStoresResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListDataStoresResponse.Builder setNextPageTokenBytes(ByteString value)A token that can be sent as ListDataStoresRequest.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 |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListDataStoresResponse.Builder |
This builder for chaining. |