Class IssueModelLabelStats.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<IssueModelLabelStats.Builder>
com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder
- All Implemented Interfaces:
IssueModelLabelStatsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- IssueModelLabelStats
public static final class IssueModelLabelStats.Builder
extends com.google.protobuf.GeneratedMessage.Builder<IssueModelLabelStats.Builder>
implements IssueModelLabelStatsOrBuilder
Aggregated statistics about an issue model.Protobuf type
google.cloud.contactcenterinsights.v1.IssueModelLabelStats-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Number of conversations the issue model has analyzed at this point in time.Number of analyzed conversations for which no issue was applicable at this point in time.booleancontainsIssueStats(String key) Statistics on each issue.longNumber of conversations the issue model has analyzed at this point in time.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intStatistics on each issue.Statistics on each issue.getIssueStatsOrDefault(String key, IssueModelLabelStats.IssueStats defaultValue) Statistics on each issue.Statistics on each issue.Deprecated.longNumber of analyzed conversations for which no issue was applicable at this point in time.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(IssueModelLabelStats other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Statistics on each issue.putIssueStats(String key, IssueModelLabelStats.IssueStats value) Statistics on each issue.Statistics on each issue.removeIssueStats(String key) Statistics on each issue.setAnalyzedConversationsCount(long value) Number of conversations the issue model has analyzed at this point in time.setUnclassifiedConversationsCount(long value) Number of analyzed conversations for which no issue was applicable at this point in time.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, internalGetMutableMapField, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<IssueModelLabelStats.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<IssueModelLabelStats.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<IssueModelLabelStats.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<IssueModelLabelStats.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<IssueModelLabelStats.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<IssueModelLabelStats.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<IssueModelLabelStats.Builder>
-
mergeFrom
public IssueModelLabelStats.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<IssueModelLabelStats.Builder>- Throws:
IOException
-
getAnalyzedConversationsCount
public long getAnalyzedConversationsCount()Number of conversations the issue model has analyzed at this point in time.
int64 analyzed_conversations_count = 1;- Specified by:
getAnalyzedConversationsCountin interfaceIssueModelLabelStatsOrBuilder- Returns:
- The analyzedConversationsCount.
-
setAnalyzedConversationsCount
Number of conversations the issue model has analyzed at this point in time.
int64 analyzed_conversations_count = 1;- Parameters:
value- The analyzedConversationsCount to set.- Returns:
- This builder for chaining.
-
clearAnalyzedConversationsCount
Number of conversations the issue model has analyzed at this point in time.
int64 analyzed_conversations_count = 1;- Returns:
- This builder for chaining.
-
getUnclassifiedConversationsCount
public long getUnclassifiedConversationsCount()Number of analyzed conversations for which no issue was applicable at this point in time.
int64 unclassified_conversations_count = 2;- Specified by:
getUnclassifiedConversationsCountin interfaceIssueModelLabelStatsOrBuilder- Returns:
- The unclassifiedConversationsCount.
-
setUnclassifiedConversationsCount
Number of analyzed conversations for which no issue was applicable at this point in time.
int64 unclassified_conversations_count = 2;- Parameters:
value- The unclassifiedConversationsCount to set.- Returns:
- This builder for chaining.
-
clearUnclassifiedConversationsCount
Number of analyzed conversations for which no issue was applicable at this point in time.
int64 unclassified_conversations_count = 2;- Returns:
- This builder for chaining.
-
getIssueStatsCount
public int getIssueStatsCount()Description copied from interface:IssueModelLabelStatsOrBuilderStatistics on each issue. Key is the issue's resource name.
map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3;- Specified by:
getIssueStatsCountin interfaceIssueModelLabelStatsOrBuilder
-
containsIssueStats
Statistics on each issue. Key is the issue's resource name.
map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3;- Specified by:
containsIssueStatsin interfaceIssueModelLabelStatsOrBuilder
-
getIssueStats
Deprecated.UsegetIssueStatsMap()instead.- Specified by:
getIssueStatsin interfaceIssueModelLabelStatsOrBuilder
-
getIssueStatsMap
Statistics on each issue. Key is the issue's resource name.
map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3;- Specified by:
getIssueStatsMapin interfaceIssueModelLabelStatsOrBuilder
-
getIssueStatsOrDefault
public IssueModelLabelStats.IssueStats getIssueStatsOrDefault(String key, IssueModelLabelStats.IssueStats defaultValue) Statistics on each issue. Key is the issue's resource name.
map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3;- Specified by:
getIssueStatsOrDefaultin interfaceIssueModelLabelStatsOrBuilder
-
getIssueStatsOrThrow
Statistics on each issue. Key is the issue's resource name.
map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3;- Specified by:
getIssueStatsOrThrowin interfaceIssueModelLabelStatsOrBuilder
-
clearIssueStats
-
removeIssueStats
Statistics on each issue. Key is the issue's resource name.
map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; -
getMutableIssueStats
Deprecated.Use alternate mutation accessors instead. -
putIssueStats
public IssueModelLabelStats.Builder putIssueStats(String key, IssueModelLabelStats.IssueStats value) Statistics on each issue. Key is the issue's resource name.
map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; -
putAllIssueStats
public IssueModelLabelStats.Builder putAllIssueStats(Map<String, IssueModelLabelStats.IssueStats> values) Statistics on each issue. Key is the issue's resource name.
map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3; -
putIssueStatsBuilderIfAbsent
Statistics on each issue. Key is the issue's resource name.
map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3;
-