Class HumanAgentAssistantConfig (4.46.0)

public final class HumanAgentAssistantConfig extends GeneratedMessageV3 implements HumanAgentAssistantConfigOrBuilder

Defines the Human Agent Assist to connect to a conversation.

Protobuf type google.cloud.dialogflow.v2.HumanAgentAssistantConfig

Static Fields

END_USER_SUGGESTION_CONFIG_FIELD_NUMBER

public static final int END_USER_SUGGESTION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

HUMAN_AGENT_SUGGESTION_CONFIG_FIELD_NUMBER

public static final int HUMAN_AGENT_SUGGESTION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_ANALYSIS_CONFIG_FIELD_NUMBER

public static final int MESSAGE_ANALYSIS_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

NOTIFICATION_CONFIG_FIELD_NUMBER

public static final int NOTIFICATION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HumanAgentAssistantConfig getDefaultInstance()
Returns
Type Description
HumanAgentAssistantConfig

getDescriptor()

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

newBuilder()

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

newBuilder(HumanAgentAssistantConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public HumanAgentAssistantConfig getDefaultInstanceForType()
Returns
Type Description
HumanAgentAssistantConfig

getEndUserSuggestionConfig()

public HumanAgentAssistantConfig.SuggestionConfig getEndUserSuggestionConfig()

Configuration for agent assistance of end user participant.

Currently, this feature is not general available, please contact Google to get access.

.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig end_user_suggestion_config = 4;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig

The endUserSuggestionConfig.

getEndUserSuggestionConfigOrBuilder()

public HumanAgentAssistantConfig.SuggestionConfigOrBuilder getEndUserSuggestionConfigOrBuilder()

Configuration for agent assistance of end user participant.

Currently, this feature is not general available, please contact Google to get access.

.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig end_user_suggestion_config = 4;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfigOrBuilder

getHumanAgentSuggestionConfig()

public HumanAgentAssistantConfig.SuggestionConfig getHumanAgentSuggestionConfig()

Configuration for agent assistance of human agent participant.

.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig human_agent_suggestion_config = 3;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig

The humanAgentSuggestionConfig.

getHumanAgentSuggestionConfigOrBuilder()

public HumanAgentAssistantConfig.SuggestionConfigOrBuilder getHumanAgentSuggestionConfigOrBuilder()

Configuration for agent assistance of human agent participant.

.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig human_agent_suggestion_config = 3;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfigOrBuilder

getMessageAnalysisConfig()

public HumanAgentAssistantConfig.MessageAnalysisConfig getMessageAnalysisConfig()

Configuration for message analysis.

.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.MessageAnalysisConfig message_analysis_config = 5;

Returns
Type Description
HumanAgentAssistantConfig.MessageAnalysisConfig

The messageAnalysisConfig.

getMessageAnalysisConfigOrBuilder()

public HumanAgentAssistantConfig.MessageAnalysisConfigOrBuilder getMessageAnalysisConfigOrBuilder()

Configuration for message analysis.

.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.MessageAnalysisConfig message_analysis_config = 5;

Returns
Type Description
HumanAgentAssistantConfig.MessageAnalysisConfigOrBuilder

getNotificationConfig()

public NotificationConfig getNotificationConfig()

Pub/Sub topic on which to publish new agent assistant events.

.google.cloud.dialogflow.v2.NotificationConfig notification_config = 2;

Returns
Type Description
NotificationConfig

The notificationConfig.

getNotificationConfigOrBuilder()

public NotificationConfigOrBuilder getNotificationConfigOrBuilder()

Pub/Sub topic on which to publish new agent assistant events.

.google.cloud.dialogflow.v2.NotificationConfig notification_config = 2;

Returns
Type Description
NotificationConfigOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasEndUserSuggestionConfig()

public boolean hasEndUserSuggestionConfig()

Configuration for agent assistance of end user participant.

Currently, this feature is not general available, please contact Google to get access.

.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig end_user_suggestion_config = 4;

Returns
Type Description
boolean

Whether the endUserSuggestionConfig field is set.

hasHumanAgentSuggestionConfig()

public boolean hasHumanAgentSuggestionConfig()

Configuration for agent assistance of human agent participant.

.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig human_agent_suggestion_config = 3;

Returns
Type Description
boolean

Whether the humanAgentSuggestionConfig field is set.

hasMessageAnalysisConfig()

public boolean hasMessageAnalysisConfig()

Configuration for message analysis.

.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.MessageAnalysisConfig message_analysis_config = 5;

Returns
Type Description
boolean

Whether the messageAnalysisConfig field is set.

hasNotificationConfig()

public boolean hasNotificationConfig()

Pub/Sub topic on which to publish new agent assistant events.

.google.cloud.dialogflow.v2.NotificationConfig notification_config = 2;

Returns
Type Description
boolean

Whether the notificationConfig field is set.

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.Builder newBuilderForType()
Returns
Type Description
HumanAgentAssistantConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

writeTo(CodedOutputStream output)

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