public static final class Config.DeviceDescriptor extends com.google.protobuf.GeneratedMessageV3 implements Config.DeviceDescriptorOrBuilder
Device Descriptor used in ConfigurationProtobuf type
DeviceDescriptor
Modifier and Type | Class and Description |
---|---|
static class |
Config.DeviceDescriptor.Builder
Device Descriptor used in Configuration
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static com.google.protobuf.Parser<Config.DeviceDescriptor> |
PARSER
Deprecated.
|
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 |
---|---|
boolean |
equals(Object obj) |
static Config.DeviceDescriptor |
getDefaultInstance() |
Config.DeviceDescriptor |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Config.DeviceDescriptor> |
getParserForType() |
String |
getPath()
USB device path
|
com.google.protobuf.ByteString |
getPathBytes()
USB device path
|
int |
getProductId()
USB product ID
|
int |
getSerializedSize() |
String |
getSerialNumber()
USB serial number
|
com.google.protobuf.ByteString |
getSerialNumberBytes()
USB serial number
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getVendorId()
USB vendor ID
|
int |
hashCode() |
boolean |
hasPath()
USB device path
|
boolean |
hasProductId()
USB product ID
|
boolean |
hasSerialNumber()
USB serial number
|
boolean |
hasVendorId()
USB vendor ID
|
protected com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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(ByteBuffer data) |
static Config.DeviceDescriptor |
parseFrom(ByteBuffer 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) |
static com.google.protobuf.Parser<Config.DeviceDescriptor> |
parser() |
Config.DeviceDescriptor.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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
@Deprecated public static final com.google.protobuf.Parser<Config.DeviceDescriptor> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasVendorId()
USB vendor ID
optional uint32 vendor_id = 1;
hasVendorId
in interface Config.DeviceDescriptorOrBuilder
public int getVendorId()
USB vendor ID
optional uint32 vendor_id = 1;
getVendorId
in interface Config.DeviceDescriptorOrBuilder
public boolean hasProductId()
USB product ID
optional uint32 product_id = 2;
hasProductId
in interface Config.DeviceDescriptorOrBuilder
public int getProductId()
USB product ID
optional uint32 product_id = 2;
getProductId
in interface Config.DeviceDescriptorOrBuilder
public boolean hasSerialNumber()
USB serial number
optional string serial_number = 3;
hasSerialNumber
in interface Config.DeviceDescriptorOrBuilder
public String getSerialNumber()
USB serial number
optional string serial_number = 3;
getSerialNumber
in interface Config.DeviceDescriptorOrBuilder
public com.google.protobuf.ByteString getSerialNumberBytes()
USB serial number
optional string serial_number = 3;
getSerialNumberBytes
in interface Config.DeviceDescriptorOrBuilder
public boolean hasPath()
USB device path
optional string path = 4;
hasPath
in interface Config.DeviceDescriptorOrBuilder
public String getPath()
USB device path
optional string path = 4;
getPath
in interface Config.DeviceDescriptorOrBuilder
public com.google.protobuf.ByteString getPathBytes()
USB device path
optional string path = 4;
getPathBytes
in interface Config.DeviceDescriptorOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Config.DeviceDescriptor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Config.DeviceDescriptor parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
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 Config.DeviceDescriptor.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Config.DeviceDescriptor.Builder newBuilder()
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.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Config.DeviceDescriptor getDefaultInstance()
public static com.google.protobuf.Parser<Config.DeviceDescriptor> parser()
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.GeneratedMessageV3
public Config.DeviceDescriptor getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2013–2018 Bitcoin Solutions Ltd. All rights reserved.