Class MetricsDistributions
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.MetricsDistributions
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MetricsDistributionsOrBuilder, Serializable
@Generated
public final class MetricsDistributions
extends com.google.protobuf.GeneratedMessage
implements MetricsDistributionsOrBuilder
Current-state distributions computed from the latest bot data. These are not time-series; they reflect the current instant.Protobuf type
soulfire.v1.MetricsDistributions- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classCurrent-state distributions computed from the latest bot data.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanNumber of bots in each dimension (e.g., "minecraft:overworld" -> 5).booleanNumber of bots in each game mode (e.g., "SURVIVAL" -> 10).booleangetBotPositions(int index) XZ positions of online bots for scatter plot rendering.intXZ positions of online bots for scatter plot rendering.XZ positions of online bots for scatter plot rendering.getBotPositionsOrBuilder(int index) XZ positions of online bots for scatter plot rendering.List<? extends BotPositionOrBuilder> XZ positions of online bots for scatter plot rendering.static MetricsDistributionsstatic final com.google.protobuf.Descriptors.DescriptorDeprecated.intNumber of bots in each dimension (e.g., "minecraft:overworld" -> 5).Number of bots in each dimension (e.g., "minecraft:overworld" -> 5).intgetDimensionCountsOrDefault(String key, int defaultValue) Number of bots in each dimension (e.g., "minecraft:overworld" -> 5).intNumber of bots in each dimension (e.g., "minecraft:overworld" -> 5).intgetFoodHistogram(int index) Food level histogram with 10 buckets of width 2: [0,2), [2,4), ..., [18,20].intFood level histogram with 10 buckets of width 2: [0,2), [2,4), ..., [18,20].Food level histogram with 10 buckets of width 2: [0,2), [2,4), ..., [18,20].Deprecated.intNumber of bots in each game mode (e.g., "SURVIVAL" -> 10).Number of bots in each game mode (e.g., "SURVIVAL" -> 10).intgetGameModeCountsOrDefault(String key, int defaultValue) Number of bots in each game mode (e.g., "SURVIVAL" -> 10).intNumber of bots in each game mode (e.g., "SURVIVAL" -> 10).intgetHealthHistogram(int index) Health histogram with 10 buckets of width 2: [0,2), [2,4), ..., [18,20].intHealth histogram with 10 buckets of width 2: [0,2), [2,4), ..., [18,20].Health histogram with 10 buckets of width 2: [0,2), [2,4), ..., [18,20].com.google.protobuf.Parser<MetricsDistributions> intinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic MetricsDistributions.Builderstatic MetricsDistributions.BuildernewBuilder(MetricsDistributions prototype) protected MetricsDistributions.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static MetricsDistributionsparseDelimitedFrom(InputStream input) static MetricsDistributionsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MetricsDistributionsparseFrom(byte[] data) static MetricsDistributionsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MetricsDistributionsparseFrom(com.google.protobuf.ByteString data) static MetricsDistributionsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MetricsDistributionsparseFrom(com.google.protobuf.CodedInputStream input) static MetricsDistributionsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MetricsDistributionsparseFrom(InputStream input) static MetricsDistributionsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MetricsDistributionsparseFrom(ByteBuffer data) static MetricsDistributionsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<MetricsDistributions> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
HEALTH_HISTOGRAM_FIELD_NUMBER
public static final int HEALTH_HISTOGRAM_FIELD_NUMBER- See Also:
-
FOOD_HISTOGRAM_FIELD_NUMBER
public static final int FOOD_HISTOGRAM_FIELD_NUMBER- See Also:
-
DIMENSION_COUNTS_FIELD_NUMBER
public static final int DIMENSION_COUNTS_FIELD_NUMBER- See Also:
-
GAME_MODE_COUNTS_FIELD_NUMBER
public static final int GAME_MODE_COUNTS_FIELD_NUMBER- See Also:
-
BOT_POSITIONS_FIELD_NUMBER
public static final int BOT_POSITIONS_FIELD_NUMBER- See Also:
-
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getHealthHistogramList
Health histogram with 10 buckets of width 2: [0,2), [2,4), ..., [18,20]. Each entry is the count of bots whose health falls in that bucket.
repeated uint32 health_histogram = 1;- Specified by:
getHealthHistogramListin interfaceMetricsDistributionsOrBuilder- Returns:
- A list containing the healthHistogram.
-
getHealthHistogramCount
public int getHealthHistogramCount()Health histogram with 10 buckets of width 2: [0,2), [2,4), ..., [18,20]. Each entry is the count of bots whose health falls in that bucket.
repeated uint32 health_histogram = 1;- Specified by:
getHealthHistogramCountin interfaceMetricsDistributionsOrBuilder- Returns:
- The count of healthHistogram.
-
getHealthHistogram
public int getHealthHistogram(int index) Health histogram with 10 buckets of width 2: [0,2), [2,4), ..., [18,20]. Each entry is the count of bots whose health falls in that bucket.
repeated uint32 health_histogram = 1;- Specified by:
getHealthHistogramin interfaceMetricsDistributionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The healthHistogram at the given index.
-
getFoodHistogramList
Food level histogram with 10 buckets of width 2: [0,2), [2,4), ..., [18,20].
repeated uint32 food_histogram = 2;- Specified by:
getFoodHistogramListin interfaceMetricsDistributionsOrBuilder- Returns:
- A list containing the foodHistogram.
-
getFoodHistogramCount
public int getFoodHistogramCount()Food level histogram with 10 buckets of width 2: [0,2), [2,4), ..., [18,20].
repeated uint32 food_histogram = 2;- Specified by:
getFoodHistogramCountin interfaceMetricsDistributionsOrBuilder- Returns:
- The count of foodHistogram.
-
getFoodHistogram
public int getFoodHistogram(int index) Food level histogram with 10 buckets of width 2: [0,2), [2,4), ..., [18,20].
repeated uint32 food_histogram = 2;- Specified by:
getFoodHistogramin interfaceMetricsDistributionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The foodHistogram at the given index.
-
getDimensionCountsCount
public int getDimensionCountsCount()Description copied from interface:MetricsDistributionsOrBuilderNumber of bots in each dimension (e.g., "minecraft:overworld" -> 5).
map<string, uint32> dimension_counts = 3;- Specified by:
getDimensionCountsCountin interfaceMetricsDistributionsOrBuilder
-
containsDimensionCounts
Number of bots in each dimension (e.g., "minecraft:overworld" -> 5).
map<string, uint32> dimension_counts = 3;- Specified by:
containsDimensionCountsin interfaceMetricsDistributionsOrBuilder
-
getDimensionCounts
Deprecated.UsegetDimensionCountsMap()instead.- Specified by:
getDimensionCountsin interfaceMetricsDistributionsOrBuilder
-
getDimensionCountsMap
Number of bots in each dimension (e.g., "minecraft:overworld" -> 5).
map<string, uint32> dimension_counts = 3;- Specified by:
getDimensionCountsMapin interfaceMetricsDistributionsOrBuilder
-
getDimensionCountsOrDefault
Number of bots in each dimension (e.g., "minecraft:overworld" -> 5).
map<string, uint32> dimension_counts = 3;- Specified by:
getDimensionCountsOrDefaultin interfaceMetricsDistributionsOrBuilder
-
getDimensionCountsOrThrow
Number of bots in each dimension (e.g., "minecraft:overworld" -> 5).
map<string, uint32> dimension_counts = 3;- Specified by:
getDimensionCountsOrThrowin interfaceMetricsDistributionsOrBuilder
-
getGameModeCountsCount
public int getGameModeCountsCount()Description copied from interface:MetricsDistributionsOrBuilderNumber of bots in each game mode (e.g., "SURVIVAL" -> 10).
map<string, uint32> game_mode_counts = 4;- Specified by:
getGameModeCountsCountin interfaceMetricsDistributionsOrBuilder
-
containsGameModeCounts
Number of bots in each game mode (e.g., "SURVIVAL" -> 10).
map<string, uint32> game_mode_counts = 4;- Specified by:
containsGameModeCountsin interfaceMetricsDistributionsOrBuilder
-
getGameModeCounts
Deprecated.UsegetGameModeCountsMap()instead.- Specified by:
getGameModeCountsin interfaceMetricsDistributionsOrBuilder
-
getGameModeCountsMap
Number of bots in each game mode (e.g., "SURVIVAL" -> 10).
map<string, uint32> game_mode_counts = 4;- Specified by:
getGameModeCountsMapin interfaceMetricsDistributionsOrBuilder
-
getGameModeCountsOrDefault
Number of bots in each game mode (e.g., "SURVIVAL" -> 10).
map<string, uint32> game_mode_counts = 4;- Specified by:
getGameModeCountsOrDefaultin interfaceMetricsDistributionsOrBuilder
-
getGameModeCountsOrThrow
Number of bots in each game mode (e.g., "SURVIVAL" -> 10).
map<string, uint32> game_mode_counts = 4;- Specified by:
getGameModeCountsOrThrowin interfaceMetricsDistributionsOrBuilder
-
getBotPositionsList
XZ positions of online bots for scatter plot rendering.
repeated .soulfire.v1.BotPosition bot_positions = 5;- Specified by:
getBotPositionsListin interfaceMetricsDistributionsOrBuilder
-
getBotPositionsOrBuilderList
XZ positions of online bots for scatter plot rendering.
repeated .soulfire.v1.BotPosition bot_positions = 5;- Specified by:
getBotPositionsOrBuilderListin interfaceMetricsDistributionsOrBuilder
-
getBotPositionsCount
public int getBotPositionsCount()XZ positions of online bots for scatter plot rendering.
repeated .soulfire.v1.BotPosition bot_positions = 5;- Specified by:
getBotPositionsCountin interfaceMetricsDistributionsOrBuilder
-
getBotPositions
XZ positions of online bots for scatter plot rendering.
repeated .soulfire.v1.BotPosition bot_positions = 5;- Specified by:
getBotPositionsin interfaceMetricsDistributionsOrBuilder
-
getBotPositionsOrBuilder
XZ positions of online bots for scatter plot rendering.
repeated .soulfire.v1.BotPosition bot_positions = 5;- Specified by:
getBotPositionsOrBuilderin interfaceMetricsDistributionsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MetricsDistributions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetricsDistributions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetricsDistributions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetricsDistributions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetricsDistributions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetricsDistributions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static MetricsDistributions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static MetricsDistributions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static MetricsDistributions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static MetricsDistributions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MetricsDistributions.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-