Package com.google.cloud.dialogflow.v2
Class ClearSuggestionFeatureConfigRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ClearSuggestionFeatureConfigRequest.Builder>
com.google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigRequest.Builder
- All Implemented Interfaces:
ClearSuggestionFeatureConfigRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ClearSuggestionFeatureConfigRequest
public static final class ClearSuggestionFeatureConfigRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ClearSuggestionFeatureConfigRequest.Builder>
implements ClearSuggestionFeatureConfigRequestOrBuilder
The request message for [ConversationProfiles.ClearSuggestionFeatureConfig][google.cloud.dialogflow.v2.ConversationProfiles.ClearSuggestionFeatureConfig].Protobuf type
google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigRequest-
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.intRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setConversationProfile(String value) Required.setConversationProfileBytes(com.google.protobuf.ByteString value) Required.Required.setParticipantRoleValue(int value) Required.Required.setSuggestionFeatureTypeValue(int value) 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<ClearSuggestionFeatureConfigRequest.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<ClearSuggestionFeatureConfigRequest.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<ClearSuggestionFeatureConfigRequest.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<ClearSuggestionFeatureConfigRequest.Builder>
-
mergeFrom
public ClearSuggestionFeatureConfigRequest.Builder mergeFrom(ClearSuggestionFeatureConfigRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ClearSuggestionFeatureConfigRequest.Builder>
-
mergeFrom
public ClearSuggestionFeatureConfigRequest.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<ClearSuggestionFeatureConfigRequest.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 interfaceClearSuggestionFeatureConfigRequestOrBuilder- 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 interfaceClearSuggestionFeatureConfigRequestOrBuilder- 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 ClearSuggestionFeatureConfigRequest.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 remove 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 interfaceClearSuggestionFeatureConfigRequestOrBuilder- Returns:
- The enum numeric value on the wire for participantRole.
-
setParticipantRoleValue
Required. The participant role to remove 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 remove 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 interfaceClearSuggestionFeatureConfigRequestOrBuilder- Returns:
- The participantRole.
-
setParticipantRole
Required. The participant role to remove 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 remove 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.
-
getSuggestionFeatureTypeValue
public int getSuggestionFeatureTypeValue()Required. The type of the suggestion feature to remove.
.google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSuggestionFeatureTypeValuein interfaceClearSuggestionFeatureConfigRequestOrBuilder- Returns:
- The enum numeric value on the wire for suggestionFeatureType.
-
setSuggestionFeatureTypeValue
Required. The type of the suggestion feature to remove.
.google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for suggestionFeatureType to set.- Returns:
- This builder for chaining.
-
getSuggestionFeatureType
Required. The type of the suggestion feature to remove.
.google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSuggestionFeatureTypein interfaceClearSuggestionFeatureConfigRequestOrBuilder- Returns:
- The suggestionFeatureType.
-
setSuggestionFeatureType
public ClearSuggestionFeatureConfigRequest.Builder setSuggestionFeatureType(SuggestionFeature.Type value) Required. The type of the suggestion feature to remove.
.google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The suggestionFeatureType to set.- Returns:
- This builder for chaining.
-
clearSuggestionFeatureType
Required. The type of the suggestion feature to remove.
.google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-