Interface Intent.TrainingPhrase.PartOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • 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.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;
        Returns:
        The parameterId.
      • getParameterIdBytes

        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;
        Returns:
        The bytes for parameterId.