Class ListConversationModelsResponse.Builder (4.5.11)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.v2.ConversationModel>
Returns
TypeDescription
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
NameDescription
valueConversationModel
Returns
TypeDescription
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
NameDescription
builderForValueConversationModel.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueConversationModel
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConversationModel.Builder
Returns
TypeDescription
ListConversationModelsResponse.Builder

addConversationModelsBuilder()

public ConversationModel.Builder addConversationModelsBuilder()

The list of models to return.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListConversationModelsResponse build()
Returns
TypeDescription
ListConversationModelsResponse

buildPartial()

public ListConversationModelsResponse buildPartial()
Returns
TypeDescription
ListConversationModelsResponse

clear()

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

clearConversationModels()

public ListConversationModelsResponse.Builder clearConversationModels()

The list of models to return.

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

Returns
TypeDescription
ListConversationModelsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getConversationModelsBuilderList()

public List<ConversationModel.Builder> getConversationModelsBuilderList()

The list of models to return.

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

Returns
TypeDescription
List<Builder>

getConversationModelsCount()

public int getConversationModelsCount()

The list of models to return.

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

Returns
TypeDescription
int

getConversationModelsList()

public List<ConversationModel> getConversationModelsList()

The list of models to return.

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

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

getConversationModelsOrBuilderList()

public List<? extends ConversationModelOrBuilder> getConversationModelsOrBuilderList()

The list of models to return.

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

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

getDefaultInstanceForType()

public ListConversationModelsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListConversationModelsResponse

getDescriptorForType()

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

public ListConversationModelsResponse.Builder mergeFrom(ListConversationModelsResponse other)
Parameter
NameDescription
otherListConversationModelsResponse
Returns
TypeDescription
ListConversationModelsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListConversationModelsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueConversationModel
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConversationModel.Builder
Returns
TypeDescription
ListConversationModelsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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