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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addConversationModels(ConversationModel value)
public ListConversationModelsResponse.Builder addConversationModels(ConversationModel value)
The list of models to return.
repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;
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;
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;
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;
addConversationModelsBuilder()
public ConversationModel.Builder addConversationModelsBuilder()
The list of models to return.
repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListConversationModelsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListConversationModelsResponse build()
buildPartial()
public ListConversationModelsResponse buildPartial()
clear()
public ListConversationModelsResponse.Builder clear()
Overrides
clearConversationModels()
public ListConversationModelsResponse.Builder clearConversationModels()
The list of models to return.
repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;
clearField(Descriptors.FieldDescriptor field)
public ListConversationModelsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListConversationModelsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListConversationModelsResponse.Builder clone()
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
|
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
|
getConversationModelsBuilderList()
public List<ConversationModel.Builder> getConversationModelsBuilderList()
The list of models to return.
repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;
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;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListConversationModelsResponse other)
public ListConversationModelsResponse.Builder mergeFrom(ListConversationModelsResponse other)
public ListConversationModelsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListConversationModelsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListConversationModelsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListConversationModelsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListConversationModelsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListConversationModelsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides