public static final class Protos.Labels.Builder extends <any> implements Protos.LabelsOrBuilder
Collection of labels. Labels should not contain duplicate key-value pairs.Protobuf type
mesos.Labels
Modifier and Type | Method and Description |
---|---|
Protos.Labels.Builder |
addAllLabels(java.lang.Iterable<? extends Protos.Label> values)
repeated .mesos.Label labels = 1; |
Protos.Labels.Builder |
addLabels(int index,
Protos.Label.Builder builderForValue)
repeated .mesos.Label labels = 1; |
Protos.Labels.Builder |
addLabels(int index,
Protos.Label value)
repeated .mesos.Label labels = 1; |
Protos.Labels.Builder |
addLabels(Protos.Label.Builder builderForValue)
repeated .mesos.Label labels = 1; |
Protos.Labels.Builder |
addLabels(Protos.Label value)
repeated .mesos.Label labels = 1; |
Protos.Label.Builder |
addLabelsBuilder()
repeated .mesos.Label labels = 1; |
Protos.Label.Builder |
addLabelsBuilder(int index)
repeated .mesos.Label labels = 1; |
Protos.Labels.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Labels |
build() |
Protos.Labels |
buildPartial() |
Protos.Labels.Builder |
clear() |
Protos.Labels.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Labels.Builder |
clearLabels()
repeated .mesos.Label labels = 1; |
Protos.Labels.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Labels.Builder |
clone() |
Protos.Labels |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.Label |
getLabels(int index)
repeated .mesos.Label labels = 1; |
Protos.Label.Builder |
getLabelsBuilder(int index)
repeated .mesos.Label labels = 1; |
java.util.List<Protos.Label.Builder> |
getLabelsBuilderList()
repeated .mesos.Label labels = 1; |
int |
getLabelsCount()
repeated .mesos.Label labels = 1; |
java.util.List<Protos.Label> |
getLabelsList()
repeated .mesos.Label labels = 1; |
Protos.LabelOrBuilder |
getLabelsOrBuilder(int index)
repeated .mesos.Label labels = 1; |
java.util.List<? extends Protos.LabelOrBuilder> |
getLabelsOrBuilderList()
repeated .mesos.Label labels = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Labels.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Labels.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Labels.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Labels.Builder |
removeLabels(int index)
repeated .mesos.Label labels = 1; |
Protos.Labels.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Labels.Builder |
setLabels(int index,
Protos.Label.Builder builderForValue)
repeated .mesos.Label labels = 1; |
Protos.Labels.Builder |
setLabels(int index,
Protos.Label value)
repeated .mesos.Label labels = 1; |
Protos.Labels.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Labels.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.Labels.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Labels getDefaultInstanceForType()
public Protos.Labels build()
public Protos.Labels buildPartial()
public Protos.Labels.Builder clone()
public Protos.Labels.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Labels.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Labels.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Labels.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Labels.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Labels.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Labels.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public java.util.List<Protos.Label> getLabelsList()
repeated .mesos.Label labels = 1;
getLabelsList
in interface Protos.LabelsOrBuilder
public int getLabelsCount()
repeated .mesos.Label labels = 1;
getLabelsCount
in interface Protos.LabelsOrBuilder
public Protos.Label getLabels(int index)
repeated .mesos.Label labels = 1;
getLabels
in interface Protos.LabelsOrBuilder
public Protos.Labels.Builder setLabels(int index, Protos.Label value)
repeated .mesos.Label labels = 1;
public Protos.Labels.Builder setLabels(int index, Protos.Label.Builder builderForValue)
repeated .mesos.Label labels = 1;
public Protos.Labels.Builder addLabels(Protos.Label value)
repeated .mesos.Label labels = 1;
public Protos.Labels.Builder addLabels(int index, Protos.Label value)
repeated .mesos.Label labels = 1;
public Protos.Labels.Builder addLabels(Protos.Label.Builder builderForValue)
repeated .mesos.Label labels = 1;
public Protos.Labels.Builder addLabels(int index, Protos.Label.Builder builderForValue)
repeated .mesos.Label labels = 1;
public Protos.Labels.Builder addAllLabels(java.lang.Iterable<? extends Protos.Label> values)
repeated .mesos.Label labels = 1;
public Protos.Labels.Builder clearLabels()
repeated .mesos.Label labels = 1;
public Protos.Labels.Builder removeLabels(int index)
repeated .mesos.Label labels = 1;
public Protos.Label.Builder getLabelsBuilder(int index)
repeated .mesos.Label labels = 1;
public Protos.LabelOrBuilder getLabelsOrBuilder(int index)
repeated .mesos.Label labels = 1;
getLabelsOrBuilder
in interface Protos.LabelsOrBuilder
public java.util.List<? extends Protos.LabelOrBuilder> getLabelsOrBuilderList()
repeated .mesos.Label labels = 1;
getLabelsOrBuilderList
in interface Protos.LabelsOrBuilder
public Protos.Label.Builder addLabelsBuilder()
repeated .mesos.Label labels = 1;
public Protos.Label.Builder addLabelsBuilder(int index)
repeated .mesos.Label labels = 1;
public java.util.List<Protos.Label.Builder> getLabelsBuilderList()
repeated .mesos.Label labels = 1;
public final Protos.Labels.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Labels.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)