Package com.google.cloud.dialogflow.v2
Interface ConversationModelOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConversationModel,ConversationModel.Builder
@Generated
public interface ConversationModelOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionMetadata for article suggestion models.Metadata for article suggestion models.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getDatasets(int index) Required.intRequired.Required.getDatasetsOrBuilder(int index) Required.List<? extends InputDatasetOrBuilder>Required.Required.com.google.protobuf.ByteStringRequired.Language code for the conversation model.com.google.protobuf.ByteStringLanguage code for the conversation model.getName()ConversationModel resource name.com.google.protobuf.ByteStringConversationModel resource name.booleanOutput only.booleanOutput only.Metadata for smart reply models.Metadata for smart reply models.getState()Output only.intOutput only.booleanMetadata for article suggestion models.booleanOutput only.booleanOutput only.booleanOutput only.booleanMetadata for smart reply models.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()ConversationModel resource name. Format: `projects/<Project ID>/conversationModels/<Conversation Model ID>`
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()ConversationModel resource name. Format: `projects/<Project ID>/conversationModels/<Conversation Model ID>`
string name = 1;- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()Required. The display name of the model. At most 64 bytes long.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Required. The display name of the model. At most 64 bytes long.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for displayName.
-
hasCreateTime
boolean hasCreateTime()Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Creation time of this model.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDatasetsList
List<InputDataset> getDatasetsList()Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED]; -
getDatasets
Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED]; -
getDatasetsCount
int getDatasetsCount()Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED]; -
getDatasetsOrBuilderList
List<? extends InputDatasetOrBuilder> getDatasetsOrBuilderList()Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED]; -
getDatasetsOrBuilder
Required. Datasets used to create model.
repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED]; -
getStateValue
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:
- The enum numeric value on the wire for state.
-
getState
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:
- The state.
-
getLanguageCode
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](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US".
string language_code = 19;- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.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](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US".
string language_code = 19;- Returns:
- The bytes for languageCode.
-
hasArticleSuggestionModelMetadata
boolean hasArticleSuggestionModelMetadata()Metadata for article suggestion models.
.google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata article_suggestion_model_metadata = 8;- Returns:
- Whether the articleSuggestionModelMetadata field is set.
-
getArticleSuggestionModelMetadata
ArticleSuggestionModelMetadata getArticleSuggestionModelMetadata()Metadata for article suggestion models.
.google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata article_suggestion_model_metadata = 8;- Returns:
- The articleSuggestionModelMetadata.
-
getArticleSuggestionModelMetadataOrBuilder
ArticleSuggestionModelMetadataOrBuilder getArticleSuggestionModelMetadataOrBuilder()Metadata for article suggestion models.
.google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata article_suggestion_model_metadata = 8; -
hasSmartReplyModelMetadata
boolean hasSmartReplyModelMetadata()Metadata for smart reply models.
.google.cloud.dialogflow.v2.SmartReplyModelMetadata smart_reply_model_metadata = 9;- Returns:
- Whether the smartReplyModelMetadata field is set.
-
getSmartReplyModelMetadata
SmartReplyModelMetadata getSmartReplyModelMetadata()Metadata for smart reply models.
.google.cloud.dialogflow.v2.SmartReplyModelMetadata smart_reply_model_metadata = 9;- Returns:
- The smartReplyModelMetadata.
-
getSmartReplyModelMetadataOrBuilder
SmartReplyModelMetadataOrBuilder getSmartReplyModelMetadataOrBuilder()Metadata for smart reply models.
.google.cloud.dialogflow.v2.SmartReplyModelMetadata smart_reply_model_metadata = 9; -
hasSatisfiesPzs
boolean hasSatisfiesPzs()Output only. A read only boolean field reflecting Zone Separation status of the model.
optional bool satisfies_pzs = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the satisfiesPzs field is set.
-
getSatisfiesPzs
boolean getSatisfiesPzs()Output only. A read only boolean field reflecting Zone Separation status of the model.
optional bool satisfies_pzs = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The satisfiesPzs.
-
hasSatisfiesPzi
boolean hasSatisfiesPzi()Output only. A read only boolean field reflecting Zone Isolation status of the model.
optional bool satisfies_pzi = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the satisfiesPzi field is set.
-
getSatisfiesPzi
boolean getSatisfiesPzi()Output only. A read only boolean field reflecting Zone Isolation status of the model.
optional bool satisfies_pzi = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The satisfiesPzi.
-
getModelMetadataCase
ConversationModel.ModelMetadataCase getModelMetadataCase()
-