Class ListDataStoresResponse.Builder (0.51.0)

public static final class ListDataStoresResponse.Builder extends GeneratedMessageV3.Builder<ListDataStoresResponse.Builder> implements ListDataStoresResponseOrBuilder

Response message for DataStoreService.ListDataStores method.

Protobuf type google.cloud.discoveryengine.v1.ListDataStoresResponse

Static 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.v1.DataStore data_stores = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.discoveryengine.v1.DataStore>
Returns
Type Description
ListDataStoresResponse.Builder

addDataStores(DataStore value)

public ListDataStoresResponse.Builder addDataStores(DataStore value)

All the customer's DataStores.

repeated .google.cloud.discoveryengine.v1.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.v1.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.v1.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.v1.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.v1.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.v1.DataStore data_stores = 1;

Parameter
Name Description
index int
Returns
Type Description
DataStore.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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
Overrides

clearDataStores()

public ListDataStoresResponse.Builder clearDataStores()

All the customer's DataStores.

repeated .google.cloud.discoveryengine.v1.DataStore data_stores = 1;

Returns
Type Description
ListDataStoresResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDataStores(int index)

public DataStore getDataStores(int index)

All the customer's DataStores.

repeated .google.cloud.discoveryengine.v1.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.v1.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.v1.DataStore data_stores = 1;

Returns
Type Description
List<Builder>

getDataStoresCount()

public int getDataStoresCount()

All the customer's DataStores.

repeated .google.cloud.discoveryengine.v1.DataStore data_stores = 1;

Returns
Type Description
int

getDataStoresList()

public List<DataStore> getDataStoresList()

All the customer's DataStores.

repeated .google.cloud.discoveryengine.v1.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.v1.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.v1.DataStore data_stores = 1;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1.DataStoreOrBuilder>

getDefaultInstanceForType()

public ListDataStoresResponse getDefaultInstanceForType()
Returns
Type Description
ListDataStoresResponse

getDescriptorForType()

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

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDataStores(int index)

public ListDataStoresResponse.Builder removeDataStores(int index)

All the customer's DataStores.

repeated .google.cloud.discoveryengine.v1.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.v1.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.v1.DataStore data_stores = 1;

Parameters
Name Description
index int
builderForValue DataStore.Builder
Returns
Type Description
ListDataStoresResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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 String

The 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 ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDataStoresResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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