public static final class AgentCoachingContext.Builder extends GeneratedMessageV3.Builder<AgentCoachingContext.Builder> implements AgentCoachingContextOrBuilderAgent Coaching context that customer can configure.
Protobuf type google.cloud.dialogflow.v2.AgentCoachingContext
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AgentCoachingContext.BuilderImplements
AgentCoachingContextOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllInstructions(Iterable<? extends AgentCoachingInstruction> values)
public AgentCoachingContext.Builder addAllInstructions(Iterable<? extends AgentCoachingInstruction> values)Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2.AgentCoachingInstruction> |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
addInstructions(AgentCoachingInstruction value)
public AgentCoachingContext.Builder addInstructions(AgentCoachingInstruction value)Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentCoachingInstruction |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
addInstructions(AgentCoachingInstruction.Builder builderForValue)
public AgentCoachingContext.Builder addInstructions(AgentCoachingInstruction.Builder builderForValue)Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AgentCoachingInstruction.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
addInstructions(int index, AgentCoachingInstruction value)
public AgentCoachingContext.Builder addInstructions(int index, AgentCoachingInstruction value)Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AgentCoachingInstruction |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
addInstructions(int index, AgentCoachingInstruction.Builder builderForValue)
public AgentCoachingContext.Builder addInstructions(int index, AgentCoachingInstruction.Builder builderForValue)Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AgentCoachingInstruction.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
addInstructionsBuilder()
public AgentCoachingInstruction.Builder addInstructionsBuilder()Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
|
addInstructionsBuilder(int index)
public AgentCoachingInstruction.Builder addInstructionsBuilder(int index)Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AgentCoachingContext.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
build()
public AgentCoachingContext build()| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext |
|
buildPartial()
public AgentCoachingContext buildPartial()| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext |
|
clear()
public AgentCoachingContext.Builder clear()| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public AgentCoachingContext.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
clearInstructions()
public AgentCoachingContext.Builder clearInstructions()Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public AgentCoachingContext.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
clearOutputLanguageCode()
public AgentCoachingContext.Builder clearOutputLanguageCode()Optional. Output language code.
string output_language_code = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
This builder for chaining. |
clearOverarchingGuidance()
public AgentCoachingContext.Builder clearOverarchingGuidance()Optional. The overarching guidance for the agent coaching. This should be set only for v1.5 and later versions.
string overarching_guidance = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
This builder for chaining. |
clearVersion()
public AgentCoachingContext.Builder clearVersion()Optional. Version of the feature. If not set, default to latest version. Current candidates are ["1.2"].
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
This builder for chaining. |
clone()
public AgentCoachingContext.Builder clone()| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
getDefaultInstanceForType()
public AgentCoachingContext getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInstructions(int index)
public AgentCoachingInstruction getInstructions(int index)Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction |
|
getInstructionsBuilder(int index)
public AgentCoachingInstruction.Builder getInstructionsBuilder(int index)Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
|
getInstructionsBuilderList()
public List<AgentCoachingInstruction.Builder> getInstructionsBuilderList()Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getInstructionsCount()
public int getInstructionsCount()Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getInstructionsList()
public List<AgentCoachingInstruction> getInstructionsList()Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<AgentCoachingInstruction> |
|
getInstructionsOrBuilder(int index)
public AgentCoachingInstructionOrBuilder getInstructionsOrBuilder(int index)Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstructionOrBuilder |
|
getInstructionsOrBuilderList()
public List<? extends AgentCoachingInstructionOrBuilder> getInstructionsOrBuilderList()Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.dialogflow.v2.AgentCoachingInstructionOrBuilder> |
|
getOutputLanguageCode()
public String getOutputLanguageCode()Optional. Output language code.
string output_language_code = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The outputLanguageCode. |
getOutputLanguageCodeBytes()
public ByteString getOutputLanguageCodeBytes()Optional. Output language code.
string output_language_code = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for outputLanguageCode. |
getOverarchingGuidance()
public String getOverarchingGuidance()Optional. The overarching guidance for the agent coaching. This should be set only for v1.5 and later versions.
string overarching_guidance = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The overarchingGuidance. |
getOverarchingGuidanceBytes()
public ByteString getOverarchingGuidanceBytes()Optional. The overarching guidance for the agent coaching. This should be set only for v1.5 and later versions.
string overarching_guidance = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for overarchingGuidance. |
getVersion()
public String getVersion()Optional. Version of the feature. If not set, default to latest version. Current candidates are ["1.2"].
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The version. |
getVersionBytes()
public ByteString getVersionBytes()Optional. Version of the feature. If not set, default to latest version. Current candidates are ["1.2"].
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AgentCoachingContext other)
public AgentCoachingContext.Builder mergeFrom(AgentCoachingContext other)| Parameter | |
|---|---|
| Name | Description |
other |
AgentCoachingContext |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AgentCoachingContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AgentCoachingContext.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AgentCoachingContext.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
removeInstructions(int index)
public AgentCoachingContext.Builder removeInstructions(int index)Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public AgentCoachingContext.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
setInstructions(int index, AgentCoachingInstruction value)
public AgentCoachingContext.Builder setInstructions(int index, AgentCoachingInstruction value)Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AgentCoachingInstruction |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
setInstructions(int index, AgentCoachingInstruction.Builder builderForValue)
public AgentCoachingContext.Builder setInstructions(int index, AgentCoachingInstruction.Builder builderForValue)Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AgentCoachingInstruction.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
setOutputLanguageCode(String value)
public AgentCoachingContext.Builder setOutputLanguageCode(String value)Optional. Output language code.
string output_language_code = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe outputLanguageCode to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
This builder for chaining. |
setOutputLanguageCodeBytes(ByteString value)
public AgentCoachingContext.Builder setOutputLanguageCodeBytes(ByteString value)Optional. Output language code.
string output_language_code = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for outputLanguageCode to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
This builder for chaining. |
setOverarchingGuidance(String value)
public AgentCoachingContext.Builder setOverarchingGuidance(String value)Optional. The overarching guidance for the agent coaching. This should be set only for v1.5 and later versions.
string overarching_guidance = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe overarchingGuidance to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
This builder for chaining. |
setOverarchingGuidanceBytes(ByteString value)
public AgentCoachingContext.Builder setOverarchingGuidanceBytes(ByteString value)Optional. The overarching guidance for the agent coaching. This should be set only for v1.5 and later versions.
string overarching_guidance = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for overarchingGuidance to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AgentCoachingContext.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final AgentCoachingContext.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
|
setVersion(String value)
public AgentCoachingContext.Builder setVersion(String value)Optional. Version of the feature. If not set, default to latest version. Current candidates are ["1.2"].
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe version to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public AgentCoachingContext.Builder setVersionBytes(ByteString value)Optional. Version of the feature. If not set, default to latest version. Current candidates are ["1.2"].
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for version to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingContext.Builder |
This builder for chaining. |