Class BuildEventStreamProtos.BuildEventId.TestProgressId.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildEventId.TestProgressId.Builder>
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.BuildEventId.TestProgressId.Builder
- All Implemented Interfaces:
BuildEventStreamProtos.BuildEventId.TestProgressIdOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BuildEventStreamProtos.BuildEventId.TestProgressId
public static final class BuildEventStreamProtos.BuildEventId.TestProgressId.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildEventId.TestProgressId.Builder>
implements BuildEventStreamProtos.BuildEventId.TestProgressIdOrBuilder
Identifier of an event reporting progress of an individual test run.Protobuf type
build_event_stream.BuildEventId.TestProgressId-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The execution attempt number which may increase due to retries (e.g.The configuration under which the action is running.The label of the target for the action.An incrementing count used to differentiate TestProgressIds for the same test attempt.clearRun()The run number of the test action (e.g.For sharded tests, the shard number of the test action.intThe execution attempt number which may increase due to retries (e.g.The configuration under which the action is running.The configuration under which the action is running.The configuration under which the action is running.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLabel()The label of the target for the action.com.google.protobuf.ByteStringThe label of the target for the action.intAn incrementing count used to differentiate TestProgressIds for the same test attempt.intgetRun()The run number of the test action (e.g.intgetShard()For sharded tests, the shard number of the test action.booleanThe configuration under which the action is running.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe configuration under which the action is running.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAttempt(int value) The execution attempt number which may increase due to retries (e.g.The configuration under which the action is running.The configuration under which the action is running.The label of the target for the action.setLabelBytes(com.google.protobuf.ByteString value) The label of the target for the action.setOpaqueCount(int value) An incrementing count used to differentiate TestProgressIds for the same test attempt.setRun(int value) The run number of the test action (e.g.setShard(int value) For sharded tests, the shard number of the test action.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.BuildEventId.TestProgressId.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.BuildEventId.TestProgressId.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.BuildEventId.TestProgressId.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.BuildEventId.TestProgressId.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.BuildEventId.TestProgressId.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildEventId.TestProgressId.Builder>
-
mergeFrom
public BuildEventStreamProtos.BuildEventId.TestProgressId.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.BuildEventId.TestProgressId.Builder>- Throws:
IOException
-
getLabel
The label of the target for the action.
string label = 1;- Specified by:
getLabelin interfaceBuildEventStreamProtos.BuildEventId.TestProgressIdOrBuilder- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()The label of the target for the action.
string label = 1;- Specified by:
getLabelBytesin interfaceBuildEventStreamProtos.BuildEventId.TestProgressIdOrBuilder- Returns:
- The bytes for label.
-
setLabel
The label of the target for the action.
string label = 1;- Parameters:
value- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
The label of the target for the action.
string label = 1;- Returns:
- This builder for chaining.
-
setLabelBytes
public BuildEventStreamProtos.BuildEventId.TestProgressId.Builder setLabelBytes(com.google.protobuf.ByteString value) The label of the target for the action.
string label = 1;- Parameters:
value- The bytes for label to set.- Returns:
- This builder for chaining.
-
hasConfiguration
public boolean hasConfiguration()The configuration under which the action is running.
.build_event_stream.BuildEventId.ConfigurationId configuration = 2;- Specified by:
hasConfigurationin interfaceBuildEventStreamProtos.BuildEventId.TestProgressIdOrBuilder- Returns:
- Whether the configuration field is set.
-
getConfiguration
The configuration under which the action is running.
.build_event_stream.BuildEventId.ConfigurationId configuration = 2;- Specified by:
getConfigurationin interfaceBuildEventStreamProtos.BuildEventId.TestProgressIdOrBuilder- Returns:
- The configuration.
-
setConfiguration
public BuildEventStreamProtos.BuildEventId.TestProgressId.Builder setConfiguration(BuildEventStreamProtos.BuildEventId.ConfigurationId value) The configuration under which the action is running.
.build_event_stream.BuildEventId.ConfigurationId configuration = 2; -
setConfiguration
public BuildEventStreamProtos.BuildEventId.TestProgressId.Builder setConfiguration(BuildEventStreamProtos.BuildEventId.ConfigurationId.Builder builderForValue) The configuration under which the action is running.
.build_event_stream.BuildEventId.ConfigurationId configuration = 2; -
mergeConfiguration
public BuildEventStreamProtos.BuildEventId.TestProgressId.Builder mergeConfiguration(BuildEventStreamProtos.BuildEventId.ConfigurationId value) The configuration under which the action is running.
.build_event_stream.BuildEventId.ConfigurationId configuration = 2; -
clearConfiguration
The configuration under which the action is running.
.build_event_stream.BuildEventId.ConfigurationId configuration = 2; -
getConfigurationBuilder
The configuration under which the action is running.
.build_event_stream.BuildEventId.ConfigurationId configuration = 2; -
getConfigurationOrBuilder
The configuration under which the action is running.
.build_event_stream.BuildEventId.ConfigurationId configuration = 2;- Specified by:
getConfigurationOrBuilderin interfaceBuildEventStreamProtos.BuildEventId.TestProgressIdOrBuilder
-
getRun
public int getRun()The run number of the test action (e.g. for runs_per_test > 1).
int32 run = 3;- Specified by:
getRunin interfaceBuildEventStreamProtos.BuildEventId.TestProgressIdOrBuilder- Returns:
- The run.
-
setRun
The run number of the test action (e.g. for runs_per_test > 1).
int32 run = 3;- Parameters:
value- The run to set.- Returns:
- This builder for chaining.
-
clearRun
The run number of the test action (e.g. for runs_per_test > 1).
int32 run = 3;- Returns:
- This builder for chaining.
-
getShard
public int getShard()For sharded tests, the shard number of the test action.
int32 shard = 4;- Specified by:
getShardin interfaceBuildEventStreamProtos.BuildEventId.TestProgressIdOrBuilder- Returns:
- The shard.
-
setShard
For sharded tests, the shard number of the test action.
int32 shard = 4;- Parameters:
value- The shard to set.- Returns:
- This builder for chaining.
-
clearShard
For sharded tests, the shard number of the test action.
int32 shard = 4;- Returns:
- This builder for chaining.
-
getAttempt
public int getAttempt()The execution attempt number which may increase due to retries (e.g. for flaky tests).
int32 attempt = 5;- Specified by:
getAttemptin interfaceBuildEventStreamProtos.BuildEventId.TestProgressIdOrBuilder- Returns:
- The attempt.
-
setAttempt
The execution attempt number which may increase due to retries (e.g. for flaky tests).
int32 attempt = 5;- Parameters:
value- The attempt to set.- Returns:
- This builder for chaining.
-
clearAttempt
The execution attempt number which may increase due to retries (e.g. for flaky tests).
int32 attempt = 5;- Returns:
- This builder for chaining.
-
getOpaqueCount
public int getOpaqueCount()An incrementing count used to differentiate TestProgressIds for the same test attempt.
int32 opaque_count = 6;- Specified by:
getOpaqueCountin interfaceBuildEventStreamProtos.BuildEventId.TestProgressIdOrBuilder- Returns:
- The opaqueCount.
-
setOpaqueCount
An incrementing count used to differentiate TestProgressIds for the same test attempt.
int32 opaque_count = 6;- Parameters:
value- The opaqueCount to set.- Returns:
- This builder for chaining.
-
clearOpaqueCount
An incrementing count used to differentiate TestProgressIds for the same test attempt.
int32 opaque_count = 6;- Returns:
- This builder for chaining.
-