Interface ConversationModelOrBuilder (4.7.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
TypeDescription
ArticleSuggestionModelMetadata

The articleSuggestionModelMetadata.

getArticleSuggestionModelMetadataOrBuilder()

public abstract ArticleSuggestionModelMetadataOrBuilder getArticleSuggestionModelMetadataOrBuilder()

Metadata for article suggestion models.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for languageCode.

getModelMetadataCase()

public abstract ConversationModel.ModelMetadataCase getModelMetadataCase()
Returns
TypeDescription
ConversationModel.ModelMetadataCase

getName()

public abstract String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
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
TypeDescription
SmartReplyModelMetadata

The smartReplyModelMetadata.

getSmartReplyModelMetadataOrBuilder()

public abstract SmartReplyModelMetadataOrBuilder getSmartReplyModelMetadataOrBuilder()

Metadata for smart reply models.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the smartReplyModelMetadata field is set.