Interface Intent.TrainingPhrase.PartOrBuilder (0.13.0)

public static interface Intent.TrainingPhrase.PartOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParameterId()

public abstract String getParameterId()

The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.

string parameter_id = 2;

Returns
TypeDescription
String

The parameterId.

getParameterIdBytes()

public abstract ByteString getParameterIdBytes()

The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.

string parameter_id = 2;

Returns
TypeDescription
ByteString

The bytes for parameterId.

getText()

public abstract String getText()

Required. The text for this part.

string text = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

Required. The text for this part.

string text = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for text.