Class AgentCoachingSuggestion.Builder (4.87.0)

public static final class AgentCoachingSuggestion.Builder extends GeneratedMessageV3.Builder<AgentCoachingSuggestion.Builder> implements AgentCoachingSuggestionOrBuilder

Suggestion for coaching agents.

Protobuf type google.cloud.dialogflow.v2.AgentCoachingSuggestion

Static Methods

getDescriptor()

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

Methods

addAgentActionSuggestions(AgentCoachingSuggestion.AgentActionSuggestion value)

public AgentCoachingSuggestion.Builder addAgentActionSuggestions(AgentCoachingSuggestion.AgentActionSuggestion value)

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
value AgentCoachingSuggestion.AgentActionSuggestion
Returns
Type Description
AgentCoachingSuggestion.Builder

addAgentActionSuggestions(AgentCoachingSuggestion.AgentActionSuggestion.Builder builderForValue)

public AgentCoachingSuggestion.Builder addAgentActionSuggestions(AgentCoachingSuggestion.AgentActionSuggestion.Builder builderForValue)

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
builderForValue AgentCoachingSuggestion.AgentActionSuggestion.Builder
Returns
Type Description
AgentCoachingSuggestion.Builder

addAgentActionSuggestions(int index, AgentCoachingSuggestion.AgentActionSuggestion value)

public AgentCoachingSuggestion.Builder addAgentActionSuggestions(int index, AgentCoachingSuggestion.AgentActionSuggestion value)

Optional. Suggested actions for the agent to take.

repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AgentCoachingSuggestion.AgentActionSuggestion
Returns
Type Description
AgentCoachingSuggestion.Builder

addAgentActionSuggestions(int index, AgentCoachingSuggestion.AgentActionSuggestion.Builder builderForValue)

public AgentCoachingSuggestion.Builder addAgentActionSuggestions(int index, AgentCoachingSuggestion.AgentActionSuggestion.Builder builderForValue)

Optional. Suggested actions for the agent to take.

repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AgentCoachingSuggestion.AgentActionSuggestion.Builder
Returns
Type Description
AgentCoachingSuggestion.Builder

addAgentActionSuggestionsBuilder()

public AgentCoachingSuggestion.AgentActionSuggestion.Builder addAgentActionSuggestionsBuilder()

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
AgentCoachingSuggestion.AgentActionSuggestion.Builder

addAgentActionSuggestionsBuilder(int index)

