Class BuildEventStreamProtos.TestResult.ExecutionInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.TestResult.ExecutionInfo
-
- All Implemented Interfaces:
BuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
- Enclosing class:
- BuildEventStreamProtos.TestResult
public static final class BuildEventStreamProtos.TestResult.ExecutionInfo extends com.google.protobuf.GeneratedMessageV3 implements BuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder
Message providing optional meta data on the execution of the test action, if available.
Protobuf typebuild_event_stream.TestResult.ExecutionInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBuildEventStreamProtos.TestResult.ExecutionInfo.BuilderMessage providing optional meta data on the execution of the test action, if available.static classBuildEventStreamProtos.TestResult.ExecutionInfo.ResourceUsageProtobuf typebuild_event_stream.TestResult.ExecutionInfo.ResourceUsagestatic interfaceBuildEventStreamProtos.TestResult.ExecutionInfo.ResourceUsageOrBuilderstatic classBuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdownRepresents a hierarchical timing breakdown of an activity.static interfaceBuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdownOrBuilder-
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 intCACHED_REMOTELY_FIELD_NUMBERstatic intEXIT_CODE_FIELD_NUMBERstatic intHOSTNAME_FIELD_NUMBERstatic intRESOURCE_USAGE_FIELD_NUMBERstatic intSTRATEGY_FIELD_NUMBERstatic intTIMEOUT_SECONDS_FIELD_NUMBERstatic intTIMING_BREAKDOWN_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)booleangetCachedRemotely()True, if the reported attempt was a cache hit in a remote cache.static BuildEventStreamProtos.TestResult.ExecutionInfogetDefaultInstance()BuildEventStreamProtos.TestResult.ExecutionInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()intgetExitCode()The exit code of the test action.java.lang.StringgetHostname()The hostname of the machine where the test action was executed (in case of remote execution), if known.com.google.protobuf.ByteStringgetHostnameBytes()The hostname of the machine where the test action was executed (in case of remote execution), if known.com.google.protobuf.Parser<BuildEventStreamProtos.TestResult.ExecutionInfo>getParserForType()BuildEventStreamProtos.TestResult.ExecutionInfo.ResourceUsagegetResourceUsage(int index)repeated .build_event_stream.TestResult.ExecutionInfo.ResourceUsage resource_usage = 5;intgetResourceUsageCount()repeated .build_event_stream.TestResult.ExecutionInfo.ResourceUsage resource_usage = 5;java.util.List<BuildEventStreamProtos.TestResult.ExecutionInfo.ResourceUsage>getResourceUsageList()repeated .build_event_stream.TestResult.ExecutionInfo.ResourceUsage resource_usage = 5;BuildEventStreamProtos.TestResult.ExecutionInfo.ResourceUsageOrBuildergetResourceUsageOrBuilder(int index)repeated .build_event_stream.TestResult.ExecutionInfo.ResourceUsage resource_usage = 5;java.util.List<? extends BuildEventStreamProtos.TestResult.ExecutionInfo.ResourceUsageOrBuilder>getResourceUsageOrBuilderList()repeated .build_event_stream.TestResult.ExecutionInfo.ResourceUsage resource_usage = 5;intgetSerializedSize()java.lang.StringgetStrategy()Name of the strategy to execute this test action (e.g., "local", "remote")com.google.protobuf.ByteStringgetStrategyBytes()Name of the strategy to execute this test action (e.g., "local", "remote")intgetTimeoutSeconds()Deprecated.build_event_stream.TestResult.ExecutionInfo.timeout_seconds is deprecated.BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdowngetTimingBreakdown().build_event_stream.TestResult.ExecutionInfo.TimingBreakdown timing_breakdown = 4;BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdownOrBuildergetTimingBreakdownOrBuilder().build_event_stream.TestResult.ExecutionInfo.TimingBreakdown timing_breakdown = 4;com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasTimingBreakdown().build_event_stream.TestResult.ExecutionInfo.TimingBreakdown timing_breakdown = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static BuildEventStreamProtos.TestResult.ExecutionInfo.BuildernewBuilder()static BuildEventStreamProtos.TestResult.ExecutionInfo.BuildernewBuilder(BuildEventStreamProtos.TestResult.ExecutionInfo prototype)BuildEventStreamProtos.TestResult.ExecutionInfo.BuildernewBuilderForType()protected BuildEventStreamProtos.TestResult.ExecutionInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static BuildEventStreamProtos.TestResult.ExecutionInfoparseDelimitedFrom(java.io.InputStream input)static BuildEventStreamProtos.TestResult.ExecutionInfoparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.TestResult.ExecutionInfoparseFrom(byte[] data)static BuildEventStreamProtos.TestResult.ExecutionInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.TestResult.ExecutionInfoparseFrom(com.google.protobuf.ByteString data)static BuildEventStreamProtos.TestResult.ExecutionInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.TestResult.ExecutionInfoparseFrom(com.google.protobuf.CodedInputStream input)static BuildEventStreamProtos.TestResult.ExecutionInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.TestResult.ExecutionInfoparseFrom(java.io.InputStream input)static BuildEventStreamProtos.TestResult.ExecutionInfoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.TestResult.ExecutionInfoparseFrom(java.nio.ByteBuffer data)static BuildEventStreamProtos.TestResult.ExecutionInfoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<BuildEventStreamProtos.TestResult.ExecutionInfo>parser()BuildEventStreamProtos.TestResult.ExecutionInfo.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
-
TIMEOUT_SECONDS_FIELD_NUMBER
public static final int TIMEOUT_SECONDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRATEGY_FIELD_NUMBER
public static final int STRATEGY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CACHED_REMOTELY_FIELD_NUMBER
public static final int CACHED_REMOTELY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXIT_CODE_FIELD_NUMBER
public static final int EXIT_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HOSTNAME_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMING_BREAKDOWN_FIELD_NUMBER
public static final int TIMING_BREAKDOWN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_USAGE_FIELD_NUMBER
public static final int RESOURCE_USAGE_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
-
getTimeoutSeconds
@Deprecated public int getTimeoutSeconds()
Deprecated.build_event_stream.TestResult.ExecutionInfo.timeout_seconds is deprecated. See src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=662Deprecated, use TargetComplete.test_timeout instead.
int32 timeout_seconds = 1 [deprecated = true];- Specified by:
getTimeoutSecondsin interfaceBuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder- Returns:
- The timeoutSeconds.
-
getStrategy
public java.lang.String getStrategy()
Name of the strategy to execute this test action (e.g., "local", "remote")
string strategy = 2;- Specified by:
getStrategyin interfaceBuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder- Returns:
- The strategy.
-
getStrategyBytes
public com.google.protobuf.ByteString getStrategyBytes()
Name of the strategy to execute this test action (e.g., "local", "remote")
string strategy = 2;- Specified by:
getStrategyBytesin interfaceBuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder- Returns:
- The bytes for strategy.
-
getCachedRemotely
public boolean getCachedRemotely()
True, if the reported attempt was a cache hit in a remote cache.
bool cached_remotely = 6;- Specified by:
getCachedRemotelyin interfaceBuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder- Returns:
- The cachedRemotely.
-
getExitCode
public int getExitCode()
The exit code of the test action.
int32 exit_code = 7;- Specified by:
getExitCodein interfaceBuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder- Returns:
- The exitCode.
-
getHostname
public java.lang.String getHostname()
The hostname of the machine where the test action was executed (in case of remote execution), if known.
string hostname = 3;- Specified by:
getHostnamein interfaceBuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder- Returns:
- The hostname.
-
getHostnameBytes
public com.google.protobuf.ByteString getHostnameBytes()
The hostname of the machine where the test action was executed (in case of remote execution), if known.
string hostname = 3;- Specified by:
getHostnameBytesin interfaceBuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder- Returns:
- The bytes for hostname.
-
hasTimingBreakdown
public boolean hasTimingBreakdown()
.build_event_stream.TestResult.ExecutionInfo.TimingBreakdown timing_breakdown = 4;- Specified by:
hasTimingBreakdownin interfaceBuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder- Returns:
- Whether the timingBreakdown field is set.
-
getTimingBreakdown
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdown getTimingBreakdown()
.build_event_stream.TestResult.ExecutionInfo.TimingBreakdown timing_breakdown = 4;- Specified by:
getTimingBreakdownin interfaceBuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder- Returns:
- The timingBreakdown.
-
getTimingBreakdownOrBuilder
public BuildEventStreamProtos.TestResult.ExecutionInfo.TimingBreakdownOrBuilder getTimingBreakdownOrBuilder()
.build_event_stream.TestResult.ExecutionInfo.TimingBreakdown timing_breakdown = 4;- Specified by:
getTimingBreakdownOrBuilderin interfaceBuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder
-
getResourceUsageList
public java.util.List<BuildEventStreamProtos.TestResult.ExecutionInfo.ResourceUsage> getResourceUsageList()
repeated .build_event_stream.TestResult.ExecutionInfo.ResourceUsage resource_usage = 5;- Specified by:
getResourceUsageListin interfaceBuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder
-
getResourceUsageOrBuilderList
public java.util.List<? extends BuildEventStreamProtos.TestResult.ExecutionInfo.ResourceUsageOrBuilder> getResourceUsageOrBuilderList()
repeated .build_event_stream.TestResult.ExecutionInfo.ResourceUsage resource_usage = 5;- Specified by:
getResourceUsageOrBuilderListin interfaceBuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder
-
getResourceUsageCount
public int getResourceUsageCount()
repeated .build_event_stream.TestResult.ExecutionInfo.ResourceUsage resource_usage = 5;- Specified by:
getResourceUsageCountin interfaceBuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder
-
getResourceUsage
public BuildEventStreamProtos.TestResult.ExecutionInfo.ResourceUsage getResourceUsage(int index)
repeated .build_event_stream.TestResult.ExecutionInfo.ResourceUsage resource_usage = 5;- Specified by:
getResourceUsagein interfaceBuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder
-
getResourceUsageOrBuilder
public BuildEventStreamProtos.TestResult.ExecutionInfo.ResourceUsageOrBuilder getResourceUsageOrBuilder(int index)
repeated .build_event_stream.TestResult.ExecutionInfo.ResourceUsage resource_usage = 5;- Specified by:
getResourceUsageOrBuilderin interfaceBuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder
-
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.TestResult.ExecutionInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.TestResult.ExecutionInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.TestResult.ExecutionInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.TestResult.ExecutionInfo 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.TestResult.ExecutionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.TestResult.ExecutionInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.TestResult.ExecutionInfo parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BuildEventStreamProtos.TestResult.ExecutionInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static BuildEventStreamProtos.TestResult.ExecutionInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static BuildEventStreamProtos.TestResult.ExecutionInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BuildEventStreamProtos.TestResult.ExecutionInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BuildEventStreamProtos.TestResult.ExecutionInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public BuildEventStreamProtos.TestResult.ExecutionInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static BuildEventStreamProtos.TestResult.ExecutionInfo.Builder newBuilder()
-
newBuilder
public static BuildEventStreamProtos.TestResult.ExecutionInfo.Builder newBuilder(BuildEventStreamProtos.TestResult.ExecutionInfo prototype)
-
toBuilder
public BuildEventStreamProtos.TestResult.ExecutionInfo.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BuildEventStreamProtos.TestResult.ExecutionInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static BuildEventStreamProtos.TestResult.ExecutionInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<BuildEventStreamProtos.TestResult.ExecutionInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<BuildEventStreamProtos.TestResult.ExecutionInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public BuildEventStreamProtos.TestResult.ExecutionInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-