public static final class SetSuggestionFeatureConfigRequest.Builder extends GeneratedMessage.Builder<SetSuggestionFeatureConfigRequest.Builder> implements SetSuggestionFeatureConfigRequestOrBuilderThe request message for [ConversationProfiles.SetSuggestionFeature][].
Protobuf type google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SetSuggestionFeatureConfigRequest.BuilderImplements
SetSuggestionFeatureConfigRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SetSuggestionFeatureConfigRequest build()| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigRequest |
|
buildPartial()
public SetSuggestionFeatureConfigRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigRequest |
|
clear()
public SetSuggestionFeatureConfigRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigRequest.Builder |
This builder for chaining. |
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.v2beta1.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigRequest.Builder |
This builder for chaining. |
clearSuggestionFeatureConfig()
public SetSuggestionFeatureConfigRequest.Builder clearSuggestionFeatureConfig()Required. The suggestion feature config to add or update.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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.v2beta1.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Participant.Role |
The participantRole. |
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.v2beta1.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.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HumanAgentAssistantConfig.SuggestionFeatureConfig |
The suggestionFeatureConfig. |
getSuggestionFeatureConfigBuilder()
public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder getSuggestionFeatureConfigBuilder()Required. The suggestion feature config to add or update.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder |
|
getSuggestionFeatureConfigOrBuilder()
public HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder getSuggestionFeatureConfigOrBuilder()Required. The suggestion feature config to add or update.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder |
|
hasSuggestionFeatureConfig()
public boolean hasSuggestionFeatureConfig()Required. The suggestion feature config to add or update.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the suggestionFeatureConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SetSuggestionFeatureConfigRequest other)
public SetSuggestionFeatureConfigRequest.Builder mergeFrom(SetSuggestionFeatureConfigRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
SetSuggestionFeatureConfigRequest |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SetSuggestionFeatureConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SetSuggestionFeatureConfigRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigRequest.Builder |
|
mergeSuggestionFeatureConfig(HumanAgentAssistantConfig.SuggestionFeatureConfig value)
public SetSuggestionFeatureConfigRequest.Builder mergeSuggestionFeatureConfig(HumanAgentAssistantConfig.SuggestionFeatureConfig value)Required. The suggestion feature config to add or update.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
HumanAgentAssistantConfig.SuggestionFeatureConfig |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigRequest.Builder |
|
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 |
StringThe conversationProfile to set. |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigRequest.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for conversationProfile to set. |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigRequest.Builder |
This builder for chaining. |
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.v2beta1.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Participant.RoleThe participantRole to set. |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigRequest.Builder |
This builder for chaining. |
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.v2beta1.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for participantRole to set. |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigRequest.Builder |
This builder for chaining. |
setSuggestionFeatureConfig(HumanAgentAssistantConfig.SuggestionFeatureConfig value)
public SetSuggestionFeatureConfigRequest.Builder setSuggestionFeatureConfig(HumanAgentAssistantConfig.SuggestionFeatureConfig value)Required. The suggestion feature config to add or update.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
HumanAgentAssistantConfig.SuggestionFeatureConfig |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigRequest.Builder |
|
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.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigRequest.Builder |
|