Class BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData.Builder>
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData.Builder
- All Implemented Interfaces:
BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData
public static final class BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData.Builder>
implements BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDataOrBuilder
Protobuf type
build_event_stream.BuildMetrics.ActionSummary.ActionData-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The total number of actions of this type registered during the build.The total number of actions of this type executed during the build.When the first action of this type started being executed, in milliseconds from the epoch.When the last action of this type ended being executed, in milliseconds from the epoch.string mnemonic = 1;Accumulated CPU time of all spawned actions of this type..google.protobuf.Duration user_time = 6;longThe total number of actions of this type registered during the build.longThe total number of actions of this type executed during the build.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongWhen the first action of this type started being executed, in milliseconds from the epoch.longWhen the last action of this type ended being executed, in milliseconds from the epoch.string mnemonic = 1;com.google.protobuf.ByteStringstring mnemonic = 1;com.google.protobuf.DurationAccumulated CPU time of all spawned actions of this type.com.google.protobuf.Duration.BuilderAccumulated CPU time of all spawned actions of this type.com.google.protobuf.DurationOrBuilderAccumulated CPU time of all spawned actions of this type.com.google.protobuf.Duration.google.protobuf.Duration user_time = 6;com.google.protobuf.Duration.Builder.google.protobuf.Duration user_time = 6;com.google.protobuf.DurationOrBuilder.google.protobuf.Duration user_time = 6;booleanAccumulated CPU time of all spawned actions of this type.boolean.google.protobuf.Duration user_time = 6;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeSystemTime(com.google.protobuf.Duration value) Accumulated CPU time of all spawned actions of this type.mergeUserTime(com.google.protobuf.Duration value) .google.protobuf.Duration user_time = 6;setActionsCreated(long value) The total number of actions of this type registered during the build.setActionsExecuted(long value) The total number of actions of this type executed during the build.setFirstStartedMs(long value) When the first action of this type started being executed, in milliseconds from the epoch.setLastEndedMs(long value) When the last action of this type ended being executed, in milliseconds from the epoch.setMnemonic(String value) string mnemonic = 1;setMnemonicBytes(com.google.protobuf.ByteString value) string mnemonic = 1;setSystemTime(com.google.protobuf.Duration value) Accumulated CPU time of all spawned actions of this type.setSystemTime(com.google.protobuf.Duration.Builder builderForValue) Accumulated CPU time of all spawned actions of this type.setUserTime(com.google.protobuf.Duration value) .google.protobuf.Duration user_time = 6;setUserTime(com.google.protobuf.Duration.Builder builderForValue) .google.protobuf.Duration user_time = 6;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.ActionSummary.ActionData.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.ActionSummary.ActionData.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.ActionSummary.ActionData.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.ActionSummary.ActionData.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData.Builder>
-
mergeFrom
public BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData.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.ActionSummary.ActionData.Builder>- Throws:
IOException
-
getMnemonic
string mnemonic = 1;- Specified by:
getMnemonicin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDataOrBuilder- Returns:
- The mnemonic.
-
getMnemonicBytes
public com.google.protobuf.ByteString getMnemonicBytes()string mnemonic = 1;- Specified by:
getMnemonicBytesin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDataOrBuilder- Returns:
- The bytes for mnemonic.
-
setMnemonic
public BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData.Builder setMnemonic(String value) string mnemonic = 1;- Parameters:
value- The mnemonic to set.- Returns:
- This builder for chaining.
-
clearMnemonic
string mnemonic = 1;- Returns:
- This builder for chaining.
-
setMnemonicBytes
public BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData.Builder setMnemonicBytes(com.google.protobuf.ByteString value) string mnemonic = 1;- Parameters:
value- The bytes for mnemonic to set.- Returns:
- This builder for chaining.
-
getActionsExecuted
public long getActionsExecuted()The total number of actions of this type executed during the build. As above, includes remote cache hits but excludes local action cache hits.
int64 actions_executed = 2;- Specified by:
getActionsExecutedin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDataOrBuilder- Returns:
- The actionsExecuted.
-
setActionsExecuted
public BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData.Builder setActionsExecuted(long value) The total number of actions of this type executed during the build. As above, includes remote cache hits but excludes local action cache hits.
int64 actions_executed = 2;- Parameters:
value- The actionsExecuted to set.- Returns:
- This builder for chaining.
-
clearActionsExecuted
The total number of actions of this type executed during the build. As above, includes remote cache hits but excludes local action cache hits.
int64 actions_executed = 2;- Returns:
- This builder for chaining.
-
getFirstStartedMs
public long getFirstStartedMs()When the first action of this type started being executed, in milliseconds from the epoch.
int64 first_started_ms = 3;- Specified by:
getFirstStartedMsin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDataOrBuilder- Returns:
- The firstStartedMs.
-
setFirstStartedMs
public BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData.Builder setFirstStartedMs(long value) When the first action of this type started being executed, in milliseconds from the epoch.
int64 first_started_ms = 3;- Parameters:
value- The firstStartedMs to set.- Returns:
- This builder for chaining.
-
clearFirstStartedMs
When the first action of this type started being executed, in milliseconds from the epoch.
int64 first_started_ms = 3;- Returns:
- This builder for chaining.
-
getLastEndedMs
public long getLastEndedMs()When the last action of this type ended being executed, in milliseconds from the epoch.
int64 last_ended_ms = 4;- Specified by:
getLastEndedMsin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDataOrBuilder- Returns:
- The lastEndedMs.
-
setLastEndedMs
public BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData.Builder setLastEndedMs(long value) When the last action of this type ended being executed, in milliseconds from the epoch.
int64 last_ended_ms = 4;- Parameters:
value- The lastEndedMs to set.- Returns:
- This builder for chaining.
-
clearLastEndedMs
When the last action of this type ended being executed, in milliseconds from the epoch.
int64 last_ended_ms = 4;- Returns:
- This builder for chaining.
-
hasSystemTime
public boolean hasSystemTime()Accumulated CPU time of all spawned actions of this type. This is only set if all the actions reported a time
.google.protobuf.Duration system_time = 5;- Specified by:
hasSystemTimein interfaceBuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDataOrBuilder- Returns:
- Whether the systemTime field is set.
-
getSystemTime
public com.google.protobuf.Duration getSystemTime()Accumulated CPU time of all spawned actions of this type. This is only set if all the actions reported a time
.google.protobuf.Duration system_time = 5;- Specified by:
getSystemTimein interfaceBuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDataOrBuilder- Returns:
- The systemTime.
-
setSystemTime
public BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData.Builder setSystemTime(com.google.protobuf.Duration value) Accumulated CPU time of all spawned actions of this type. This is only set if all the actions reported a time
.google.protobuf.Duration system_time = 5; -
setSystemTime
public BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData.Builder setSystemTime(com.google.protobuf.Duration.Builder builderForValue) Accumulated CPU time of all spawned actions of this type. This is only set if all the actions reported a time
.google.protobuf.Duration system_time = 5; -
mergeSystemTime
public BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData.Builder mergeSystemTime(com.google.protobuf.Duration value) Accumulated CPU time of all spawned actions of this type. This is only set if all the actions reported a time
.google.protobuf.Duration system_time = 5; -
clearSystemTime
Accumulated CPU time of all spawned actions of this type. This is only set if all the actions reported a time
.google.protobuf.Duration system_time = 5; -
getSystemTimeBuilder
public com.google.protobuf.Duration.Builder getSystemTimeBuilder()Accumulated CPU time of all spawned actions of this type. This is only set if all the actions reported a time
.google.protobuf.Duration system_time = 5; -
getSystemTimeOrBuilder
public com.google.protobuf.DurationOrBuilder getSystemTimeOrBuilder()Accumulated CPU time of all spawned actions of this type. This is only set if all the actions reported a time
.google.protobuf.Duration system_time = 5;- Specified by:
getSystemTimeOrBuilderin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDataOrBuilder
-
hasUserTime
public boolean hasUserTime().google.protobuf.Duration user_time = 6;- Specified by:
hasUserTimein interfaceBuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDataOrBuilder- Returns:
- Whether the userTime field is set.
-
getUserTime
public com.google.protobuf.Duration getUserTime().google.protobuf.Duration user_time = 6;- Specified by:
getUserTimein interfaceBuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDataOrBuilder- Returns:
- The userTime.
-
setUserTime
public BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData.Builder setUserTime(com.google.protobuf.Duration value) .google.protobuf.Duration user_time = 6; -
setUserTime
public BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData.Builder setUserTime(com.google.protobuf.Duration.Builder builderForValue) .google.protobuf.Duration user_time = 6; -
mergeUserTime
public BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData.Builder mergeUserTime(com.google.protobuf.Duration value) .google.protobuf.Duration user_time = 6; -
clearUserTime
.google.protobuf.Duration user_time = 6; -
getUserTimeBuilder
public com.google.protobuf.Duration.Builder getUserTimeBuilder().google.protobuf.Duration user_time = 6; -
getUserTimeOrBuilder
public com.google.protobuf.DurationOrBuilder getUserTimeOrBuilder().google.protobuf.Duration user_time = 6;- Specified by:
getUserTimeOrBuilderin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDataOrBuilder
-
getActionsCreated
public long getActionsCreated()The total number of actions of this type registered during the build.
int64 actions_created = 7;- Specified by:
getActionsCreatedin interfaceBuildEventStreamProtos.BuildMetrics.ActionSummary.ActionDataOrBuilder- Returns:
- The actionsCreated.
-
setActionsCreated
public BuildEventStreamProtos.BuildMetrics.ActionSummary.ActionData.Builder setActionsCreated(long value) The total number of actions of this type registered during the build.
int64 actions_created = 7;- Parameters:
value- The actionsCreated to set.- Returns:
- This builder for chaining.
-
clearActionsCreated
The total number of actions of this type registered during the build.
int64 actions_created = 7;- Returns:
- This builder for chaining.
-