Interface BuildEventStreamProtos.FileOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BuildEventStreamProtos.File,BuildEventStreamProtos.File.Builder
- Enclosing class:
- BuildEventStreamProtos
public static interface BuildEventStreamProtos.FileOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringThe contents of the file, if they are guaranteed to be short.Digest 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")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.A sequence of prefixes to apply to the file name to construct a full path.The 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.booleanThe symlink target path, if the file is an unresolved symlink.booleanhasUri()A location where the contents of the file can be found.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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;- Returns:
- A list containing the pathPrefix.
-
getPathPrefixCount
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;- 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;- Parameters:
index- The index of the element to return.- Returns:
- The pathPrefix at the given index.
-
getPathPrefixBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the pathPrefix at the given index.
-
getName
String getName()identifier indicating the nature of the file (e.g., "stdout", "stderr")
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()identifier indicating the nature of the file (e.g., "stdout", "stderr")
string name = 1;- Returns:
- The bytes for name.
-
hasUri
boolean hasUri()A location where the contents of the file can be found. The string is encoded according to RFC2396.
string uri = 2;- Returns:
- Whether the uri field is set.
-
getUri
String getUri()A location where the contents of the file can be found. The string is encoded according to RFC2396.
string uri = 2;- Returns:
- The uri.
-
getUriBytes
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;- Returns:
- The bytes for uri.
-
hasContents
boolean hasContents()The contents of the file, if they are guaranteed to be short.
bytes contents = 3;- Returns:
- Whether the contents field is set.
-
getContents
com.google.protobuf.ByteString getContents()The contents of the file, if they are guaranteed to be short.
bytes contents = 3;- Returns:
- The contents.
-
hasSymlinkTargetPath
boolean hasSymlinkTargetPath()The symlink target path, if the file is an unresolved symlink.
string symlink_target_path = 7;- Returns:
- Whether the symlinkTargetPath field is set.
-
getSymlinkTargetPath
String getSymlinkTargetPath()The symlink target path, if the file is an unresolved symlink.
string symlink_target_path = 7;- Returns:
- The symlinkTargetPath.
-
getSymlinkTargetPathBytes
com.google.protobuf.ByteString getSymlinkTargetPathBytes()The symlink target path, if the file is an unresolved symlink.
string symlink_target_path = 7;- Returns:
- The bytes for symlinkTargetPath.
-
getDigest
String getDigest()Digest of the file, using the build tool's configured digest algorithm, hex-encoded.
string digest = 5;- Returns:
- The digest.
-
getDigestBytes
com.google.protobuf.ByteString getDigestBytes()Digest of the file, using the build tool's configured digest algorithm, hex-encoded.
string digest = 5;- Returns:
- The bytes for digest.
-
getLength
long getLength()Length of the file in bytes.
int64 length = 6;- Returns:
- The length.
-
getFileCase
BuildEventStreamProtos.File.FileCase getFileCase()
-