Class AgentCoachingInstruction

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.v2.AgentCoachingInstruction
All Implemented Interfaces:
AgentCoachingInstructionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class AgentCoachingInstruction extends com.google.protobuf.GeneratedMessage implements AgentCoachingInstructionOrBuilder
 Agent Coaching instructions that customer can configure.
 
Protobuf type google.cloud.dialogflow.v2.AgentCoachingInstruction
See Also:
  • Field Details

    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • DISPLAY_DETAILS_FIELD_NUMBER

      public static final int DISPLAY_DETAILS_FIELD_NUMBER
      See Also:
    • CONDITION_FIELD_NUMBER

      public static final int CONDITION_FIELD_NUMBER
      See Also:
    • AGENT_ACTION_FIELD_NUMBER

      public static final int AGENT_ACTION_FIELD_NUMBER
      See Also:
    • SYSTEM_ACTION_FIELD_NUMBER

      public static final int SYSTEM_ACTION_FIELD_NUMBER
      See Also:
    • DUPLICATE_CHECK_RESULT_FIELD_NUMBER

      public static final int DUPLICATE_CHECK_RESULT_FIELD_NUMBER
      See Also:
    • TRIGGERING_EVENT_FIELD_NUMBER

      public static final int TRIGGERING_EVENT_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getDisplayName

      public String getDisplayName()
       Optional. Display name for the instruction.
       
      string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayName in interface AgentCoachingInstructionOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Optional. Display name for the instruction.
       
      string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayNameBytes in interface AgentCoachingInstructionOrBuilder
      Returns:
      The bytes for displayName.
    • getDisplayDetails

      public String getDisplayDetails()
       Optional. The detailed description of this instruction.
       
      string display_details = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayDetails in interface AgentCoachingInstructionOrBuilder
      Returns:
      The displayDetails.
    • getDisplayDetailsBytes

      public com.google.protobuf.ByteString getDisplayDetailsBytes()
       Optional. The detailed description of this instruction.
       
      string display_details = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayDetailsBytes in interface AgentCoachingInstructionOrBuilder
      Returns:
      The bytes for displayDetails.
    • getCondition

      public String getCondition()
       Optional. The condition of the instruction. For example, "the customer
       wants to cancel an order".  If the users want the instruction to be
       triggered unconditionally, the condition can be empty.
       
      string condition = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCondition in interface AgentCoachingInstructionOrBuilder
      Returns:
      The condition.
    • getConditionBytes

      public com.google.protobuf.ByteString getConditionBytes()
       Optional. The condition of the instruction. For example, "the customer
       wants to cancel an order".  If the users want the instruction to be
       triggered unconditionally, the condition can be empty.
       
      string condition = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConditionBytes in interface AgentCoachingInstructionOrBuilder
      Returns:
      The bytes for condition.
    • getAgentAction

      public String getAgentAction()
       Optional. The action that human agent should take. For example, "apologize
       for the slow shipping". If the users only want to use agent coaching for
       intent detection, agent_action can be empty
       
      string agent_action = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAgentAction in interface AgentCoachingInstructionOrBuilder
      Returns:
      The agentAction.
    • getAgentActionBytes

      public com.google.protobuf.ByteString getAgentActionBytes()
       Optional. The action that human agent should take. For example, "apologize
       for the slow shipping". If the users only want to use agent coaching for
       intent detection, agent_action can be empty
       
      string agent_action = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAgentActionBytes in interface AgentCoachingInstructionOrBuilder
      Returns:
      The bytes for agentAction.
    • getSystemAction

      public String getSystemAction()
       Optional. The action that system should take. For example,
       "call GetOrderTime with order_number={order number provided by the
       customer}". If the users don't have plugins or don't want to trigger
       plugins, the system_action can be empty
       
      string system_action = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSystemAction in interface AgentCoachingInstructionOrBuilder
      Returns:
      The systemAction.
    • getSystemActionBytes

      public com.google.protobuf.ByteString getSystemActionBytes()
       Optional. The action that system should take. For example,
       "call GetOrderTime with order_number={order number provided by the
       customer}". If the users don't have plugins or don't want to trigger
       plugins, the system_action can be empty
       
      string system_action = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSystemActionBytes in interface AgentCoachingInstructionOrBuilder
      Returns:
      The bytes for systemAction.
    • hasDuplicateCheckResult

      public boolean hasDuplicateCheckResult()
       Output only. Duplication check for the AgentCoachingInstruction.
       
      .google.cloud.dialogflow.v2.AgentCoachingInstruction.DuplicateCheckResult duplicate_check_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDuplicateCheckResult in interface AgentCoachingInstructionOrBuilder
      Returns:
      Whether the duplicateCheckResult field is set.
    • getDuplicateCheckResult

      public AgentCoachingInstruction.DuplicateCheckResult getDuplicateCheckResult()
       Output only. Duplication check for the AgentCoachingInstruction.
       
      .google.cloud.dialogflow.v2.AgentCoachingInstruction.DuplicateCheckResult duplicate_check_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDuplicateCheckResult in interface AgentCoachingInstructionOrBuilder
      Returns:
      The duplicateCheckResult.
    • getDuplicateCheckResultOrBuilder

      public AgentCoachingInstruction.DuplicateCheckResultOrBuilder getDuplicateCheckResultOrBuilder()
       Output only. Duplication check for the AgentCoachingInstruction.
       
      .google.cloud.dialogflow.v2.AgentCoachingInstruction.DuplicateCheckResult duplicate_check_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDuplicateCheckResultOrBuilder in interface AgentCoachingInstructionOrBuilder
    • getTriggeringEventValue

      public int getTriggeringEventValue()
       Optional. The event that should trigger this instruction.
       If UNSPECIFIED, the instruction triggering will be same as the generator's
       trigger_event.
       
      .google.cloud.dialogflow.v2.AgentCoachingInstruction.TriggerEvent triggering_event = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTriggeringEventValue in interface AgentCoachingInstructionOrBuilder
      Returns:
      The enum numeric value on the wire for triggeringEvent.
    • getTriggeringEvent

      public AgentCoachingInstruction.TriggerEvent getTriggeringEvent()
       Optional. The event that should trigger this instruction.
       If UNSPECIFIED, the instruction triggering will be same as the generator's
       trigger_event.
       
      .google.cloud.dialogflow.v2.AgentCoachingInstruction.TriggerEvent triggering_event = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTriggeringEvent in interface AgentCoachingInstructionOrBuilder
      Returns:
      The triggeringEvent.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AgentCoachingInstruction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AgentCoachingInstruction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AgentCoachingInstruction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AgentCoachingInstruction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AgentCoachingInstruction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AgentCoachingInstruction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AgentCoachingInstruction parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AgentCoachingInstruction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AgentCoachingInstruction parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AgentCoachingInstruction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AgentCoachingInstruction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AgentCoachingInstruction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public AgentCoachingInstruction.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AgentCoachingInstruction.Builder newBuilder()
    • newBuilder

      public static AgentCoachingInstruction.Builder newBuilder(AgentCoachingInstruction prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AgentCoachingInstruction.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AgentCoachingInstruction getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AgentCoachingInstruction> parser()
    • getParserForType

      public com.google.protobuf.Parser<AgentCoachingInstruction> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public AgentCoachingInstruction getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder