public static final class Protos.CommandInfo.URI.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protos.CommandInfo.URI.Builder> implements Protos.CommandInfo.URIOrBuilder
mesos.v1.CommandInfo.URI
Modifier and Type | Method and Description |
---|---|
Protos.CommandInfo.URI |
build() |
Protos.CommandInfo.URI |
buildPartial() |
Protos.CommandInfo.URI.Builder |
clear() |
Protos.CommandInfo.URI.Builder |
clearCache()
optional bool cache = 4; |
Protos.CommandInfo.URI.Builder |
clearExecutable()
optional bool executable = 2; |
Protos.CommandInfo.URI.Builder |
clearExtract()
optional bool extract = 3 [default = true]; |
Protos.CommandInfo.URI.Builder |
clearOutputFile()
optional string output_file = 5; |
Protos.CommandInfo.URI.Builder |
clearValue()
required string value = 1; |
Protos.CommandInfo.URI.Builder |
clone() |
boolean |
getCache()
optional bool cache = 4; |
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()
optional bool extract = 3 [default = true]; |
String |
getOutputFile()
optional string output_file = 5; |
com.google.protobuf.ByteString |
getOutputFileBytes()
optional string output_file = 5; |
String |
getValue()
required string value = 1; |
com.google.protobuf.ByteString |
getValueBytes()
required string value = 1; |
boolean |
hasCache()
optional bool cache = 4; |
boolean |
hasExecutable()
optional bool executable = 2; |
boolean |
hasExtract()
optional bool extract = 3 [default = true]; |
boolean |
hasOutputFile()
optional string output_file = 5; |
boolean |
hasValue()
required string value = 1; |
protected com.google.protobuf.GeneratedMessage.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 |
mergeFrom(Protos.CommandInfo.URI other) |
Protos.CommandInfo.URI.Builder |
setCache(boolean value)
optional bool cache = 4; |
Protos.CommandInfo.URI.Builder |
setExecutable(boolean value)
optional bool executable = 2; |
Protos.CommandInfo.URI.Builder |
setExtract(boolean value)
optional bool extract = 3 [default = true]; |
Protos.CommandInfo.URI.Builder |
setOutputFile(String value)
optional string output_file = 5; |
Protos.CommandInfo.URI.Builder |
setOutputFileBytes(com.google.protobuf.ByteString value)
optional string output_file = 5; |
Protos.CommandInfo.URI.Builder |
setValue(String value)
required string value = 1; |
Protos.CommandInfo.URI.Builder |
setValueBytes(com.google.protobuf.ByteString value)
required string value = 1; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<Protos.CommandInfo.URI.Builder>
public Protos.CommandInfo.URI.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Protos.CommandInfo.URI.Builder>
public Protos.CommandInfo.URI.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<Protos.CommandInfo.URI.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<Protos.CommandInfo.URI.Builder>
public Protos.CommandInfo.URI getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.CommandInfo.URI build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.CommandInfo.URI buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.CommandInfo.URI.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.CommandInfo.URI.Builder>
public Protos.CommandInfo.URI.Builder mergeFrom(Protos.CommandInfo.URI other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Protos.CommandInfo.URI.Builder>
public Protos.CommandInfo.URI.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.CommandInfo.URI.Builder>
IOException
public boolean hasValue()
required string value = 1;
hasValue
in interface Protos.CommandInfo.URIOrBuilder
public 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(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()
optional bool extract = 3 [default = true];
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.
hasExtract
in interface Protos.CommandInfo.URIOrBuilder
public boolean getExtract()
optional bool extract = 3 [default = true];
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.
getExtract
in interface Protos.CommandInfo.URIOrBuilder
public Protos.CommandInfo.URI.Builder setExtract(boolean value)
optional bool extract = 3 [default = true];
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.
public Protos.CommandInfo.URI.Builder clearExtract()
optional bool extract = 3 [default = true];
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.
public boolean hasCache()
optional bool cache = 4;
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".
hasCache
in interface Protos.CommandInfo.URIOrBuilder
public boolean getCache()
optional bool cache = 4;
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".
getCache
in interface Protos.CommandInfo.URIOrBuilder
public Protos.CommandInfo.URI.Builder setCache(boolean value)
optional bool cache = 4;
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".
public Protos.CommandInfo.URI.Builder clearCache()
optional bool cache = 4;
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".
public boolean hasOutputFile()
optional string output_file = 5;
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.
hasOutputFile
in interface Protos.CommandInfo.URIOrBuilder
public String getOutputFile()
optional string output_file = 5;
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.
getOutputFile
in interface Protos.CommandInfo.URIOrBuilder
public com.google.protobuf.ByteString getOutputFileBytes()
optional string output_file = 5;
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.
getOutputFileBytes
in interface Protos.CommandInfo.URIOrBuilder
public Protos.CommandInfo.URI.Builder setOutputFile(String value)
optional string output_file = 5;
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.
public Protos.CommandInfo.URI.Builder clearOutputFile()
optional string output_file = 5;
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.
public Protos.CommandInfo.URI.Builder setOutputFileBytes(com.google.protobuf.ByteString value)
optional string output_file = 5;
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.
Copyright © 2017 The Apache Software Foundation. All Rights Reserved.