public static interface Intent.TrainingPhrase.PartOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getParameterId()
The [parameter][google.cloud.dialogflow.cx.v3.Intent.Parameter] used to
annotate this part of the training phrase.
|
com.google.protobuf.ByteString |
getParameterIdBytes()
The [parameter][google.cloud.dialogflow.cx.v3.Intent.Parameter] used to
annotate this part of the training phrase.
|
String |
getText()
Required.
|
com.google.protobuf.ByteString |
getTextBytes()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getText()
Required. The text for this part.
string text = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getTextBytes()
Required. The text for this part.
string text = 1 [(.google.api.field_behavior) = REQUIRED];String getParameterId()
The [parameter][google.cloud.dialogflow.cx.v3.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;com.google.protobuf.ByteString getParameterIdBytes()
The [parameter][google.cloud.dialogflow.cx.v3.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;Copyright © 2025 Google LLC. All rights reserved.