Class ArticleSuggestionModelMetadata.Builder (4.100.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class ArticleSuggestionModelMetadata.Builder extends GeneratedMessage.Builder<ArticleSuggestionModelMetadata.Builder> implements ArticleSuggestionModelMetadataOrBuilder
Metadata for article suggestion models.
Protobuf type google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public ArticleSuggestionModelMetadata build()
buildPartial()
public ArticleSuggestionModelMetadata buildPartial()
clear()
public ArticleSuggestionModelMetadata.Builder clear()
Overrides
clearTrainingModelType()
public ArticleSuggestionModelMetadata.Builder clearTrainingModelType()
Optional. Type of the article suggestion model. If not provided, model_type
is used.
.google.cloud.dialogflow.v2.ConversationModel.ModelType training_model_type = 3 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public ArticleSuggestionModelMetadata getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTrainingModelType()
public ConversationModel.ModelType getTrainingModelType()
Optional. Type of the article suggestion model. If not provided, model_type
is used.
.google.cloud.dialogflow.v2.ConversationModel.ModelType training_model_type = 3 [(.google.api.field_behavior) = OPTIONAL];
getTrainingModelTypeValue()
public int getTrainingModelTypeValue()
Optional. Type of the article suggestion model. If not provided, model_type
is used.
.google.cloud.dialogflow.v2.ConversationModel.ModelType training_model_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for trainingModelType.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ArticleSuggestionModelMetadata other)
public ArticleSuggestionModelMetadata.Builder mergeFrom(ArticleSuggestionModelMetadata other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ArticleSuggestionModelMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ArticleSuggestionModelMetadata.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
setTrainingModelType(ConversationModel.ModelType value)
public ArticleSuggestionModelMetadata.Builder setTrainingModelType(ConversationModel.ModelType value)
Optional. Type of the article suggestion model. If not provided, model_type
is used.
.google.cloud.dialogflow.v2.ConversationModel.ModelType training_model_type = 3 [(.google.api.field_behavior) = OPTIONAL];
setTrainingModelTypeValue(int value)
public ArticleSuggestionModelMetadata.Builder setTrainingModelTypeValue(int value)
Optional. Type of the article suggestion model. If not provided, model_type
is used.
.google.cloud.dialogflow.v2.ConversationModel.ModelType training_model_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
int
The enum numeric value on the wire for trainingModelType to set.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-31 UTC.
[null,null,["Last updated 2026-07-31 UTC."],[],[]]