public final class GenesisPoll extends com.google.protobuf.GeneratedMessageV3 implements GenesisPollOrBuilder
iotextypes.GenesisPoll| Modifier and Type | Class and Description |
|---|---|
static class |
GenesisPoll.Builder
Protobuf type
iotextypes.GenesisPoll |
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 |
DELEGATES_FIELD_NUMBER |
static int |
ENABLEGRAVITYCHAINVOTING_FIELD_NUMBER |
static int |
GRAVITYCHAINSTARTHEIGHT_FIELD_NUMBER |
static int |
REGISTERCONTRACTADDRESS_FIELD_NUMBER |
static int |
SCORETHRESHOLD_FIELD_NUMBER |
static int |
SELFSTAKINGTHRESHOLD_FIELD_NUMBER |
static int |
STAKINGCONTRACTADDRESS_FIELD_NUMBER |
static int |
VOTETHRESHOLD_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static GenesisPoll |
getDefaultInstance() |
GenesisPoll |
getDefaultInstanceForType() |
GenesisDelegate |
getDelegates(int index)
repeated .iotextypes.GenesisDelegate delegates = 8; |
int |
getDelegatesCount()
repeated .iotextypes.GenesisDelegate delegates = 8; |
List<GenesisDelegate> |
getDelegatesList()
repeated .iotextypes.GenesisDelegate delegates = 8; |
GenesisDelegateOrBuilder |
getDelegatesOrBuilder(int index)
repeated .iotextypes.GenesisDelegate delegates = 8; |
List<? extends GenesisDelegateOrBuilder> |
getDelegatesOrBuilderList()
repeated .iotextypes.GenesisDelegate delegates = 8; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEnableGravityChainVoting()
bool enableGravityChainVoting = 1; |
long |
getGravityChainStartHeight()
uint64 gravityChainStartHeight = 2; |
com.google.protobuf.Parser<GenesisPoll> |
getParserForType() |
String |
getRegisterContractAddress()
string registerContractAddress = 3; |
com.google.protobuf.ByteString |
getRegisterContractAddressBytes()
string registerContractAddress = 3; |
String |
getScoreThreshold()
string scoreThreshold = 6; |
com.google.protobuf.ByteString |
getScoreThresholdBytes()
string scoreThreshold = 6; |
String |
getSelfStakingThreshold()
string selfStakingThreshold = 7; |
com.google.protobuf.ByteString |
getSelfStakingThresholdBytes()
string selfStakingThreshold = 7; |
int |
getSerializedSize() |
String |
getStakingContractAddress()
string stakingContractAddress = 4; |
com.google.protobuf.ByteString |
getStakingContractAddressBytes()
string stakingContractAddress = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getVoteThreshold()
string voteThreshold = 5; |
com.google.protobuf.ByteString |
getVoteThresholdBytes()
string voteThreshold = 5; |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GenesisPoll.Builder |
newBuilder() |
static GenesisPoll.Builder |
newBuilder(GenesisPoll prototype) |
GenesisPoll.Builder |
newBuilderForType() |
protected GenesisPoll.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static GenesisPoll |
parseDelimitedFrom(InputStream input) |
static GenesisPoll |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GenesisPoll |
parseFrom(byte[] data) |
static GenesisPoll |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GenesisPoll |
parseFrom(ByteBuffer data) |
static GenesisPoll |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GenesisPoll |
parseFrom(com.google.protobuf.ByteString data) |
static GenesisPoll |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GenesisPoll |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GenesisPoll |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GenesisPoll |
parseFrom(InputStream input) |
static GenesisPoll |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GenesisPoll> |
parser() |
GenesisPoll.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 ENABLEGRAVITYCHAINVOTING_FIELD_NUMBER
public static final int GRAVITYCHAINSTARTHEIGHT_FIELD_NUMBER
public static final int REGISTERCONTRACTADDRESS_FIELD_NUMBER
public static final int STAKINGCONTRACTADDRESS_FIELD_NUMBER
public static final int VOTETHRESHOLD_FIELD_NUMBER
public static final int SCORETHRESHOLD_FIELD_NUMBER
public static final int SELFSTAKINGTHRESHOLD_FIELD_NUMBER
public static final int DELEGATES_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 boolean getEnableGravityChainVoting()
bool enableGravityChainVoting = 1;getEnableGravityChainVoting in interface GenesisPollOrBuilderpublic long getGravityChainStartHeight()
uint64 gravityChainStartHeight = 2;getGravityChainStartHeight in interface GenesisPollOrBuilderpublic String getRegisterContractAddress()
string registerContractAddress = 3;getRegisterContractAddress in interface GenesisPollOrBuilderpublic com.google.protobuf.ByteString getRegisterContractAddressBytes()
string registerContractAddress = 3;getRegisterContractAddressBytes in interface GenesisPollOrBuilderpublic String getStakingContractAddress()
string stakingContractAddress = 4;getStakingContractAddress in interface GenesisPollOrBuilderpublic com.google.protobuf.ByteString getStakingContractAddressBytes()
string stakingContractAddress = 4;getStakingContractAddressBytes in interface GenesisPollOrBuilderpublic String getVoteThreshold()
string voteThreshold = 5;getVoteThreshold in interface GenesisPollOrBuilderpublic com.google.protobuf.ByteString getVoteThresholdBytes()
string voteThreshold = 5;getVoteThresholdBytes in interface GenesisPollOrBuilderpublic String getScoreThreshold()
string scoreThreshold = 6;getScoreThreshold in interface GenesisPollOrBuilderpublic com.google.protobuf.ByteString getScoreThresholdBytes()
string scoreThreshold = 6;getScoreThresholdBytes in interface GenesisPollOrBuilderpublic String getSelfStakingThreshold()
string selfStakingThreshold = 7;getSelfStakingThreshold in interface GenesisPollOrBuilderpublic com.google.protobuf.ByteString getSelfStakingThresholdBytes()
string selfStakingThreshold = 7;getSelfStakingThresholdBytes in interface GenesisPollOrBuilderpublic List<GenesisDelegate> getDelegatesList()
repeated .iotextypes.GenesisDelegate delegates = 8;getDelegatesList in interface GenesisPollOrBuilderpublic List<? extends GenesisDelegateOrBuilder> getDelegatesOrBuilderList()
repeated .iotextypes.GenesisDelegate delegates = 8;getDelegatesOrBuilderList in interface GenesisPollOrBuilderpublic int getDelegatesCount()
repeated .iotextypes.GenesisDelegate delegates = 8;getDelegatesCount in interface GenesisPollOrBuilderpublic GenesisDelegate getDelegates(int index)
repeated .iotextypes.GenesisDelegate delegates = 8;getDelegates in interface GenesisPollOrBuilderpublic GenesisDelegateOrBuilder getDelegatesOrBuilder(int index)
repeated .iotextypes.GenesisDelegate delegates = 8;getDelegatesOrBuilder in interface GenesisPollOrBuilderpublic 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 GenesisPoll parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GenesisPoll parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GenesisPoll parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GenesisPoll parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GenesisPoll parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GenesisPoll parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GenesisPoll parseFrom(InputStream input) throws IOException
IOExceptionpublic static GenesisPoll parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GenesisPoll parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GenesisPoll parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GenesisPoll parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GenesisPoll parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GenesisPoll.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GenesisPoll.Builder newBuilder()
public static GenesisPoll.Builder newBuilder(GenesisPoll prototype)
public GenesisPoll.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GenesisPoll.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GenesisPoll getDefaultInstance()
public static com.google.protobuf.Parser<GenesisPoll> parser()
public com.google.protobuf.Parser<GenesisPoll> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GenesisPoll getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 IoTeX Group. All rights reserved.