Class AgentCoachingSuggestion (4.87.0)

public final class AgentCoachingSuggestion extends GeneratedMessageV3 implements AgentCoachingSuggestionOrBuilder

Suggestion for coaching agents.

Protobuf type google.cloud.dialogflow.v2.AgentCoachingSuggestion

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()
Returns
Type Description
AgentCoachingSuggestion

getDescriptor()

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

newBuilder()

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

newBuilder(AgentCoachingSuggestion prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion

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];

Returns
Type Description
List<AgentActionSuggestion>

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
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestionOrBuilder

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
Returns
Type Description
AgentCoachingInstruction

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];

Returns
Type Description
List<AgentCoachingInstruction>

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
Returns
Type Description
AgentCoachingInstructionOrBuilder

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()
Returns
Type Description
AgentCoachingSuggestion

getParserForType()

public Parser<AgentCoachingSuggestion> getParserForType()
Returns
Type Description
Parser<AgentCoachingSuggestion>
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
Returns
Type Description
AgentCoachingSuggestion.SampleResponse

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];

Returns
Type Description
List<SampleResponse>

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
Returns
Type Description
AgentCoachingSuggestion.SampleResponseOrBuilder

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

writeTo(CodedOutputStream output)

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