public static final class Protos.CommandInfo.URI.Builder extends <any> implements Protos.CommandInfo.URIOrBuilder
mesos.CommandInfo.URI
Modifier and Type | Method and Description |
---|---|
Protos.CommandInfo.URI.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.CommandInfo.URI |
build() |
Protos.CommandInfo.URI |
buildPartial() |
Protos.CommandInfo.URI.Builder |
clear() |
Protos.CommandInfo.URI.Builder |
clearCache()
If this field is "true", the fetcher cache will be used.
|
Protos.CommandInfo.URI.Builder |
clearExecutable()
optional bool executable = 2; |
Protos.CommandInfo.URI.Builder |
clearExtract()
In case the fetched file is recognized as an archive, extract
its contents into the sandbox.
|
Protos.CommandInfo.URI.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.CommandInfo.URI.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.CommandInfo.URI.Builder |
clearOutputFile()
The fetcher's default behavior is to use the URI string's basename to
name the local copy.
|
Protos.CommandInfo.URI.Builder |
clearValue()
required string value = 1; |
Protos.CommandInfo.URI.Builder |
clone() |
boolean |
getCache()
If this field is "true", the fetcher cache will be used.
|
Protos.CommandInfo.URI |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.CommandInfo.URI.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.CommandInfo.URI.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.CommandInfo.URI.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.CommandInfo.URI.Builder |
setCache(boolean value)
If this field is "true", the fetcher cache will be used.
|
Protos.CommandInfo.URI.Builder |
setExecutable(boolean value)
optional bool executable = 2; |
Protos.CommandInfo.URI.Builder |
setExtract(boolean value)
In case the fetched file is recognized as an archive, extract
its contents into the sandbox.
|
Protos.CommandInfo.URI.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.CommandInfo.URI.Builder |
setOutputFile(java.lang.String value)
The fetcher's default behavior is to use the URI string's basename to
name the local copy.
|
Protos.CommandInfo.URI.Builder |
setOutputFileBytes(com.google.protobuf.ByteString value)
The fetcher's default behavior is to use the URI string's basename to
name the local copy.
|
Protos.CommandInfo.URI.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.CommandInfo.URI.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.CommandInfo.URI.Builder |
setValue(java.lang.String value)
required string value = 1; |
Protos.CommandInfo.URI.Builder |
setValueBytes(com.google.protobuf.ByteString value)
required string value = 1; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.CommandInfo.URI.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.CommandInfo.URI getDefaultInstanceForType()
public Protos.CommandInfo.URI build()
public Protos.CommandInfo.URI buildPartial()
public Protos.CommandInfo.URI.Builder clone()
public Protos.CommandInfo.URI.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.CommandInfo.URI.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.CommandInfo.URI.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.CommandInfo.URI.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.CommandInfo.URI.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.CommandInfo.URI.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.CommandInfo.URI.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasValue()
required string value = 1;
hasValue
in interface Protos.CommandInfo.URIOrBuilder
public java.lang.String getValue()
required string value = 1;
getValue
in interface Protos.CommandInfo.URIOrBuilder
public com.google.protobuf.ByteString getValueBytes()
required string value = 1;
getValueBytes
in interface Protos.CommandInfo.URIOrBuilder
public Protos.CommandInfo.URI.Builder setValue(java.lang.String value)
required string value = 1;
public Protos.CommandInfo.URI.Builder clearValue()
required string value = 1;
public Protos.CommandInfo.URI.Builder setValueBytes(com.google.protobuf.ByteString value)
required string value = 1;
public boolean hasExecutable()
optional bool executable = 2;
hasExecutable
in interface Protos.CommandInfo.URIOrBuilder
public boolean getExecutable()
optional bool executable = 2;
getExecutable
in interface Protos.CommandInfo.URIOrBuilder
public Protos.CommandInfo.URI.Builder setExecutable(boolean value)
optional bool executable = 2;
public Protos.CommandInfo.URI.Builder clearExecutable()
optional bool executable = 2;
public 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];
hasExtract
in interface Protos.CommandInfo.URIOrBuilder
public 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];
getExtract
in interface Protos.CommandInfo.URIOrBuilder
public Protos.CommandInfo.URI.Builder setExtract(boolean value)
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];
public Protos.CommandInfo.URI.Builder clearExtract()
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];
public 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;
hasCache
in interface Protos.CommandInfo.URIOrBuilder
public 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;
getCache
in interface Protos.CommandInfo.URIOrBuilder
public Protos.CommandInfo.URI.Builder setCache(boolean value)
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;
public Protos.CommandInfo.URI.Builder clearCache()
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;
public 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;
hasOutputFile
in interface Protos.CommandInfo.URIOrBuilder
public 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;
getOutputFile
in interface Protos.CommandInfo.URIOrBuilder
public 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;
getOutputFileBytes
in interface Protos.CommandInfo.URIOrBuilder
public Protos.CommandInfo.URI.Builder setOutputFile(java.lang.String value)
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;
public Protos.CommandInfo.URI.Builder clearOutputFile()
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;
public Protos.CommandInfo.URI.Builder setOutputFileBytes(com.google.protobuf.ByteString value)
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;
public final Protos.CommandInfo.URI.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.CommandInfo.URI.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)