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
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
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
Returns
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
Returns
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
Returns
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
Returns
addConversationModelsBuilder()
public ConversationModel.Builder addConversationModelsBuilder()
The list of models to return.
repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListConversationModelsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListConversationModelsResponse build()
Returns
buildPartial()
public ListConversationModelsResponse buildPartial()
Returns
clear()
public ListConversationModelsResponse.Builder clear()
Returns
Overrides
clearConversationModels()
public ListConversationModelsResponse.Builder clearConversationModels()
The list of models to return.
repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListConversationModelsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListConversationModelsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListConversationModelsResponse.Builder clone()
Returns
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
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
getConversationModelsBuilderList()
public List<ConversationModel.Builder> getConversationModelsBuilderList()
The list of models to return.
repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;
Returns
getConversationModelsCount()
public int getConversationModelsCount()
The list of models to return.
repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;
Returns
getConversationModelsList()
public List<ConversationModel> getConversationModelsList()
The list of models to return.
repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;
Returns
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
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListConversationModelsResponse other)
public ListConversationModelsResponse.Builder mergeFrom(ListConversationModelsResponse other)
Parameter
Returns
public ListConversationModelsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListConversationModelsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListConversationModelsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListConversationModelsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListConversationModelsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListConversationModelsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides