Interface Intent.ParameterOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Intent.Parameter
,Intent.Parameter.Builder
- Enclosing class:
- Intent
public static interface Intent.ParameterOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getEntityType()
Required.com.google.protobuf.ByteString
getEntityTypeBytes()
Required.String
getId()
Required.com.google.protobuf.ByteString
getIdBytes()
Required.boolean
getIsList()
Indicates whether the parameter represents a list of values.boolean
getRedact()
Indicates whether the parameter content should be redacted in log.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
String getId()
Required. The unique identifier of the parameter. This field is used by [training phrases][google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase] to annotate their [parts][google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase.Part].
string id = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
Required. The unique identifier of the parameter. This field is used by [training phrases][google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase] to annotate their [parts][google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase.Part].
string id = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for id.
-
getEntityType
String getEntityType()
Required. The entity type of the parameter. Format: `projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID>` for system entity types (for example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID>` for developer entity types.
string entity_type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The entityType.
-
getEntityTypeBytes
com.google.protobuf.ByteString getEntityTypeBytes()
Required. The entity type of the parameter. Format: `projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID>` for system entity types (for example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID>` for developer entity types.
string entity_type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for entityType.
-
getIsList
boolean getIsList()
Indicates whether the parameter represents a list of values.
bool is_list = 3;
- Returns:
- The isList.
-
getRedact
boolean getRedact()
Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or [entity type level redaction][google.cloud.dialogflow.cx.v3.EntityType.redact] is enabled.
bool redact = 4;
- Returns:
- The redact.
-
-