Class HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder (4.39.0)

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.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType>

The sectionTypes to add.

Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder

This builder for chaining.

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.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for sectionTypes to add.

Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
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.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;

Parameter
Name Description
value HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType

The sectionTypes to add.

Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder

This builder for chaining.

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.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for sectionTypes to add.

Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder

This builder for chaining.

build()

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections build()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections

buildPartial()

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections buildPartial()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections

clear()

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder clear()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
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.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder

This builder for chaining.

clone()

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder clone()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
Overrides

getDefaultInstanceForType()

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections getDefaultInstanceForType()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType

The sectionTypes at the given index.

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.v2beta1.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.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;

Returns
Type Description
List<SectionType>

A list containing the sectionTypes.

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.v2beta1.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.v2beta1.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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HumanAgentAssistantConfig.SuggestionQueryConfig.Sections other)

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder mergeFrom(HumanAgentAssistantConfig.SuggestionQueryConfig.Sections other)
Parameter
Name Description
other HumanAgentAssistantConfig.SuggestionQueryConfig.Sections
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
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.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;

Parameters
Name Description
index int

The index to set the value at.

value HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType

The sectionTypes to set.

Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder

This builder for chaining.

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.v2beta1.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.

Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
Overrides