Send feedback
Class AgentCoachingContext (4.87.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public final class AgentCoachingContext extends GeneratedMessageV3 implements AgentCoachingContextOrBuilder
Agent Coaching context that customer can configure.
Protobuf type google.cloud.dialogflow.v2beta1.AgentCoachingContext
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
INSTRUCTIONS_FIELD_NUMBER
public static final int INSTRUCTIONS_FIELD_NUMBER
Field Value
Type
Description
int
OUTPUT_LANGUAGE_CODE_FIELD_NUMBER
public static final int OUTPUT_LANGUAGE_CODE_FIELD_NUMBER
Field Value
Type
Description
int
OVERARCHING_GUIDANCE_FIELD_NUMBER
public static final int OVERARCHING_GUIDANCE_FIELD_NUMBER
Field Value
Type
Description
int
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static AgentCoachingContext getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static AgentCoachingContext . Builder newBuilder ()
newBuilder(AgentCoachingContext prototype)
public static AgentCoachingContext . Builder newBuilder ( AgentCoachingContext prototype )
parseDelimitedFrom(InputStream input)
public static AgentCoachingContext parseDelimitedFrom ( InputStream input )
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AgentCoachingContext parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static AgentCoachingContext parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AgentCoachingContext parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static AgentCoachingContext parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AgentCoachingContext parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
parseFrom(CodedInputStream input)
public static AgentCoachingContext parseFrom ( CodedInputStream input )
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AgentCoachingContext parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(InputStream input)
public static AgentCoachingContext parseFrom ( InputStream input )
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AgentCoachingContext parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static AgentCoachingContext parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AgentCoachingContext parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<AgentCoachingContext> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public AgentCoachingContext getDefaultInstanceForType ()
getInstructions(int index)
public AgentCoachingInstruction getInstructions ( int index )
Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2beta1.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
getInstructionsCount()
public int getInstructionsCount ()
Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2beta1.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.v2beta1.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
getInstructionsOrBuilder(int index)
public AgentCoachingInstructionOrBuilder getInstructionsOrBuilder ( int index )
Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2beta1.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
getInstructionsOrBuilderList()
public List <? extends AgentCoachingInstructionOrBuilder > getInstructionsOrBuilderList ()
Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2beta1.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
List <? extends com.google.cloud.dialogflow.v2beta1.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.
getParserForType()
public Parser<AgentCoachingContext> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getVersion()
public String getVersion ()
Optional. Version of the feature. If not set, default to latest version.
Current candidates are ["2.5"].
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 ["2.5"].
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for version.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public AgentCoachingContext . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AgentCoachingContext . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public AgentCoachingContext . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
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."],[],[]]