Class BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder>
-
- com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder
-
- All Implemented Interfaces:
BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdownOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown
public static final class BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder> implements BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdownOrBuilder
Represents a hierarchical timing breakdown of an activity. The top level time should be the total time of the activity. Invariant: `time` >= sum of `time`s of all direct children.
Protobuf typebuild_event_stream.TestResult.ExecutionInfo.TimingBreakdown
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder>
-
clear
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.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.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder>
-
getDefaultInstanceForType
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder>
-
setField
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder>
-
clearField
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder>
-
clearOneof
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder>
-
setRepeatedField
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder>
-
addRepeatedField
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder>
-
mergeFrom
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder>
-
mergeFrom
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder mergeFrom(BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder>
-
mergeFrom
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.TestResult.ExecutionInfo.TimingBreakdown.Builder>- Throws:
java.io.IOException
-
getChildList
public java.util.List<BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown> getChildList()
repeated .build_event_stream.TestResult.ExecutionInfo.TimingBreakdown child = 1;- Specified by:
getChildListin interfaceBuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdownOrBuilder
-
getChildCount
public int getChildCount()
repeated .build_event_stream.TestResult.ExecutionInfo.TimingBreakdown child = 1;- Specified by:
getChildCountin interfaceBuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdownOrBuilder
-
getChild
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown getChild(int index)
repeated .build_event_stream.TestResult.ExecutionInfo.TimingBreakdown child = 1;- Specified by:
getChildin interfaceBuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdownOrBuilder
-
setChild
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder setChild(int index, BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown value)
repeated .build_event_stream.TestResult.ExecutionInfo.TimingBreakdown child = 1;
-
setChild
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder setChild(int index, BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder builderForValue)
repeated .build_event_stream.TestResult.ExecutionInfo.TimingBreakdown child = 1;
-
addChild
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder addChild(BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown value)
repeated .build_event_stream.TestResult.ExecutionInfo.TimingBreakdown child = 1;
-
addChild
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder addChild(int index, BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown value)
repeated .build_event_stream.TestResult.ExecutionInfo.TimingBreakdown child = 1;
-
addChild
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder addChild(BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder builderForValue)
repeated .build_event_stream.TestResult.ExecutionInfo.TimingBreakdown child = 1;
-
addChild
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder addChild(int index, BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder builderForValue)
repeated .build_event_stream.TestResult.ExecutionInfo.TimingBreakdown child = 1;
-
addAllChild
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder addAllChild(java.lang.Iterable<? extends BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown> values)
repeated .build_event_stream.TestResult.ExecutionInfo.TimingBreakdown child = 1;
-
clearChild
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder clearChild()
repeated .build_event_stream.TestResult.ExecutionInfo.TimingBreakdown child = 1;
-
removeChild
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder removeChild(int index)
repeated .build_event_stream.TestResult.ExecutionInfo.TimingBreakdown child = 1;
-
getChildBuilder
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder getChildBuilder(int index)
repeated .build_event_stream.TestResult.ExecutionInfo.TimingBreakdown child = 1;
-
getChildOrBuilder
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdownOrBuilder getChildOrBuilder(int index)
repeated .build_event_stream.TestResult.ExecutionInfo.TimingBreakdown child = 1;- Specified by:
getChildOrBuilderin interfaceBuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdownOrBuilder
-
getChildOrBuilderList
public java.util.List<? extends BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdownOrBuilder> getChildOrBuilderList()
repeated .build_event_stream.TestResult.ExecutionInfo.TimingBreakdown child = 1;- Specified by:
getChildOrBuilderListin interfaceBuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdownOrBuilder
-
addChildBuilder
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder addChildBuilder()
repeated .build_event_stream.TestResult.ExecutionInfo.TimingBreakdown child = 1;
-
addChildBuilder
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder addChildBuilder(int index)
repeated .build_event_stream.TestResult.ExecutionInfo.TimingBreakdown child = 1;
-
getChildBuilderList
public java.util.List<BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder> getChildBuilderList()
repeated .build_event_stream.TestResult.ExecutionInfo.TimingBreakdown child = 1;
-
getName
public java.lang.String getName()
string name = 2;- Specified by:
getNamein interfaceBuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdownOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
string name = 2;- Specified by:
getNameBytesin interfaceBuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdownOrBuilder- Returns:
- The bytes for name.
-
setName
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder setName(java.lang.String value)
string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder clearName()
string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getTimeMillis
@Deprecated public long getTimeMillis()
Deprecated.build_event_stream.TestResult.ExecutionInfo.TimingBreakdown.time_millis is deprecated. See src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=687Deprecated, use `time` instead. TODO(yannic): Remove.
int64 time_millis = 3 [deprecated = true];- Specified by:
getTimeMillisin interfaceBuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdownOrBuilder- Returns:
- The timeMillis.
-
setTimeMillis
@Deprecated public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder setTimeMillis(long value)
Deprecated.build_event_stream.TestResult.ExecutionInfo.TimingBreakdown.time_millis is deprecated. See src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=687Deprecated, use `time` instead. TODO(yannic): Remove.
int64 time_millis = 3 [deprecated = true];- Parameters:
value- The timeMillis to set.- Returns:
- This builder for chaining.
-
clearTimeMillis
@Deprecated public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder clearTimeMillis()
Deprecated.build_event_stream.TestResult.ExecutionInfo.TimingBreakdown.time_millis is deprecated. See src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=687Deprecated, use `time` instead. TODO(yannic): Remove.
int64 time_millis = 3 [deprecated = true];- Returns:
- This builder for chaining.
-
hasTime
public boolean hasTime()
.google.protobuf.Duration time = 4;- Specified by:
hasTimein interfaceBuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdownOrBuilder- Returns:
- Whether the time field is set.
-
getTime
public com.google.protobuf.Duration getTime()
.google.protobuf.Duration time = 4;- Specified by:
getTimein interfaceBuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdownOrBuilder- Returns:
- The time.
-
setTime
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder setTime(com.google.protobuf.Duration value)
.google.protobuf.Duration time = 4;
-
setTime
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder setTime(com.google.protobuf.Duration.Builder builderForValue)
.google.protobuf.Duration time = 4;
-
mergeTime
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder mergeTime(com.google.protobuf.Duration value)
.google.protobuf.Duration time = 4;
-
clearTime
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder clearTime()
.google.protobuf.Duration time = 4;
-
getTimeBuilder
public com.google.protobuf.Duration.Builder getTimeBuilder()
.google.protobuf.Duration time = 4;
-
getTimeOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeOrBuilder()
.google.protobuf.Duration time = 4;- Specified by:
getTimeOrBuilderin interfaceBuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdownOrBuilder
-
setUnknownFields
public final BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder>
-
mergeUnknownFields
public final BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown.Builder>
-
-