public static final class Urlfrontier.Stats.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.Stats.Builder> implements Urlfrontier.StatsOrBuilder
* Message returned by the GetStats methodProtobuf type
urlfrontier.Stats| Modifier and Type | Method and Description |
|---|---|
Urlfrontier.Stats.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Urlfrontier.Stats |
build() |
Urlfrontier.Stats |
buildPartial() |
Urlfrontier.Stats.Builder |
clear() |
Urlfrontier.Stats.Builder |
clearCounts() |
Urlfrontier.Stats.Builder |
clearCrawlID()
crawl ID
|
Urlfrontier.Stats.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Urlfrontier.Stats.Builder |
clearInProcess()
number of URLs currently in flight
|
Urlfrontier.Stats.Builder |
clearNumberOfQueues()
number of active queues in the frontier
|
Urlfrontier.Stats.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Urlfrontier.Stats.Builder |
clearSize()
number of active URLs in queues
|
Urlfrontier.Stats.Builder |
clone() |
boolean |
containsCounts(java.lang.String key)
custom counts
|
java.util.Map<java.lang.String,java.lang.Long> |
getCounts()
Deprecated.
|
int |
getCountsCount()
custom counts
|
java.util.Map<java.lang.String,java.lang.Long> |
getCountsMap()
custom counts
|
long |
getCountsOrDefault(java.lang.String key,
long defaultValue)
custom counts
|
long |
getCountsOrThrow(java.lang.String key)
custom counts
|
java.lang.String |
getCrawlID()
crawl ID
|
com.google.protobuf.ByteString |
getCrawlIDBytes()
crawl ID
|
Urlfrontier.Stats |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getInProcess()
number of URLs currently in flight
|
java.util.Map<java.lang.String,java.lang.Long> |
getMutableCounts()
Deprecated.
|
long |
getNumberOfQueues()
number of active queues in the frontier
|
long |
getSize()
number of active URLs in queues
|
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() |
Urlfrontier.Stats.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Urlfrontier.Stats.Builder |
mergeFrom(com.google.protobuf.Message other) |
Urlfrontier.Stats.Builder |
mergeFrom(Urlfrontier.Stats other) |
Urlfrontier.Stats.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Urlfrontier.Stats.Builder |
putAllCounts(java.util.Map<java.lang.String,java.lang.Long> values)
custom counts
|
Urlfrontier.Stats.Builder |
putCounts(java.lang.String key,
long value)
custom counts
|
Urlfrontier.Stats.Builder |
removeCounts(java.lang.String key)
custom counts
|
Urlfrontier.Stats.Builder |
setCrawlID(java.lang.String value)
crawl ID
|
Urlfrontier.Stats.Builder |
setCrawlIDBytes(com.google.protobuf.ByteString value)
crawl ID
|
Urlfrontier.Stats.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Urlfrontier.Stats.Builder |
setInProcess(int value)
number of URLs currently in flight
|
Urlfrontier.Stats.Builder |
setNumberOfQueues(long value)
number of active queues in the frontier
|
Urlfrontier.Stats.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Urlfrontier.Stats.Builder |
setSize(long value)
number of active URLs in queues
|
Urlfrontier.Stats.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<Urlfrontier.Stats.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.Stats.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.Stats.Builder>public Urlfrontier.Stats.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.Stats.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<Urlfrontier.Stats.Builder>public Urlfrontier.Stats getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Urlfrontier.Stats build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Urlfrontier.Stats buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Urlfrontier.Stats.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.Stats.Builder>public Urlfrontier.Stats.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.Stats.Builder>public Urlfrontier.Stats.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.Stats.Builder>public Urlfrontier.Stats.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.Stats.Builder>public Urlfrontier.Stats.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.Stats.Builder>public Urlfrontier.Stats.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.Stats.Builder>public Urlfrontier.Stats.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Urlfrontier.Stats.Builder>public Urlfrontier.Stats.Builder mergeFrom(Urlfrontier.Stats other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.Stats.Builder>public Urlfrontier.Stats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Urlfrontier.Stats.Builder>java.io.IOExceptionpublic long getSize()
number of active URLs in queues
uint64 size = 1;getSize in interface Urlfrontier.StatsOrBuilderpublic Urlfrontier.Stats.Builder setSize(long value)
number of active URLs in queues
uint64 size = 1;value - The size to set.public Urlfrontier.Stats.Builder clearSize()
number of active URLs in queues
uint64 size = 1;public int getInProcess()
number of URLs currently in flight
uint32 inProcess = 2;getInProcess in interface Urlfrontier.StatsOrBuilderpublic Urlfrontier.Stats.Builder setInProcess(int value)
number of URLs currently in flight
uint32 inProcess = 2;value - The inProcess to set.public Urlfrontier.Stats.Builder clearInProcess()
number of URLs currently in flight
uint32 inProcess = 2;public int getCountsCount()
Urlfrontier.StatsOrBuildercustom counts
map<string, uint64> counts = 3;getCountsCount in interface Urlfrontier.StatsOrBuilderpublic boolean containsCounts(java.lang.String key)
custom counts
map<string, uint64> counts = 3;containsCounts in interface Urlfrontier.StatsOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.Long> getCounts()
getCountsMap() instead.getCounts in interface Urlfrontier.StatsOrBuilderpublic java.util.Map<java.lang.String,java.lang.Long> getCountsMap()
custom counts
map<string, uint64> counts = 3;getCountsMap in interface Urlfrontier.StatsOrBuilderpublic long getCountsOrDefault(java.lang.String key,
long defaultValue)
custom counts
map<string, uint64> counts = 3;getCountsOrDefault in interface Urlfrontier.StatsOrBuilderpublic long getCountsOrThrow(java.lang.String key)
custom counts
map<string, uint64> counts = 3;getCountsOrThrow in interface Urlfrontier.StatsOrBuilderpublic Urlfrontier.Stats.Builder clearCounts()
public Urlfrontier.Stats.Builder removeCounts(java.lang.String key)
custom counts
map<string, uint64> counts = 3;@Deprecated public java.util.Map<java.lang.String,java.lang.Long> getMutableCounts()
public Urlfrontier.Stats.Builder putCounts(java.lang.String key, long value)
custom counts
map<string, uint64> counts = 3;public Urlfrontier.Stats.Builder putAllCounts(java.util.Map<java.lang.String,java.lang.Long> values)
custom counts
map<string, uint64> counts = 3;public long getNumberOfQueues()
number of active queues in the frontier
uint64 numberOfQueues = 4;getNumberOfQueues in interface Urlfrontier.StatsOrBuilderpublic Urlfrontier.Stats.Builder setNumberOfQueues(long value)
number of active queues in the frontier
uint64 numberOfQueues = 4;value - The numberOfQueues to set.public Urlfrontier.Stats.Builder clearNumberOfQueues()
number of active queues in the frontier
uint64 numberOfQueues = 4;public java.lang.String getCrawlID()
crawl ID
string crawlID = 5;getCrawlID in interface Urlfrontier.StatsOrBuilderpublic com.google.protobuf.ByteString getCrawlIDBytes()
crawl ID
string crawlID = 5;getCrawlIDBytes in interface Urlfrontier.StatsOrBuilderpublic Urlfrontier.Stats.Builder setCrawlID(java.lang.String value)
crawl ID
string crawlID = 5;value - The crawlID to set.public Urlfrontier.Stats.Builder clearCrawlID()
crawl ID
string crawlID = 5;public Urlfrontier.Stats.Builder setCrawlIDBytes(com.google.protobuf.ByteString value)
crawl ID
string crawlID = 5;value - The bytes for crawlID to set.public final Urlfrontier.Stats.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.Stats.Builder>public final Urlfrontier.Stats.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.Stats.Builder>Copyright © 2020-2022 Crawler-Commons. All Rights Reserved.