Class AgentCoachingSuggestion.AgentActionSuggestion (4.87.0)

public static final class AgentCoachingSuggestion.AgentActionSuggestion extends GeneratedMessageV3 implements AgentCoachingSuggestion.AgentActionSuggestionOrBuilder

Actions suggested for the agent. This is based on applicable instructions.

Protobuf type google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AgentCoachingSuggestion.AgentActionSuggestion

Static Fields

AGENT_ACTION_FIELD_NUMBER

public static final int AGENT_ACTION_FIELD_NUMBER
Field Value
Type Description
int

DUPLICATE_CHECK_RESULT_FIELD_NUMBER

public static final int DUPLICATE_CHECK_RESULT_FIELD_NUMBER
Field Value
Type Description
int

SOURCES_FIELD_NUMBER

public static final int SOURCES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AgentCoachingSuggestion.AgentActionSuggestion getDefaultInstance()
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion

getDescriptor()

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

newBuilder()

public static AgentCoachingSuggestion.AgentActionSuggestion.Builder newBuilder()
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder

newBuilder(AgentCoachingSuggestion.AgentActionSuggestion prototype)

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

parseDelimitedFrom(InputStream input)

public static AgentCoachingSuggestion.AgentActionSuggestion parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AgentCoachingSuggestion.AgentActionSuggestion parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static AgentCoachingSuggestion.AgentActionSuggestion parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static AgentCoachingSuggestion.AgentActionSuggestion parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static AgentCoachingSuggestion.AgentActionSuggestion parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AgentCoachingSuggestion.AgentActionSuggestion> parser()
Returns
Type Description
Parser<AgentActionSuggestion>

Methods

equals(Object obj)

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

getAgentAction()

public String getAgentAction()

Optional. The suggested action for the agent.

string agent_action = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The agentAction.

getAgentActionBytes()

public ByteString getAgentActionBytes()

Optional. The suggested action for the agent.

string agent_action = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for agentAction.

getDefaultInstanceForType()

public AgentCoachingSuggestion.AgentActionSuggestion getDefaultInstanceForType()
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion

getDuplicateCheckResult()

public AgentCoachingSuggestion.DuplicateCheckResult getDuplicateCheckResult()

Output only. Duplicate check result for the agent action suggestion.

.google.cloud.dialogflow.v2.AgentCoachingSuggestion.DuplicateCheckResult duplicate_check_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AgentCoachingSuggestion.DuplicateCheckResult

The duplicateCheckResult.

getDuplicateCheckResultOrBuilder()

public AgentCoachingSuggestion.DuplicateCheckResultOrBuilder getDuplicateCheckResultOrBuilder()

Output only. Duplicate check result for the agent action suggestion.

.google.cloud.dialogflow.v2.AgentCoachingSuggestion.DuplicateCheckResult duplicate_check_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AgentCoachingSuggestion.DuplicateCheckResultOrBuilder

getParserForType()

public Parser<AgentCoachingSuggestion.AgentActionSuggestion> getParserForType()
Returns
Type Description
Parser<AgentActionSuggestion>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSources()

public AgentCoachingSuggestion.Sources getSources()

Output only. Sources for the agent action suggestion.

.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AgentCoachingSuggestion.Sources

The sources.

getSourcesOrBuilder()

public AgentCoachingSuggestion.SourcesOrBuilder getSourcesOrBuilder()

Output only. Sources for the agent action suggestion.

.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AgentCoachingSuggestion.SourcesOrBuilder

hasDuplicateCheckResult()

public boolean hasDuplicateCheckResult()

Output only. Duplicate check result for the agent action suggestion.

.google.cloud.dialogflow.v2.AgentCoachingSuggestion.DuplicateCheckResult duplicate_check_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the duplicateCheckResult field is set.

hasSources()

public boolean hasSources()

Output only. Sources for the agent action suggestion.

.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the sources 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 AgentCoachingSuggestion.AgentActionSuggestion.Builder newBuilderForType()
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AgentCoachingSuggestion.AgentActionSuggestion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AgentCoachingSuggestion.AgentActionSuggestion.Builder toBuilder()
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder

writeTo(CodedOutputStream output)

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