Class Conversation.Metrics.MatchTypeCount.Builder

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

public static final class Conversation.Metrics.MatchTypeCount.Builder extends com.google.protobuf.GeneratedMessage.Builder<Conversation.Metrics.MatchTypeCount.Builder> implements Conversation.Metrics.MatchTypeCountOrBuilder
 Count by
 [Match.MatchType][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] of
 the matches in the conversation.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount
  • 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.MatchTypeCount.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.MatchTypeCount.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.MatchTypeCount.Builder>
    • getDefaultInstanceForType

      public Conversation.Metrics.MatchTypeCount 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.MatchTypeCount 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.MatchTypeCount.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.MatchTypeCount.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.MatchTypeCount.Builder>
    • mergeFrom

      public Conversation.Metrics.MatchTypeCount.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.MatchTypeCount.Builder>
      Throws:
      IOException
    • getUnspecifiedCount

      public int getUnspecifiedCount()
       The number of matches with type
       [Match.MatchType.MATCH_TYPE_UNSPECIFIED][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.MATCH_TYPE_UNSPECIFIED].
       
      int32 unspecified_count = 1;
      Specified by:
      getUnspecifiedCount in interface Conversation.Metrics.MatchTypeCountOrBuilder
      Returns:
      The unspecifiedCount.
    • setUnspecifiedCount

      public Conversation.Metrics.MatchTypeCount.Builder setUnspecifiedCount(int value)
       The number of matches with type
       [Match.MatchType.MATCH_TYPE_UNSPECIFIED][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.MATCH_TYPE_UNSPECIFIED].
       
      int32 unspecified_count = 1;
      Parameters:
      value - The unspecifiedCount to set.
      Returns:
      This builder for chaining.
    • clearUnspecifiedCount

      public Conversation.Metrics.MatchTypeCount.Builder clearUnspecifiedCount()
       The number of matches with type
       [Match.MatchType.MATCH_TYPE_UNSPECIFIED][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.MATCH_TYPE_UNSPECIFIED].
       
      int32 unspecified_count = 1;
      Returns:
      This builder for chaining.
    • getIntentCount

      public int getIntentCount()
       The number of matches with type
       [Match.MatchType.INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.INTENT].
       
      int32 intent_count = 2;
      Specified by:
      getIntentCount in interface Conversation.Metrics.MatchTypeCountOrBuilder
      Returns:
      The intentCount.
    • setIntentCount

      public Conversation.Metrics.MatchTypeCount.Builder setIntentCount(int value)
       The number of matches with type
       [Match.MatchType.INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.INTENT].
       
      int32 intent_count = 2;
      Parameters:
      value - The intentCount to set.
      Returns:
      This builder for chaining.
    • clearIntentCount

       The number of matches with type
       [Match.MatchType.INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.INTENT].
       
      int32 intent_count = 2;
      Returns:
      This builder for chaining.
    • getDirectIntentCount

      public int getDirectIntentCount()
       The number of matches with type
       [Match.MatchType.DIRECT_INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.DIRECT_INTENT].
       
      int32 direct_intent_count = 3;
      Specified by:
      getDirectIntentCount in interface Conversation.Metrics.MatchTypeCountOrBuilder
      Returns:
      The directIntentCount.
    • setDirectIntentCount

      public Conversation.Metrics.MatchTypeCount.Builder setDirectIntentCount(int value)
       The number of matches with type
       [Match.MatchType.DIRECT_INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.DIRECT_INTENT].
       
      int32 direct_intent_count = 3;
      Parameters:
      value - The directIntentCount to set.
      Returns:
      This builder for chaining.
    • clearDirectIntentCount

      public Conversation.Metrics.MatchTypeCount.Builder clearDirectIntentCount()
       The number of matches with type
       [Match.MatchType.DIRECT_INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.DIRECT_INTENT].
       
      int32 direct_intent_count = 3;
      Returns:
      This builder for chaining.
    • getParameterFillingCount

      public int getParameterFillingCount()
       The number of matches with type
       [Match.MatchType.PARAMETER_FILLING][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.PARAMETER_FILLING].
       
      int32 parameter_filling_count = 4;
      Specified by:
      getParameterFillingCount in interface Conversation.Metrics.MatchTypeCountOrBuilder
      Returns:
      The parameterFillingCount.
    • setParameterFillingCount

      public Conversation.Metrics.MatchTypeCount.Builder setParameterFillingCount(int value)
       The number of matches with type
       [Match.MatchType.PARAMETER_FILLING][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.PARAMETER_FILLING].
       
      int32 parameter_filling_count = 4;
      Parameters:
      value - The parameterFillingCount to set.
      Returns:
      This builder for chaining.
    • clearParameterFillingCount

      public Conversation.Metrics.MatchTypeCount.Builder clearParameterFillingCount()
       The number of matches with type
       [Match.MatchType.PARAMETER_FILLING][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.PARAMETER_FILLING].
       
      int32 parameter_filling_count = 4;
      Returns:
      This builder for chaining.
    • getNoMatchCount

      public int getNoMatchCount()
       The number of matches with type
       [Match.MatchType.NO_MATCH][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_MATCH].
       
      int32 no_match_count = 5;
      Specified by:
      getNoMatchCount in interface Conversation.Metrics.MatchTypeCountOrBuilder
      Returns:
      The noMatchCount.
    • setNoMatchCount

      public Conversation.Metrics.MatchTypeCount.Builder setNoMatchCount(int value)
       The number of matches with type
       [Match.MatchType.NO_MATCH][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_MATCH].
       
      int32 no_match_count = 5;
      Parameters:
      value - The noMatchCount to set.
      Returns:
      This builder for chaining.
    • clearNoMatchCount

      public Conversation.Metrics.MatchTypeCount.Builder clearNoMatchCount()
       The number of matches with type
       [Match.MatchType.NO_MATCH][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_MATCH].
       
      int32 no_match_count = 5;
      Returns:
      This builder for chaining.
    • getNoInputCount

      public int getNoInputCount()
       The number of matches with type
       [Match.MatchType.NO_INPUT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_INPUT].
       
      int32 no_input_count = 6;
      Specified by:
      getNoInputCount in interface Conversation.Metrics.MatchTypeCountOrBuilder
      Returns:
      The noInputCount.
    • setNoInputCount

      public Conversation.Metrics.MatchTypeCount.Builder setNoInputCount(int value)
       The number of matches with type
       [Match.MatchType.NO_INPUT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_INPUT].
       
      int32 no_input_count = 6;
      Parameters:
      value - The noInputCount to set.
      Returns:
      This builder for chaining.
    • clearNoInputCount

      public Conversation.Metrics.MatchTypeCount.Builder clearNoInputCount()
       The number of matches with type
       [Match.MatchType.NO_INPUT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_INPUT].
       
      int32 no_input_count = 6;
      Returns:
      This builder for chaining.
    • getEventCount

      public int getEventCount()
       The number of matches with type
       [Match.MatchType.EVENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.EVENT].
       
      int32 event_count = 7;
      Specified by:
      getEventCount in interface Conversation.Metrics.MatchTypeCountOrBuilder
      Returns:
      The eventCount.
    • setEventCount

      public Conversation.Metrics.MatchTypeCount.Builder setEventCount(int value)
       The number of matches with type
       [Match.MatchType.EVENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.EVENT].
       
      int32 event_count = 7;
      Parameters:
      value - The eventCount to set.
      Returns:
      This builder for chaining.
    • clearEventCount

       The number of matches with type
       [Match.MatchType.EVENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.EVENT].
       
      int32 event_count = 7;
      Returns:
      This builder for chaining.