public static final class Protocol.NodeInfo.ConfigNodeInfo extends com.google.protobuf.GeneratedMessageV3 implements Protocol.NodeInfo.ConfigNodeInfoOrBuilder
protocol.NodeInfo.ConfigNodeInfo| Modifier and Type | Class and Description |
|---|---|
static class |
Protocol.NodeInfo.ConfigNodeInfo.Builder
Protobuf type
protocol.NodeInfo.ConfigNodeInfo |
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 int |
ACTIVENODESIZE_FIELD_NUMBER |
static int |
ALLOWADAPTIVEENERGY_FIELD_NUMBER |
static int |
ALLOWCREATIONOFCONTRACTS_FIELD_NUMBER |
static int |
BACKUPLISTENPORT_FIELD_NUMBER |
static int |
BACKUPMEMBERSIZE_FIELD_NUMBER |
static int |
BACKUPPRIORITY_FIELD_NUMBER |
static int |
CODEVERSION_FIELD_NUMBER |
static int |
DBVERSION_FIELD_NUMBER |
static int |
DISCOVERENABLE_FIELD_NUMBER |
static int |
LISTENPORT_FIELD_NUMBER |
static int |
MAXCONNECTCOUNT_FIELD_NUMBER |
static int |
MAXTIMERATIO_FIELD_NUMBER |
static int |
MINPARTICIPATIONRATE_FIELD_NUMBER |
static int |
MINTIMERATIO_FIELD_NUMBER |
static int |
P2PVERSION_FIELD_NUMBER |
static int |
PASSIVENODESIZE_FIELD_NUMBER |
static int |
SAMEIPMAXCONNECTCOUNT_FIELD_NUMBER |
static int |
SENDNODESIZE_FIELD_NUMBER |
static int |
SUPPORTCONSTANT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getActiveNodeSize()
int32 activeNodeSize = 5; |
long |
getAllowAdaptiveEnergy()
int64 allowAdaptiveEnergy = 19; |
long |
getAllowCreationOfContracts()
int64 allowCreationOfContracts = 18; |
int |
getBackupListenPort()
int32 backupListenPort = 10; |
int |
getBackupMemberSize()
int32 backupMemberSize = 11; |
int |
getBackupPriority()
int32 backupPriority = 12; |
String |
getCodeVersion()
string codeVersion = 1; |
com.google.protobuf.ByteString |
getCodeVersionBytes()
string codeVersion = 1; |
int |
getDbVersion()
int32 dbVersion = 13; |
static Protocol.NodeInfo.ConfigNodeInfo |
getDefaultInstance() |
Protocol.NodeInfo.ConfigNodeInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getDiscoverEnable()
bool discoverEnable = 4; |
int |
getListenPort()
int32 listenPort = 3; |
int |
getMaxConnectCount()
int32 maxConnectCount = 8; |
double |
getMaxTimeRatio()
double maxTimeRatio = 17; |
int |
getMinParticipationRate()
int32 minParticipationRate = 14; |
double |
getMinTimeRatio()
double minTimeRatio = 16; |
String |
getP2PVersion()
string p2pVersion = 2; |
com.google.protobuf.ByteString |
getP2PVersionBytes()
string p2pVersion = 2; |
com.google.protobuf.Parser<Protocol.NodeInfo.ConfigNodeInfo> |
getParserForType() |
int |
getPassiveNodeSize()
int32 passiveNodeSize = 6; |
int |
getSameIpMaxConnectCount()
int32 sameIpMaxConnectCount = 9; |
int |
getSendNodeSize()
int32 sendNodeSize = 7; |
int |
getSerializedSize() |
boolean |
getSupportConstant()
bool supportConstant = 15; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protocol.NodeInfo.ConfigNodeInfo.Builder |
newBuilder() |
static Protocol.NodeInfo.ConfigNodeInfo.Builder |
newBuilder(Protocol.NodeInfo.ConfigNodeInfo prototype) |
Protocol.NodeInfo.ConfigNodeInfo.Builder |
newBuilderForType() |
protected Protocol.NodeInfo.ConfigNodeInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protocol.NodeInfo.ConfigNodeInfo |
parseDelimitedFrom(InputStream input) |
static Protocol.NodeInfo.ConfigNodeInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.NodeInfo.ConfigNodeInfo |
parseFrom(byte[] data) |
static Protocol.NodeInfo.ConfigNodeInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.NodeInfo.ConfigNodeInfo |
parseFrom(ByteBuffer data) |
static Protocol.NodeInfo.ConfigNodeInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.NodeInfo.ConfigNodeInfo |
parseFrom(com.google.protobuf.ByteString data) |
static Protocol.NodeInfo.ConfigNodeInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.NodeInfo.ConfigNodeInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protocol.NodeInfo.ConfigNodeInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.NodeInfo.ConfigNodeInfo |
parseFrom(InputStream input) |
static Protocol.NodeInfo.ConfigNodeInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Protocol.NodeInfo.ConfigNodeInfo> |
parser() |
Protocol.NodeInfo.ConfigNodeInfo.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, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CODEVERSION_FIELD_NUMBER
public static final int P2PVERSION_FIELD_NUMBER
public static final int LISTENPORT_FIELD_NUMBER
public static final int DISCOVERENABLE_FIELD_NUMBER
public static final int ACTIVENODESIZE_FIELD_NUMBER
public static final int PASSIVENODESIZE_FIELD_NUMBER
public static final int SENDNODESIZE_FIELD_NUMBER
public static final int MAXCONNECTCOUNT_FIELD_NUMBER
public static final int SAMEIPMAXCONNECTCOUNT_FIELD_NUMBER
public static final int BACKUPLISTENPORT_FIELD_NUMBER
public static final int BACKUPMEMBERSIZE_FIELD_NUMBER
public static final int BACKUPPRIORITY_FIELD_NUMBER
public static final int DBVERSION_FIELD_NUMBER
public static final int MINPARTICIPATIONRATE_FIELD_NUMBER
public static final int SUPPORTCONSTANT_FIELD_NUMBER
public static final int MINTIMERATIO_FIELD_NUMBER
public static final int MAXTIMERATIO_FIELD_NUMBER
public static final int ALLOWCREATIONOFCONTRACTS_FIELD_NUMBER
public static final int ALLOWADAPTIVEENERGY_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getCodeVersion()
string codeVersion = 1;getCodeVersion in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic com.google.protobuf.ByteString getCodeVersionBytes()
string codeVersion = 1;getCodeVersionBytes in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic String getP2PVersion()
string p2pVersion = 2;getP2PVersion in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic com.google.protobuf.ByteString getP2PVersionBytes()
string p2pVersion = 2;getP2PVersionBytes in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic int getListenPort()
int32 listenPort = 3;getListenPort in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic boolean getDiscoverEnable()
bool discoverEnable = 4;getDiscoverEnable in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic int getActiveNodeSize()
int32 activeNodeSize = 5;getActiveNodeSize in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic int getPassiveNodeSize()
int32 passiveNodeSize = 6;getPassiveNodeSize in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic int getSendNodeSize()
int32 sendNodeSize = 7;getSendNodeSize in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic int getMaxConnectCount()
int32 maxConnectCount = 8;getMaxConnectCount in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic int getSameIpMaxConnectCount()
int32 sameIpMaxConnectCount = 9;getSameIpMaxConnectCount in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic int getBackupListenPort()
int32 backupListenPort = 10;getBackupListenPort in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic int getBackupMemberSize()
int32 backupMemberSize = 11;getBackupMemberSize in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic int getBackupPriority()
int32 backupPriority = 12;getBackupPriority in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic int getDbVersion()
int32 dbVersion = 13;getDbVersion in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic int getMinParticipationRate()
int32 minParticipationRate = 14;getMinParticipationRate in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic boolean getSupportConstant()
bool supportConstant = 15;getSupportConstant in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic double getMinTimeRatio()
double minTimeRatio = 16;getMinTimeRatio in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic double getMaxTimeRatio()
double maxTimeRatio = 17;getMaxTimeRatio in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic long getAllowCreationOfContracts()
int64 allowCreationOfContracts = 18;getAllowCreationOfContracts in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic long getAllowAdaptiveEnergy()
int64 allowAdaptiveEnergy = 19;getAllowAdaptiveEnergy in interface Protocol.NodeInfo.ConfigNodeInfoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Protocol.NodeInfo.ConfigNodeInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protocol.NodeInfo.ConfigNodeInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protocol.NodeInfo.ConfigNodeInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protocol.NodeInfo.ConfigNodeInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protocol.NodeInfo.ConfigNodeInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protocol.NodeInfo.ConfigNodeInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protocol.NodeInfo.ConfigNodeInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static Protocol.NodeInfo.ConfigNodeInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protocol.NodeInfo.ConfigNodeInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Protocol.NodeInfo.ConfigNodeInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protocol.NodeInfo.ConfigNodeInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Protocol.NodeInfo.ConfigNodeInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Protocol.NodeInfo.ConfigNodeInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Protocol.NodeInfo.ConfigNodeInfo.Builder newBuilder()
public static Protocol.NodeInfo.ConfigNodeInfo.Builder newBuilder(Protocol.NodeInfo.ConfigNodeInfo prototype)
public Protocol.NodeInfo.ConfigNodeInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Protocol.NodeInfo.ConfigNodeInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Protocol.NodeInfo.ConfigNodeInfo getDefaultInstance()
public static com.google.protobuf.Parser<Protocol.NodeInfo.ConfigNodeInfo> parser()
public com.google.protobuf.Parser<Protocol.NodeInfo.ConfigNodeInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Protocol.NodeInfo.ConfigNodeInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.