Class ConversationModel.Builder (4.7.3)

public static final class ConversationModel.Builder extends GeneratedMessageV3.Builder<ConversationModel.Builder> implements ConversationModelOrBuilder

Represents a conversation model.

Protobuf type google.cloud.dialogflow.v2.ConversationModel

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.v2.InputDataset>
Returns
TypeDescription
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
NameDescription
valueInputDataset
Returns
TypeDescription
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
NameDescription
builderForValueInputDataset.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInputDataset
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInputDataset.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InputDataset.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConversationModel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConversationModel.Builder
Overrides

build()

public ConversationModel build()
Returns
TypeDescription
ConversationModel

buildPartial()

public ConversationModel buildPartial()
Returns
TypeDescription
ConversationModel

clear()

public ConversationModel.Builder clear()
Returns
TypeDescription
ConversationModel.Builder
Overrides

clearArticleSuggestionModelMetadata()

public ConversationModel.Builder clearArticleSuggestionModelMetadata()

Metadata for article suggestion models.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ConversationModel.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ConversationModel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ConversationModel.Builder
Overrides

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
TypeDescription
ConversationModel.Builder

This builder for chaining.

clearModelMetadata()

public ConversationModel.Builder clearModelMetadata()
Returns
TypeDescription
ConversationModel.Builder

clearName()

public ConversationModel.Builder clearName()

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

string name = 1;

Returns
TypeDescription
ConversationModel.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ConversationModel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ConversationModel.Builder
Overrides

clearSmartReplyModelMetadata()

public ConversationModel.Builder clearSmartReplyModelMetadata()

Metadata for smart reply models.

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

Returns
TypeDescription
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
TypeDescription
ConversationModel.Builder

This builder for chaining.

clone()

public ConversationModel.Builder clone()
Returns
TypeDescription
ConversationModel.Builder
Overrides

getArticleSuggestionModelMetadata()

public ArticleSuggestionModelMetadata getArticleSuggestionModelMetadata()

Metadata for article suggestion models.

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

Returns
TypeDescription
ArticleSuggestionModelMetadata

The articleSuggestionModelMetadata.

getArticleSuggestionModelMetadataBuilder()

public ArticleSuggestionModelMetadata.Builder getArticleSuggestionModelMetadataBuilder()

Metadata for article suggestion models.

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

Returns
TypeDescription
ArticleSuggestionModelMetadata.Builder

getArticleSuggestionModelMetadataOrBuilder()

public ArticleSuggestionModelMetadataOrBuilder getArticleSuggestionModelMetadataOrBuilder()

Metadata for article suggestion models.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.dialogflow.v2.InputDatasetOrBuilder>

getDefaultInstanceForType()

public ConversationModel getDefaultInstanceForType()
Returns
TypeDescription
ConversationModel

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for languageCode.

getModelMetadataCase()

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

getName()

public String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

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

Metadata for smart reply models.

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

Returns
TypeDescription
SmartReplyModelMetadata

The smartReplyModelMetadata.

getSmartReplyModelMetadataBuilder()

public SmartReplyModelMetadata.Builder getSmartReplyModelMetadataBuilder()

Metadata for smart reply models.

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

Returns
TypeDescription
SmartReplyModelMetadata.Builder

getSmartReplyModelMetadataOrBuilder()

public SmartReplyModelMetadataOrBuilder getSmartReplyModelMetadataOrBuilder()

Metadata for smart reply models.

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

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

Whether the smartReplyModelMetadata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

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
NameDescription
valueArticleSuggestionModelMetadata
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
ConversationModel.Builder

mergeFrom(ConversationModel other)

public ConversationModel.Builder mergeFrom(ConversationModel other)
Parameter
NameDescription
otherConversationModel
Returns
TypeDescription
ConversationModel.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConversationModel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationModel.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ConversationModel.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ConversationModel.Builder
Overrides

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
NameDescription
valueSmartReplyModelMetadata
Returns
TypeDescription
ConversationModel.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConversationModel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ConversationModel.Builder
Overrides

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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueArticleSuggestionModelMetadata
Returns
TypeDescription
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
NameDescription
builderForValueArticleSuggestionModelMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
indexint
valueInputDataset
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInputDataset.Builder
Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
ConversationModel.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ConversationModel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConversationModel.Builder
Overrides

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
NameDescription
valueString

The languageCode to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for languageCode to set.

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ConversationModel.Builder
Overrides

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
NameDescription
valueSmartReplyModelMetadata
Returns
TypeDescription
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
NameDescription
builderForValueSmartReplyModelMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueConversationModel.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
ConversationModel.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ConversationModel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ConversationModel.Builder
Overrides