Class BuildEventStreamProtos.File
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.File
- All Implemented Interfaces:
BuildEventStreamProtos.FileOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- BuildEventStreamProtos
public static final class BuildEventStreamProtos.File
extends com.google.protobuf.GeneratedMessage
implements BuildEventStreamProtos.FileOrBuilder
Protobuf type
build_event_stream.File- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typebuild_event_stream.Filestatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.ByteStringThe contents of the file, if they are guaranteed to be short.static BuildEventStreamProtos.Filestatic final com.google.protobuf.Descriptors.DescriptorDigest of the file, using the build tool's configured digest algorithm, hex-encoded.com.google.protobuf.ByteStringDigest of the file, using the build tool's configured digest algorithm, hex-encoded.longLength of the file in bytes.getName()identifier indicating the nature of the file (e.g., "stdout", "stderr")com.google.protobuf.ByteStringidentifier indicating the nature of the file (e.g., "stdout", "stderr")com.google.protobuf.Parser<BuildEventStreamProtos.File>getPathPrefix(int index) A sequence of prefixes to apply to the file name to construct a full path.com.google.protobuf.ByteStringgetPathPrefixBytes(int index) A sequence of prefixes to apply to the file name to construct a full path.intA sequence of prefixes to apply to the file name to construct a full path.com.google.protobuf.ProtocolStringListA sequence of prefixes to apply to the file name to construct a full path.intThe symlink target path, if the file is an unresolved symlink.com.google.protobuf.ByteStringThe symlink target path, if the file is an unresolved symlink.getUri()A location where the contents of the file can be found.com.google.protobuf.ByteStringA location where the contents of the file can be found.booleanThe contents of the file, if they are guaranteed to be short.inthashCode()booleanThe symlink target path, if the file is an unresolved symlink.booleanhasUri()A location where the contents of the file can be found.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(BuildEventStreamProtos.File prototype) protected BuildEventStreamProtos.File.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static BuildEventStreamProtos.FileparseDelimitedFrom(InputStream input) static BuildEventStreamProtos.FileparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildEventStreamProtos.FileparseFrom(byte[] data) static BuildEventStreamProtos.FileparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildEventStreamProtos.FileparseFrom(com.google.protobuf.ByteString data) static BuildEventStreamProtos.FileparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildEventStreamProtos.FileparseFrom(com.google.protobuf.CodedInputStream input) static BuildEventStreamProtos.FileparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildEventStreamProtos.FileparseFrom(InputStream input) static BuildEventStreamProtos.FileparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildEventStreamProtos.FileparseFrom(ByteBuffer data) static BuildEventStreamProtos.FileparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BuildEventStreamProtos.File>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PATH_PREFIX_FIELD_NUMBER
public static final int PATH_PREFIX_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER- See Also:
-
CONTENTS_FIELD_NUMBER
public static final int CONTENTS_FIELD_NUMBER- See Also:
-
SYMLINK_TARGET_PATH_FIELD_NUMBER
public static final int SYMLINK_TARGET_PATH_FIELD_NUMBER- See Also:
-
DIGEST_FIELD_NUMBER
public static final int DIGEST_FIELD_NUMBER- See Also:
-
LENGTH_FIELD_NUMBER
public static final int LENGTH_FIELD_NUMBER- See Also:
-
-
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
-
getFileCase
- Specified by:
getFileCasein interfaceBuildEventStreamProtos.FileOrBuilder
-
getPathPrefixList
public com.google.protobuf.ProtocolStringList getPathPrefixList()A sequence of prefixes to apply to the file name to construct a full path. In most but not all cases, there will be 3 entries: 1. A root output directory, eg "bazel-out" 2. A configuration mnemonic, eg "k8-fastbuild" 3. An output category, eg "genfiles"
repeated string path_prefix = 4;- Specified by:
getPathPrefixListin interfaceBuildEventStreamProtos.FileOrBuilder- Returns:
- A list containing the pathPrefix.
-
getPathPrefixCount
public int getPathPrefixCount()A sequence of prefixes to apply to the file name to construct a full path. In most but not all cases, there will be 3 entries: 1. A root output directory, eg "bazel-out" 2. A configuration mnemonic, eg "k8-fastbuild" 3. An output category, eg "genfiles"
repeated string path_prefix = 4;- Specified by:
getPathPrefixCountin interfaceBuildEventStreamProtos.FileOrBuilder- Returns:
- The count of pathPrefix.
-
getPathPrefix
A sequence of prefixes to apply to the file name to construct a full path. In most but not all cases, there will be 3 entries: 1. A root output directory, eg "bazel-out" 2. A configuration mnemonic, eg "k8-fastbuild" 3. An output category, eg "genfiles"
repeated string path_prefix = 4;- Specified by:
getPathPrefixin interfaceBuildEventStreamProtos.FileOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The pathPrefix at the given index.
-
getPathPrefixBytes
public com.google.protobuf.ByteString getPathPrefixBytes(int index) A sequence of prefixes to apply to the file name to construct a full path. In most but not all cases, there will be 3 entries: 1. A root output directory, eg "bazel-out" 2. A configuration mnemonic, eg "k8-fastbuild" 3. An output category, eg "genfiles"
repeated string path_prefix = 4;- Specified by:
getPathPrefixBytesin interfaceBuildEventStreamProtos.FileOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the pathPrefix at the given index.
-
getName
identifier indicating the nature of the file (e.g., "stdout", "stderr")
string name = 1;- Specified by:
getNamein interfaceBuildEventStreamProtos.FileOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()identifier indicating the nature of the file (e.g., "stdout", "stderr")
string name = 1;- Specified by:
getNameBytesin interfaceBuildEventStreamProtos.FileOrBuilder- Returns:
- The bytes for name.
-
hasUri
public boolean hasUri()A location where the contents of the file can be found. The string is encoded according to RFC2396.
string uri = 2;- Specified by:
hasUriin interfaceBuildEventStreamProtos.FileOrBuilder- Returns:
- Whether the uri field is set.
-
getUri
A location where the contents of the file can be found. The string is encoded according to RFC2396.
string uri = 2;- Specified by:
getUriin interfaceBuildEventStreamProtos.FileOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()A location where the contents of the file can be found. The string is encoded according to RFC2396.
string uri = 2;- Specified by:
getUriBytesin interfaceBuildEventStreamProtos.FileOrBuilder- Returns:
- The bytes for uri.
-
hasContents
public boolean hasContents()The contents of the file, if they are guaranteed to be short.
bytes contents = 3;- Specified by:
hasContentsin interfaceBuildEventStreamProtos.FileOrBuilder- Returns:
- Whether the contents field is set.
-
getContents
public com.google.protobuf.ByteString getContents()The contents of the file, if they are guaranteed to be short.
bytes contents = 3;- Specified by:
getContentsin interfaceBuildEventStreamProtos.FileOrBuilder- Returns:
- The contents.
-
hasSymlinkTargetPath
public boolean hasSymlinkTargetPath()The symlink target path, if the file is an unresolved symlink.
string symlink_target_path = 7;- Specified by:
hasSymlinkTargetPathin interfaceBuildEventStreamProtos.FileOrBuilder- Returns:
- Whether the symlinkTargetPath field is set.
-
getSymlinkTargetPath
The symlink target path, if the file is an unresolved symlink.
string symlink_target_path = 7;- Specified by:
getSymlinkTargetPathin interfaceBuildEventStreamProtos.FileOrBuilder- Returns:
- The symlinkTargetPath.
-
getSymlinkTargetPathBytes
public com.google.protobuf.ByteString getSymlinkTargetPathBytes()The symlink target path, if the file is an unresolved symlink.
string symlink_target_path = 7;- Specified by:
getSymlinkTargetPathBytesin interfaceBuildEventStreamProtos.FileOrBuilder- Returns:
- The bytes for symlinkTargetPath.
-
getDigest
Digest of the file, using the build tool's configured digest algorithm, hex-encoded.
string digest = 5;- Specified by:
getDigestin interfaceBuildEventStreamProtos.FileOrBuilder- Returns:
- The digest.
-
getDigestBytes
public com.google.protobuf.ByteString getDigestBytes()Digest of the file, using the build tool's configured digest algorithm, hex-encoded.
string digest = 5;- Specified by:
getDigestBytesin interfaceBuildEventStreamProtos.FileOrBuilder- Returns:
- The bytes for digest.
-
getLength
public long getLength()Length of the file in bytes.
int64 length = 6;- Specified by:
getLengthin interfaceBuildEventStreamProtos.FileOrBuilder- Returns:
- The length.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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 BuildEventStreamProtos.File parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.File parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.File parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.File parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.File parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BuildEventStreamProtos.File parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static BuildEventStreamProtos.File parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static BuildEventStreamProtos.File parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static BuildEventStreamProtos.File parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BuildEventStreamProtos.File.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-