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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<SetSuggestionFeatureConfigRequest.Builder>
public SetSuggestionFeatureConfigRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<SetSuggestionFeatureConfigRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<SetSuggestionFeatureConfigRequest.Builder>
public SetSuggestionFeatureConfigRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public SetSuggestionFeatureConfigRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public SetSuggestionFeatureConfigRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public SetSuggestionFeatureConfigRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<SetSuggestionFeatureConfigRequest.Builder>
public SetSuggestionFeatureConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<SetSuggestionFeatureConfigRequest.Builder>
public SetSuggestionFeatureConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<SetSuggestionFeatureConfigRequest.Builder>
public SetSuggestionFeatureConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<SetSuggestionFeatureConfigRequest.Builder>
public SetSuggestionFeatureConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<SetSuggestionFeatureConfigRequest.Builder>
public SetSuggestionFeatureConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<SetSuggestionFeatureConfigRequest.Builder>
public SetSuggestionFeatureConfigRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<SetSuggestionFeatureConfigRequest.Builder>
public SetSuggestionFeatureConfigRequest.Builder mergeFrom(SetSuggestionFeatureConfigRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<SetSuggestionFeatureConfigRequest.Builder>
public SetSuggestionFeatureConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<SetSuggestionFeatureConfigRequest.Builder>
IOException
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];
getConversationProfile
in interface SetSuggestionFeatureConfigRequestOrBuilder
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];
getConversationProfileBytes
in interface SetSuggestionFeatureConfigRequestOrBuilder
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];
value
- The conversationProfile to set.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];
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];
value
- The bytes for conversationProfile to set.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];
getParticipantRoleValue
in interface SetSuggestionFeatureConfigRequestOrBuilder
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];
value
- The enum numeric value on the wire for participantRole to set.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];
getParticipantRole
in interface SetSuggestionFeatureConfigRequestOrBuilder
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];
value
- The participantRole to set.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];
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];
hasSuggestionFeatureConfig
in interface SetSuggestionFeatureConfigRequestOrBuilder
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];
getSuggestionFeatureConfig
in interface SetSuggestionFeatureConfigRequestOrBuilder
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];
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];
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];
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];
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];
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];
getSuggestionFeatureConfigOrBuilder
in interface SetSuggestionFeatureConfigRequestOrBuilder
public final SetSuggestionFeatureConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<SetSuggestionFeatureConfigRequest.Builder>
public final SetSuggestionFeatureConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<SetSuggestionFeatureConfigRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.