Class 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, java.lang.Cloneable
    Enclosing class:
    Deps.Dependencies

    public static final class Deps.Dependencies.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependencies.Builder>
    implements Deps.DependenciesOrBuilder
     Top-level message found in .deps artifacts
     
    Protobuf type blaze_deps.Dependencies
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public Deps.Dependencies.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependencies.Builder>
      • setField

        public Deps.Dependencies.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependencies.Builder>
      • clearField

        public Deps.Dependencies.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependencies.Builder>
      • clearOneof

        public Deps.Dependencies.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependencies.Builder>
      • setRepeatedField

        public Deps.Dependencies.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          int index,
                                                          java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependencies.Builder>
      • addRepeatedField

        public Deps.Dependencies.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependencies.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependencies.Builder>
      • mergeFrom

        public Deps.Dependencies.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws java.io.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:
        java.io.IOException
      • 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;
      • 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 java.util.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 java.lang.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​(java.lang.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 java.lang.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,
                                                             java.lang.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​(java.lang.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​(java.lang.Iterable<java.lang.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.
      • setUnknownFields

        public final Deps.Dependencies.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependencies.Builder>
      • mergeUnknownFields

        public final Deps.Dependencies.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependencies.Builder>