public static final class ListConversationDatasetsResponse.Builder extends GeneratedMessageV3.Builder<ListConversationDatasetsResponse.Builder> implements ListConversationDatasetsResponseOrBuilder
The response message for
ConversationDatasets.ListConversationDatasets.
Protobuf type google.cloud.dialogflow.v2.ListConversationDatasetsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllConversationDatasets(Iterable<? extends ConversationDataset> values)
public ListConversationDatasetsResponse.Builder addAllConversationDatasets(Iterable<? extends ConversationDataset> values)
The list of datasets to return.
repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.v2.ConversationDataset>
|
Returns
addConversationDatasets(ConversationDataset value)
public ListConversationDatasetsResponse.Builder addConversationDatasets(ConversationDataset value)
The list of datasets to return.
repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;
Parameter
Returns
addConversationDatasets(ConversationDataset.Builder builderForValue)
public ListConversationDatasetsResponse.Builder addConversationDatasets(ConversationDataset.Builder builderForValue)
The list of datasets to return.
repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;
Parameter
Returns
addConversationDatasets(int index, ConversationDataset value)
public ListConversationDatasetsResponse.Builder addConversationDatasets(int index, ConversationDataset value)
The list of datasets to return.
repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;
Parameters
Returns
addConversationDatasets(int index, ConversationDataset.Builder builderForValue)
public ListConversationDatasetsResponse.Builder addConversationDatasets(int index, ConversationDataset.Builder builderForValue)
The list of datasets to return.
repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;
Parameters
Returns
addConversationDatasetsBuilder()
public ConversationDataset.Builder addConversationDatasetsBuilder()
The list of datasets to return.
repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;
Returns
addConversationDatasetsBuilder(int index)
public ConversationDataset.Builder addConversationDatasetsBuilder(int index)
The list of datasets to return.
repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListConversationDatasetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListConversationDatasetsResponse build()
Returns
buildPartial()
public ListConversationDatasetsResponse buildPartial()
Returns
clear()
public ListConversationDatasetsResponse.Builder clear()
Returns
Overrides
clearConversationDatasets()
public ListConversationDatasetsResponse.Builder clearConversationDatasets()
The list of datasets to return.
repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListConversationDatasetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListConversationDatasetsResponse.Builder clearNextPageToken()
The token to use to retrieve the next page of results, or empty if there
are no more results in the list.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListConversationDatasetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListConversationDatasetsResponse.Builder clone()
Returns
Overrides
getConversationDatasets(int index)
public ConversationDataset getConversationDatasets(int index)
The list of datasets to return.
repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;
Parameter
Returns
getConversationDatasetsBuilder(int index)
public ConversationDataset.Builder getConversationDatasetsBuilder(int index)
The list of datasets to return.
repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;
Parameter
Returns
getConversationDatasetsBuilderList()
public List<ConversationDataset.Builder> getConversationDatasetsBuilderList()
The list of datasets to return.
repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;
Returns
getConversationDatasetsCount()
public int getConversationDatasetsCount()
The list of datasets to return.
repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;
Returns
getConversationDatasetsList()
public List<ConversationDataset> getConversationDatasetsList()
The list of datasets to return.
repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;
Returns
getConversationDatasetsOrBuilder(int index)
public ConversationDatasetOrBuilder getConversationDatasetsOrBuilder(int index)
The list of datasets to return.
repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;
Parameter
Returns
getConversationDatasetsOrBuilderList()
public List<? extends ConversationDatasetOrBuilder> getConversationDatasetsOrBuilderList()
The list of datasets to return.
repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;
Returns
Type | Description |
List<? extends com.google.cloud.dialogflow.v2.ConversationDatasetOrBuilder> | |
getDefaultInstanceForType()
public ListConversationDatasetsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
The token to use to retrieve the next page of results, or empty if there
are no more results in the list.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
The token to use to retrieve the next page of results, or empty if there
are no more results in the list.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListConversationDatasetsResponse other)
public ListConversationDatasetsResponse.Builder mergeFrom(ListConversationDatasetsResponse other)
Parameter
Returns
public ListConversationDatasetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListConversationDatasetsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListConversationDatasetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeConversationDatasets(int index)
public ListConversationDatasetsResponse.Builder removeConversationDatasets(int index)
The list of datasets to return.
repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;
Parameter
Returns
setConversationDatasets(int index, ConversationDataset value)
public ListConversationDatasetsResponse.Builder setConversationDatasets(int index, ConversationDataset value)
The list of datasets to return.
repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;
Parameters
Returns
setConversationDatasets(int index, ConversationDataset.Builder builderForValue)
public ListConversationDatasetsResponse.Builder setConversationDatasets(int index, ConversationDataset.Builder builderForValue)
The list of datasets to return.
repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListConversationDatasetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListConversationDatasetsResponse.Builder setNextPageToken(String value)
The token to use to retrieve the next page of results, or empty if there
are no more results in the list.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListConversationDatasetsResponse.Builder setNextPageTokenBytes(ByteString value)
The token to use to retrieve the next page of results, or empty if there
are no more results in the list.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListConversationDatasetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListConversationDatasetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides