BatchLabelExample クラス
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. BatchLabelExample
- com.
public class BatchLabelExample
ラベル付けされた発話の例のバッチを追加するときの応答。
メソッドの概要
| 修飾子と型 | メソッドと説明 |
|---|---|
|
Operation |
error()
エラー値を取得します。 |
| Boolean |
hasError()
hasError 値を取得します。 |
|
Label |
value()
値を取得します。 |
|
Batch |
withError(OperationStatus error)
エラー値を設定します。 |
|
Batch |
withHasError(Boolean hasError)
hasError 値を設定します。 |
|
Batch |
withValue(LabelExampleResponse value)
値を設定します。 |
メソッドの詳細
error
public OperationStatus error()
エラー値を取得します。
Returns:
hasError
public Boolean hasError()
hasError 値を取得します。
Returns:
value
public LabelExampleResponse value()
値を取得します。
Returns:
withError
public BatchLabelExample withError(OperationStatus error)
エラー値を設定します。
Parameters:
Returns:
withHasError
public BatchLabelExample withHasError(Boolean hasError)
hasError 値を設定します。
Parameters:
Returns:
withValue
public BatchLabelExample withValue(LabelExampleResponse value)
値を設定します。
Parameters:
Returns: