public static final class Protos.Value extends com.google.protobuf.GeneratedMessageV3 implements Protos.ValueOrBuilder
Describes an Attribute or Resource "value". A value is described using the standard protocol buffer "union" trick.Protobuf type
mesos.Value| Modifier and Type | Class and Description | 
|---|---|
| static class  | Protos.Value.Builder
 Describes an Attribute or Resource "value". | 
| static class  | Protos.Value.RangeProtobuf type  mesos.Value.Range | 
| static interface  | Protos.Value.RangeOrBuilder | 
| static class  | Protos.Value.RangesProtobuf type  mesos.Value.Ranges | 
| static interface  | Protos.Value.RangesOrBuilder | 
| static class  | Protos.Value.ScalarProtobuf type  mesos.Value.Scalar | 
| static interface  | Protos.Value.ScalarOrBuilder | 
| static class  | Protos.Value.SetProtobuf type  mesos.Value.Set | 
| static interface  | Protos.Value.SetOrBuilder | 
| static class  | Protos.Value.TextProtobuf type  mesos.Value.Text | 
| static interface  | Protos.Value.TextOrBuilder | 
| static class  | Protos.Value.TypeProtobuf enum  mesos.Value.Type | 
| Modifier and Type | Field and Description | 
|---|---|
| static <any> | PARSERDeprecated.  | 
| static int | RANGES_FIELD_NUMBER | 
| static int | SCALAR_FIELD_NUMBER | 
| static int | SET_FIELD_NUMBER | 
| static int | TEXT_FIELD_NUMBER | 
| static int | TYPE_FIELD_NUMBER | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| static Protos.Value | getDefaultInstance() | 
| Protos.Value | getDefaultInstanceForType() | 
| static com.google.protobuf.Descriptors.Descriptor | getDescriptor() | 
| <any> | getParserForType() | 
| Protos.Value.Ranges | getRanges()optional .mesos.Value.Ranges ranges = 3; | 
| Protos.Value.RangesOrBuilder | getRangesOrBuilder()optional .mesos.Value.Ranges ranges = 3; | 
| Protos.Value.Scalar | getScalar()optional .mesos.Value.Scalar scalar = 2; | 
| Protos.Value.ScalarOrBuilder | getScalarOrBuilder()optional .mesos.Value.Scalar scalar = 2; | 
| int | getSerializedSize() | 
| Protos.Value.Set | getSet()optional .mesos.Value.Set set = 4; | 
| Protos.Value.SetOrBuilder | getSetOrBuilder()optional .mesos.Value.Set set = 4; | 
| Protos.Value.Text | getText()optional .mesos.Value.Text text = 5; | 
| Protos.Value.TextOrBuilder | getTextOrBuilder()optional .mesos.Value.Text text = 5; | 
| Protos.Value.Type | getType()required .mesos.Value.Type type = 1; | 
| com.google.protobuf.UnknownFieldSet | getUnknownFields() | 
| int | hashCode() | 
| boolean | hasRanges()optional .mesos.Value.Ranges ranges = 3; | 
| boolean | hasScalar()optional .mesos.Value.Scalar scalar = 2; | 
| boolean | hasSet()optional .mesos.Value.Set set = 4; | 
| boolean | hasText()optional .mesos.Value.Text text = 5; | 
| boolean | hasType()required .mesos.Value.Type type = 1; | 
| protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable() | 
| boolean | isInitialized() | 
| static Protos.Value.Builder | newBuilder() | 
| static Protos.Value.Builder | newBuilder(Protos.Value prototype) | 
| Protos.Value.Builder | newBuilderForType() | 
| protected Protos.Value.Builder | newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) | 
| static Protos.Value | parseDelimitedFrom(java.io.InputStream input) | 
| static Protos.Value | parseDelimitedFrom(java.io.InputStream input,
                  com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| static Protos.Value | parseFrom(byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| static Protos.Value | parseFrom(java.nio.ByteBuffer data) | 
| static Protos.Value | parseFrom(java.nio.ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| static Protos.Value | parseFrom(com.google.protobuf.ByteString data) | 
| static Protos.Value | parseFrom(com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| static Protos.Value | parseFrom(com.google.protobuf.CodedInputStream input) | 
| static Protos.Value | parseFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| static Protos.Value | parseFrom(java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| static <any> | parser() | 
| Protos.Value.Builder | toBuilder() | 
| void | writeTo(com.google.protobuf.CodedOutputStream output) | 
public static final int TYPE_FIELD_NUMBER
public static final int SCALAR_FIELD_NUMBER
public static final int RANGES_FIELD_NUMBER
public static final int SET_FIELD_NUMBER
public static final int TEXT_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 hasType()
required .mesos.Value.Type type = 1;hasType in interface Protos.ValueOrBuilderpublic Protos.Value.Type getType()
required .mesos.Value.Type type = 1;getType in interface Protos.ValueOrBuilderpublic boolean hasScalar()
optional .mesos.Value.Scalar scalar = 2;hasScalar in interface Protos.ValueOrBuilderpublic Protos.Value.Scalar getScalar()
optional .mesos.Value.Scalar scalar = 2;getScalar in interface Protos.ValueOrBuilderpublic Protos.Value.ScalarOrBuilder getScalarOrBuilder()
optional .mesos.Value.Scalar scalar = 2;getScalarOrBuilder in interface Protos.ValueOrBuilderpublic boolean hasRanges()
optional .mesos.Value.Ranges ranges = 3;hasRanges in interface Protos.ValueOrBuilderpublic Protos.Value.Ranges getRanges()
optional .mesos.Value.Ranges ranges = 3;getRanges in interface Protos.ValueOrBuilderpublic Protos.Value.RangesOrBuilder getRangesOrBuilder()
optional .mesos.Value.Ranges ranges = 3;getRangesOrBuilder in interface Protos.ValueOrBuilderpublic boolean hasSet()
optional .mesos.Value.Set set = 4;hasSet in interface Protos.ValueOrBuilderpublic Protos.Value.Set getSet()
optional .mesos.Value.Set set = 4;getSet in interface Protos.ValueOrBuilderpublic Protos.Value.SetOrBuilder getSetOrBuilder()
optional .mesos.Value.Set set = 4;getSetOrBuilder in interface Protos.ValueOrBuilderpublic boolean hasText()
optional .mesos.Value.Text text = 5;hasText in interface Protos.ValueOrBuilderpublic Protos.Value.Text getText()
optional .mesos.Value.Text text = 5;getText in interface Protos.ValueOrBuilderpublic Protos.Value.TextOrBuilder getTextOrBuilder()
optional .mesos.Value.Text text = 5;getTextOrBuilder in interface Protos.ValueOrBuilderpublic final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws java.io.IOException
java.io.IOExceptionpublic int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.Value parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Value parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Value parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Value parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Value parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Value parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Value parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Value parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Value parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Value parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Protos.Value.Builder newBuilderForType()
public static Protos.Value.Builder newBuilder()
public static Protos.Value.Builder newBuilder(Protos.Value prototype)
public Protos.Value.Builder toBuilder()
protected Protos.Value.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Value getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Value getDefaultInstanceForType()