This project has retired. For details please refer to its Attic page.
Protos.Value.Scalar.Builder
JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
org.apache.mesos

Class Protos.Value.Scalar.Builder

    • Method Detail

      • getDescriptor

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

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

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      • setRepeatedField

        public Protos.Value.Scalar.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
         int index,
         java.lang.Object value)
      • addRepeatedField

        public Protos.Value.Scalar.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
         java.lang.Object value)
      • isInitialized

        public final boolean isInitialized()
      • mergeFrom

        public Protos.Value.Scalar.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • hasValue

        public boolean hasValue()
         Scalar values are represented using floating point. To reduce
         the chance of unpredictable floating point behavior due to
         roundoff error, Mesos only supports three decimal digits of
         precision for scalar resource values. That is, floating point
         values are converted to a fixed point format that supports
         three decimal digits of precision, and then converted back to
         floating point on output. Any additional precision in scalar
         resource values is discarded (via rounding).
         
        required double value = 1;
        Specified by:
        hasValue in interface Protos.Value.ScalarOrBuilder
      • getValue

        public double getValue()
         Scalar values are represented using floating point. To reduce
         the chance of unpredictable floating point behavior due to
         roundoff error, Mesos only supports three decimal digits of
         precision for scalar resource values. That is, floating point
         values are converted to a fixed point format that supports
         three decimal digits of precision, and then converted back to
         floating point on output. Any additional precision in scalar
         resource values is discarded (via rounding).
         
        required double value = 1;
        Specified by:
        getValue in interface Protos.Value.ScalarOrBuilder
      • setValue

        public Protos.Value.Scalar.Builder setValue(double value)
         Scalar values are represented using floating point. To reduce
         the chance of unpredictable floating point behavior due to
         roundoff error, Mesos only supports three decimal digits of
         precision for scalar resource values. That is, floating point
         values are converted to a fixed point format that supports
         three decimal digits of precision, and then converted back to
         floating point on output. Any additional precision in scalar
         resource values is discarded (via rounding).
         
        required double value = 1;
      • clearValue

        public Protos.Value.Scalar.Builder clearValue()
         Scalar values are represented using floating point. To reduce
         the chance of unpredictable floating point behavior due to
         roundoff error, Mesos only supports three decimal digits of
         precision for scalar resource values. That is, floating point
         values are converted to a fixed point format that supports
         three decimal digits of precision, and then converted back to
         floating point on output. Any additional precision in scalar
         resource values is discarded (via rounding).
         
        required double value = 1;
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

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