public static final class Protos.DeviceAccess extends com.google.protobuf.GeneratedMessageV3 implements Protos.DeviceAccessOrBuilder
Describes a device whitelist entry that expose from host to container.Protobuf type
mesos.DeviceAccess
Modifier and Type | Class and Description |
---|---|
static class |
Protos.DeviceAccess.Access
Protobuf type
mesos.DeviceAccess.Access |
static interface |
Protos.DeviceAccess.AccessOrBuilder |
static class |
Protos.DeviceAccess.Builder
Describes a device whitelist entry that expose from host to container.
|
Modifier and Type | Field and Description |
---|---|
static int |
ACCESS_FIELD_NUMBER |
static int |
DEVICE_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Protos.DeviceAccess.Access |
getAccess()
required .mesos.DeviceAccess.Access access = 2; |
Protos.DeviceAccess.AccessOrBuilder |
getAccessOrBuilder()
required .mesos.DeviceAccess.Access access = 2; |
static Protos.DeviceAccess |
getDefaultInstance() |
Protos.DeviceAccess |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Protos.Device |
getDevice()
required .mesos.Device device = 1; |
Protos.DeviceOrBuilder |
getDeviceOrBuilder()
required .mesos.Device device = 1; |
<any> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAccess()
required .mesos.DeviceAccess.Access access = 2; |
boolean |
hasDevice()
required .mesos.Device device = 1; |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.DeviceAccess.Builder |
newBuilder() |
static Protos.DeviceAccess.Builder |
newBuilder(Protos.DeviceAccess prototype) |
Protos.DeviceAccess.Builder |
newBuilderForType() |
protected Protos.DeviceAccess.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.DeviceAccess |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.DeviceAccess |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.DeviceAccess |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.DeviceAccess |
parseFrom(java.nio.ByteBuffer data) |
static Protos.DeviceAccess |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.DeviceAccess |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.DeviceAccess |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.DeviceAccess |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.DeviceAccess |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.DeviceAccess |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.DeviceAccess.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int DEVICE_FIELD_NUMBER
public static final int ACCESS_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 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.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.AccessOrBuilder getAccessOrBuilder()
required .mesos.DeviceAccess.Access access = 2;
getAccessOrBuilder
in interface Protos.DeviceAccessOrBuilder
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.DeviceAccess parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.DeviceAccess parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.DeviceAccess parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.DeviceAccess parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.DeviceAccess parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.DeviceAccess parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.DeviceAccess parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.DeviceAccess parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.DeviceAccess parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.DeviceAccess parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.DeviceAccess.Builder newBuilderForType()
public static Protos.DeviceAccess.Builder newBuilder()
public static Protos.DeviceAccess.Builder newBuilder(Protos.DeviceAccess prototype)
public Protos.DeviceAccess.Builder toBuilder()
protected Protos.DeviceAccess.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.DeviceAccess getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.DeviceAccess getDefaultInstanceForType()