public static final class AgentCoachingSuggestion.Sources.Builder extends GeneratedMessage.Builder<AgentCoachingSuggestion.Sources.Builder> implements AgentCoachingSuggestion.SourcesOrBuilderSources for the suggestion.
Protobuf type google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion.Sources
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AgentCoachingSuggestion.Sources.BuilderImplements
AgentCoachingSuggestion.SourcesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.Sources.Builder |
This builder for chaining. |
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 |
intThe instructionIndexes to add. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.Sources.Builder |
This builder for chaining. |
build()
public AgentCoachingSuggestion.Sources build()| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.Sources |
|
buildPartial()
public AgentCoachingSuggestion.Sources buildPartial()| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.Sources |
|
clear()
public AgentCoachingSuggestion.Sources.Builder clear()| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.Sources.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.Sources.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AgentCoachingSuggestion.Sources getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.Sources |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
intThe 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AgentCoachingSuggestion.Sources other)
public AgentCoachingSuggestion.Sources.Builder mergeFrom(AgentCoachingSuggestion.Sources other)| Parameter | |
|---|---|
| Name | Description |
other |
AgentCoachingSuggestion.Sources |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.Sources.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AgentCoachingSuggestion.Sources.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.Sources.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AgentCoachingSuggestion.Sources.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.Sources.Builder |
|
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 |
intThe index to set the value at. |
value |
intThe instructionIndexes to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.Sources.Builder |
This builder for chaining. |