Interface Intent.TrainingPhrase.PartOrBuilder (0.42.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
Type Description
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
Type Description
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
Type Description
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

Required. The text for this part.

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

Returns
Type Description
ByteString

The bytes for text.