* The unique identifier for a built-in intent. *
*/ private String signature; /** ** A list of locales that the intent supports. *
*/ private java.util.List
* An array of BuiltinIntentSlot
objects, one entry for each slot type in the intent.
*
* The unique identifier for a built-in intent. *
* * @param signature * The unique identifier for a built-in intent. */ public void setSignature(String signature) { this.signature = signature; } /** ** The unique identifier for a built-in intent. *
* * @return The unique identifier for a built-in intent. */ public String getSignature() { return this.signature; } /** ** The unique identifier for a built-in intent. *
* * @param signature * The unique identifier for a built-in intent. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBuiltinIntentResult withSignature(String signature) { setSignature(signature); return this; } /** ** A list of locales that the intent supports. *
* * @return A list of locales that the intent supports. * @see Locale */ public java.util.List* A list of locales that the intent supports. *
* * @param supportedLocales * A list of locales that the intent supports. * @see Locale */ public void setSupportedLocales(java.util.Collection* A list of locales that the intent supports. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSupportedLocales(java.util.Collection)} or {@link #withSupportedLocales(java.util.Collection)} if you * want to override the existing values. *
* * @param supportedLocales * A list of locales that the intent supports. * @return Returns a reference to this object so that method calls can be chained together. * @see Locale */ public GetBuiltinIntentResult withSupportedLocales(String... supportedLocales) { if (this.supportedLocales == null) { setSupportedLocales(new java.util.ArrayList* A list of locales that the intent supports. *
* * @param supportedLocales * A list of locales that the intent supports. * @return Returns a reference to this object so that method calls can be chained together. * @see Locale */ public GetBuiltinIntentResult withSupportedLocales(java.util.Collection* A list of locales that the intent supports. *
* * @param supportedLocales * A list of locales that the intent supports. * @return Returns a reference to this object so that method calls can be chained together. * @see Locale */ public GetBuiltinIntentResult withSupportedLocales(Locale... supportedLocales) { java.util.ArrayList
* An array of BuiltinIntentSlot
objects, one entry for each slot type in the intent.
*
BuiltinIntentSlot
objects, one entry for each slot type in the intent.
*/
public java.util.List
* An array of BuiltinIntentSlot
objects, one entry for each slot type in the intent.
*
BuiltinIntentSlot
objects, one entry for each slot type in the intent.
*/
public void setSlots(java.util.Collection
* An array of BuiltinIntentSlot
objects, one entry for each slot type in the intent.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setSlots(java.util.Collection)} or {@link #withSlots(java.util.Collection)} if you want to override the * existing values. *
* * @param slots * An array ofBuiltinIntentSlot
objects, one entry for each slot type in the intent.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetBuiltinIntentResult withSlots(BuiltinIntentSlot... slots) {
if (this.slots == null) {
setSlots(new java.util.ArrayList
* An array of BuiltinIntentSlot
objects, one entry for each slot type in the intent.
*
BuiltinIntentSlot
objects, one entry for each slot type in the intent.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetBuiltinIntentResult withSlots(java.util.Collection