Class BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCount.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCount.Builder>
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCount.Builder
- All Implemented Interfaces:
BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCountOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCount
public static final class BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCount.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCount.Builder>
implements BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCountOrBuilder
For SkyKeys in 'done values' where the SkyValue is of type RuleConfiguredTargetValue, we pull those out separately and report the ruleClass and action count.Protobuf type
build_event_stream.BuildMetrics.BuildGraphMetrics.RuleClassCount-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()how many actions were created by this rule class.how many rule instances of this type were seen.clearKey()Unique key for the rule class.String name of the rule_class (not guaranteed unique)longhow many actions were created by this rule class.longgetCount()how many rule instances of this type were seen.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetKey()Unique key for the rule class.com.google.protobuf.ByteStringUnique key for the rule class.String name of the rule_class (not guaranteed unique)com.google.protobuf.ByteStringString name of the rule_class (not guaranteed unique)protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setActionCount(long value) how many actions were created by this rule class.setCount(long value) how many rule instances of this type were seen.Unique key for the rule class.setKeyBytes(com.google.protobuf.ByteString value) Unique key for the rule class.setRuleClass(String value) String name of the rule_class (not guaranteed unique)setRuleClassBytes(com.google.protobuf.ByteString value) String name of the rule_class (not guaranteed unique)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.BuildGraphMetrics.RuleClassCount.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.BuildGraphMetrics.RuleClassCount.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.BuildGraphMetrics.RuleClassCount.Builder>
-
getDefaultInstanceForType
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCount 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.BuildGraphMetrics.RuleClassCount.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCount.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCount.Builder>
-
mergeFrom
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCount.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.BuildGraphMetrics.RuleClassCount.Builder>- Throws:
IOException
-
getKey
Unique key for the rule class.
string key = 1;- Specified by:
getKeyin interfaceBuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCountOrBuilder- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()Unique key for the rule class.
string key = 1;- Specified by:
getKeyBytesin interfaceBuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCountOrBuilder- Returns:
- The bytes for key.
-
setKey
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCount.Builder setKey(String value) Unique key for the rule class.
string key = 1;- Parameters:
value- The key to set.- Returns:
- This builder for chaining.
-
clearKey
Unique key for the rule class.
string key = 1;- Returns:
- This builder for chaining.
-
setKeyBytes
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCount.Builder setKeyBytes(com.google.protobuf.ByteString value) Unique key for the rule class.
string key = 1;- Parameters:
value- The bytes for key to set.- Returns:
- This builder for chaining.
-
getRuleClass
String name of the rule_class (not guaranteed unique)
string rule_class = 2;- Specified by:
getRuleClassin interfaceBuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCountOrBuilder- Returns:
- The ruleClass.
-
getRuleClassBytes
public com.google.protobuf.ByteString getRuleClassBytes()String name of the rule_class (not guaranteed unique)
string rule_class = 2;- Specified by:
getRuleClassBytesin interfaceBuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCountOrBuilder- Returns:
- The bytes for ruleClass.
-
setRuleClass
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCount.Builder setRuleClass(String value) String name of the rule_class (not guaranteed unique)
string rule_class = 2;- Parameters:
value- The ruleClass to set.- Returns:
- This builder for chaining.
-
clearRuleClass
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCount.Builder clearRuleClass()String name of the rule_class (not guaranteed unique)
string rule_class = 2;- Returns:
- This builder for chaining.
-
setRuleClassBytes
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCount.Builder setRuleClassBytes(com.google.protobuf.ByteString value) String name of the rule_class (not guaranteed unique)
string rule_class = 2;- Parameters:
value- The bytes for ruleClass to set.- Returns:
- This builder for chaining.
-
getCount
public long getCount()how many rule instances of this type were seen.
uint64 count = 3;- Specified by:
getCountin interfaceBuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCountOrBuilder- Returns:
- The count.
-
setCount
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCount.Builder setCount(long value) how many rule instances of this type were seen.
uint64 count = 3;- Parameters:
value- The count to set.- Returns:
- This builder for chaining.
-
clearCount
how many rule instances of this type were seen.
uint64 count = 3;- Returns:
- This builder for chaining.
-
getActionCount
public long getActionCount()how many actions were created by this rule class.
uint64 action_count = 4;- Specified by:
getActionCountin interfaceBuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCountOrBuilder- Returns:
- The actionCount.
-
setActionCount
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCount.Builder setActionCount(long value) how many actions were created by this rule class.
uint64 action_count = 4;- Parameters:
value- The actionCount to set.- Returns:
- This builder for chaining.
-
clearActionCount
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics.RuleClassCount.Builder clearActionCount()how many actions were created by this rule class.
uint64 action_count = 4;- Returns:
- This builder for chaining.
-