Interface Intent.ParameterOrBuilder (0.31.0)

public static interface Intent.ParameterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEntityType()

public abstract 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
Type Description
String

The entityType.

getEntityTypeBytes()

public abstract 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
Type Description
ByteString

The bytes for entityType.

getId()

public abstract String getId()

Required. The unique identifier of the parameter. This field is used by training phrases to annotate their parts.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Required. The unique identifier of the parameter. This field is used by training phrases to annotate their parts.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for id.

getIsList()

public abstract boolean getIsList()

Indicates whether the parameter represents a list of values.

bool is_list = 3;

Returns
Type Description
boolean

The isList.

getRedact()

public abstract 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 is enabled.

bool redact = 4;

Returns
Type Description
boolean

The redact.