public static final class DevicesProto.Device extends com.google.protobuf.GeneratedMessageV3 implements DevicesProto.DeviceOrBuilder
Device
Modifier and Type | Class and Description |
---|---|
static class |
DevicesProto.Device.Builder
Protobuf type
Device |
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
DEVICE_TYPE_FIELD_NUMBER |
static int |
DEVICE_TYPE_NAME_FIELD_NUMBER |
static int |
FIREWALL_MARK_FIELD_NUMBER |
static int |
LISTEN_PORT_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PEERS_FIELD_NUMBER |
static int |
PUBLIC_KEY_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static DevicesProto.Device |
getDefaultInstance() |
DevicesProto.Device |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getDeviceType()
uint32 device_type = 2; |
java.lang.String |
getDeviceTypeName()
string device_type_name = 3; |
com.google.protobuf.ByteString |
getDeviceTypeNameBytes()
string device_type_name = 3; |
long |
getFirewallMark()
int64 firewall_mark = 6; |
int |
getListenPort()
uint32 listen_port = 5; |
java.lang.String |
getName()
string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
string name = 1; |
com.google.protobuf.Parser<DevicesProto.Device> |
getParserForType() |
PeersProto.Peer |
getPeers(int index)
repeated .Peer peers = 7; |
int |
getPeersCount()
repeated .Peer peers = 7; |
java.util.List<PeersProto.Peer> |
getPeersList()
repeated .Peer peers = 7; |
PeersProto.PeerOrBuilder |
getPeersOrBuilder(int index)
repeated .Peer peers = 7; |
java.util.List<? extends PeersProto.PeerOrBuilder> |
getPeersOrBuilderList()
repeated .Peer peers = 7; |
java.lang.String |
getPublicKey()
string public_key = 4; |
com.google.protobuf.ByteString |
getPublicKeyBytes()
string public_key = 4; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DevicesProto.Device.Builder |
newBuilder() |
static DevicesProto.Device.Builder |
newBuilder(DevicesProto.Device prototype) |
DevicesProto.Device.Builder |
newBuilderForType() |
protected DevicesProto.Device.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static DevicesProto.Device |
parseDelimitedFrom(java.io.InputStream input) |
static DevicesProto.Device |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DevicesProto.Device |
parseFrom(byte[] data) |
static DevicesProto.Device |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DevicesProto.Device |
parseFrom(java.nio.ByteBuffer data) |
static DevicesProto.Device |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DevicesProto.Device |
parseFrom(com.google.protobuf.ByteString data) |
static DevicesProto.Device |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DevicesProto.Device |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DevicesProto.Device |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DevicesProto.Device |
parseFrom(java.io.InputStream input) |
static DevicesProto.Device |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DevicesProto.Device> |
parser() |
DevicesProto.Device.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, 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 NAME_FIELD_NUMBER
public static final int DEVICE_TYPE_FIELD_NUMBER
public static final int DEVICE_TYPE_NAME_FIELD_NUMBER
public static final int PUBLIC_KEY_FIELD_NUMBER
public static final int LISTEN_PORT_FIELD_NUMBER
public static final int FIREWALL_MARK_FIELD_NUMBER
public static final int PEERS_FIELD_NUMBER
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 java.lang.String getName()
string name = 1;
getName
in interface DevicesProto.DeviceOrBuilder
public com.google.protobuf.ByteString getNameBytes()
string name = 1;
getNameBytes
in interface DevicesProto.DeviceOrBuilder
public int getDeviceType()
uint32 device_type = 2;
getDeviceType
in interface DevicesProto.DeviceOrBuilder
public java.lang.String getDeviceTypeName()
string device_type_name = 3;
getDeviceTypeName
in interface DevicesProto.DeviceOrBuilder
public com.google.protobuf.ByteString getDeviceTypeNameBytes()
string device_type_name = 3;
getDeviceTypeNameBytes
in interface DevicesProto.DeviceOrBuilder
public java.lang.String getPublicKey()
string public_key = 4;
getPublicKey
in interface DevicesProto.DeviceOrBuilder
public com.google.protobuf.ByteString getPublicKeyBytes()
string public_key = 4;
getPublicKeyBytes
in interface DevicesProto.DeviceOrBuilder
public int getListenPort()
uint32 listen_port = 5;
getListenPort
in interface DevicesProto.DeviceOrBuilder
public long getFirewallMark()
int64 firewall_mark = 6;
getFirewallMark
in interface DevicesProto.DeviceOrBuilder
public java.util.List<PeersProto.Peer> getPeersList()
repeated .Peer peers = 7;
getPeersList
in interface DevicesProto.DeviceOrBuilder
public java.util.List<? extends PeersProto.PeerOrBuilder> getPeersOrBuilderList()
repeated .Peer peers = 7;
getPeersOrBuilderList
in interface DevicesProto.DeviceOrBuilder
public int getPeersCount()
repeated .Peer peers = 7;
getPeersCount
in interface DevicesProto.DeviceOrBuilder
public PeersProto.Peer getPeers(int index)
repeated .Peer peers = 7;
getPeers
in interface DevicesProto.DeviceOrBuilder
public PeersProto.PeerOrBuilder getPeersOrBuilder(int index)
repeated .Peer peers = 7;
getPeersOrBuilder
in interface DevicesProto.DeviceOrBuilder
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 java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(java.lang.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 DevicesProto.Device parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DevicesProto.Device parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DevicesProto.Device parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DevicesProto.Device parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DevicesProto.Device parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DevicesProto.Device parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DevicesProto.Device parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static DevicesProto.Device parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static DevicesProto.Device parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static DevicesProto.Device parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static DevicesProto.Device parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static DevicesProto.Device parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public DevicesProto.Device.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static DevicesProto.Device.Builder newBuilder()
public static DevicesProto.Device.Builder newBuilder(DevicesProto.Device prototype)
public DevicesProto.Device.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected DevicesProto.Device.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static DevicesProto.Device getDefaultInstance()
public static com.google.protobuf.Parser<DevicesProto.Device> parser()
public com.google.protobuf.Parser<DevicesProto.Device> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public DevicesProto.Device getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder