Interface ConversationModelOrBuilder (4.34.0)

public interface ConversationModelOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArticleSuggestionModelMetadata()

public abstract ArticleSuggestionModelMetadata getArticleSuggestionModelMetadata()

Metadata for article suggestion models.

.google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata article_suggestion_model_metadata = 8;

Returns
Type Description
ArticleSuggestionModelMetadata

The articleSuggestionModelMetadata.

getArticleSuggestionModelMetadataOrBuilder()

public abstract ArticleSuggestionModelMetadataOrBuilder getArticleSuggestionModelMetadataOrBuilder()

Metadata for article suggestion models.

.google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata article_suggestion_model_metadata = 8;

Returns
Type Description
ArticleSuggestionModelMetadataOrBuilder

getCreateTime()

public abstract 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.

getCreateTimeOrBuilder()

public abstract 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 abstract 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

getDatasetsCount()

public abstract 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 abstract 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 abstract 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 abstract 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>

getDisplayName()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract ConversationModel.ModelMetadataCase getModelMetadataCase()
Returns
Type Description
ConversationModel.ModelMetadataCase

getName()

public abstract String getName()

ConversationModel resource name. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract 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 abstract SmartReplyModelMetadata getSmartReplyModelMetadata()

Metadata for smart reply models.

.google.cloud.dialogflow.v2.SmartReplyModelMetadata smart_reply_model_metadata = 9;

Returns
Type Description
SmartReplyModelMetadata

The smartReplyModelMetadata.

getSmartReplyModelMetadataOrBuilder()

public abstract SmartReplyModelMetadataOrBuilder getSmartReplyModelMetadataOrBuilder()

Metadata for smart reply models.

.google.cloud.dialogflow.v2.SmartReplyModelMetadata smart_reply_model_metadata = 9;

Returns
Type Description
SmartReplyModelMetadataOrBuilder

getState()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.