Class BuildEventStreamProtos.BuildMetrics.WorkerMetrics
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.BuildMetrics.WorkerMetrics
-
- All Implemented Interfaces:
BuildEventStreamProtos.BuildMetrics.WorkerMetricsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
- Enclosing class:
- BuildEventStreamProtos.BuildMetrics
public static final class BuildEventStreamProtos.BuildMetrics.WorkerMetrics extends com.google.protobuf.GeneratedMessageV3 implements BuildEventStreamProtos.BuildMetrics.WorkerMetricsOrBuilder
Information about all workers that were alive during the invocation.
Protobuf typebuild_event_stream.BuildMetrics.WorkerMetrics- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBuildEventStreamProtos.BuildMetrics.WorkerMetrics.BuilderInformation about all workers that were alive during the invocation.static classBuildEventStreamProtos.BuildMetrics.WorkerMetrics.WorkerStatsInformation collected from worker at some point.static interfaceBuildEventStreamProtos.BuildMetrics.WorkerMetrics.WorkerStatsOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intIS_MEASURABLE_FIELD_NUMBERstatic intIS_MULTIPLEX_FIELD_NUMBERstatic intIS_SANDBOX_FIELD_NUMBERstatic intMNEMONIC_FIELD_NUMBERstatic intPROCESS_ID_FIELD_NUMBERstatic intWORKER_ID_FIELD_NUMBERstatic intWORKER_STATS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static BuildEventStreamProtos.BuildMetrics.WorkerMetricsgetDefaultInstance()BuildEventStreamProtos.BuildMetrics.WorkerMetricsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetIsMeasurable()Shows is worker stats measured at the end of invocation.booleangetIsMultiplex()Multiplex or singleplex worker.booleangetIsSandbox()Using worker sandbox file system or not.java.lang.StringgetMnemonic()Mnemonic of running worker.com.google.protobuf.ByteStringgetMnemonicBytes()Mnemonic of running worker.com.google.protobuf.Parser<BuildEventStreamProtos.BuildMetrics.WorkerMetrics>getParserForType()intgetProcessId()Worker process id.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()intgetWorkerId()Unique id of worker.BuildEventStreamProtos.BuildMetrics.WorkerMetrics.WorkerStatsgetWorkerStats(int index)Combined workers statistics.intgetWorkerStatsCount()Combined workers statistics.java.util.List<BuildEventStreamProtos.BuildMetrics.WorkerMetrics.WorkerStats>getWorkerStatsList()Combined workers statistics.BuildEventStreamProtos.BuildMetrics.WorkerMetrics.WorkerStatsOrBuildergetWorkerStatsOrBuilder(int index)Combined workers statistics.java.util.List<? extends BuildEventStreamProtos.BuildMetrics.WorkerMetrics.WorkerStatsOrBuilder>getWorkerStatsOrBuilderList()Combined workers statistics.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static BuildEventStreamProtos.BuildMetrics.WorkerMetrics.BuildernewBuilder()static BuildEventStreamProtos.BuildMetrics.WorkerMetrics.BuildernewBuilder(BuildEventStreamProtos.BuildMetrics.WorkerMetrics prototype)BuildEventStreamProtos.BuildMetrics.WorkerMetrics.BuildernewBuilderForType()protected BuildEventStreamProtos.BuildMetrics.WorkerMetrics.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static BuildEventStreamProtos.BuildMetrics.WorkerMetricsparseDelimitedFrom(java.io.InputStream input)static BuildEventStreamProtos.BuildMetrics.WorkerMetricsparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.BuildMetrics.WorkerMetricsparseFrom(byte[] data)static BuildEventStreamProtos.BuildMetrics.WorkerMetricsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.BuildMetrics.WorkerMetricsparseFrom(com.google.protobuf.ByteString data)static BuildEventStreamProtos.BuildMetrics.WorkerMetricsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.BuildMetrics.WorkerMetricsparseFrom(com.google.protobuf.CodedInputStream input)static BuildEventStreamProtos.BuildMetrics.WorkerMetricsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.BuildMetrics.WorkerMetricsparseFrom(java.io.InputStream input)static BuildEventStreamProtos.BuildMetrics.WorkerMetricsparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.BuildMetrics.WorkerMetricsparseFrom(java.nio.ByteBuffer data)static BuildEventStreamProtos.BuildMetrics.WorkerMetricsparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<BuildEventStreamProtos.BuildMetrics.WorkerMetrics>parser()BuildEventStreamProtos.BuildMetrics.WorkerMetrics.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
WORKER_ID_FIELD_NUMBER
public static final int WORKER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROCESS_ID_FIELD_NUMBER
public static final int PROCESS_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MNEMONIC_FIELD_NUMBER
public static final int MNEMONIC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IS_MULTIPLEX_FIELD_NUMBER
public static final int IS_MULTIPLEX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IS_SANDBOX_FIELD_NUMBER
public static final int IS_SANDBOX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IS_MEASURABLE_FIELD_NUMBER
public static final int IS_MEASURABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKER_STATS_FIELD_NUMBER
public static final int WORKER_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getWorkerId
public int getWorkerId()
Unique id of worker.
int32 worker_id = 1;- Specified by:
getWorkerIdin interfaceBuildEventStreamProtos.BuildMetrics.WorkerMetricsOrBuilder- Returns:
- The workerId.
-
getProcessId
public int getProcessId()
Worker process id. If there is no process for worker, equals to zero.
uint32 process_id = 2;- Specified by:
getProcessIdin interfaceBuildEventStreamProtos.BuildMetrics.WorkerMetricsOrBuilder- Returns:
- The processId.
-
getMnemonic
public java.lang.String getMnemonic()
Mnemonic of running worker.
string mnemonic = 3;- Specified by:
getMnemonicin interfaceBuildEventStreamProtos.BuildMetrics.WorkerMetricsOrBuilder- Returns:
- The mnemonic.
-
getMnemonicBytes
public com.google.protobuf.ByteString getMnemonicBytes()
Mnemonic of running worker.
string mnemonic = 3;- Specified by:
getMnemonicBytesin interfaceBuildEventStreamProtos.BuildMetrics.WorkerMetricsOrBuilder- Returns:
- The bytes for mnemonic.
-
getIsMultiplex
public boolean getIsMultiplex()
Multiplex or singleplex worker.
bool is_multiplex = 4;- Specified by:
getIsMultiplexin interfaceBuildEventStreamProtos.BuildMetrics.WorkerMetricsOrBuilder- Returns:
- The isMultiplex.
-
getIsSandbox
public boolean getIsSandbox()
Using worker sandbox file system or not.
bool is_sandbox = 5;- Specified by:
getIsSandboxin interfaceBuildEventStreamProtos.BuildMetrics.WorkerMetricsOrBuilder- Returns:
- The isSandbox.
-
getIsMeasurable
public boolean getIsMeasurable()
Shows is worker stats measured at the end of invocation.
bool is_measurable = 6;- Specified by:
getIsMeasurablein interfaceBuildEventStreamProtos.BuildMetrics.WorkerMetricsOrBuilder- Returns:
- The isMeasurable.
-
getWorkerStatsList
public java.util.List<BuildEventStreamProtos.BuildMetrics.WorkerMetrics.WorkerStats> getWorkerStatsList()
Combined workers statistics.
repeated .build_event_stream.BuildMetrics.WorkerMetrics.WorkerStats worker_stats = 7;- Specified by:
getWorkerStatsListin interfaceBuildEventStreamProtos.BuildMetrics.WorkerMetricsOrBuilder
-
getWorkerStatsOrBuilderList
public java.util.List<? extends BuildEventStreamProtos.BuildMetrics.WorkerMetrics.WorkerStatsOrBuilder> getWorkerStatsOrBuilderList()
Combined workers statistics.
repeated .build_event_stream.BuildMetrics.WorkerMetrics.WorkerStats worker_stats = 7;- Specified by:
getWorkerStatsOrBuilderListin interfaceBuildEventStreamProtos.BuildMetrics.WorkerMetricsOrBuilder
-
getWorkerStatsCount
public int getWorkerStatsCount()
Combined workers statistics.
repeated .build_event_stream.BuildMetrics.WorkerMetrics.WorkerStats worker_stats = 7;- Specified by:
getWorkerStatsCountin interfaceBuildEventStreamProtos.BuildMetrics.WorkerMetricsOrBuilder
-
getWorkerStats
public BuildEventStreamProtos.BuildMetrics.WorkerMetrics.WorkerStats getWorkerStats(int index)
Combined workers statistics.
repeated .build_event_stream.BuildMetrics.WorkerMetrics.WorkerStats worker_stats = 7;- Specified by:
getWorkerStatsin interfaceBuildEventStreamProtos.BuildMetrics.WorkerMetricsOrBuilder
-
getWorkerStatsOrBuilder
public BuildEventStreamProtos.BuildMetrics.WorkerMetrics.WorkerStatsOrBuilder getWorkerStatsOrBuilder(int index)
Combined workers statistics.
repeated .build_event_stream.BuildMetrics.WorkerMetrics.WorkerStats worker_stats = 7;- Specified by:
getWorkerStatsOrBuilderin interfaceBuildEventStreamProtos.BuildMetrics.WorkerMetricsOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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.WorkerMetrics parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerMetrics parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerMetrics parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerMetrics 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.WorkerMetrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerMetrics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerMetrics parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerMetrics parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerMetrics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerMetrics parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerMetrics parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics.WorkerMetrics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public BuildEventStreamProtos.BuildMetrics.WorkerMetrics.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static BuildEventStreamProtos.BuildMetrics.WorkerMetrics.Builder newBuilder()
-
newBuilder
public static BuildEventStreamProtos.BuildMetrics.WorkerMetrics.Builder newBuilder(BuildEventStreamProtos.BuildMetrics.WorkerMetrics prototype)
-
toBuilder
public BuildEventStreamProtos.BuildMetrics.WorkerMetrics.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BuildEventStreamProtos.BuildMetrics.WorkerMetrics.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static BuildEventStreamProtos.BuildMetrics.WorkerMetrics getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<BuildEventStreamProtos.BuildMetrics.WorkerMetrics> parser()
-
getParserForType
public com.google.protobuf.Parser<BuildEventStreamProtos.BuildMetrics.WorkerMetrics> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public BuildEventStreamProtos.BuildMetrics.WorkerMetrics getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-