Class Deps.Dependency
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.devtools.build.lib.view.proto.Deps.Dependency
-
- All Implemented Interfaces:
Deps.DependencyOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
- Enclosing class:
- Deps
public static final class Deps.Dependency extends com.google.protobuf.GeneratedMessageV3 implements Deps.DependencyOrBuilder
Protobuf typeblaze_deps.Dependency- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeps.Dependency.BuilderProtobuf typeblaze_deps.Dependencystatic classDeps.Dependency.KindProtobuf enumblaze_deps.Dependency.Kind-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intKIND_FIELD_NUMBERstatic intLOCATION_FIELD_NUMBERstatic com.google.protobuf.Parser<Deps.Dependency>PARSERDeprecated.static intPATH_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static Deps.DependencygetDefaultInstance()Deps.DependencygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Deps.Dependency.KindgetKind()Dependency kindDeps.SourceLocationgetLocation(int index)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.com.google.protobuf.Parser<Deps.Dependency>getParserForType()java.lang.StringgetPath()Path to the artifact representing this dependency.com.google.protobuf.ByteStringgetPathBytes()Path to the artifact representing this dependency.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasKind()Dependency kindbooleanhasPath()Path to the artifact representing this dependency.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Deps.Dependency.BuildernewBuilder()static Deps.Dependency.BuildernewBuilder(Deps.Dependency prototype)Deps.Dependency.BuildernewBuilderForType()protected Deps.Dependency.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Deps.DependencyparseDelimitedFrom(java.io.InputStream input)static Deps.DependencyparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Deps.DependencyparseFrom(byte[] data)static Deps.DependencyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Deps.DependencyparseFrom(com.google.protobuf.ByteString data)static Deps.DependencyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Deps.DependencyparseFrom(com.google.protobuf.CodedInputStream input)static Deps.DependencyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Deps.DependencyparseFrom(java.io.InputStream input)static Deps.DependencyparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Deps.DependencyparseFrom(java.nio.ByteBuffer data)static Deps.DependencyparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Deps.Dependency>parser()Deps.Dependency.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Deps.Dependency> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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
-
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
-
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
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Deps.Dependency parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deps.Dependency parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deps.Dependency parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deps.Dependency parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deps.Dependency parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deps.Dependency parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deps.Dependency parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Deps.Dependency parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Deps.Dependency parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Deps.Dependency parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Deps.Dependency parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Deps.Dependency parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Deps.Dependency.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Deps.Dependency.Builder newBuilder()
-
newBuilder
public static Deps.Dependency.Builder newBuilder(Deps.Dependency prototype)
-
toBuilder
public Deps.Dependency.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Deps.Dependency.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Deps.Dependency getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Deps.Dependency> parser()
-
getParserForType
public com.google.protobuf.Parser<Deps.Dependency> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Deps.Dependency getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-