Package com.google.cloud.dialogflow.v2
Class SetSuggestionFeatureConfigRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SetSuggestionFeatureConfigRequest.Builder>
com.google.cloud.dialogflow.v2.SetSuggestionFeatureConfigRequest.Builder
- All Implemented Interfaces:
SetSuggestionFeatureConfigRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SetSuggestionFeatureConfigRequest
public static final class SetSuggestionFeatureConfigRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SetSuggestionFeatureConfigRequest.Builder>
implements SetSuggestionFeatureConfigRequestOrBuilder
The request message for [ConversationProfiles.SetSuggestionFeatureConfig][google.cloud.dialogflow.v2.ConversationProfiles.SetSuggestionFeatureConfig].Protobuf type
google.cloud.dialogflow.v2.SetSuggestionFeatureConfigRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Required.Required.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.intRequired.Required.Required.Required.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Required.setConversationProfile(String value) Required.setConversationProfileBytes(com.google.protobuf.ByteString value) Required.Required.setParticipantRoleValue(int value) Required.Required.setSuggestionFeatureConfig(HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder builderForValue) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SetSuggestionFeatureConfigRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SetSuggestionFeatureConfigRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SetSuggestionFeatureConfigRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SetSuggestionFeatureConfigRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SetSuggestionFeatureConfigRequest.Builder>
-
mergeFrom
public SetSuggestionFeatureConfigRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SetSuggestionFeatureConfigRequest.Builder>- Throws:
IOException
-
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];- Specified by:
getConversationProfilein interfaceSetSuggestionFeatureConfigRequestOrBuilder- Returns:
- The conversationProfile.
-
getConversationProfileBytes
public com.google.protobuf.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];- Specified by:
getConversationProfileBytesin interfaceSetSuggestionFeatureConfigRequestOrBuilder- Returns:
- The bytes for conversationProfile.
-
setConversationProfile
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];- Parameters:
value- The conversationProfile to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setConversationProfileBytes
public SetSuggestionFeatureConfigRequest.Builder setConversationProfileBytes(com.google.protobuf.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];- Parameters:
value- The bytes for conversationProfile to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getParticipantRoleValuein interfaceSetSuggestionFeatureConfigRequestOrBuilder- Returns:
- The enum numeric value on the wire for participantRole.
-
setParticipantRoleValue
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];- Parameters:
value- The enum numeric value on the wire for participantRole to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getParticipantRolein interfaceSetSuggestionFeatureConfigRequestOrBuilder- Returns:
- The participantRole.
-
setParticipantRole
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];- Parameters:
value- The participantRole to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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];- Specified by:
hasSuggestionFeatureConfigin interfaceSetSuggestionFeatureConfigRequestOrBuilder- Returns:
- Whether the suggestionFeatureConfig field is set.
-
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];- Specified by:
getSuggestionFeatureConfigin interfaceSetSuggestionFeatureConfigRequestOrBuilder- Returns:
- The suggestionFeatureConfig.
-
setSuggestionFeatureConfig
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]; -
setSuggestionFeatureConfig
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]; -
mergeSuggestionFeatureConfig
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]; -
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]; -
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]; -
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];- Specified by:
getSuggestionFeatureConfigOrBuilderin interfaceSetSuggestionFeatureConfigRequestOrBuilder
-