Class Deps.Dependency.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependency.Builder>
-
- com.google.devtools.build.lib.view.proto.Deps.Dependency.Builder
-
- All Implemented Interfaces:
Deps.DependencyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- Deps.Dependency
public static final class Deps.Dependency.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependency.Builder> implements Deps.DependencyOrBuilder
Protobuf typeblaze_deps.Dependency
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Deps.Dependency.BuilderaddAllLocation(java.lang.Iterable<? extends Deps.SourceLocation> values)Source file locations: compilers can pinpoint the uses of a dependency.Deps.Dependency.BuilderaddLocation(int index, Deps.SourceLocation value)Source file locations: compilers can pinpoint the uses of a dependency.Deps.Dependency.BuilderaddLocation(int index, Deps.SourceLocation.Builder builderForValue)Source file locations: compilers can pinpoint the uses of a dependency.Deps.Dependency.BuilderaddLocation(Deps.SourceLocation value)Source file locations: compilers can pinpoint the uses of a dependency.Deps.Dependency.BuilderaddLocation(Deps.SourceLocation.Builder builderForValue)Source file locations: compilers can pinpoint the uses of a dependency.Deps.SourceLocation.BuilderaddLocationBuilder()Source file locations: compilers can pinpoint the uses of a dependency.Deps.SourceLocation.BuilderaddLocationBuilder(int index)Source file locations: compilers can pinpoint the uses of a dependency.Deps.Dependency.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Deps.Dependencybuild()Deps.DependencybuildPartial()Deps.Dependency.Builderclear()Deps.Dependency.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Deps.Dependency.BuilderclearKind()Dependency kindDeps.Dependency.BuilderclearLocation()Source file locations: compilers can pinpoint the uses of a dependency.Deps.Dependency.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Deps.Dependency.BuilderclearPath()Path to the artifact representing this dependency.Deps.Dependency.Builderclone()Deps.DependencygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Deps.Dependency.KindgetKind()Dependency kindDeps.SourceLocationgetLocation(int index)Source file locations: compilers can pinpoint the uses of a dependency.Deps.SourceLocation.BuildergetLocationBuilder(int index)Source file locations: compilers can pinpoint the uses of a dependency.java.util.List<Deps.SourceLocation.Builder>getLocationBuilderList()Source file locations: compilers can pinpoint the uses of a dependency.intgetLocationCount()Source file locations: compilers can pinpoint the uses of a dependency.java.util.List<Deps.SourceLocation>getLocationList()Source file locations: compilers can pinpoint the uses of a dependency.Deps.SourceLocationOrBuildergetLocationOrBuilder(int index)Source file locations: compilers can pinpoint the uses of a dependency.java.util.List<? extends Deps.SourceLocationOrBuilder>getLocationOrBuilderList()Source file locations: compilers can pinpoint the uses of a dependency.java.lang.StringgetPath()Path to the artifact representing this dependency.com.google.protobuf.ByteStringgetPathBytes()Path to the artifact representing this dependency.booleanhasKind()Dependency kindbooleanhasPath()Path to the artifact representing this dependency.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Deps.Dependency.BuildermergeFrom(Deps.Dependency other)Deps.Dependency.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Deps.Dependency.BuildermergeFrom(com.google.protobuf.Message other)Deps.Dependency.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Deps.Dependency.BuilderremoveLocation(int index)Source file locations: compilers can pinpoint the uses of a dependency.Deps.Dependency.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Deps.Dependency.BuildersetKind(Deps.Dependency.Kind value)Dependency kindDeps.Dependency.BuildersetLocation(int index, Deps.SourceLocation value)Source file locations: compilers can pinpoint the uses of a dependency.Deps.Dependency.BuildersetLocation(int index, Deps.SourceLocation.Builder builderForValue)Source file locations: compilers can pinpoint the uses of a dependency.Deps.Dependency.BuildersetPath(java.lang.String value)Path to the artifact representing this dependency.Deps.Dependency.BuildersetPathBytes(com.google.protobuf.ByteString value)Path to the artifact representing this dependency.Deps.Dependency.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Deps.Dependency.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependency.Builder>
-
clear
public Deps.Dependency.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependency.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.GeneratedMessageV3.Builder<Deps.Dependency.Builder>
-
getDefaultInstanceForType
public Deps.Dependency getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Deps.Dependency build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Deps.Dependency buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Deps.Dependency.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependency.Builder>
-
setField
public Deps.Dependency.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependency.Builder>
-
clearField
public Deps.Dependency.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependency.Builder>
-
clearOneof
public Deps.Dependency.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependency.Builder>
-
setRepeatedField
public Deps.Dependency.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependency.Builder>
-
addRepeatedField
public Deps.Dependency.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependency.Builder>
-
mergeFrom
public Deps.Dependency.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Deps.Dependency.Builder>
-
mergeFrom
public Deps.Dependency.Builder mergeFrom(Deps.Dependency other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependency.Builder>
-
mergeFrom
public Deps.Dependency.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.Dependency.Builder>- Throws:
java.io.IOException
-
hasPath
public boolean hasPath()
Path to the artifact representing this dependency.
required string path = 1;- Specified by:
hasPathin interfaceDeps.DependencyOrBuilder- Returns:
- Whether the path field is set.
-
getPath
public java.lang.String getPath()
Path to the artifact representing this dependency.
required string path = 1;- Specified by:
getPathin interfaceDeps.DependencyOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
Path to the artifact representing this dependency.
required string path = 1;- Specified by:
getPathBytesin interfaceDeps.DependencyOrBuilder- Returns:
- The bytes for path.
-
setPath
public Deps.Dependency.Builder setPath(java.lang.String value)
Path to the artifact representing this dependency.
required string path = 1;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
public Deps.Dependency.Builder clearPath()
Path to the artifact representing this dependency.
required string path = 1;- Returns:
- This builder for chaining.
-
setPathBytes
public Deps.Dependency.Builder setPathBytes(com.google.protobuf.ByteString value)
Path to the artifact representing this dependency.
required string path = 1;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()
Dependency kind
required .blaze_deps.Dependency.Kind kind = 2;- Specified by:
hasKindin interfaceDeps.DependencyOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public Deps.Dependency.Kind getKind()
Dependency kind
required .blaze_deps.Dependency.Kind kind = 2;- Specified by:
getKindin interfaceDeps.DependencyOrBuilder- Returns:
- The kind.
-
setKind
public Deps.Dependency.Builder setKind(Deps.Dependency.Kind value)
Dependency kind
required .blaze_deps.Dependency.Kind kind = 2;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public Deps.Dependency.Builder clearKind()
Dependency kind
required .blaze_deps.Dependency.Kind kind = 2;- Returns:
- This builder for chaining.
-
getLocationList
public java.util.List<Deps.SourceLocation> getLocationList()
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;- Specified by:
getLocationListin interfaceDeps.DependencyOrBuilder
-
getLocationCount
public int getLocationCount()
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;- Specified by:
getLocationCountin interfaceDeps.DependencyOrBuilder
-
getLocation
public Deps.SourceLocation getLocation(int index)
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;- Specified by:
getLocationin interfaceDeps.DependencyOrBuilder
-
setLocation
public Deps.Dependency.Builder setLocation(int index, Deps.SourceLocation value)
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;
-
setLocation
public Deps.Dependency.Builder setLocation(int index, Deps.SourceLocation.Builder builderForValue)
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;
-
addLocation
public Deps.Dependency.Builder addLocation(Deps.SourceLocation value)
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;
-
addLocation
public Deps.Dependency.Builder addLocation(int index, Deps.SourceLocation value)
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;
-
addLocation
public Deps.Dependency.Builder addLocation(Deps.SourceLocation.Builder builderForValue)
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;
-
addLocation
public Deps.Dependency.Builder addLocation(int index, Deps.SourceLocation.Builder builderForValue)
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;
-
addAllLocation
public Deps.Dependency.Builder addAllLocation(java.lang.Iterable<? extends Deps.SourceLocation> values)
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;
-
clearLocation
public Deps.Dependency.Builder clearLocation()
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;
-
removeLocation
public Deps.Dependency.Builder removeLocation(int index)
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;
-
getLocationBuilder
public Deps.SourceLocation.Builder getLocationBuilder(int index)
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;
-
getLocationOrBuilder
public Deps.SourceLocationOrBuilder getLocationOrBuilder(int index)
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;- Specified by:
getLocationOrBuilderin interfaceDeps.DependencyOrBuilder
-
getLocationOrBuilderList
public java.util.List<? extends Deps.SourceLocationOrBuilder> getLocationOrBuilderList()
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;- Specified by:
getLocationOrBuilderListin interfaceDeps.DependencyOrBuilder
-
addLocationBuilder
public Deps.SourceLocation.Builder addLocationBuilder()
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;
-
addLocationBuilder
public Deps.SourceLocation.Builder addLocationBuilder(int index)
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;
-
getLocationBuilderList
public java.util.List<Deps.SourceLocation.Builder> getLocationBuilderList()
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;
-
setUnknownFields
public final Deps.Dependency.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependency.Builder>
-
mergeUnknownFields
public final Deps.Dependency.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Deps.Dependency.Builder>
-
-