Interface Agent.PersonalizationSettingsOrBuilder (0.57.0)

public static interface Agent.PersonalizationSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDefaultEndUserMetadata()

public abstract Struct getDefaultEndUserMetadata()

Optional. Default end user metadata, used when processing DetectIntent requests. Recommended to be filled as a template instead of hard-coded value, for example { "age": "$session.params.age" }. The data will be merged with the QueryParameters.end_user_metadata in DetectIntentRequest.query_params during query processing.

.google.protobuf.Struct default_end_user_metadata = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Struct

The defaultEndUserMetadata.

getDefaultEndUserMetadataOrBuilder()

public abstract StructOrBuilder getDefaultEndUserMetadataOrBuilder()

Optional. Default end user metadata, used when processing DetectIntent requests. Recommended to be filled as a template instead of hard-coded value, for example { "age": "$session.params.age" }. The data will be merged with the QueryParameters.end_user_metadata in DetectIntentRequest.query_params during query processing.

.google.protobuf.Struct default_end_user_metadata = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StructOrBuilder

hasDefaultEndUserMetadata()

public abstract boolean hasDefaultEndUserMetadata()

Optional. Default end user metadata, used when processing DetectIntent requests. Recommended to be filled as a template instead of hard-coded value, for example { "age": "$session.params.age" }. The data will be merged with the QueryParameters.end_user_metadata in DetectIntentRequest.query_params during query processing.

.google.protobuf.Struct default_end_user_metadata = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the defaultEndUserMetadata field is set.