public static final class ElectionContract.ElectorVote extends com.google.protobuf.GeneratedMessageV3 implements ElectionContract.ElectorVoteOrBuilder
ElectorVote| 限定符和类型 | 类和说明 |
|---|---|
static class |
ElectionContract.ElectorVote.Builder
Protobuf type
ElectorVote |
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 |
ACTIVE_VOTED_VOTES_AMOUNT_FIELD_NUMBER |
static int |
ACTIVE_VOTING_RECORD_IDS_FIELD_NUMBER |
static int |
ACTIVE_VOTING_RECORDS_FIELD_NUMBER |
static int |
ALL_VOTED_VOTES_AMOUNT_FIELD_NUMBER |
static int |
PUBKEY_FIELD_NUMBER |
static int |
WITHDRAWN_VOTES_RECORDS_FIELD_NUMBER |
static int |
WITHDRAWN_VOTING_RECORD_IDS_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
long |
getActiveVotedVotesAmount()
The total number of active votes.
|
Client.Hash |
getActiveVotingRecordIds(int index)
The active voting record ids.
|
int |
getActiveVotingRecordIdsCount()
The active voting record ids.
|
List<Client.Hash> |
getActiveVotingRecordIdsList()
The active voting record ids.
|
Client.HashOrBuilder |
getActiveVotingRecordIdsOrBuilder(int index)
The active voting record ids.
|
List<? extends Client.HashOrBuilder> |
getActiveVotingRecordIdsOrBuilderList()
The active voting record ids.
|
ElectionContract.ElectionVotingRecord |
getActiveVotingRecords(int index)
The active voting records.
|
int |
getActiveVotingRecordsCount()
The active voting records.
|
List<ElectionContract.ElectionVotingRecord> |
getActiveVotingRecordsList()
The active voting records.
|
ElectionContract.ElectionVotingRecordOrBuilder |
getActiveVotingRecordsOrBuilder(int index)
The active voting records.
|
List<? extends ElectionContract.ElectionVotingRecordOrBuilder> |
getActiveVotingRecordsOrBuilderList()
The active voting records.
|
long |
getAllVotedVotesAmount()
The total number of votes (including the number of votes withdrawn).
|
static ElectionContract.ElectorVote |
getDefaultInstance() |
ElectionContract.ElectorVote |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ElectionContract.ElectorVote> |
getParserForType() |
com.google.protobuf.ByteString |
getPubkey()
Public key for voter.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
ElectionContract.ElectionVotingRecord |
getWithdrawnVotesRecords(int index)
The voting records that were withdrawn.
|
int |
getWithdrawnVotesRecordsCount()
The voting records that were withdrawn.
|
List<ElectionContract.ElectionVotingRecord> |
getWithdrawnVotesRecordsList()
The voting records that were withdrawn.
|
ElectionContract.ElectionVotingRecordOrBuilder |
getWithdrawnVotesRecordsOrBuilder(int index)
The voting records that were withdrawn.
|
List<? extends ElectionContract.ElectionVotingRecordOrBuilder> |
getWithdrawnVotesRecordsOrBuilderList()
The voting records that were withdrawn.
|
Client.Hash |
getWithdrawnVotingRecordIds(int index)
The voting record ids that were withdrawn.
|
int |
getWithdrawnVotingRecordIdsCount()
The voting record ids that were withdrawn.
|
List<Client.Hash> |
getWithdrawnVotingRecordIdsList()
The voting record ids that were withdrawn.
|
Client.HashOrBuilder |
getWithdrawnVotingRecordIdsOrBuilder(int index)
The voting record ids that were withdrawn.
|
List<? extends Client.HashOrBuilder> |
getWithdrawnVotingRecordIdsOrBuilderList()
The voting record ids that were withdrawn.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ElectionContract.ElectorVote.Builder |
newBuilder() |
static ElectionContract.ElectorVote.Builder |
newBuilder(ElectionContract.ElectorVote prototype) |
ElectionContract.ElectorVote.Builder |
newBuilderForType() |
protected ElectionContract.ElectorVote.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ElectionContract.ElectorVote |
parseDelimitedFrom(InputStream input) |
static ElectionContract.ElectorVote |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElectionContract.ElectorVote |
parseFrom(byte[] data) |
static ElectionContract.ElectorVote |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElectionContract.ElectorVote |
parseFrom(ByteBuffer data) |
static ElectionContract.ElectorVote |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElectionContract.ElectorVote |
parseFrom(com.google.protobuf.ByteString data) |
static ElectionContract.ElectorVote |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElectionContract.ElectorVote |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ElectionContract.ElectorVote |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElectionContract.ElectorVote |
parseFrom(InputStream input) |
static ElectionContract.ElectorVote |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ElectionContract.ElectorVote> |
parser() |
ElectionContract.ElectorVote.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 ACTIVE_VOTING_RECORD_IDS_FIELD_NUMBER
public static final int WITHDRAWN_VOTING_RECORD_IDS_FIELD_NUMBER
public static final int ACTIVE_VOTED_VOTES_AMOUNT_FIELD_NUMBER
public static final int ALL_VOTED_VOTES_AMOUNT_FIELD_NUMBER
public static final int ACTIVE_VOTING_RECORDS_FIELD_NUMBER
public static final int WITHDRAWN_VOTES_RECORDS_FIELD_NUMBER
public static final int PUBKEY_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 List<Client.Hash> getActiveVotingRecordIdsList()
The active voting record ids.
repeated .Hash active_voting_record_ids = 1;public List<? extends Client.HashOrBuilder> getActiveVotingRecordIdsOrBuilderList()
The active voting record ids.
repeated .Hash active_voting_record_ids = 1;public int getActiveVotingRecordIdsCount()
The active voting record ids.
repeated .Hash active_voting_record_ids = 1;public Client.Hash getActiveVotingRecordIds(int index)
The active voting record ids.
repeated .Hash active_voting_record_ids = 1;public Client.HashOrBuilder getActiveVotingRecordIdsOrBuilder(int index)
The active voting record ids.
repeated .Hash active_voting_record_ids = 1;public List<Client.Hash> getWithdrawnVotingRecordIdsList()
The voting record ids that were withdrawn.
repeated .Hash withdrawn_voting_record_ids = 2;public List<? extends Client.HashOrBuilder> getWithdrawnVotingRecordIdsOrBuilderList()
The voting record ids that were withdrawn.
repeated .Hash withdrawn_voting_record_ids = 2;public int getWithdrawnVotingRecordIdsCount()
The voting record ids that were withdrawn.
repeated .Hash withdrawn_voting_record_ids = 2;public Client.Hash getWithdrawnVotingRecordIds(int index)
The voting record ids that were withdrawn.
repeated .Hash withdrawn_voting_record_ids = 2;public Client.HashOrBuilder getWithdrawnVotingRecordIdsOrBuilder(int index)
The voting record ids that were withdrawn.
repeated .Hash withdrawn_voting_record_ids = 2;public long getActiveVotedVotesAmount()
The total number of active votes.
int64 active_voted_votes_amount = 3;getActiveVotedVotesAmount 在接口中 ElectionContract.ElectorVoteOrBuilderpublic long getAllVotedVotesAmount()
The total number of votes (including the number of votes withdrawn).
int64 all_voted_votes_amount = 4;getAllVotedVotesAmount 在接口中 ElectionContract.ElectorVoteOrBuilderpublic List<ElectionContract.ElectionVotingRecord> getActiveVotingRecordsList()
The active voting records.
repeated .ElectionVotingRecord active_voting_records = 5;public List<? extends ElectionContract.ElectionVotingRecordOrBuilder> getActiveVotingRecordsOrBuilderList()
The active voting records.
repeated .ElectionVotingRecord active_voting_records = 5;public int getActiveVotingRecordsCount()
The active voting records.
repeated .ElectionVotingRecord active_voting_records = 5;public ElectionContract.ElectionVotingRecord getActiveVotingRecords(int index)
The active voting records.
repeated .ElectionVotingRecord active_voting_records = 5;public ElectionContract.ElectionVotingRecordOrBuilder getActiveVotingRecordsOrBuilder(int index)
The active voting records.
repeated .ElectionVotingRecord active_voting_records = 5;public List<ElectionContract.ElectionVotingRecord> getWithdrawnVotesRecordsList()
The voting records that were withdrawn.
repeated .ElectionVotingRecord withdrawn_votes_records = 6;public List<? extends ElectionContract.ElectionVotingRecordOrBuilder> getWithdrawnVotesRecordsOrBuilderList()
The voting records that were withdrawn.
repeated .ElectionVotingRecord withdrawn_votes_records = 6;public int getWithdrawnVotesRecordsCount()
The voting records that were withdrawn.
repeated .ElectionVotingRecord withdrawn_votes_records = 6;public ElectionContract.ElectionVotingRecord getWithdrawnVotesRecords(int index)
The voting records that were withdrawn.
repeated .ElectionVotingRecord withdrawn_votes_records = 6;public ElectionContract.ElectionVotingRecordOrBuilder getWithdrawnVotesRecordsOrBuilder(int index)
The voting records that were withdrawn.
repeated .ElectionVotingRecord withdrawn_votes_records = 6;public com.google.protobuf.ByteString getPubkey()
Public key for voter.
bytes pubkey = 7;getPubkey 在接口中 ElectionContract.ElectorVoteOrBuilderpublic 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.ElectorVote parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionContract.ElectorVote parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionContract.ElectorVote parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionContract.ElectorVote parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionContract.ElectorVote parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionContract.ElectorVote parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElectionContract.ElectorVote parseFrom(InputStream input) throws IOException
IOExceptionpublic static ElectionContract.ElectorVote parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ElectionContract.ElectorVote parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ElectionContract.ElectorVote parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ElectionContract.ElectorVote parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ElectionContract.ElectorVote parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ElectionContract.ElectorVote.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static ElectionContract.ElectorVote.Builder newBuilder()
public static ElectionContract.ElectorVote.Builder newBuilder(ElectionContract.ElectorVote prototype)
public ElectionContract.ElectorVote.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected ElectionContract.ElectorVote.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static ElectionContract.ElectorVote getDefaultInstance()
public static com.google.protobuf.Parser<ElectionContract.ElectorVote> parser()
public com.google.protobuf.Parser<ElectionContract.ElectorVote> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public ElectionContract.ElectorVote getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.