public static final class Protos.CapabilityInfo.Builder extends <any> implements Protos.CapabilityInfoOrBuilder
Encapsulation of `Capabilities` supported by Linux. Reference: http://linux.die.net/man/7/capabilities.Protobuf type
mesos.CapabilityInfo
Modifier and Type | Method and Description |
---|---|
Protos.CapabilityInfo.Builder |
addAllCapabilities(java.lang.Iterable<? extends Protos.CapabilityInfo.Capability> values)
repeated .mesos.CapabilityInfo.Capability capabilities = 1; |
Protos.CapabilityInfo.Builder |
addCapabilities(Protos.CapabilityInfo.Capability value)
repeated .mesos.CapabilityInfo.Capability capabilities = 1; |
Protos.CapabilityInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.CapabilityInfo |
build() |
Protos.CapabilityInfo |
buildPartial() |
Protos.CapabilityInfo.Builder |
clear() |
Protos.CapabilityInfo.Builder |
clearCapabilities()
repeated .mesos.CapabilityInfo.Capability capabilities = 1; |
Protos.CapabilityInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.CapabilityInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.CapabilityInfo.Builder |
clone() |
Protos.CapabilityInfo.Capability |
getCapabilities(int index)
repeated .mesos.CapabilityInfo.Capability capabilities = 1; |
int |
getCapabilitiesCount()
repeated .mesos.CapabilityInfo.Capability capabilities = 1; |
java.util.List<Protos.CapabilityInfo.Capability> |
getCapabilitiesList()
repeated .mesos.CapabilityInfo.Capability capabilities = 1; |
Protos.CapabilityInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.CapabilityInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.CapabilityInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.CapabilityInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.CapabilityInfo.Builder |
setCapabilities(int index,
Protos.CapabilityInfo.Capability value)
repeated .mesos.CapabilityInfo.Capability capabilities = 1; |
Protos.CapabilityInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.CapabilityInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.CapabilityInfo.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.CapabilityInfo.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.CapabilityInfo getDefaultInstanceForType()
public Protos.CapabilityInfo build()
public Protos.CapabilityInfo buildPartial()
public Protos.CapabilityInfo.Builder clone()
public Protos.CapabilityInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.CapabilityInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.CapabilityInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.CapabilityInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.CapabilityInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.CapabilityInfo.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.CapabilityInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public java.util.List<Protos.CapabilityInfo.Capability> getCapabilitiesList()
repeated .mesos.CapabilityInfo.Capability capabilities = 1;
getCapabilitiesList
in interface Protos.CapabilityInfoOrBuilder
public int getCapabilitiesCount()
repeated .mesos.CapabilityInfo.Capability capabilities = 1;
getCapabilitiesCount
in interface Protos.CapabilityInfoOrBuilder
public Protos.CapabilityInfo.Capability getCapabilities(int index)
repeated .mesos.CapabilityInfo.Capability capabilities = 1;
getCapabilities
in interface Protos.CapabilityInfoOrBuilder
public Protos.CapabilityInfo.Builder setCapabilities(int index, Protos.CapabilityInfo.Capability value)
repeated .mesos.CapabilityInfo.Capability capabilities = 1;
public Protos.CapabilityInfo.Builder addCapabilities(Protos.CapabilityInfo.Capability value)
repeated .mesos.CapabilityInfo.Capability capabilities = 1;
public Protos.CapabilityInfo.Builder addAllCapabilities(java.lang.Iterable<? extends Protos.CapabilityInfo.Capability> values)
repeated .mesos.CapabilityInfo.Capability capabilities = 1;
public Protos.CapabilityInfo.Builder clearCapabilities()
repeated .mesos.CapabilityInfo.Capability capabilities = 1;
public final Protos.CapabilityInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.CapabilityInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)