Class HumanAgentAssistantConfig.SuggestionConfig (4.57.0)

public static final class HumanAgentAssistantConfig.SuggestionConfig extends GeneratedMessageV3 implements HumanAgentAssistantConfig.SuggestionConfigOrBuilder

Detail human agent assistant config.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > HumanAgentAssistantConfig.SuggestionConfig

Static Fields

DISABLE_HIGH_LATENCY_FEATURES_SYNC_DELIVERY_FIELD_NUMBER

public static final int DISABLE_HIGH_LATENCY_FEATURES_SYNC_DELIVERY_FIELD_NUMBER
Field Value
Type Description
int

FEATURE_CONFIGS_FIELD_NUMBER

public static final int FEATURE_CONFIGS_FIELD_NUMBER
Field Value
Type Description
int

GENERATORS_FIELD_NUMBER

public static final int GENERATORS_FIELD_NUMBER
Field Value
Type Description
int

GROUP_SUGGESTION_RESPONSES_FIELD_NUMBER

public static final int GROUP_SUGGESTION_RESPONSES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HumanAgentAssistantConfig.SuggestionConfig getDefaultInstance()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig

getDescriptor()

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

newBuilder()

public static HumanAgentAssistantConfig.SuggestionConfig.Builder newBuilder()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder

newBuilder(HumanAgentAssistantConfig.SuggestionConfig prototype)

public static HumanAgentAssistantConfig.SuggestionConfig.Builder newBuilder(HumanAgentAssistantConfig.SuggestionConfig prototype)
Parameter
Name Description
prototype HumanAgentAssistantConfig.SuggestionConfig
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder

parseDelimitedFrom(InputStream input)

public static HumanAgentAssistantConfig.SuggestionConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.SuggestionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<HumanAgentAssistantConfig.SuggestionConfig> parser()
Returns
Type Description
Parser<SuggestionConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public HumanAgentAssistantConfig.SuggestionConfig getDefaultInstanceForType()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig

getDisableHighLatencyFeaturesSyncDelivery()

public boolean getDisableHighLatencyFeaturesSyncDelivery()

Optional. When disable_high_latency_features_sync_delivery is true and using the AnalyzeContent API, we will not deliver the responses from high latency features in the API response. The human_agent_assistant_config.notification_config must be configured and enable_event_based_suggestion must be set to true to receive the responses from high latency features in Pub/Sub. High latency feature(s): KNOWLEDGE_ASSIST

bool disable_high_latency_features_sync_delivery = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The disableHighLatencyFeaturesSyncDelivery.

getFeatureConfigs(int index)

public HumanAgentAssistantConfig.SuggestionFeatureConfig getFeatureConfigs(int index)

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameter
Name Description
index int
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig

getFeatureConfigsCount()

public int getFeatureConfigsCount()

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Returns
Type Description
int

getFeatureConfigsList()

public List<HumanAgentAssistantConfig.SuggestionFeatureConfig> getFeatureConfigsList()

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Returns
Type Description
List<SuggestionFeatureConfig>

getFeatureConfigsOrBuilder(int index)

public HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder getFeatureConfigsOrBuilder(int index)

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameter
Name Description
index int
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder

getFeatureConfigsOrBuilderList()

public List<? extends HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder> getFeatureConfigsOrBuilderList()

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder>

getGenerators(int index)

public String getGenerators(int index)

Optional. List of various generator resource names used in the conversation profile.

repeated string generators = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The generators at the given index.

getGeneratorsBytes(int index)

public ByteString getGeneratorsBytes(int index)

Optional. List of various generator resource names used in the conversation profile.

repeated string generators = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the generators at the given index.

getGeneratorsCount()

public int getGeneratorsCount()

Optional. List of various generator resource names used in the conversation profile.

repeated string generators = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of generators.

getGeneratorsList()

public ProtocolStringList getGeneratorsList()

Optional. List of various generator resource names used in the conversation profile.

repeated string generators = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the generators.

getGroupSuggestionResponses()

public boolean getGroupSuggestionResponses()

If group_suggestion_responses is false, and there are multiple feature_configs in event based suggestion or StreamingAnalyzeContent, we will try to deliver suggestions to customers as soon as we get new suggestion. Different type of suggestions based on the same context will be in separate Pub/Sub event or StreamingAnalyzeContentResponse.

If group_suggestion_responses set to true. All the suggestions to the same participant based on the same context will be grouped into a single Pub/Sub event or StreamingAnalyzeContentResponse.

bool group_suggestion_responses = 3;

Returns
Type Description
boolean

The groupSuggestionResponses.

getParserForType()

public Parser<HumanAgentAssistantConfig.SuggestionConfig> getParserForType()
Returns
Type Description
Parser<SuggestionConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public HumanAgentAssistantConfig.SuggestionConfig.Builder newBuilderForType()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HumanAgentAssistantConfig.SuggestionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public HumanAgentAssistantConfig.SuggestionConfig.Builder toBuilder()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException