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 Summary
Modifier and TypeMethodDescriptionbuild()clear()The number of matches with type [Match.MatchType.DIRECT_INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.DIRECT_INTENT].The number of matches with type [Match.MatchType.EVENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.EVENT].The number of matches with type [Match.MatchType.INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.INTENT].The number of matches with type [Match.MatchType.NO_INPUT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_INPUT].The number of matches with type [Match.MatchType.NO_MATCH][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_MATCH].The number of matches with type [Match.MatchType.PARAMETER_FILLING][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.PARAMETER_FILLING].The number of matches with type [Match.MatchType.MATCH_TYPE_UNSPECIFIED][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.MATCH_TYPE_UNSPECIFIED].static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintThe number of matches with type [Match.MatchType.DIRECT_INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.DIRECT_INTENT].intThe number of matches with type [Match.MatchType.EVENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.EVENT].intThe number of matches with type [Match.MatchType.INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.INTENT].intThe number of matches with type [Match.MatchType.NO_INPUT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_INPUT].intThe number of matches with type [Match.MatchType.NO_MATCH][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_MATCH].intThe number of matches with type [Match.MatchType.PARAMETER_FILLING][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.PARAMETER_FILLING].intThe number of matches with type [Match.MatchType.MATCH_TYPE_UNSPECIFIED][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.MATCH_TYPE_UNSPECIFIED].protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDirectIntentCount(int value) The number of matches with type [Match.MatchType.DIRECT_INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.DIRECT_INTENT].setEventCount(int value) The number of matches with type [Match.MatchType.EVENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.EVENT].setIntentCount(int value) The number of matches with type [Match.MatchType.INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.INTENT].setNoInputCount(int value) The number of matches with type [Match.MatchType.NO_INPUT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_INPUT].setNoMatchCount(int value) The number of matches with type [Match.MatchType.NO_MATCH][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_MATCH].setParameterFillingCount(int value) The number of matches with type [Match.MatchType.PARAMETER_FILLING][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.PARAMETER_FILLING].setUnspecifiedCount(int value) The number of matches with type [Match.MatchType.MATCH_TYPE_UNSPECIFIED][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.MATCH_TYPE_UNSPECIFIED].Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Conversation.Metrics.MatchTypeCount.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Conversation.Metrics.MatchTypeCount.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Conversation.Metrics.MatchTypeCount.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Conversation.Metrics.MatchTypeCount.Builder>
-
mergeFrom
public Conversation.Metrics.MatchTypeCount.Builder mergeFrom(Conversation.Metrics.MatchTypeCount other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getUnspecifiedCountin interfaceConversation.Metrics.MatchTypeCountOrBuilder- Returns:
- The unspecifiedCount.
-
setUnspecifiedCount
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
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:
getIntentCountin interfaceConversation.Metrics.MatchTypeCountOrBuilder- Returns:
- The intentCount.
-
setIntentCount
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:
getDirectIntentCountin interfaceConversation.Metrics.MatchTypeCountOrBuilder- Returns:
- The directIntentCount.
-
setDirectIntentCount
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
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:
getParameterFillingCountin interfaceConversation.Metrics.MatchTypeCountOrBuilder- Returns:
- The parameterFillingCount.
-
setParameterFillingCount
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
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:
getNoMatchCountin interfaceConversation.Metrics.MatchTypeCountOrBuilder- Returns:
- The noMatchCount.
-
setNoMatchCount
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
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:
getNoInputCountin interfaceConversation.Metrics.MatchTypeCountOrBuilder- Returns:
- The noInputCount.
-
setNoInputCount
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
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:
getEventCountin interfaceConversation.Metrics.MatchTypeCountOrBuilder- Returns:
- The eventCount.
-
setEventCount
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.
-