Class AgentCoachingContext (4.87.0)

public final class AgentCoachingContext extends GeneratedMessageV3 implements AgentCoachingContextOrBuilder

Agent Coaching context that customer can configure.

Protobuf type google.cloud.dialogflow.v2.AgentCoachingContext

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()
Returns
Type Description
AgentCoachingContext

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AgentCoachingContext.Builder newBuilder()
Returns
Type Description
AgentCoachingContext.Builder

newBuilder(AgentCoachingContext prototype)

public static AgentCoachingContext.Builder newBuilder(AgentCoachingContext prototype)
Parameter
Name Description
prototype AgentCoachingContext
Returns
Type Description
AgentCoachingContext.Builder

parseDelimitedFrom(InputStream input)

public static AgentCoachingContext parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AgentCoachingContext
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AgentCoachingContext parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentCoachingContext
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AgentCoachingContext parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AgentCoachingContext
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AgentCoachingContext parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentCoachingContext
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AgentCoachingContext parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AgentCoachingContext
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AgentCoachingContext parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentCoachingContext
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AgentCoachingContext parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AgentCoachingContext
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AgentCoachingContext parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentCoachingContext
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AgentCoachingContext parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AgentCoachingContext
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AgentCoachingContext parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentCoachingContext
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AgentCoachingContext parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AgentCoachingContext
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AgentCoachingContext parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentCoachingContext
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AgentCoachingContext> parser()
Returns
Type Description
Parser<AgentCoachingContext>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AgentCoachingContext getDefaultInstanceForType()
Returns
Type Description
AgentCoachingContext

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

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.

getParserForType()

public Parser<AgentCoachingContext> getParserForType()
Returns
Type Description
Parser<AgentCoachingContext>
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 ["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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AgentCoachingContext.Builder newBuilderForType()
Returns
Type Description
AgentCoachingContext.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AgentCoachingContext.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AgentCoachingContext.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AgentCoachingContext.Builder toBuilder()
Returns
Type Description
AgentCoachingContext.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException