- 4.58.0 (latest)
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class ConversationModel.Builder extends GeneratedMessageV3.Builder<ConversationModel.Builder> implements ConversationModelOrBuilder
Represents a conversation model.
Protobuf type google.cloud.dialogflow.v2.ConversationModel
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ConversationModel.BuilderImplements
ConversationModelOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllDatasets(Iterable<? extends InputDataset> values)
public ConversationModel.Builder addAllDatasets(Iterable<? extends InputDataset> values)
Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2.InputDataset> |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
addDatasets(InputDataset value)
public ConversationModel.Builder addDatasets(InputDataset value)
Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
InputDataset |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
addDatasets(InputDataset.Builder builderForValue)
public ConversationModel.Builder addDatasets(InputDataset.Builder builderForValue)
Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
InputDataset.Builder |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
addDatasets(int index, InputDataset value)
public ConversationModel.Builder addDatasets(int index, InputDataset value)
Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
InputDataset |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
addDatasets(int index, InputDataset.Builder builderForValue)
public ConversationModel.Builder addDatasets(int index, InputDataset.Builder builderForValue)
Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
InputDataset.Builder |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
addDatasetsBuilder()
public InputDataset.Builder addDatasetsBuilder()
Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
InputDataset.Builder |
addDatasetsBuilder(int index)
public InputDataset.Builder addDatasetsBuilder(int index)
Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
InputDataset.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConversationModel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
build()
public ConversationModel build()
Returns | |
---|---|
Type | Description |
ConversationModel |
buildPartial()
public ConversationModel buildPartial()
Returns | |
---|---|
Type | Description |
ConversationModel |
clear()
public ConversationModel.Builder clear()
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
clearArticleSuggestionModelMetadata()
public ConversationModel.Builder clearArticleSuggestionModelMetadata()
Metadata for article suggestion models.
.google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata article_suggestion_model_metadata = 8;
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
clearCreateTime()
public ConversationModel.Builder clearCreateTime()
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
clearDatasets()
public ConversationModel.Builder clearDatasets()
Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
clearDisplayName()
public ConversationModel.Builder clearDisplayName()
Required. The display name of the model. At most 64 bytes long.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ConversationModel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
clearLanguageCode()
public ConversationModel.Builder clearLanguageCode()
Language code for the conversation model. If not specified, the language is en-US. Language at ConversationModel should be set for all non en-us languages. This should be a BCP-47 language tag. Example: "en-US".
string language_code = 19;
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
This builder for chaining. |
clearModelMetadata()
public ConversationModel.Builder clearModelMetadata()
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
clearName()
public ConversationModel.Builder clearName()
ConversationModel resource name. Format:
projects/<Project ID>/conversationModels/<Conversation Model ID>
string name = 1;
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ConversationModel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
clearSmartReplyModelMetadata()
public ConversationModel.Builder clearSmartReplyModelMetadata()
Metadata for smart reply models.
.google.cloud.dialogflow.v2.SmartReplyModelMetadata smart_reply_model_metadata = 9;
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
clearState()
public ConversationModel.Builder clearState()
Output only. State of the model. A model can only serve prediction requests after it gets deployed.
.google.cloud.dialogflow.v2.ConversationModel.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
This builder for chaining. |
clone()
public ConversationModel.Builder clone()
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
getArticleSuggestionModelMetadata()
public ArticleSuggestionModelMetadata getArticleSuggestionModelMetadata()
Metadata for article suggestion models.
.google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata article_suggestion_model_metadata = 8;
Returns | |
---|---|
Type | Description |
ArticleSuggestionModelMetadata |
The articleSuggestionModelMetadata. |
getArticleSuggestionModelMetadataBuilder()
public ArticleSuggestionModelMetadata.Builder getArticleSuggestionModelMetadataBuilder()
Metadata for article suggestion models.
.google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata article_suggestion_model_metadata = 8;
Returns | |
---|---|
Type | Description |
ArticleSuggestionModelMetadata.Builder |
getArticleSuggestionModelMetadataOrBuilder()
public ArticleSuggestionModelMetadataOrBuilder getArticleSuggestionModelMetadataOrBuilder()
Metadata for article suggestion models.
.google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata article_suggestion_model_metadata = 8;
Returns | |
---|---|
Type | Description |
ArticleSuggestionModelMetadataOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDatasets(int index)
public InputDataset getDatasets(int index)
Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
InputDataset |
getDatasetsBuilder(int index)
public InputDataset.Builder getDatasetsBuilder(int index)
Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
InputDataset.Builder |
getDatasetsBuilderList()
public List<InputDataset.Builder> getDatasetsBuilderList()
Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<Builder> |
getDatasetsCount()
public int getDatasetsCount()
Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
getDatasetsList()
public List<InputDataset> getDatasetsList()
Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<InputDataset> |
getDatasetsOrBuilder(int index)
public InputDatasetOrBuilder getDatasetsOrBuilder(int index)
Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
InputDatasetOrBuilder |
getDatasetsOrBuilderList()
public List<? extends InputDatasetOrBuilder> getDatasetsOrBuilderList()
Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.dialogflow.v2.InputDatasetOrBuilder> |
getDefaultInstanceForType()
public ConversationModel getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ConversationModel |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Required. The display name of the model. At most 64 bytes long.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. The display name of the model. At most 64 bytes long.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getLanguageCode()
public String getLanguageCode()
Language code for the conversation model. If not specified, the language is en-US. Language at ConversationModel should be set for all non en-us languages. This should be a BCP-47 language tag. Example: "en-US".
string language_code = 19;
Returns | |
---|---|
Type | Description |
String |
The languageCode. |
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()
Language code for the conversation model. If not specified, the language is en-US. Language at ConversationModel should be set for all non en-us languages. This should be a BCP-47 language tag. Example: "en-US".
string language_code = 19;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for languageCode. |
getModelMetadataCase()
public ConversationModel.ModelMetadataCase getModelMetadataCase()
Returns | |
---|---|
Type | Description |
ConversationModel.ModelMetadataCase |
getName()
public String getName()
ConversationModel resource name. Format:
projects/<Project ID>/conversationModels/<Conversation Model ID>
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
ConversationModel resource name. Format:
projects/<Project ID>/conversationModels/<Conversation Model ID>
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getSmartReplyModelMetadata()
public SmartReplyModelMetadata getSmartReplyModelMetadata()
Metadata for smart reply models.
.google.cloud.dialogflow.v2.SmartReplyModelMetadata smart_reply_model_metadata = 9;
Returns | |
---|---|
Type | Description |
SmartReplyModelMetadata |
The smartReplyModelMetadata. |
getSmartReplyModelMetadataBuilder()
public SmartReplyModelMetadata.Builder getSmartReplyModelMetadataBuilder()
Metadata for smart reply models.
.google.cloud.dialogflow.v2.SmartReplyModelMetadata smart_reply_model_metadata = 9;
Returns | |
---|---|
Type | Description |
SmartReplyModelMetadata.Builder |
getSmartReplyModelMetadataOrBuilder()
public SmartReplyModelMetadataOrBuilder getSmartReplyModelMetadataOrBuilder()
Metadata for smart reply models.
.google.cloud.dialogflow.v2.SmartReplyModelMetadata smart_reply_model_metadata = 9;
Returns | |
---|---|
Type | Description |
SmartReplyModelMetadataOrBuilder |
getState()
public ConversationModel.State getState()
Output only. State of the model. A model can only serve prediction requests after it gets deployed.
.google.cloud.dialogflow.v2.ConversationModel.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ConversationModel.State |
The state. |
getStateValue()
public int getStateValue()
Output only. State of the model. A model can only serve prediction requests after it gets deployed.
.google.cloud.dialogflow.v2.ConversationModel.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
hasArticleSuggestionModelMetadata()
public boolean hasArticleSuggestionModelMetadata()
Metadata for article suggestion models.
.google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata article_suggestion_model_metadata = 8;
Returns | |
---|---|
Type | Description |
boolean |
Whether the articleSuggestionModelMetadata field is set. |
hasCreateTime()
public boolean hasCreateTime()
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasSmartReplyModelMetadata()
public boolean hasSmartReplyModelMetadata()
Metadata for smart reply models.
.google.cloud.dialogflow.v2.SmartReplyModelMetadata smart_reply_model_metadata = 9;
Returns | |
---|---|
Type | Description |
boolean |
Whether the smartReplyModelMetadata field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeArticleSuggestionModelMetadata(ArticleSuggestionModelMetadata value)
public ConversationModel.Builder mergeArticleSuggestionModelMetadata(ArticleSuggestionModelMetadata value)
Metadata for article suggestion models.
.google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata article_suggestion_model_metadata = 8;
Parameter | |
---|---|
Name | Description |
value |
ArticleSuggestionModelMetadata |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
mergeCreateTime(Timestamp value)
public ConversationModel.Builder mergeCreateTime(Timestamp value)
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
mergeFrom(ConversationModel other)
public ConversationModel.Builder mergeFrom(ConversationModel other)
Parameter | |
---|---|
Name | Description |
other |
ConversationModel |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConversationModel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ConversationModel.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
mergeSmartReplyModelMetadata(SmartReplyModelMetadata value)
public ConversationModel.Builder mergeSmartReplyModelMetadata(SmartReplyModelMetadata value)
Metadata for smart reply models.
.google.cloud.dialogflow.v2.SmartReplyModelMetadata smart_reply_model_metadata = 9;
Parameter | |
---|---|
Name | Description |
value |
SmartReplyModelMetadata |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConversationModel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
removeDatasets(int index)
public ConversationModel.Builder removeDatasets(int index)
Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
setArticleSuggestionModelMetadata(ArticleSuggestionModelMetadata value)
public ConversationModel.Builder setArticleSuggestionModelMetadata(ArticleSuggestionModelMetadata value)
Metadata for article suggestion models.
.google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata article_suggestion_model_metadata = 8;
Parameter | |
---|---|
Name | Description |
value |
ArticleSuggestionModelMetadata |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
setArticleSuggestionModelMetadata(ArticleSuggestionModelMetadata.Builder builderForValue)
public ConversationModel.Builder setArticleSuggestionModelMetadata(ArticleSuggestionModelMetadata.Builder builderForValue)
Metadata for article suggestion models.
.google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata article_suggestion_model_metadata = 8;
Parameter | |
---|---|
Name | Description |
builderForValue |
ArticleSuggestionModelMetadata.Builder |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
setCreateTime(Timestamp value)
public ConversationModel.Builder setCreateTime(Timestamp value)
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public ConversationModel.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
setDatasets(int index, InputDataset value)
public ConversationModel.Builder setDatasets(int index, InputDataset value)
Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
InputDataset |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
setDatasets(int index, InputDataset.Builder builderForValue)
public ConversationModel.Builder setDatasets(int index, InputDataset.Builder builderForValue)
Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
InputDataset.Builder |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
setDisplayName(String value)
public ConversationModel.Builder setDisplayName(String value)
Required. The display name of the model. At most 64 bytes long.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public ConversationModel.Builder setDisplayNameBytes(ByteString value)
Required. The display name of the model. At most 64 bytes long.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ConversationModel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
setLanguageCode(String value)
public ConversationModel.Builder setLanguageCode(String value)
Language code for the conversation model. If not specified, the language is en-US. Language at ConversationModel should be set for all non en-us languages. This should be a BCP-47 language tag. Example: "en-US".
string language_code = 19;
Parameter | |
---|---|
Name | Description |
value |
String The languageCode to set. |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
This builder for chaining. |
setLanguageCodeBytes(ByteString value)
public ConversationModel.Builder setLanguageCodeBytes(ByteString value)
Language code for the conversation model. If not specified, the language is en-US. Language at ConversationModel should be set for all non en-us languages. This should be a BCP-47 language tag. Example: "en-US".
string language_code = 19;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for languageCode to set. |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
This builder for chaining. |
setName(String value)
public ConversationModel.Builder setName(String value)
ConversationModel resource name. Format:
projects/<Project ID>/conversationModels/<Conversation Model ID>
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ConversationModel.Builder setNameBytes(ByteString value)
ConversationModel resource name. Format:
projects/<Project ID>/conversationModels/<Conversation Model ID>
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConversationModel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
setSmartReplyModelMetadata(SmartReplyModelMetadata value)
public ConversationModel.Builder setSmartReplyModelMetadata(SmartReplyModelMetadata value)
Metadata for smart reply models.
.google.cloud.dialogflow.v2.SmartReplyModelMetadata smart_reply_model_metadata = 9;
Parameter | |
---|---|
Name | Description |
value |
SmartReplyModelMetadata |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
setSmartReplyModelMetadata(SmartReplyModelMetadata.Builder builderForValue)
public ConversationModel.Builder setSmartReplyModelMetadata(SmartReplyModelMetadata.Builder builderForValue)
Metadata for smart reply models.
.google.cloud.dialogflow.v2.SmartReplyModelMetadata smart_reply_model_metadata = 9;
Parameter | |
---|---|
Name | Description |
builderForValue |
SmartReplyModelMetadata.Builder |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
setState(ConversationModel.State value)
public ConversationModel.Builder setState(ConversationModel.State value)
Output only. State of the model. A model can only serve prediction requests after it gets deployed.
.google.cloud.dialogflow.v2.ConversationModel.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ConversationModel.State The state to set. |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
This builder for chaining. |
setStateValue(int value)
public ConversationModel.Builder setStateValue(int value)
Output only. State of the model. A model can only serve prediction requests after it gets deployed.
.google.cloud.dialogflow.v2.ConversationModel.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConversationModel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ConversationModel.Builder |