Class Conversation.Metrics.QueryInputCount (0.55.0)

public static final class Conversation.Metrics.QueryInputCount extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Conversation.Metrics.QueryInputCount

Static Fields

AUDIO_COUNT_FIELD_NUMBER

public static final int AUDIO_COUNT_FIELD_NUMBER
Field Value
Type Description
int

DTMF_COUNT_FIELD_NUMBER

public static final int DTMF_COUNT_FIELD_NUMBER
Field Value
Type Description
int

EVENT_COUNT_FIELD_NUMBER

public static final int EVENT_COUNT_FIELD_NUMBER
Field Value
Type Description
int

INTENT_COUNT_FIELD_NUMBER

public static final int INTENT_COUNT_FIELD_NUMBER
Field Value
Type Description
int

TEXT_COUNT_FIELD_NUMBER

public static final int TEXT_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Conversation.Metrics.QueryInputCount getDefaultInstance()
Returns
Type Description
Conversation.Metrics.QueryInputCount

getDescriptor()

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

newBuilder()

public static Conversation.Metrics.QueryInputCount.Builder newBuilder()
Returns
Type Description
Conversation.Metrics.QueryInputCount.Builder

newBuilder(Conversation.Metrics.QueryInputCount prototype)

public static Conversation.Metrics.QueryInputCount.Builder newBuilder(Conversation.Metrics.QueryInputCount prototype)
Parameter
Name Description
prototype Conversation.Metrics.QueryInputCount
Returns
Type Description
Conversation.Metrics.QueryInputCount.Builder

parseDelimitedFrom(InputStream input)

public static Conversation.Metrics.QueryInputCount parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Conversation.Metrics.QueryInputCount
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Conversation.Metrics.QueryInputCount parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.Metrics.QueryInputCount
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Conversation.Metrics.QueryInputCount parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Conversation.Metrics.QueryInputCount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Conversation.Metrics.QueryInputCount parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.Metrics.QueryInputCount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Conversation.Metrics.QueryInputCount parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Conversation.Metrics.QueryInputCount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Conversation.Metrics.QueryInputCount parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.Metrics.QueryInputCount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Conversation.Metrics.QueryInputCount parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Conversation.Metrics.QueryInputCount
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Conversation.Metrics.QueryInputCount parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.Metrics.QueryInputCount
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Conversation.Metrics.QueryInputCount parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Conversation.Metrics.QueryInputCount
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Conversation.Metrics.QueryInputCount parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.Metrics.QueryInputCount
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Conversation.Metrics.QueryInputCount parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Conversation.Metrics.QueryInputCount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Conversation.Metrics.QueryInputCount parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.Metrics.QueryInputCount
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Conversation.Metrics.QueryInputCount> parser()
Returns
Type Description
Parser<QueryInputCount>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<Conversation.Metrics.QueryInputCount> getParserForType()
Returns
Type Description
Parser<QueryInputCount>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTextCount()

public int getTextCount()

The number of TextInput in the conversation.

int32 text_count = 1;

Returns
Type Description
int

The textCount.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Conversation.Metrics.QueryInputCount.Builder newBuilderForType()
Returns
Type Description
Conversation.Metrics.QueryInputCount.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Conversation.Metrics.QueryInputCount.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Conversation.Metrics.QueryInputCount.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Conversation.Metrics.QueryInputCount.Builder toBuilder()
Returns
Type Description
Conversation.Metrics.QueryInputCount.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException