|
| 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.v2.model; |
| 18 | + |
| 19 | +/** |
| 20 | + * Agent Coaching context 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 GoogleCloudDialogflowV2AgentCoachingContext extends com.google.api.client.json.GenericJson { |
| 31 | + |
| 32 | + /** |
| 33 | + * Optional. Customized instructions for agent coaching. |
| 34 | + * The value may be {@code null}. |
| 35 | + */ |
| 36 | + @com.google.api.client.util.Key |
| 37 | + private java.util.List<GoogleCloudDialogflowV2AgentCoachingInstruction> instructions; |
| 38 | + |
| 39 | + /** |
| 40 | + * Optional. Output language code. |
| 41 | + * The value may be {@code null}. |
| 42 | + */ |
| 43 | + @com.google.api.client.util.Key |
| 44 | + private java.lang.String outputLanguageCode; |
| 45 | + |
| 46 | + /** |
| 47 | + * Optional. The overarching guidance for the agent coaching. This should be set only for v1.5 and |
| 48 | + * later versions. |
| 49 | + * The value may be {@code null}. |
| 50 | + */ |
| 51 | + @com.google.api.client.util.Key |
| 52 | + private java.lang.String overarchingGuidance; |
| 53 | + |
| 54 | + /** |
| 55 | + * Optional. Version of the feature. If not set, default to latest version. Current candidates are |
| 56 | + * ["1.2"]. |
| 57 | + * The value may be {@code null}. |
| 58 | + */ |
| 59 | + @com.google.api.client.util.Key |
| 60 | + private java.lang.String version; |
| 61 | + |
| 62 | + /** |
| 63 | + * Optional. Customized instructions for agent coaching. |
| 64 | + * @return value or {@code null} for none |
| 65 | + */ |
| 66 | + public java.util.List<GoogleCloudDialogflowV2AgentCoachingInstruction> getInstructions() { |
| 67 | + return instructions; |
| 68 | + } |
| 69 | + |
| 70 | + /** |
| 71 | + * Optional. Customized instructions for agent coaching. |
| 72 | + * @param instructions instructions or {@code null} for none |
| 73 | + */ |
| 74 | + public GoogleCloudDialogflowV2AgentCoachingContext setInstructions(java.util.List<GoogleCloudDialogflowV2AgentCoachingInstruction> instructions) { |
| 75 | + this.instructions = instructions; |
| 76 | + return this; |
| 77 | + } |
| 78 | + |
| 79 | + /** |
| 80 | + * Optional. Output language code. |
| 81 | + * @return value or {@code null} for none |
| 82 | + */ |
| 83 | + public java.lang.String getOutputLanguageCode() { |
| 84 | + return outputLanguageCode; |
| 85 | + } |
| 86 | + |
| 87 | + /** |
| 88 | + * Optional. Output language code. |
| 89 | + * @param outputLanguageCode outputLanguageCode or {@code null} for none |
| 90 | + */ |
| 91 | + public GoogleCloudDialogflowV2AgentCoachingContext setOutputLanguageCode(java.lang.String outputLanguageCode) { |
| 92 | + this.outputLanguageCode = outputLanguageCode; |
| 93 | + return this; |
| 94 | + } |
| 95 | + |
| 96 | + /** |
| 97 | + * Optional. The overarching guidance for the agent coaching. This should be set only for v1.5 and |
| 98 | + * later versions. |
| 99 | + * @return value or {@code null} for none |
| 100 | + */ |
| 101 | + public java.lang.String getOverarchingGuidance() { |
| 102 | + return overarchingGuidance; |
| 103 | + } |
| 104 | + |
| 105 | + /** |
| 106 | + * Optional. The overarching guidance for the agent coaching. This should be set only for v1.5 and |
| 107 | + * later versions. |
| 108 | + * @param overarchingGuidance overarchingGuidance or {@code null} for none |
| 109 | + */ |
| 110 | + public GoogleCloudDialogflowV2AgentCoachingContext setOverarchingGuidance(java.lang.String overarchingGuidance) { |
| 111 | + this.overarchingGuidance = overarchingGuidance; |
| 112 | + return this; |
| 113 | + } |
| 114 | + |
| 115 | + /** |
| 116 | + * Optional. Version of the feature. If not set, default to latest version. Current candidates are |
| 117 | + * ["1.2"]. |
| 118 | + * @return value or {@code null} for none |
| 119 | + */ |
| 120 | + public java.lang.String getVersion() { |
| 121 | + return version; |
| 122 | + } |
| 123 | + |
| 124 | + /** |
| 125 | + * Optional. Version of the feature. If not set, default to latest version. Current candidates are |
| 126 | + * ["1.2"]. |
| 127 | + * @param version version or {@code null} for none |
| 128 | + */ |
| 129 | + public GoogleCloudDialogflowV2AgentCoachingContext setVersion(java.lang.String version) { |
| 130 | + this.version = version; |
| 131 | + return this; |
| 132 | + } |
| 133 | + |
| 134 | + @Override |
| 135 | + public GoogleCloudDialogflowV2AgentCoachingContext set(String fieldName, Object value) { |
| 136 | + return (GoogleCloudDialogflowV2AgentCoachingContext) super.set(fieldName, value); |
| 137 | + } |
| 138 | + |
| 139 | + @Override |
| 140 | + public GoogleCloudDialogflowV2AgentCoachingContext clone() { |
| 141 | + return (GoogleCloudDialogflowV2AgentCoachingContext) super.clone(); |
| 142 | + } |
| 143 | + |
| 144 | +} |
0 commit comments