Class BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats
- All Implemented Interfaces:
BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStatsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics
public static final class BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats
extends com.google.protobuf.GeneratedMessage
implements BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStatsOrBuilder
Protobuf type
build_event_stream.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typebuild_event_stream.BuildMetrics.WorkerPoolMetrics.WorkerPoolStatsNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, 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 intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongNumber of workers alive at the end of the build.longNumber of workers created during a build.static final com.google.protobuf.Descriptors.DescriptorlongNumber of workers destroyed during a build (sum of all workers destroyed by eviction, UserExecException, IoException, InterruptedException and unknown reasons below).longNumber of workers evicted during a build.intgetHash()Hash of worker pool these stats are for.longNumber of workers destroyed due to InterruptedExceptions.longNumber of workers destroyed due to IoExceptions.Mnemonic of workers these stats are for.com.google.protobuf.ByteStringMnemonic of workers these stats are for.com.google.protobuf.Parser<BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats>intlongNumber of workers destroyed due to an unknown reason.longNumber of workers destroyed due to UserExecExceptions.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats>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, internalGetMapFieldReflection, isStringEmpty, 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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
-
HASH_FIELD_NUMBER
public static final int HASH_FIELD_NUMBER- See Also:
-
MNEMONIC_FIELD_NUMBER
public static final int MNEMONIC_FIELD_NUMBER- See Also:
-
CREATED_COUNT_FIELD_NUMBER
public static final int CREATED_COUNT_FIELD_NUMBER- See Also:
-
DESTROYED_COUNT_FIELD_NUMBER
public static final int DESTROYED_COUNT_FIELD_NUMBER- See Also:
-
EVICTED_COUNT_FIELD_NUMBER
public static final int EVICTED_COUNT_FIELD_NUMBER- See Also:
-
USER_EXEC_EXCEPTION_DESTROYED_COUNT_FIELD_NUMBER
public static final int USER_EXEC_EXCEPTION_DESTROYED_COUNT_FIELD_NUMBER- See Also:
-
IO_EXCEPTION_DESTROYED_COUNT_FIELD_NUMBER
public static final int IO_EXCEPTION_DESTROYED_COUNT_FIELD_NUMBER- See Also:
-
INTERRUPTED_EXCEPTION_DESTROYED_COUNT_FIELD_NUMBER
public static final int INTERRUPTED_EXCEPTION_DESTROYED_COUNT_FIELD_NUMBER- See Also:
-
UNKNOWN_DESTROYED_COUNT_FIELD_NUMBER
public static final int UNKNOWN_DESTROYED_COUNT_FIELD_NUMBER- See Also:
-
ALIVE_COUNT_FIELD_NUMBER
public static final int ALIVE_COUNT_FIELD_NUMBER- See Also:
-
-
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
-
getHash
public int getHash()Hash of worker pool these stats are for. Contains information about startup flags.
int32 hash = 1;- Specified by:
getHashin interfaceBuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStatsOrBuilder- Returns:
- The hash.
-
getMnemonic
Mnemonic of workers these stats are for.
string mnemonic = 2;- Specified by:
getMnemonicin interfaceBuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStatsOrBuilder- Returns:
- The mnemonic.
-
getMnemonicBytes
public com.google.protobuf.ByteString getMnemonicBytes()Mnemonic of workers these stats are for.
string mnemonic = 2;- Specified by:
getMnemonicBytesin interfaceBuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStatsOrBuilder- Returns:
- The bytes for mnemonic.
-
getCreatedCount
public long getCreatedCount()Number of workers created during a build.
int64 created_count = 3;- Specified by:
getCreatedCountin interfaceBuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStatsOrBuilder- Returns:
- The createdCount.
-
getDestroyedCount
public long getDestroyedCount()Number of workers destroyed during a build (sum of all workers destroyed by eviction, UserExecException, IoException, InterruptedException and unknown reasons below).
int64 destroyed_count = 4;- Specified by:
getDestroyedCountin interfaceBuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStatsOrBuilder- Returns:
- The destroyedCount.
-
getEvictedCount
public long getEvictedCount()Number of workers evicted during a build.
int64 evicted_count = 5;- Specified by:
getEvictedCountin interfaceBuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStatsOrBuilder- Returns:
- The evictedCount.
-
getUserExecExceptionDestroyedCount
public long getUserExecExceptionDestroyedCount()Number of workers destroyed due to UserExecExceptions.
int64 user_exec_exception_destroyed_count = 6;- Specified by:
getUserExecExceptionDestroyedCountin interfaceBuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStatsOrBuilder- Returns:
- The userExecExceptionDestroyedCount.
-
getIoExceptionDestroyedCount
public long getIoExceptionDestroyedCount()Number of workers destroyed due to IoExceptions.
int64 io_exception_destroyed_count = 7;- Specified by:
getIoExceptionDestroyedCountin interfaceBuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStatsOrBuilder- Returns:
- The ioExceptionDestroyedCount.
-
getInterruptedExceptionDestroyedCount
public long getInterruptedExceptionDestroyedCount()Number of workers destroyed due to InterruptedExceptions.
int64 interrupted_exception_destroyed_count = 8;- Specified by:
getInterruptedExceptionDestroyedCountin interfaceBuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStatsOrBuilder- Returns:
- The interruptedExceptionDestroyedCount.
-
getUnknownDestroyedCount
public long getUnknownDestroyedCount()Number of workers destroyed due to an unknown reason.
int64 unknown_destroyed_count = 9;- Specified by:
getUnknownDestroyedCountin interfaceBuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStatsOrBuilder- Returns:
- The unknownDestroyedCount.
-
getAliveCount
public long getAliveCount()Number of workers alive at the end of the build.
int64 alive_count = 10;- Specified by:
getAliveCountin interfaceBuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStatsOrBuilder- Returns:
- The aliveCount.
-
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 BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
public BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats.Builder newBuilderForType()- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats.Builder newBuilder() -
newBuilder
public static BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats.Builder newBuilder(BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats getDefaultInstance() -
parser
public static com.google.protobuf.Parser<BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats> parser() -
getParserForType
public com.google.protobuf.Parser<BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats> getParserForType()- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public BuildEventStreamProtos.BuildMetrics.WorkerPoolMetrics.WorkerPoolStats getDefaultInstanceForType()- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-