Class SetSuggestionFeatureConfigRequest.Builder (4.7.5)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 4.7.5keyboard_arrow_down
public static final class SetSuggestionFeatureConfigRequest . Builder extends GeneratedMessageV3 . Builder<SetSuggestionFeatureConfigRequest . Builder > implements SetSuggestionFeatureConfigRequestOrBuilder
The request message for
[ConversationProfiles.SetSuggestionFeature][].
Protobuf type google.cloud.dialogflow.v2.SetSuggestionFeatureConfigRequest
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SetSuggestionFeatureConfigRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public SetSuggestionFeatureConfigRequest build ()
Returns
buildPartial()
public SetSuggestionFeatureConfigRequest buildPartial ()
Returns
clear()
public SetSuggestionFeatureConfigRequest . Builder clear ()
Returns
Overrides
clearConversationProfile()
public SetSuggestionFeatureConfigRequest . Builder clearConversationProfile ()
Required. The Conversation Profile to add or update the suggestion feature
config. Format: projects/<Project ID>/locations/<Location
ID>/conversationProfiles/<Conversation Profile ID>
.
string conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public SetSuggestionFeatureConfigRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SetSuggestionFeatureConfigRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearParticipantRole()
public SetSuggestionFeatureConfigRequest . Builder clearParticipantRole ()
Required. The participant role to add or update the suggestion feature
config. Only HUMAN_AGENT or END_USER can be used.
.google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearSuggestionFeatureConfig()
public SetSuggestionFeatureConfigRequest . Builder clearSuggestionFeatureConfig ()
Required. The suggestion feature config to add or update.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public SetSuggestionFeatureConfigRequest . Builder clone ()
Returns
Overrides
getConversationProfile()
public String getConversationProfile ()
Required. The Conversation Profile to add or update the suggestion feature
config. Format: projects/<Project ID>/locations/<Location
ID>/conversationProfiles/<Conversation Profile ID>
.
string conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The conversationProfile.
getConversationProfileBytes()
public ByteString getConversationProfileBytes ()
Required. The Conversation Profile to add or update the suggestion feature
config. Format: projects/<Project ID>/locations/<Location
ID>/conversationProfiles/<Conversation Profile ID>
.
string conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for conversationProfile.
getDefaultInstanceForType()
public SetSuggestionFeatureConfigRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getParticipantRole()
public Participant . Role getParticipantRole ()
Required. The participant role to add or update the suggestion feature
config. Only HUMAN_AGENT or END_USER can be used.
.google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getParticipantRoleValue()
public int getParticipantRoleValue ()
Required. The participant role to add or update the suggestion feature
config. Only HUMAN_AGENT or END_USER can be used.
.google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
int
The enum numeric value on the wire for participantRole.
getSuggestionFeatureConfig()
public HumanAgentAssistantConfig . SuggestionFeatureConfig getSuggestionFeatureConfig ()
Required. The suggestion feature config to add or update.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getSuggestionFeatureConfigBuilder()
public HumanAgentAssistantConfig . SuggestionFeatureConfig . Builder getSuggestionFeatureConfigBuilder ()
Required. The suggestion feature config to add or update.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getSuggestionFeatureConfigOrBuilder()
public HumanAgentAssistantConfig . SuggestionFeatureConfigOrBuilder getSuggestionFeatureConfigOrBuilder ()
Required. The suggestion feature config to add or update.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
hasSuggestionFeatureConfig()
public boolean hasSuggestionFeatureConfig ()
Required. The suggestion feature config to add or update.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the suggestionFeatureConfig field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(SetSuggestionFeatureConfigRequest other)
public SetSuggestionFeatureConfigRequest . Builder mergeFrom ( SetSuggestionFeatureConfigRequest other )
Parameter
Returns
public SetSuggestionFeatureConfigRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SetSuggestionFeatureConfigRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeSuggestionFeatureConfig(HumanAgentAssistantConfig.SuggestionFeatureConfig value)
public SetSuggestionFeatureConfigRequest . Builder mergeSuggestionFeatureConfig ( HumanAgentAssistantConfig . SuggestionFeatureConfig value )
Required. The suggestion feature config to add or update.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SetSuggestionFeatureConfigRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setConversationProfile(String value)
public SetSuggestionFeatureConfigRequest . Builder setConversationProfile ( String value )
Required. The Conversation Profile to add or update the suggestion feature
config. Format: projects/<Project ID>/locations/<Location
ID>/conversationProfiles/<Conversation Profile ID>
.
string conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
String
The conversationProfile to set.
Returns
setConversationProfileBytes(ByteString value)
public SetSuggestionFeatureConfigRequest . Builder setConversationProfileBytes ( ByteString value )
Required. The Conversation Profile to add or update the suggestion feature
config. Format: projects/<Project ID>/locations/<Location
ID>/conversationProfiles/<Conversation Profile ID>
.
string conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
ByteString
The bytes for conversationProfile to set.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SetSuggestionFeatureConfigRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setParticipantRole(Participant.Role value)
public SetSuggestionFeatureConfigRequest . Builder setParticipantRole ( Participant . Role value )
Required. The participant role to add or update the suggestion feature
config. Only HUMAN_AGENT or END_USER can be used.
.google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setParticipantRoleValue(int value)
public SetSuggestionFeatureConfigRequest . Builder setParticipantRoleValue ( int value )
Required. The participant role to add or update the suggestion feature
config. Only HUMAN_AGENT or END_USER can be used.
.google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
int
The enum numeric value on the wire for participantRole to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SetSuggestionFeatureConfigRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setSuggestionFeatureConfig(HumanAgentAssistantConfig.SuggestionFeatureConfig value)
public SetSuggestionFeatureConfigRequest . Builder setSuggestionFeatureConfig ( HumanAgentAssistantConfig . SuggestionFeatureConfig value )
Required. The suggestion feature config to add or update.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setSuggestionFeatureConfig(HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder builderForValue)
public SetSuggestionFeatureConfigRequest . Builder setSuggestionFeatureConfig ( HumanAgentAssistantConfig . SuggestionFeatureConfig . Builder builderForValue )
Required. The suggestion feature config to add or update.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SetSuggestionFeatureConfigRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[]]