public static interface AutopilotOuterClass.SetScoresRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsScores(java.lang.String key)
A map from hex-encoded public keys to scores.
|
java.lang.String |
getHeuristic()
The name of the heuristic to provide scores to.
|
com.google.protobuf.ByteString |
getHeuristicBytes()
The name of the heuristic to provide scores to.
|
java.util.Map<java.lang.String,java.lang.Double> |
getScores()
Deprecated.
|
int |
getScoresCount()
A map from hex-encoded public keys to scores.
|
java.util.Map<java.lang.String,java.lang.Double> |
getScoresMap()
A map from hex-encoded public keys to scores.
|
double |
getScoresOrDefault(java.lang.String key,
double defaultValue)
A map from hex-encoded public keys to scores.
|
double |
getScoresOrThrow(java.lang.String key)
A map from hex-encoded public keys to scores.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
java.lang.String getHeuristic()
The name of the heuristic to provide scores to.
string heuristic = 1;
com.google.protobuf.ByteString getHeuristicBytes()
The name of the heuristic to provide scores to.
string heuristic = 1;
int getScoresCount()
A map from hex-encoded public keys to scores. Scores must be in the range [0.0, 1.0].
map<string, double> scores = 2;
boolean containsScores(java.lang.String key)
A map from hex-encoded public keys to scores. Scores must be in the range [0.0, 1.0].
map<string, double> scores = 2;
@Deprecated java.util.Map<java.lang.String,java.lang.Double> getScores()
getScoresMap()
instead.java.util.Map<java.lang.String,java.lang.Double> getScoresMap()
A map from hex-encoded public keys to scores. Scores must be in the range [0.0, 1.0].
map<string, double> scores = 2;
double getScoresOrDefault(java.lang.String key, double defaultValue)
A map from hex-encoded public keys to scores. Scores must be in the range [0.0, 1.0].
map<string, double> scores = 2;
double getScoresOrThrow(java.lang.String key)
A map from hex-encoded public keys to scores. Scores must be in the range [0.0, 1.0].
map<string, double> scores = 2;