- 4.87.0 (latest)
- 4.86.0
- 4.84.0
- 4.82.0
- 4.81.0
- 4.80.0
- 4.79.0
- 4.78.0
- 4.76.0
- 4.74.0
- 4.73.0
- 4.70.0
- 4.69.0
- 4.68.0
- 4.66.0
- 4.65.0
- 4.64.0
- 4.63.0
- 4.62.0
- 4.61.0
- 4.60.0
- 4.59.0
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
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. |