public static interface Intent.TrainingPhraseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
Intent.TrainingPhrase.Part |
getParts(int index)
Required.
|
int |
getPartsCount()
Required.
|
List<Intent.TrainingPhrase.Part> |
getPartsList()
Required.
|
Intent.TrainingPhrase.PartOrBuilder |
getPartsOrBuilder(int index)
Required.
|
List<? extends Intent.TrainingPhrase.PartOrBuilder> |
getPartsOrBuilderList()
Required.
|
int |
getTimesAddedCount()
Optional.
|
Intent.TrainingPhrase.Type |
getType()
Required.
|
int |
getTypeValue()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Required. The unique identifier of this training phrase.
string name = 1;com.google.protobuf.ByteString getNameBytes()
Required. The unique identifier of this training phrase.
string name = 1;int getTypeValue()
Required. The type of the training phrase.
.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Type type = 2;Intent.TrainingPhrase.Type getType()
Required. The type of the training phrase.
.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Type type = 2;List<Intent.TrainingPhrase.Part> getPartsList()
Required. The collection of training phrase parts (can be annotated). Fields: `entity_type`, `alias` and `user_defined` should be populated only for the annotated parts of the training phrase.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part parts = 3;Intent.TrainingPhrase.Part getParts(int index)
Required. The collection of training phrase parts (can be annotated). Fields: `entity_type`, `alias` and `user_defined` should be populated only for the annotated parts of the training phrase.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part parts = 3;int getPartsCount()
Required. The collection of training phrase parts (can be annotated). Fields: `entity_type`, `alias` and `user_defined` should be populated only for the annotated parts of the training phrase.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part parts = 3;List<? extends Intent.TrainingPhrase.PartOrBuilder> getPartsOrBuilderList()
Required. The collection of training phrase parts (can be annotated). Fields: `entity_type`, `alias` and `user_defined` should be populated only for the annotated parts of the training phrase.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part parts = 3;Intent.TrainingPhrase.PartOrBuilder getPartsOrBuilder(int index)
Required. The collection of training phrase parts (can be annotated). Fields: `entity_type`, `alias` and `user_defined` should be populated only for the annotated parts of the training phrase.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part parts = 3;int getTimesAddedCount()
Optional. Indicates how many times this example or template was added to the intent. Each time a developer adds an existing sample by editing an intent or training, this counter is increased.
int32 times_added_count = 4;Copyright © 2019 Google LLC. All rights reserved.