public static interface CiscProto.DataOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsDevice(String key)
Device is a list of all devices allowed to sign
|
boolean |
containsStorage(String key)
Storage is the key/value storage
|
boolean |
containsVotes(String key)
Votes for that block, mapped by name of the devices.
|
Map<String,CiscProto.Device> |
getDevice()
Deprecated.
|
int |
getDeviceCount()
Device is a list of all devices allowed to sign
|
Map<String,CiscProto.Device> |
getDeviceMap()
Device is a list of all devices allowed to sign
|
CiscProto.Device |
getDeviceOrDefault(String key,
CiscProto.Device defaultValue)
Device is a list of all devices allowed to sign
|
CiscProto.Device |
getDeviceOrThrow(String key)
Device is a list of all devices allowed to sign
|
OnetProto.Roster |
getRoster()
Roster is the new proposed roster - nil if the old is to be used
|
OnetProto.RosterOrBuilder |
getRosterOrBuilder()
Roster is the new proposed roster - nil if the old is to be used
|
Map<String,String> |
getStorage()
Deprecated.
|
int |
getStorageCount()
Storage is the key/value storage
|
Map<String,String> |
getStorageMap()
Storage is the key/value storage
|
String |
getStorageOrDefault(String key,
String defaultValue)
Storage is the key/value storage
|
String |
getStorageOrThrow(String key)
Storage is the key/value storage
|
int |
getThreshold()
Threshold of how many devices need to sign to accept the new block
|
Map<String,com.google.protobuf.ByteString> |
getVotes()
Deprecated.
|
int |
getVotesCount()
Votes for that block, mapped by name of the devices.
|
Map<String,com.google.protobuf.ByteString> |
getVotesMap()
Votes for that block, mapped by name of the devices.
|
com.google.protobuf.ByteString |
getVotesOrDefault(String key,
com.google.protobuf.ByteString defaultValue)
Votes for that block, mapped by name of the devices.
|
com.google.protobuf.ByteString |
getVotesOrThrow(String key)
Votes for that block, mapped by name of the devices.
|
boolean |
hasRoster()
Roster is the new proposed roster - nil if the old is to be used
|
boolean |
hasThreshold()
Threshold of how many devices need to sign to accept the new block
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasThreshold()
Threshold of how many devices need to sign to accept the new block
required sint32 threshold = 1;int getThreshold()
Threshold of how many devices need to sign to accept the new block
required sint32 threshold = 1;int getDeviceCount()
Device is a list of all devices allowed to sign
map<string, .cisc.Device> device = 2;boolean containsDevice(String key)
Device is a list of all devices allowed to sign
map<string, .cisc.Device> device = 2;@Deprecated Map<String,CiscProto.Device> getDevice()
getDeviceMap() instead.Map<String,CiscProto.Device> getDeviceMap()
Device is a list of all devices allowed to sign
map<string, .cisc.Device> device = 2;CiscProto.Device getDeviceOrDefault(String key, CiscProto.Device defaultValue)
Device is a list of all devices allowed to sign
map<string, .cisc.Device> device = 2;CiscProto.Device getDeviceOrThrow(String key)
Device is a list of all devices allowed to sign
map<string, .cisc.Device> device = 2;int getStorageCount()
Storage is the key/value storage
map<string, string> storage = 3;boolean containsStorage(String key)
Storage is the key/value storage
map<string, string> storage = 3;@Deprecated Map<String,String> getStorage()
getStorageMap() instead.Map<String,String> getStorageMap()
Storage is the key/value storage
map<string, string> storage = 3;String getStorageOrDefault(String key, String defaultValue)
Storage is the key/value storage
map<string, string> storage = 3;String getStorageOrThrow(String key)
Storage is the key/value storage
map<string, string> storage = 3;boolean hasRoster()
Roster is the new proposed roster - nil if the old is to be used
optional .onet.Roster roster = 4;OnetProto.Roster getRoster()
Roster is the new proposed roster - nil if the old is to be used
optional .onet.Roster roster = 4;OnetProto.RosterOrBuilder getRosterOrBuilder()
Roster is the new proposed roster - nil if the old is to be used
optional .onet.Roster roster = 4;int getVotesCount()
Votes for that block, mapped by name of the devices. This has to be verified with the previous data-block, because only the previous data-block has the authority to sign for a new block.
map<string, bytes> votes = 5;boolean containsVotes(String key)
Votes for that block, mapped by name of the devices. This has to be verified with the previous data-block, because only the previous data-block has the authority to sign for a new block.
map<string, bytes> votes = 5;@Deprecated Map<String,com.google.protobuf.ByteString> getVotes()
getVotesMap() instead.Map<String,com.google.protobuf.ByteString> getVotesMap()
Votes for that block, mapped by name of the devices. This has to be verified with the previous data-block, because only the previous data-block has the authority to sign for a new block.
map<string, bytes> votes = 5;com.google.protobuf.ByteString getVotesOrDefault(String key, com.google.protobuf.ByteString defaultValue)
Votes for that block, mapped by name of the devices. This has to be verified with the previous data-block, because only the previous data-block has the authority to sign for a new block.
map<string, bytes> votes = 5;com.google.protobuf.ByteString getVotesOrThrow(String key)
Votes for that block, mapped by name of the devices. This has to be verified with the previous data-block, because only the previous data-block has the authority to sign for a new block.
map<string, bytes> votes = 5;Copyright © 2019. All rights reserved.