Send feedback
Class AgentCoachingSuggestion (4.87.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public final class AgentCoachingSuggestion extends GeneratedMessageV3 implements AgentCoachingSuggestionOrBuilder
Suggestion for coaching agents.
Protobuf type google.cloud.dialogflow.v2.AgentCoachingSuggestion
Inherited Members
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
AGENT_ACTION_SUGGESTIONS_FIELD_NUMBER
public static final int AGENT_ACTION_SUGGESTIONS_FIELD_NUMBER
Field Value
Type
Description
int
APPLICABLE_INSTRUCTIONS_FIELD_NUMBER
public static final int APPLICABLE_INSTRUCTIONS_FIELD_NUMBER
Field Value
Type
Description
int
SAMPLE_RESPONSES_FIELD_NUMBER
public static final int SAMPLE_RESPONSES_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static AgentCoachingSuggestion getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static AgentCoachingSuggestion . Builder newBuilder ()
newBuilder(AgentCoachingSuggestion prototype)
public static AgentCoachingSuggestion . Builder newBuilder ( AgentCoachingSuggestion prototype )
public static AgentCoachingSuggestion parseDelimitedFrom ( InputStream input )
public static AgentCoachingSuggestion parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static AgentCoachingSuggestion parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AgentCoachingSuggestion parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static AgentCoachingSuggestion parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AgentCoachingSuggestion parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static AgentCoachingSuggestion parseFrom ( CodedInputStream input )
public static AgentCoachingSuggestion parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static AgentCoachingSuggestion parseFrom ( InputStream input )
public static AgentCoachingSuggestion parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static AgentCoachingSuggestion parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AgentCoachingSuggestion parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<AgentCoachingSuggestion> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getAgentActionSuggestions(int index)
public AgentCoachingSuggestion . AgentActionSuggestion getAgentActionSuggestions ( int index )
Optional. Suggested actions for the agent to take.
repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
getAgentActionSuggestionsCount()
public int getAgentActionSuggestionsCount ()
Optional. Suggested actions for the agent to take.
repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
getAgentActionSuggestionsList()
public List<AgentCoachingSuggestion . AgentActionSuggestion > getAgentActionSuggestionsList ()
Optional. Suggested actions for the agent to take.
repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
getAgentActionSuggestionsOrBuilder(int index)
public AgentCoachingSuggestion . AgentActionSuggestionOrBuilder getAgentActionSuggestionsOrBuilder ( int index )
Optional. Suggested actions for the agent to take.
repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
getAgentActionSuggestionsOrBuilderList()
public List <? extends AgentCoachingSuggestion . AgentActionSuggestionOrBuilder > getAgentActionSuggestionsOrBuilderList ()
Optional. Suggested actions for the agent to take.
repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
List <? extends com.google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestionOrBuilder >
getApplicableInstructions(int index)
public AgentCoachingInstruction getApplicableInstructions ( int index )
Optional. Instructions applicable based on the current context.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
getApplicableInstructionsCount()
public int getApplicableInstructionsCount ()
Optional. Instructions applicable based on the current context.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
getApplicableInstructionsList()
public List<AgentCoachingInstruction> getApplicableInstructionsList ()
Optional. Instructions applicable based on the current context.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
getApplicableInstructionsOrBuilder(int index)
public AgentCoachingInstructionOrBuilder getApplicableInstructionsOrBuilder ( int index )
Optional. Instructions applicable based on the current context.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
getApplicableInstructionsOrBuilderList()
public List <? extends AgentCoachingInstructionOrBuilder > getApplicableInstructionsOrBuilderList ()
Optional. Instructions applicable based on the current context.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
List <? extends com.google.cloud.dialogflow.v2.AgentCoachingInstructionOrBuilder >
getDefaultInstanceForType()
public AgentCoachingSuggestion getDefaultInstanceForType ()
getParserForType()
public Parser<AgentCoachingSuggestion> getParserForType ()
Overrides
getSampleResponses(int index)
public AgentCoachingSuggestion . SampleResponse getSampleResponses ( int index )
Optional. Sample response for the Agent.
repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
getSampleResponsesCount()
public int getSampleResponsesCount ()
Optional. Sample response for the Agent.
repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
getSampleResponsesList()
public List<AgentCoachingSuggestion . SampleResponse > getSampleResponsesList ()
Optional. Sample response for the Agent.
repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
getSampleResponsesOrBuilder(int index)
public AgentCoachingSuggestion . SampleResponseOrBuilder getSampleResponsesOrBuilder ( int index )
Optional. Sample response for the Agent.
repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
getSampleResponsesOrBuilderList()
public List <? extends AgentCoachingSuggestion . SampleResponseOrBuilder > getSampleResponsesOrBuilderList ()
Optional. Sample response for the Agent.
repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
List <? extends com.google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponseOrBuilder >
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public AgentCoachingSuggestion . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AgentCoachingSuggestion . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public AgentCoachingSuggestion . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-08 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-08 UTC."],[],[]]