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

Class Protos.Resource.DiskInfo

    • Field Detail

      • PERSISTENCE_FIELD_NUMBER

        public static final int PERSISTENCE_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()
      • hasVolume

        public boolean hasVolume()
         Describes how this disk resource will be mounted in the
         container. If not set, the disk resource will be used as the
         sandbox. Otherwise, it will be mounted according to the
         'container_path' inside 'volume'. The 'host_path' inside
         'volume' is ignored.
         NOTE: If 'volume' is set but 'persistence' is not set, the
         volume will be automatically garbage collected after
         task/executor terminates. Currently, if 'persistence' is set,
         'volume' must be set.
         
        optional .mesos.Volume volume = 2;
        Specified by:
        hasVolume in interface Protos.Resource.DiskInfoOrBuilder
      • getVolume

        public Protos.Volume getVolume()
         Describes how this disk resource will be mounted in the
         container. If not set, the disk resource will be used as the
         sandbox. Otherwise, it will be mounted according to the
         'container_path' inside 'volume'. The 'host_path' inside
         'volume' is ignored.
         NOTE: If 'volume' is set but 'persistence' is not set, the
         volume will be automatically garbage collected after
         task/executor terminates. Currently, if 'persistence' is set,
         'volume' must be set.
         
        optional .mesos.Volume volume = 2;
        Specified by:
        getVolume in interface Protos.Resource.DiskInfoOrBuilder
      • getVolumeOrBuilder

        public Protos.VolumeOrBuilder getVolumeOrBuilder()
         Describes how this disk resource will be mounted in the
         container. If not set, the disk resource will be used as the
         sandbox. Otherwise, it will be mounted according to the
         'container_path' inside 'volume'. The 'host_path' inside
         'volume' is ignored.
         NOTE: If 'volume' is set but 'persistence' is not set, the
         volume will be automatically garbage collected after
         task/executor terminates. Currently, if 'persistence' is set,
         'volume' must be set.
         
        optional .mesos.Volume volume = 2;
        Specified by:
        getVolumeOrBuilder in interface Protos.Resource.DiskInfoOrBuilder
      • 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.Resource.DiskInfo parseFrom(java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

        public static Protos.Resource.DiskInfo 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.Resource.DiskInfo parseFrom(byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

        public static Protos.Resource.DiskInfo 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 によって変換されたページ (->オリジナル) /