public static final class LabelStats.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LabelStats.Builder> implements LabelStatsOrBuilder
Statistics about annotation specs.Protobuf type
google.cloud.datalabeling.v1beta1.LabelStats| Modifier and Type | Method and Description |
|---|---|
LabelStats.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LabelStats |
build() |
LabelStats |
buildPartial() |
LabelStats.Builder |
clear() |
LabelStats.Builder |
clearExampleCount() |
LabelStats.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
LabelStats.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
LabelStats.Builder |
clone() |
boolean |
containsExampleCount(String key)
Map of each annotation spec's example count.
|
LabelStats |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,Long> |
getExampleCount()
Deprecated.
|
int |
getExampleCountCount()
Map of each annotation spec's example count.
|
Map<String,Long> |
getExampleCountMap()
Map of each annotation spec's example count.
|
long |
getExampleCountOrDefault(String key,
long defaultValue)
Map of each annotation spec's example count.
|
long |
getExampleCountOrThrow(String key)
Map of each annotation spec's example count.
|
Map<String,Long> |
getMutableExampleCount()
Deprecated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
LabelStats.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LabelStats.Builder |
mergeFrom(LabelStats other) |
LabelStats.Builder |
mergeFrom(com.google.protobuf.Message other) |
LabelStats.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LabelStats.Builder |
putAllExampleCount(Map<String,Long> values)
Map of each annotation spec's example count.
|
LabelStats.Builder |
putExampleCount(String key,
long value)
Map of each annotation spec's example count.
|
LabelStats.Builder |
removeExampleCount(String key)
Map of each annotation spec's example count.
|
LabelStats.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LabelStats.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
LabelStats.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<LabelStats.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<LabelStats.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LabelStats.Builder>public LabelStats.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<LabelStats.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<LabelStats.Builder>public LabelStats getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LabelStats build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LabelStats buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LabelStats.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<LabelStats.Builder>public LabelStats.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<LabelStats.Builder>public LabelStats.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<LabelStats.Builder>public LabelStats.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<LabelStats.Builder>public LabelStats.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LabelStats.Builder>public LabelStats.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LabelStats.Builder>public LabelStats.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LabelStats.Builder>public LabelStats.Builder mergeFrom(LabelStats other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LabelStats.Builder>public LabelStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LabelStats.Builder>IOExceptionpublic int getExampleCountCount()
LabelStatsOrBuilderMap of each annotation spec's example count. Key is the annotation spec name and value is the number of examples for that annotation spec. If the annotated dataset does not have annotation spec, the map will return a pair where the key is empty string and value is the total number of annotations.
map<string, int64> example_count = 1;getExampleCountCount in interface LabelStatsOrBuilderpublic boolean containsExampleCount(String key)
Map of each annotation spec's example count. Key is the annotation spec name and value is the number of examples for that annotation spec. If the annotated dataset does not have annotation spec, the map will return a pair where the key is empty string and value is the total number of annotations.
map<string, int64> example_count = 1;containsExampleCount in interface LabelStatsOrBuilder@Deprecated public Map<String,Long> getExampleCount()
getExampleCountMap() instead.getExampleCount in interface LabelStatsOrBuilderpublic Map<String,Long> getExampleCountMap()
Map of each annotation spec's example count. Key is the annotation spec name and value is the number of examples for that annotation spec. If the annotated dataset does not have annotation spec, the map will return a pair where the key is empty string and value is the total number of annotations.
map<string, int64> example_count = 1;getExampleCountMap in interface LabelStatsOrBuilderpublic long getExampleCountOrDefault(String key, long defaultValue)
Map of each annotation spec's example count. Key is the annotation spec name and value is the number of examples for that annotation spec. If the annotated dataset does not have annotation spec, the map will return a pair where the key is empty string and value is the total number of annotations.
map<string, int64> example_count = 1;getExampleCountOrDefault in interface LabelStatsOrBuilderpublic long getExampleCountOrThrow(String key)
Map of each annotation spec's example count. Key is the annotation spec name and value is the number of examples for that annotation spec. If the annotated dataset does not have annotation spec, the map will return a pair where the key is empty string and value is the total number of annotations.
map<string, int64> example_count = 1;getExampleCountOrThrow in interface LabelStatsOrBuilderpublic LabelStats.Builder clearExampleCount()
public LabelStats.Builder removeExampleCount(String key)
Map of each annotation spec's example count. Key is the annotation spec name and value is the number of examples for that annotation spec. If the annotated dataset does not have annotation spec, the map will return a pair where the key is empty string and value is the total number of annotations.
map<string, int64> example_count = 1;@Deprecated public Map<String,Long> getMutableExampleCount()
public LabelStats.Builder putExampleCount(String key, long value)
Map of each annotation spec's example count. Key is the annotation spec name and value is the number of examples for that annotation spec. If the annotated dataset does not have annotation spec, the map will return a pair where the key is empty string and value is the total number of annotations.
map<string, int64> example_count = 1;public LabelStats.Builder putAllExampleCount(Map<String,Long> values)
Map of each annotation spec's example count. Key is the annotation spec name and value is the number of examples for that annotation spec. If the annotated dataset does not have annotation spec, the map will return a pair where the key is empty string and value is the total number of annotations.
map<string, int64> example_count = 1;public final LabelStats.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LabelStats.Builder>public final LabelStats.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LabelStats.Builder>Copyright © 2019 Google LLC. All rights reserved.