Class BuildEventStreamProtos.BuildMetrics.TimingMetrics.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildMetrics.TimingMetrics.Builder>
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.BuildMetrics.TimingMetrics.Builder
- All Implemented Interfaces:
BuildEventStreamProtos.BuildMetrics.TimingMetricsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BuildEventStreamProtos.BuildMetrics.TimingMetrics
public static final class BuildEventStreamProtos.BuildMetrics.TimingMetrics.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildMetrics.TimingMetrics.Builder>
implements BuildEventStreamProtos.BuildMetrics.TimingMetricsOrBuilder
Protobuf type
build_event_stream.BuildMetrics.TimingMetrics-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The elapsed wall time in milliseconds until the first action execution started (excluding workspace status actions).The elapsed wall time in milliseconds during the analysis phase.For Skymeld, it's possible that analysis_phase_time_in_ms + execution_phase_time_in_ms >= wall_time_in_ms The CPU time in milliseconds consumed during this build.The elapsed wall time in milliseconds during the execution phase.The elapsed wall time in milliseconds during this build.longThe elapsed wall time in milliseconds until the first action execution started (excluding workspace status actions).longThe elapsed wall time in milliseconds during the analysis phase.longFor Skymeld, it's possible that analysis_phase_time_in_ms + execution_phase_time_in_ms >= wall_time_in_ms The CPU time in milliseconds consumed during this build.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongThe elapsed wall time in milliseconds during the execution phase.longThe elapsed wall time in milliseconds during this build.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setActionsExecutionStartInMs(long value) The elapsed wall time in milliseconds until the first action execution started (excluding workspace status actions).setAnalysisPhaseTimeInMs(long value) The elapsed wall time in milliseconds during the analysis phase.setCpuTimeInMs(long value) For Skymeld, it's possible that analysis_phase_time_in_ms + execution_phase_time_in_ms >= wall_time_in_ms The CPU time in milliseconds consumed during this build.setExecutionPhaseTimeInMs(long value) The elapsed wall time in milliseconds during the execution phase.setWallTimeInMs(long value) The elapsed wall time in milliseconds during this build.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<BuildEventStreamProtos.BuildMetrics.TimingMetrics.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildMetrics.TimingMetrics.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildMetrics.TimingMetrics.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public BuildEventStreamProtos.BuildMetrics.TimingMetrics.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.BuildMetrics.TimingMetrics.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildMetrics.TimingMetrics.Builder>
-
mergeFrom
public BuildEventStreamProtos.BuildMetrics.TimingMetrics.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.BuildMetrics.TimingMetrics.Builder>- Throws:
IOException
-
getCpuTimeInMs
public long getCpuTimeInMs()For Skymeld, it's possible that analysis_phase_time_in_ms + execution_phase_time_in_ms >= wall_time_in_ms The CPU time in milliseconds consumed during this build.
int64 cpu_time_in_ms = 1;- Specified by:
getCpuTimeInMsin interfaceBuildEventStreamProtos.BuildMetrics.TimingMetricsOrBuilder- Returns:
- The cpuTimeInMs.
-
setCpuTimeInMs
For Skymeld, it's possible that analysis_phase_time_in_ms + execution_phase_time_in_ms >= wall_time_in_ms The CPU time in milliseconds consumed during this build.
int64 cpu_time_in_ms = 1;- Parameters:
value- The cpuTimeInMs to set.- Returns:
- This builder for chaining.
-
clearCpuTimeInMs
For Skymeld, it's possible that analysis_phase_time_in_ms + execution_phase_time_in_ms >= wall_time_in_ms The CPU time in milliseconds consumed during this build.
int64 cpu_time_in_ms = 1;- Returns:
- This builder for chaining.
-
getWallTimeInMs
public long getWallTimeInMs()The elapsed wall time in milliseconds during this build.
int64 wall_time_in_ms = 2;- Specified by:
getWallTimeInMsin interfaceBuildEventStreamProtos.BuildMetrics.TimingMetricsOrBuilder- Returns:
- The wallTimeInMs.
-
setWallTimeInMs
The elapsed wall time in milliseconds during this build.
int64 wall_time_in_ms = 2;- Parameters:
value- The wallTimeInMs to set.- Returns:
- This builder for chaining.
-
clearWallTimeInMs
The elapsed wall time in milliseconds during this build.
int64 wall_time_in_ms = 2;- Returns:
- This builder for chaining.
-
getAnalysisPhaseTimeInMs
public long getAnalysisPhaseTimeInMs()The elapsed wall time in milliseconds during the analysis phase. When analysis and execution phases are interleaved, this measures the elapsed time from the first analysis work to the last.
int64 analysis_phase_time_in_ms = 3;- Specified by:
getAnalysisPhaseTimeInMsin interfaceBuildEventStreamProtos.BuildMetrics.TimingMetricsOrBuilder- Returns:
- The analysisPhaseTimeInMs.
-
setAnalysisPhaseTimeInMs
public BuildEventStreamProtos.BuildMetrics.TimingMetrics.Builder setAnalysisPhaseTimeInMs(long value) The elapsed wall time in milliseconds during the analysis phase. When analysis and execution phases are interleaved, this measures the elapsed time from the first analysis work to the last.
int64 analysis_phase_time_in_ms = 3;- Parameters:
value- The analysisPhaseTimeInMs to set.- Returns:
- This builder for chaining.
-
clearAnalysisPhaseTimeInMs
The elapsed wall time in milliseconds during the analysis phase. When analysis and execution phases are interleaved, this measures the elapsed time from the first analysis work to the last.
int64 analysis_phase_time_in_ms = 3;- Returns:
- This builder for chaining.
-
getExecutionPhaseTimeInMs
public long getExecutionPhaseTimeInMs()The elapsed wall time in milliseconds during the execution phase. When analysis and execution phases are interleaved, this measures the elapsed time from the first action execution (excluding workspace status actions) to the last.
int64 execution_phase_time_in_ms = 4;- Specified by:
getExecutionPhaseTimeInMsin interfaceBuildEventStreamProtos.BuildMetrics.TimingMetricsOrBuilder- Returns:
- The executionPhaseTimeInMs.
-
setExecutionPhaseTimeInMs
public BuildEventStreamProtos.BuildMetrics.TimingMetrics.Builder setExecutionPhaseTimeInMs(long value) The elapsed wall time in milliseconds during the execution phase. When analysis and execution phases are interleaved, this measures the elapsed time from the first action execution (excluding workspace status actions) to the last.
int64 execution_phase_time_in_ms = 4;- Parameters:
value- The executionPhaseTimeInMs to set.- Returns:
- This builder for chaining.
-
clearExecutionPhaseTimeInMs
The elapsed wall time in milliseconds during the execution phase. When analysis and execution phases are interleaved, this measures the elapsed time from the first action execution (excluding workspace status actions) to the last.
int64 execution_phase_time_in_ms = 4;- Returns:
- This builder for chaining.
-
getActionsExecutionStartInMs
public long getActionsExecutionStartInMs()The elapsed wall time in milliseconds until the first action execution started (excluding workspace status actions).
int64 actions_execution_start_in_ms = 5;- Specified by:
getActionsExecutionStartInMsin interfaceBuildEventStreamProtos.BuildMetrics.TimingMetricsOrBuilder- Returns:
- The actionsExecutionStartInMs.
-
setActionsExecutionStartInMs
public BuildEventStreamProtos.BuildMetrics.TimingMetrics.Builder setActionsExecutionStartInMs(long value) The elapsed wall time in milliseconds until the first action execution started (excluding workspace status actions).
int64 actions_execution_start_in_ms = 5;- Parameters:
value- The actionsExecutionStartInMs to set.- Returns:
- This builder for chaining.
-
clearActionsExecutionStartInMs
The elapsed wall time in milliseconds until the first action execution started (excluding workspace status actions).
int64 actions_execution_start_in_ms = 5;- Returns:
- This builder for chaining.
-