Package com.google.cloud.dialogflow.v2
Class HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder>
com.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
- All Implemented Interfaces:
HumanAgentAssistantConfig.SuggestionQueryConfig.SectionsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- HumanAgentAssistantConfig.SuggestionQueryConfig.Sections
public static final class HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
extends com.google.protobuf.GeneratedMessage.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder>
implements HumanAgentAssistantConfig.SuggestionQueryConfig.SectionsOrBuilder
Custom sections to return when requesting a summary of a conversation. This is only supported when `baseline_model_version` == '2.0'. Supported features: CONVERSATION_SUMMARIZATION, CONVERSATION_SUMMARIZATION_VOICE.Protobuf type
google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections-
Method Summary
Modifier and TypeMethodDescriptionaddAllSectionTypes(Iterable<? extends HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType> values) The selected sections chosen to return when requesting a summary of a conversation.addAllSectionTypesValue(Iterable<Integer> values) The selected sections chosen to return when requesting a summary of a conversation.The selected sections chosen to return when requesting a summary of a conversation.addSectionTypesValue(int value) The selected sections chosen to return when requesting a summary of a conversation.build()clear()The selected sections chosen to return when requesting a summary of a conversation.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetSectionTypes(int index) The selected sections chosen to return when requesting a summary of a conversation.intThe selected sections chosen to return when requesting a summary of a conversation.The selected sections chosen to return when requesting a summary of a conversation.intgetSectionTypesValue(int index) The selected sections chosen to return when requesting a summary of a conversation.The selected sections chosen to return when requesting a summary of a conversation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setSectionTypes(int index, HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType value) The selected sections chosen to return when requesting a summary of a conversation.setSectionTypesValue(int index, int value) The selected sections chosen to return when requesting a summary of a conversation.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<HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.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<HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.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<HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.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
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder>
-
mergeFrom
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.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<HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder>- Throws:
IOException
-
getSectionTypesList
public List<HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType> getSectionTypesList()The selected sections chosen to return when requesting a summary of a conversation. A duplicate selected section will be treated as a single selected section. If section types are not provided, the default will be {SITUATION, ACTION, RESULT}.repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;- Specified by:
getSectionTypesListin interfaceHumanAgentAssistantConfig.SuggestionQueryConfig.SectionsOrBuilder- Returns:
- A list containing the sectionTypes.
-
getSectionTypesCount
public int getSectionTypesCount()The selected sections chosen to return when requesting a summary of a conversation. A duplicate selected section will be treated as a single selected section. If section types are not provided, the default will be {SITUATION, ACTION, RESULT}.repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;- Specified by:
getSectionTypesCountin interfaceHumanAgentAssistantConfig.SuggestionQueryConfig.SectionsOrBuilder- Returns:
- The count of sectionTypes.
-
getSectionTypes
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType getSectionTypes(int index) The selected sections chosen to return when requesting a summary of a conversation. A duplicate selected section will be treated as a single selected section. If section types are not provided, the default will be {SITUATION, ACTION, RESULT}.repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;- Specified by:
getSectionTypesin interfaceHumanAgentAssistantConfig.SuggestionQueryConfig.SectionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sectionTypes at the given index.
-
setSectionTypes
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder setSectionTypes(int index, HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType value) The selected sections chosen to return when requesting a summary of a conversation. A duplicate selected section will be treated as a single selected section. If section types are not provided, the default will be {SITUATION, ACTION, RESULT}.repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;- Parameters:
index- The index to set the value at.value- The sectionTypes to set.- Returns:
- This builder for chaining.
-
addSectionTypes
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder addSectionTypes(HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType value) The selected sections chosen to return when requesting a summary of a conversation. A duplicate selected section will be treated as a single selected section. If section types are not provided, the default will be {SITUATION, ACTION, RESULT}.repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;- Parameters:
value- The sectionTypes to add.- Returns:
- This builder for chaining.
-
addAllSectionTypes
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder addAllSectionTypes(Iterable<? extends HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType> values) The selected sections chosen to return when requesting a summary of a conversation. A duplicate selected section will be treated as a single selected section. If section types are not provided, the default will be {SITUATION, ACTION, RESULT}.repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;- Parameters:
values- The sectionTypes to add.- Returns:
- This builder for chaining.
-
clearSectionTypes
The selected sections chosen to return when requesting a summary of a conversation. A duplicate selected section will be treated as a single selected section. If section types are not provided, the default will be {SITUATION, ACTION, RESULT}.repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;- Returns:
- This builder for chaining.
-
getSectionTypesValueList
The selected sections chosen to return when requesting a summary of a conversation. A duplicate selected section will be treated as a single selected section. If section types are not provided, the default will be {SITUATION, ACTION, RESULT}.repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;- Specified by:
getSectionTypesValueListin interfaceHumanAgentAssistantConfig.SuggestionQueryConfig.SectionsOrBuilder- Returns:
- A list containing the enum numeric values on the wire for sectionTypes.
-
getSectionTypesValue
public int getSectionTypesValue(int index) The selected sections chosen to return when requesting a summary of a conversation. A duplicate selected section will be treated as a single selected section. If section types are not provided, the default will be {SITUATION, ACTION, RESULT}.repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;- Specified by:
getSectionTypesValuein interfaceHumanAgentAssistantConfig.SuggestionQueryConfig.SectionsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of sectionTypes at the given index.
-
setSectionTypesValue
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder setSectionTypesValue(int index, int value) The selected sections chosen to return when requesting a summary of a conversation. A duplicate selected section will be treated as a single selected section. If section types are not provided, the default will be {SITUATION, ACTION, RESULT}.repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for sectionTypes to set.- Returns:
- This builder for chaining.
-
addSectionTypesValue
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder addSectionTypesValue(int value) The selected sections chosen to return when requesting a summary of a conversation. A duplicate selected section will be treated as a single selected section. If section types are not provided, the default will be {SITUATION, ACTION, RESULT}.repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;- Parameters:
value- The enum numeric value on the wire for sectionTypes to add.- Returns:
- This builder for chaining.
-
addAllSectionTypesValue
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder addAllSectionTypesValue(Iterable<Integer> values) The selected sections chosen to return when requesting a summary of a conversation. A duplicate selected section will be treated as a single selected section. If section types are not provided, the default will be {SITUATION, ACTION, RESULT}.repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;- Parameters:
values- The enum numeric values on the wire for sectionTypes to add.- Returns:
- This builder for chaining.
-