Class ListDataStoresResponse.Builder (0.35.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.v1alpha.ListDataStoresResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.discoveryengine.v1alpha.DataStore>
Returns
TypeDescription
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
NameDescription
valueDataStore
Returns
TypeDescription
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
NameDescription
builderForValueDataStore.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDataStore
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDataStore.Builder
Returns
TypeDescription
ListDataStoresResponse.Builder

addDataStoresBuilder()

public DataStore.Builder addDataStoresBuilder()

All the customer's DataStores.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DataStore.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListDataStoresResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListDataStoresResponse.Builder
Overrides

build()

public ListDataStoresResponse build()
Returns
TypeDescription
ListDataStoresResponse

buildPartial()

public ListDataStoresResponse buildPartial()
Returns
TypeDescription
ListDataStoresResponse

clear()

public ListDataStoresResponse.Builder clear()
Returns
TypeDescription
ListDataStoresResponse.Builder
Overrides

clearDataStores()

public ListDataStoresResponse.Builder clearDataStores()

All the customer's DataStores.

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

Returns
TypeDescription
ListDataStoresResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListDataStoresResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListDataStoresResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListDataStoresResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListDataStoresResponse.Builder
Overrides

clone()

public ListDataStoresResponse.Builder clone()
Returns
TypeDescription
ListDataStoresResponse.Builder
Overrides

getDataStores(int index)

public DataStore getDataStores(int index)

All the customer's DataStores.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DataStore.Builder

getDataStoresBuilderList()

public List<DataStore.Builder> getDataStoresBuilderList()

All the customer's DataStores.

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

Returns
TypeDescription
List<Builder>

getDataStoresCount()

public int getDataStoresCount()

All the customer's DataStores.

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

Returns
TypeDescription
int

getDataStoresList()

public List<DataStore> getDataStoresList()

All the customer's DataStores.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DataStoreOrBuilder

getDataStoresOrBuilderList()

public List<? extends DataStoreOrBuilder> getDataStoresOrBuilderList()

All the customer's DataStores.

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

Returns
TypeDescription
List<? extends com.google.cloud.discoveryengine.v1alpha.DataStoreOrBuilder>

getDefaultInstanceForType()

public ListDataStoresResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDataStoresResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListDataStoresResponse other)

public ListDataStoresResponse.Builder mergeFrom(ListDataStoresResponse other)
Parameter
NameDescription
otherListDataStoresResponse
Returns
TypeDescription
ListDataStoresResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListDataStoresResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDataStoresResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListDataStoresResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListDataStoresResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDataStoresResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListDataStoresResponse.Builder
Overrides

removeDataStores(int index)

public ListDataStoresResponse.Builder removeDataStores(int index)

All the customer's DataStores.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDataStore
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDataStore.Builder
Returns
TypeDescription
ListDataStoresResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListDataStoresResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListDataStoresResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListDataStoresResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListDataStoresResponse.Builder
Overrides