Class ConversationModelEvaluation.Builder (4.8.6)

public static final class ConversationModelEvaluation.Builder extends GeneratedMessageV3.Builder<ConversationModelEvaluation.Builder> implements ConversationModelEvaluationOrBuilder

Represents evaluation result of a conversation model.

Protobuf type google.cloud.dialogflow.v2.ConversationModelEvaluation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConversationModelEvaluation build()
Returns
Type Description
ConversationModelEvaluation

buildPartial()

public ConversationModelEvaluation buildPartial()
Returns
Type Description
ConversationModelEvaluation

clear()

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

clearCreateTime()

public ConversationModelEvaluation.Builder clearCreateTime()

Output only. Creation time of this model.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ConversationModelEvaluation.Builder

clearDisplayName()

public ConversationModelEvaluation.Builder clearDisplayName()

Optional. The display name of the model evaluation. At most 64 bytes long.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConversationModelEvaluation.Builder

This builder for chaining.

clearEvaluationConfig()

public ConversationModelEvaluation.Builder clearEvaluationConfig()

Optional. The configuration of the evaluation task.

.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConversationModelEvaluation.Builder

clearField(Descriptors.FieldDescriptor field)

public ConversationModelEvaluation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ConversationModelEvaluation.Builder
Overrides

clearMetrics()

public ConversationModelEvaluation.Builder clearMetrics()
Returns
Type Description
ConversationModelEvaluation.Builder

clearName()

public ConversationModelEvaluation.Builder clearName()

The resource name of the evaluation. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>

string name = 1;

Returns
Type Description
ConversationModelEvaluation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSmartReplyMetrics()

public ConversationModelEvaluation.Builder clearSmartReplyMetrics()

Output only. Only available when model is for smart reply.

.google.cloud.dialogflow.v2.SmartReplyMetrics smart_reply_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ConversationModelEvaluation.Builder

clone()

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

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

getDefaultInstanceForType()

public ConversationModelEvaluation getDefaultInstanceForType()
Returns
Type Description
ConversationModelEvaluation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Optional. The display name of the model evaluation. At most 64 bytes long.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. The display name of the model evaluation. At most 64 bytes long.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

getEvaluationConfig()

public EvaluationConfig getEvaluationConfig()

Optional. The configuration of the evaluation task.

.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationConfig

The evaluationConfig.

getEvaluationConfigBuilder()

public EvaluationConfig.Builder getEvaluationConfigBuilder()

Optional. The configuration of the evaluation task.

.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationConfig.Builder

getEvaluationConfigOrBuilder()

public EvaluationConfigOrBuilder getEvaluationConfigOrBuilder()

Optional. The configuration of the evaluation task.

.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationConfigOrBuilder

getMetricsCase()

public ConversationModelEvaluation.MetricsCase getMetricsCase()
Returns
Type Description
ConversationModelEvaluation.MetricsCase

getName()

public String getName()

The resource name of the evaluation. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the evaluation. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getSmartReplyMetrics()

public SmartReplyMetrics getSmartReplyMetrics()

Output only. Only available when model is for smart reply.

.google.cloud.dialogflow.v2.SmartReplyMetrics smart_reply_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SmartReplyMetrics

The smartReplyMetrics.

getSmartReplyMetricsBuilder()

public SmartReplyMetrics.Builder getSmartReplyMetricsBuilder()

Output only. Only available when model is for smart reply.

.google.cloud.dialogflow.v2.SmartReplyMetrics smart_reply_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SmartReplyMetrics.Builder

getSmartReplyMetricsOrBuilder()

public SmartReplyMetricsOrBuilder getSmartReplyMetricsOrBuilder()

Output only. Only available when model is for smart reply.

.google.cloud.dialogflow.v2.SmartReplyMetrics smart_reply_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SmartReplyMetricsOrBuilder

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.

hasEvaluationConfig()

public boolean hasEvaluationConfig()

Optional. The configuration of the evaluation task.

.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the evaluationConfig field is set.

hasSmartReplyMetrics()

public boolean hasSmartReplyMetrics()

Output only. Only available when model is for smart reply.

.google.cloud.dialogflow.v2.SmartReplyMetrics smart_reply_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the smartReplyMetrics field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

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

mergeEvaluationConfig(EvaluationConfig value)

public ConversationModelEvaluation.Builder mergeEvaluationConfig(EvaluationConfig value)

Optional. The configuration of the evaluation task.

.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EvaluationConfig
Returns
Type Description
ConversationModelEvaluation.Builder

mergeFrom(ConversationModelEvaluation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ConversationModelEvaluation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ConversationModelEvaluation.Builder
Overrides

mergeSmartReplyMetrics(SmartReplyMetrics value)

public ConversationModelEvaluation.Builder mergeSmartReplyMetrics(SmartReplyMetrics value)

Output only. Only available when model is for smart reply.

.google.cloud.dialogflow.v2.SmartReplyMetrics smart_reply_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SmartReplyMetrics
Returns
Type Description
ConversationModelEvaluation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConversationModelEvaluation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConversationModelEvaluation.Builder
Overrides

setCreateTime(Timestamp value)

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

setCreateTime(Timestamp.Builder builderForValue)

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

setDisplayName(String value)

public ConversationModelEvaluation.Builder setDisplayName(String value)

Optional. The display name of the model evaluation. At most 64 bytes long.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
ConversationModelEvaluation.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public ConversationModelEvaluation.Builder setDisplayNameBytes(ByteString value)

Optional. The display name of the model evaluation. At most 64 bytes long.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
ConversationModelEvaluation.Builder

This builder for chaining.

setEvaluationConfig(EvaluationConfig value)

public ConversationModelEvaluation.Builder setEvaluationConfig(EvaluationConfig value)

Optional. The configuration of the evaluation task.

.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EvaluationConfig
Returns
Type Description
ConversationModelEvaluation.Builder

setEvaluationConfig(EvaluationConfig.Builder builderForValue)

public ConversationModelEvaluation.Builder setEvaluationConfig(EvaluationConfig.Builder builderForValue)

Optional. The configuration of the evaluation task.

.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue EvaluationConfig.Builder
Returns
Type Description
ConversationModelEvaluation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ConversationModelEvaluation.Builder setName(String value)

The resource name of the evaluation. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ConversationModelEvaluation.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ConversationModelEvaluation.Builder setNameBytes(ByteString value)

The resource name of the evaluation. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ConversationModelEvaluation.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ConversationModelEvaluation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ConversationModelEvaluation.Builder
Overrides

setSmartReplyMetrics(SmartReplyMetrics value)

public ConversationModelEvaluation.Builder setSmartReplyMetrics(SmartReplyMetrics value)

Output only. Only available when model is for smart reply.

.google.cloud.dialogflow.v2.SmartReplyMetrics smart_reply_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SmartReplyMetrics
Returns
Type Description
ConversationModelEvaluation.Builder

setSmartReplyMetrics(SmartReplyMetrics.Builder builderForValue)

public ConversationModelEvaluation.Builder setSmartReplyMetrics(SmartReplyMetrics.Builder builderForValue)

Output only. Only available when model is for smart reply.

.google.cloud.dialogflow.v2.SmartReplyMetrics smart_reply_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue SmartReplyMetrics.Builder
Returns
Type Description
ConversationModelEvaluation.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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