Class Conversation.Metrics.QueryInputCount.Builder (0.56.0)

public static final class Conversation.Metrics.QueryInputCount.Builder extends GeneratedMessageV3.Builder<Conversation.Metrics.QueryInputCount.Builder> implements Conversation.Metrics.QueryInputCountOrBuilder

Count by types of QueryInput of the requests in the conversation.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearAudioCount()

public Conversation.Metrics.QueryInputCount.Builder clearAudioCount()

The number of AudioInput in the conversation.

int32 audio_count = 3;

Returns
Type Description
Conversation.Metrics.QueryInputCount.Builder

This builder for chaining.

clearDtmfCount()

public Conversation.Metrics.QueryInputCount.Builder clearDtmfCount()

The number of DtmfInput in the conversation.

int32 dtmf_count = 5;

Returns
Type Description
Conversation.Metrics.QueryInputCount.Builder

This builder for chaining.

clearEventCount()

public Conversation.Metrics.QueryInputCount.Builder clearEventCount()

The number of EventInput in the conversation.

int32 event_count = 4;

Returns
Type Description
Conversation.Metrics.QueryInputCount.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIntentCount()

public Conversation.Metrics.QueryInputCount.Builder clearIntentCount()

The number of IntentInput in the conversation.

int32 intent_count = 2;

Returns
Type Description
Conversation.Metrics.QueryInputCount.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTextCount()

public Conversation.Metrics.QueryInputCount.Builder clearTextCount()

The number of TextInput in the conversation.

int32 text_count = 1;

Returns
Type Description
Conversation.Metrics.QueryInputCount.Builder

This builder for chaining.

clone()

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

getAudioCount()

public int getAudioCount()

The number of AudioInput in the conversation.

int32 audio_count = 3;

Returns
Type Description
int

The audioCount.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getDtmfCount()

public int getDtmfCount()

The number of DtmfInput in the conversation.

int32 dtmf_count = 5;

Returns
Type Description
int

The dtmfCount.

getEventCount()

public int getEventCount()

The number of EventInput in the conversation.

int32 event_count = 4;

Returns
Type Description
int

The eventCount.

getIntentCount()

public int getIntentCount()

The number of IntentInput in the conversation.

int32 intent_count = 2;

Returns
Type Description
int

The intentCount.

getTextCount()

public int getTextCount()

The number of TextInput in the conversation.

int32 text_count = 1;

Returns
Type Description
int

The textCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Conversation.Metrics.QueryInputCount other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAudioCount(int value)

public Conversation.Metrics.QueryInputCount.Builder setAudioCount(int value)

The number of AudioInput in the conversation.

int32 audio_count = 3;

Parameter
Name Description
value int

The audioCount to set.

Returns
Type Description
Conversation.Metrics.QueryInputCount.Builder

This builder for chaining.

setDtmfCount(int value)

public Conversation.Metrics.QueryInputCount.Builder setDtmfCount(int value)

The number of DtmfInput in the conversation.

int32 dtmf_count = 5;

Parameter
Name Description
value int

The dtmfCount to set.

Returns
Type Description
Conversation.Metrics.QueryInputCount.Builder

This builder for chaining.

setEventCount(int value)

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

The number of EventInput in the conversation.

int32 event_count = 4;

Parameter
Name Description
value int

The eventCount to set.

Returns
Type Description
Conversation.Metrics.QueryInputCount.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setIntentCount(int value)

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

The number of IntentInput in the conversation.

int32 intent_count = 2;

Parameter
Name Description
value int

The intentCount to set.

Returns
Type Description
Conversation.Metrics.QueryInputCount.Builder

This builder for chaining.

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

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

setTextCount(int value)

public Conversation.Metrics.QueryInputCount.Builder setTextCount(int value)

The number of TextInput in the conversation.

int32 text_count = 1;

Parameter
Name Description
value int

The textCount to set.

Returns
Type Description
Conversation.Metrics.QueryInputCount.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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