public static final class Config.DeviceDescriptor extends com.google.protobuf.GeneratedMessage implements Config.DeviceDescriptorOrBuilder
DeviceDescriptor
Device Descriptor used in Configuration
| Modifier and Type | Class and Description |
|---|---|
static class |
Config.DeviceDescriptor.Builder
Protobuf type
DeviceDescriptor |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static com.google.protobuf.Parser<Config.DeviceDescriptor> |
PARSER |
static int |
PATH_FIELD_NUMBER |
static int |
PRODUCT_ID_FIELD_NUMBER |
static int |
SERIAL_NUMBER_FIELD_NUMBER |
static int |
VENDOR_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static Config.DeviceDescriptor |
getDefaultInstance() |
Config.DeviceDescriptor |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Config.DeviceDescriptor> |
getParserForType() |
String |
getPath()
optional string path = 4; |
com.google.protobuf.ByteString |
getPathBytes()
optional string path = 4; |
int |
getProductId()
optional uint32 product_id = 2; |
int |
getSerializedSize() |
String |
getSerialNumber()
optional string serial_number = 3; |
com.google.protobuf.ByteString |
getSerialNumberBytes()
optional string serial_number = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getVendorId()
optional uint32 vendor_id = 1; |
boolean |
hasPath()
optional string path = 4; |
boolean |
hasProductId()
optional uint32 product_id = 2; |
boolean |
hasSerialNumber()
optional string serial_number = 3; |
boolean |
hasVendorId()
optional uint32 vendor_id = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Config.DeviceDescriptor.Builder |
newBuilder() |
static Config.DeviceDescriptor.Builder |
newBuilder(Config.DeviceDescriptor prototype) |
Config.DeviceDescriptor.Builder |
newBuilderForType() |
protected Config.DeviceDescriptor.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Config.DeviceDescriptor |
parseDelimitedFrom(InputStream input) |
static Config.DeviceDescriptor |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Config.DeviceDescriptor |
parseFrom(byte[] data) |
static Config.DeviceDescriptor |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Config.DeviceDescriptor |
parseFrom(com.google.protobuf.ByteString data) |
static Config.DeviceDescriptor |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Config.DeviceDescriptor |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Config.DeviceDescriptor |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Config.DeviceDescriptor |
parseFrom(InputStream input) |
static Config.DeviceDescriptor |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Config.DeviceDescriptor.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<Config.DeviceDescriptor> PARSER
public static final int VENDOR_ID_FIELD_NUMBER
public static final int PRODUCT_ID_FIELD_NUMBER
public static final int SERIAL_NUMBER_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
public static Config.DeviceDescriptor getDefaultInstance()
public Config.DeviceDescriptor getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<Config.DeviceDescriptor> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasVendorId()
optional uint32 vendor_id = 1;
USB vendor ID
hasVendorId in interface Config.DeviceDescriptorOrBuilderpublic int getVendorId()
optional uint32 vendor_id = 1;
USB vendor ID
getVendorId in interface Config.DeviceDescriptorOrBuilderpublic boolean hasProductId()
optional uint32 product_id = 2;
USB product ID
hasProductId in interface Config.DeviceDescriptorOrBuilderpublic int getProductId()
optional uint32 product_id = 2;
USB product ID
getProductId in interface Config.DeviceDescriptorOrBuilderpublic boolean hasSerialNumber()
optional string serial_number = 3;
USB serial number
hasSerialNumber in interface Config.DeviceDescriptorOrBuilderpublic String getSerialNumber()
optional string serial_number = 3;
USB serial number
getSerialNumber in interface Config.DeviceDescriptorOrBuilderpublic com.google.protobuf.ByteString getSerialNumberBytes()
optional string serial_number = 3;
USB serial number
getSerialNumberBytes in interface Config.DeviceDescriptorOrBuilderpublic boolean hasPath()
optional string path = 4;
USB device path
hasPath in interface Config.DeviceDescriptorOrBuilderpublic String getPath()
optional string path = 4;
USB device path
getPath in interface Config.DeviceDescriptorOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
optional string path = 4;
USB device path
getPathBytes in interface Config.DeviceDescriptorOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static Config.DeviceDescriptor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Config.DeviceDescriptor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Config.DeviceDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Config.DeviceDescriptor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Config.DeviceDescriptor parseFrom(InputStream input) throws IOException
IOExceptionpublic static Config.DeviceDescriptor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Config.DeviceDescriptor parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Config.DeviceDescriptor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Config.DeviceDescriptor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Config.DeviceDescriptor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Config.DeviceDescriptor.Builder newBuilder()
public Config.DeviceDescriptor.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Config.DeviceDescriptor.Builder newBuilder(Config.DeviceDescriptor prototype)
public Config.DeviceDescriptor.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Config.DeviceDescriptor.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.