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 artifacts
 
Protobuf type blaze_deps.Dependencies
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Deps.Dependencies.Builder>
    • clear

      public Deps.Dependencies.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Deps.Dependencies.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Deps.Dependencies.Builder>
    • getDefaultInstanceForType

      public Deps.Dependencies getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Deps.Dependencies build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Deps.Dependencies buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Deps.Dependencies.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Deps.Dependencies.Builder>
    • mergeFrom

      public Deps.Dependencies.Builder mergeFrom(Deps.Dependencies other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Deps.Dependencies.Builder>
      Throws:
      IOException
    • getDependencyList

      public List<Deps.Dependency> getDependencyList()
      repeated .blaze_deps.Dependency dependency = 1;
      Specified by:
      getDependencyList in interface Deps.DependenciesOrBuilder
    • getDependencyCount

      public int getDependencyCount()
      repeated .blaze_deps.Dependency dependency = 1;
      Specified by:
      getDependencyCount in interface Deps.DependenciesOrBuilder
    • getDependency

      public Deps.Dependency getDependency(int index)
      repeated .blaze_deps.Dependency dependency = 1;
      Specified by:
      getDependency in interface Deps.DependenciesOrBuilder
    • setDependency

      public Deps.Dependencies.Builder setDependency(int index, Deps.Dependency value)
      repeated .blaze_deps.Dependency dependency = 1;
    • setDependency

      public Deps.Dependencies.Builder setDependency(int index, Deps.Dependency.Builder builderForValue)
      repeated .blaze_deps.Dependency dependency = 1;
    • addDependency

      public Deps.Dependencies.Builder addDependency(Deps.Dependency value)
      repeated .blaze_deps.Dependency dependency = 1;
    • addDependency

      public Deps.Dependencies.Builder addDependency(int index, Deps.Dependency value)
      repeated .blaze_deps.Dependency dependency = 1;
    • addDependency

      public Deps.Dependencies.Builder addDependency(Deps.Dependency.Builder builderForValue)
      repeated .blaze_deps.Dependency dependency = 1;
    • addDependency

      public Deps.Dependencies.Builder addDependency(int index, Deps.Dependency.Builder builderForValue)
      repeated .blaze_deps.Dependency dependency = 1;
    • addAllDependency

      public Deps.Dependencies.Builder addAllDependency(Iterable<? extends Deps.Dependency> values)
      repeated .blaze_deps.Dependency dependency = 1;
    • clearDependency

      public Deps.Dependencies.Builder clearDependency()
      repeated .blaze_deps.Dependency dependency = 1;
    • removeDependency

      public Deps.Dependencies.Builder removeDependency(int index)
      repeated .blaze_deps.Dependency dependency = 1;
    • getDependencyBuilder

      public Deps.Dependency.Builder getDependencyBuilder(int index)
      repeated .blaze_deps.Dependency dependency = 1;
    • getDependencyOrBuilder

      public Deps.DependencyOrBuilder getDependencyOrBuilder(int index)
      repeated .blaze_deps.Dependency dependency = 1;
      Specified by:
      getDependencyOrBuilder in interface Deps.DependenciesOrBuilder
    • getDependencyOrBuilderList

      public List<? extends Deps.DependencyOrBuilder> getDependencyOrBuilderList()
      repeated .blaze_deps.Dependency dependency = 1;
      Specified by:
      getDependencyOrBuilderList in interface Deps.DependenciesOrBuilder
    • addDependencyBuilder

      public Deps.Dependency.Builder addDependencyBuilder()
      repeated .blaze_deps.Dependency dependency = 1;
    • addDependencyBuilder

      public Deps.Dependency.Builder addDependencyBuilder(int index)
      repeated .blaze_deps.Dependency dependency = 1;
    • getDependencyBuilderList

      public List<Deps.Dependency.Builder> getDependencyBuilderList()
      repeated .blaze_deps.Dependency dependency = 1;
    • hasRuleLabel

      public boolean hasRuleLabel()
       Name of the rule being analyzed.
       
      optional string rule_label = 2;
      Specified by:
      hasRuleLabel in interface Deps.DependenciesOrBuilder
      Returns:
      Whether the ruleLabel field is set.
    • getRuleLabel

      public String getRuleLabel()
       Name of the rule being analyzed.
       
      optional string rule_label = 2;
      Specified by:
      getRuleLabel in interface Deps.DependenciesOrBuilder
      Returns:
      The ruleLabel.
    • getRuleLabelBytes

      public com.google.protobuf.ByteString getRuleLabelBytes()
       Name of the rule being analyzed.
       
      optional string rule_label = 2;
      Specified by:
      getRuleLabelBytes in interface Deps.DependenciesOrBuilder
      Returns:
      The bytes for ruleLabel.
    • setRuleLabel

      public Deps.Dependencies.Builder setRuleLabel(String value)
       Name of the rule being analyzed.
       
      optional string rule_label = 2;
      Parameters:
      value - The ruleLabel to set.
      Returns:
      This builder for chaining.
    • clearRuleLabel

      public Deps.Dependencies.Builder clearRuleLabel()
       Name of the rule being analyzed.
       
      optional string rule_label = 2;
      Returns:
      This builder for chaining.
    • setRuleLabelBytes

      public Deps.Dependencies.Builder setRuleLabelBytes(com.google.protobuf.ByteString value)
       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:
      hasSuccess in interface Deps.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:
      getSuccess in interface Deps.DependenciesOrBuilder
      Returns:
      The success.
    • setSuccess

      public Deps.Dependencies.Builder setSuccess(boolean value)
       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

      public Deps.Dependencies.Builder 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:
      getContainedPackageList in interface Deps.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:
      getContainedPackageCount in interface Deps.DependenciesOrBuilder
      Returns:
      The count of containedPackage.
    • getContainedPackage

      public String getContainedPackage(int index)
       Packages contained in the output jar, sorted alphabetically.
       
      repeated string contained_package = 4;
      Specified by:
      getContainedPackage in interface Deps.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:
      getContainedPackageBytes in interface Deps.DependenciesOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the containedPackage at the given index.
    • setContainedPackage

      public Deps.Dependencies.Builder setContainedPackage(int index, String value)
       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

      public Deps.Dependencies.Builder addContainedPackage(String value)
       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

      public Deps.Dependencies.Builder addAllContainedPackage(Iterable<String> values)
       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

      public Deps.Dependencies.Builder clearContainedPackage()
       Packages contained in the output jar, sorted alphabetically.
       
      repeated string contained_package = 4;
      Returns:
      This builder for chaining.
    • addContainedPackageBytes

      public Deps.Dependencies.Builder addContainedPackageBytes(com.google.protobuf.ByteString value)
       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:
      hasRequiresReducedClasspathFallback in interface Deps.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:
      getRequiresReducedClasspathFallback in interface Deps.DependenciesOrBuilder
      Returns:
      The requiresReducedClasspathFallback.
    • setRequiresReducedClasspathFallback

      public Deps.Dependencies.Builder 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.
       
      optional bool requires_reduced_classpath_fallback = 5;
      Parameters:
      value - The requiresReducedClasspathFallback to set.
      Returns:
      This builder for chaining.
    • clearRequiresReducedClasspathFallback

      public Deps.Dependencies.Builder 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.