public static interface Intent.ParameterOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultValue()
Optional.
|
ByteString |
getDefaultValueBytes()
Optional.
|
java.lang.String |
getDisplayName()
Required.
|
ByteString |
getDisplayNameBytes()
Required.
|
java.lang.String |
getEntityTypeDisplayName()
Optional.
|
ByteString |
getEntityTypeDisplayNameBytes()
Optional.
|
boolean |
getIsList()
Optional.
|
boolean |
getMandatory()
Optional.
|
java.lang.String |
getName()
The unique identifier of this parameter.
|
ByteString |
getNameBytes()
The unique identifier of this parameter.
|
java.lang.String |
getPrompts(int index)
Optional.
|
ByteString |
getPromptsBytes(int index)
Optional.
|
int |
getPromptsCount()
Optional.
|
java.util.List<java.lang.String> |
getPromptsList()
Optional.
|
java.lang.String |
getValue()
Optional.
|
ByteString |
getValueBytes()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.lang.String getName()
The unique identifier of this parameter.
string name = 1;
ByteString getNameBytes()
The unique identifier of this parameter.
string name = 1;
java.lang.String getDisplayName()
Required. The name of the parameter.
string display_name = 2;
ByteString getDisplayNameBytes()
Required. The name of the parameter.
string display_name = 2;
java.lang.String getValue()
Optional. The definition of the parameter value. It can be: - a constant string, - a parameter value defined as `$parameter_name`, - an original parameter value defined as `$parameter_name.original`, - a parameter value from some context defined as `#context_name.parameter_name`.
string value = 3;
ByteString getValueBytes()
Optional. The definition of the parameter value. It can be: - a constant string, - a parameter value defined as `$parameter_name`, - an original parameter value defined as `$parameter_name.original`, - a parameter value from some context defined as `#context_name.parameter_name`.
string value = 3;
java.lang.String getDefaultValue()
Optional. The default value to use when the `value` yields an empty result. Default values can be extracted from contexts by using the following syntax: `#context_name.parameter_name`.
string default_value = 4;
ByteString getDefaultValueBytes()
Optional. The default value to use when the `value` yields an empty result. Default values can be extracted from contexts by using the following syntax: `#context_name.parameter_name`.
string default_value = 4;
java.lang.String getEntityTypeDisplayName()
Optional. The name of the entity type, prefixed with `@`, that describes values of the parameter. If the parameter is required, this must be provided.
string entity_type_display_name = 5;
ByteString getEntityTypeDisplayNameBytes()
Optional. The name of the entity type, prefixed with `@`, that describes values of the parameter. If the parameter is required, this must be provided.
string entity_type_display_name = 5;
boolean getMandatory()
Optional. Indicates whether the parameter is required. That is, whether the intent cannot be completed without collecting the parameter value.
bool mandatory = 6;
java.util.List<java.lang.String> getPromptsList()
Optional. The collection of prompts that the agent can present to the user in order to collect value for the parameter.
repeated string prompts = 7;
int getPromptsCount()
Optional. The collection of prompts that the agent can present to the user in order to collect value for the parameter.
repeated string prompts = 7;
java.lang.String getPrompts(int index)
Optional. The collection of prompts that the agent can present to the user in order to collect value for the parameter.
repeated string prompts = 7;
ByteString getPromptsBytes(int index)
Optional. The collection of prompts that the agent can present to the user in order to collect value for the parameter.
repeated string prompts = 7;
boolean getIsList()
Optional. Indicates whether the parameter represents a list of values.
bool is_list = 8;