Class ListConversationDatasetsResponse.Builder (4.37.0)

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
Type Description
Descriptor

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
Type Description
ListConversationDatasetsResponse.Builder

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
Name Description
value ConversationDataset
Returns
Type Description
ListConversationDatasetsResponse.Builder

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
Name Description
builderForValue ConversationDataset.Builder
Returns
Type Description
ListConversationDatasetsResponse.Builder

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
Name Description
index int
value ConversationDataset
Returns
Type Description
ListConversationDatasetsResponse.Builder

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
Name Description
index int
builderForValue ConversationDataset.Builder
Returns
Type Description
ListConversationDatasetsResponse.Builder

addConversationDatasetsBuilder()

public ConversationDataset.Builder addConversationDatasetsBuilder()

The list of datasets to return.

repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;

Returns
Type Description
ConversationDataset.Builder

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
Name Description
index int
Returns
Type Description
ConversationDataset.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListConversationDatasetsResponse build()
Returns
Type Description
ListConversationDatasetsResponse

buildPartial()

public ListConversationDatasetsResponse buildPartial()
Returns
Type Description
ListConversationDatasetsResponse

clear()

public ListConversationDatasetsResponse.Builder clear()
Returns
Type Description
ListConversationDatasetsResponse.Builder
Overrides

clearConversationDatasets()

public ListConversationDatasetsResponse.Builder clearConversationDatasets()

The list of datasets to return.

repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;

Returns
Type Description
ListConversationDatasetsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListConversationDatasetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListConversationDatasetsResponse.Builder
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
Type Description
ListConversationDatasetsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListConversationDatasetsResponse.Builder clone()
Returns
Type Description
ListConversationDatasetsResponse.Builder
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
Name Description
index int
Returns
Type Description
ConversationDataset

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
Name Description
index int
Returns
Type Description
ConversationDataset.Builder

getConversationDatasetsBuilderList()

public List<ConversationDataset.Builder> getConversationDatasetsBuilderList()

The list of datasets to return.

repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;

Returns
Type Description
List<Builder>

getConversationDatasetsCount()

public int getConversationDatasetsCount()

The list of datasets to return.

repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;

Returns
Type Description
int

getConversationDatasetsList()

public List<ConversationDataset> getConversationDatasetsList()

The list of datasets to return.

repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;

Returns
Type Description
List<ConversationDataset>

getConversationDatasetsOrBuilder(int index)

public ConversationDatasetOrBuilder getConversationDatasetsOrBuilder(int index)

The list of datasets to return.

repeated .google.cloud.dialogflow.v2.ConversationDataset conversation_datasets = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversationDatasetOrBuilder

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
Type Description
ListConversationDatasetsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListConversationDatasetsResponse other)

public ListConversationDatasetsResponse.Builder mergeFrom(ListConversationDatasetsResponse other)
Parameter
Name Description
other ListConversationDatasetsResponse
Returns
Type Description
ListConversationDatasetsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListConversationDatasetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListConversationDatasetsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListConversationDatasetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListConversationDatasetsResponse.Builder
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
Name Description
index int
Returns
Type Description
ListConversationDatasetsResponse.Builder

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
Name Description
index int
value ConversationDataset
Returns
Type Description
ListConversationDatasetsResponse.Builder

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
Name Description
index int
builderForValue ConversationDataset.Builder
Returns
Type Description
ListConversationDatasetsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListConversationDatasetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListConversationDatasetsResponse.Builder
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
Type Description
ListConversationDatasetsResponse.Builder

This builder for chaining.

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
Type Description
ListConversationDatasetsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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