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.Range
Protobuf type
mesos.Value.Range |
static interface |
Protos.Value.RangeOrBuilder |
static class |
Protos.Value.Ranges
Protobuf type
mesos.Value.Ranges |
static interface |
Protos.Value.RangesOrBuilder |
static class |
Protos.Value.Scalar
Protobuf type
mesos.Value.Scalar |
static interface |
Protos.Value.ScalarOrBuilder |
static class |
Protos.Value.Set
Protobuf type
mesos.Value.Set |
static interface |
Protos.Value.SetOrBuilder |
static class |
Protos.Value.Text
Protobuf type
mesos.Value.Text |
static interface |
Protos.Value.TextOrBuilder |
static class |
Protos.Value.Type
Protobuf enum
mesos.Value.Type |
Modifier and Type | Field and Description |
---|---|
static <any> |
PARSER
Deprecated.
|
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.ValueOrBuilder
public Protos.Value.Type getType()
required .mesos.Value.Type type = 1;
getType
in interface Protos.ValueOrBuilder
public boolean hasScalar()
optional .mesos.Value.Scalar scalar = 2;
hasScalar
in interface Protos.ValueOrBuilder
public Protos.Value.Scalar getScalar()
optional .mesos.Value.Scalar scalar = 2;
getScalar
in interface Protos.ValueOrBuilder
public Protos.Value.ScalarOrBuilder getScalarOrBuilder()
optional .mesos.Value.Scalar scalar = 2;
getScalarOrBuilder
in interface Protos.ValueOrBuilder
public boolean hasRanges()
optional .mesos.Value.Ranges ranges = 3;
hasRanges
in interface Protos.ValueOrBuilder
public Protos.Value.Ranges getRanges()
optional .mesos.Value.Ranges ranges = 3;
getRanges
in interface Protos.ValueOrBuilder
public Protos.Value.RangesOrBuilder getRangesOrBuilder()
optional .mesos.Value.Ranges ranges = 3;
getRangesOrBuilder
in interface Protos.ValueOrBuilder
public boolean hasSet()
optional .mesos.Value.Set set = 4;
hasSet
in interface Protos.ValueOrBuilder
public Protos.Value.Set getSet()
optional .mesos.Value.Set set = 4;
getSet
in interface Protos.ValueOrBuilder
public Protos.Value.SetOrBuilder getSetOrBuilder()
optional .mesos.Value.Set set = 4;
getSetOrBuilder
in interface Protos.ValueOrBuilder
public boolean hasText()
optional .mesos.Value.Text text = 5;
hasText
in interface Protos.ValueOrBuilder
public Protos.Value.Text getText()
optional .mesos.Value.Text text = 5;
getText
in interface Protos.ValueOrBuilder
public Protos.Value.TextOrBuilder getTextOrBuilder()
optional .mesos.Value.Text text = 5;
getTextOrBuilder
in interface Protos.ValueOrBuilder
public final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public 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.InvalidProtocolBufferException
public static Protos.Value parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Value parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Value parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Value parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Value parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Value parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Value parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Value parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Value parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public 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()