public static interface Intent.TrainingPhraseOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Required.
|
ByteString |
getNameBytes()
Required.
|
Intent.TrainingPhrase.Part |
getParts(int index)
Required.
|
int |
getPartsCount()
Required.
|
java.util.List<Intent.TrainingPhrase.Part> |
getPartsList()
Required.
|
Intent.TrainingPhrase.PartOrBuilder |
getPartsOrBuilder(int index)
Required.
|
java.util.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, hasOneof
isInitialized
java.lang.String getName()
Required. The unique identifier of this training phrase.
string name = 1;
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;
java.util.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;
java.util.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;