Class ConversationModel.Builder (4.57.0)

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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2.InputDataset>
Returns
Type Description
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
Name Description
value InputDataset
Returns
Type Description
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
Name Description
builderForValue InputDataset.Builder
Returns
Type Description
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
Name Description
index int
value InputDataset
Returns
Type Description
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
Name Description
index int
builderForValue InputDataset.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
InputDataset.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConversationModel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConversationModel.Builder
Overrides

build()

public ConversationModel build()
Returns
Type Description
ConversationModel

buildPartial()

public ConversationModel buildPartial()
Returns
Type Description
ConversationModel

clear()

public ConversationModel.Builder clear()
Returns
Type Description
ConversationModel.Builder
Overrides

clearArticleSuggestionModelMetadata()

public ConversationModel.Builder clearArticleSuggestionModelMetadata()

Metadata for article suggestion models.

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

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ConversationModel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ConversationModel.Builder

This builder for chaining.

clearModelMetadata()

public ConversationModel.Builder clearModelMetadata()
Returns
Type Description
ConversationModel.Builder

clearName()

public ConversationModel.Builder clearName()

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

string name = 1;

Returns
Type Description
ConversationModel.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ConversationModel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ConversationModel.Builder
Overrides

clearSatisfiesPzi()

public ConversationModel.Builder clearSatisfiesPzi()

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
Type Description
ConversationModel.Builder

This builder for chaining.

clearSatisfiesPzs()

public ConversationModel.Builder clearSatisfiesPzs()

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
Type Description
ConversationModel.Builder

This builder for chaining.

clearSmartReplyModelMetadata()

public ConversationModel.Builder clearSmartReplyModelMetadata()

Metadata for smart reply models.

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

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

This builder for chaining.

clone()

public ConversationModel.Builder clone()
Returns
Type Description
ConversationModel.Builder
Overrides

getArticleSuggestionModelMetadata()

public ArticleSuggestionModelMetadata getArticleSuggestionModelMetadata()

Metadata for article suggestion models.

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

Returns
Type Description
ArticleSuggestionModelMetadata

The articleSuggestionModelMetadata.

getArticleSuggestionModelMetadataBuilder()

public ArticleSuggestionModelMetadata.Builder getArticleSuggestionModelMetadataBuilder()

Metadata for article suggestion models.

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

Returns
Type Description
ArticleSuggestionModelMetadata.Builder

getArticleSuggestionModelMetadataOrBuilder()

public ArticleSuggestionModelMetadataOrBuilder getArticleSuggestionModelMetadataOrBuilder()

Metadata for article suggestion models.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.dialogflow.v2.InputDatasetOrBuilder>

getDefaultInstanceForType()

public ConversationModel getDefaultInstanceForType()
Returns
Type Description
ConversationModel

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for languageCode.

getModelMetadataCase()

public ConversationModel.ModelMetadataCase getModelMetadataCase()
Returns
Type Description
ConversationModel.ModelMetadataCase

getName()

public String getName()

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

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getSatisfiesPzi()

public 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
Type Description
boolean

The satisfiesPzi.

getSatisfiesPzs()

public 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
Type Description
boolean

The satisfiesPzs.

getSmartReplyModelMetadata()

public SmartReplyModelMetadata getSmartReplyModelMetadata()

Metadata for smart reply models.

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

Returns
Type Description
SmartReplyModelMetadata

The smartReplyModelMetadata.

getSmartReplyModelMetadataBuilder()

public SmartReplyModelMetadata.Builder getSmartReplyModelMetadataBuilder()

Metadata for smart reply models.

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

Returns
Type Description
SmartReplyModelMetadata.Builder

getSmartReplyModelMetadataOrBuilder()

public SmartReplyModelMetadataOrBuilder getSmartReplyModelMetadataOrBuilder()

Metadata for smart reply models.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the createTime field is set.

hasSatisfiesPzi()

public 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
Type Description
boolean

Whether the satisfiesPzi field is set.

hasSatisfiesPzs()

public 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
Type Description
boolean

Whether the satisfiesPzs field is set.

hasSmartReplyModelMetadata()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value ArticleSuggestionModelMetadata
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
ConversationModel.Builder

mergeFrom(ConversationModel other)

public ConversationModel.Builder mergeFrom(ConversationModel other)
Parameter
Name Description
other ConversationModel
Returns
Type Description
ConversationModel.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConversationModel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationModel.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ConversationModel.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value SmartReplyModelMetadata
Returns
Type Description
ConversationModel.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConversationModel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value ArticleSuggestionModelMetadata
Returns
Type Description
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
Name Description
builderForValue ArticleSuggestionModelMetadata.Builder
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
index int
value InputDataset
Returns
Type Description
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
Name Description
index int
builderForValue InputDataset.Builder
Returns
Type Description
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
Name Description
value String

The displayName to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
ConversationModel.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ConversationModel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The languageCode to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for languageCode to set.

Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ConversationModel.Builder
Overrides

setSatisfiesPzi(boolean value)

public ConversationModel.Builder setSatisfiesPzi(boolean value)

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];

Parameter
Name Description
value boolean

The satisfiesPzi to set.

Returns
Type Description
ConversationModel.Builder

This builder for chaining.

setSatisfiesPzs(boolean value)

public ConversationModel.Builder setSatisfiesPzs(boolean value)

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];

Parameter
Name Description
value boolean

The satisfiesPzs to set.

Returns
Type Description
ConversationModel.Builder

This builder for chaining.

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
Name Description
value SmartReplyModelMetadata
Returns
Type Description
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
Name Description
builderForValue SmartReplyModelMetadata.Builder
Returns
Type Description
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
Name Description
value ConversationModel.State

The state to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
ConversationModel.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ConversationModel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConversationModel.Builder
Overrides