- 0.173.0 (latest)
- 0.172.0
- 0.171.0
- 0.169.0
- 0.168.0
- 0.167.0
- 0.166.0
- 0.165.0
- 0.164.0
- 0.163.0
- 0.162.0
- 0.161.0
- 0.160.0
- 0.159.0
- 0.157.0
- 0.156.0
- 0.155.0
- 0.154.0
- 0.153.0
- 0.152.0
- 0.151.0
- 0.150.0
- 0.149.0
- 0.148.0
- 0.147.0
- 0.144.0
- 0.143.0
- 0.142.0
- 0.141.0
- 0.140.0
- 0.139.0
- 0.138.0
- 0.137.0
- 0.136.0
- 0.135.0
- 0.134.0
- 0.133.0
- 0.132.0
- 0.131.0
- 0.129.0
- 0.128.0
- 0.127.0
- 0.126.0
- 0.125.0
- 0.124.0
- 0.123.7
- 0.122.11
public interface OperatorMetadataOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getComments(int index)
public abstract String getComments(int index)
Comments from contributors.
repeated string comments = 4;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The comments at the given index. |
getCommentsBytes(int index)
public abstract ByteString getCommentsBytes(int index)
Comments from contributors.
repeated string comments = 4;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the comments at the given index. |
getCommentsCount()
public abstract int getCommentsCount()
Comments from contributors.
repeated string comments = 4;
Returns | |
---|---|
Type | Description |
int |
The count of comments. |
getCommentsList()
public abstract List<String> getCommentsList()
Comments from contributors.
repeated string comments = 4;
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the comments. |
getLabelVotes()
public abstract int getLabelVotes()
The total number of contributors that choose this label.
int32 label_votes = 3;
Returns | |
---|---|
Type | Description |
int |
The labelVotes. |
getScore()
public abstract float getScore()
Confidence score corresponding to a label. For examle, if 3 contributors have answered the question and 2 of them agree on the final label, the confidence score will be 0.67 (2/3).
float score = 1;
Returns | |
---|---|
Type | Description |
float |
The score. |
getTotalVotes()
public abstract int getTotalVotes()
The total number of contributors that answer this question.
int32 total_votes = 2;
Returns | |
---|---|
Type | Description |
int |
The totalVotes. |