diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/README.md b/clients/google-api-services-dialogflow/v2/2.0.0/README.md
index c8a2b76b2e8..f17442e8280 100644
--- a/clients/google-api-services-dialogflow/v2/2.0.0/README.md
+++ b/clients/google-api-services-dialogflow/v2/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
The typical use is:
+ *
+ * {@code Dialogflow dialogflow = new Dialogflow(...);}
+ * {@code Dialogflow.CompanionAgents.List request = dialogflow.companionAgents().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public CompanionAgents companionAgents() {
+ return new CompanionAgents();
+ }
+
+ /**
+ * The "companionAgents" collection of methods.
+ */
+ public class CompanionAgents {
+
+ /**
+ * Create a request for the method "companionAgents.create".
+ *
+ * This request holds the parameters needed by the dialogflow server. After setting any optional
+ * parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ *
+ * @param parent
+ * @param content the {@link com.google.api.services.dialogflow.v2.model.GoogleCloudDialogflowV2CompanionAgent}
+ * @return the request
+ */
+ public Create create(java.lang.String parent, com.google.api.services.dialogflow.v2.model.GoogleCloudDialogflowV2CompanionAgent content) throws java.io.IOException {
+ Create result = new Create(parent, content);
+ initialize(result);
+ return result;
+ }
+
+ public class Create extends DialogflowRequest{@link + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param parent + * @param content the {@link com.google.api.services.dialogflow.v2.model.GoogleCloudDialogflowV2CompanionAgent} + * @since 1.13 + */ + protected Create(java.lang.String parent, com.google.api.services.dialogflow.v2.model.GoogleCloudDialogflowV2CompanionAgent content) { + super(Dialogflow.this, "POST", REST_PATH, content, com.google.api.services.dialogflow.v2.model.GoogleCloudDialogflowV2CompanionAgent.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + } + + @Override + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); + } + + @Override + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); + } + + @Override + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); + } + + @Override + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); + } + + @Override + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); + } + + @Override + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); + } + + @Override + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); + } + + @Override + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); + } + + @Override + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); + } + + @Override + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); + } + + @Override + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); + } + + @com.google.api.client.util.Key + private java.lang.String parent; + + /** + + */ + public java.lang.String getParent() { + return parent; + } + + public Create setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + this.parent = parent; + return this; + } + + @com.google.api.client.util.Key + private java.lang.String companionAgentId; + + /** + + */ + public java.lang.String getCompanionAgentId() { + return companionAgentId; + } + + public Create setCompanionAgentId(java.lang.String companionAgentId) { + this.companionAgentId = companionAgentId; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Create a request for the method "companionAgents.delete". + * + * This request holds the parameters needed by the dialogflow server. After setting any optional + * parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * + * @param name + * @return the request + */ + public Delete delete(java.lang.String name) throws java.io.IOException { + Delete result = new Delete(name); + initialize(result); + return result; + } + + public class Delete extends DialogflowRequest{@link + * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name + * @since 1.13 + */ + protected Delete(java.lang.String name) { + super(Dialogflow.this, "DELETE", REST_PATH, null, com.google.api.services.dialogflow.v2.model.GoogleProtobufEmpty.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/companionAgents/[^/]+$"); + } + } + + @Override + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); + } + + @Override + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); + } + + @Override + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); + } + + @Override + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); + } + + @Override + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); + } + + @Override + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); + } + + @Override + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); + } + + @Override + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); + } + + @Override + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); + } + + @Override + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); + } + + @Override + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); + } + + @com.google.api.client.util.Key + private java.lang.String name; + + /** + + */ + public java.lang.String getName() { + return name; + } + + public Delete setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/companionAgents/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); + } + } + /** + * Create a request for the method "companionAgents.get". + * + * This request holds the parameters needed by the dialogflow server. After setting any optional + * parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends DialogflowRequest+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(Dialogflow.this, "GET", REST_PATH, null, com.google.api.services.dialogflow.v2.model.GoogleCloudDialogflowV2CompanionAgent.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/companionAgents/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + @com.google.api.client.util.Key + private java.lang.String name; + + /** + + */ + public java.lang.String getName() { + return name; + } + + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/companionAgents/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Create a request for the method "companionAgents.list". + * + * This request holds the parameters needed by the dialogflow server. After setting any optional + * parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent + * @return the request + */ + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; + } + + public class List extends DialogflowRequest+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param parent + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(Dialogflow.this, "GET", REST_PATH, null, com.google.api.services.dialogflow.v2.model.GoogleCloudDialogflowV2ListCompanionAgentsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + @com.google.api.client.util.Key + private java.lang.String parent; + + /** + + */ + public java.lang.String getParent() { + return parent; + } + + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + this.parent = parent; + return this; + } + + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** + + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** + + */ + public java.lang.String getPageToken() { + return pageToken; + } + + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + /** + * Create a request for the method "companionAgents.patch". + * + * This request holds the parameters needed by the dialogflow server. After setting any optional + * parameters, call the {@link Patch#execute()} method to invoke the remote operation. + * + * @param name + * @param content the {@link com.google.api.services.dialogflow.v2.model.GoogleCloudDialogflowV2CompanionAgent} + * @return the request + */ + public Patch patch(java.lang.String name, com.google.api.services.dialogflow.v2.model.GoogleCloudDialogflowV2CompanionAgent content) throws java.io.IOException { + Patch result = new Patch(name, content); + initialize(result); + return result; + } + + public class Patch extends DialogflowRequest{@link + * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name + * @param content the {@link com.google.api.services.dialogflow.v2.model.GoogleCloudDialogflowV2CompanionAgent} + * @since 1.13 + */ + protected Patch(java.lang.String name, com.google.api.services.dialogflow.v2.model.GoogleCloudDialogflowV2CompanionAgent content) { + super(Dialogflow.this, "PATCH", REST_PATH, content, com.google.api.services.dialogflow.v2.model.GoogleCloudDialogflowV2CompanionAgent.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/companionAgents/[^/]+$"); + } + } + + @Override + public Patch set$Xgafv(java.lang.String $Xgafv) { + return (Patch) super.set$Xgafv($Xgafv); + } + + @Override + public Patch setAccessToken(java.lang.String accessToken) { + return (Patch) super.setAccessToken(accessToken); + } + + @Override + public Patch setAlt(java.lang.String alt) { + return (Patch) super.setAlt(alt); + } + + @Override + public Patch setCallback(java.lang.String callback) { + return (Patch) super.setCallback(callback); + } + + @Override + public Patch setFields(java.lang.String fields) { + return (Patch) super.setFields(fields); + } + + @Override + public Patch setKey(java.lang.String key) { + return (Patch) super.setKey(key); + } + + @Override + public Patch setOauthToken(java.lang.String oauthToken) { + return (Patch) super.setOauthToken(oauthToken); + } + + @Override + public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Patch) super.setPrettyPrint(prettyPrint); + } + + @Override + public Patch setQuotaUser(java.lang.String quotaUser) { + return (Patch) super.setQuotaUser(quotaUser); + } + + @Override + public Patch setUploadType(java.lang.String uploadType) { + return (Patch) super.setUploadType(uploadType); + } + + @Override + public Patch setUploadProtocol(java.lang.String uploadProtocol) { + return (Patch) super.setUploadProtocol(uploadProtocol); + } + + @com.google.api.client.util.Key + private java.lang.String name; + + /** + + */ + public java.lang.String getName() { + return name; + } + + public Patch setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/companionAgents/[^/]+$"); + } + this.name = name; + return this; + } + + @com.google.api.client.util.Key + private String updateMask; + + /** + + */ + public String getUpdateMask() { + return updateMask; + } + + public Patch setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public Patch set(String parameterName, Object value) { + return (Patch) super.set(parameterName, value); + } + } + } /** * An accessor for creating requests from the ConversationDatasets collection. diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2AgentAssistantFeedback.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2AgentAssistantFeedback.java index 45129c72b09..8a04b92efa4 100644 --- a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2AgentAssistantFeedback.java +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2AgentAssistantFeedback.java @@ -35,6 +35,12 @@ public final class GoogleCloudDialogflowV2AgentAssistantFeedback extends com.goo @com.google.api.client.util.Key private java.lang.String answerRelevance; + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2AgentAssistantFeedbackCompanionFeedback companionFeedback; + /** * The value may be {@code null}. */ @@ -80,6 +86,21 @@ public GoogleCloudDialogflowV2AgentAssistantFeedback setAnswerRelevance(java.lan return this; } + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2AgentAssistantFeedbackCompanionFeedback getCompanionFeedback() { + return companionFeedback; + } + + /** + * @param companionFeedback companionFeedback or {@code null} for none + */ + public GoogleCloudDialogflowV2AgentAssistantFeedback setCompanionFeedback(GoogleCloudDialogflowV2AgentAssistantFeedbackCompanionFeedback companionFeedback) { + this.companionFeedback = companionFeedback; + return this; + } + /** * @return value or {@code null} for none */ diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2AgentAssistantFeedbackCompanionFeedback.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2AgentAssistantFeedbackCompanionFeedback.java new file mode 100644 index 00000000000..0295924bd8a --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2AgentAssistantFeedbackCompanionFeedback.java @@ -0,0 +1,42 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2AgentAssistantFeedbackCompanionFeedback. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2AgentAssistantFeedbackCompanionFeedback extends com.google.api.client.json.GenericJson { + + @Override + public GoogleCloudDialogflowV2AgentAssistantFeedbackCompanionFeedback set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2AgentAssistantFeedbackCompanionFeedback) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2AgentAssistantFeedbackCompanionFeedback clone() { + return (GoogleCloudDialogflowV2AgentAssistantFeedbackCompanionFeedback) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2AgentAssistantRecord.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2AgentAssistantRecord.java index a86bbddcd38..6015c07b110 100644 --- a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2AgentAssistantRecord.java +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2AgentAssistantRecord.java @@ -35,6 +35,12 @@ public final class GoogleCloudDialogflowV2AgentAssistantRecord extends com.googl @com.google.api.client.util.Key private GoogleCloudDialogflowV2ArticleAnswer articleSuggestionAnswer; + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2CompanionSuggestion companionSuggestion; + /** * The value may be {@code null}. */ @@ -53,6 +59,12 @@ public final class GoogleCloudDialogflowV2AgentAssistantRecord extends com.googl @com.google.api.client.util.Key private GoogleCloudDialogflowV2GeneratorSuggestion generatorSuggestion; + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2StreamingReactiveCompanionSuggestionsResponseReactiveModeResponse reactiveCompanionSuggestion; + /** * @return value or {@code null} for none */ @@ -68,6 +80,21 @@ public GoogleCloudDialogflowV2AgentAssistantRecord setArticleSuggestionAnswer(Go return this; } + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionSuggestion getCompanionSuggestion() { + return companionSuggestion; + } + + /** + * @param companionSuggestion companionSuggestion or {@code null} for none + */ + public GoogleCloudDialogflowV2AgentAssistantRecord setCompanionSuggestion(GoogleCloudDialogflowV2CompanionSuggestion companionSuggestion) { + this.companionSuggestion = companionSuggestion; + return this; + } + /** * @return value or {@code null} for none */ @@ -113,6 +140,21 @@ public GoogleCloudDialogflowV2AgentAssistantRecord setGeneratorSuggestion(Google return this; } + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2StreamingReactiveCompanionSuggestionsResponseReactiveModeResponse getReactiveCompanionSuggestion() { + return reactiveCompanionSuggestion; + } + + /** + * @param reactiveCompanionSuggestion reactiveCompanionSuggestion or {@code null} for none + */ + public GoogleCloudDialogflowV2AgentAssistantRecord setReactiveCompanionSuggestion(GoogleCloudDialogflowV2StreamingReactiveCompanionSuggestionsResponseReactiveModeResponse reactiveCompanionSuggestion) { + this.reactiveCompanionSuggestion = reactiveCompanionSuggestion; + return this; + } + @Override public GoogleCloudDialogflowV2AgentAssistantRecord set(String fieldName, Object value) { return (GoogleCloudDialogflowV2AgentAssistantRecord) super.set(fieldName, value); diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2CompanionAgent.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2CompanionAgent.java new file mode 100644 index 00000000000..b34526f92da --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2CompanionAgent.java @@ -0,0 +1,216 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2CompanionAgent. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2CompanionAgent extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2CompanionAgentGuidanceSkillConfig extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2CompanionAgentKnowledgeSource extends com.google.api.client.json.GenericJson { + + @Override + public GoogleCloudDialogflowV2CompanionAgentKnowledgeSource set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2CompanionAgentKnowledgeSource) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2CompanionAgentKnowledgeSource clone() { + return (GoogleCloudDialogflowV2CompanionAgentKnowledgeSource) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2CompanionAgentSkillConfig.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2CompanionAgentSkillConfig.java new file mode 100644 index 00000000000..25bc66e3686 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2CompanionAgentSkillConfig.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2CompanionAgentSkillConfig. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2CompanionAgentSkillConfig extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2CompanionAgentGuidanceSkillConfig guidanceSkillConfig; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String skillTriggeringEvent; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2CompanionAgentTranslationSkillConfig translationSkillConfig; + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionAgentGuidanceSkillConfig getGuidanceSkillConfig() { + return guidanceSkillConfig; + } + + /** + * @param guidanceSkillConfig guidanceSkillConfig or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionAgentSkillConfig setGuidanceSkillConfig(GoogleCloudDialogflowV2CompanionAgentGuidanceSkillConfig guidanceSkillConfig) { + this.guidanceSkillConfig = guidanceSkillConfig; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getSkillTriggeringEvent() { + return skillTriggeringEvent; + } + + /** + * @param skillTriggeringEvent skillTriggeringEvent or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionAgentSkillConfig setSkillTriggeringEvent(java.lang.String skillTriggeringEvent) { + this.skillTriggeringEvent = skillTriggeringEvent; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionAgentTranslationSkillConfig getTranslationSkillConfig() { + return translationSkillConfig; + } + + /** + * @param translationSkillConfig translationSkillConfig or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionAgentSkillConfig setTranslationSkillConfig(GoogleCloudDialogflowV2CompanionAgentTranslationSkillConfig translationSkillConfig) { + this.translationSkillConfig = translationSkillConfig; + return this; + } + + @Override + public GoogleCloudDialogflowV2CompanionAgentSkillConfig set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2CompanionAgentSkillConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2CompanionAgentSkillConfig clone() { + return (GoogleCloudDialogflowV2CompanionAgentSkillConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2CompanionAgentTranslationSkillConfig.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2CompanionAgentTranslationSkillConfig.java new file mode 100644 index 00000000000..8936409caed --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2CompanionAgentTranslationSkillConfig.java @@ -0,0 +1,84 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2CompanionAgentTranslationSkillConfig. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2CompanionAgentTranslationSkillConfig extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String agentLanguageCode; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerLanguageCode; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getAgentLanguageCode() { + return agentLanguageCode; + } + + /** + * @param agentLanguageCode agentLanguageCode or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionAgentTranslationSkillConfig setAgentLanguageCode(java.lang.String agentLanguageCode) { + this.agentLanguageCode = agentLanguageCode; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getCustomerLanguageCode() { + return customerLanguageCode; + } + + /** + * @param customerLanguageCode customerLanguageCode or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionAgentTranslationSkillConfig setCustomerLanguageCode(java.lang.String customerLanguageCode) { + this.customerLanguageCode = customerLanguageCode; + return this; + } + + @Override + public GoogleCloudDialogflowV2CompanionAgentTranslationSkillConfig set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2CompanionAgentTranslationSkillConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2CompanionAgentTranslationSkillConfig clone() { + return (GoogleCloudDialogflowV2CompanionAgentTranslationSkillConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2CompanionSuggestion.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2CompanionSuggestion.java new file mode 100644 index 00000000000..18cd36c1c08 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2CompanionSuggestion.java @@ -0,0 +1,63 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2CompanionSuggestion. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2CompanionSuggestion extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2CompanionSuggestionGuidance extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String explanation; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GroundingMetadata groundingMetadata; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GuidanceInstruction instructionSource; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeArticleTitle; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeArticleUrl; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeSnippet; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeArticleTitle() { + return knowledgeArticleTitle; + } + + /** + * @param knowledgeArticleTitle knowledgeArticleTitle or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource setKnowledgeArticleTitle(java.lang.String knowledgeArticleTitle) { + this.knowledgeArticleTitle = knowledgeArticleTitle; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeArticleUrl() { + return knowledgeArticleUrl; + } + + /** + * @param knowledgeArticleUrl knowledgeArticleUrl or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource setKnowledgeArticleUrl(java.lang.String knowledgeArticleUrl) { + this.knowledgeArticleUrl = knowledgeArticleUrl; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeSnippet() { + return knowledgeSnippet; + } + + /** + * @param knowledgeSnippet knowledgeSnippet or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource setKnowledgeSnippet(java.lang.String knowledgeSnippet) { + this.knowledgeSnippet = knowledgeSnippet; + return this; + } + + @Override + public GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource clone() { + return (GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse.java new file mode 100644 index 00000000000..a7f09b718e8 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse.java @@ -0,0 +1,126 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String answerRecord; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2CompanionSuggestion companionSuggestion; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String latestMessage; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer suggestionIndex; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getAnswerRecord() { + return answerRecord; + } + + /** + * @param answerRecord answerRecord or {@code null} for none + */ + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse setAnswerRecord(java.lang.String answerRecord) { + this.answerRecord = answerRecord; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionSuggestion getCompanionSuggestion() { + return companionSuggestion; + } + + /** + * @param companionSuggestion companionSuggestion or {@code null} for none + */ + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse setCompanionSuggestion(GoogleCloudDialogflowV2CompanionSuggestion companionSuggestion) { + this.companionSuggestion = companionSuggestion; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getLatestMessage() { + return latestMessage; + } + + /** + * @param latestMessage latestMessage or {@code null} for none + */ + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse setLatestMessage(java.lang.String latestMessage) { + this.latestMessage = latestMessage; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getSuggestionIndex() { + return suggestionIndex; + } + + /** + * @param suggestionIndex suggestionIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse setSuggestionIndex(java.lang.Integer suggestionIndex) { + this.suggestionIndex = suggestionIndex; + return this; + } + + @Override + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse clone() { + return (GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2GroundingChunk.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2GroundingChunk.java new file mode 100644 index 00000000000..2fd44b64507 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2GroundingChunk.java @@ -0,0 +1,84 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2GroundingChunk. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GroundingChunk extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GroundingChunkRetrievedContext retrievedContext; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GroundingChunkWeb web; + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext getRetrievedContext() { + return retrievedContext; + } + + /** + * @param retrievedContext retrievedContext or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunk setRetrievedContext(GoogleCloudDialogflowV2GroundingChunkRetrievedContext retrievedContext) { + this.retrievedContext = retrievedContext; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkWeb getWeb() { + return web; + } + + /** + * @param web web or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunk setWeb(GoogleCloudDialogflowV2GroundingChunkWeb web) { + this.web = web; + return this; + } + + @Override + public GoogleCloudDialogflowV2GroundingChunk set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2GroundingChunk) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2GroundingChunk clone() { + return (GoogleCloudDialogflowV2GroundingChunk) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2GroundingChunkRetrievedContext.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2GroundingChunkRetrievedContext.java new file mode 100644 index 00000000000..6ffc164ecd8 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2GroundingChunkRetrievedContext.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2GroundingChunkRetrievedContext. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GroundingChunkRetrievedContext extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String title; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uri; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * @param text text or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext setText(java.lang.String text) { + this.text = text; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTitle() { + return title; + } + + /** + * @param title title or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext setTitle(java.lang.String title) { + this.title = title; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getUri() { + return uri; + } + + /** + * @param uri uri or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext setUri(java.lang.String uri) { + this.uri = uri; + return this; + } + + @Override + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2GroundingChunkRetrievedContext) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext clone() { + return (GoogleCloudDialogflowV2GroundingChunkRetrievedContext) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2GroundingChunkWeb.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2GroundingChunkWeb.java new file mode 100644 index 00000000000..15a01239245 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2GroundingChunkWeb.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2GroundingChunkWeb. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GroundingChunkWeb extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String domain; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String title; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uri; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getDomain() { + return domain; + } + + /** + * @param domain domain or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkWeb setDomain(java.lang.String domain) { + this.domain = domain; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTitle() { + return title; + } + + /** + * @param title title or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkWeb setTitle(java.lang.String title) { + this.title = title; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getUri() { + return uri; + } + + /** + * @param uri uri or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkWeb setUri(java.lang.String uri) { + this.uri = uri; + return this; + } + + @Override + public GoogleCloudDialogflowV2GroundingChunkWeb set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2GroundingChunkWeb) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2GroundingChunkWeb clone() { + return (GoogleCloudDialogflowV2GroundingChunkWeb) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2GroundingMetadata.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2GroundingMetadata.java new file mode 100644 index 00000000000..0b0f7feb196 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2GroundingMetadata.java @@ -0,0 +1,132 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2GroundingMetadata. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GroundingMetadata extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GroundingSupport extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GuidanceInstruction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GuidanceInstructionAction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * @param description description or {@code null} for none + */ + public GoogleCloudDialogflowV2GuidanceInstructionAction setDescription(java.lang.String description) { + this.description = description; + return this; + } + + @Override + public GoogleCloudDialogflowV2GuidanceInstructionAction set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2GuidanceInstructionAction) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2GuidanceInstructionAction clone() { + return (GoogleCloudDialogflowV2GuidanceInstructionAction) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig.java index 0cca237c26a..d2f372df5f5 100644 --- a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig.java +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig.java @@ -29,6 +29,12 @@ @SuppressWarnings("javadoc") public final class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig extends com.google.api.client.json.GenericJson { + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String companionAgent; + /** * The value may be {@code null}. */ @@ -71,6 +77,21 @@ public final class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionCon @com.google.api.client.util.Key private java.lang.Boolean useUnredactedConversationData; + /** + * @return value or {@code null} for none + */ + public java.lang.String getCompanionAgent() { + return companionAgent; + } + + /** + * @param companionAgent companionAgent or {@code null} for none + */ + public GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig setCompanionAgent(java.lang.String companionAgent) { + this.companionAgent = companionAgent; + return this; + } + /** * @return value or {@code null} for none */ diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2ListCompanionAgentsResponse.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2ListCompanionAgentsResponse.java new file mode 100644 index 00000000000..12b420bcb0c --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2ListCompanionAgentsResponse.java @@ -0,0 +1,90 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2ListCompanionAgentsResponse. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2ListCompanionAgentsResponse extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2SearchEntryPoint extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String renderedContent; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getRenderedContent() { + return renderedContent; + } + + /** + * @param renderedContent renderedContent or {@code null} for none + */ + public GoogleCloudDialogflowV2SearchEntryPoint setRenderedContent(java.lang.String renderedContent) { + this.renderedContent = renderedContent; + return this; + } + + @Override + public GoogleCloudDialogflowV2SearchEntryPoint set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2SearchEntryPoint) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2SearchEntryPoint clone() { + return (GoogleCloudDialogflowV2SearchEntryPoint) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2Segment.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2Segment.java new file mode 100644 index 00000000000..46f2c210e1f --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2Segment.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2Segment. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2Segment extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer endIndex; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer startIndex; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getEndIndex() { + return endIndex; + } + + /** + * @param endIndex endIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2Segment setEndIndex(java.lang.Integer endIndex) { + this.endIndex = endIndex; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getStartIndex() { + return startIndex; + } + + /** + * @param startIndex startIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2Segment setStartIndex(java.lang.Integer startIndex) { + this.startIndex = startIndex; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * @param text text or {@code null} for none + */ + public GoogleCloudDialogflowV2Segment setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleCloudDialogflowV2Segment set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2Segment) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2Segment clone() { + return (GoogleCloudDialogflowV2Segment) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2StreamingReactiveCompanionSuggestionsResponseReactiveModeResponse.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2StreamingReactiveCompanionSuggestionsResponseReactiveModeResponse.java new file mode 100644 index 00000000000..1f0f32c46eb --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2StreamingReactiveCompanionSuggestionsResponseReactiveModeResponse.java @@ -0,0 +1,106 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for + * GoogleCloudDialogflowV2StreamingReactiveCompanionSuggestionsResponseReactiveModeResponse. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2StreamingReactiveCompanionSuggestionsResponseReactiveModeResponse extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GroundingMetadata groundingMetadata; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String response; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2ToolCallSuggestion extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String textUpdate; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo toolCallInfo; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTextUpdate() { + return textUpdate; + } + + /** + * @param textUpdate textUpdate or {@code null} for none + */ + public GoogleCloudDialogflowV2ToolCallSuggestion setTextUpdate(java.lang.String textUpdate) { + this.textUpdate = textUpdate; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo getToolCallInfo() { + return toolCallInfo; + } + + /** + * @param toolCallInfo toolCallInfo or {@code null} for none + */ + public GoogleCloudDialogflowV2ToolCallSuggestion setToolCallInfo(GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo toolCallInfo) { + this.toolCallInfo = toolCallInfo; + return this; + } + + @Override + public GoogleCloudDialogflowV2ToolCallSuggestion set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2ToolCallSuggestion) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2ToolCallSuggestion clone() { + return (GoogleCloudDialogflowV2ToolCallSuggestion) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1CompanionSuggestion.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1CompanionSuggestion.java new file mode 100644 index 00000000000..56fed969c3f --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1CompanionSuggestion.java @@ -0,0 +1,63 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1CompanionSuggestion. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1CompanionSuggestion extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1CompanionSuggestionGuidance extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String explanation; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GroundingMetadata groundingMetadata; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GuidanceInstruction instructionSource; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeArticleTitle; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeArticleUrl; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeSnippet; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeArticleTitle() { + return knowledgeArticleTitle; + } + + /** + * @param knowledgeArticleTitle knowledgeArticleTitle or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource setKnowledgeArticleTitle(java.lang.String knowledgeArticleTitle) { + this.knowledgeArticleTitle = knowledgeArticleTitle; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeArticleUrl() { + return knowledgeArticleUrl; + } + + /** + * @param knowledgeArticleUrl knowledgeArticleUrl or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource setKnowledgeArticleUrl(java.lang.String knowledgeArticleUrl) { + this.knowledgeArticleUrl = knowledgeArticleUrl; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeSnippet() { + return knowledgeSnippet; + } + + /** + * @param knowledgeSnippet knowledgeSnippet or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource setKnowledgeSnippet(java.lang.String knowledgeSnippet) { + this.knowledgeSnippet = knowledgeSnippet; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource clone() { + return (GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse.java new file mode 100644 index 00000000000..284e026776e --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse.java @@ -0,0 +1,126 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String answerRecord; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1CompanionSuggestion companionSuggestion; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String latestMessage; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer suggestionIndex; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getAnswerRecord() { + return answerRecord; + } + + /** + * @param answerRecord answerRecord or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse setAnswerRecord(java.lang.String answerRecord) { + this.answerRecord = answerRecord; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1CompanionSuggestion getCompanionSuggestion() { + return companionSuggestion; + } + + /** + * @param companionSuggestion companionSuggestion or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse setCompanionSuggestion(GoogleCloudDialogflowV2beta1CompanionSuggestion companionSuggestion) { + this.companionSuggestion = companionSuggestion; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getLatestMessage() { + return latestMessage; + } + + /** + * @param latestMessage latestMessage or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse setLatestMessage(java.lang.String latestMessage) { + this.latestMessage = latestMessage; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getSuggestionIndex() { + return suggestionIndex; + } + + /** + * @param suggestionIndex suggestionIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse setSuggestionIndex(java.lang.Integer suggestionIndex) { + this.suggestionIndex = suggestionIndex; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse clone() { + return (GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1GroundingChunk.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1GroundingChunk.java new file mode 100644 index 00000000000..1e6c3a87d9d --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1GroundingChunk.java @@ -0,0 +1,84 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1GroundingChunk. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GroundingChunk extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext retrievedContext; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GroundingChunkWeb web; + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext getRetrievedContext() { + return retrievedContext; + } + + /** + * @param retrievedContext retrievedContext or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunk setRetrievedContext(GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext retrievedContext) { + this.retrievedContext = retrievedContext; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkWeb getWeb() { + return web; + } + + /** + * @param web web or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunk setWeb(GoogleCloudDialogflowV2beta1GroundingChunkWeb web) { + this.web = web; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunk set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1GroundingChunk) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunk clone() { + return (GoogleCloudDialogflowV2beta1GroundingChunk) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext.java new file mode 100644 index 00000000000..767bbcece9c --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String title; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uri; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * @param text text or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext setText(java.lang.String text) { + this.text = text; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTitle() { + return title; + } + + /** + * @param title title or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext setTitle(java.lang.String title) { + this.title = title; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getUri() { + return uri; + } + + /** + * @param uri uri or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext setUri(java.lang.String uri) { + this.uri = uri; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext clone() { + return (GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1GroundingChunkWeb.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1GroundingChunkWeb.java new file mode 100644 index 00000000000..5e192d77225 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1GroundingChunkWeb.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1GroundingChunkWeb. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GroundingChunkWeb extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String domain; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String title; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uri; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getDomain() { + return domain; + } + + /** + * @param domain domain or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkWeb setDomain(java.lang.String domain) { + this.domain = domain; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTitle() { + return title; + } + + /** + * @param title title or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkWeb setTitle(java.lang.String title) { + this.title = title; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getUri() { + return uri; + } + + /** + * @param uri uri or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkWeb setUri(java.lang.String uri) { + this.uri = uri; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunkWeb set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1GroundingChunkWeb) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunkWeb clone() { + return (GoogleCloudDialogflowV2beta1GroundingChunkWeb) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1GroundingMetadata.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1GroundingMetadata.java new file mode 100644 index 00000000000..5508663cec9 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1GroundingMetadata.java @@ -0,0 +1,132 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1GroundingMetadata. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GroundingMetadata extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GroundingSupport extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GuidanceInstruction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GuidanceInstructionAction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * @param description description or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GuidanceInstructionAction setDescription(java.lang.String description) { + this.description = description; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1GuidanceInstructionAction set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1GuidanceInstructionAction) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1GuidanceInstructionAction clone() { + return (GoogleCloudDialogflowV2beta1GuidanceInstructionAction) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1SearchEntryPoint.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1SearchEntryPoint.java new file mode 100644 index 00000000000..e33223f454e --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1SearchEntryPoint.java @@ -0,0 +1,63 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1SearchEntryPoint. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1SearchEntryPoint extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String renderedContent; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getRenderedContent() { + return renderedContent; + } + + /** + * @param renderedContent renderedContent or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1SearchEntryPoint setRenderedContent(java.lang.String renderedContent) { + this.renderedContent = renderedContent; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1SearchEntryPoint set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1SearchEntryPoint) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1SearchEntryPoint clone() { + return (GoogleCloudDialogflowV2beta1SearchEntryPoint) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1Segment.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1Segment.java new file mode 100644 index 00000000000..e6cc06bbe96 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1Segment.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1Segment. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1Segment extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer endIndex; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer startIndex; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getEndIndex() { + return endIndex; + } + + /** + * @param endIndex endIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1Segment setEndIndex(java.lang.Integer endIndex) { + this.endIndex = endIndex; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getStartIndex() { + return startIndex; + } + + /** + * @param startIndex startIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1Segment setStartIndex(java.lang.Integer startIndex) { + this.startIndex = startIndex; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * @param text text or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1Segment setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1Segment set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1Segment) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1Segment clone() { + return (GoogleCloudDialogflowV2beta1Segment) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1SuggestionResult.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1SuggestionResult.java index b963cc5916b..12605c1a9e5 100644 --- a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1SuggestionResult.java +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1SuggestionResult.java @@ -35,6 +35,12 @@ public final class GoogleCloudDialogflowV2beta1SuggestionResult extends com.goog @com.google.api.client.util.Key private GoogleRpcStatus error; + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse generateCompanionSuggestionsResponse; + /** * The value may be {@code null}. */ @@ -92,6 +98,21 @@ public GoogleCloudDialogflowV2beta1SuggestionResult setError(GoogleRpcStatus err return this; } + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse getGenerateCompanionSuggestionsResponse() { + return generateCompanionSuggestionsResponse; + } + + /** + * @param generateCompanionSuggestionsResponse generateCompanionSuggestionsResponse or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1SuggestionResult setGenerateCompanionSuggestionsResponse(GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse generateCompanionSuggestionsResponse) { + this.generateCompanionSuggestionsResponse = generateCompanionSuggestionsResponse; + return this; + } + /** * @return value or {@code null} for none */ diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1ToolCallSuggestion.java b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1ToolCallSuggestion.java new file mode 100644 index 00000000000..0ef8d1e4df0 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowV2beta1ToolCallSuggestion.java @@ -0,0 +1,84 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1ToolCallSuggestion. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1ToolCallSuggestion extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String textUpdate; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo toolCallInfo; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTextUpdate() { + return textUpdate; + } + + /** + * @param textUpdate textUpdate or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1ToolCallSuggestion setTextUpdate(java.lang.String textUpdate) { + this.textUpdate = textUpdate; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo getToolCallInfo() { + return toolCallInfo; + } + + /** + * @param toolCallInfo toolCallInfo or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1ToolCallSuggestion setToolCallInfo(GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo toolCallInfo) { + this.toolCallInfo = toolCallInfo; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1ToolCallSuggestion set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1ToolCallSuggestion) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1ToolCallSuggestion clone() { + return (GoogleCloudDialogflowV2beta1ToolCallSuggestion) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2/2.0.0/pom.xml b/clients/google-api-services-dialogflow/v2/2.0.0/pom.xml index 72f09c559f0..51a4b77e266 100644 --- a/clients/google-api-services-dialogflow/v2/2.0.0/pom.xml +++ b/clients/google-api-services-dialogflow/v2/2.0.0/pom.xml @@ -8,8 +8,8 @@The typical use is:
+ *
+ * {@code Dialogflow dialogflow = new Dialogflow(...);}
+ * {@code Dialogflow.CompanionAgents.List request = dialogflow.companionAgents().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public CompanionAgents companionAgents() {
+ return new CompanionAgents();
+ }
+
+ /**
+ * The "companionAgents" collection of methods.
+ */
+ public class CompanionAgents {
+
+ /**
+ * Create a request for the method "companionAgents.create".
+ *
+ * This request holds the parameters needed by the dialogflow server. After setting any optional
+ * parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ *
+ * @param parent
+ * @param content the {@link com.google.api.services.dialogflow.v2beta1.model.GoogleCloudDialogflowV2beta1CompanionAgent}
+ * @return the request
+ */
+ public Create create(java.lang.String parent, com.google.api.services.dialogflow.v2beta1.model.GoogleCloudDialogflowV2beta1CompanionAgent content) throws java.io.IOException {
+ Create result = new Create(parent, content);
+ initialize(result);
+ return result;
+ }
+
+ public class Create extends DialogflowRequest{@link + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param parent + * @param content the {@link com.google.api.services.dialogflow.v2beta1.model.GoogleCloudDialogflowV2beta1CompanionAgent} + * @since 1.13 + */ + protected Create(java.lang.String parent, com.google.api.services.dialogflow.v2beta1.model.GoogleCloudDialogflowV2beta1CompanionAgent content) { + super(Dialogflow.this, "POST", REST_PATH, content, com.google.api.services.dialogflow.v2beta1.model.GoogleCloudDialogflowV2beta1CompanionAgent.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + } + + @Override + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); + } + + @Override + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); + } + + @Override + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); + } + + @Override + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); + } + + @Override + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); + } + + @Override + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); + } + + @Override + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); + } + + @Override + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); + } + + @Override + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); + } + + @Override + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); + } + + @Override + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); + } + + @com.google.api.client.util.Key + private java.lang.String parent; + + /** + + */ + public java.lang.String getParent() { + return parent; + } + + public Create setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + this.parent = parent; + return this; + } + + @com.google.api.client.util.Key + private java.lang.String companionAgentId; + + /** + + */ + public java.lang.String getCompanionAgentId() { + return companionAgentId; + } + + public Create setCompanionAgentId(java.lang.String companionAgentId) { + this.companionAgentId = companionAgentId; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Create a request for the method "companionAgents.delete". + * + * This request holds the parameters needed by the dialogflow server. After setting any optional + * parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * + * @param name + * @return the request + */ + public Delete delete(java.lang.String name) throws java.io.IOException { + Delete result = new Delete(name); + initialize(result); + return result; + } + + public class Delete extends DialogflowRequest{@link + * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name + * @since 1.13 + */ + protected Delete(java.lang.String name) { + super(Dialogflow.this, "DELETE", REST_PATH, null, com.google.api.services.dialogflow.v2beta1.model.GoogleProtobufEmpty.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/companionAgents/[^/]+$"); + } + } + + @Override + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); + } + + @Override + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); + } + + @Override + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); + } + + @Override + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); + } + + @Override + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); + } + + @Override + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); + } + + @Override + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); + } + + @Override + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); + } + + @Override + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); + } + + @Override + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); + } + + @Override + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); + } + + @com.google.api.client.util.Key + private java.lang.String name; + + /** + + */ + public java.lang.String getName() { + return name; + } + + public Delete setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/companionAgents/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); + } + } + /** + * Create a request for the method "companionAgents.get". + * + * This request holds the parameters needed by the dialogflow server. After setting any optional + * parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends DialogflowRequest+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(Dialogflow.this, "GET", REST_PATH, null, com.google.api.services.dialogflow.v2beta1.model.GoogleCloudDialogflowV2beta1CompanionAgent.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/companionAgents/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + @com.google.api.client.util.Key + private java.lang.String name; + + /** + + */ + public java.lang.String getName() { + return name; + } + + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/companionAgents/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Create a request for the method "companionAgents.list". + * + * This request holds the parameters needed by the dialogflow server. After setting any optional + * parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent + * @return the request + */ + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; + } + + public class List extends DialogflowRequest+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param parent + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(Dialogflow.this, "GET", REST_PATH, null, com.google.api.services.dialogflow.v2beta1.model.GoogleCloudDialogflowV2beta1ListCompanionAgentsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + @com.google.api.client.util.Key + private java.lang.String parent; + + /** + + */ + public java.lang.String getParent() { + return parent; + } + + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + this.parent = parent; + return this; + } + + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** + + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** + + */ + public java.lang.String getPageToken() { + return pageToken; + } + + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + /** + * Create a request for the method "companionAgents.patch". + * + * This request holds the parameters needed by the dialogflow server. After setting any optional + * parameters, call the {@link Patch#execute()} method to invoke the remote operation. + * + * @param name + * @param content the {@link com.google.api.services.dialogflow.v2beta1.model.GoogleCloudDialogflowV2beta1CompanionAgent} + * @return the request + */ + public Patch patch(java.lang.String name, com.google.api.services.dialogflow.v2beta1.model.GoogleCloudDialogflowV2beta1CompanionAgent content) throws java.io.IOException { + Patch result = new Patch(name, content); + initialize(result); + return result; + } + + public class Patch extends DialogflowRequest{@link + * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name + * @param content the {@link com.google.api.services.dialogflow.v2beta1.model.GoogleCloudDialogflowV2beta1CompanionAgent} + * @since 1.13 + */ + protected Patch(java.lang.String name, com.google.api.services.dialogflow.v2beta1.model.GoogleCloudDialogflowV2beta1CompanionAgent content) { + super(Dialogflow.this, "PATCH", REST_PATH, content, com.google.api.services.dialogflow.v2beta1.model.GoogleCloudDialogflowV2beta1CompanionAgent.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/companionAgents/[^/]+$"); + } + } + + @Override + public Patch set$Xgafv(java.lang.String $Xgafv) { + return (Patch) super.set$Xgafv($Xgafv); + } + + @Override + public Patch setAccessToken(java.lang.String accessToken) { + return (Patch) super.setAccessToken(accessToken); + } + + @Override + public Patch setAlt(java.lang.String alt) { + return (Patch) super.setAlt(alt); + } + + @Override + public Patch setCallback(java.lang.String callback) { + return (Patch) super.setCallback(callback); + } + + @Override + public Patch setFields(java.lang.String fields) { + return (Patch) super.setFields(fields); + } + + @Override + public Patch setKey(java.lang.String key) { + return (Patch) super.setKey(key); + } + + @Override + public Patch setOauthToken(java.lang.String oauthToken) { + return (Patch) super.setOauthToken(oauthToken); + } + + @Override + public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Patch) super.setPrettyPrint(prettyPrint); + } + + @Override + public Patch setQuotaUser(java.lang.String quotaUser) { + return (Patch) super.setQuotaUser(quotaUser); + } + + @Override + public Patch setUploadType(java.lang.String uploadType) { + return (Patch) super.setUploadType(uploadType); + } + + @Override + public Patch setUploadProtocol(java.lang.String uploadProtocol) { + return (Patch) super.setUploadProtocol(uploadProtocol); + } + + @com.google.api.client.util.Key + private java.lang.String name; + + /** + + */ + public java.lang.String getName() { + return name; + } + + public Patch setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/companionAgents/[^/]+$"); + } + this.name = name; + return this; + } + + @com.google.api.client.util.Key + private String updateMask; + + /** + + */ + public String getUpdateMask() { + return updateMask; + } + + public Patch setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public Patch set(String parameterName, Object value) { + return (Patch) super.set(parameterName, value); + } + } + } /** * An accessor for creating requests from the ConversationProfiles collection. diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2CompanionSuggestion.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2CompanionSuggestion.java new file mode 100644 index 00000000000..8b6e4e66562 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2CompanionSuggestion.java @@ -0,0 +1,63 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2CompanionSuggestion. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2CompanionSuggestion extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2CompanionSuggestionGuidance extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String explanation; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GroundingMetadata groundingMetadata; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GuidanceInstruction instructionSource; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeArticleTitle; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeArticleUrl; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeSnippet; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeArticleTitle() { + return knowledgeArticleTitle; + } + + /** + * @param knowledgeArticleTitle knowledgeArticleTitle or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource setKnowledgeArticleTitle(java.lang.String knowledgeArticleTitle) { + this.knowledgeArticleTitle = knowledgeArticleTitle; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeArticleUrl() { + return knowledgeArticleUrl; + } + + /** + * @param knowledgeArticleUrl knowledgeArticleUrl or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource setKnowledgeArticleUrl(java.lang.String knowledgeArticleUrl) { + this.knowledgeArticleUrl = knowledgeArticleUrl; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeSnippet() { + return knowledgeSnippet; + } + + /** + * @param knowledgeSnippet knowledgeSnippet or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource setKnowledgeSnippet(java.lang.String knowledgeSnippet) { + this.knowledgeSnippet = knowledgeSnippet; + return this; + } + + @Override + public GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource clone() { + return (GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse.java new file mode 100644 index 00000000000..79b6c10c6aa --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse.java @@ -0,0 +1,126 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String answerRecord; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2CompanionSuggestion companionSuggestion; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String latestMessage; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer suggestionIndex; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getAnswerRecord() { + return answerRecord; + } + + /** + * @param answerRecord answerRecord or {@code null} for none + */ + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse setAnswerRecord(java.lang.String answerRecord) { + this.answerRecord = answerRecord; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionSuggestion getCompanionSuggestion() { + return companionSuggestion; + } + + /** + * @param companionSuggestion companionSuggestion or {@code null} for none + */ + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse setCompanionSuggestion(GoogleCloudDialogflowV2CompanionSuggestion companionSuggestion) { + this.companionSuggestion = companionSuggestion; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getLatestMessage() { + return latestMessage; + } + + /** + * @param latestMessage latestMessage or {@code null} for none + */ + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse setLatestMessage(java.lang.String latestMessage) { + this.latestMessage = latestMessage; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getSuggestionIndex() { + return suggestionIndex; + } + + /** + * @param suggestionIndex suggestionIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse setSuggestionIndex(java.lang.Integer suggestionIndex) { + this.suggestionIndex = suggestionIndex; + return this; + } + + @Override + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse clone() { + return (GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2GroundingChunk.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2GroundingChunk.java new file mode 100644 index 00000000000..b6f1c41ba72 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2GroundingChunk.java @@ -0,0 +1,84 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2GroundingChunk. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GroundingChunk extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GroundingChunkRetrievedContext retrievedContext; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GroundingChunkWeb web; + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext getRetrievedContext() { + return retrievedContext; + } + + /** + * @param retrievedContext retrievedContext or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunk setRetrievedContext(GoogleCloudDialogflowV2GroundingChunkRetrievedContext retrievedContext) { + this.retrievedContext = retrievedContext; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkWeb getWeb() { + return web; + } + + /** + * @param web web or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunk setWeb(GoogleCloudDialogflowV2GroundingChunkWeb web) { + this.web = web; + return this; + } + + @Override + public GoogleCloudDialogflowV2GroundingChunk set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2GroundingChunk) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2GroundingChunk clone() { + return (GoogleCloudDialogflowV2GroundingChunk) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2GroundingChunkRetrievedContext.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2GroundingChunkRetrievedContext.java new file mode 100644 index 00000000000..4f3c45c9eed --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2GroundingChunkRetrievedContext.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2GroundingChunkRetrievedContext. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GroundingChunkRetrievedContext extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String title; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uri; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * @param text text or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext setText(java.lang.String text) { + this.text = text; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTitle() { + return title; + } + + /** + * @param title title or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext setTitle(java.lang.String title) { + this.title = title; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getUri() { + return uri; + } + + /** + * @param uri uri or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext setUri(java.lang.String uri) { + this.uri = uri; + return this; + } + + @Override + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2GroundingChunkRetrievedContext) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext clone() { + return (GoogleCloudDialogflowV2GroundingChunkRetrievedContext) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2GroundingChunkWeb.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2GroundingChunkWeb.java new file mode 100644 index 00000000000..1c8b642a0ad --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2GroundingChunkWeb.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2GroundingChunkWeb. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GroundingChunkWeb extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String domain; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String title; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uri; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getDomain() { + return domain; + } + + /** + * @param domain domain or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkWeb setDomain(java.lang.String domain) { + this.domain = domain; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTitle() { + return title; + } + + /** + * @param title title or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkWeb setTitle(java.lang.String title) { + this.title = title; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getUri() { + return uri; + } + + /** + * @param uri uri or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkWeb setUri(java.lang.String uri) { + this.uri = uri; + return this; + } + + @Override + public GoogleCloudDialogflowV2GroundingChunkWeb set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2GroundingChunkWeb) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2GroundingChunkWeb clone() { + return (GoogleCloudDialogflowV2GroundingChunkWeb) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2GroundingMetadata.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2GroundingMetadata.java new file mode 100644 index 00000000000..1ddcc9dfdba --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2GroundingMetadata.java @@ -0,0 +1,132 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2GroundingMetadata. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GroundingMetadata extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GroundingSupport extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GuidanceInstruction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GuidanceInstructionAction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * @param description description or {@code null} for none + */ + public GoogleCloudDialogflowV2GuidanceInstructionAction setDescription(java.lang.String description) { + this.description = description; + return this; + } + + @Override + public GoogleCloudDialogflowV2GuidanceInstructionAction set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2GuidanceInstructionAction) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2GuidanceInstructionAction clone() { + return (GoogleCloudDialogflowV2GuidanceInstructionAction) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2SearchEntryPoint.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2SearchEntryPoint.java new file mode 100644 index 00000000000..a3e194d6c5b --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2SearchEntryPoint.java @@ -0,0 +1,63 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2SearchEntryPoint. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2SearchEntryPoint extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String renderedContent; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getRenderedContent() { + return renderedContent; + } + + /** + * @param renderedContent renderedContent or {@code null} for none + */ + public GoogleCloudDialogflowV2SearchEntryPoint setRenderedContent(java.lang.String renderedContent) { + this.renderedContent = renderedContent; + return this; + } + + @Override + public GoogleCloudDialogflowV2SearchEntryPoint set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2SearchEntryPoint) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2SearchEntryPoint clone() { + return (GoogleCloudDialogflowV2SearchEntryPoint) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2Segment.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2Segment.java new file mode 100644 index 00000000000..050d9ce4f0f --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2Segment.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2Segment. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2Segment extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer endIndex; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer startIndex; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getEndIndex() { + return endIndex; + } + + /** + * @param endIndex endIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2Segment setEndIndex(java.lang.Integer endIndex) { + this.endIndex = endIndex; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getStartIndex() { + return startIndex; + } + + /** + * @param startIndex startIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2Segment setStartIndex(java.lang.Integer startIndex) { + this.startIndex = startIndex; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * @param text text or {@code null} for none + */ + public GoogleCloudDialogflowV2Segment setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleCloudDialogflowV2Segment set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2Segment) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2Segment clone() { + return (GoogleCloudDialogflowV2Segment) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2SuggestionResult.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2SuggestionResult.java index f7f21489e1d..a5eea464760 100644 --- a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2SuggestionResult.java +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2SuggestionResult.java @@ -35,6 +35,12 @@ public final class GoogleCloudDialogflowV2SuggestionResult extends com.google.ap @com.google.api.client.util.Key private GoogleRpcStatus error; + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse generateCompanionSuggestionsResponse; + /** * The value may be {@code null}. */ @@ -80,6 +86,21 @@ public GoogleCloudDialogflowV2SuggestionResult setError(GoogleRpcStatus error) { return this; } + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse getGenerateCompanionSuggestionsResponse() { + return generateCompanionSuggestionsResponse; + } + + /** + * @param generateCompanionSuggestionsResponse generateCompanionSuggestionsResponse or {@code null} for none + */ + public GoogleCloudDialogflowV2SuggestionResult setGenerateCompanionSuggestionsResponse(GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse generateCompanionSuggestionsResponse) { + this.generateCompanionSuggestionsResponse = generateCompanionSuggestionsResponse; + return this; + } + /** * @return value or {@code null} for none */ diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2ToolCallSuggestion.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2ToolCallSuggestion.java new file mode 100644 index 00000000000..be9ff49dc18 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2ToolCallSuggestion.java @@ -0,0 +1,84 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2ToolCallSuggestion. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2ToolCallSuggestion extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String textUpdate; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo toolCallInfo; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTextUpdate() { + return textUpdate; + } + + /** + * @param textUpdate textUpdate or {@code null} for none + */ + public GoogleCloudDialogflowV2ToolCallSuggestion setTextUpdate(java.lang.String textUpdate) { + this.textUpdate = textUpdate; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo getToolCallInfo() { + return toolCallInfo; + } + + /** + * @param toolCallInfo toolCallInfo or {@code null} for none + */ + public GoogleCloudDialogflowV2ToolCallSuggestion setToolCallInfo(GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo toolCallInfo) { + this.toolCallInfo = toolCallInfo; + return this; + } + + @Override + public GoogleCloudDialogflowV2ToolCallSuggestion set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2ToolCallSuggestion) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2ToolCallSuggestion clone() { + return (GoogleCloudDialogflowV2ToolCallSuggestion) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1AgentAssistantFeedback.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1AgentAssistantFeedback.java index 05de00cad57..e65a50e9877 100644 --- a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1AgentAssistantFeedback.java +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1AgentAssistantFeedback.java @@ -35,6 +35,12 @@ public final class GoogleCloudDialogflowV2beta1AgentAssistantFeedback extends co @com.google.api.client.util.Key private java.lang.String answerRelevance; + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1AgentAssistantFeedbackCompanionFeedback companionFeedback; + /** * The value may be {@code null}. */ @@ -80,6 +86,21 @@ public GoogleCloudDialogflowV2beta1AgentAssistantFeedback setAnswerRelevance(jav return this; } + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1AgentAssistantFeedbackCompanionFeedback getCompanionFeedback() { + return companionFeedback; + } + + /** + * @param companionFeedback companionFeedback or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1AgentAssistantFeedback setCompanionFeedback(GoogleCloudDialogflowV2beta1AgentAssistantFeedbackCompanionFeedback companionFeedback) { + this.companionFeedback = companionFeedback; + return this; + } + /** * @return value or {@code null} for none */ diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1AgentAssistantFeedbackCompanionFeedback.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1AgentAssistantFeedbackCompanionFeedback.java new file mode 100644 index 00000000000..b8e70af87fa --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1AgentAssistantFeedbackCompanionFeedback.java @@ -0,0 +1,42 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1AgentAssistantFeedbackCompanionFeedback. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackCompanionFeedback extends com.google.api.client.json.GenericJson { + + @Override + public GoogleCloudDialogflowV2beta1AgentAssistantFeedbackCompanionFeedback set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1AgentAssistantFeedbackCompanionFeedback) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1AgentAssistantFeedbackCompanionFeedback clone() { + return (GoogleCloudDialogflowV2beta1AgentAssistantFeedbackCompanionFeedback) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1AgentAssistantRecord.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1AgentAssistantRecord.java index beea1faad8c..97d1694acc3 100644 --- a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1AgentAssistantRecord.java +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1AgentAssistantRecord.java @@ -35,6 +35,12 @@ public final class GoogleCloudDialogflowV2beta1AgentAssistantRecord extends com. @com.google.api.client.util.Key private GoogleCloudDialogflowV2beta1ArticleAnswer articleSuggestionAnswer; + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1CompanionSuggestion companionSuggestion; + /** * The value may be {@code null}. */ @@ -53,6 +59,12 @@ public final class GoogleCloudDialogflowV2beta1AgentAssistantRecord extends com. @com.google.api.client.util.Key private GoogleCloudDialogflowV2beta1GeneratorSuggestion generatorSuggestion; + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1StreamingReactiveCompanionSuggestionsResponseReactiveModeResponse reactiveCompanionSuggestion; + /** * @return value or {@code null} for none */ @@ -68,6 +80,21 @@ public GoogleCloudDialogflowV2beta1AgentAssistantRecord setArticleSuggestionAnsw return this; } + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1CompanionSuggestion getCompanionSuggestion() { + return companionSuggestion; + } + + /** + * @param companionSuggestion companionSuggestion or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1AgentAssistantRecord setCompanionSuggestion(GoogleCloudDialogflowV2beta1CompanionSuggestion companionSuggestion) { + this.companionSuggestion = companionSuggestion; + return this; + } + /** * @return value or {@code null} for none */ @@ -113,6 +140,21 @@ public GoogleCloudDialogflowV2beta1AgentAssistantRecord setGeneratorSuggestion(G return this; } + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1StreamingReactiveCompanionSuggestionsResponseReactiveModeResponse getReactiveCompanionSuggestion() { + return reactiveCompanionSuggestion; + } + + /** + * @param reactiveCompanionSuggestion reactiveCompanionSuggestion or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1AgentAssistantRecord setReactiveCompanionSuggestion(GoogleCloudDialogflowV2beta1StreamingReactiveCompanionSuggestionsResponseReactiveModeResponse reactiveCompanionSuggestion) { + this.reactiveCompanionSuggestion = reactiveCompanionSuggestion; + return this; + } + @Override public GoogleCloudDialogflowV2beta1AgentAssistantRecord set(String fieldName, Object value) { return (GoogleCloudDialogflowV2beta1AgentAssistantRecord) super.set(fieldName, value); diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1CompanionAgent.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1CompanionAgent.java new file mode 100644 index 00000000000..a86d24e8574 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1CompanionAgent.java @@ -0,0 +1,216 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1CompanionAgent. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1CompanionAgent extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1CompanionAgentGuidanceSkillConfig extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1CompanionAgentKnowledgeSource extends com.google.api.client.json.GenericJson { + + @Override + public GoogleCloudDialogflowV2beta1CompanionAgentKnowledgeSource set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1CompanionAgentKnowledgeSource) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1CompanionAgentKnowledgeSource clone() { + return (GoogleCloudDialogflowV2beta1CompanionAgentKnowledgeSource) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1CompanionAgentSkillConfig.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1CompanionAgentSkillConfig.java new file mode 100644 index 00000000000..84cf27311be --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1CompanionAgentSkillConfig.java @@ -0,0 +1,84 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1CompanionAgentSkillConfig. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1CompanionAgentSkillConfig extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1CompanionAgentGuidanceSkillConfig guidanceSkillConfig; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String skillTriggeringEvent; + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1CompanionAgentGuidanceSkillConfig getGuidanceSkillConfig() { + return guidanceSkillConfig; + } + + /** + * @param guidanceSkillConfig guidanceSkillConfig or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1CompanionAgentSkillConfig setGuidanceSkillConfig(GoogleCloudDialogflowV2beta1CompanionAgentGuidanceSkillConfig guidanceSkillConfig) { + this.guidanceSkillConfig = guidanceSkillConfig; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getSkillTriggeringEvent() { + return skillTriggeringEvent; + } + + /** + * @param skillTriggeringEvent skillTriggeringEvent or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1CompanionAgentSkillConfig setSkillTriggeringEvent(java.lang.String skillTriggeringEvent) { + this.skillTriggeringEvent = skillTriggeringEvent; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1CompanionAgentSkillConfig set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1CompanionAgentSkillConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1CompanionAgentSkillConfig clone() { + return (GoogleCloudDialogflowV2beta1CompanionAgentSkillConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1CompanionSuggestion.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1CompanionSuggestion.java new file mode 100644 index 00000000000..4fe85c17771 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1CompanionSuggestion.java @@ -0,0 +1,63 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1CompanionSuggestion. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1CompanionSuggestion extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1CompanionSuggestionGuidance extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String explanation; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GroundingMetadata groundingMetadata; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GuidanceInstruction instructionSource; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeArticleTitle; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeArticleUrl; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeSnippet; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeArticleTitle() { + return knowledgeArticleTitle; + } + + /** + * @param knowledgeArticleTitle knowledgeArticleTitle or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource setKnowledgeArticleTitle(java.lang.String knowledgeArticleTitle) { + this.knowledgeArticleTitle = knowledgeArticleTitle; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeArticleUrl() { + return knowledgeArticleUrl; + } + + /** + * @param knowledgeArticleUrl knowledgeArticleUrl or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource setKnowledgeArticleUrl(java.lang.String knowledgeArticleUrl) { + this.knowledgeArticleUrl = knowledgeArticleUrl; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeSnippet() { + return knowledgeSnippet; + } + + /** + * @param knowledgeSnippet knowledgeSnippet or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource setKnowledgeSnippet(java.lang.String knowledgeSnippet) { + this.knowledgeSnippet = knowledgeSnippet; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource clone() { + return (GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse.java new file mode 100644 index 00000000000..e8c56e27e84 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse.java @@ -0,0 +1,126 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String answerRecord; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1CompanionSuggestion companionSuggestion; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String latestMessage; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer suggestionIndex; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getAnswerRecord() { + return answerRecord; + } + + /** + * @param answerRecord answerRecord or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse setAnswerRecord(java.lang.String answerRecord) { + this.answerRecord = answerRecord; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1CompanionSuggestion getCompanionSuggestion() { + return companionSuggestion; + } + + /** + * @param companionSuggestion companionSuggestion or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse setCompanionSuggestion(GoogleCloudDialogflowV2beta1CompanionSuggestion companionSuggestion) { + this.companionSuggestion = companionSuggestion; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getLatestMessage() { + return latestMessage; + } + + /** + * @param latestMessage latestMessage or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse setLatestMessage(java.lang.String latestMessage) { + this.latestMessage = latestMessage; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getSuggestionIndex() { + return suggestionIndex; + } + + /** + * @param suggestionIndex suggestionIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse setSuggestionIndex(java.lang.Integer suggestionIndex) { + this.suggestionIndex = suggestionIndex; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse clone() { + return (GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1GroundingChunk.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1GroundingChunk.java new file mode 100644 index 00000000000..3cc098a7ce1 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1GroundingChunk.java @@ -0,0 +1,84 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1GroundingChunk. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GroundingChunk extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext retrievedContext; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GroundingChunkWeb web; + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext getRetrievedContext() { + return retrievedContext; + } + + /** + * @param retrievedContext retrievedContext or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunk setRetrievedContext(GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext retrievedContext) { + this.retrievedContext = retrievedContext; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkWeb getWeb() { + return web; + } + + /** + * @param web web or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunk setWeb(GoogleCloudDialogflowV2beta1GroundingChunkWeb web) { + this.web = web; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunk set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1GroundingChunk) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunk clone() { + return (GoogleCloudDialogflowV2beta1GroundingChunk) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext.java new file mode 100644 index 00000000000..b882cb64909 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String title; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uri; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * @param text text or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext setText(java.lang.String text) { + this.text = text; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTitle() { + return title; + } + + /** + * @param title title or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext setTitle(java.lang.String title) { + this.title = title; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getUri() { + return uri; + } + + /** + * @param uri uri or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext setUri(java.lang.String uri) { + this.uri = uri; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext clone() { + return (GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1GroundingChunkWeb.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1GroundingChunkWeb.java new file mode 100644 index 00000000000..f9a17c36b7f --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1GroundingChunkWeb.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1GroundingChunkWeb. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GroundingChunkWeb extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String domain; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String title; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uri; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getDomain() { + return domain; + } + + /** + * @param domain domain or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkWeb setDomain(java.lang.String domain) { + this.domain = domain; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTitle() { + return title; + } + + /** + * @param title title or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkWeb setTitle(java.lang.String title) { + this.title = title; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getUri() { + return uri; + } + + /** + * @param uri uri or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkWeb setUri(java.lang.String uri) { + this.uri = uri; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunkWeb set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1GroundingChunkWeb) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunkWeb clone() { + return (GoogleCloudDialogflowV2beta1GroundingChunkWeb) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1GroundingMetadata.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1GroundingMetadata.java new file mode 100644 index 00000000000..0425019a440 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1GroundingMetadata.java @@ -0,0 +1,132 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1GroundingMetadata. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GroundingMetadata extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GroundingSupport extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GuidanceInstruction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GuidanceInstructionAction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * @param description description or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GuidanceInstructionAction setDescription(java.lang.String description) { + this.description = description; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1GuidanceInstructionAction set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1GuidanceInstructionAction) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1GuidanceInstructionAction clone() { + return (GoogleCloudDialogflowV2beta1GuidanceInstructionAction) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig.java index 80eb3d5aa3c..30dfb117bb7 100644 --- a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig.java +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig.java @@ -29,6 +29,12 @@ @SuppressWarnings("javadoc") public final class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig extends com.google.api.client.json.GenericJson { + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String companionAgent; + /** * The value may be {@code null}. */ @@ -71,6 +77,21 @@ public final class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggesti @com.google.api.client.util.Key private java.lang.Boolean useUnredactedConversationData; + /** + * @return value or {@code null} for none + */ + public java.lang.String getCompanionAgent() { + return companionAgent; + } + + /** + * @param companionAgent companionAgent or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig setCompanionAgent(java.lang.String companionAgent) { + this.companionAgent = companionAgent; + return this; + } + /** * @return value or {@code null} for none */ diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1ListCompanionAgentsResponse.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1ListCompanionAgentsResponse.java new file mode 100644 index 00000000000..d125e767751 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1ListCompanionAgentsResponse.java @@ -0,0 +1,90 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1ListCompanionAgentsResponse. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1ListCompanionAgentsResponse extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1SearchEntryPoint extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String renderedContent; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getRenderedContent() { + return renderedContent; + } + + /** + * @param renderedContent renderedContent or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1SearchEntryPoint setRenderedContent(java.lang.String renderedContent) { + this.renderedContent = renderedContent; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1SearchEntryPoint set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1SearchEntryPoint) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1SearchEntryPoint clone() { + return (GoogleCloudDialogflowV2beta1SearchEntryPoint) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1Segment.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1Segment.java new file mode 100644 index 00000000000..3e22a842225 --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1Segment.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1Segment. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1Segment extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer endIndex; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer startIndex; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getEndIndex() { + return endIndex; + } + + /** + * @param endIndex endIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1Segment setEndIndex(java.lang.Integer endIndex) { + this.endIndex = endIndex; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getStartIndex() { + return startIndex; + } + + /** + * @param startIndex startIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1Segment setStartIndex(java.lang.Integer startIndex) { + this.startIndex = startIndex; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * @param text text or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1Segment setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1Segment set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1Segment) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1Segment clone() { + return (GoogleCloudDialogflowV2beta1Segment) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1StreamingReactiveCompanionSuggestionsResponseReactiveModeResponse.java b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1StreamingReactiveCompanionSuggestionsResponseReactiveModeResponse.java new file mode 100644 index 00000000000..7425041da9e --- /dev/null +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1StreamingReactiveCompanionSuggestionsResponseReactiveModeResponse.java @@ -0,0 +1,106 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v2beta1.model; + +/** + * Model definition for + * GoogleCloudDialogflowV2beta1StreamingReactiveCompanionSuggestionsResponseReactiveModeResponse. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1StreamingReactiveCompanionSuggestionsResponseReactiveModeResponse extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GroundingMetadata groundingMetadata; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String response; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1ToolCallSuggestion extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String textUpdate; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo toolCallInfo; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTextUpdate() { + return textUpdate; + } + + /** + * @param textUpdate textUpdate or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1ToolCallSuggestion setTextUpdate(java.lang.String textUpdate) { + this.textUpdate = textUpdate; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo getToolCallInfo() { + return toolCallInfo; + } + + /** + * @param toolCallInfo toolCallInfo or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1ToolCallSuggestion setToolCallInfo(GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo toolCallInfo) { + this.toolCallInfo = toolCallInfo; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1ToolCallSuggestion set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1ToolCallSuggestion) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1ToolCallSuggestion clone() { + return (GoogleCloudDialogflowV2beta1ToolCallSuggestion) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v2beta1/2.0.0/pom.xml b/clients/google-api-services-dialogflow/v2beta1/2.0.0/pom.xml index a4346c5c0c1..55e04c8c8fb 100644 --- a/clients/google-api-services-dialogflow/v2beta1/2.0.0/pom.xml +++ b/clients/google-api-services-dialogflow/v2beta1/2.0.0/pom.xml @@ -8,8 +8,8 @@This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2CompanionSuggestion extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2CompanionSuggestionGuidance extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String explanation; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GroundingMetadata groundingMetadata; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GuidanceInstruction instructionSource; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeArticleTitle; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeArticleUrl; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeSnippet; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeArticleTitle() { + return knowledgeArticleTitle; + } + + /** + * @param knowledgeArticleTitle knowledgeArticleTitle or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource setKnowledgeArticleTitle(java.lang.String knowledgeArticleTitle) { + this.knowledgeArticleTitle = knowledgeArticleTitle; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeArticleUrl() { + return knowledgeArticleUrl; + } + + /** + * @param knowledgeArticleUrl knowledgeArticleUrl or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource setKnowledgeArticleUrl(java.lang.String knowledgeArticleUrl) { + this.knowledgeArticleUrl = knowledgeArticleUrl; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeSnippet() { + return knowledgeSnippet; + } + + /** + * @param knowledgeSnippet knowledgeSnippet or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource setKnowledgeSnippet(java.lang.String knowledgeSnippet) { + this.knowledgeSnippet = knowledgeSnippet; + return this; + } + + @Override + public GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource clone() { + return (GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse.java b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse.java new file mode 100644 index 00000000000..3a453c97208 --- /dev/null +++ b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse.java @@ -0,0 +1,126 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3.model; + +/** + * Model definition for GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String answerRecord; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2CompanionSuggestion companionSuggestion; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String latestMessage; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer suggestionIndex; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getAnswerRecord() { + return answerRecord; + } + + /** + * @param answerRecord answerRecord or {@code null} for none + */ + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse setAnswerRecord(java.lang.String answerRecord) { + this.answerRecord = answerRecord; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionSuggestion getCompanionSuggestion() { + return companionSuggestion; + } + + /** + * @param companionSuggestion companionSuggestion or {@code null} for none + */ + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse setCompanionSuggestion(GoogleCloudDialogflowV2CompanionSuggestion companionSuggestion) { + this.companionSuggestion = companionSuggestion; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getLatestMessage() { + return latestMessage; + } + + /** + * @param latestMessage latestMessage or {@code null} for none + */ + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse setLatestMessage(java.lang.String latestMessage) { + this.latestMessage = latestMessage; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getSuggestionIndex() { + return suggestionIndex; + } + + /** + * @param suggestionIndex suggestionIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse setSuggestionIndex(java.lang.Integer suggestionIndex) { + this.suggestionIndex = suggestionIndex; + return this; + } + + @Override + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse clone() { + return (GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2GroundingChunk.java b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2GroundingChunk.java new file mode 100644 index 00000000000..dc1c8779a1d --- /dev/null +++ b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2GroundingChunk.java @@ -0,0 +1,84 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3.model; + +/** + * Model definition for GoogleCloudDialogflowV2GroundingChunk. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GroundingChunk extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GroundingChunkRetrievedContext retrievedContext; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GroundingChunkWeb web; + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext getRetrievedContext() { + return retrievedContext; + } + + /** + * @param retrievedContext retrievedContext or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunk setRetrievedContext(GoogleCloudDialogflowV2GroundingChunkRetrievedContext retrievedContext) { + this.retrievedContext = retrievedContext; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkWeb getWeb() { + return web; + } + + /** + * @param web web or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunk setWeb(GoogleCloudDialogflowV2GroundingChunkWeb web) { + this.web = web; + return this; + } + + @Override + public GoogleCloudDialogflowV2GroundingChunk set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2GroundingChunk) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2GroundingChunk clone() { + return (GoogleCloudDialogflowV2GroundingChunk) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2GroundingChunkRetrievedContext.java b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2GroundingChunkRetrievedContext.java new file mode 100644 index 00000000000..0cc6e828d9b --- /dev/null +++ b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2GroundingChunkRetrievedContext.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3.model; + +/** + * Model definition for GoogleCloudDialogflowV2GroundingChunkRetrievedContext. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GroundingChunkRetrievedContext extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String title; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uri; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * @param text text or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext setText(java.lang.String text) { + this.text = text; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTitle() { + return title; + } + + /** + * @param title title or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext setTitle(java.lang.String title) { + this.title = title; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getUri() { + return uri; + } + + /** + * @param uri uri or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext setUri(java.lang.String uri) { + this.uri = uri; + return this; + } + + @Override + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2GroundingChunkRetrievedContext) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext clone() { + return (GoogleCloudDialogflowV2GroundingChunkRetrievedContext) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2GroundingChunkWeb.java b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2GroundingChunkWeb.java new file mode 100644 index 00000000000..58f11cc1cbe --- /dev/null +++ b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2GroundingChunkWeb.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3.model; + +/** + * Model definition for GoogleCloudDialogflowV2GroundingChunkWeb. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GroundingChunkWeb extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String domain; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String title; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uri; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getDomain() { + return domain; + } + + /** + * @param domain domain or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkWeb setDomain(java.lang.String domain) { + this.domain = domain; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTitle() { + return title; + } + + /** + * @param title title or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkWeb setTitle(java.lang.String title) { + this.title = title; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getUri() { + return uri; + } + + /** + * @param uri uri or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkWeb setUri(java.lang.String uri) { + this.uri = uri; + return this; + } + + @Override + public GoogleCloudDialogflowV2GroundingChunkWeb set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2GroundingChunkWeb) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2GroundingChunkWeb clone() { + return (GoogleCloudDialogflowV2GroundingChunkWeb) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2GroundingMetadata.java b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2GroundingMetadata.java new file mode 100644 index 00000000000..d97daafb2c2 --- /dev/null +++ b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2GroundingMetadata.java @@ -0,0 +1,132 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3.model; + +/** + * Model definition for GoogleCloudDialogflowV2GroundingMetadata. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GroundingMetadata extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GroundingSupport extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GuidanceInstruction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GuidanceInstructionAction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * @param description description or {@code null} for none + */ + public GoogleCloudDialogflowV2GuidanceInstructionAction setDescription(java.lang.String description) { + this.description = description; + return this; + } + + @Override + public GoogleCloudDialogflowV2GuidanceInstructionAction set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2GuidanceInstructionAction) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2GuidanceInstructionAction clone() { + return (GoogleCloudDialogflowV2GuidanceInstructionAction) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2SearchEntryPoint.java b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2SearchEntryPoint.java new file mode 100644 index 00000000000..81c5078c8bb --- /dev/null +++ b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2SearchEntryPoint.java @@ -0,0 +1,63 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3.model; + +/** + * Model definition for GoogleCloudDialogflowV2SearchEntryPoint. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2SearchEntryPoint extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String renderedContent; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getRenderedContent() { + return renderedContent; + } + + /** + * @param renderedContent renderedContent or {@code null} for none + */ + public GoogleCloudDialogflowV2SearchEntryPoint setRenderedContent(java.lang.String renderedContent) { + this.renderedContent = renderedContent; + return this; + } + + @Override + public GoogleCloudDialogflowV2SearchEntryPoint set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2SearchEntryPoint) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2SearchEntryPoint clone() { + return (GoogleCloudDialogflowV2SearchEntryPoint) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2Segment.java b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2Segment.java new file mode 100644 index 00000000000..35ad2bd7c21 --- /dev/null +++ b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2Segment.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3.model; + +/** + * Model definition for GoogleCloudDialogflowV2Segment. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2Segment extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer endIndex; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer startIndex; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getEndIndex() { + return endIndex; + } + + /** + * @param endIndex endIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2Segment setEndIndex(java.lang.Integer endIndex) { + this.endIndex = endIndex; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getStartIndex() { + return startIndex; + } + + /** + * @param startIndex startIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2Segment setStartIndex(java.lang.Integer startIndex) { + this.startIndex = startIndex; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * @param text text or {@code null} for none + */ + public GoogleCloudDialogflowV2Segment setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleCloudDialogflowV2Segment set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2Segment) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2Segment clone() { + return (GoogleCloudDialogflowV2Segment) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2SuggestionResult.java b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2SuggestionResult.java index dfb42a13082..986d34dac86 100644 --- a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2SuggestionResult.java +++ b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2SuggestionResult.java @@ -35,6 +35,12 @@ public final class GoogleCloudDialogflowV2SuggestionResult extends com.google.ap @com.google.api.client.util.Key private GoogleRpcStatus error; + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse generateCompanionSuggestionsResponse; + /** * The value may be {@code null}. */ @@ -80,6 +86,21 @@ public GoogleCloudDialogflowV2SuggestionResult setError(GoogleRpcStatus error) { return this; } + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse getGenerateCompanionSuggestionsResponse() { + return generateCompanionSuggestionsResponse; + } + + /** + * @param generateCompanionSuggestionsResponse generateCompanionSuggestionsResponse or {@code null} for none + */ + public GoogleCloudDialogflowV2SuggestionResult setGenerateCompanionSuggestionsResponse(GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse generateCompanionSuggestionsResponse) { + this.generateCompanionSuggestionsResponse = generateCompanionSuggestionsResponse; + return this; + } + /** * @return value or {@code null} for none */ diff --git a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2ToolCallSuggestion.java b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2ToolCallSuggestion.java new file mode 100644 index 00000000000..e2d138bf72e --- /dev/null +++ b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2ToolCallSuggestion.java @@ -0,0 +1,84 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3.model; + +/** + * Model definition for GoogleCloudDialogflowV2ToolCallSuggestion. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2ToolCallSuggestion extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String textUpdate; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo toolCallInfo; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTextUpdate() { + return textUpdate; + } + + /** + * @param textUpdate textUpdate or {@code null} for none + */ + public GoogleCloudDialogflowV2ToolCallSuggestion setTextUpdate(java.lang.String textUpdate) { + this.textUpdate = textUpdate; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo getToolCallInfo() { + return toolCallInfo; + } + + /** + * @param toolCallInfo toolCallInfo or {@code null} for none + */ + public GoogleCloudDialogflowV2ToolCallSuggestion setToolCallInfo(GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo toolCallInfo) { + this.toolCallInfo = toolCallInfo; + return this; + } + + @Override + public GoogleCloudDialogflowV2ToolCallSuggestion set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2ToolCallSuggestion) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2ToolCallSuggestion clone() { + return (GoogleCloudDialogflowV2ToolCallSuggestion) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1CompanionSuggestion.java b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1CompanionSuggestion.java new file mode 100644 index 00000000000..c4028a38a49 --- /dev/null +++ b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1CompanionSuggestion.java @@ -0,0 +1,63 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1CompanionSuggestion. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1CompanionSuggestion extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1CompanionSuggestionGuidance extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String explanation; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GroundingMetadata groundingMetadata; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GuidanceInstruction instructionSource; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeArticleTitle; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeArticleUrl; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeSnippet; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeArticleTitle() { + return knowledgeArticleTitle; + } + + /** + * @param knowledgeArticleTitle knowledgeArticleTitle or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource setKnowledgeArticleTitle(java.lang.String knowledgeArticleTitle) { + this.knowledgeArticleTitle = knowledgeArticleTitle; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeArticleUrl() { + return knowledgeArticleUrl; + } + + /** + * @param knowledgeArticleUrl knowledgeArticleUrl or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource setKnowledgeArticleUrl(java.lang.String knowledgeArticleUrl) { + this.knowledgeArticleUrl = knowledgeArticleUrl; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeSnippet() { + return knowledgeSnippet; + } + + /** + * @param knowledgeSnippet knowledgeSnippet or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource setKnowledgeSnippet(java.lang.String knowledgeSnippet) { + this.knowledgeSnippet = knowledgeSnippet; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource clone() { + return (GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse.java b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse.java new file mode 100644 index 00000000000..3aec8200f29 --- /dev/null +++ b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse.java @@ -0,0 +1,126 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String answerRecord; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1CompanionSuggestion companionSuggestion; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String latestMessage; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer suggestionIndex; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getAnswerRecord() { + return answerRecord; + } + + /** + * @param answerRecord answerRecord or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse setAnswerRecord(java.lang.String answerRecord) { + this.answerRecord = answerRecord; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1CompanionSuggestion getCompanionSuggestion() { + return companionSuggestion; + } + + /** + * @param companionSuggestion companionSuggestion or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse setCompanionSuggestion(GoogleCloudDialogflowV2beta1CompanionSuggestion companionSuggestion) { + this.companionSuggestion = companionSuggestion; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getLatestMessage() { + return latestMessage; + } + + /** + * @param latestMessage latestMessage or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse setLatestMessage(java.lang.String latestMessage) { + this.latestMessage = latestMessage; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getSuggestionIndex() { + return suggestionIndex; + } + + /** + * @param suggestionIndex suggestionIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse setSuggestionIndex(java.lang.Integer suggestionIndex) { + this.suggestionIndex = suggestionIndex; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse clone() { + return (GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1GroundingChunk.java b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1GroundingChunk.java new file mode 100644 index 00000000000..3c42bbf794f --- /dev/null +++ b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1GroundingChunk.java @@ -0,0 +1,84 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1GroundingChunk. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GroundingChunk extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext retrievedContext; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GroundingChunkWeb web; + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext getRetrievedContext() { + return retrievedContext; + } + + /** + * @param retrievedContext retrievedContext or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunk setRetrievedContext(GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext retrievedContext) { + this.retrievedContext = retrievedContext; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkWeb getWeb() { + return web; + } + + /** + * @param web web or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunk setWeb(GoogleCloudDialogflowV2beta1GroundingChunkWeb web) { + this.web = web; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunk set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1GroundingChunk) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunk clone() { + return (GoogleCloudDialogflowV2beta1GroundingChunk) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext.java b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext.java new file mode 100644 index 00000000000..b6d3c77304e --- /dev/null +++ b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String title; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uri; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * @param text text or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext setText(java.lang.String text) { + this.text = text; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTitle() { + return title; + } + + /** + * @param title title or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext setTitle(java.lang.String title) { + this.title = title; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getUri() { + return uri; + } + + /** + * @param uri uri or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext setUri(java.lang.String uri) { + this.uri = uri; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext clone() { + return (GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1GroundingChunkWeb.java b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1GroundingChunkWeb.java new file mode 100644 index 00000000000..9bdef1110b2 --- /dev/null +++ b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1GroundingChunkWeb.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1GroundingChunkWeb. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GroundingChunkWeb extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String domain; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String title; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uri; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getDomain() { + return domain; + } + + /** + * @param domain domain or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkWeb setDomain(java.lang.String domain) { + this.domain = domain; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTitle() { + return title; + } + + /** + * @param title title or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkWeb setTitle(java.lang.String title) { + this.title = title; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getUri() { + return uri; + } + + /** + * @param uri uri or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkWeb setUri(java.lang.String uri) { + this.uri = uri; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunkWeb set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1GroundingChunkWeb) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunkWeb clone() { + return (GoogleCloudDialogflowV2beta1GroundingChunkWeb) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1GroundingMetadata.java b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1GroundingMetadata.java new file mode 100644 index 00000000000..2ceb7c67e4e --- /dev/null +++ b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1GroundingMetadata.java @@ -0,0 +1,132 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1GroundingMetadata. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GroundingMetadata extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GroundingSupport extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GuidanceInstruction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GuidanceInstructionAction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * @param description description or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GuidanceInstructionAction setDescription(java.lang.String description) { + this.description = description; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1GuidanceInstructionAction set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1GuidanceInstructionAction) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1GuidanceInstructionAction clone() { + return (GoogleCloudDialogflowV2beta1GuidanceInstructionAction) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1SearchEntryPoint.java b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1SearchEntryPoint.java new file mode 100644 index 00000000000..610cffea789 --- /dev/null +++ b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1SearchEntryPoint.java @@ -0,0 +1,63 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1SearchEntryPoint. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1SearchEntryPoint extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String renderedContent; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getRenderedContent() { + return renderedContent; + } + + /** + * @param renderedContent renderedContent or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1SearchEntryPoint setRenderedContent(java.lang.String renderedContent) { + this.renderedContent = renderedContent; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1SearchEntryPoint set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1SearchEntryPoint) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1SearchEntryPoint clone() { + return (GoogleCloudDialogflowV2beta1SearchEntryPoint) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1Segment.java b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1Segment.java new file mode 100644 index 00000000000..6962c4d9c9e --- /dev/null +++ b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1Segment.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1Segment. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1Segment extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer endIndex; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer startIndex; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getEndIndex() { + return endIndex; + } + + /** + * @param endIndex endIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1Segment setEndIndex(java.lang.Integer endIndex) { + this.endIndex = endIndex; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getStartIndex() { + return startIndex; + } + + /** + * @param startIndex startIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1Segment setStartIndex(java.lang.Integer startIndex) { + this.startIndex = startIndex; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * @param text text or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1Segment setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1Segment set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1Segment) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1Segment clone() { + return (GoogleCloudDialogflowV2beta1Segment) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1SuggestionResult.java b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1SuggestionResult.java index 11e36aff95f..b08a3ec39b4 100644 --- a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1SuggestionResult.java +++ b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1SuggestionResult.java @@ -35,6 +35,12 @@ public final class GoogleCloudDialogflowV2beta1SuggestionResult extends com.goog @com.google.api.client.util.Key private GoogleRpcStatus error; + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse generateCompanionSuggestionsResponse; + /** * The value may be {@code null}. */ @@ -92,6 +98,21 @@ public GoogleCloudDialogflowV2beta1SuggestionResult setError(GoogleRpcStatus err return this; } + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse getGenerateCompanionSuggestionsResponse() { + return generateCompanionSuggestionsResponse; + } + + /** + * @param generateCompanionSuggestionsResponse generateCompanionSuggestionsResponse or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1SuggestionResult setGenerateCompanionSuggestionsResponse(GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse generateCompanionSuggestionsResponse) { + this.generateCompanionSuggestionsResponse = generateCompanionSuggestionsResponse; + return this; + } + /** * @return value or {@code null} for none */ diff --git a/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1ToolCallSuggestion.java b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1ToolCallSuggestion.java new file mode 100644 index 00000000000..475edc7549a --- /dev/null +++ b/clients/google-api-services-dialogflow/v3/2.0.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1ToolCallSuggestion.java @@ -0,0 +1,84 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1ToolCallSuggestion. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1ToolCallSuggestion extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String textUpdate; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo toolCallInfo; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTextUpdate() { + return textUpdate; + } + + /** + * @param textUpdate textUpdate or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1ToolCallSuggestion setTextUpdate(java.lang.String textUpdate) { + this.textUpdate = textUpdate; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo getToolCallInfo() { + return toolCallInfo; + } + + /** + * @param toolCallInfo toolCallInfo or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1ToolCallSuggestion setToolCallInfo(GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo toolCallInfo) { + this.toolCallInfo = toolCallInfo; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1ToolCallSuggestion set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1ToolCallSuggestion) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1ToolCallSuggestion clone() { + return (GoogleCloudDialogflowV2beta1ToolCallSuggestion) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3/2.0.0/pom.xml b/clients/google-api-services-dialogflow/v3/2.0.0/pom.xml index 66fee3c34d4..e30354db9a1 100644 --- a/clients/google-api-services-dialogflow/v3/2.0.0/pom.xml +++ b/clients/google-api-services-dialogflow/v3/2.0.0/pom.xml @@ -8,8 +8,8 @@This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2CompanionSuggestion extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2CompanionSuggestionGuidance extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String explanation; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GroundingMetadata groundingMetadata; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GuidanceInstruction instructionSource; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeArticleTitle; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeArticleUrl; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeSnippet; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeArticleTitle() { + return knowledgeArticleTitle; + } + + /** + * @param knowledgeArticleTitle knowledgeArticleTitle or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource setKnowledgeArticleTitle(java.lang.String knowledgeArticleTitle) { + this.knowledgeArticleTitle = knowledgeArticleTitle; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeArticleUrl() { + return knowledgeArticleUrl; + } + + /** + * @param knowledgeArticleUrl knowledgeArticleUrl or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource setKnowledgeArticleUrl(java.lang.String knowledgeArticleUrl) { + this.knowledgeArticleUrl = knowledgeArticleUrl; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeSnippet() { + return knowledgeSnippet; + } + + /** + * @param knowledgeSnippet knowledgeSnippet or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource setKnowledgeSnippet(java.lang.String knowledgeSnippet) { + this.knowledgeSnippet = knowledgeSnippet; + return this; + } + + @Override + public GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource clone() { + return (GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse.java b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse.java new file mode 100644 index 00000000000..632781315b4 --- /dev/null +++ b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse.java @@ -0,0 +1,126 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String answerRecord; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2CompanionSuggestion companionSuggestion; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String latestMessage; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer suggestionIndex; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getAnswerRecord() { + return answerRecord; + } + + /** + * @param answerRecord answerRecord or {@code null} for none + */ + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse setAnswerRecord(java.lang.String answerRecord) { + this.answerRecord = answerRecord; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2CompanionSuggestion getCompanionSuggestion() { + return companionSuggestion; + } + + /** + * @param companionSuggestion companionSuggestion or {@code null} for none + */ + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse setCompanionSuggestion(GoogleCloudDialogflowV2CompanionSuggestion companionSuggestion) { + this.companionSuggestion = companionSuggestion; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getLatestMessage() { + return latestMessage; + } + + /** + * @param latestMessage latestMessage or {@code null} for none + */ + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse setLatestMessage(java.lang.String latestMessage) { + this.latestMessage = latestMessage; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getSuggestionIndex() { + return suggestionIndex; + } + + /** + * @param suggestionIndex suggestionIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse setSuggestionIndex(java.lang.Integer suggestionIndex) { + this.suggestionIndex = suggestionIndex; + return this; + } + + @Override + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse clone() { + return (GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2GroundingChunk.java b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2GroundingChunk.java new file mode 100644 index 00000000000..0bda6f91190 --- /dev/null +++ b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2GroundingChunk.java @@ -0,0 +1,84 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2GroundingChunk. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GroundingChunk extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GroundingChunkRetrievedContext retrievedContext; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GroundingChunkWeb web; + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext getRetrievedContext() { + return retrievedContext; + } + + /** + * @param retrievedContext retrievedContext or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunk setRetrievedContext(GoogleCloudDialogflowV2GroundingChunkRetrievedContext retrievedContext) { + this.retrievedContext = retrievedContext; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkWeb getWeb() { + return web; + } + + /** + * @param web web or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunk setWeb(GoogleCloudDialogflowV2GroundingChunkWeb web) { + this.web = web; + return this; + } + + @Override + public GoogleCloudDialogflowV2GroundingChunk set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2GroundingChunk) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2GroundingChunk clone() { + return (GoogleCloudDialogflowV2GroundingChunk) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2GroundingChunkRetrievedContext.java b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2GroundingChunkRetrievedContext.java new file mode 100644 index 00000000000..df183098f32 --- /dev/null +++ b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2GroundingChunkRetrievedContext.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2GroundingChunkRetrievedContext. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GroundingChunkRetrievedContext extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String title; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uri; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * @param text text or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext setText(java.lang.String text) { + this.text = text; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTitle() { + return title; + } + + /** + * @param title title or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext setTitle(java.lang.String title) { + this.title = title; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getUri() { + return uri; + } + + /** + * @param uri uri or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext setUri(java.lang.String uri) { + this.uri = uri; + return this; + } + + @Override + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2GroundingChunkRetrievedContext) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2GroundingChunkRetrievedContext clone() { + return (GoogleCloudDialogflowV2GroundingChunkRetrievedContext) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2GroundingChunkWeb.java b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2GroundingChunkWeb.java new file mode 100644 index 00000000000..ddce567e7f9 --- /dev/null +++ b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2GroundingChunkWeb.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2GroundingChunkWeb. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GroundingChunkWeb extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String domain; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String title; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uri; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getDomain() { + return domain; + } + + /** + * @param domain domain or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkWeb setDomain(java.lang.String domain) { + this.domain = domain; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTitle() { + return title; + } + + /** + * @param title title or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkWeb setTitle(java.lang.String title) { + this.title = title; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getUri() { + return uri; + } + + /** + * @param uri uri or {@code null} for none + */ + public GoogleCloudDialogflowV2GroundingChunkWeb setUri(java.lang.String uri) { + this.uri = uri; + return this; + } + + @Override + public GoogleCloudDialogflowV2GroundingChunkWeb set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2GroundingChunkWeb) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2GroundingChunkWeb clone() { + return (GoogleCloudDialogflowV2GroundingChunkWeb) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2GroundingMetadata.java b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2GroundingMetadata.java new file mode 100644 index 00000000000..beb30216eeb --- /dev/null +++ b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2GroundingMetadata.java @@ -0,0 +1,132 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2GroundingMetadata. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GroundingMetadata extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GroundingSupport extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GuidanceInstruction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2GuidanceInstructionAction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * @param description description or {@code null} for none + */ + public GoogleCloudDialogflowV2GuidanceInstructionAction setDescription(java.lang.String description) { + this.description = description; + return this; + } + + @Override + public GoogleCloudDialogflowV2GuidanceInstructionAction set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2GuidanceInstructionAction) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2GuidanceInstructionAction clone() { + return (GoogleCloudDialogflowV2GuidanceInstructionAction) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2SearchEntryPoint.java b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2SearchEntryPoint.java new file mode 100644 index 00000000000..ab3bfa3144e --- /dev/null +++ b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2SearchEntryPoint.java @@ -0,0 +1,63 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2SearchEntryPoint. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2SearchEntryPoint extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String renderedContent; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getRenderedContent() { + return renderedContent; + } + + /** + * @param renderedContent renderedContent or {@code null} for none + */ + public GoogleCloudDialogflowV2SearchEntryPoint setRenderedContent(java.lang.String renderedContent) { + this.renderedContent = renderedContent; + return this; + } + + @Override + public GoogleCloudDialogflowV2SearchEntryPoint set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2SearchEntryPoint) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2SearchEntryPoint clone() { + return (GoogleCloudDialogflowV2SearchEntryPoint) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2Segment.java b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2Segment.java new file mode 100644 index 00000000000..0a20897084c --- /dev/null +++ b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2Segment.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2Segment. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2Segment extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer endIndex; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer startIndex; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getEndIndex() { + return endIndex; + } + + /** + * @param endIndex endIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2Segment setEndIndex(java.lang.Integer endIndex) { + this.endIndex = endIndex; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getStartIndex() { + return startIndex; + } + + /** + * @param startIndex startIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2Segment setStartIndex(java.lang.Integer startIndex) { + this.startIndex = startIndex; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * @param text text or {@code null} for none + */ + public GoogleCloudDialogflowV2Segment setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleCloudDialogflowV2Segment set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2Segment) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2Segment clone() { + return (GoogleCloudDialogflowV2Segment) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2SuggestionResult.java b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2SuggestionResult.java index a5657a040f3..bbc5c3334ae 100644 --- a/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2SuggestionResult.java +++ b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2SuggestionResult.java @@ -35,6 +35,12 @@ public final class GoogleCloudDialogflowV2SuggestionResult extends com.google.ap @com.google.api.client.util.Key private GoogleRpcStatus error; + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse generateCompanionSuggestionsResponse; + /** * The value may be {@code null}. */ @@ -80,6 +86,21 @@ public GoogleCloudDialogflowV2SuggestionResult setError(GoogleRpcStatus error) { return this; } + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse getGenerateCompanionSuggestionsResponse() { + return generateCompanionSuggestionsResponse; + } + + /** + * @param generateCompanionSuggestionsResponse generateCompanionSuggestionsResponse or {@code null} for none + */ + public GoogleCloudDialogflowV2SuggestionResult setGenerateCompanionSuggestionsResponse(GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse generateCompanionSuggestionsResponse) { + this.generateCompanionSuggestionsResponse = generateCompanionSuggestionsResponse; + return this; + } + /** * @return value or {@code null} for none */ diff --git a/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2ToolCallSuggestion.java b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2ToolCallSuggestion.java new file mode 100644 index 00000000000..6c41cbcca5b --- /dev/null +++ b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2ToolCallSuggestion.java @@ -0,0 +1,84 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2ToolCallSuggestion. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2ToolCallSuggestion extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String textUpdate; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo toolCallInfo; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTextUpdate() { + return textUpdate; + } + + /** + * @param textUpdate textUpdate or {@code null} for none + */ + public GoogleCloudDialogflowV2ToolCallSuggestion setTextUpdate(java.lang.String textUpdate) { + this.textUpdate = textUpdate; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo getToolCallInfo() { + return toolCallInfo; + } + + /** + * @param toolCallInfo toolCallInfo or {@code null} for none + */ + public GoogleCloudDialogflowV2ToolCallSuggestion setToolCallInfo(GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo toolCallInfo) { + this.toolCallInfo = toolCallInfo; + return this; + } + + @Override + public GoogleCloudDialogflowV2ToolCallSuggestion set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2ToolCallSuggestion) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2ToolCallSuggestion clone() { + return (GoogleCloudDialogflowV2ToolCallSuggestion) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2beta1CompanionSuggestion.java b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2beta1CompanionSuggestion.java new file mode 100644 index 00000000000..ad9a7df0275 --- /dev/null +++ b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2beta1CompanionSuggestion.java @@ -0,0 +1,63 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1CompanionSuggestion. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1CompanionSuggestion extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1CompanionSuggestionGuidance extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String explanation; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GroundingMetadata groundingMetadata; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GuidanceInstruction instructionSource; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeArticleTitle; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeArticleUrl; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeSnippet; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeArticleTitle() { + return knowledgeArticleTitle; + } + + /** + * @param knowledgeArticleTitle knowledgeArticleTitle or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource setKnowledgeArticleTitle(java.lang.String knowledgeArticleTitle) { + this.knowledgeArticleTitle = knowledgeArticleTitle; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeArticleUrl() { + return knowledgeArticleUrl; + } + + /** + * @param knowledgeArticleUrl knowledgeArticleUrl or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource setKnowledgeArticleUrl(java.lang.String knowledgeArticleUrl) { + this.knowledgeArticleUrl = knowledgeArticleUrl; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeSnippet() { + return knowledgeSnippet; + } + + /** + * @param knowledgeSnippet knowledgeSnippet or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource setKnowledgeSnippet(java.lang.String knowledgeSnippet) { + this.knowledgeSnippet = knowledgeSnippet; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource clone() { + return (GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse.java b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse.java new file mode 100644 index 00000000000..dc36752902d --- /dev/null +++ b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse.java @@ -0,0 +1,126 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String answerRecord; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1CompanionSuggestion companionSuggestion; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String latestMessage; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer suggestionIndex; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getAnswerRecord() { + return answerRecord; + } + + /** + * @param answerRecord answerRecord or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse setAnswerRecord(java.lang.String answerRecord) { + this.answerRecord = answerRecord; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1CompanionSuggestion getCompanionSuggestion() { + return companionSuggestion; + } + + /** + * @param companionSuggestion companionSuggestion or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse setCompanionSuggestion(GoogleCloudDialogflowV2beta1CompanionSuggestion companionSuggestion) { + this.companionSuggestion = companionSuggestion; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getLatestMessage() { + return latestMessage; + } + + /** + * @param latestMessage latestMessage or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse setLatestMessage(java.lang.String latestMessage) { + this.latestMessage = latestMessage; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getSuggestionIndex() { + return suggestionIndex; + } + + /** + * @param suggestionIndex suggestionIndex or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse setSuggestionIndex(java.lang.Integer suggestionIndex) { + this.suggestionIndex = suggestionIndex; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse clone() { + return (GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2beta1GroundingChunk.java b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2beta1GroundingChunk.java new file mode 100644 index 00000000000..2defd67842b --- /dev/null +++ b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2beta1GroundingChunk.java @@ -0,0 +1,84 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1GroundingChunk. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GroundingChunk extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext retrievedContext; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDialogflowV2beta1GroundingChunkWeb web; + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext getRetrievedContext() { + return retrievedContext; + } + + /** + * @param retrievedContext retrievedContext or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunk setRetrievedContext(GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext retrievedContext) { + this.retrievedContext = retrievedContext; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkWeb getWeb() { + return web; + } + + /** + * @param web web or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunk setWeb(GoogleCloudDialogflowV2beta1GroundingChunkWeb web) { + this.web = web; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunk set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1GroundingChunk) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunk clone() { + return (GoogleCloudDialogflowV2beta1GroundingChunk) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext.java b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext.java new file mode 100644 index 00000000000..f3582d82466 --- /dev/null +++ b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String title; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uri; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * @param text text or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext setText(java.lang.String text) { + this.text = text; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTitle() { + return title; + } + + /** + * @param title title or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext setTitle(java.lang.String title) { + this.title = title; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getUri() { + return uri; + } + + /** + * @param uri uri or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext setUri(java.lang.String uri) { + this.uri = uri; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext clone() { + return (GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2beta1GroundingChunkWeb.java b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2beta1GroundingChunkWeb.java new file mode 100644 index 00000000000..f9385dc8a3c --- /dev/null +++ b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2beta1GroundingChunkWeb.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1GroundingChunkWeb. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GroundingChunkWeb extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String domain; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String title; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uri; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getDomain() { + return domain; + } + + /** + * @param domain domain or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkWeb setDomain(java.lang.String domain) { + this.domain = domain; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTitle() { + return title; + } + + /** + * @param title title or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkWeb setTitle(java.lang.String title) { + this.title = title; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getUri() { + return uri; + } + + /** + * @param uri uri or {@code null} for none + */ + public GoogleCloudDialogflowV2beta1GroundingChunkWeb setUri(java.lang.String uri) { + this.uri = uri; + return this; + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunkWeb set(String fieldName, Object value) { + return (GoogleCloudDialogflowV2beta1GroundingChunkWeb) super.set(fieldName, value); + } + + @Override + public GoogleCloudDialogflowV2beta1GroundingChunkWeb clone() { + return (GoogleCloudDialogflowV2beta1GroundingChunkWeb) super.clone(); + } + +} diff --git a/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2beta1GroundingMetadata.java b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2beta1GroundingMetadata.java new file mode 100644 index 00000000000..920559e9dde --- /dev/null +++ b/clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowV2beta1GroundingMetadata.java @@ -0,0 +1,132 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dialogflow.v3beta1.model; + +/** + * Model definition for GoogleCloudDialogflowV2beta1GroundingMetadata. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDialogflowV2beta1GroundingMetadata extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List