public static class FeedbackDataInput.Builder
extends java.lang.Object
| Constructor and Description | 
|---|
| Builder()Instantiates a new builder. | 
| Builder(java.lang.String feedbackType,
       Location location,
       java.lang.String text,
       OriginalLabelsIn originalLabels,
       UpdatedLabelsIn updatedLabels)Instantiates a new builder with required properties. | 
| Modifier and Type | Method and Description | 
|---|---|
| FeedbackDataInput | build()Builds a FeedbackDataInput. | 
| FeedbackDataInput.Builder | document(ShortDoc document)Set the document. | 
| FeedbackDataInput.Builder | feedbackType(java.lang.String feedbackType)Set the feedbackType. | 
| FeedbackDataInput.Builder | location(Location location)Set the location. | 
| FeedbackDataInput.Builder | modelId(java.lang.String modelId)Set the modelId. | 
| FeedbackDataInput.Builder | modelVersion(java.lang.String modelVersion)Set the modelVersion. | 
| FeedbackDataInput.Builder | originalLabels(OriginalLabelsIn originalLabels)Set the originalLabels. | 
| FeedbackDataInput.Builder | text(java.lang.String text)Set the text. | 
| FeedbackDataInput.Builder | updatedLabels(UpdatedLabelsIn updatedLabels)Set the updatedLabels. | 
public Builder()
public Builder(java.lang.String feedbackType,
               Location location,
               java.lang.String text,
               OriginalLabelsIn originalLabels,
               UpdatedLabelsIn updatedLabels)
feedbackType - the feedbackTypelocation - the locationtext - the textoriginalLabels - the originalLabelsupdatedLabels - the updatedLabelspublic FeedbackDataInput build()
public FeedbackDataInput.Builder feedbackType(java.lang.String feedbackType)
feedbackType - the feedbackTypepublic FeedbackDataInput.Builder document(ShortDoc document)
document - the documentpublic FeedbackDataInput.Builder modelId(java.lang.String modelId)
modelId - the modelIdpublic FeedbackDataInput.Builder modelVersion(java.lang.String modelVersion)
modelVersion - the modelVersionpublic FeedbackDataInput.Builder location(Location location)
location - the locationpublic FeedbackDataInput.Builder text(java.lang.String text)
text - the textpublic FeedbackDataInput.Builder originalLabels(OriginalLabelsIn originalLabels)
originalLabels - the originalLabelspublic FeedbackDataInput.Builder updatedLabels(UpdatedLabelsIn updatedLabels)
updatedLabels - the updatedLabels