public static final class Protos.DeviceAccess.Builder extends <any> implements Protos.DeviceAccessOrBuilder
Describes a device whitelist entry that expose from host to container.Protobuf type
mesos.DeviceAccess
Modifier and Type | Method and Description |
---|---|
Protos.DeviceAccess.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.DeviceAccess |
build() |
Protos.DeviceAccess |
buildPartial() |
Protos.DeviceAccess.Builder |
clear() |
Protos.DeviceAccess.Builder |
clearAccess()
required .mesos.DeviceAccess.Access access = 2; |
Protos.DeviceAccess.Builder |
clearDevice()
required .mesos.Device device = 1; |
Protos.DeviceAccess.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.DeviceAccess.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.DeviceAccess.Builder |
clone() |
Protos.DeviceAccess.Access |
getAccess()
required .mesos.DeviceAccess.Access access = 2; |
Protos.DeviceAccess.Access.Builder |
getAccessBuilder()
required .mesos.DeviceAccess.Access access = 2; |
Protos.DeviceAccess.AccessOrBuilder |
getAccessOrBuilder()
required .mesos.DeviceAccess.Access access = 2; |
Protos.DeviceAccess |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.Device |
getDevice()
required .mesos.Device device = 1; |
Protos.Device.Builder |
getDeviceBuilder()
required .mesos.Device device = 1; |
Protos.DeviceOrBuilder |
getDeviceOrBuilder()
required .mesos.Device device = 1; |
boolean |
hasAccess()
required .mesos.DeviceAccess.Access access = 2; |
boolean |
hasDevice()
required .mesos.Device device = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.DeviceAccess.Builder |
mergeAccess(Protos.DeviceAccess.Access value)
required .mesos.DeviceAccess.Access access = 2; |
Protos.DeviceAccess.Builder |
mergeDevice(Protos.Device value)
required .mesos.Device device = 1; |
Protos.DeviceAccess.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.DeviceAccess.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.DeviceAccess.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.DeviceAccess.Builder |
setAccess(Protos.DeviceAccess.Access.Builder builderForValue)
required .mesos.DeviceAccess.Access access = 2; |
Protos.DeviceAccess.Builder |
setAccess(Protos.DeviceAccess.Access value)
required .mesos.DeviceAccess.Access access = 2; |
Protos.DeviceAccess.Builder |
setDevice(Protos.Device.Builder builderForValue)
required .mesos.Device device = 1; |
Protos.DeviceAccess.Builder |
setDevice(Protos.Device value)
required .mesos.Device device = 1; |
Protos.DeviceAccess.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.DeviceAccess.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.DeviceAccess.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.DeviceAccess.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.DeviceAccess getDefaultInstanceForType()
public Protos.DeviceAccess build()
public Protos.DeviceAccess buildPartial()
public Protos.DeviceAccess.Builder clone()
public Protos.DeviceAccess.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.DeviceAccess.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.DeviceAccess.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.DeviceAccess.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.DeviceAccess.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.DeviceAccess.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.DeviceAccess.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasDevice()
required .mesos.Device device = 1;
hasDevice
in interface Protos.DeviceAccessOrBuilder
public Protos.Device getDevice()
required .mesos.Device device = 1;
getDevice
in interface Protos.DeviceAccessOrBuilder
public Protos.DeviceAccess.Builder setDevice(Protos.Device value)
required .mesos.Device device = 1;
public Protos.DeviceAccess.Builder setDevice(Protos.Device.Builder builderForValue)
required .mesos.Device device = 1;
public Protos.DeviceAccess.Builder mergeDevice(Protos.Device value)
required .mesos.Device device = 1;
public Protos.DeviceAccess.Builder clearDevice()
required .mesos.Device device = 1;
public Protos.Device.Builder getDeviceBuilder()
required .mesos.Device device = 1;
public Protos.DeviceOrBuilder getDeviceOrBuilder()
required .mesos.Device device = 1;
getDeviceOrBuilder
in interface Protos.DeviceAccessOrBuilder
public boolean hasAccess()
required .mesos.DeviceAccess.Access access = 2;
hasAccess
in interface Protos.DeviceAccessOrBuilder
public Protos.DeviceAccess.Access getAccess()
required .mesos.DeviceAccess.Access access = 2;
getAccess
in interface Protos.DeviceAccessOrBuilder
public Protos.DeviceAccess.Builder setAccess(Protos.DeviceAccess.Access value)
required .mesos.DeviceAccess.Access access = 2;
public Protos.DeviceAccess.Builder setAccess(Protos.DeviceAccess.Access.Builder builderForValue)
required .mesos.DeviceAccess.Access access = 2;
public Protos.DeviceAccess.Builder mergeAccess(Protos.DeviceAccess.Access value)
required .mesos.DeviceAccess.Access access = 2;
public Protos.DeviceAccess.Builder clearAccess()
required .mesos.DeviceAccess.Access access = 2;
public Protos.DeviceAccess.Access.Builder getAccessBuilder()
required .mesos.DeviceAccess.Access access = 2;
public Protos.DeviceAccess.AccessOrBuilder getAccessOrBuilder()
required .mesos.DeviceAccess.Access access = 2;
getAccessOrBuilder
in interface Protos.DeviceAccessOrBuilder
public final Protos.DeviceAccess.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.DeviceAccess.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)