public static final class ElectionContract.ElectionVotingRecord extends com.google.protobuf.GeneratedMessageV3 implements ElectionContract.ElectionVotingRecordOrBuilder
ElectionVotingRecord| 限定符和类型 | 类和说明 |
|---|---|
static class |
ElectionContract.ElectionVotingRecord.Builder
Protobuf type
ElectionVotingRecord |
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| 限定符和类型 | 字段和说明 |
|---|---|
static int |
AMOUNT_FIELD_NUMBER |
static int |
CANDIDATE_FIELD_NUMBER |
static int |
IS_CHANGE_TARGET_FIELD_NUMBER |
static int |
IS_WITHDRAWN_FIELD_NUMBER |
static int |
LOCK_TIME_FIELD_NUMBER |
static int |
TERM_NUMBER_FIELD_NUMBER |
static int |
UNLOCK_TIMESTAMP_FIELD_NUMBER |
static int |
VOTE_ID_FIELD_NUMBER |
static int |
VOTE_TIMESTAMP_FIELD_NUMBER |
static int |
VOTER_FIELD_NUMBER |
static int |
WEIGHT_FIELD_NUMBER |
static int |
WITHDRAW_TIMESTAMP_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
long |
getAmount()
Amount of voting.
|
String |
getCandidate()
The public key of candidate.
|
com.google.protobuf.ByteString |
getCandidateBytes()
The public key of candidate.
|
static ElectionContract.ElectionVotingRecord |
getDefaultInstance() |
ElectionContract.ElectionVotingRecord |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getIsChangeTarget()
Whether vote others.
|
boolean |
getIsWithdrawn()
Indicates if the vote has been withdrawn.
|
long |
getLockTime()
Vote lock time.
|
com.google.protobuf.Parser<ElectionContract.ElectionVotingRecord> |
getParserForType() |
int |
getSerializedSize() |
long |
getTermNumber()
The term number of voting.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.Timestamp |
getUnlockTimestamp()
The unlock timestamp.
|
com.google.protobuf.TimestampOrBuilder |
getUnlockTimestampOrBuilder()
The unlock timestamp.
|
Client.Hash |
getVoteId()
The vote id.
|
Client.HashOrBuilder |
getVoteIdOrBuilder()
The vote id.
|
Client.Address |
getVoter()
The address of voter.
|
Client.AddressOrBuilder |
getVoterOrBuilder()
The address of voter.
|
com.google.protobuf.Timestamp |
getVoteTimestamp()
The vote timestamp.
|
com.google.protobuf.TimestampOrBuilder |
getVoteTimestampOrBuilder()
The vote timestamp.
|
long |
getWeight()
Vote weight for sharing bonus.
|
com.google.protobuf.Timestamp |
getWithdrawTimestamp()
The withdraw timestamp.
|
com.google.protobuf.TimestampOrBuilder |
getWithdrawTimestampOrBuilder()
The withdraw timestamp.
|
int |
hashCode() |
boolean |
hasUnlockTimestamp()
The unlock timestamp.
|
boolean |
hasVoteId()
The vote id.
|
boolean |
hasVoter()
The address of voter.
|
boolean |
hasVoteTimestamp()
The vote timestamp.
|
boolean |
hasWithdrawTimestamp()
The withdraw timestamp.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ElectionContract.ElectionVotingRecord.Builder |
newBuilder() |
static ElectionContract.ElectionVotingRecord.Builder |
newBuilder(ElectionContract.ElectionVotingRecord prototype) |
ElectionContract.ElectionVotingRecord.Builder |
newBuilderForType() |
protected ElectionContract.ElectionVotingRecord.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ElectionContract.ElectionVotingRecord |
parseDelimitedFrom(InputStream input) |
static ElectionContract.ElectionVotingRecord |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElectionContract.ElectionVotingRecord |
parseFrom(byte[] data) |
static ElectionContract.ElectionVotingRecord |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElectionContract.ElectionVotingRecord |
parseFrom(ByteBuffer data) |
static ElectionContract.ElectionVotingRecord |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElectionContract.ElectionVotingRecord |
parseFrom(com.google.protobuf.ByteString data) |
static ElectionContract.ElectionVotingRecord |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElectionContract.ElectionVotingRecord |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ElectionContract.ElectionVotingRecord |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElectionContract.ElectionVotingRecord |
parseFrom(InputStream input) |
static ElectionContract.ElectionVotingRecord |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ElectionContract.ElectionVotingRecord> |
parser() |
ElectionContract.ElectionVotingRecord.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, 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, writeTopublic static final int VOTER_FIELD_NUMBER
public static final int CANDIDATE_FIELD_NUMBER
public static final int AMOUNT_FIELD_NUMBER
public static final int TERM_NUMBER_FIELD_NUMBER
public static final int VOTE_ID_FIELD_NUMBER
public static final int LOCK_TIME_FIELD_NUMBER
public static final int UNLOCK_TIMESTAMP_FIELD_NUMBER
public static final int WITHDRAW_TIMESTAMP_FIELD_NUMBER
public static final int VOTE_TIMESTAMP_FIELD_NUMBER
public static final int IS_WITHDRAWN_FIELD_NUMBER
public static final int WEIGHT_FIELD_NUMBER
public static final int IS_CHANGE_TARGET_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public boolean hasVoter()
The address of voter.
.Address voter = 1;hasVoter 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic Client.Address getVoter()
The address of voter.
.Address voter = 1;getVoter 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic Client.AddressOrBuilder getVoterOrBuilder()
The address of voter.
.Address voter = 1;public String getCandidate()
The public key of candidate.
string candidate = 2;getCandidate 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic com.google.protobuf.ByteString getCandidateBytes()
The public key of candidate.
string candidate = 2;getCandidateBytes 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic long getAmount()
Amount of voting.
int64 amount = 3;getAmount 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic long getTermNumber()
The term number of voting.
int64 term_number = 4;getTermNumber 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic boolean hasVoteId()
The vote id.
.Hash vote_id = 5;hasVoteId 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic Client.Hash getVoteId()
The vote id.
.Hash vote_id = 5;getVoteId 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic Client.HashOrBuilder getVoteIdOrBuilder()
The vote id.
.Hash vote_id = 5;public long getLockTime()
Vote lock time.
int64 lock_time = 6;getLockTime 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic boolean hasUnlockTimestamp()
The unlock timestamp.
.google.protobuf.Timestamp unlock_timestamp = 7;hasUnlockTimestamp 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic com.google.protobuf.Timestamp getUnlockTimestamp()
The unlock timestamp.
.google.protobuf.Timestamp unlock_timestamp = 7;getUnlockTimestamp 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUnlockTimestampOrBuilder()
The unlock timestamp.
.google.protobuf.Timestamp unlock_timestamp = 7;public boolean hasWithdrawTimestamp()
The withdraw timestamp.
.google.protobuf.Timestamp withdraw_timestamp = 8;hasWithdrawTimestamp 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic com.google.protobuf.Timestamp getWithdrawTimestamp()
The withdraw timestamp.
.google.protobuf.Timestamp withdraw_timestamp = 8;getWithdrawTimestamp 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic com.google.protobuf.TimestampOrBuilder getWithdrawTimestampOrBuilder()
The withdraw timestamp.
.google.protobuf.Timestamp withdraw_timestamp = 8;public boolean hasVoteTimestamp()
The vote timestamp.
.google.protobuf.Timestamp vote_timestamp = 9;hasVoteTimestamp 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic com.google.protobuf.Timestamp getVoteTimestamp()
The vote timestamp.
.google.protobuf.Timestamp vote_timestamp = 9;getVoteTimestamp 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic com.google.protobuf.TimestampOrBuilder getVoteTimestampOrBuilder()
The vote timestamp.
.google.protobuf.Timestamp vote_timestamp = 9;public boolean getIsWithdrawn()
Indicates if the vote has been withdrawn.
bool is_withdrawn = 10;getIsWithdrawn 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic long getWeight()
Vote weight for sharing bonus.
int64 weight = 11;getWeight 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic boolean getIsChangeTarget()
Whether vote others.
bool is_change_target = 12;getIsChangeTarget 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static ElectionContract.ElectionVotingRecord parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionContract.ElectionVotingRecord parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionContract.ElectionVotingRecord parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionContract.ElectionVotingRecord parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionContract.ElectionVotingRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionContract.ElectionVotingRecord parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionContract.ElectionVotingRecord parseFrom(InputStream input) throws IOException
IOExceptionpublic static ElectionContract.ElectionVotingRecord parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ElectionContract.ElectionVotingRecord parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ElectionContract.ElectionVotingRecord parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ElectionContract.ElectionVotingRecord parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ElectionContract.ElectionVotingRecord parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ElectionContract.ElectionVotingRecord.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static ElectionContract.ElectionVotingRecord.Builder newBuilder()
public static ElectionContract.ElectionVotingRecord.Builder newBuilder(ElectionContract.ElectionVotingRecord prototype)
public ElectionContract.ElectionVotingRecord.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected ElectionContract.ElectionVotingRecord.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static ElectionContract.ElectionVotingRecord getDefaultInstance()
public static com.google.protobuf.Parser<ElectionContract.ElectionVotingRecord> parser()
public com.google.protobuf.Parser<ElectionContract.ElectionVotingRecord> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public ElectionContract.ElectionVotingRecord getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.