Class Conversation.Metrics.QueryInputCount.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Conversation.Metrics.QueryInputCount.Builder>
com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount.Builder
All Implemented Interfaces:
Conversation.Metrics.QueryInputCountOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Conversation.Metrics.QueryInputCount

public static final class Conversation.Metrics.QueryInputCount.Builder extends com.google.protobuf.GeneratedMessage.Builder<Conversation.Metrics.QueryInputCount.Builder> implements Conversation.Metrics.QueryInputCountOrBuilder
 Count by types of
 [QueryInput][google.cloud.dialogflow.cx.v3beta1.QueryInput] of the
 requests in the conversation.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Conversation.Metrics.QueryInputCount.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Conversation.Metrics.QueryInputCount.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Conversation.Metrics.QueryInputCount.Builder>
    • getDefaultInstanceForType

      public Conversation.Metrics.QueryInputCount getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Conversation.Metrics.QueryInputCount buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Conversation.Metrics.QueryInputCount.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Conversation.Metrics.QueryInputCount.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Conversation.Metrics.QueryInputCount.Builder>
    • mergeFrom

      public Conversation.Metrics.QueryInputCount.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Conversation.Metrics.QueryInputCount.Builder>
      Throws:
      IOException
    • getTextCount

      public int getTextCount()
       The number of [TextInput][google.cloud.dialogflow.cx.v3beta1.TextInput]
       in the conversation.
       
      int32 text_count = 1;
      Specified by:
      getTextCount in interface Conversation.Metrics.QueryInputCountOrBuilder
      Returns:
      The textCount.
    • setTextCount

      public Conversation.Metrics.QueryInputCount.Builder setTextCount(int value)
       The number of [TextInput][google.cloud.dialogflow.cx.v3beta1.TextInput]
       in the conversation.
       
      int32 text_count = 1;
      Parameters:
      value - The textCount to set.
      Returns:
      This builder for chaining.
    • clearTextCount

       The number of [TextInput][google.cloud.dialogflow.cx.v3beta1.TextInput]
       in the conversation.
       
      int32 text_count = 1;
      Returns:
      This builder for chaining.
    • getIntentCount

      public int getIntentCount()
       The number of
       [IntentInput][google.cloud.dialogflow.cx.v3beta1.IntentInput] in the
       conversation.
       
      int32 intent_count = 2;
      Specified by:
      getIntentCount in interface Conversation.Metrics.QueryInputCountOrBuilder
      Returns:
      The intentCount.
    • setIntentCount

      public Conversation.Metrics.QueryInputCount.Builder setIntentCount(int value)
       The number of
       [IntentInput][google.cloud.dialogflow.cx.v3beta1.IntentInput] in the
       conversation.
       
      int32 intent_count = 2;
      Parameters:
      value - The intentCount to set.
      Returns:
      This builder for chaining.
    • clearIntentCount

       The number of
       [IntentInput][google.cloud.dialogflow.cx.v3beta1.IntentInput] in the
       conversation.
       
      int32 intent_count = 2;
      Returns:
      This builder for chaining.
    • getAudioCount

      public int getAudioCount()
       The number of
       [AudioInput][google.cloud.dialogflow.cx.v3beta1.AudioInput] in the
       conversation.
       
      int32 audio_count = 3;
      Specified by:
      getAudioCount in interface Conversation.Metrics.QueryInputCountOrBuilder
      Returns:
      The audioCount.
    • setAudioCount

      public Conversation.Metrics.QueryInputCount.Builder setAudioCount(int value)
       The number of
       [AudioInput][google.cloud.dialogflow.cx.v3beta1.AudioInput] in the
       conversation.
       
      int32 audio_count = 3;
      Parameters:
      value - The audioCount to set.
      Returns:
      This builder for chaining.
    • clearAudioCount

       The number of
       [AudioInput][google.cloud.dialogflow.cx.v3beta1.AudioInput] in the
       conversation.
       
      int32 audio_count = 3;
      Returns:
      This builder for chaining.
    • getEventCount

      public int getEventCount()
       The number of
       [EventInput][google.cloud.dialogflow.cx.v3beta1.EventInput] in the
       conversation.
       
      int32 event_count = 4;
      Specified by:
      getEventCount in interface Conversation.Metrics.QueryInputCountOrBuilder
      Returns:
      The eventCount.
    • setEventCount

      public Conversation.Metrics.QueryInputCount.Builder setEventCount(int value)
       The number of
       [EventInput][google.cloud.dialogflow.cx.v3beta1.EventInput] in the
       conversation.
       
      int32 event_count = 4;
      Parameters:
      value - The eventCount to set.
      Returns:
      This builder for chaining.
    • clearEventCount

       The number of
       [EventInput][google.cloud.dialogflow.cx.v3beta1.EventInput] in the
       conversation.
       
      int32 event_count = 4;
      Returns:
      This builder for chaining.
    • getDtmfCount

      public int getDtmfCount()
       The number of [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput]
       in the conversation.
       
      int32 dtmf_count = 5;
      Specified by:
      getDtmfCount in interface Conversation.Metrics.QueryInputCountOrBuilder
      Returns:
      The dtmfCount.
    • setDtmfCount

      public Conversation.Metrics.QueryInputCount.Builder setDtmfCount(int value)
       The number of [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput]
       in the conversation.
       
      int32 dtmf_count = 5;
      Parameters:
      value - The dtmfCount to set.
      Returns:
      This builder for chaining.
    • clearDtmfCount

       The number of [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput]
       in the conversation.
       
      int32 dtmf_count = 5;
      Returns:
      This builder for chaining.