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, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<Config.DeviceDescriptor> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasVendorId()
optional uint32 vendor_id = 1;
USB vendor ID
hasVendorId
in interface Config.DeviceDescriptorOrBuilder
public int getVendorId()
optional uint32 vendor_id = 1;
USB vendor ID
getVendorId
in interface Config.DeviceDescriptorOrBuilder
public boolean hasProductId()
optional uint32 product_id = 2;
USB product ID
hasProductId
in interface Config.DeviceDescriptorOrBuilder
public int getProductId()
optional uint32 product_id = 2;
USB product ID
getProductId
in interface Config.DeviceDescriptorOrBuilder
public boolean hasSerialNumber()
optional string serial_number = 3;
USB serial number
hasSerialNumber
in interface Config.DeviceDescriptorOrBuilder
public String getSerialNumber()
optional string serial_number = 3;
USB serial number
getSerialNumber
in interface Config.DeviceDescriptorOrBuilder
public com.google.protobuf.ByteString getSerialNumberBytes()
optional string serial_number = 3;
USB serial number
getSerialNumberBytes
in interface Config.DeviceDescriptorOrBuilder
public boolean hasPath()
optional string path = 4;
USB device path
hasPath
in interface Config.DeviceDescriptorOrBuilder
public String getPath()
optional string path = 4;
USB device path
getPath
in interface Config.DeviceDescriptorOrBuilder
public com.google.protobuf.ByteString getPathBytes()
optional string path = 4;
USB device path
getPathBytes
in interface Config.DeviceDescriptorOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static Config.DeviceDescriptor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Config.DeviceDescriptor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Config.DeviceDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Config.DeviceDescriptor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Config.DeviceDescriptor parseFrom(InputStream input) throws IOException
IOException
public static Config.DeviceDescriptor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Config.DeviceDescriptor parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Config.DeviceDescriptor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Config.DeviceDescriptor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Config.DeviceDescriptor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Config.DeviceDescriptor.Builder newBuilder()
public Config.DeviceDescriptor.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Config.DeviceDescriptor.Builder newBuilder(Config.DeviceDescriptor prototype)
public Config.DeviceDescriptor.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Config.DeviceDescriptor.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.