Class Deps.Dependency.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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,Cloneable
- Enclosing class:
- Deps.Dependency
public static final class Deps.Dependency.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Deps.Dependency.Builder>
implements Deps.DependencyOrBuilder
Protobuf type
blaze_deps.Dependency-
Method Summary
Modifier and TypeMethodDescriptionaddAllLocation(Iterable<? extends Deps.SourceLocation> values) Source file locations: compilers can pinpoint the uses of a dependency.addLocation(int index, Deps.SourceLocation value) Source file locations: compilers can pinpoint the uses of a dependency.addLocation(int index, Deps.SourceLocation.Builder builderForValue) Source file locations: compilers can pinpoint the uses of a dependency.addLocation(Deps.SourceLocation value) Source file locations: compilers can pinpoint the uses of a dependency.addLocation(Deps.SourceLocation.Builder builderForValue) Source file locations: compilers can pinpoint the uses of a dependency.Source file locations: compilers can pinpoint the uses of a dependency.addLocationBuilder(int index) Source file locations: compilers can pinpoint the uses of a dependency.build()clear()Dependency kindSource file locations: compilers can pinpoint the uses of a dependency.Path to the artifact representing this dependency.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetKind()Dependency kindgetLocation(int index) Source file locations: compilers can pinpoint the uses of a dependency.getLocationBuilder(int index) Source file locations: compilers can pinpoint the uses of a dependency.Source file locations: compilers can pinpoint the uses of a dependency.intSource file locations: compilers can pinpoint the uses of a dependency.Source file locations: compilers can pinpoint the uses of a dependency.getLocationOrBuilder(int index) Source file locations: compilers can pinpoint the uses of a dependency.List<? extends Deps.SourceLocationOrBuilder>Source file locations: compilers can pinpoint the uses of a dependency.getPath()Path to the artifact representing this dependency.com.google.protobuf.ByteStringPath to the artifact representing this dependency.booleanhasKind()Dependency kindbooleanhasPath()Path to the artifact representing this dependency.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Deps.Dependency other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeLocation(int index) Source file locations: compilers can pinpoint the uses of a dependency.setKind(Deps.Dependency.Kind value) Dependency kindsetLocation(int index, Deps.SourceLocation value) Source file locations: compilers can pinpoint the uses of a dependency.setLocation(int index, Deps.SourceLocation.Builder builderForValue) Source file locations: compilers can pinpoint the uses of a dependency.Path to the artifact representing this dependency.setPathBytes(com.google.protobuf.ByteString value) Path to the artifact representing this dependency.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.Dependency.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.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.GeneratedMessage.Builder<Deps.Dependency.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.Dependency.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Deps.Dependency.Builder>
-
mergeFrom
public Deps.Dependency.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.Dependency.Builder>- Throws:
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
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
Path to the artifact representing this dependency.
required string path = 1;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
Path to the artifact representing this dependency.
required string path = 1;- Returns:
- This builder for chaining.
-
setPathBytes
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
Dependency kind
required .blaze_deps.Dependency.Kind kind = 2;- Specified by:
getKindin interfaceDeps.DependencyOrBuilder- Returns:
- The kind.
-
setKind
Dependency kind
required .blaze_deps.Dependency.Kind kind = 2;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Dependency kind
required .blaze_deps.Dependency.Kind kind = 2;- Returns:
- This builder for chaining.
-
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
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;- Specified by:
getLocationin interfaceDeps.DependencyOrBuilder
-
setLocation
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3; -
setLocation
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3; -
addLocation
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3; -
addLocation
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3; -
addLocation
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3; -
addLocation
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3; -
addAllLocation
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3; -
clearLocation
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3; -
removeLocation
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3; -
getLocationBuilder
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3; -
getLocationOrBuilder
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;- Specified by:
getLocationOrBuilderin interfaceDeps.DependencyOrBuilder
-
getLocationOrBuilderList
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;- Specified by:
getLocationOrBuilderListin interfaceDeps.DependencyOrBuilder
-
addLocationBuilder
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3; -
addLocationBuilder
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3; -
getLocationBuilderList
Source file locations: compilers can pinpoint the uses of a dependency.
repeated .blaze_deps.SourceLocation location = 3;
-