Class HumanAgentAssistantConfig.SuggestionConfig (4.40.0)

See more code actions.
public static final class HumanAgentAssistantConfig.SuggestionConfig extends GeneratedMessageV3 implements HumanAgentAssistantConfig.SuggestionConfigOrBuilder

Detail human agent assistant config.

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

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > HumanAgentAssistantConfig.SuggestionConfig
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

FEATURE_CONFIGS_FIELD_NUMBER

public static final int FEATURE_CONFIGS_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()

getDescriptor()

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

newBuilder()

public static HumanAgentAssistantConfig.SuggestionConfig.Builder newBuilder()

newBuilder(HumanAgentAssistantConfig.SuggestionConfig prototype)

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

parseDelimitedFrom(InputStream input)

public static HumanAgentAssistantConfig.SuggestionConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
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
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
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
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
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
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
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
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
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
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
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
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()

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.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameter
Name Description
index int

getFeatureConfigsCount()

public int getFeatureConfigsCount()

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

repeated .google.cloud.dialogflow.v2.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.v2.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.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameter
Name Description
index int

getFeatureConfigsOrBuilderList()

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

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

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

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

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()

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HumanAgentAssistantConfig.SuggestionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
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()

writeTo(CodedOutputStream output)

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