Class HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder (4.47.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType>

The sectionTypes to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<Integer>

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueHumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType

The sectionTypes to add.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder

This builder for chaining.

build()

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections build()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections

buildPartial()

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections buildPartial()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections

clear()

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder clear()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder

This builder for chaining.

clone()

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder clone()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
Overrides

getDefaultInstanceForType()

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections getDefaultInstanceForType()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for sectionTypes.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HumanAgentAssistantConfig.SuggestionQueryConfig.Sections other)

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder mergeFrom(HumanAgentAssistantConfig.SuggestionQueryConfig.Sections other)
Parameter
NameDescription
otherHumanAgentAssistantConfig.SuggestionQueryConfig.Sections
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueHumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType

The sectionTypes to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueint

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

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
Overrides