Class ListConversationDatasetsResponse.Builder (4.7.5)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.v2.ConversationDataset>
Returns
TypeDescription
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
NameDescription
valueConversationDataset
Returns
TypeDescription
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
NameDescription
builderForValueConversationDataset.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueConversationDataset
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConversationDataset.Builder
Returns
TypeDescription
ListConversationDatasetsResponse.Builder

addConversationDatasetsBuilder()

public ConversationDataset.Builder addConversationDatasetsBuilder()

The list of datasets to return.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListConversationDatasetsResponse build()
Returns
TypeDescription
ListConversationDatasetsResponse

buildPartial()

public ListConversationDatasetsResponse buildPartial()
Returns
TypeDescription
ListConversationDatasetsResponse

clear()

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

clearConversationDatasets()

public ListConversationDatasetsResponse.Builder clearConversationDatasets()

The list of datasets to return.

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

Returns
TypeDescription
ListConversationDatasetsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListConversationDatasetsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ConversationDataset.Builder

getConversationDatasetsBuilderList()

public List<ConversationDataset.Builder> getConversationDatasetsBuilderList()

The list of datasets to return.

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

Returns
TypeDescription
List<Builder>

getConversationDatasetsCount()

public int getConversationDatasetsCount()

The list of datasets to return.

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

Returns
TypeDescription
int

getConversationDatasetsList()

public List<ConversationDataset> getConversationDatasetsList()

The list of datasets to return.

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

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

getConversationDatasetsOrBuilderList()

public List<? extends ConversationDatasetOrBuilder> getConversationDatasetsOrBuilderList()

The list of datasets to return.

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

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2.ConversationDatasetOrBuilder>

getDefaultInstanceForType()

public ListConversationDatasetsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListConversationDatasetsResponse

getDescriptorForType()

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

public ListConversationDatasetsResponse.Builder mergeFrom(ListConversationDatasetsResponse other)
Parameter
NameDescription
otherListConversationDatasetsResponse
Returns
TypeDescription
ListConversationDatasetsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListConversationDatasetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueConversationDataset
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConversationDataset.Builder
Returns
TypeDescription
ListConversationDatasetsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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