Class ListConversationModelsResponse.Builder (4.38.0)

public static final class ListConversationModelsResponse.Builder extends GeneratedMessageV3.Builder<ListConversationModelsResponse.Builder> implements ListConversationModelsResponseOrBuilder

The response message for ConversationModels.ListConversationModels

Protobuf type google.cloud.dialogflow.v2.ListConversationModelsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllConversationModels(Iterable<? extends ConversationModel> values)

public ListConversationModelsResponse.Builder addAllConversationModels(Iterable<? extends ConversationModel> values)

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2.ConversationModel>
Returns
Type Description
ListConversationModelsResponse.Builder

addConversationModels(ConversationModel value)

public ListConversationModelsResponse.Builder addConversationModels(ConversationModel value)

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Parameter
Name Description
value ConversationModel
Returns
Type Description
ListConversationModelsResponse.Builder

addConversationModels(ConversationModel.Builder builderForValue)

public ListConversationModelsResponse.Builder addConversationModels(ConversationModel.Builder builderForValue)

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Parameter
Name Description
builderForValue ConversationModel.Builder
Returns
Type Description
ListConversationModelsResponse.Builder

addConversationModels(int index, ConversationModel value)

public ListConversationModelsResponse.Builder addConversationModels(int index, ConversationModel value)

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Parameters
Name Description
index int
value ConversationModel
Returns
Type Description
ListConversationModelsResponse.Builder

addConversationModels(int index, ConversationModel.Builder builderForValue)

public ListConversationModelsResponse.Builder addConversationModels(int index, ConversationModel.Builder builderForValue)

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Parameters
Name Description
index int
builderForValue ConversationModel.Builder
Returns
Type Description
ListConversationModelsResponse.Builder

addConversationModelsBuilder()

public ConversationModel.Builder addConversationModelsBuilder()

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Returns
Type Description
ConversationModel.Builder

addConversationModelsBuilder(int index)

public ConversationModel.Builder addConversationModelsBuilder(int index)

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversationModel.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListConversationModelsResponse build()
Returns
Type Description
ListConversationModelsResponse

buildPartial()

public ListConversationModelsResponse buildPartial()
Returns
Type Description
ListConversationModelsResponse

clear()

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

clearConversationModels()

public ListConversationModelsResponse.Builder clearConversationModels()

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Returns
Type Description
ListConversationModelsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListConversationModelsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListConversationModelsResponse.Builder
Overrides

clearNextPageToken()

public ListConversationModelsResponse.Builder clearNextPageToken()

Token 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
ListConversationModelsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListConversationModelsResponse.Builder clone()
Returns
Type Description
ListConversationModelsResponse.Builder
Overrides

getConversationModels(int index)

public ConversationModel getConversationModels(int index)

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversationModel

getConversationModelsBuilder(int index)

public ConversationModel.Builder getConversationModelsBuilder(int index)

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversationModel.Builder

getConversationModelsBuilderList()

public List<ConversationModel.Builder> getConversationModelsBuilderList()

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Returns
Type Description
List<Builder>

getConversationModelsCount()

public int getConversationModelsCount()

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Returns
Type Description
int

getConversationModelsList()

public List<ConversationModel> getConversationModelsList()

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Returns
Type Description
List<ConversationModel>

getConversationModelsOrBuilder(int index)

public ConversationModelOrBuilder getConversationModelsOrBuilder(int index)

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversationModelOrBuilder

getConversationModelsOrBuilderList()

public List<? extends ConversationModelOrBuilder> getConversationModelsOrBuilderList()

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2.ConversationModelOrBuilder>

getDefaultInstanceForType()

public ListConversationModelsResponse getDefaultInstanceForType()
Returns
Type Description
ListConversationModelsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Token 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()

Token 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(ListConversationModelsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListConversationModelsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListConversationModelsResponse.Builder
Overrides

removeConversationModels(int index)

public ListConversationModelsResponse.Builder removeConversationModels(int index)

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Parameter
Name Description
index int
Returns
Type Description
ListConversationModelsResponse.Builder

setConversationModels(int index, ConversationModel value)

public ListConversationModelsResponse.Builder setConversationModels(int index, ConversationModel value)

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Parameters
Name Description
index int
value ConversationModel
Returns
Type Description
ListConversationModelsResponse.Builder

setConversationModels(int index, ConversationModel.Builder builderForValue)

public ListConversationModelsResponse.Builder setConversationModels(int index, ConversationModel.Builder builderForValue)

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Parameters
Name Description
index int
builderForValue ConversationModel.Builder
Returns
Type Description
ListConversationModelsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListConversationModelsResponse.Builder setNextPageToken(String value)

Token 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
ListConversationModelsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListConversationModelsResponse.Builder setNextPageTokenBytes(ByteString value)

Token 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
ListConversationModelsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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