Class BuildEventStreamProtos.TestResult.ExecutionInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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,Serializable
- Enclosing class:
- BuildEventStreamProtos.TestResult
public static final class BuildEventStreamProtos.TestResult.ExecutionInfo
extends com.google.protobuf.GeneratedMessage
implements BuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder
Message providing optional meta data on the execution of the test action, if available.Protobuf type
build_event_stream.TestResult.ExecutionInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMessage providing optional meta data on the execution of the test action, if available.static final classProtobuf typebuild_event_stream.TestResult.ExecutionInfo.ResourceUsagestatic interfacestatic final classRepresents a hierarchical timing breakdown of an activity.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanTrue, if the reported attempt was a cache hit in a remote cache.static final com.google.protobuf.Descriptors.DescriptorintThe exit code of the test action.The hostname of the machine where the test action was executed (in case of remote execution), if known.com.google.protobuf.ByteStringThe hostname of the machine where the test action was executed (in case of remote execution), if known.com.google.protobuf.Parser<BuildEventStreamProtos.TestResult.ExecutionInfo>getResourceUsage(int index) repeated .build_event_stream.TestResult.ExecutionInfo.ResourceUsage resource_usage = 5;intrepeated .build_event_stream.TestResult.ExecutionInfo.ResourceUsage resource_usage = 5;repeated .build_event_stream.TestResult.ExecutionInfo.ResourceUsage resource_usage = 5;getResourceUsageOrBuilder(int index) repeated .build_event_stream.TestResult.ExecutionInfo.ResourceUsage resource_usage = 5;repeated .build_event_stream.TestResult.ExecutionInfo.ResourceUsage resource_usage = 5;intName of the strategy to execute this test action (e.g., "local", "remote")com.google.protobuf.ByteStringName of the strategy to execute this test action (e.g., "local", "remote")intDeprecated.build_event_stream.TestResult.ExecutionInfo.timeout_seconds is deprecated..build_event_stream.TestResult.ExecutionInfo.TimingBreakdown timing_breakdown = 4;.build_event_stream.TestResult.ExecutionInfo.TimingBreakdown timing_breakdown = 4;inthashCode()boolean.build_event_stream.TestResult.ExecutionInfo.TimingBreakdown timing_breakdown = 4;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BuildEventStreamProtos.TestResult.ExecutionInfo>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TIMEOUT_SECONDS_FIELD_NUMBER
public static final int TIMEOUT_SECONDS_FIELD_NUMBER- See Also:
-
STRATEGY_FIELD_NUMBER
public static final int STRATEGY_FIELD_NUMBER- See Also:
-
CACHED_REMOTELY_FIELD_NUMBER
public static final int CACHED_REMOTELY_FIELD_NUMBER- See Also:
-
EXIT_CODE_FIELD_NUMBER
public static final int EXIT_CODE_FIELD_NUMBER- See Also:
-
HOSTNAME_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER- See Also:
-
TIMING_BREAKDOWN_FIELD_NUMBER
public static final int TIMING_BREAKDOWN_FIELD_NUMBER- See Also:
-
RESOURCE_USAGE_FIELD_NUMBER
public static final int RESOURCE_USAGE_FIELD_NUMBER- See Also:
-
-
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
-
getTimeoutSeconds
Deprecated.build_event_stream.TestResult.ExecutionInfo.timeout_seconds is deprecated. See third_party/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=729Deprecated, use TargetComplete.test_timeout instead.
int32 timeout_seconds = 1 [deprecated = true];- Specified by:
getTimeoutSecondsin interfaceBuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder- Returns:
- The timeoutSeconds.
-
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
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
.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
repeated .build_event_stream.TestResult.ExecutionInfo.ResourceUsage resource_usage = 5;- Specified by:
getResourceUsageListin interfaceBuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder
-
getResourceUsageOrBuilderList
public 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
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.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.TestResult.ExecutionInfo parseFrom(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(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static BuildEventStreamProtos.TestResult.ExecutionInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static BuildEventStreamProtos.TestResult.ExecutionInfo parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static BuildEventStreamProtos.TestResult.ExecutionInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static BuildEventStreamProtos.TestResult.ExecutionInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static BuildEventStreamProtos.TestResult.ExecutionInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static BuildEventStreamProtos.TestResult.ExecutionInfo.Builder newBuilder(BuildEventStreamProtos.TestResult.ExecutionInfo prototype) -
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.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
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.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-