public AgentCoachingSuggestion.AgentActionSuggestion.Builder addAgentActionSuggestionsBuilder(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.Builder

addAllAgentActionSuggestions(Iterable<? extends AgentCoachingSuggestion.AgentActionSuggestion> values)

public AgentCoachingSuggestion.Builder addAllAgentActionSuggestions(Iterable<? extends AgentCoachingSuggestion.AgentActionSuggestion> values)

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
values Iterable<? extends com.google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion>
Returns
Type Description
AgentCoachingSuggestion.Builder

addAllApplicableInstructions(Iterable<? extends AgentCoachingInstruction> values)

public AgentCoachingSuggestion.Builder addAllApplicableInstructions(Iterable<? extends AgentCoachingInstruction> values)

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
values Iterable<? extends com.google.cloud.dialogflow.v2.AgentCoachingInstruction>
Returns
Type Description
AgentCoachingSuggestion.Builder

addAllSampleResponses(Iterable<? extends AgentCoachingSuggestion.SampleResponse> values)

public AgentCoachingSuggestion.Builder addAllSampleResponses(Iterable<? extends AgentCoachingSuggestion.SampleResponse> values)

Optional. Sample response for the Agent.

repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse>
Returns
Type Description
AgentCoachingSuggestion.Builder

addApplicableInstructions(AgentCoachingInstruction value)

public AgentCoachingSuggestion.Builder addApplicableInstructions(AgentCoachingInstruction value)

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
value AgentCoachingInstruction
Returns
Type Description
AgentCoachingSuggestion.Builder

addApplicableInstructions(AgentCoachingInstruction.Builder builderForValue)

public AgentCoachingSuggestion.Builder addApplicableInstructions(AgentCoachingInstruction.Builder builderForValue)

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
builderForValue AgentCoachingInstruction.Builder
Returns
Type Description
AgentCoachingSuggestion.Builder

addApplicableInstructions(int index, AgentCoachingInstruction value)

public AgentCoachingSuggestion.Builder addApplicableInstructions(int index, AgentCoachingInstruction value)

Optional. Instructions applicable based on the current context.

repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AgentCoachingInstruction
Returns
Type Description
AgentCoachingSuggestion.Builder

addApplicableInstructions(int index, AgentCoachingInstruction.Builder builderForValue)

public AgentCoachingSuggestion.Builder addApplicableInstructions(int index, AgentCoachingInstruction.Builder builderForValue)

Optional. Instructions applicable based on the current context.

repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AgentCoachingInstruction.Builder
Returns
Type Description
AgentCoachingSuggestion.Builder

addApplicableInstructionsBuilder()

public AgentCoachingInstruction.Builder addApplicableInstructionsBuilder()

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
AgentCoachingInstruction.Builder

addApplicableInstructionsBuilder(int index)

public AgentCoachingInstruction.Builder addApplicableInstructionsBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AgentCoachingSuggestion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AgentCoachingSuggestion.Builder
Overrides

addSampleResponses(AgentCoachingSuggestion.SampleResponse value)

public AgentCoachingSuggestion.Builder addSampleResponses(AgentCoachingSuggestion.SampleResponse value)

Optional. Sample response for the Agent.

repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AgentCoachingSuggestion.SampleResponse
Returns
Type Description
AgentCoachingSuggestion.Builder

addSampleResponses(AgentCoachingSuggestion.SampleResponse.Builder builderForValue)

public AgentCoachingSuggestion.Builder addSampleResponses(AgentCoachingSuggestion.SampleResponse.Builder builderForValue)

Optional. Sample response for the Agent.

repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AgentCoachingSuggestion.SampleResponse.Builder
Returns
Type Description
AgentCoachingSuggestion.Builder

addSampleResponses(int index, AgentCoachingSuggestion.SampleResponse value)

public AgentCoachingSuggestion.Builder addSampleResponses(int index, AgentCoachingSuggestion.SampleResponse value)

Optional. Sample response for the Agent.

repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AgentCoachingSuggestion.SampleResponse
Returns
Type Description
AgentCoachingSuggestion.Builder

addSampleResponses(int index, AgentCoachingSuggestion.SampleResponse.Builder builderForValue)

public AgentCoachingSuggestion.Builder addSampleResponses(int index, AgentCoachingSuggestion.SampleResponse.Builder builderForValue)

Optional. Sample response for the Agent.

repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AgentCoachingSuggestion.SampleResponse.Builder
Returns
Type Description
AgentCoachingSuggestion.Builder

addSampleResponsesBuilder()

public AgentCoachingSuggestion.SampleResponse.Builder addSampleResponsesBuilder()

Optional. Sample response for the Agent.

repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentCoachingSuggestion.SampleResponse.Builder

addSampleResponsesBuilder(int index)

public AgentCoachingSuggestion.SampleResponse.Builder addSampleResponsesBuilder(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.Builder

build()

public AgentCoachingSuggestion build()
Returns
Type Description
AgentCoachingSuggestion

buildPartial()

public AgentCoachingSuggestion buildPartial()
Returns
Type Description
AgentCoachingSuggestion

clear()

public AgentCoachingSuggestion.Builder clear()
Returns
Type Description
AgentCoachingSuggestion.Builder
Overrides

clearAgentActionSuggestions()

public AgentCoachingSuggestion.Builder clearAgentActionSuggestions()

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
AgentCoachingSuggestion.Builder

clearApplicableInstructions()

public AgentCoachingSuggestion.Builder clearApplicableInstructions()

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
AgentCoachingSuggestion.Builder

clearField(Descriptors.FieldDescriptor field)

public AgentCoachingSuggestion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AgentCoachingSuggestion.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AgentCoachingSuggestion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AgentCoachingSuggestion.Builder
Overrides

clearSampleResponses()

public AgentCoachingSuggestion.Builder clearSampleResponses()

Optional. Sample response for the Agent.

repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentCoachingSuggestion.Builder

clone()

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

getAgentActionSuggestionsBuilder(int index)

public AgentCoachingSuggestion.AgentActionSuggestion.Builder getAgentActionSuggestionsBuilder(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.Builder

getAgentActionSuggestionsBuilderList()

public List<AgentCoachingSuggestion.AgentActionSuggestion.Builder> getAgentActionSuggestionsBuilderList()

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<Builder>

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

getApplicableInstructionsBuilder(int index)

public AgentCoachingInstruction.Builder getApplicableInstructionsBuilder(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.Builder

getApplicableInstructionsBuilderList()

public List<AgentCoachingInstruction.Builder> getApplicableInstructionsBuilderList()

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<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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

getSampleResponsesBuilder(int index)

public AgentCoachingSuggestion.SampleResponse.Builder getSampleResponsesBuilder(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.Builder

getSampleResponsesBuilderList()

public List<AgentCoachingSuggestion.SampleResponse.Builder> getSampleResponsesBuilderList()

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<Builder>

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AgentCoachingSuggestion other)

public AgentCoachingSuggestion.Builder mergeFrom(AgentCoachingSuggestion other)
Parameter
Name Description
other AgentCoachingSuggestion
Returns
Type Description
AgentCoachingSuggestion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AgentCoachingSuggestion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentCoachingSuggestion.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AgentCoachingSuggestion.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AgentCoachingSuggestion.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AgentCoachingSuggestion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AgentCoachingSuggestion.Builder
Overrides

removeAgentActionSuggestions(int index)

public AgentCoachingSuggestion.Builder removeAgentActionSuggestions(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.Builder

removeApplicableInstructions(int index)

public AgentCoachingSuggestion.Builder removeApplicableInstructions(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
AgentCoachingSuggestion.Builder

removeSampleResponses(int index)

public AgentCoachingSuggestion.Builder removeSampleResponses(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.Builder

setAgentActionSuggestions(int index, AgentCoachingSuggestion.AgentActionSuggestion value)

public AgentCoachingSuggestion.Builder setAgentActionSuggestions(int index, AgentCoachingSuggestion.AgentActionSuggestion value)

Optional. Suggested actions for the agent to take.

repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AgentCoachingSuggestion.AgentActionSuggestion
Returns
Type Description
AgentCoachingSuggestion.Builder

setAgentActionSuggestions(int index, AgentCoachingSuggestion.AgentActionSuggestion.Builder builderForValue)

public AgentCoachingSuggestion.Builder setAgentActionSuggestions(int index, AgentCoachingSuggestion.AgentActionSuggestion.Builder builderForValue)

Optional. Suggested actions for the agent to take.

repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AgentCoachingSuggestion.AgentActionSuggestion.Builder
Returns
Type Description
AgentCoachingSuggestion.Builder

setApplicableInstructions(int index, AgentCoachingInstruction value)

public AgentCoachingSuggestion.Builder setApplicableInstructions(int index, AgentCoachingInstruction value)

Optional. Instructions applicable based on the current context.

repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AgentCoachingInstruction
Returns
Type Description
AgentCoachingSuggestion.Builder

setApplicableInstructions(int index, AgentCoachingInstruction.Builder builderForValue)

public AgentCoachingSuggestion.Builder setApplicableInstructions(int index, AgentCoachingInstruction.Builder builderForValue)

Optional. Instructions applicable based on the current context.

repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AgentCoachingInstruction.Builder
Returns
Type Description
AgentCoachingSuggestion.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AgentCoachingSuggestion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AgentCoachingSuggestion.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AgentCoachingSuggestion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AgentCoachingSuggestion.Builder
Overrides

setSampleResponses(int index, AgentCoachingSuggestion.SampleResponse value)

public AgentCoachingSuggestion.Builder setSampleResponses(int index, AgentCoachingSuggestion.SampleResponse value)

Optional. Sample response for the Agent.

repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AgentCoachingSuggestion.SampleResponse
Returns
Type Description
AgentCoachingSuggestion.Builder

setSampleResponses(int index, AgentCoachingSuggestion.SampleResponse.Builder builderForValue)

public AgentCoachingSuggestion.Builder setSampleResponses(int index, AgentCoachingSuggestion.SampleResponse.Builder builderForValue)

Optional. Sample response for the Agent.

repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AgentCoachingSuggestion.SampleResponse.Builder
Returns
Type Description
AgentCoachingSuggestion.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final AgentCoachingSuggestion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AgentCoachingSuggestion.Builder
Overrides