public static interface ElectionContract.DataCenterRankingListOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsDataCenters(String key)
The top n * 5 candidates with vote amount, candidate public key -> vote amount.
|
Map<String,Long> |
getDataCenters()
已过时。
|
int |
getDataCentersCount()
The top n * 5 candidates with vote amount, candidate public key -> vote amount.
|
Map<String,Long> |
getDataCentersMap()
The top n * 5 candidates with vote amount, candidate public key -> vote amount.
|
long |
getDataCentersOrDefault(String key,
long defaultValue)
The top n * 5 candidates with vote amount, candidate public key -> vote amount.
|
long |
getDataCentersOrThrow(String key)
The top n * 5 candidates with vote amount, candidate public key -> vote amount.
|
long |
getMinimumVotes()
int64 minimum_votes = 2; |
int getDataCentersCount()
The top n * 5 candidates with vote amount, candidate public key -> vote amount.
map<string, int64> data_centers = 1;boolean containsDataCenters(String key)
The top n * 5 candidates with vote amount, candidate public key -> vote amount.
map<string, int64> data_centers = 1;@Deprecated Map<String,Long> getDataCenters()
getDataCentersMap() instead.Map<String,Long> getDataCentersMap()
The top n * 5 candidates with vote amount, candidate public key -> vote amount.
map<string, int64> data_centers = 1;long getDataCentersOrDefault(String key, long defaultValue)
The top n * 5 candidates with vote amount, candidate public key -> vote amount.
map<string, int64> data_centers = 1;long getDataCentersOrThrow(String key)
The top n * 5 candidates with vote amount, candidate public key -> vote amount.
map<string, int64> data_centers = 1;long getMinimumVotes()
int64 minimum_votes = 2;Copyright © 2020. All rights reserved.