public static final class HumanAgentAssistantConfig.SuggestionConfig extends GeneratedMessageV3 implements HumanAgentAssistantConfig.SuggestionConfigOrBuilder
Detail human agent assistant config.
Protobuf type
google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig
Static Fields
FEATURE_CONFIGS_FIELD_NUMBER
public static final int FEATURE_CONFIGS_FIELD_NUMBER
Field Value
GROUP_SUGGESTION_RESPONSES_FIELD_NUMBER
public static final int GROUP_SUGGESTION_RESPONSES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static HumanAgentAssistantConfig.SuggestionConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static HumanAgentAssistantConfig.SuggestionConfig.Builder newBuilder()
Returns
newBuilder(HumanAgentAssistantConfig.SuggestionConfig prototype)
public static HumanAgentAssistantConfig.SuggestionConfig.Builder newBuilder(HumanAgentAssistantConfig.SuggestionConfig prototype)
Parameter
Returns
public static HumanAgentAssistantConfig.SuggestionConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static HumanAgentAssistantConfig.SuggestionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<HumanAgentAssistantConfig.SuggestionConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public HumanAgentAssistantConfig.SuggestionConfig getDefaultInstanceForType()
Returns
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
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
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
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
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> |
|
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public HumanAgentAssistantConfig.SuggestionConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HumanAgentAssistantConfig.SuggestionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public HumanAgentAssistantConfig.SuggestionConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions