public static final class Protos.Value.Builder extends <any> 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 | Method and Description |
---|---|
Protos.Value.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Value |
build() |
Protos.Value |
buildPartial() |
Protos.Value.Builder |
clear() |
Protos.Value.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Value.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Value.Builder |
clearRanges()
optional .mesos.Value.Ranges ranges = 3; |
Protos.Value.Builder |
clearScalar()
optional .mesos.Value.Scalar scalar = 2; |
Protos.Value.Builder |
clearSet()
optional .mesos.Value.Set set = 4; |
Protos.Value.Builder |
clearText()
optional .mesos.Value.Text text = 5; |
Protos.Value.Builder |
clearType()
required .mesos.Value.Type type = 1; |
Protos.Value.Builder |
clone() |
Protos.Value |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.Value.Ranges |
getRanges()
optional .mesos.Value.Ranges ranges = 3; |
Protos.Value.Ranges.Builder |
getRangesBuilder()
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.Scalar.Builder |
getScalarBuilder()
optional .mesos.Value.Scalar scalar = 2; |
Protos.Value.ScalarOrBuilder |
getScalarOrBuilder()
optional .mesos.Value.Scalar scalar = 2; |
Protos.Value.Set |
getSet()
optional .mesos.Value.Set set = 4; |
Protos.Value.Set.Builder |
getSetBuilder()
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.Text.Builder |
getTextBuilder()
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; |
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() |
Protos.Value.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Value.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Value.Builder |
mergeRanges(Protos.Value.Ranges value)
optional .mesos.Value.Ranges ranges = 3; |
Protos.Value.Builder |
mergeScalar(Protos.Value.Scalar value)
optional .mesos.Value.Scalar scalar = 2; |
Protos.Value.Builder |
mergeSet(Protos.Value.Set value)
optional .mesos.Value.Set set = 4; |
Protos.Value.Builder |
mergeText(Protos.Value.Text value)
optional .mesos.Value.Text text = 5; |
Protos.Value.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Value.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Value.Builder |
setRanges(Protos.Value.Ranges.Builder builderForValue)
optional .mesos.Value.Ranges ranges = 3; |
Protos.Value.Builder |
setRanges(Protos.Value.Ranges value)
optional .mesos.Value.Ranges ranges = 3; |
Protos.Value.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Value.Builder |
setScalar(Protos.Value.Scalar.Builder builderForValue)
optional .mesos.Value.Scalar scalar = 2; |
Protos.Value.Builder |
setScalar(Protos.Value.Scalar value)
optional .mesos.Value.Scalar scalar = 2; |
Protos.Value.Builder |
setSet(Protos.Value.Set.Builder builderForValue)
optional .mesos.Value.Set set = 4; |
Protos.Value.Builder |
setSet(Protos.Value.Set value)
optional .mesos.Value.Set set = 4; |
Protos.Value.Builder |
setText(Protos.Value.Text.Builder builderForValue)
optional .mesos.Value.Text text = 5; |
Protos.Value.Builder |
setText(Protos.Value.Text value)
optional .mesos.Value.Text text = 5; |
Protos.Value.Builder |
setType(Protos.Value.Type value)
required .mesos.Value.Type type = 1; |
Protos.Value.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.Value.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Value getDefaultInstanceForType()
public Protos.Value build()
public Protos.Value buildPartial()
public Protos.Value.Builder clone()
public Protos.Value.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Value.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Value.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Value.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Value.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Value.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Value.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
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 Protos.Value.Builder setType(Protos.Value.Type value)
required .mesos.Value.Type type = 1;
public Protos.Value.Builder clearType()
required .mesos.Value.Type type = 1;
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.Builder setScalar(Protos.Value.Scalar value)
optional .mesos.Value.Scalar scalar = 2;
public Protos.Value.Builder setScalar(Protos.Value.Scalar.Builder builderForValue)
optional .mesos.Value.Scalar scalar = 2;
public Protos.Value.Builder mergeScalar(Protos.Value.Scalar value)
optional .mesos.Value.Scalar scalar = 2;
public Protos.Value.Builder clearScalar()
optional .mesos.Value.Scalar scalar = 2;
public Protos.Value.Scalar.Builder getScalarBuilder()
optional .mesos.Value.Scalar scalar = 2;
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.Builder setRanges(Protos.Value.Ranges value)
optional .mesos.Value.Ranges ranges = 3;
public Protos.Value.Builder setRanges(Protos.Value.Ranges.Builder builderForValue)
optional .mesos.Value.Ranges ranges = 3;
public Protos.Value.Builder mergeRanges(Protos.Value.Ranges value)
optional .mesos.Value.Ranges ranges = 3;
public Protos.Value.Builder clearRanges()
optional .mesos.Value.Ranges ranges = 3;
public Protos.Value.Ranges.Builder getRangesBuilder()
optional .mesos.Value.Ranges ranges = 3;
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.Builder setSet(Protos.Value.Set value)
optional .mesos.Value.Set set = 4;
public Protos.Value.Builder setSet(Protos.Value.Set.Builder builderForValue)
optional .mesos.Value.Set set = 4;
public Protos.Value.Builder mergeSet(Protos.Value.Set value)
optional .mesos.Value.Set set = 4;
public Protos.Value.Builder clearSet()
optional .mesos.Value.Set set = 4;
public Protos.Value.Set.Builder getSetBuilder()
optional .mesos.Value.Set set = 4;
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.Builder setText(Protos.Value.Text value)
optional .mesos.Value.Text text = 5;
public Protos.Value.Builder setText(Protos.Value.Text.Builder builderForValue)
optional .mesos.Value.Text text = 5;
public Protos.Value.Builder mergeText(Protos.Value.Text value)
optional .mesos.Value.Text text = 5;
public Protos.Value.Builder clearText()
optional .mesos.Value.Text text = 5;
public Protos.Value.Text.Builder getTextBuilder()
optional .mesos.Value.Text text = 5;
public Protos.Value.TextOrBuilder getTextOrBuilder()
optional .mesos.Value.Text text = 5;
getTextOrBuilder
in interface Protos.ValueOrBuilder
public final Protos.Value.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Value.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)