public static final class Protos.CommandInfo.URI extends com.google.protobuf.GeneratedMessageV3 implements Protos.CommandInfo.URIOrBuilder
mesos.CommandInfo.URI
Modifier and Type | Class and Description |
---|---|
static class |
Protos.CommandInfo.URI.Builder
Protobuf type
mesos.CommandInfo.URI |
Modifier and Type | Field and Description |
---|---|
static int |
CACHE_FIELD_NUMBER |
static int |
EXECUTABLE_FIELD_NUMBER |
static int |
EXTRACT_FIELD_NUMBER |
static int |
OUTPUT_FILE_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
VALUE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
getCache()
If this field is "true", the fetcher cache will be used.
|
static Protos.CommandInfo.URI |
getDefaultInstance() |
Protos.CommandInfo.URI |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
<any> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
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() |
static Protos.CommandInfo.URI.Builder |
newBuilder() |
static Protos.CommandInfo.URI.Builder |
newBuilder(Protos.CommandInfo.URI prototype) |
Protos.CommandInfo.URI.Builder |
newBuilderForType() |
protected Protos.CommandInfo.URI.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.CommandInfo.URI |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.CommandInfo.URI |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.CommandInfo.URI |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.CommandInfo.URI |
parseFrom(java.nio.ByteBuffer data) |
static Protos.CommandInfo.URI |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.CommandInfo.URI |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.CommandInfo.URI |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.CommandInfo.URI |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.CommandInfo.URI |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.CommandInfo.URI |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.CommandInfo.URI.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int VALUE_FIELD_NUMBER
public static final int EXECUTABLE_FIELD_NUMBER
public static final int EXTRACT_FIELD_NUMBER
public static final int CACHE_FIELD_NUMBER
public static final int OUTPUT_FILE_FIELD_NUMBER
@Deprecated public static final <any> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
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 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 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 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 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 final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.CommandInfo.URI parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.CommandInfo.URI parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.CommandInfo.URI parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.CommandInfo.URI parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.CommandInfo.URI parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.CommandInfo.URI parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.CommandInfo.URI parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.CommandInfo.URI parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.CommandInfo.URI parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.CommandInfo.URI parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.CommandInfo.URI.Builder newBuilderForType()
public static Protos.CommandInfo.URI.Builder newBuilder()
public static Protos.CommandInfo.URI.Builder newBuilder(Protos.CommandInfo.URI prototype)
public Protos.CommandInfo.URI.Builder toBuilder()
protected Protos.CommandInfo.URI.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.CommandInfo.URI getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.CommandInfo.URI getDefaultInstanceForType()