Class Deps.Dependencies.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Deps.Dependencies.Builder>
com.google.devtools.build.lib.view.proto.Deps.Dependencies.Builder
- All Implemented Interfaces:
Deps.DependenciesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Deps.Dependencies
public static final class Deps.Dependencies.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Deps.Dependencies.Builder>
implements Deps.DependenciesOrBuilder
Top-level message found in .deps artifactsProtobuf type
blaze_deps.Dependencies-
Method Summary
Modifier and TypeMethodDescriptionaddAllContainedPackage(Iterable<String> values) Packages contained in the output jar, sorted alphabetically.addAllDependency(Iterable<? extends Deps.Dependency> values) repeated .blaze_deps.Dependency dependency = 1;addContainedPackage(String value) Packages contained in the output jar, sorted alphabetically.addContainedPackageBytes(com.google.protobuf.ByteString value) Packages contained in the output jar, sorted alphabetically.addDependency(int index, Deps.Dependency value) repeated .blaze_deps.Dependency dependency = 1;addDependency(int index, Deps.Dependency.Builder builderForValue) repeated .blaze_deps.Dependency dependency = 1;addDependency(Deps.Dependency value) repeated .blaze_deps.Dependency dependency = 1;addDependency(Deps.Dependency.Builder builderForValue) repeated .blaze_deps.Dependency dependency = 1;repeated .blaze_deps.Dependency dependency = 1;addDependencyBuilder(int index) repeated .blaze_deps.Dependency dependency = 1;build()clear()Packages contained in the output jar, sorted alphabetically.repeated .blaze_deps.Dependency dependency = 1;If the Java action was started with a reduced classpath and an error occurred suggesting that it should be rerun with the full classpath, this will be true.Name of the rule being analyzed.Whether the action was successful; even when compilation fails, partial dependency information can be useful.getContainedPackage(int index) Packages contained in the output jar, sorted alphabetically.com.google.protobuf.ByteStringgetContainedPackageBytes(int index) Packages contained in the output jar, sorted alphabetically.intPackages contained in the output jar, sorted alphabetically.com.google.protobuf.ProtocolStringListPackages contained in the output jar, sorted alphabetically.getDependency(int index) repeated .blaze_deps.Dependency dependency = 1;getDependencyBuilder(int index) repeated .blaze_deps.Dependency dependency = 1;repeated .blaze_deps.Dependency dependency = 1;intrepeated .blaze_deps.Dependency dependency = 1;repeated .blaze_deps.Dependency dependency = 1;getDependencyOrBuilder(int index) repeated .blaze_deps.Dependency dependency = 1;List<? extends Deps.DependencyOrBuilder>repeated .blaze_deps.Dependency dependency = 1;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIf the Java action was started with a reduced classpath and an error occurred suggesting that it should be rerun with the full classpath, this will be true.Name of the rule being analyzed.com.google.protobuf.ByteStringName of the rule being analyzed.booleanWhether the action was successful; even when compilation fails, partial dependency information can be useful.booleanIf the Java action was started with a reduced classpath and an error occurred suggesting that it should be rerun with the full classpath, this will be true.booleanName of the rule being analyzed.booleanWhether the action was successful; even when compilation fails, partial dependency information can be useful.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Deps.Dependencies other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeDependency(int index) repeated .blaze_deps.Dependency dependency = 1;setContainedPackage(int index, String value) Packages contained in the output jar, sorted alphabetically.setDependency(int index, Deps.Dependency value) repeated .blaze_deps.Dependency dependency = 1;setDependency(int index, Deps.Dependency.Builder builderForValue) repeated .blaze_deps.Dependency dependency = 1;setRequiresReducedClasspathFallback(boolean value) If the Java action was started with a reduced classpath and an error occurred suggesting that it should be rerun with the full classpath, this will be true.setRuleLabel(String value) Name of the rule being analyzed.setRuleLabelBytes(com.google.protobuf.ByteString value) Name of the rule being analyzed.setSuccess(boolean value) Whether the action was successful; even when compilation fails, partial dependency information can be useful.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<Deps.Dependencies.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<Deps.Dependencies.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<Deps.Dependencies.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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Deps.Dependencies.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Deps.Dependencies.Builder>
-
mergeFrom
public Deps.Dependencies.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<Deps.Dependencies.Builder>- Throws:
IOException
-
getDependencyList
repeated .blaze_deps.Dependency dependency = 1;- Specified by:
getDependencyListin interfaceDeps.DependenciesOrBuilder
-
getDependencyCount
public int getDependencyCount()repeated .blaze_deps.Dependency dependency = 1;- Specified by:
getDependencyCountin interfaceDeps.DependenciesOrBuilder
-
getDependency
repeated .blaze_deps.Dependency dependency = 1;- Specified by:
getDependencyin interfaceDeps.DependenciesOrBuilder
-
setDependency
repeated .blaze_deps.Dependency dependency = 1; -
setDependency
repeated .blaze_deps.Dependency dependency = 1; -
addDependency
repeated .blaze_deps.Dependency dependency = 1; -
addDependency
repeated .blaze_deps.Dependency dependency = 1; -
addDependency
repeated .blaze_deps.Dependency dependency = 1; -
addDependency
repeated .blaze_deps.Dependency dependency = 1; -
addAllDependency
repeated .blaze_deps.Dependency dependency = 1; -
clearDependency
repeated .blaze_deps.Dependency dependency = 1; -
removeDependency
repeated .blaze_deps.Dependency dependency = 1; -
getDependencyBuilder
repeated .blaze_deps.Dependency dependency = 1; -
getDependencyOrBuilder
repeated .blaze_deps.Dependency dependency = 1;- Specified by:
getDependencyOrBuilderin interfaceDeps.DependenciesOrBuilder
-
getDependencyOrBuilderList
repeated .blaze_deps.Dependency dependency = 1;- Specified by:
getDependencyOrBuilderListin interfaceDeps.DependenciesOrBuilder
-
addDependencyBuilder
repeated .blaze_deps.Dependency dependency = 1; -
addDependencyBuilder
repeated .blaze_deps.Dependency dependency = 1; -
getDependencyBuilderList
repeated .blaze_deps.Dependency dependency = 1; -
hasRuleLabel
public boolean hasRuleLabel()Name of the rule being analyzed.
optional string rule_label = 2;- Specified by:
hasRuleLabelin interfaceDeps.DependenciesOrBuilder- Returns:
- Whether the ruleLabel field is set.
-
getRuleLabel
Name of the rule being analyzed.
optional string rule_label = 2;- Specified by:
getRuleLabelin interfaceDeps.DependenciesOrBuilder- Returns:
- The ruleLabel.
-
getRuleLabelBytes
public com.google.protobuf.ByteString getRuleLabelBytes()Name of the rule being analyzed.
optional string rule_label = 2;- Specified by:
getRuleLabelBytesin interfaceDeps.DependenciesOrBuilder- Returns:
- The bytes for ruleLabel.
-
setRuleLabel
Name of the rule being analyzed.
optional string rule_label = 2;- Parameters:
value- The ruleLabel to set.- Returns:
- This builder for chaining.
-
clearRuleLabel
Name of the rule being analyzed.
optional string rule_label = 2;- Returns:
- This builder for chaining.
-
setRuleLabelBytes
Name of the rule being analyzed.
optional string rule_label = 2;- Parameters:
value- The bytes for ruleLabel to set.- Returns:
- This builder for chaining.
-
hasSuccess
public boolean hasSuccess()Whether the action was successful; even when compilation fails, partial dependency information can be useful.
optional bool success = 3;- Specified by:
hasSuccessin interfaceDeps.DependenciesOrBuilder- Returns:
- Whether the success field is set.
-
getSuccess
public boolean getSuccess()Whether the action was successful; even when compilation fails, partial dependency information can be useful.
optional bool success = 3;- Specified by:
getSuccessin interfaceDeps.DependenciesOrBuilder- Returns:
- The success.
-
setSuccess
Whether the action was successful; even when compilation fails, partial dependency information can be useful.
optional bool success = 3;- Parameters:
value- The success to set.- Returns:
- This builder for chaining.
-
clearSuccess
Whether the action was successful; even when compilation fails, partial dependency information can be useful.
optional bool success = 3;- Returns:
- This builder for chaining.
-
getContainedPackageList
public com.google.protobuf.ProtocolStringList getContainedPackageList()Packages contained in the output jar, sorted alphabetically.
repeated string contained_package = 4;- Specified by:
getContainedPackageListin interfaceDeps.DependenciesOrBuilder- Returns:
- A list containing the containedPackage.
-
getContainedPackageCount
public int getContainedPackageCount()Packages contained in the output jar, sorted alphabetically.
repeated string contained_package = 4;- Specified by:
getContainedPackageCountin interfaceDeps.DependenciesOrBuilder- Returns:
- The count of containedPackage.
-
getContainedPackage
Packages contained in the output jar, sorted alphabetically.
repeated string contained_package = 4;- Specified by:
getContainedPackagein interfaceDeps.DependenciesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The containedPackage at the given index.
-
getContainedPackageBytes
public com.google.protobuf.ByteString getContainedPackageBytes(int index) Packages contained in the output jar, sorted alphabetically.
repeated string contained_package = 4;- Specified by:
getContainedPackageBytesin interfaceDeps.DependenciesOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the containedPackage at the given index.
-
setContainedPackage
Packages contained in the output jar, sorted alphabetically.
repeated string contained_package = 4;- Parameters:
index- The index to set the value at.value- The containedPackage to set.- Returns:
- This builder for chaining.
-
addContainedPackage
Packages contained in the output jar, sorted alphabetically.
repeated string contained_package = 4;- Parameters:
value- The containedPackage to add.- Returns:
- This builder for chaining.
-
addAllContainedPackage
Packages contained in the output jar, sorted alphabetically.
repeated string contained_package = 4;- Parameters:
values- The containedPackage to add.- Returns:
- This builder for chaining.
-
clearContainedPackage
Packages contained in the output jar, sorted alphabetically.
repeated string contained_package = 4;- Returns:
- This builder for chaining.
-
addContainedPackageBytes
Packages contained in the output jar, sorted alphabetically.
repeated string contained_package = 4;- Parameters:
value- The bytes of the containedPackage to add.- Returns:
- This builder for chaining.
-
hasRequiresReducedClasspathFallback
public boolean hasRequiresReducedClasspathFallback()If the Java action was started with a reduced classpath and an error occurred suggesting that it should be rerun with the full classpath, this will be true.
optional bool requires_reduced_classpath_fallback = 5;- Specified by:
hasRequiresReducedClasspathFallbackin interfaceDeps.DependenciesOrBuilder- Returns:
- Whether the requiresReducedClasspathFallback field is set.
-
getRequiresReducedClasspathFallback
public boolean getRequiresReducedClasspathFallback()If the Java action was started with a reduced classpath and an error occurred suggesting that it should be rerun with the full classpath, this will be true.
optional bool requires_reduced_classpath_fallback = 5;- Specified by:
getRequiresReducedClasspathFallbackin interfaceDeps.DependenciesOrBuilder- Returns:
- The requiresReducedClasspathFallback.
-
setRequiresReducedClasspathFallback
If the Java action was started with a reduced classpath and an error occurred suggesting that it should be rerun with the full classpath, this will be true.
optional bool requires_reduced_classpath_fallback = 5;- Parameters:
value- The requiresReducedClasspathFallback to set.- Returns:
- This builder for chaining.
-
clearRequiresReducedClasspathFallback
If the Java action was started with a reduced classpath and an error occurred suggesting that it should be rerun with the full classpath, this will be true.
optional bool requires_reduced_classpath_fallback = 5;- Returns:
- This builder for chaining.
-