public static interface Protos.CommandInfo.URIOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
getCache()
If this field is "true", the fetcher cache will be used.
|
boolean |
getExecutable()
optional bool executable = 2; |
boolean |
getExtract()
In case the fetched file is recognized as an archive, extract
its contents into the sandbox.
|
java.lang.String |
getOutputFile()
The fetcher's default behavior is to use the URI string's basename to
name the local copy.
|
com.google.protobuf.ByteString |
getOutputFileBytes()
The fetcher's default behavior is to use the URI string's basename to
name the local copy.
|
java.lang.String |
getValue()
required string value = 1; |
com.google.protobuf.ByteString |
getValueBytes()
required string value = 1; |
boolean |
hasCache()
If this field is "true", the fetcher cache will be used.
|
boolean |
hasExecutable()
optional bool executable = 2; |
boolean |
hasExtract()
In case the fetched file is recognized as an archive, extract
its contents into the sandbox.
|
boolean |
hasOutputFile()
The fetcher's default behavior is to use the URI string's basename to
name the local copy.
|
boolean |
hasValue()
required string value = 1; |
boolean hasValue()
required string value = 1;
java.lang.String getValue()
required string value = 1;
com.google.protobuf.ByteString getValueBytes()
required string value = 1;
boolean hasExecutable()
optional bool executable = 2;
boolean getExecutable()
optional bool executable = 2;
boolean hasExtract()
In case the fetched file is recognized as an archive, extract its contents into the sandbox. Note that a cached archive is not copied from the cache to the sandbox in case extraction originates from an archive in the cache.
optional bool extract = 3 [default = true];
boolean getExtract()
In case the fetched file is recognized as an archive, extract its contents into the sandbox. Note that a cached archive is not copied from the cache to the sandbox in case extraction originates from an archive in the cache.
optional bool extract = 3 [default = true];
boolean hasCache()
If this field is "true", the fetcher cache will be used. If not, fetching bypasses the cache and downloads directly into the sandbox directory, no matter whether a suitable cache file is available or not. The former directs the fetcher to download to the file cache, then copy from there to the sandbox. Subsequent fetch attempts with the same URI will omit downloading and copy from the cache as long as the file is resident there. Cache files may get evicted at any time, which then leads to renewed downloading. See also "docs/fetcher.md" and "docs/fetcher-cache-internals.md".
optional bool cache = 4;
boolean getCache()
If this field is "true", the fetcher cache will be used. If not, fetching bypasses the cache and downloads directly into the sandbox directory, no matter whether a suitable cache file is available or not. The former directs the fetcher to download to the file cache, then copy from there to the sandbox. Subsequent fetch attempts with the same URI will omit downloading and copy from the cache as long as the file is resident there. Cache files may get evicted at any time, which then leads to renewed downloading. See also "docs/fetcher.md" and "docs/fetcher-cache-internals.md".
optional bool cache = 4;
boolean hasOutputFile()
The fetcher's default behavior is to use the URI string's basename to name the local copy. If this field is provided, the local copy will be named with its value instead. If there is a directory component (which must be a relative path), the local copy will be stored in that subdirectory inside the sandbox.
optional string output_file = 5;
java.lang.String getOutputFile()
The fetcher's default behavior is to use the URI string's basename to name the local copy. If this field is provided, the local copy will be named with its value instead. If there is a directory component (which must be a relative path), the local copy will be stored in that subdirectory inside the sandbox.
optional string output_file = 5;
com.google.protobuf.ByteString getOutputFileBytes()
The fetcher's default behavior is to use the URI string's basename to name the local copy. If this field is provided, the local copy will be named with its value instead. If there is a directory component (which must be a relative path), the local copy will be stored in that subdirectory inside the sandbox.
optional string output_file = 5;