public static final class Agent.PersonalizationSettings.Builder extends GeneratedMessageV3.Builder<Agent.PersonalizationSettings.Builder> implements Agent.PersonalizationSettingsOrBuilder
Settings for end user personalization.
Protobuf type google.cloud.dialogflow.cx.v3beta1.Agent.PersonalizationSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Agent.PersonalizationSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Agent.PersonalizationSettings build()
buildPartial()
public Agent.PersonalizationSettings buildPartial()
clear()
public Agent.PersonalizationSettings.Builder clear()
Overrides
public Agent.PersonalizationSettings.Builder clearDefaultEndUserMetadata()
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];
clearField(Descriptors.FieldDescriptor field)
public Agent.PersonalizationSettings.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Agent.PersonalizationSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Agent.PersonalizationSettings.Builder clone()
Overrides
public 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.
|
public Struct.Builder getDefaultEndUserMetadataBuilder()
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];
public 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];
getDefaultInstanceForType()
public Agent.PersonalizationSettings getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public Agent.PersonalizationSettings.Builder mergeDefaultEndUserMetadata(Struct value)
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];
Parameter |
Name |
Description |
value |
Struct
|
mergeFrom(Agent.PersonalizationSettings other)
public Agent.PersonalizationSettings.Builder mergeFrom(Agent.PersonalizationSettings other)
public Agent.PersonalizationSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Agent.PersonalizationSettings.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Agent.PersonalizationSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Agent.PersonalizationSettings.Builder setDefaultEndUserMetadata(Struct value)
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];
Parameter |
Name |
Description |
value |
Struct
|
public Agent.PersonalizationSettings.Builder setDefaultEndUserMetadata(Struct.Builder builderForValue)
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];
Parameter |
Name |
Description |
builderForValue |
Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public Agent.PersonalizationSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Agent.PersonalizationSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Agent.PersonalizationSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides