This project has retired. For details please refer to its Attic page.
Protos.CommandInfo.URI
JavaScript is disabled on your browser.
Skip navigation links
org.apache.mesos

Class Protos.CommandInfo.URI

    • Field Detail

      • EXECUTABLE_FIELD_NUMBER

        public static final int EXECUTABLE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • OUTPUT_FILE_FIELD_NUMBER

        public static final int OUTPUT_FILE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARSER

        @Deprecated
        public static final <any> PARSER
        Deprecated.
    • Method Detail

      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      • hasExtract

        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];
        Specified by:
        hasExtract in interface Protos.CommandInfo.URIOrBuilder
      • getExtract

        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];
        Specified by:
        getExtract in interface Protos.CommandInfo.URIOrBuilder
      • hasCache

        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;
        Specified by:
        hasCache in interface Protos.CommandInfo.URIOrBuilder
      • getCache

        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;
        Specified by:
        getCache in interface Protos.CommandInfo.URIOrBuilder
      • hasOutputFile

        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;
        Specified by:
        hasOutputFile in interface Protos.CommandInfo.URIOrBuilder
      • getOutputFile

        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;
        Specified by:
        getOutputFile in interface Protos.CommandInfo.URIOrBuilder
      • getOutputFileBytes

        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;
        Specified by:
        getOutputFileBytes in interface Protos.CommandInfo.URIOrBuilder
      • isInitialized

        public final boolean isInitialized()
      • writeTo

        public void writeTo(com.google.protobuf.CodedOutputStream output)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
      • equals

        public boolean equals(java.lang.Object obj)
      • hashCode

        public int hashCode()
      • parseFrom

        public static Protos.CommandInfo.URI parseFrom(java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.CommandInfo.URI parseFrom(java.nio.ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.CommandInfo.URI parseFrom(com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.CommandInfo.URI parseFrom(com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.CommandInfo.URI parseFrom(byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.CommandInfo.URI parseFrom(java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Protos.CommandInfo.URI parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Protos.CommandInfo.URI parseDelimitedFrom(java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Protos.CommandInfo.URI parseFrom(com.google.protobuf.CodedInputStream input)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Protos.CommandInfo.URI parseFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parser

        public static <any> parser()
      • getParserForType

        public <any> getParserForType()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /