|
| 1 | +/* |
| 2 | + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except |
| 3 | + * in compliance with the License. You may obtain a copy of the License at |
| 4 | + * |
| 5 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 6 | + * |
| 7 | + * Unless required by applicable law or agreed to in writing, software distributed under the License |
| 8 | + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express |
| 9 | + * or implied. See the License for the specific language governing permissions and limitations under |
| 10 | + * the License. |
| 11 | + */ |
| 12 | +/* |
| 13 | + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ |
| 14 | + * Modify at your own risk. |
| 15 | + */ |
| 16 | + |
| 17 | +package com.google.api.services.dialogflow.v3.model; |
| 18 | + |
| 19 | +/** |
| 20 | + * Agent Coaching instructions that customer can configure. |
| 21 | + * |
| 22 | + * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is |
| 23 | + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: |
| 24 | + * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a> |
| 25 | + * </p> |
| 26 | + * |
| 27 | + * @author Google, Inc. |
| 28 | + */ |
| 29 | +@SuppressWarnings("javadoc") |
| 30 | +public final class GoogleCloudDialogflowV2AgentCoachingInstruction extends com.google.api.client.json.GenericJson { |
| 31 | + |
| 32 | + /** |
| 33 | + * Optional. The action that human agent should take. For example, "apologize for the slow |
| 34 | + * shipping". If the users only want to use agent coaching for intent detection, agent_action can |
| 35 | + * be empty |
| 36 | + * The value may be {@code null}. |
| 37 | + */ |
| 38 | + @com.google.api.client.util.Key |
| 39 | + private java.lang.String agentAction; |
| 40 | + |
| 41 | + /** |
| 42 | + * Optional. The condition of the instruction. For example, "the customer wants to cancel an |
| 43 | + * order". If the users want the instruction to be triggered unconditionally, the condition can be |
| 44 | + * empty. |
| 45 | + * The value may be {@code null}. |
| 46 | + */ |
| 47 | + @com.google.api.client.util.Key |
| 48 | + private java.lang.String condition; |
| 49 | + |
| 50 | + /** |
| 51 | + * Optional. The detailed description of this instruction. |
| 52 | + * The value may be {@code null}. |
| 53 | + */ |
| 54 | + @com.google.api.client.util.Key |
| 55 | + private java.lang.String displayDetails; |
| 56 | + |
| 57 | + /** |
| 58 | + * Optional. Display name for the instruction. |
| 59 | + * The value may be {@code null}. |
| 60 | + */ |
| 61 | + @com.google.api.client.util.Key |
| 62 | + private java.lang.String displayName; |
| 63 | + |
| 64 | + /** |
| 65 | + * Output only. Duplication check for the AgentCoachingInstruction. |
| 66 | + * The value may be {@code null}. |
| 67 | + */ |
| 68 | + @com.google.api.client.util.Key |
| 69 | + private GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult duplicateCheckResult; |
| 70 | + |
| 71 | + /** |
| 72 | + * Optional. The action that system should take. For example, "call GetOrderTime with |
| 73 | + * order_number={order number provided by the customer}". If the users don't have plugins or don't |
| 74 | + * want to trigger plugins, the system_action can be empty |
| 75 | + * The value may be {@code null}. |
| 76 | + */ |
| 77 | + @com.google.api.client.util.Key |
| 78 | + private java.lang.String systemAction; |
| 79 | + |
| 80 | + /** |
| 81 | + * Optional. The action that human agent should take. For example, "apologize for the slow |
| 82 | + * shipping". If the users only want to use agent coaching for intent detection, agent_action can |
| 83 | + * be empty |
| 84 | + * @return value or {@code null} for none |
| 85 | + */ |
| 86 | + public java.lang.String getAgentAction() { |
| 87 | + return agentAction; |
| 88 | + } |
| 89 | + |
| 90 | + /** |
| 91 | + * Optional. The action that human agent should take. For example, "apologize for the slow |
| 92 | + * shipping". If the users only want to use agent coaching for intent detection, agent_action can |
| 93 | + * be empty |
| 94 | + * @param agentAction agentAction or {@code null} for none |
| 95 | + */ |
| 96 | + public GoogleCloudDialogflowV2AgentCoachingInstruction setAgentAction(java.lang.String agentAction) { |
| 97 | + this.agentAction = agentAction; |
| 98 | + return this; |
| 99 | + } |
| 100 | + |
| 101 | + /** |
| 102 | + * Optional. The condition of the instruction. For example, "the customer wants to cancel an |
| 103 | + * order". If the users want the instruction to be triggered unconditionally, the condition can be |
| 104 | + * empty. |
| 105 | + * @return value or {@code null} for none |
| 106 | + */ |
| 107 | + public java.lang.String getCondition() { |
| 108 | + return condition; |
| 109 | + } |
| 110 | + |
| 111 | + /** |
| 112 | + * Optional. The condition of the instruction. For example, "the customer wants to cancel an |
| 113 | + * order". If the users want the instruction to be triggered unconditionally, the condition can be |
| 114 | + * empty. |
| 115 | + * @param condition condition or {@code null} for none |
| 116 | + */ |
| 117 | + public GoogleCloudDialogflowV2AgentCoachingInstruction setCondition(java.lang.String condition) { |
| 118 | + this.condition = condition; |
| 119 | + return this; |
| 120 | + } |
| 121 | + |
| 122 | + /** |
| 123 | + * Optional. The detailed description of this instruction. |
| 124 | + * @return value or {@code null} for none |
| 125 | + */ |
| 126 | + public java.lang.String getDisplayDetails() { |
| 127 | + return displayDetails; |
| 128 | + } |
| 129 | + |
| 130 | + /** |
| 131 | + * Optional. The detailed description of this instruction. |
| 132 | + * @param displayDetails displayDetails or {@code null} for none |
| 133 | + */ |
| 134 | + public GoogleCloudDialogflowV2AgentCoachingInstruction setDisplayDetails(java.lang.String displayDetails) { |
| 135 | + this.displayDetails = displayDetails; |
| 136 | + return this; |
| 137 | + } |
| 138 | + |
| 139 | + /** |
| 140 | + * Optional. Display name for the instruction. |
| 141 | + * @return value or {@code null} for none |
| 142 | + */ |
| 143 | + public java.lang.String getDisplayName() { |
| 144 | + return displayName; |
| 145 | + } |
| 146 | + |
| 147 | + /** |
| 148 | + * Optional. Display name for the instruction. |
| 149 | + * @param displayName displayName or {@code null} for none |
| 150 | + */ |
| 151 | + public GoogleCloudDialogflowV2AgentCoachingInstruction setDisplayName(java.lang.String displayName) { |
| 152 | + this.displayName = displayName; |
| 153 | + return this; |
| 154 | + } |
| 155 | + |
| 156 | + /** |
| 157 | + * Output only. Duplication check for the AgentCoachingInstruction. |
| 158 | + * @return value or {@code null} for none |
| 159 | + */ |
| 160 | + public GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult getDuplicateCheckResult() { |
| 161 | + return duplicateCheckResult; |
| 162 | + } |
| 163 | + |
| 164 | + /** |
| 165 | + * Output only. Duplication check for the AgentCoachingInstruction. |
| 166 | + * @param duplicateCheckResult duplicateCheckResult or {@code null} for none |
| 167 | + */ |
| 168 | + public GoogleCloudDialogflowV2AgentCoachingInstruction setDuplicateCheckResult(GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult duplicateCheckResult) { |
| 169 | + this.duplicateCheckResult = duplicateCheckResult; |
| 170 | + return this; |
| 171 | + } |
| 172 | + |
| 173 | + /** |
| 174 | + * Optional. The action that system should take. For example, "call GetOrderTime with |
| 175 | + * order_number={order number provided by the customer}". If the users don't have plugins or don't |
| 176 | + * want to trigger plugins, the system_action can be empty |
| 177 | + * @return value or {@code null} for none |
| 178 | + */ |
| 179 | + public java.lang.String getSystemAction() { |
| 180 | + return systemAction; |
| 181 | + } |
| 182 | + |
| 183 | + /** |
| 184 | + * Optional. The action that system should take. For example, "call GetOrderTime with |
| 185 | + * order_number={order number provided by the customer}". If the users don't have plugins or don't |
| 186 | + * want to trigger plugins, the system_action can be empty |
| 187 | + * @param systemAction systemAction or {@code null} for none |
| 188 | + */ |
| 189 | + public GoogleCloudDialogflowV2AgentCoachingInstruction setSystemAction(java.lang.String systemAction) { |
| 190 | + this.systemAction = systemAction; |
| 191 | + return this; |
| 192 | + } |
| 193 | + |
| 194 | + @Override |
| 195 | + public GoogleCloudDialogflowV2AgentCoachingInstruction set(String fieldName, Object value) { |
| 196 | + return (GoogleCloudDialogflowV2AgentCoachingInstruction) super.set(fieldName, value); |
| 197 | + } |
| 198 | + |
| 199 | + @Override |
| 200 | + public GoogleCloudDialogflowV2AgentCoachingInstruction clone() { |
| 201 | + return (GoogleCloudDialogflowV2AgentCoachingInstruction) super.clone(); |
| 202 | + } |
| 203 | + |
| 204 | +} |
0 commit comments