Interface Intent.TrainingPhrase.PartOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Intent.TrainingPhrase.Part,Intent.TrainingPhrase.Part.Builder
- Enclosing class:
- Intent.TrainingPhrase
public static interface Intent.TrainingPhrase.PartOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] used to annotate this part of the training phrase.com.google.protobuf.ByteStringThe [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] used to annotate this part of the training phrase.getText()Required.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getText
String getText()Required. The text for this part.
string text = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()Required. The text for this part.
string text = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for text.
-
getParameterId
String getParameterId()The [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.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:
- The parameterId.
-
getParameterIdBytes
com.google.protobuf.ByteString getParameterIdBytes()The [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.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:
- The bytes for parameterId.
-