- 0.63.0 (latest)
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class Conversation.Metrics.Builder extends GeneratedMessageV3.Builder<Conversation.Metrics.Builder> implements Conversation.MetricsOrBuilder
Represents metrics for the conversation.
Protobuf type google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Conversation.Metrics.BuilderImplements
Conversation.MetricsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Conversation.Metrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
build()
public Conversation.Metrics build()
Returns | |
---|---|
Type | Description |
Conversation.Metrics |
buildPartial()
public Conversation.Metrics buildPartial()
Returns | |
---|---|
Type | Description |
Conversation.Metrics |
clear()
public Conversation.Metrics.Builder clear()
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
clearAverageMatchConfidence()
public Conversation.Metrics.Builder clearAverageMatchConfidence()
The average confidence all of the Match in the conversation. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
float average_match_confidence = 7;
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Conversation.Metrics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
clearHasEndInteraction()
public Conversation.Metrics.Builder clearHasEndInteraction()
A signal that indicates the interaction with the Dialogflow agent has ended. If any response has the ResponseMessage.end_interaction signal, this is set to true.
bool has_end_interaction = 5;
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
This builder for chaining. |
clearHasLiveAgentHandoff()
public Conversation.Metrics.Builder clearHasLiveAgentHandoff()
Hands off conversation to a human agent. If any response has the ResponseMessage.live_agent_handoffsignal, this is set to true.
bool has_live_agent_handoff = 6;
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
This builder for chaining. |
clearInputAudioDuration()
public Conversation.Metrics.Builder clearInputAudioDuration()
Duration of all the input's audio in the conversation.
.google.protobuf.Duration input_audio_duration = 2;
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
clearInteractionCount()
public Conversation.Metrics.Builder clearInteractionCount()
The number of interactions in the conversation.
int32 interaction_count = 1;
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
This builder for chaining. |
clearMatchTypeCount()
public Conversation.Metrics.Builder clearMatchTypeCount()
Match type counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
clearMaxWebhookLatency()
public Conversation.Metrics.Builder clearMaxWebhookLatency()
Maximum latency of the Webhook calls in the conversation.
.google.protobuf.Duration max_webhook_latency = 4;
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Conversation.Metrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
clearOutputAudioDuration()
public Conversation.Metrics.Builder clearOutputAudioDuration()
Duration of all the output's audio in the conversation.
.google.protobuf.Duration output_audio_duration = 3;
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
clearQueryInputCount()
public Conversation.Metrics.Builder clearQueryInputCount()
Query input counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
clone()
public Conversation.Metrics.Builder clone()
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
getAverageMatchConfidence()
public float getAverageMatchConfidence()
The average confidence all of the Match in the conversation. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
float average_match_confidence = 7;
Returns | |
---|---|
Type | Description |
float |
The averageMatchConfidence. |
getDefaultInstanceForType()
public Conversation.Metrics getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Conversation.Metrics |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getHasEndInteraction()
public boolean getHasEndInteraction()
A signal that indicates the interaction with the Dialogflow agent has ended. If any response has the ResponseMessage.end_interaction signal, this is set to true.
bool has_end_interaction = 5;
Returns | |
---|---|
Type | Description |
boolean |
The hasEndInteraction. |
getHasLiveAgentHandoff()
public boolean getHasLiveAgentHandoff()
Hands off conversation to a human agent. If any response has the ResponseMessage.live_agent_handoffsignal, this is set to true.
bool has_live_agent_handoff = 6;
Returns | |
---|---|
Type | Description |
boolean |
The hasLiveAgentHandoff. |
getInputAudioDuration()
public Duration getInputAudioDuration()
Duration of all the input's audio in the conversation.
.google.protobuf.Duration input_audio_duration = 2;
Returns | |
---|---|
Type | Description |
Duration |
The inputAudioDuration. |
getInputAudioDurationBuilder()
public Duration.Builder getInputAudioDurationBuilder()
Duration of all the input's audio in the conversation.
.google.protobuf.Duration input_audio_duration = 2;
Returns | |
---|---|
Type | Description |
Builder |
getInputAudioDurationOrBuilder()
public DurationOrBuilder getInputAudioDurationOrBuilder()
Duration of all the input's audio in the conversation.
.google.protobuf.Duration input_audio_duration = 2;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getInteractionCount()
public int getInteractionCount()
The number of interactions in the conversation.
int32 interaction_count = 1;
Returns | |
---|---|
Type | Description |
int |
The interactionCount. |
getMatchTypeCount()
public Conversation.Metrics.MatchTypeCount getMatchTypeCount()
Match type counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;
Returns | |
---|---|
Type | Description |
Conversation.Metrics.MatchTypeCount |
The matchTypeCount. |
getMatchTypeCountBuilder()
public Conversation.Metrics.MatchTypeCount.Builder getMatchTypeCountBuilder()
Match type counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;
Returns | |
---|---|
Type | Description |
Conversation.Metrics.MatchTypeCount.Builder |
getMatchTypeCountOrBuilder()
public Conversation.Metrics.MatchTypeCountOrBuilder getMatchTypeCountOrBuilder()
Match type counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;
Returns | |
---|---|
Type | Description |
Conversation.Metrics.MatchTypeCountOrBuilder |
getMaxWebhookLatency()
public Duration getMaxWebhookLatency()
Maximum latency of the Webhook calls in the conversation.
.google.protobuf.Duration max_webhook_latency = 4;
Returns | |
---|---|
Type | Description |
Duration |
The maxWebhookLatency. |
getMaxWebhookLatencyBuilder()
public Duration.Builder getMaxWebhookLatencyBuilder()
Maximum latency of the Webhook calls in the conversation.
.google.protobuf.Duration max_webhook_latency = 4;
Returns | |
---|---|
Type | Description |
Builder |
getMaxWebhookLatencyOrBuilder()
public DurationOrBuilder getMaxWebhookLatencyOrBuilder()
Maximum latency of the Webhook calls in the conversation.
.google.protobuf.Duration max_webhook_latency = 4;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getOutputAudioDuration()
public Duration getOutputAudioDuration()
Duration of all the output's audio in the conversation.
.google.protobuf.Duration output_audio_duration = 3;
Returns | |
---|---|
Type | Description |
Duration |
The outputAudioDuration. |
getOutputAudioDurationBuilder()
public Duration.Builder getOutputAudioDurationBuilder()
Duration of all the output's audio in the conversation.
.google.protobuf.Duration output_audio_duration = 3;
Returns | |
---|---|
Type | Description |
Builder |
getOutputAudioDurationOrBuilder()
public DurationOrBuilder getOutputAudioDurationOrBuilder()
Duration of all the output's audio in the conversation.
.google.protobuf.Duration output_audio_duration = 3;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getQueryInputCount()
public Conversation.Metrics.QueryInputCount getQueryInputCount()
Query input counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;
Returns | |
---|---|
Type | Description |
Conversation.Metrics.QueryInputCount |
The queryInputCount. |
getQueryInputCountBuilder()
public Conversation.Metrics.QueryInputCount.Builder getQueryInputCountBuilder()
Query input counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;
Returns | |
---|---|
Type | Description |
Conversation.Metrics.QueryInputCount.Builder |
getQueryInputCountOrBuilder()
public Conversation.Metrics.QueryInputCountOrBuilder getQueryInputCountOrBuilder()
Query input counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;
Returns | |
---|---|
Type | Description |
Conversation.Metrics.QueryInputCountOrBuilder |
hasInputAudioDuration()
public boolean hasInputAudioDuration()
Duration of all the input's audio in the conversation.
.google.protobuf.Duration input_audio_duration = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the inputAudioDuration field is set. |
hasMatchTypeCount()
public boolean hasMatchTypeCount()
Match type counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;
Returns | |
---|---|
Type | Description |
boolean |
Whether the matchTypeCount field is set. |
hasMaxWebhookLatency()
public boolean hasMaxWebhookLatency()
Maximum latency of the Webhook calls in the conversation.
.google.protobuf.Duration max_webhook_latency = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the maxWebhookLatency field is set. |
hasOutputAudioDuration()
public boolean hasOutputAudioDuration()
Duration of all the output's audio in the conversation.
.google.protobuf.Duration output_audio_duration = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the outputAudioDuration field is set. |
hasQueryInputCount()
public boolean hasQueryInputCount()
Query input counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;
Returns | |
---|---|
Type | Description |
boolean |
Whether the queryInputCount field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Conversation.Metrics other)
public Conversation.Metrics.Builder mergeFrom(Conversation.Metrics other)
Parameter | |
---|---|
Name | Description |
other |
Conversation.Metrics |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Conversation.Metrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Conversation.Metrics.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
mergeInputAudioDuration(Duration value)
public Conversation.Metrics.Builder mergeInputAudioDuration(Duration value)
Duration of all the input's audio in the conversation.
.google.protobuf.Duration input_audio_duration = 2;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
mergeMatchTypeCount(Conversation.Metrics.MatchTypeCount value)
public Conversation.Metrics.Builder mergeMatchTypeCount(Conversation.Metrics.MatchTypeCount value)
Match type counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;
Parameter | |
---|---|
Name | Description |
value |
Conversation.Metrics.MatchTypeCount |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
mergeMaxWebhookLatency(Duration value)
public Conversation.Metrics.Builder mergeMaxWebhookLatency(Duration value)
Maximum latency of the Webhook calls in the conversation.
.google.protobuf.Duration max_webhook_latency = 4;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
mergeOutputAudioDuration(Duration value)
public Conversation.Metrics.Builder mergeOutputAudioDuration(Duration value)
Duration of all the output's audio in the conversation.
.google.protobuf.Duration output_audio_duration = 3;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
mergeQueryInputCount(Conversation.Metrics.QueryInputCount value)
public Conversation.Metrics.Builder mergeQueryInputCount(Conversation.Metrics.QueryInputCount value)
Query input counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;
Parameter | |
---|---|
Name | Description |
value |
Conversation.Metrics.QueryInputCount |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Conversation.Metrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
setAverageMatchConfidence(float value)
public Conversation.Metrics.Builder setAverageMatchConfidence(float value)
The average confidence all of the Match in the conversation. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
float average_match_confidence = 7;
Parameter | |
---|---|
Name | Description |
value |
float The averageMatchConfidence to set. |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Conversation.Metrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
setHasEndInteraction(boolean value)
public Conversation.Metrics.Builder setHasEndInteraction(boolean value)
A signal that indicates the interaction with the Dialogflow agent has ended. If any response has the ResponseMessage.end_interaction signal, this is set to true.
bool has_end_interaction = 5;
Parameter | |
---|---|
Name | Description |
value |
boolean The hasEndInteraction to set. |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
This builder for chaining. |
setHasLiveAgentHandoff(boolean value)
public Conversation.Metrics.Builder setHasLiveAgentHandoff(boolean value)
Hands off conversation to a human agent. If any response has the ResponseMessage.live_agent_handoffsignal, this is set to true.
bool has_live_agent_handoff = 6;
Parameter | |
---|---|
Name | Description |
value |
boolean The hasLiveAgentHandoff to set. |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
This builder for chaining. |
setInputAudioDuration(Duration value)
public Conversation.Metrics.Builder setInputAudioDuration(Duration value)
Duration of all the input's audio in the conversation.
.google.protobuf.Duration input_audio_duration = 2;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
setInputAudioDuration(Duration.Builder builderForValue)
public Conversation.Metrics.Builder setInputAudioDuration(Duration.Builder builderForValue)
Duration of all the input's audio in the conversation.
.google.protobuf.Duration input_audio_duration = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
setInteractionCount(int value)
public Conversation.Metrics.Builder setInteractionCount(int value)
The number of interactions in the conversation.
int32 interaction_count = 1;
Parameter | |
---|---|
Name | Description |
value |
int The interactionCount to set. |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
This builder for chaining. |
setMatchTypeCount(Conversation.Metrics.MatchTypeCount value)
public Conversation.Metrics.Builder setMatchTypeCount(Conversation.Metrics.MatchTypeCount value)
Match type counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;
Parameter | |
---|---|
Name | Description |
value |
Conversation.Metrics.MatchTypeCount |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
setMatchTypeCount(Conversation.Metrics.MatchTypeCount.Builder builderForValue)
public Conversation.Metrics.Builder setMatchTypeCount(Conversation.Metrics.MatchTypeCount.Builder builderForValue)
Match type counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;
Parameter | |
---|---|
Name | Description |
builderForValue |
Conversation.Metrics.MatchTypeCount.Builder |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
setMaxWebhookLatency(Duration value)
public Conversation.Metrics.Builder setMaxWebhookLatency(Duration value)
Maximum latency of the Webhook calls in the conversation.
.google.protobuf.Duration max_webhook_latency = 4;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
setMaxWebhookLatency(Duration.Builder builderForValue)
public Conversation.Metrics.Builder setMaxWebhookLatency(Duration.Builder builderForValue)
Maximum latency of the Webhook calls in the conversation.
.google.protobuf.Duration max_webhook_latency = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
setOutputAudioDuration(Duration value)
public Conversation.Metrics.Builder setOutputAudioDuration(Duration value)
Duration of all the output's audio in the conversation.
.google.protobuf.Duration output_audio_duration = 3;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
setOutputAudioDuration(Duration.Builder builderForValue)
public Conversation.Metrics.Builder setOutputAudioDuration(Duration.Builder builderForValue)
Duration of all the output's audio in the conversation.
.google.protobuf.Duration output_audio_duration = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
setQueryInputCount(Conversation.Metrics.QueryInputCount value)
public Conversation.Metrics.Builder setQueryInputCount(Conversation.Metrics.QueryInputCount value)
Query input counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;
Parameter | |
---|---|
Name | Description |
value |
Conversation.Metrics.QueryInputCount |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
setQueryInputCount(Conversation.Metrics.QueryInputCount.Builder builderForValue)
public Conversation.Metrics.Builder setQueryInputCount(Conversation.Metrics.QueryInputCount.Builder builderForValue)
Query input counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;
Parameter | |
---|---|
Name | Description |
builderForValue |
Conversation.Metrics.QueryInputCount.Builder |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Conversation.Metrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Conversation.Metrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Conversation.Metrics.Builder |