Send feedback
Class AgentCoachingSuggestion.Sources.Builder (4.87.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static final class AgentCoachingSuggestion . Sources . Builder extends GeneratedMessageV3 . Builder<AgentCoachingSuggestion . Sources . Builder > implements AgentCoachingSuggestion . SourcesOrBuilder
Sources for the suggestion.
Protobuf type google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addAllInstructionIndexes(Iterable<? extends Integer> values)
public AgentCoachingSuggestion . Sources . Builder addAllInstructionIndexes ( Iterable <? extends Integer > values )
Output only. Source instruction indexes for the suggestion. This is the
index of the applicable_instructions field.
repeated int32 instruction_indexes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
values
Iterable <? extends java.lang.Integer >The instructionIndexes to add.
addInstructionIndexes(int value)
public AgentCoachingSuggestion . Sources . Builder addInstructionIndexes ( int value )
Output only. Source instruction indexes for the suggestion. This is the
index of the applicable_instructions field.
repeated int32 instruction_indexes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
value
int The instructionIndexes to add.
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AgentCoachingSuggestion . Sources . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public AgentCoachingSuggestion . Sources build ()
buildPartial()
public AgentCoachingSuggestion . Sources buildPartial ()
clear()
public AgentCoachingSuggestion . Sources . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AgentCoachingSuggestion . Sources . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearInstructionIndexes()
public AgentCoachingSuggestion . Sources . Builder clearInstructionIndexes ()
Output only. Source instruction indexes for the suggestion. This is the
index of the applicable_instructions field.
repeated int32 instruction_indexes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearOneof(Descriptors.OneofDescriptor oneof)
public AgentCoachingSuggestion . Sources . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public AgentCoachingSuggestion . Sources . Builder clone ()
Overrides
getDefaultInstanceForType()
public AgentCoachingSuggestion . Sources getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getInstructionIndexes(int index)
public int getInstructionIndexes ( int index )
Output only. Source instruction indexes for the suggestion. This is the
index of the applicable_instructions field.
repeated int32 instruction_indexes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
index
int The index of the element to return.
Returns
Type
Description
int
The instructionIndexes at the given index.
getInstructionIndexesCount()
public int getInstructionIndexesCount ()
Output only. Source instruction indexes for the suggestion. This is the
index of the applicable_instructions field.
repeated int32 instruction_indexes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
int
The count of instructionIndexes.
getInstructionIndexesList()
public List<Integer> getInstructionIndexesList ()
Output only. Source instruction indexes for the suggestion. This is the
index of the applicable_instructions field.
repeated int32 instruction_indexes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
List <Integer >
A list containing the instructionIndexes.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(AgentCoachingSuggestion.Sources other)
public AgentCoachingSuggestion . Sources . Builder mergeFrom ( AgentCoachingSuggestion . Sources other )
public AgentCoachingSuggestion . Sources . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public AgentCoachingSuggestion . Sources . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AgentCoachingSuggestion . Sources . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AgentCoachingSuggestion . Sources . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setInstructionIndexes(int index, int value)
public AgentCoachingSuggestion . Sources . Builder setInstructionIndexes ( int index , int value )
Output only. Source instruction indexes for the suggestion. This is the
index of the applicable_instructions field.
repeated int32 instruction_indexes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters
Name
Description
index
int The index to set the value at.
value
int The instructionIndexes to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AgentCoachingSuggestion . Sources . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AgentCoachingSuggestion . Sources . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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."],[],[]]