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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addDataStores(DataStore value)
public ListDataStoresResponse.Builder addDataStores(DataStore value)
All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1.DataStore data_stores = 1;
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;
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;
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;
addDataStoresBuilder()
public DataStore.Builder addDataStoresBuilder()
All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1.DataStore data_stores = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDataStoresResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListDataStoresResponse build()
buildPartial()
public ListDataStoresResponse buildPartial()
clear()
public ListDataStoresResponse.Builder clear()
Overrides
clearDataStores()
public ListDataStoresResponse.Builder clearDataStores()
All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1.DataStore data_stores = 1;
clearField(Descriptors.FieldDescriptor field)
public ListDataStoresResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDataStoresResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListDataStoresResponse.Builder clone()
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
|
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
|
getDataStoresBuilderList()
public List<DataStore.Builder> getDataStoresBuilderList()
All the customer's DataStores.
repeated .google.cloud.discoveryengine.v1.DataStore data_stores = 1;
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;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListDataStoresResponse other)
public ListDataStoresResponse.Builder mergeFrom(ListDataStoresResponse other)
public ListDataStoresResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListDataStoresResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDataStoresResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListDataStoresResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDataStoresResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDataStoresResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides