public static final class HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder extends GeneratedMessageV3.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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllSectionTypes(Iterable<? extends HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType> values)
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;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType>
The sectionTypes to add.
|
addAllSectionTypesValue(Iterable<Integer> values)
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;
Parameter |
---|
Name | Description |
values | Iterable<Integer>
The enum numeric values on the wire for sectionTypes to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSectionTypes(HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType value)
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;
addSectionTypesValue(int value)
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;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for sectionTypes to add.
|
build()
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections build()
buildPartial()
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections buildPartial()
clear()
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSectionTypes()
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder 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;
clone()
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder clone()
Overrides
getDefaultInstanceForType()
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSectionTypes(int index)
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;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
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;
Returns |
---|
Type | Description |
int | The count of sectionTypes.
|
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;
getSectionTypesValue(int index)
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;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
int | The enum numeric value on the wire of sectionTypes at the given index.
|
getSectionTypesValueList()
public List<Integer> 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;
Returns |
---|
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for sectionTypes.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(HumanAgentAssistantConfig.SuggestionQueryConfig.Sections other)
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder mergeFrom(HumanAgentAssistantConfig.SuggestionQueryConfig.Sections other)
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSectionTypes(int index, HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType value)
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;
setSectionTypesValue(int index, int value)
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 |
---|
Name | Description |
index | int
The index to set the value at.
|
value | int
The enum numeric value on the wire for sectionTypes to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides