public final class VoteBucket extends com.google.protobuf.GeneratedMessageV3 implements VoteBucketOrBuilder
iotextypes.VoteBucket| Modifier and Type | Class and Description |
|---|---|
static class |
VoteBucket.Builder
Protobuf type
iotextypes.VoteBucket |
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 |
AUTOSTAKE_FIELD_NUMBER |
static int |
CANDIDATEADDRESS_FIELD_NUMBER |
static int |
CREATETIME_FIELD_NUMBER |
static int |
INDEX_FIELD_NUMBER |
static int |
OWNER_FIELD_NUMBER |
static int |
STAKEDAMOUNT_FIELD_NUMBER |
static int |
STAKEDDURATION_FIELD_NUMBER |
static int |
STAKESTARTTIME_FIELD_NUMBER |
static int |
UNSTAKESTARTTIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getAutoStake()
bool autoStake = 8; |
String |
getCandidateAddress()
string candidateAddress = 2; |
com.google.protobuf.ByteString |
getCandidateAddressBytes()
string candidateAddress = 2; |
com.google.protobuf.Timestamp |
getCreateTime()
.google.protobuf.Timestamp createTime = 5; |
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
.google.protobuf.Timestamp createTime = 5; |
static VoteBucket |
getDefaultInstance() |
VoteBucket |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getIndex()
uint64 index = 1; |
String |
getOwner()
string owner = 9; |
com.google.protobuf.ByteString |
getOwnerBytes()
string owner = 9; |
com.google.protobuf.Parser<VoteBucket> |
getParserForType() |
int |
getSerializedSize() |
String |
getStakedAmount()
string stakedAmount = 3; |
com.google.protobuf.ByteString |
getStakedAmountBytes()
string stakedAmount = 3; |
int |
getStakedDuration()
uint32 stakedDuration = 4; |
com.google.protobuf.Timestamp |
getStakeStartTime()
.google.protobuf.Timestamp stakeStartTime = 6; |
com.google.protobuf.TimestampOrBuilder |
getStakeStartTimeOrBuilder()
.google.protobuf.Timestamp stakeStartTime = 6; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.Timestamp |
getUnstakeStartTime()
.google.protobuf.Timestamp unstakeStartTime = 7; |
com.google.protobuf.TimestampOrBuilder |
getUnstakeStartTimeOrBuilder()
.google.protobuf.Timestamp unstakeStartTime = 7; |
boolean |
hasCreateTime()
.google.protobuf.Timestamp createTime = 5; |
int |
hashCode() |
boolean |
hasStakeStartTime()
.google.protobuf.Timestamp stakeStartTime = 6; |
boolean |
hasUnstakeStartTime()
.google.protobuf.Timestamp unstakeStartTime = 7; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static VoteBucket.Builder |
newBuilder() |
static VoteBucket.Builder |
newBuilder(VoteBucket prototype) |
VoteBucket.Builder |
newBuilderForType() |
protected VoteBucket.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static VoteBucket |
parseDelimitedFrom(InputStream input) |
static VoteBucket |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VoteBucket |
parseFrom(byte[] data) |
static VoteBucket |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VoteBucket |
parseFrom(ByteBuffer data) |
static VoteBucket |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VoteBucket |
parseFrom(com.google.protobuf.ByteString data) |
static VoteBucket |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VoteBucket |
parseFrom(com.google.protobuf.CodedInputStream input) |
static VoteBucket |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VoteBucket |
parseFrom(InputStream input) |
static VoteBucket |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<VoteBucket> |
parser() |
VoteBucket.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 INDEX_FIELD_NUMBER
public static final int CANDIDATEADDRESS_FIELD_NUMBER
public static final int STAKEDAMOUNT_FIELD_NUMBER
public static final int STAKEDDURATION_FIELD_NUMBER
public static final int CREATETIME_FIELD_NUMBER
public static final int STAKESTARTTIME_FIELD_NUMBER
public static final int UNSTAKESTARTTIME_FIELD_NUMBER
public static final int AUTOSTAKE_FIELD_NUMBER
public static final int OWNER_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 long getIndex()
uint64 index = 1;getIndex in interface VoteBucketOrBuilderpublic String getCandidateAddress()
string candidateAddress = 2;getCandidateAddress in interface VoteBucketOrBuilderpublic com.google.protobuf.ByteString getCandidateAddressBytes()
string candidateAddress = 2;getCandidateAddressBytes in interface VoteBucketOrBuilderpublic String getStakedAmount()
string stakedAmount = 3;getStakedAmount in interface VoteBucketOrBuilderpublic com.google.protobuf.ByteString getStakedAmountBytes()
string stakedAmount = 3;getStakedAmountBytes in interface VoteBucketOrBuilderpublic int getStakedDuration()
uint32 stakedDuration = 4;getStakedDuration in interface VoteBucketOrBuilderpublic boolean hasCreateTime()
.google.protobuf.Timestamp createTime = 5;hasCreateTime in interface VoteBucketOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
.google.protobuf.Timestamp createTime = 5;getCreateTime in interface VoteBucketOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
.google.protobuf.Timestamp createTime = 5;getCreateTimeOrBuilder in interface VoteBucketOrBuilderpublic boolean hasStakeStartTime()
.google.protobuf.Timestamp stakeStartTime = 6;hasStakeStartTime in interface VoteBucketOrBuilderpublic com.google.protobuf.Timestamp getStakeStartTime()
.google.protobuf.Timestamp stakeStartTime = 6;getStakeStartTime in interface VoteBucketOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStakeStartTimeOrBuilder()
.google.protobuf.Timestamp stakeStartTime = 6;getStakeStartTimeOrBuilder in interface VoteBucketOrBuilderpublic boolean hasUnstakeStartTime()
.google.protobuf.Timestamp unstakeStartTime = 7;hasUnstakeStartTime in interface VoteBucketOrBuilderpublic com.google.protobuf.Timestamp getUnstakeStartTime()
.google.protobuf.Timestamp unstakeStartTime = 7;getUnstakeStartTime in interface VoteBucketOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUnstakeStartTimeOrBuilder()
.google.protobuf.Timestamp unstakeStartTime = 7;getUnstakeStartTimeOrBuilder in interface VoteBucketOrBuilderpublic boolean getAutoStake()
bool autoStake = 8;getAutoStake in interface VoteBucketOrBuilderpublic String getOwner()
string owner = 9;getOwner in interface VoteBucketOrBuilderpublic com.google.protobuf.ByteString getOwnerBytes()
string owner = 9;getOwnerBytes in interface VoteBucketOrBuilderpublic 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 VoteBucket parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VoteBucket parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VoteBucket parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VoteBucket parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VoteBucket parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VoteBucket parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VoteBucket parseFrom(InputStream input) throws IOException
IOExceptionpublic static VoteBucket parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VoteBucket parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static VoteBucket parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VoteBucket parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static VoteBucket parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic VoteBucket.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static VoteBucket.Builder newBuilder()
public static VoteBucket.Builder newBuilder(VoteBucket prototype)
public VoteBucket.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected VoteBucket.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static VoteBucket getDefaultInstance()
public static com.google.protobuf.Parser<VoteBucket> parser()
public com.google.protobuf.Parser<VoteBucket> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public VoteBucket getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 IoTeX Group. All rights reserved.