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()
sint64 amount = 3; |
String |
getCandidate()
string candidate = 2; |
com.google.protobuf.ByteString |
getCandidateBytes()
string candidate = 2; |
static ElectionContract.ElectionVotingRecord |
getDefaultInstance() |
ElectionContract.ElectionVotingRecord |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getIsChangeTarget()
bool is_change_target = 15; |
boolean |
getIsWithdrawn()
bool is_withdrawn = 13; |
long |
getLockTime()
sint64 lock_time = 7; |
com.google.protobuf.Parser<ElectionContract.ElectionVotingRecord> |
getParserForType() |
int |
getSerializedSize() |
long |
getTermNumber()
sint64 term_number = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.Timestamp |
getUnlockTimestamp()
.google.protobuf.Timestamp unlock_timestamp = 10; |
com.google.protobuf.TimestampOrBuilder |
getUnlockTimestampOrBuilder()
.google.protobuf.Timestamp unlock_timestamp = 10; |
Client.Hash |
getVoteId()
.Hash vote_id = 5; |
Client.HashOrBuilder |
getVoteIdOrBuilder()
.Hash vote_id = 5; |
Client.Address |
getVoter()
.Address voter = 1; |
Client.AddressOrBuilder |
getVoterOrBuilder()
.Address voter = 1; |
com.google.protobuf.Timestamp |
getVoteTimestamp()
.google.protobuf.Timestamp vote_timestamp = 12; |
com.google.protobuf.TimestampOrBuilder |
getVoteTimestampOrBuilder()
.google.protobuf.Timestamp vote_timestamp = 12; |
long |
getWeight()
sint64 weight = 14; |
com.google.protobuf.Timestamp |
getWithdrawTimestamp()
.google.protobuf.Timestamp withdraw_timestamp = 11; |
com.google.protobuf.TimestampOrBuilder |
getWithdrawTimestampOrBuilder()
.google.protobuf.Timestamp withdraw_timestamp = 11; |
int |
hashCode() |
boolean |
hasUnlockTimestamp()
.google.protobuf.Timestamp unlock_timestamp = 10; |
boolean |
hasVoteId()
.Hash vote_id = 5; |
boolean |
hasVoter()
.Address voter = 1; |
boolean |
hasVoteTimestamp()
.google.protobuf.Timestamp vote_timestamp = 12; |
boolean |
hasWithdrawTimestamp()
.google.protobuf.Timestamp withdraw_timestamp = 11; |
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()
.Address voter = 1;hasVoter 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic Client.Address getVoter()
.Address voter = 1;getVoter 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic Client.AddressOrBuilder getVoterOrBuilder()
.Address voter = 1;public String getCandidate()
string candidate = 2;getCandidate 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic com.google.protobuf.ByteString getCandidateBytes()
string candidate = 2;getCandidateBytes 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic long getAmount()
sint64 amount = 3;getAmount 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic long getTermNumber()
sint64 term_number = 4;getTermNumber 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic boolean hasVoteId()
.Hash vote_id = 5;hasVoteId 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic Client.Hash getVoteId()
.Hash vote_id = 5;getVoteId 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic Client.HashOrBuilder getVoteIdOrBuilder()
.Hash vote_id = 5;public long getLockTime()
sint64 lock_time = 7;getLockTime 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic boolean hasUnlockTimestamp()
.google.protobuf.Timestamp unlock_timestamp = 10;hasUnlockTimestamp 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic com.google.protobuf.Timestamp getUnlockTimestamp()
.google.protobuf.Timestamp unlock_timestamp = 10;getUnlockTimestamp 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUnlockTimestampOrBuilder()
.google.protobuf.Timestamp unlock_timestamp = 10;public boolean hasWithdrawTimestamp()
.google.protobuf.Timestamp withdraw_timestamp = 11;hasWithdrawTimestamp 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic com.google.protobuf.Timestamp getWithdrawTimestamp()
.google.protobuf.Timestamp withdraw_timestamp = 11;getWithdrawTimestamp 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic com.google.protobuf.TimestampOrBuilder getWithdrawTimestampOrBuilder()
.google.protobuf.Timestamp withdraw_timestamp = 11;public boolean hasVoteTimestamp()
.google.protobuf.Timestamp vote_timestamp = 12;hasVoteTimestamp 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic com.google.protobuf.Timestamp getVoteTimestamp()
.google.protobuf.Timestamp vote_timestamp = 12;getVoteTimestamp 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic com.google.protobuf.TimestampOrBuilder getVoteTimestampOrBuilder()
.google.protobuf.Timestamp vote_timestamp = 12;public boolean getIsWithdrawn()
bool is_withdrawn = 13;getIsWithdrawn 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic long getWeight()
sint64 weight = 14;getWeight 在接口中 ElectionContract.ElectionVotingRecordOrBuilderpublic boolean getIsChangeTarget()
bool is_change_target = 15;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.