Class Conversation.Metrics.MatchTypeCount.Builder (0.65.0)

public static final class Conversation.Metrics.MatchTypeCount.Builder extends GeneratedMessageV3.Builder<Conversation.Metrics.MatchTypeCount.Builder> implements Conversation.Metrics.MatchTypeCountOrBuilder

Count by Match.MatchType of the matches in the conversation.

Protobuf type google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Conversation.Metrics.MatchTypeCount build()
Returns
Type Description
Conversation.Metrics.MatchTypeCount

buildPartial()

public Conversation.Metrics.MatchTypeCount buildPartial()
Returns
Type Description
Conversation.Metrics.MatchTypeCount

clear()

public Conversation.Metrics.MatchTypeCount.Builder clear()
Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder
Overrides

clearDirectIntentCount()

public Conversation.Metrics.MatchTypeCount.Builder clearDirectIntentCount()

The number of matches with type Match.MatchType.DIRECT_INTENT.

int32 direct_intent_count = 3;

Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder

This builder for chaining.

clearEventCount()

public Conversation.Metrics.MatchTypeCount.Builder clearEventCount()

The number of matches with type Match.MatchType.EVENT.

int32 event_count = 7;

Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Conversation.Metrics.MatchTypeCount.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder
Overrides

clearIntentCount()

public Conversation.Metrics.MatchTypeCount.Builder clearIntentCount()

The number of matches with type Match.MatchType.INTENT.

int32 intent_count = 2;

Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder

This builder for chaining.

clearNoInputCount()

public Conversation.Metrics.MatchTypeCount.Builder clearNoInputCount()

The number of matches with type Match.MatchType.NO_INPUT.

int32 no_input_count = 6;

Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder

This builder for chaining.

clearNoMatchCount()

public Conversation.Metrics.MatchTypeCount.Builder clearNoMatchCount()

The number of matches with type Match.MatchType.NO_MATCH.

int32 no_match_count = 5;

Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Conversation.Metrics.MatchTypeCount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder
Overrides

clearParameterFillingCount()

public Conversation.Metrics.MatchTypeCount.Builder clearParameterFillingCount()

The number of matches with type Match.MatchType.PARAMETER_FILLING.

int32 parameter_filling_count = 4;

Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder

This builder for chaining.

clearUnspecifiedCount()

public Conversation.Metrics.MatchTypeCount.Builder clearUnspecifiedCount()

The number of matches with type Match.MatchType.MATCH_TYPE_UNSPECIFIED.

int32 unspecified_count = 1;

Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder

This builder for chaining.

clone()

public Conversation.Metrics.MatchTypeCount.Builder clone()
Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder
Overrides

getDefaultInstanceForType()

public Conversation.Metrics.MatchTypeCount getDefaultInstanceForType()
Returns
Type Description
Conversation.Metrics.MatchTypeCount

getDescriptorForType()

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

getDirectIntentCount()

public int getDirectIntentCount()

The number of matches with type Match.MatchType.DIRECT_INTENT.

int32 direct_intent_count = 3;

Returns
Type Description
int

The directIntentCount.

getEventCount()

public int getEventCount()

The number of matches with type Match.MatchType.EVENT.

int32 event_count = 7;

Returns
Type Description
int

The eventCount.

getIntentCount()

public int getIntentCount()

The number of matches with type Match.MatchType.INTENT.

int32 intent_count = 2;

Returns
Type Description
int

The intentCount.

getNoInputCount()

public int getNoInputCount()

The number of matches with type Match.MatchType.NO_INPUT.

int32 no_input_count = 6;

Returns
Type Description
int

The noInputCount.

getNoMatchCount()

public int getNoMatchCount()

The number of matches with type Match.MatchType.NO_MATCH.

int32 no_match_count = 5;

Returns
Type Description
int

The noMatchCount.

getParameterFillingCount()

public int getParameterFillingCount()

The number of matches with type Match.MatchType.PARAMETER_FILLING.

int32 parameter_filling_count = 4;

Returns
Type Description
int

The parameterFillingCount.

getUnspecifiedCount()

public int getUnspecifiedCount()

The number of matches with type Match.MatchType.MATCH_TYPE_UNSPECIFIED.

int32 unspecified_count = 1;

Returns
Type Description
int

The unspecifiedCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Conversation.Metrics.MatchTypeCount other)

public Conversation.Metrics.MatchTypeCount.Builder mergeFrom(Conversation.Metrics.MatchTypeCount other)
Parameter
Name Description
other Conversation.Metrics.MatchTypeCount
Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Conversation.Metrics.MatchTypeCount.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.Metrics.MatchTypeCount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder
Overrides

setDirectIntentCount(int value)

public Conversation.Metrics.MatchTypeCount.Builder setDirectIntentCount(int value)

The number of matches with type Match.MatchType.DIRECT_INTENT.

int32 direct_intent_count = 3;

Parameter
Name Description
value int

The directIntentCount to set.

Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder

This builder for chaining.

setEventCount(int value)

public Conversation.Metrics.MatchTypeCount.Builder setEventCount(int value)

The number of matches with type Match.MatchType.EVENT.

int32 event_count = 7;

Parameter
Name Description
value int

The eventCount to set.

Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setIntentCount(int value)

public Conversation.Metrics.MatchTypeCount.Builder setIntentCount(int value)

The number of matches with type Match.MatchType.INTENT.

int32 intent_count = 2;

Parameter
Name Description
value int

The intentCount to set.

Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder

This builder for chaining.

setNoInputCount(int value)

public Conversation.Metrics.MatchTypeCount.Builder setNoInputCount(int value)

The number of matches with type Match.MatchType.NO_INPUT.

int32 no_input_count = 6;

Parameter
Name Description
value int

The noInputCount to set.

Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder

This builder for chaining.

setNoMatchCount(int value)

public Conversation.Metrics.MatchTypeCount.Builder setNoMatchCount(int value)

The number of matches with type Match.MatchType.NO_MATCH.

int32 no_match_count = 5;

Parameter
Name Description
value int

The noMatchCount to set.

Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder

This builder for chaining.

setParameterFillingCount(int value)

public Conversation.Metrics.MatchTypeCount.Builder setParameterFillingCount(int value)

The number of matches with type Match.MatchType.PARAMETER_FILLING.

int32 parameter_filling_count = 4;

Parameter
Name Description
value int

The parameterFillingCount to set.

Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.Metrics.MatchTypeCount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder
Overrides

setUnspecifiedCount(int value)

public Conversation.Metrics.MatchTypeCount.Builder setUnspecifiedCount(int value)

The number of matches with type Match.MatchType.MATCH_TYPE_UNSPECIFIED.

int32 unspecified_count = 1;

Parameter
Name Description
value int

The unspecifiedCount to set.

Returns
Type Description
Conversation.Metrics.MatchTypeCount.Builder

This builder for chaining.