public static final class Protos.Device extends com.google.protobuf.GeneratedMessageV3 implements Protos.DeviceOrBuilder
Describes information about a device.Protobuf type
mesos.Device
Modifier and Type | Class and Description |
---|---|
static class |
Protos.Device.Builder
Describes information about a device.
|
static class |
Protos.Device.Number
Protobuf type
mesos.Device.Number |
static interface |
Protos.Device.NumberOrBuilder |
Modifier and Type | Field and Description |
---|---|
static int |
NUMBER_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
PATH_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.Device |
getDefaultInstance() |
Protos.Device |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Protos.Device.Number |
getNumber()
optional .mesos.Device.Number number = 2; |
Protos.Device.NumberOrBuilder |
getNumberOrBuilder()
optional .mesos.Device.Number number = 2; |
<any> |
getParserForType() |
java.lang.String |
getPath()
optional string path = 1; |
com.google.protobuf.ByteString |
getPathBytes()
optional string path = 1; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasNumber()
optional .mesos.Device.Number number = 2; |
boolean |
hasPath()
optional string path = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Device.Builder |
newBuilder() |
static Protos.Device.Builder |
newBuilder(Protos.Device prototype) |
Protos.Device.Builder |
newBuilderForType() |
protected Protos.Device.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Device |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Device |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Device |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Device |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Device |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Device |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Device |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Device |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Device |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Device |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Device.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int PATH_FIELD_NUMBER
public static final int NUMBER_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 hasPath()
optional string path = 1;
hasPath
in interface Protos.DeviceOrBuilder
public java.lang.String getPath()
optional string path = 1;
getPath
in interface Protos.DeviceOrBuilder
public com.google.protobuf.ByteString getPathBytes()
optional string path = 1;
getPathBytes
in interface Protos.DeviceOrBuilder
public boolean hasNumber()
optional .mesos.Device.Number number = 2;
hasNumber
in interface Protos.DeviceOrBuilder
public Protos.Device.Number getNumber()
optional .mesos.Device.Number number = 2;
getNumber
in interface Protos.DeviceOrBuilder
public Protos.Device.NumberOrBuilder getNumberOrBuilder()
optional .mesos.Device.Number number = 2;
getNumberOrBuilder
in interface Protos.DeviceOrBuilder
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.Device parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Device parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Device parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Device parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Device parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Device parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Device parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Device parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Device parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Device parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.Device.Builder newBuilderForType()
public static Protos.Device.Builder newBuilder()
public static Protos.Device.Builder newBuilder(Protos.Device prototype)
public Protos.Device.Builder toBuilder()
protected Protos.Device.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Device getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Device getDefaultInstanceForType()