Interface OperatorMetadataOrBuilder (0.128.0)

public interface OperatorMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getComments(int index)

public abstract String getComments(int index)

Comments from contributors.

repeated string comments = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The comments at the given index.

getCommentsBytes(int index)

public abstract ByteString getCommentsBytes(int index)

Comments from contributors.

repeated string comments = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the comments at the given index.

getCommentsCount()

public abstract int getCommentsCount()

Comments from contributors.

repeated string comments = 4;

Returns
TypeDescription
int

The count of comments.

getCommentsList()

public abstract List<String> getCommentsList()

Comments from contributors.

repeated string comments = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
float

The score.

getTotalVotes()

public abstract int getTotalVotes()

The total number of contributors that answer this question.

int32 total_votes = 2;

Returns
TypeDescription
int

The totalVotes.