public static interface VoteContract.VotingResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsResults(String key)
The voting result, option -> amount of votes,
map<string, int64> results = 2; |
Map<String,Long> |
getResults()
已过时。
|
int |
getResultsCount()
The voting result, option -> amount of votes,
map<string, int64> results = 2; |
Map<String,Long> |
getResultsMap()
The voting result, option -> amount of votes,
map<string, int64> results = 2; |
long |
getResultsOrDefault(String key,
long defaultValue)
The voting result, option -> amount of votes,
map<string, int64> results = 2; |
long |
getResultsOrThrow(String key)
The voting result, option -> amount of votes,
map<string, int64> results = 2; |
com.google.protobuf.Timestamp |
getSnapshotEndTimestamp()
The end time of this snapshot.
|
com.google.protobuf.TimestampOrBuilder |
getSnapshotEndTimestampOrBuilder()
The end time of this snapshot.
|
long |
getSnapshotNumber()
The snapshot number.
|
com.google.protobuf.Timestamp |
getSnapshotStartTimestamp()
The start time of this snapshot.
|
com.google.protobuf.TimestampOrBuilder |
getSnapshotStartTimestampOrBuilder()
The start time of this snapshot.
|
long |
getVotersCount()
The total number of voters.
|
long |
getVotesAmount()
Total votes received during the process of this snapshot.
|
Client.Hash |
getVotingItemId()
The voting activity id.
|
Client.HashOrBuilder |
getVotingItemIdOrBuilder()
The voting activity id.
|
boolean |
hasSnapshotEndTimestamp()
The end time of this snapshot.
|
boolean |
hasSnapshotStartTimestamp()
The start time of this snapshot.
|
boolean |
hasVotingItemId()
The voting activity id.
|
boolean hasVotingItemId()
The voting activity id.
.Hash voting_item_id = 1;Client.Hash getVotingItemId()
The voting activity id.
.Hash voting_item_id = 1;Client.HashOrBuilder getVotingItemIdOrBuilder()
The voting activity id.
.Hash voting_item_id = 1;int getResultsCount()
The voting result, option -> amount of votes,
map<string, int64> results = 2;boolean containsResults(String key)
The voting result, option -> amount of votes,
map<string, int64> results = 2;@Deprecated Map<String,Long> getResults()
getResultsMap() instead.Map<String,Long> getResultsMap()
The voting result, option -> amount of votes,
map<string, int64> results = 2;long getResultsOrDefault(String key, long defaultValue)
The voting result, option -> amount of votes,
map<string, int64> results = 2;long getResultsOrThrow(String key)
The voting result, option -> amount of votes,
map<string, int64> results = 2;long getSnapshotNumber()
The snapshot number.
int64 snapshot_number = 3;long getVotersCount()
The total number of voters.
int64 voters_count = 4;boolean hasSnapshotStartTimestamp()
The start time of this snapshot.
.google.protobuf.Timestamp snapshot_start_timestamp = 5;com.google.protobuf.Timestamp getSnapshotStartTimestamp()
The start time of this snapshot.
.google.protobuf.Timestamp snapshot_start_timestamp = 5;com.google.protobuf.TimestampOrBuilder getSnapshotStartTimestampOrBuilder()
The start time of this snapshot.
.google.protobuf.Timestamp snapshot_start_timestamp = 5;boolean hasSnapshotEndTimestamp()
The end time of this snapshot.
.google.protobuf.Timestamp snapshot_end_timestamp = 6;com.google.protobuf.Timestamp getSnapshotEndTimestamp()
The end time of this snapshot.
.google.protobuf.Timestamp snapshot_end_timestamp = 6;com.google.protobuf.TimestampOrBuilder getSnapshotEndTimestampOrBuilder()
The end time of this snapshot.
.google.protobuf.Timestamp snapshot_end_timestamp = 6;long getVotesAmount()
Total votes received during the process of this snapshot.
int64 votes_amount = 7;Copyright © 2020. All rights reserved.