Class SetSuggestionFeatureConfigRequest.Builder (4.7.5)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SetSuggestionFeatureConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder
Overrides

build()

public SetSuggestionFeatureConfigRequest build()
Returns
TypeDescription
SetSuggestionFeatureConfigRequest

buildPartial()

public SetSuggestionFeatureConfigRequest buildPartial()
Returns
TypeDescription
SetSuggestionFeatureConfigRequest

clear()

public SetSuggestionFeatureConfigRequest.Builder clear()
Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder
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
TypeDescription
SetSuggestionFeatureConfigRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SetSuggestionFeatureConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SetSuggestionFeatureConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder
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
TypeDescription
SetSuggestionFeatureConfigRequest.Builder

This builder for chaining.

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
TypeDescription
SetSuggestionFeatureConfigRequest.Builder

clone()

public SetSuggestionFeatureConfigRequest.Builder clone()
Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder
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
TypeDescription
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
TypeDescription
ByteString

The bytes for conversationProfile.

getDefaultInstanceForType()

public SetSuggestionFeatureConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
SetSuggestionFeatureConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
TypeDescription
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.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig

The suggestionFeatureConfig.

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
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

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
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder

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
TypeDescription
boolean

Whether the suggestionFeatureConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SetSuggestionFeatureConfigRequest other)

public SetSuggestionFeatureConfigRequest.Builder mergeFrom(SetSuggestionFeatureConfigRequest other)
Parameter
NameDescription
otherSetSuggestionFeatureConfigRequest
Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SetSuggestionFeatureConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SetSuggestionFeatureConfigRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder
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
NameDescription
valueHumanAgentAssistantConfig.SuggestionFeatureConfig
Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SetSuggestionFeatureConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder
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
NameDescription
valueString

The conversationProfile to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for conversationProfile to set.

Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SetSuggestionFeatureConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder
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
NameDescription
valueParticipant.Role

The participantRole to set.

Returns
TypeDescription
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.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueint

The enum numeric value on the wire for participantRole to set.

Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SetSuggestionFeatureConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder
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
NameDescription
valueHumanAgentAssistantConfig.SuggestionFeatureConfig
Returns
TypeDescription
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.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueHumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SetSuggestionFeatureConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder
Overrides