From c17839cdfa84ea692b33cef642a8a72571af95fd Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 23 Aug 2022 00:42:12 +0000 Subject: [PATCH] fix: change import long to require (#972) Source-Link: https://github.com/googleapis/synthtool/commit/d229a1258999f599a90a9b674a1c5541e00db588 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:74ab2b3c71ef27e6d8b69b1d0a0c9d31447777b79ac3cd4be82c265b45f37e5e --- .../protos/protos.d.ts | 4554 ++- .../google-cloud-dialogflow/protos/protos.js | 24140 +++++++++++----- .../protos/protos.json | 24 + 3 files changed, 21852 insertions(+), 6866 deletions(-) diff --git a/packages/google-cloud-dialogflow/protos/protos.d.ts b/packages/google-cloud-dialogflow/protos/protos.d.ts index 3884cdb8feb..d51d1ac0564 100644 --- a/packages/google-cloud-dialogflow/protos/protos.d.ts +++ b/packages/google-cloud-dialogflow/protos/protos.d.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -import * as Long from "long"; +import Long = require("long"); import {protobuf as $protobuf} from "google-gax"; /** Namespace google. */ export namespace google { @@ -176,63 +176,63 @@ export namespace google { namespace Agents { /** - * Callback as used by {@link google.cloud.dialogflow.v2.Agents#getAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Agents|getAgent}. * @param error Error, if any * @param [response] Agent */ type GetAgentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Agent) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Agents#setAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Agents|setAgent}. * @param error Error, if any * @param [response] Agent */ type SetAgentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Agent) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Agents#deleteAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Agents|deleteAgent}. * @param error Error, if any * @param [response] Empty */ type DeleteAgentCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Agents#searchAgents}. + * Callback as used by {@link google.cloud.dialogflow.v2.Agents|searchAgents}. * @param error Error, if any * @param [response] SearchAgentsResponse */ type SearchAgentsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.SearchAgentsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Agents#trainAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Agents|trainAgent}. * @param error Error, if any * @param [response] Operation */ type TrainAgentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Agents#exportAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Agents|exportAgent}. * @param error Error, if any * @param [response] Operation */ type ExportAgentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Agents#importAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Agents|importAgent}. * @param error Error, if any * @param [response] Operation */ type ImportAgentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Agents#restoreAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Agents|restoreAgent}. * @param error Error, if any * @param [response] Operation */ type RestoreAgentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Agents#getValidationResult}. + * Callback as used by {@link google.cloud.dialogflow.v2.Agents|getValidationResult}. * @param error Error, if any * @param [response] ValidationResult */ @@ -393,6 +393,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Agent + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Agent { @@ -509,6 +516,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetAgentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SetAgentRequest. */ @@ -605,6 +619,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SetAgentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteAgentRequest. */ @@ -695,6 +716,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteAgentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchAgentsRequest. */ @@ -797,6 +825,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SearchAgentsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchAgentsResponse. */ @@ -893,6 +928,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SearchAgentsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TrainAgentRequest. */ @@ -983,6 +1025,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TrainAgentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExportAgentRequest. */ @@ -1079,6 +1128,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExportAgentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExportAgentResponse. */ @@ -1178,6 +1234,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExportAgentResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ImportAgentRequest. */ @@ -1283,6 +1346,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ImportAgentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RestoreAgentRequest. */ @@ -1388,6 +1458,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RestoreAgentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetValidationResultRequest. */ @@ -1484,6 +1561,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetValidationResultRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ValidationError. */ @@ -1586,6 +1670,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ValidationError + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ValidationError { @@ -1688,6 +1779,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ValidationResult + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents an AnswerRecords */ @@ -1742,14 +1840,14 @@ export namespace google { namespace AnswerRecords { /** - * Callback as used by {@link google.cloud.dialogflow.v2.AnswerRecords#listAnswerRecords}. + * Callback as used by {@link google.cloud.dialogflow.v2.AnswerRecords|listAnswerRecords}. * @param error Error, if any * @param [response] ListAnswerRecordsResponse */ type ListAnswerRecordsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ListAnswerRecordsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.AnswerRecords#updateAnswerRecord}. + * Callback as used by {@link google.cloud.dialogflow.v2.AnswerRecords|updateAnswerRecord}. * @param error Error, if any * @param [response] AnswerRecord */ @@ -1859,6 +1957,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AnswerRecord + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListAnswerRecordsRequest. */ @@ -1967,6 +2072,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListAnswerRecordsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListAnswerRecordsResponse. */ @@ -2063,6 +2175,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListAnswerRecordsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateAnswerRecordRequest. */ @@ -2159,6 +2278,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateAnswerRecordRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AnswerFeedback. */ @@ -2282,6 +2408,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AnswerFeedback + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AnswerFeedback { @@ -2395,6 +2528,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AgentAssistantFeedback + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AgentAssistantFeedback { @@ -2518,6 +2658,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AgentAssistantRecord + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a Participants */ @@ -2656,56 +2803,56 @@ export namespace google { namespace Participants { /** - * Callback as used by {@link google.cloud.dialogflow.v2.Participants#createParticipant}. + * Callback as used by {@link google.cloud.dialogflow.v2.Participants|createParticipant}. * @param error Error, if any * @param [response] Participant */ type CreateParticipantCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Participant) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Participants#getParticipant}. + * Callback as used by {@link google.cloud.dialogflow.v2.Participants|getParticipant}. * @param error Error, if any * @param [response] Participant */ type GetParticipantCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Participant) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Participants#listParticipants}. + * Callback as used by {@link google.cloud.dialogflow.v2.Participants|listParticipants}. * @param error Error, if any * @param [response] ListParticipantsResponse */ type ListParticipantsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ListParticipantsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Participants#updateParticipant}. + * Callback as used by {@link google.cloud.dialogflow.v2.Participants|updateParticipant}. * @param error Error, if any * @param [response] Participant */ type UpdateParticipantCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Participant) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Participants#analyzeContent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Participants|analyzeContent}. * @param error Error, if any * @param [response] AnalyzeContentResponse */ type AnalyzeContentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.AnalyzeContentResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Participants#suggestArticles}. + * Callback as used by {@link google.cloud.dialogflow.v2.Participants|suggestArticles}. * @param error Error, if any * @param [response] SuggestArticlesResponse */ type SuggestArticlesCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.SuggestArticlesResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Participants#suggestFaqAnswers}. + * Callback as used by {@link google.cloud.dialogflow.v2.Participants|suggestFaqAnswers}. * @param error Error, if any * @param [response] SuggestFaqAnswersResponse */ type SuggestFaqAnswersCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.SuggestFaqAnswersResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Participants#suggestSmartReplies}. + * Callback as used by {@link google.cloud.dialogflow.v2.Participants|suggestSmartReplies}. * @param error Error, if any * @param [response] SuggestSmartRepliesResponse */ @@ -2818,6 +2965,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Participant + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Participant { @@ -2967,6 +3121,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Message + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateParticipantRequest. */ @@ -3063,6 +3224,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateParticipantRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetParticipantRequest. */ @@ -3153,6 +3321,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetParticipantRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListParticipantsRequest. */ @@ -3255,6 +3430,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListParticipantsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListParticipantsResponse. */ @@ -3351,6 +3533,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListParticipantsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateParticipantRequest. */ @@ -3447,6 +3636,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateParticipantRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AnalyzeContentRequest. */ @@ -3582,6 +3778,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AnalyzeContentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DtmfParameters. */ @@ -3672,6 +3875,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DtmfParameters + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AnalyzeContentResponse. */ @@ -3798,6 +4008,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AnalyzeContentResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestArticlesRequest. */ @@ -3906,6 +4123,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestArticlesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestArticlesResponse. */ @@ -4008,6 +4232,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestArticlesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestFaqAnswersRequest. */ @@ -4116,6 +4347,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestFaqAnswersRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestFaqAnswersResponse. */ @@ -4218,6 +4456,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestFaqAnswersResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestSmartRepliesRequest. */ @@ -4326,6 +4571,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestSmartRepliesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestSmartRepliesResponse. */ @@ -4428,6 +4680,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestSmartRepliesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an OutputAudio. */ @@ -4524,6 +4783,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for OutputAudio + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AutomatedAgentReply. */ @@ -4626,6 +4892,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AutomatedAgentReply + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AutomatedAgentReply { @@ -4756,6 +5029,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ArticleAnswer + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FaqAnswer. */ @@ -4876,6 +5156,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FaqAnswer + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SmartReplyAnswer. */ @@ -4978,6 +5265,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SmartReplyAnswer + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestionResult. */ @@ -5089,6 +5383,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestionResult + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AnnotatedMessagePart. */ @@ -5191,6 +5492,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AnnotatedMessagePart + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MessageAnnotation. */ @@ -5287,6 +5595,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MessageAnnotation + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AssistQueryParameters. */ @@ -5377,6 +5692,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AssistQueryParameters + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** AudioEncoding enum. */ @@ -5485,6 +5807,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SpeechContext + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** SpeechModelVariant enum. */ @@ -5601,6 +5930,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SpeechWordInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an InputAudioConfig. */ @@ -5745,6 +6081,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for InputAudioConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** SsmlVoiceGender enum. */ @@ -5849,6 +6192,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for VoiceSelectionParams + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SynthesizeSpeechConfig. */ @@ -5963,6 +6313,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SynthesizeSpeechConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** OutputAudioEncoding enum. */ @@ -6075,6 +6432,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for OutputAudioConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SpeechToTextConfig. */ @@ -6165,6 +6529,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SpeechToTextConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a Sessions */ @@ -6219,14 +6590,14 @@ export namespace google { namespace Sessions { /** - * Callback as used by {@link google.cloud.dialogflow.v2.Sessions#detectIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Sessions|detectIntent}. * @param error Error, if any * @param [response] DetectIntentResponse */ type DetectIntentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.DetectIntentResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Sessions#streamingDetectIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Sessions|streamingDetectIntent}. * @param error Error, if any * @param [response] StreamingDetectIntentResponse */ @@ -6351,6 +6722,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DetectIntentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DetectIntentResponse. */ @@ -6465,6 +6843,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DetectIntentResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a QueryParameters. */ @@ -6597,6 +6982,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for QueryParameters + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a QueryInput. */ @@ -6702,6 +7094,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for QueryInput + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a QueryResult. */ @@ -6882,6 +7281,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for QueryResult + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StreamingDetectIntentRequest. */ @@ -7008,6 +7414,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StreamingDetectIntentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StreamingDetectIntentResponse. */ @@ -7128,6 +7541,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StreamingDetectIntentResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StreamingRecognitionResult. */ @@ -7254,6 +7674,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StreamingRecognitionResult + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace StreamingRecognitionResult { @@ -7360,6 +7787,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TextInput + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EventInput. */ @@ -7462,6 +7896,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EventInput + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SentimentAnalysisRequestConfig. */ @@ -7552,6 +7993,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SentimentAnalysisRequestConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SentimentAnalysisResult. */ @@ -7642,6 +8090,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SentimentAnalysisResult + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Sentiment. */ @@ -7738,6 +8193,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Sentiment + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a Contexts */ @@ -7848,42 +8310,42 @@ export namespace google { namespace Contexts { /** - * Callback as used by {@link google.cloud.dialogflow.v2.Contexts#listContexts}. + * Callback as used by {@link google.cloud.dialogflow.v2.Contexts|listContexts}. * @param error Error, if any * @param [response] ListContextsResponse */ type ListContextsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ListContextsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Contexts#getContext}. + * Callback as used by {@link google.cloud.dialogflow.v2.Contexts|getContext}. * @param error Error, if any * @param [response] Context */ type GetContextCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Context) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Contexts#createContext}. + * Callback as used by {@link google.cloud.dialogflow.v2.Contexts|createContext}. * @param error Error, if any * @param [response] Context */ type CreateContextCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Context) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Contexts#updateContext}. + * Callback as used by {@link google.cloud.dialogflow.v2.Contexts|updateContext}. * @param error Error, if any * @param [response] Context */ type UpdateContextCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Context) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Contexts#deleteContext}. + * Callback as used by {@link google.cloud.dialogflow.v2.Contexts|deleteContext}. * @param error Error, if any * @param [response] Empty */ type DeleteContextCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Contexts#deleteAllContexts}. + * Callback as used by {@link google.cloud.dialogflow.v2.Contexts|deleteAllContexts}. * @param error Error, if any * @param [response] Empty */ @@ -7990,6 +8452,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Context + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListContextsRequest. */ @@ -8092,6 +8561,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListContextsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListContextsResponse. */ @@ -8188,6 +8664,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListContextsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetContextRequest. */ @@ -8278,6 +8761,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetContextRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateContextRequest. */ @@ -8374,6 +8864,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateContextRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateContextRequest. */ @@ -8470,6 +8967,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateContextRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteContextRequest. */ @@ -8560,6 +9064,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteContextRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteAllContextsRequest. */ @@ -8650,6 +9161,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteAllContextsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents an Intents */ @@ -8774,49 +9292,49 @@ export namespace google { namespace Intents { /** - * Callback as used by {@link google.cloud.dialogflow.v2.Intents#listIntents}. + * Callback as used by {@link google.cloud.dialogflow.v2.Intents|listIntents}. * @param error Error, if any * @param [response] ListIntentsResponse */ type ListIntentsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ListIntentsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Intents#getIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Intents|getIntent}. * @param error Error, if any * @param [response] Intent */ type GetIntentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Intent) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Intents#createIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Intents|createIntent}. * @param error Error, if any * @param [response] Intent */ type CreateIntentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Intent) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Intents#updateIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Intents|updateIntent}. * @param error Error, if any * @param [response] Intent */ type UpdateIntentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Intent) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Intents#deleteIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Intents|deleteIntent}. * @param error Error, if any * @param [response] Empty */ type DeleteIntentCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Intents#batchUpdateIntents}. + * Callback as used by {@link google.cloud.dialogflow.v2.Intents|batchUpdateIntents}. * @param error Error, if any * @param [response] Operation */ type BatchUpdateIntentsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Intents#batchDeleteIntents}. + * Callback as used by {@link google.cloud.dialogflow.v2.Intents|batchDeleteIntents}. * @param error Error, if any * @param [response] Operation */ @@ -9025,6 +9543,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Intent + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Intent { @@ -9142,6 +9667,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TrainingPhrase + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace TrainingPhrase { @@ -9259,6 +9791,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Part + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -9392,6 +9931,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Parameter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Message. */ @@ -9569,6 +10115,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Message + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Message { @@ -9675,6 +10228,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Text + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Image. */ @@ -9771,6 +10331,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Image + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a QuickReplies. */ @@ -9867,6 +10434,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for QuickReplies + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Card. */ @@ -9975,6 +10549,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Card + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Card { @@ -10073,6 +10654,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Button + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -10176,6 +10764,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SimpleResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SimpleResponses. */ @@ -10266,6 +10861,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SimpleResponses + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BasicCard. */ @@ -10380,6 +10982,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BasicCard + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BasicCard { @@ -10478,6 +11087,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Button + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Button { @@ -10570,6 +11186,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for OpenUriAction + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } } @@ -10662,6 +11285,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Suggestion + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Suggestions. */ @@ -10752,6 +11382,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Suggestions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LinkOutSuggestion. */ @@ -10848,6 +11485,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for LinkOutSuggestion + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListSelect. */ @@ -10950,6 +11594,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListSelect + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ListSelect { @@ -11060,6 +11711,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Item + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -11151,6 +11809,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CarouselSelect + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CarouselSelect { @@ -11261,6 +11926,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Item + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -11358,6 +12030,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SelectItemInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MediaContent. */ @@ -11454,6 +12133,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MediaContent + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MediaContent { @@ -11579,6 +12265,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResponseMediaObject + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -11676,6 +12369,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BrowseCarouselCard + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BrowseCarouselCard { @@ -11792,6 +12492,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BrowseCarouselCardItem + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BrowseCarouselCardItem { @@ -11890,6 +12597,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for OpenUrlAction + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace OpenUrlAction { @@ -12031,6 +12745,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TableCard + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ColumnProperties. */ @@ -12127,6 +12848,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ColumnProperties + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ColumnProperties { @@ -12234,6 +12962,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TableCardRow + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TableCardCell. */ @@ -12324,6 +13059,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TableCardCell + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -12421,6 +13163,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FollowupIntentInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -12536,6 +13285,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListIntentsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListIntentsResponse. */ @@ -12632,6 +13388,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListIntentsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetIntentRequest. */ @@ -12734,6 +13497,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetIntentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateIntentRequest. */ @@ -12842,6 +13612,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateIntentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateIntentRequest. */ @@ -12950,6 +13727,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateIntentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteIntentRequest. */ @@ -13040,6 +13824,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteIntentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchUpdateIntentsRequest. */ @@ -13163,6 +13954,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchUpdateIntentsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchUpdateIntentsResponse. */ @@ -13253,6 +14051,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchUpdateIntentsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchDeleteIntentsRequest. */ @@ -13349,6 +14154,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchDeleteIntentsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** IntentView enum. */ @@ -13445,6 +14257,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for IntentBatch + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a SessionEntityTypes */ @@ -13541,35 +14360,35 @@ export namespace google { namespace SessionEntityTypes { /** - * Callback as used by {@link google.cloud.dialogflow.v2.SessionEntityTypes#listSessionEntityTypes}. + * Callback as used by {@link google.cloud.dialogflow.v2.SessionEntityTypes|listSessionEntityTypes}. * @param error Error, if any * @param [response] ListSessionEntityTypesResponse */ type ListSessionEntityTypesCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ListSessionEntityTypesResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.SessionEntityTypes#getSessionEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2.SessionEntityTypes|getSessionEntityType}. * @param error Error, if any * @param [response] SessionEntityType */ type GetSessionEntityTypeCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.SessionEntityType) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.SessionEntityTypes#createSessionEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2.SessionEntityTypes|createSessionEntityType}. * @param error Error, if any * @param [response] SessionEntityType */ type CreateSessionEntityTypeCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.SessionEntityType) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.SessionEntityTypes#updateSessionEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2.SessionEntityTypes|updateSessionEntityType}. * @param error Error, if any * @param [response] SessionEntityType */ type UpdateSessionEntityTypeCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.SessionEntityType) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.SessionEntityTypes#deleteSessionEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2.SessionEntityTypes|deleteSessionEntityType}. * @param error Error, if any * @param [response] Empty */ @@ -13676,6 +14495,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SessionEntityType + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SessionEntityType { @@ -13788,6 +14614,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListSessionEntityTypesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListSessionEntityTypesResponse. */ @@ -13884,6 +14717,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListSessionEntityTypesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetSessionEntityTypeRequest. */ @@ -13974,6 +14814,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetSessionEntityTypeRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateSessionEntityTypeRequest. */ @@ -14070,6 +14917,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateSessionEntityTypeRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateSessionEntityTypeRequest. */ @@ -14166,6 +15020,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateSessionEntityTypeRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteSessionEntityTypeRequest. */ @@ -14256,6 +15117,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteSessionEntityTypeRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents an EntityTypes */ @@ -14422,70 +15290,70 @@ export namespace google { namespace EntityTypes { /** - * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes#listEntityTypes}. + * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes|listEntityTypes}. * @param error Error, if any * @param [response] ListEntityTypesResponse */ type ListEntityTypesCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ListEntityTypesResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes#getEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes|getEntityType}. * @param error Error, if any * @param [response] EntityType */ type GetEntityTypeCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.EntityType) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes#createEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes|createEntityType}. * @param error Error, if any * @param [response] EntityType */ type CreateEntityTypeCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.EntityType) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes#updateEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes|updateEntityType}. * @param error Error, if any * @param [response] EntityType */ type UpdateEntityTypeCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.EntityType) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes#deleteEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes|deleteEntityType}. * @param error Error, if any * @param [response] Empty */ type DeleteEntityTypeCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes#batchUpdateEntityTypes}. + * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes|batchUpdateEntityTypes}. * @param error Error, if any * @param [response] Operation */ type BatchUpdateEntityTypesCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes#batchDeleteEntityTypes}. + * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes|batchDeleteEntityTypes}. * @param error Error, if any * @param [response] Operation */ type BatchDeleteEntityTypesCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes#batchCreateEntities}. + * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes|batchCreateEntities}. * @param error Error, if any * @param [response] Operation */ type BatchCreateEntitiesCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes#batchUpdateEntities}. + * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes|batchUpdateEntities}. * @param error Error, if any * @param [response] Operation */ type BatchUpdateEntitiesCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes#batchDeleteEntities}. + * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes|batchDeleteEntities}. * @param error Error, if any * @param [response] Operation */ @@ -14610,6 +15478,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EntityType + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace EntityType { @@ -14722,6 +15597,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Entity + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -14831,6 +15713,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListEntityTypesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListEntityTypesResponse. */ @@ -14927,6 +15816,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListEntityTypesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetEntityTypeRequest. */ @@ -15023,6 +15919,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetEntityTypeRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateEntityTypeRequest. */ @@ -15125,6 +16028,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateEntityTypeRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateEntityTypeRequest. */ @@ -15227,6 +16137,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateEntityTypeRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteEntityTypeRequest. */ @@ -15317,6 +16234,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteEntityTypeRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchUpdateEntityTypesRequest. */ @@ -15434,6 +16358,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchUpdateEntityTypesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchUpdateEntityTypesResponse. */ @@ -15524,6 +16455,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchUpdateEntityTypesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchDeleteEntityTypesRequest. */ @@ -15620,6 +16558,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchDeleteEntityTypesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchCreateEntitiesRequest. */ @@ -15722,6 +16667,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchCreateEntitiesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchUpdateEntitiesRequest. */ @@ -15830,6 +16782,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchUpdateEntitiesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchDeleteEntitiesRequest. */ @@ -15932,6 +16891,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchDeleteEntitiesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EntityTypeBatch. */ @@ -16022,6 +16988,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EntityTypeBatch + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a Conversations */ @@ -16118,35 +17091,35 @@ export namespace google { namespace Conversations { /** - * Callback as used by {@link google.cloud.dialogflow.v2.Conversations#createConversation}. + * Callback as used by {@link google.cloud.dialogflow.v2.Conversations|createConversation}. * @param error Error, if any * @param [response] Conversation */ type CreateConversationCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Conversation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Conversations#listConversations}. + * Callback as used by {@link google.cloud.dialogflow.v2.Conversations|listConversations}. * @param error Error, if any * @param [response] ListConversationsResponse */ type ListConversationsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ListConversationsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Conversations#getConversation}. + * Callback as used by {@link google.cloud.dialogflow.v2.Conversations|getConversation}. * @param error Error, if any * @param [response] Conversation */ type GetConversationCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Conversation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Conversations#completeConversation}. + * Callback as used by {@link google.cloud.dialogflow.v2.Conversations|completeConversation}. * @param error Error, if any * @param [response] Conversation */ type CompleteConversationCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Conversation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Conversations#listMessages}. + * Callback as used by {@link google.cloud.dialogflow.v2.Conversations|listMessages}. * @param error Error, if any * @param [response] ListMessagesResponse */ @@ -16277,6 +17250,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Conversation + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Conversation { @@ -16396,6 +17376,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateConversationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListConversationsRequest. */ @@ -16504,6 +17491,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListConversationsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListConversationsResponse. */ @@ -16600,6 +17594,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListConversationsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetConversationRequest. */ @@ -16690,6 +17691,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetConversationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CompleteConversationRequest. */ @@ -16780,6 +17788,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CompleteConversationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListMessagesRequest. */ @@ -16888,6 +17903,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListMessagesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListMessagesResponse. */ @@ -16984,6 +18006,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListMessagesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ConversationPhoneNumber. */ @@ -17074,6 +18103,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ConversationPhoneNumber + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a ConversationDatasets */ @@ -17170,35 +18206,35 @@ export namespace google { namespace ConversationDatasets { /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationDatasets#createConversationDataset}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationDatasets|createConversationDataset}. * @param error Error, if any * @param [response] Operation */ type CreateConversationDatasetCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationDatasets#getConversationDataset}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationDatasets|getConversationDataset}. * @param error Error, if any * @param [response] ConversationDataset */ type GetConversationDatasetCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ConversationDataset) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationDatasets#listConversationDatasets}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationDatasets|listConversationDatasets}. * @param error Error, if any * @param [response] ListConversationDatasetsResponse */ type ListConversationDatasetsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ListConversationDatasetsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationDatasets#deleteConversationDataset}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationDatasets|deleteConversationDataset}. * @param error Error, if any * @param [response] Operation */ type DeleteConversationDatasetCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationDatasets#importConversationData}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationDatasets|importConversationData}. * @param error Error, if any * @param [response] Operation */ @@ -17293,6 +18329,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ConversationInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an InputConfig. */ @@ -17386,6 +18429,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for InputConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ConversationDataset. */ @@ -17512,6 +18562,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ConversationDataset + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateConversationDatasetRequest. */ @@ -17608,6 +18665,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateConversationDatasetRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetConversationDatasetRequest. */ @@ -17698,6 +18762,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetConversationDatasetRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListConversationDatasetsRequest. */ @@ -17800,6 +18871,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListConversationDatasetsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListConversationDatasetsResponse. */ @@ -17896,6 +18974,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListConversationDatasetsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteConversationDatasetRequest. */ @@ -17986,6 +19071,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteConversationDatasetRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ImportConversationDataRequest. */ @@ -18082,6 +19174,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ImportConversationDataRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ImportConversationDataOperationMetadata. */ @@ -18184,6 +19283,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ImportConversationDataOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ImportConversationDataOperationResponse. */ @@ -18280,6 +19386,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ImportConversationDataOperationResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateConversationDatasetOperationMetadata. */ @@ -18364,6 +19477,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateConversationDatasetOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteConversationDatasetOperationMetadata. */ @@ -18448,6 +19568,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteConversationDatasetOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GcsSources. */ @@ -18538,6 +19665,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GcsSources + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GcsDestination. */ @@ -18628,6 +19762,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GcsDestination + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ConversationEvent. */ @@ -18739,6 +19880,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ConversationEvent + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ConversationEvent { @@ -18904,63 +20052,63 @@ export namespace google { namespace ConversationModels { /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels#createConversationModel}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels|createConversationModel}. * @param error Error, if any * @param [response] Operation */ type CreateConversationModelCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels#getConversationModel}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels|getConversationModel}. * @param error Error, if any * @param [response] ConversationModel */ type GetConversationModelCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ConversationModel) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels#listConversationModels}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels|listConversationModels}. * @param error Error, if any * @param [response] ListConversationModelsResponse */ type ListConversationModelsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ListConversationModelsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels#deleteConversationModel}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels|deleteConversationModel}. * @param error Error, if any * @param [response] Operation */ type DeleteConversationModelCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels#deployConversationModel}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels|deployConversationModel}. * @param error Error, if any * @param [response] Operation */ type DeployConversationModelCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels#undeployConversationModel}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels|undeployConversationModel}. * @param error Error, if any * @param [response] Operation */ type UndeployConversationModelCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels#getConversationModelEvaluation}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels|getConversationModelEvaluation}. * @param error Error, if any * @param [response] ConversationModelEvaluation */ type GetConversationModelEvaluationCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ConversationModelEvaluation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels#listConversationModelEvaluations}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels|listConversationModelEvaluations}. * @param error Error, if any * @param [response] ListConversationModelEvaluationsResponse */ type ListConversationModelEvaluationsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ListConversationModelEvaluationsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels#createConversationModelEvaluation}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels|createConversationModelEvaluation}. * @param error Error, if any * @param [response] Operation */ @@ -19100,6 +20248,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ConversationModel + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ConversationModel { @@ -19240,6 +20395,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ConversationModelEvaluation + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EvaluationConfig. */ @@ -19345,6 +20507,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EvaluationConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace EvaluationConfig { @@ -19443,6 +20612,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SmartReplyConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SmartComposeConfig. */ @@ -19539,6 +20715,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SmartComposeConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -19630,6 +20813,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for InputDataset + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ArticleSuggestionModelMetadata. */ @@ -19720,6 +20910,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ArticleSuggestionModelMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SmartReplyModelMetadata. */ @@ -19810,6 +21007,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SmartReplyModelMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SmartReplyMetrics. */ @@ -19912,6 +21116,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SmartReplyMetrics + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SmartReplyMetrics { @@ -20010,6 +21221,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TopNMetrics + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -20107,6 +21325,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateConversationModelRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetConversationModelRequest. */ @@ -20197,6 +21422,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetConversationModelRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListConversationModelsRequest. */ @@ -20299,6 +21531,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListConversationModelsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListConversationModelsResponse. */ @@ -20395,6 +21634,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListConversationModelsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteConversationModelRequest. */ @@ -20485,6 +21731,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteConversationModelRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeployConversationModelRequest. */ @@ -20575,6 +21828,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeployConversationModelRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UndeployConversationModelRequest. */ @@ -20665,6 +21925,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UndeployConversationModelRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetConversationModelEvaluationRequest. */ @@ -20755,6 +22022,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetConversationModelEvaluationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListConversationModelEvaluationsRequest. */ @@ -20857,6 +22131,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListConversationModelEvaluationsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListConversationModelEvaluationsResponse. */ @@ -20953,6 +22234,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListConversationModelEvaluationsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateConversationModelEvaluationRequest. */ @@ -21049,6 +22337,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateConversationModelEvaluationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateConversationModelOperationMetadata. */ @@ -21151,6 +22446,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateConversationModelOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CreateConversationModelOperationMetadata { @@ -21261,6 +22563,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeployConversationModelOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UndeployConversationModelOperationMetadata. */ @@ -21357,6 +22666,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UndeployConversationModelOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteConversationModelOperationMetadata. */ @@ -21453,6 +22769,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteConversationModelOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateConversationModelEvaluationOperationMetadata. */ @@ -21561,6 +22884,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateConversationModelEvaluationOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CreateConversationModelEvaluationOperationMetadata { @@ -21698,49 +23028,49 @@ export namespace google { namespace ConversationProfiles { /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles#listConversationProfiles}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles|listConversationProfiles}. * @param error Error, if any * @param [response] ListConversationProfilesResponse */ type ListConversationProfilesCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ListConversationProfilesResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles#getConversationProfile}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles|getConversationProfile}. * @param error Error, if any * @param [response] ConversationProfile */ type GetConversationProfileCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ConversationProfile) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles#createConversationProfile}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles|createConversationProfile}. * @param error Error, if any * @param [response] ConversationProfile */ type CreateConversationProfileCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ConversationProfile) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles#updateConversationProfile}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles|updateConversationProfile}. * @param error Error, if any * @param [response] ConversationProfile */ type UpdateConversationProfileCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ConversationProfile) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles#deleteConversationProfile}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles|deleteConversationProfile}. * @param error Error, if any * @param [response] Empty */ type DeleteConversationProfileCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles#setSuggestionFeatureConfig}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles|setSuggestionFeatureConfig}. * @param error Error, if any * @param [response] Operation */ type SetSuggestionFeatureConfigCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles#clearSuggestionFeatureConfig}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles|clearSuggestionFeatureConfig}. * @param error Error, if any * @param [response] Operation */ @@ -21913,6 +23243,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ConversationProfile + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListConversationProfilesRequest. */ @@ -22015,6 +23352,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListConversationProfilesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListConversationProfilesResponse. */ @@ -22111,6 +23455,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListConversationProfilesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetConversationProfileRequest. */ @@ -22201,6 +23552,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetConversationProfileRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateConversationProfileRequest. */ @@ -22297,6 +23655,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateConversationProfileRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateConversationProfileRequest. */ @@ -22393,6 +23758,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateConversationProfileRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteConversationProfileRequest. */ @@ -22483,6 +23855,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteConversationProfileRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AutomatedAgentConfig. */ @@ -22573,6 +23952,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AutomatedAgentConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HumanAgentAssistantConfig. */ @@ -22681,6 +24067,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for HumanAgentAssistantConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace HumanAgentAssistantConfig { @@ -22779,6 +24172,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestionTriggerSettings + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestionFeatureConfig. */ @@ -22899,6 +24299,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestionFeatureConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestionConfig. */ @@ -22995,6 +24402,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestionConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestionQueryConfig. */ @@ -23118,6 +24532,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestionQueryConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SuggestionQueryConfig { @@ -23210,6 +24631,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for KnowledgeBaseQuerySource + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DocumentQuerySource. */ @@ -23300,6 +24728,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DocumentQuerySource + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DialogflowQuerySource. */ @@ -23390,6 +24825,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DialogflowQuerySource + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ContextFilterSettings. */ @@ -23492,6 +24934,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ContextFilterSettings + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -23583,6 +25032,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ConversationModelConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ConversationProcessConfig. */ @@ -23673,6 +25129,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ConversationProcessConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MessageAnalysisConfig. */ @@ -23769,6 +25232,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MessageAnalysisConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -23869,6 +25339,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for HumanAgentHandoffConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace HumanAgentHandoffConfig { @@ -23961,6 +25438,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for LivePersonConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SalesforceLiveAgentConfig. */ @@ -24069,6 +25553,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SalesforceLiveAgentConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -24166,6 +25657,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for NotificationConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace NotificationConfig { @@ -24266,6 +25764,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for LoggingConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestionFeature. */ @@ -24356,6 +25861,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestionFeature + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SuggestionFeature { @@ -24469,6 +25981,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SetSuggestionFeatureConfigRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ClearSuggestionFeatureConfigRequest. */ @@ -24571,6 +26090,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ClearSuggestionFeatureConfigRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SetSuggestionFeatureConfigOperationMetadata. */ @@ -24679,6 +26205,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SetSuggestionFeatureConfigOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ClearSuggestionFeatureConfigOperationMetadata. */ @@ -24787,6 +26320,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ClearSuggestionFeatureConfigOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a Documents */ @@ -24925,56 +26465,56 @@ export namespace google { namespace Documents { /** - * Callback as used by {@link google.cloud.dialogflow.v2.Documents#listDocuments}. + * Callback as used by {@link google.cloud.dialogflow.v2.Documents|listDocuments}. * @param error Error, if any * @param [response] ListDocumentsResponse */ type ListDocumentsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ListDocumentsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Documents#getDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2.Documents|getDocument}. * @param error Error, if any * @param [response] Document */ type GetDocumentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Document) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Documents#createDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2.Documents|createDocument}. * @param error Error, if any * @param [response] Operation */ type CreateDocumentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Documents#importDocuments}. + * Callback as used by {@link google.cloud.dialogflow.v2.Documents|importDocuments}. * @param error Error, if any * @param [response] Operation */ type ImportDocumentsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Documents#deleteDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2.Documents|deleteDocument}. * @param error Error, if any * @param [response] Operation */ type DeleteDocumentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Documents#updateDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2.Documents|updateDocument}. * @param error Error, if any * @param [response] Operation */ type UpdateDocumentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Documents#reloadDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2.Documents|reloadDocument}. * @param error Error, if any * @param [response] Operation */ type ReloadDocumentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Documents#exportDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2.Documents|exportDocument}. * @param error Error, if any * @param [response] Operation */ @@ -25126,6 +26666,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Document + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Document { @@ -25233,6 +26780,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReloadStatus + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** State enum. */ @@ -25334,6 +26888,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetDocumentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListDocumentsRequest. */ @@ -25442,6 +27003,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListDocumentsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListDocumentsResponse. */ @@ -25538,6 +27106,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListDocumentsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateDocumentRequest. */ @@ -25634,6 +27209,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateDocumentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ImportDocumentsRequest. */ @@ -25745,6 +27327,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ImportDocumentsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ImportDocumentTemplate. */ @@ -25847,6 +27436,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ImportDocumentTemplate + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ImportDocumentsResponse. */ @@ -25937,6 +27533,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ImportDocumentsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteDocumentRequest. */ @@ -26027,6 +27630,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteDocumentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateDocumentRequest. */ @@ -26123,6 +27733,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateDocumentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ReloadDocumentRequest. */ @@ -26234,6 +27851,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReloadDocumentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExportDocumentRequest. */ @@ -26345,6 +27969,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExportDocumentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExportOperationMetadata. */ @@ -26435,6 +28066,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExportOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a KnowledgeOperationMetadata. */ @@ -26540,6 +28178,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for KnowledgeOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace KnowledgeOperationMetadata { @@ -26661,42 +28306,42 @@ export namespace google { namespace Environments { /** - * Callback as used by {@link google.cloud.dialogflow.v2.Environments#listEnvironments}. + * Callback as used by {@link google.cloud.dialogflow.v2.Environments|listEnvironments}. * @param error Error, if any * @param [response] ListEnvironmentsResponse */ type ListEnvironmentsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ListEnvironmentsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Environments#getEnvironment}. + * Callback as used by {@link google.cloud.dialogflow.v2.Environments|getEnvironment}. * @param error Error, if any * @param [response] Environment */ type GetEnvironmentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Environment) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Environments#createEnvironment}. + * Callback as used by {@link google.cloud.dialogflow.v2.Environments|createEnvironment}. * @param error Error, if any * @param [response] Environment */ type CreateEnvironmentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Environment) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Environments#updateEnvironment}. + * Callback as used by {@link google.cloud.dialogflow.v2.Environments|updateEnvironment}. * @param error Error, if any * @param [response] Environment */ type UpdateEnvironmentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Environment) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Environments#deleteEnvironment}. + * Callback as used by {@link google.cloud.dialogflow.v2.Environments|deleteEnvironment}. * @param error Error, if any * @param [response] Empty */ type DeleteEnvironmentCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Environments#getEnvironmentHistory}. + * Callback as used by {@link google.cloud.dialogflow.v2.Environments|getEnvironmentHistory}. * @param error Error, if any * @param [response] EnvironmentHistory */ @@ -26827,6 +28472,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Environment + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Environment { @@ -26946,6 +28598,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TextToSpeechSettings + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListEnvironmentsRequest. */ @@ -27048,6 +28707,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListEnvironmentsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListEnvironmentsResponse. */ @@ -27144,6 +28810,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListEnvironmentsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetEnvironmentRequest. */ @@ -27234,6 +28907,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetEnvironmentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateEnvironmentRequest. */ @@ -27336,6 +29016,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateEnvironmentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateEnvironmentRequest. */ @@ -27438,6 +29125,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateEnvironmentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteEnvironmentRequest. */ @@ -27528,6 +29222,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteEnvironmentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetEnvironmentHistoryRequest. */ @@ -27630,6 +29331,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetEnvironmentHistoryRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EnvironmentHistory. */ @@ -27732,6 +29440,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EnvironmentHistory + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace EnvironmentHistory { @@ -27836,6 +29551,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Entry + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -27891,14 +29613,14 @@ export namespace google { namespace Fulfillments { /** - * Callback as used by {@link google.cloud.dialogflow.v2.Fulfillments#getFulfillment}. + * Callback as used by {@link google.cloud.dialogflow.v2.Fulfillments|getFulfillment}. * @param error Error, if any * @param [response] Fulfillment */ type GetFulfillmentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Fulfillment) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Fulfillments#updateFulfillment}. + * Callback as used by {@link google.cloud.dialogflow.v2.Fulfillments|updateFulfillment}. * @param error Error, if any * @param [response] Fulfillment */ @@ -28020,6 +29742,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Fulfillment + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Fulfillment { @@ -28136,6 +29865,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GenericWebService + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Feature. */ @@ -28226,6 +29962,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Feature + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Feature { @@ -28326,6 +30069,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetFulfillmentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateFulfillmentRequest. */ @@ -28422,6 +30172,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateFulfillmentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HumanAgentAssistantEvent. */ @@ -28524,6 +30281,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for HumanAgentAssistantEvent + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a KnowledgeBases */ @@ -28620,35 +30384,35 @@ export namespace google { namespace KnowledgeBases { /** - * Callback as used by {@link google.cloud.dialogflow.v2.KnowledgeBases#listKnowledgeBases}. + * Callback as used by {@link google.cloud.dialogflow.v2.KnowledgeBases|listKnowledgeBases}. * @param error Error, if any * @param [response] ListKnowledgeBasesResponse */ type ListKnowledgeBasesCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ListKnowledgeBasesResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.KnowledgeBases#getKnowledgeBase}. + * Callback as used by {@link google.cloud.dialogflow.v2.KnowledgeBases|getKnowledgeBase}. * @param error Error, if any * @param [response] KnowledgeBase */ type GetKnowledgeBaseCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.KnowledgeBase) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.KnowledgeBases#createKnowledgeBase}. + * Callback as used by {@link google.cloud.dialogflow.v2.KnowledgeBases|createKnowledgeBase}. * @param error Error, if any * @param [response] KnowledgeBase */ type CreateKnowledgeBaseCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.KnowledgeBase) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.KnowledgeBases#deleteKnowledgeBase}. + * Callback as used by {@link google.cloud.dialogflow.v2.KnowledgeBases|deleteKnowledgeBase}. * @param error Error, if any * @param [response] Empty */ type DeleteKnowledgeBaseCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.KnowledgeBases#updateKnowledgeBase}. + * Callback as used by {@link google.cloud.dialogflow.v2.KnowledgeBases|updateKnowledgeBase}. * @param error Error, if any * @param [response] KnowledgeBase */ @@ -28755,6 +30519,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for KnowledgeBase + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListKnowledgeBasesRequest. */ @@ -28863,6 +30634,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListKnowledgeBasesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListKnowledgeBasesResponse. */ @@ -28959,6 +30737,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListKnowledgeBasesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetKnowledgeBaseRequest. */ @@ -29049,6 +30834,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetKnowledgeBaseRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateKnowledgeBaseRequest. */ @@ -29145,6 +30937,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateKnowledgeBaseRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteKnowledgeBaseRequest. */ @@ -29241,6 +31040,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteKnowledgeBaseRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateKnowledgeBaseRequest. */ @@ -29337,6 +31143,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateKnowledgeBaseRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a Versions */ @@ -29433,35 +31246,35 @@ export namespace google { namespace Versions { /** - * Callback as used by {@link google.cloud.dialogflow.v2.Versions#listVersions}. + * Callback as used by {@link google.cloud.dialogflow.v2.Versions|listVersions}. * @param error Error, if any * @param [response] ListVersionsResponse */ type ListVersionsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.ListVersionsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Versions#getVersion}. + * Callback as used by {@link google.cloud.dialogflow.v2.Versions|getVersion}. * @param error Error, if any * @param [response] Version */ type GetVersionCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Version) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Versions#createVersion}. + * Callback as used by {@link google.cloud.dialogflow.v2.Versions|createVersion}. * @param error Error, if any * @param [response] Version */ type CreateVersionCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Version) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Versions#updateVersion}. + * Callback as used by {@link google.cloud.dialogflow.v2.Versions|updateVersion}. * @param error Error, if any * @param [response] Version */ type UpdateVersionCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2.Version) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Versions#deleteVersion}. + * Callback as used by {@link google.cloud.dialogflow.v2.Versions|deleteVersion}. * @param error Error, if any * @param [response] Empty */ @@ -29580,6 +31393,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Version + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Version { @@ -29693,6 +31513,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListVersionsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListVersionsResponse. */ @@ -29789,6 +31616,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListVersionsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetVersionRequest. */ @@ -29879,6 +31713,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetVersionRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateVersionRequest. */ @@ -29975,6 +31816,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateVersionRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateVersionRequest. */ @@ -30071,6 +31919,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateVersionRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteVersionRequest. */ @@ -30161,6 +32016,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteVersionRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WebhookRequest. */ @@ -30269,6 +32131,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for WebhookRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WebhookResponse. */ @@ -30395,6 +32264,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for WebhookResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an OriginalDetectIntentRequest. */ @@ -30497,6 +32373,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for OriginalDetectIntentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -30653,63 +32536,63 @@ export namespace google { namespace Agents { /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents#getAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents|getAgent}. * @param error Error, if any * @param [response] Agent */ type GetAgentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Agent) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents#setAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents|setAgent}. * @param error Error, if any * @param [response] Agent */ type SetAgentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Agent) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents#deleteAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents|deleteAgent}. * @param error Error, if any * @param [response] Empty */ type DeleteAgentCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents#searchAgents}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents|searchAgents}. * @param error Error, if any * @param [response] SearchAgentsResponse */ type SearchAgentsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.SearchAgentsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents#trainAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents|trainAgent}. * @param error Error, if any * @param [response] Operation */ type TrainAgentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents#exportAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents|exportAgent}. * @param error Error, if any * @param [response] Operation */ type ExportAgentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents#importAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents|importAgent}. * @param error Error, if any * @param [response] Operation */ type ImportAgentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents#restoreAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents|restoreAgent}. * @param error Error, if any * @param [response] Operation */ type RestoreAgentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents#getValidationResult}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents|getValidationResult}. * @param error Error, if any * @param [response] ValidationResult */ @@ -30870,6 +32753,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Agent + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Agent { @@ -30986,6 +32876,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetAgentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SetAgentRequest. */ @@ -31082,6 +32979,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SetAgentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteAgentRequest. */ @@ -31172,6 +33076,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteAgentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SubAgent. */ @@ -31268,6 +33179,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SubAgent + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchAgentsRequest. */ @@ -31370,6 +33288,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SearchAgentsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchAgentsResponse. */ @@ -31466,6 +33391,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SearchAgentsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TrainAgentRequest. */ @@ -31556,6 +33488,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TrainAgentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExportAgentRequest. */ @@ -31652,6 +33591,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExportAgentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExportAgentResponse. */ @@ -31751,6 +33697,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExportAgentResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ImportAgentRequest. */ @@ -31856,6 +33809,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ImportAgentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RestoreAgentRequest. */ @@ -31961,6 +33921,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RestoreAgentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetValidationResultRequest. */ @@ -32057,6 +34024,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetValidationResultRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ValidationError. */ @@ -32159,6 +34133,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ValidationError + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ValidationError { @@ -32261,6 +34242,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ValidationResult + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents an AnswerRecords */ @@ -32329,21 +34317,21 @@ export namespace google { namespace AnswerRecords { /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.AnswerRecords#getAnswerRecord}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.AnswerRecords|getAnswerRecord}. * @param error Error, if any * @param [response] AnswerRecord */ type GetAnswerRecordCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.AnswerRecord) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.AnswerRecords#listAnswerRecords}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.AnswerRecords|listAnswerRecords}. * @param error Error, if any * @param [response] ListAnswerRecordsResponse */ type ListAnswerRecordsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.ListAnswerRecordsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.AnswerRecords#updateAnswerRecord}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.AnswerRecords|updateAnswerRecord}. * @param error Error, if any * @param [response] AnswerRecord */ @@ -32453,6 +34441,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AnswerRecord + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AgentAssistantRecord. */ @@ -32552,6 +34547,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AgentAssistantRecord + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AnswerFeedback. */ @@ -32675,6 +34677,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AnswerFeedback + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AnswerFeedback { @@ -32794,6 +34803,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AgentAssistantFeedback + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AgentAssistantFeedback { @@ -32919,6 +34935,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SummarizationFeedback + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -33010,6 +35033,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetAnswerRecordRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListAnswerRecordsRequest. */ @@ -33118,6 +35148,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListAnswerRecordsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListAnswerRecordsResponse. */ @@ -33214,6 +35251,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListAnswerRecordsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateAnswerRecordRequest. */ @@ -33310,6 +35354,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateAnswerRecordRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a Participants */ @@ -33490,77 +35541,77 @@ export namespace google { namespace Participants { /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#createParticipant}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|createParticipant}. * @param error Error, if any * @param [response] Participant */ type CreateParticipantCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Participant) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#getParticipant}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|getParticipant}. * @param error Error, if any * @param [response] Participant */ type GetParticipantCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Participant) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#listParticipants}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|listParticipants}. * @param error Error, if any * @param [response] ListParticipantsResponse */ type ListParticipantsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.ListParticipantsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#updateParticipant}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|updateParticipant}. * @param error Error, if any * @param [response] Participant */ type UpdateParticipantCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Participant) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#analyzeContent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|analyzeContent}. * @param error Error, if any * @param [response] AnalyzeContentResponse */ type AnalyzeContentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.AnalyzeContentResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#streamingAnalyzeContent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|streamingAnalyzeContent}. * @param error Error, if any * @param [response] StreamingAnalyzeContentResponse */ type StreamingAnalyzeContentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#suggestArticles}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|suggestArticles}. * @param error Error, if any * @param [response] SuggestArticlesResponse */ type SuggestArticlesCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.SuggestArticlesResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#suggestFaqAnswers}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|suggestFaqAnswers}. * @param error Error, if any * @param [response] SuggestFaqAnswersResponse */ type SuggestFaqAnswersCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#suggestSmartReplies}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|suggestSmartReplies}. * @param error Error, if any * @param [response] SuggestSmartRepliesResponse */ type SuggestSmartRepliesCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#listSuggestions}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|listSuggestions}. * @param error Error, if any * @param [response] ListSuggestionsResponse */ type ListSuggestionsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.ListSuggestionsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#compileSuggestion}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|compileSuggestion}. * @param error Error, if any * @param [response] CompileSuggestionResponse */ @@ -33673,6 +35724,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Participant + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Participant { @@ -33822,6 +35880,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Message + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateParticipantRequest. */ @@ -33918,6 +35983,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateParticipantRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetParticipantRequest. */ @@ -34008,6 +36080,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetParticipantRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListParticipantsRequest. */ @@ -34110,6 +36189,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListParticipantsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListParticipantsResponse. */ @@ -34206,6 +36292,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListParticipantsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateParticipantRequest. */ @@ -34302,6 +36395,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateParticipantRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AudioInput. */ @@ -34398,6 +36498,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AudioInput + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an OutputAudio. */ @@ -34494,6 +36601,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for OutputAudio + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AutomatedAgentReply. */ @@ -34638,6 +36752,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AutomatedAgentReply + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AutomatedAgentReply { @@ -34738,6 +36859,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestionFeature + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SuggestionFeature { @@ -34839,6 +36967,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AssistQueryParameters + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AnalyzeContentRequest. */ @@ -34992,6 +37127,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AnalyzeContentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DtmfParameters. */ @@ -35082,6 +37224,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DtmfParameters + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AnalyzeContentResponse. */ @@ -35208,6 +37357,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AnalyzeContentResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an InputTextConfig. */ @@ -35298,6 +37454,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for InputTextConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StreamingAnalyzeContentRequest. */ @@ -35460,6 +37623,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StreamingAnalyzeContentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StreamingAnalyzeContentResponse. */ @@ -35592,6 +37762,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StreamingAnalyzeContentResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AnnotatedMessagePart. */ @@ -35694,6 +37871,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AnnotatedMessagePart + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MessageAnnotation. */ @@ -35790,6 +37974,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MessageAnnotation + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ArticleAnswer. */ @@ -35904,6 +38095,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ArticleAnswer + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FaqAnswer. */ @@ -36024,6 +38222,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FaqAnswer + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SmartReplyAnswer. */ @@ -36126,6 +38331,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SmartReplyAnswer + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestionResult. */ @@ -36237,6 +38449,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestionResult + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestArticlesRequest. */ @@ -36345,6 +38564,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestArticlesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestArticlesResponse. */ @@ -36447,6 +38673,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestArticlesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestFaqAnswersRequest. */ @@ -36555,6 +38788,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestFaqAnswersRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestFaqAnswersResponse. */ @@ -36657,6 +38897,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestFaqAnswersResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestSmartRepliesRequest. */ @@ -36765,6 +39012,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestSmartRepliesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestSmartRepliesResponse. */ @@ -36867,6 +39121,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestSmartRepliesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Suggestion. */ @@ -36981,6 +39242,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Suggestion + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Suggestion { @@ -37097,6 +39365,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Article + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FaqAnswer. */ @@ -37217,6 +39492,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FaqAnswer + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -37326,6 +39608,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListSuggestionsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListSuggestionsResponse. */ @@ -37422,6 +39711,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListSuggestionsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CompileSuggestionRequest. */ @@ -37524,6 +39820,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CompileSuggestionRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CompileSuggestionResponse. */ @@ -37626,6 +39929,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CompileSuggestionResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ResponseMessage. */ @@ -37749,6 +40059,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResponseMessage + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ResponseMessage { @@ -37841,6 +40158,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Text + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LiveAgentHandoff. */ @@ -37931,6 +40255,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for LiveAgentHandoff + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EndInteraction. */ @@ -38015,6 +40346,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EndInteraction + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MixedAudio. */ @@ -38105,6 +40443,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MixedAudio + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MixedAudio { @@ -38212,6 +40557,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Segment + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -38312,6 +40664,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TelephonyTransferCall + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -38421,6 +40780,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SpeechContext + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** SpeechModelVariant enum. */ @@ -38537,6 +40903,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SpeechWordInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an InputAudioConfig. */ @@ -38681,6 +41054,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for InputAudioConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** SsmlVoiceGender enum. */ @@ -38785,6 +41165,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for VoiceSelectionParams + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SynthesizeSpeechConfig. */ @@ -38899,6 +41286,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SynthesizeSpeechConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** OutputAudioEncoding enum. */ @@ -39011,6 +41405,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for OutputAudioConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** TelephonyDtmf enum. */ @@ -39122,6 +41523,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TelephonyDtmfEvents + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SpeechToTextConfig. */ @@ -39212,6 +41620,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SpeechToTextConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a Sessions */ @@ -39266,14 +41681,14 @@ export namespace google { namespace Sessions { /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Sessions#detectIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Sessions|detectIntent}. * @param error Error, if any * @param [response] DetectIntentResponse */ type DetectIntentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.DetectIntentResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Sessions#streamingDetectIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Sessions|streamingDetectIntent}. * @param error Error, if any * @param [response] StreamingDetectIntentResponse */ @@ -39398,6 +41813,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DetectIntentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DetectIntentResponse. */ @@ -39518,6 +41940,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DetectIntentResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a QueryParameters. */ @@ -39662,6 +42091,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for QueryParameters + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a QueryInput. */ @@ -39773,6 +42209,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for QueryInput + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a QueryResult. */ @@ -39959,6 +42402,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for QueryResult + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a KnowledgeAnswers. */ @@ -40049,6 +42499,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for KnowledgeAnswers + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace KnowledgeAnswers { @@ -40165,6 +42622,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Answer + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Answer { @@ -40303,6 +42767,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StreamingDetectIntentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StreamingDetectIntentResponse. */ @@ -40429,6 +42900,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StreamingDetectIntentResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StreamingRecognitionResult. */ @@ -40567,6 +43045,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StreamingRecognitionResult + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace StreamingRecognitionResult { @@ -40675,6 +43160,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TextInput + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EventInput. */ @@ -40777,6 +43269,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EventInput + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SentimentAnalysisRequestConfig. */ @@ -40867,6 +43366,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SentimentAnalysisRequestConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SentimentAnalysisResult. */ @@ -40957,6 +43463,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SentimentAnalysisResult + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Sentiment. */ @@ -41053,6 +43566,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Sentiment + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a Contexts */ @@ -41163,42 +43683,42 @@ export namespace google { namespace Contexts { /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts#listContexts}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts|listContexts}. * @param error Error, if any * @param [response] ListContextsResponse */ type ListContextsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.ListContextsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts#getContext}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts|getContext}. * @param error Error, if any * @param [response] Context */ type GetContextCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Context) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts#createContext}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts|createContext}. * @param error Error, if any * @param [response] Context */ type CreateContextCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Context) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts#updateContext}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts|updateContext}. * @param error Error, if any * @param [response] Context */ type UpdateContextCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Context) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts#deleteContext}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts|deleteContext}. * @param error Error, if any * @param [response] Empty */ type DeleteContextCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts#deleteAllContexts}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts|deleteAllContexts}. * @param error Error, if any * @param [response] Empty */ @@ -41305,6 +43825,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Context + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListContextsRequest. */ @@ -41407,6 +43934,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListContextsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListContextsResponse. */ @@ -41503,6 +44037,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListContextsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetContextRequest. */ @@ -41593,6 +44134,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetContextRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateContextRequest. */ @@ -41689,6 +44237,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateContextRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateContextRequest. */ @@ -41785,6 +44340,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateContextRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteContextRequest. */ @@ -41875,6 +44437,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteContextRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteAllContextsRequest. */ @@ -41965,6 +44534,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteAllContextsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents an Intents */ @@ -42089,49 +44665,49 @@ export namespace google { namespace Intents { /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents#listIntents}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents|listIntents}. * @param error Error, if any * @param [response] ListIntentsResponse */ type ListIntentsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.ListIntentsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents#getIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents|getIntent}. * @param error Error, if any * @param [response] Intent */ type GetIntentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Intent) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents#createIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents|createIntent}. * @param error Error, if any * @param [response] Intent */ type CreateIntentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Intent) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents#updateIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents|updateIntent}. * @param error Error, if any * @param [response] Intent */ type UpdateIntentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Intent) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents#deleteIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents|deleteIntent}. * @param error Error, if any * @param [response] Empty */ type DeleteIntentCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents#batchUpdateIntents}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents|batchUpdateIntents}. * @param error Error, if any * @param [response] Operation */ type BatchUpdateIntentsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents#batchDeleteIntents}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents|batchDeleteIntents}. * @param error Error, if any * @param [response] Operation */ @@ -42346,6 +44922,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Intent + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Intent { @@ -42463,6 +45046,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TrainingPhrase + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace TrainingPhrase { @@ -42580,6 +45170,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Part + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -42713,6 +45310,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Parameter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Message. */ @@ -42926,6 +45530,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Message + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Message { @@ -43033,6 +45644,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Text + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Image. */ @@ -43129,6 +45747,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Image + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a QuickReplies. */ @@ -43225,6 +45850,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for QuickReplies + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Card. */ @@ -43333,6 +45965,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Card + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Card { @@ -43431,6 +46070,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Button + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -43534,6 +46180,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SimpleResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SimpleResponses. */ @@ -43624,6 +46277,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SimpleResponses + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BasicCard. */ @@ -43738,6 +46398,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BasicCard + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BasicCard { @@ -43836,6 +46503,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Button + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Button { @@ -43928,6 +46602,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for OpenUriAction + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } } @@ -44020,6 +46701,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Suggestion + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Suggestions. */ @@ -44110,6 +46798,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Suggestions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LinkOutSuggestion. */ @@ -44206,6 +46901,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for LinkOutSuggestion + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListSelect. */ @@ -44308,6 +47010,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListSelect + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ListSelect { @@ -44418,6 +47127,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Item + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -44509,6 +47225,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CarouselSelect + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CarouselSelect { @@ -44619,6 +47342,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Item + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -44716,6 +47446,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SelectItemInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TelephonyPlayAudio. */ @@ -44806,6 +47543,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TelephonyPlayAudio + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TelephonySynthesizeSpeech. */ @@ -44905,6 +47649,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TelephonySynthesizeSpeech + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TelephonyTransferCall. */ @@ -44995,6 +47746,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TelephonyTransferCall + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RbmText. */ @@ -45091,6 +47849,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RbmText + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RbmCarouselCard. */ @@ -45187,6 +47952,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RbmCarouselCard + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace RbmCarouselCard { @@ -45299,6 +48071,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RbmStandaloneCard + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace RbmStandaloneCard { @@ -45424,6 +48203,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RbmCardContent + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace RbmCardContent { @@ -45528,6 +48314,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RbmMedia + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace RbmMedia { @@ -45639,6 +48432,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RbmSuggestion + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RbmSuggestedReply. */ @@ -45735,6 +48535,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RbmSuggestedReply + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RbmSuggestedAction. */ @@ -45852,6 +48659,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RbmSuggestedAction + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace RbmSuggestedAction { @@ -45944,6 +48758,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RbmSuggestedActionDial + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RbmSuggestedActionOpenUri. */ @@ -46034,6 +48855,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RbmSuggestedActionOpenUri + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RbmSuggestedActionShareLocation. */ @@ -46118,6 +48946,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RbmSuggestedActionShareLocation + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -46215,6 +49050,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MediaContent + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MediaContent { @@ -46340,6 +49182,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResponseMediaObject + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -46437,6 +49286,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BrowseCarouselCard + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BrowseCarouselCard { @@ -46553,6 +49409,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BrowseCarouselCardItem + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BrowseCarouselCardItem { @@ -46651,6 +49514,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for OpenUrlAction + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace OpenUrlAction { @@ -46792,6 +49662,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TableCard + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ColumnProperties. */ @@ -46888,6 +49765,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ColumnProperties + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ColumnProperties { @@ -46995,6 +49879,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TableCardRow + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TableCardCell. */ @@ -47085,6 +49976,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TableCardCell + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -47182,6 +50080,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FollowupIntentInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -47297,6 +50202,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListIntentsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListIntentsResponse. */ @@ -47393,6 +50305,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListIntentsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetIntentRequest. */ @@ -47495,6 +50414,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetIntentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateIntentRequest. */ @@ -47603,6 +50529,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateIntentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateIntentRequest. */ @@ -47711,6 +50644,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateIntentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteIntentRequest. */ @@ -47801,6 +50741,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteIntentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchUpdateIntentsRequest. */ @@ -47924,6 +50871,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchUpdateIntentsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchUpdateIntentsResponse. */ @@ -48014,6 +50968,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchUpdateIntentsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchDeleteIntentsRequest. */ @@ -48110,6 +51071,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchDeleteIntentsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** IntentView enum. */ @@ -48206,6 +51174,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for IntentBatch + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a SessionEntityTypes */ @@ -48302,35 +51277,35 @@ export namespace google { namespace SessionEntityTypes { /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.SessionEntityTypes#listSessionEntityTypes}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.SessionEntityTypes|listSessionEntityTypes}. * @param error Error, if any * @param [response] ListSessionEntityTypesResponse */ type ListSessionEntityTypesCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.SessionEntityTypes#getSessionEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.SessionEntityTypes|getSessionEntityType}. * @param error Error, if any * @param [response] SessionEntityType */ type GetSessionEntityTypeCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.SessionEntityType) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.SessionEntityTypes#createSessionEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.SessionEntityTypes|createSessionEntityType}. * @param error Error, if any * @param [response] SessionEntityType */ type CreateSessionEntityTypeCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.SessionEntityType) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.SessionEntityTypes#updateSessionEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.SessionEntityTypes|updateSessionEntityType}. * @param error Error, if any * @param [response] SessionEntityType */ type UpdateSessionEntityTypeCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.SessionEntityType) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.SessionEntityTypes#deleteSessionEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.SessionEntityTypes|deleteSessionEntityType}. * @param error Error, if any * @param [response] Empty */ @@ -48437,6 +51412,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SessionEntityType + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SessionEntityType { @@ -48549,6 +51531,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListSessionEntityTypesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListSessionEntityTypesResponse. */ @@ -48645,6 +51634,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListSessionEntityTypesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetSessionEntityTypeRequest. */ @@ -48735,6 +51731,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetSessionEntityTypeRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateSessionEntityTypeRequest. */ @@ -48831,6 +51834,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateSessionEntityTypeRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateSessionEntityTypeRequest. */ @@ -48927,6 +51937,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateSessionEntityTypeRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteSessionEntityTypeRequest. */ @@ -49017,6 +52034,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteSessionEntityTypeRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents an EntityTypes */ @@ -49183,70 +52207,70 @@ export namespace google { namespace EntityTypes { /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes#listEntityTypes}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes|listEntityTypes}. * @param error Error, if any * @param [response] ListEntityTypesResponse */ type ListEntityTypesCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.ListEntityTypesResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes#getEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes|getEntityType}. * @param error Error, if any * @param [response] EntityType */ type GetEntityTypeCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.EntityType) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes#createEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes|createEntityType}. * @param error Error, if any * @param [response] EntityType */ type CreateEntityTypeCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.EntityType) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes#updateEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes|updateEntityType}. * @param error Error, if any * @param [response] EntityType */ type UpdateEntityTypeCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.EntityType) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes#deleteEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes|deleteEntityType}. * @param error Error, if any * @param [response] Empty */ type DeleteEntityTypeCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes#batchUpdateEntityTypes}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes|batchUpdateEntityTypes}. * @param error Error, if any * @param [response] Operation */ type BatchUpdateEntityTypesCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes#batchDeleteEntityTypes}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes|batchDeleteEntityTypes}. * @param error Error, if any * @param [response] Operation */ type BatchDeleteEntityTypesCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes#batchCreateEntities}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes|batchCreateEntities}. * @param error Error, if any * @param [response] Operation */ type BatchCreateEntitiesCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes#batchUpdateEntities}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes|batchUpdateEntities}. * @param error Error, if any * @param [response] Operation */ type BatchUpdateEntitiesCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes#batchDeleteEntities}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes|batchDeleteEntities}. * @param error Error, if any * @param [response] Operation */ @@ -49371,6 +52395,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EntityType + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace EntityType { @@ -49483,6 +52514,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Entity + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -49592,6 +52630,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListEntityTypesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListEntityTypesResponse. */ @@ -49688,6 +52733,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListEntityTypesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetEntityTypeRequest. */ @@ -49784,6 +52836,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetEntityTypeRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateEntityTypeRequest. */ @@ -49886,6 +52945,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateEntityTypeRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateEntityTypeRequest. */ @@ -49988,6 +53054,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateEntityTypeRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteEntityTypeRequest. */ @@ -50078,6 +53151,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteEntityTypeRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchUpdateEntityTypesRequest. */ @@ -50195,6 +53275,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchUpdateEntityTypesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchUpdateEntityTypesResponse. */ @@ -50285,6 +53372,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchUpdateEntityTypesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchDeleteEntityTypesRequest. */ @@ -50381,6 +53475,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchDeleteEntityTypesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchCreateEntitiesRequest. */ @@ -50483,6 +53584,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchCreateEntitiesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchUpdateEntitiesRequest. */ @@ -50591,6 +53699,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchUpdateEntitiesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchDeleteEntitiesRequest. */ @@ -50693,6 +53808,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchDeleteEntitiesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EntityTypeBatch. */ @@ -50783,6 +53905,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EntityTypeBatch + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a Conversations */ @@ -50893,42 +54022,42 @@ export namespace google { namespace Conversations { /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations#createConversation}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations|createConversation}. * @param error Error, if any * @param [response] Conversation */ type CreateConversationCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Conversation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations#listConversations}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations|listConversations}. * @param error Error, if any * @param [response] ListConversationsResponse */ type ListConversationsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.ListConversationsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations#getConversation}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations|getConversation}. * @param error Error, if any * @param [response] Conversation */ type GetConversationCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Conversation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations#completeConversation}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations|completeConversation}. * @param error Error, if any * @param [response] Conversation */ type CompleteConversationCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Conversation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations#batchCreateMessages}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations|batchCreateMessages}. * @param error Error, if any * @param [response] BatchCreateMessagesResponse */ type BatchCreateMessagesCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.BatchCreateMessagesResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations#listMessages}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations|listMessages}. * @param error Error, if any * @param [response] ListMessagesResponse */ @@ -51059,6 +54188,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Conversation + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Conversation { @@ -51166,6 +54302,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ConversationPhoneNumber + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateConversationRequest. */ @@ -51268,6 +54411,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateConversationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListConversationsRequest. */ @@ -51376,6 +54526,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListConversationsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListConversationsResponse. */ @@ -51472,6 +54629,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListConversationsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetConversationRequest. */ @@ -51562,6 +54726,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetConversationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CompleteConversationRequest. */ @@ -51652,6 +54823,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CompleteConversationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateMessageRequest. */ @@ -51748,6 +54926,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateMessageRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchCreateMessagesRequest. */ @@ -51844,6 +55029,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchCreateMessagesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchCreateMessagesResponse. */ @@ -51934,6 +55126,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchCreateMessagesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListMessagesRequest. */ @@ -52042,6 +55241,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListMessagesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListMessagesResponse. */ @@ -52138,6 +55344,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListMessagesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ConversationEvent. */ @@ -52249,6 +55462,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ConversationEvent + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ConversationEvent { @@ -52386,49 +55606,49 @@ export namespace google { namespace ConversationProfiles { /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles#listConversationProfiles}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles|listConversationProfiles}. * @param error Error, if any * @param [response] ListConversationProfilesResponse */ type ListConversationProfilesCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.ListConversationProfilesResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles#getConversationProfile}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles|getConversationProfile}. * @param error Error, if any * @param [response] ConversationProfile */ type GetConversationProfileCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.ConversationProfile) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles#createConversationProfile}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles|createConversationProfile}. * @param error Error, if any * @param [response] ConversationProfile */ type CreateConversationProfileCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.ConversationProfile) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles#updateConversationProfile}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles|updateConversationProfile}. * @param error Error, if any * @param [response] ConversationProfile */ type UpdateConversationProfileCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.ConversationProfile) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles#deleteConversationProfile}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles|deleteConversationProfile}. * @param error Error, if any * @param [response] Empty */ type DeleteConversationProfileCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles#setSuggestionFeatureConfig}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles|setSuggestionFeatureConfig}. * @param error Error, if any * @param [response] Operation */ type SetSuggestionFeatureConfigCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles#clearSuggestionFeatureConfig}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles|clearSuggestionFeatureConfig}. * @param error Error, if any * @param [response] Operation */ @@ -52601,6 +55821,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ConversationProfile + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AutomatedAgentConfig. */ @@ -52691,6 +55918,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AutomatedAgentConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HumanAgentAssistantConfig. */ @@ -52799,6 +56033,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for HumanAgentAssistantConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace HumanAgentAssistantConfig { @@ -52897,6 +56138,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestionTriggerSettings + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestionFeatureConfig. */ @@ -53017,6 +56265,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestionFeatureConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestionConfig. */ @@ -53113,6 +56368,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestionConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SuggestionQueryConfig. */ @@ -53236,6 +56498,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SuggestionQueryConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SuggestionQueryConfig { @@ -53328,6 +56597,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for KnowledgeBaseQuerySource + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DocumentQuerySource. */ @@ -53418,6 +56694,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DocumentQuerySource + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DialogflowQuerySource. */ @@ -53508,6 +56791,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DialogflowQuerySource + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ContextFilterSettings. */ @@ -53610,6 +56900,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ContextFilterSettings + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -53701,6 +56998,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ConversationModelConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ConversationProcessConfig. */ @@ -53791,6 +57095,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ConversationProcessConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MessageAnalysisConfig. */ @@ -53887,6 +57198,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MessageAnalysisConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -53987,6 +57305,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for HumanAgentHandoffConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace HumanAgentHandoffConfig { @@ -54079,6 +57404,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for LivePersonConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SalesforceLiveAgentConfig. */ @@ -54187,6 +57519,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SalesforceLiveAgentConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -54284,6 +57623,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for NotificationConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace NotificationConfig { @@ -54384,6 +57730,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for LoggingConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListConversationProfilesRequest. */ @@ -54486,6 +57839,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListConversationProfilesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListConversationProfilesResponse. */ @@ -54582,6 +57942,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListConversationProfilesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetConversationProfileRequest. */ @@ -54672,6 +58039,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetConversationProfileRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateConversationProfileRequest. */ @@ -54768,6 +58142,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateConversationProfileRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateConversationProfileRequest. */ @@ -54864,6 +58245,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateConversationProfileRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteConversationProfileRequest. */ @@ -54954,6 +58342,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteConversationProfileRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SetSuggestionFeatureConfigRequest. */ @@ -55056,6 +58451,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SetSuggestionFeatureConfigRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ClearSuggestionFeatureConfigRequest. */ @@ -55158,6 +58560,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ClearSuggestionFeatureConfigRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SetSuggestionFeatureConfigOperationMetadata. */ @@ -55266,6 +58675,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SetSuggestionFeatureConfigOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ClearSuggestionFeatureConfigOperationMetadata. */ @@ -55374,6 +58790,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ClearSuggestionFeatureConfigOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a Documents */ @@ -55498,49 +58921,49 @@ export namespace google { namespace Documents { /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents#listDocuments}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents|listDocuments}. * @param error Error, if any * @param [response] ListDocumentsResponse */ type ListDocumentsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.ListDocumentsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents#getDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents|getDocument}. * @param error Error, if any * @param [response] Document */ type GetDocumentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Document) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents#createDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents|createDocument}. * @param error Error, if any * @param [response] Operation */ type CreateDocumentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents#importDocuments}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents|importDocuments}. * @param error Error, if any * @param [response] Operation */ type ImportDocumentsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents#deleteDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents|deleteDocument}. * @param error Error, if any * @param [response] Operation */ type DeleteDocumentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents#updateDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents|updateDocument}. * @param error Error, if any * @param [response] Operation */ type UpdateDocumentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents#reloadDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents|reloadDocument}. * @param error Error, if any * @param [response] Operation */ @@ -55698,6 +59121,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Document + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Document { @@ -55806,6 +59236,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReloadStatus + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** State enum. */ @@ -55907,6 +59344,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetDocumentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListDocumentsRequest. */ @@ -56015,6 +59459,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListDocumentsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListDocumentsResponse. */ @@ -56111,6 +59562,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListDocumentsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateDocumentRequest. */ @@ -56213,6 +59671,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateDocumentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ImportDocumentsRequest. */ @@ -56324,6 +59789,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ImportDocumentsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ImportDocumentTemplate. */ @@ -56426,6 +59898,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ImportDocumentTemplate + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ImportDocumentsResponse. */ @@ -56516,6 +59995,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ImportDocumentsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteDocumentRequest. */ @@ -56606,6 +60092,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteDocumentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateDocumentRequest. */ @@ -56702,6 +60195,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateDocumentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExportOperationMetadata. */ @@ -56792,6 +60292,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExportOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a KnowledgeOperationMetadata. */ @@ -56897,6 +60404,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for KnowledgeOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace KnowledgeOperationMetadata { @@ -57013,6 +60527,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReloadDocumentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GcsSources. */ @@ -57103,6 +60624,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GcsSources + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GcsSource. */ @@ -57193,6 +60721,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GcsSource + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GcsDestination. */ @@ -57283,6 +60818,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GcsDestination + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents an Environments */ @@ -57393,42 +60935,42 @@ export namespace google { namespace Environments { /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments#listEnvironments}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments|listEnvironments}. * @param error Error, if any * @param [response] ListEnvironmentsResponse */ type ListEnvironmentsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments#getEnvironment}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments|getEnvironment}. * @param error Error, if any * @param [response] Environment */ type GetEnvironmentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Environment) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments#createEnvironment}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments|createEnvironment}. * @param error Error, if any * @param [response] Environment */ type CreateEnvironmentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Environment) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments#updateEnvironment}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments|updateEnvironment}. * @param error Error, if any * @param [response] Environment */ type UpdateEnvironmentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Environment) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments#deleteEnvironment}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments|deleteEnvironment}. * @param error Error, if any * @param [response] Empty */ type DeleteEnvironmentCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments#getEnvironmentHistory}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments|getEnvironmentHistory}. * @param error Error, if any * @param [response] EnvironmentHistory */ @@ -57559,6 +61101,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Environment + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Environment { @@ -57678,6 +61227,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TextToSpeechSettings + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListEnvironmentsRequest. */ @@ -57780,6 +61336,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListEnvironmentsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListEnvironmentsResponse. */ @@ -57876,6 +61439,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListEnvironmentsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetEnvironmentRequest. */ @@ -57966,6 +61536,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetEnvironmentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateEnvironmentRequest. */ @@ -58068,6 +61645,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateEnvironmentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateEnvironmentRequest. */ @@ -58170,6 +61754,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateEnvironmentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteEnvironmentRequest. */ @@ -58260,6 +61851,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteEnvironmentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetEnvironmentHistoryRequest. */ @@ -58362,6 +61960,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetEnvironmentHistoryRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EnvironmentHistory. */ @@ -58464,6 +62069,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EnvironmentHistory + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace EnvironmentHistory { @@ -58568,6 +62180,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Entry + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -58623,14 +62242,14 @@ export namespace google { namespace Fulfillments { /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Fulfillments#getFulfillment}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Fulfillments|getFulfillment}. * @param error Error, if any * @param [response] Fulfillment */ type GetFulfillmentCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Fulfillment) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Fulfillments#updateFulfillment}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Fulfillments|updateFulfillment}. * @param error Error, if any * @param [response] Fulfillment */ @@ -58752,6 +62371,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Fulfillment + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Fulfillment { @@ -58868,6 +62494,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GenericWebService + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Feature. */ @@ -58958,6 +62591,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Feature + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Feature { @@ -59058,6 +62698,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetFulfillmentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateFulfillmentRequest. */ @@ -59154,6 +62801,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateFulfillmentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HumanAgentAssistantEvent. */ @@ -59256,6 +62910,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for HumanAgentAssistantEvent + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a KnowledgeBases */ @@ -59352,35 +63013,35 @@ export namespace google { namespace KnowledgeBases { /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.KnowledgeBases#listKnowledgeBases}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.KnowledgeBases|listKnowledgeBases}. * @param error Error, if any * @param [response] ListKnowledgeBasesResponse */ type ListKnowledgeBasesCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.KnowledgeBases#getKnowledgeBase}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.KnowledgeBases|getKnowledgeBase}. * @param error Error, if any * @param [response] KnowledgeBase */ type GetKnowledgeBaseCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.KnowledgeBase) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.KnowledgeBases#createKnowledgeBase}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.KnowledgeBases|createKnowledgeBase}. * @param error Error, if any * @param [response] KnowledgeBase */ type CreateKnowledgeBaseCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.KnowledgeBase) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.KnowledgeBases#deleteKnowledgeBase}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.KnowledgeBases|deleteKnowledgeBase}. * @param error Error, if any * @param [response] Empty */ type DeleteKnowledgeBaseCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.KnowledgeBases#updateKnowledgeBase}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.KnowledgeBases|updateKnowledgeBase}. * @param error Error, if any * @param [response] KnowledgeBase */ @@ -59487,6 +63148,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for KnowledgeBase + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListKnowledgeBasesRequest. */ @@ -59595,6 +63263,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListKnowledgeBasesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListKnowledgeBasesResponse. */ @@ -59691,6 +63366,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListKnowledgeBasesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetKnowledgeBaseRequest. */ @@ -59781,6 +63463,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetKnowledgeBaseRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateKnowledgeBaseRequest. */ @@ -59877,6 +63566,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateKnowledgeBaseRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteKnowledgeBaseRequest. */ @@ -59973,6 +63669,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteKnowledgeBaseRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateKnowledgeBaseRequest. */ @@ -60069,6 +63772,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateKnowledgeBaseRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a Versions */ @@ -60165,35 +63875,35 @@ export namespace google { namespace Versions { /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Versions#listVersions}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Versions|listVersions}. * @param error Error, if any * @param [response] ListVersionsResponse */ type ListVersionsCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.ListVersionsResponse) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Versions#getVersion}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Versions|getVersion}. * @param error Error, if any * @param [response] Version */ type GetVersionCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Version) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Versions#createVersion}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Versions|createVersion}. * @param error Error, if any * @param [response] Version */ type CreateVersionCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Version) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Versions#updateVersion}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Versions|updateVersion}. * @param error Error, if any * @param [response] Version */ type UpdateVersionCallback = (error: (Error|null), response?: google.cloud.dialogflow.v2beta1.Version) => void; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Versions#deleteVersion}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Versions|deleteVersion}. * @param error Error, if any * @param [response] Empty */ @@ -60312,6 +64022,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Version + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Version { @@ -60425,6 +64142,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListVersionsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListVersionsResponse. */ @@ -60521,6 +64245,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListVersionsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetVersionRequest. */ @@ -60611,6 +64342,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetVersionRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateVersionRequest. */ @@ -60707,6 +64445,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateVersionRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateVersionRequest. */ @@ -60803,6 +64548,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateVersionRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteVersionRequest. */ @@ -60893,6 +64645,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteVersionRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WebhookRequest. */ @@ -61007,6 +64766,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for WebhookRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WebhookResponse. */ @@ -61145,6 +64911,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for WebhookResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an OriginalDetectIntentRequest. */ @@ -61247,6 +65020,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for OriginalDetectIntentRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } } @@ -61349,6 +65129,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Http + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HttpRule. */ @@ -61496,6 +65283,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for HttpRule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CustomHttpPattern. */ @@ -61592,6 +65386,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CustomHttpPattern + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** FieldBehavior enum. */ @@ -61730,6 +65531,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResourceDescriptor + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ResourceDescriptor { @@ -61842,6 +65650,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResourceReference + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -61936,6 +65751,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FileDescriptorSet + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FileDescriptorProto. */ @@ -61976,6 +65798,9 @@ export namespace google { /** FileDescriptorProto syntax */ syntax?: (string|null); + + /** FileDescriptorProto edition */ + edition?: (string|null); } /** Represents a FileDescriptorProto. */ @@ -62023,6 +65848,9 @@ export namespace google { /** FileDescriptorProto syntax. */ public syntax: string; + /** FileDescriptorProto edition. */ + public edition: string; + /** * Creates a new FileDescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -62092,6 +65920,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FileDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DescriptorProto. */ @@ -62236,6 +66071,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace DescriptorProto { @@ -62340,6 +66182,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExtensionRange + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ReservedRange. */ @@ -62436,6 +66285,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReservedRange + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -62527,6 +66383,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExtensionRangeOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FieldDescriptorProto. */ @@ -62677,6 +66540,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FieldDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace FieldDescriptorProto { @@ -62805,6 +66675,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for OneofDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EnumDescriptorProto. */ @@ -62919,6 +66796,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EnumDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace EnumDescriptorProto { @@ -63017,6 +66901,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EnumReservedRange + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -63120,6 +67011,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EnumValueDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ServiceDescriptorProto. */ @@ -63222,6 +67120,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ServiceDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MethodDescriptorProto. */ @@ -63342,6 +67247,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MethodDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FileOptions. */ @@ -63555,6 +67467,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FileOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace FileOptions { @@ -63682,6 +67601,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MessageOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FieldOptions. */ @@ -63699,6 +67625,9 @@ export namespace google { /** FieldOptions lazy */ lazy?: (boolean|null); + /** FieldOptions unverifiedLazy */ + unverifiedLazy?: (boolean|null); + /** FieldOptions deprecated */ deprecated?: (boolean|null); @@ -63736,6 +67665,9 @@ export namespace google { /** FieldOptions lazy. */ public lazy: boolean; + /** FieldOptions unverifiedLazy. */ + public unverifiedLazy: boolean; + /** FieldOptions deprecated. */ public deprecated: boolean; @@ -63814,6 +67746,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FieldOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace FieldOptions { @@ -63921,6 +67860,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for OneofOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EnumOptions. */ @@ -64023,6 +67969,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EnumOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EnumValueOptions. */ @@ -64119,6 +68072,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EnumValueOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ServiceOptions. */ @@ -64221,6 +68181,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ServiceOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MethodOptions. */ @@ -64332,6 +68299,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MethodOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MethodOptions { @@ -64468,6 +68442,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UninterpretedOption + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace UninterpretedOption { @@ -64566,6 +68547,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for NamePart + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -64657,6 +68645,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SourceCodeInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SourceCodeInfo { @@ -64773,6 +68768,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Location + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -64864,6 +68866,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GeneratedCodeInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace GeneratedCodeInfo { @@ -64882,6 +68891,9 @@ export namespace google { /** Annotation end */ end?: (number|null); + + /** Annotation semantic */ + semantic?: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null); } /** Represents an Annotation. */ @@ -64905,6 +68917,9 @@ export namespace google { /** Annotation end. */ public end: number; + /** Annotation semantic. */ + public semantic: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic); + /** * Creates a new Annotation instance using the specified properties. * @param [properties] Properties to set @@ -64974,6 +68989,23 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Annotation + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + namespace Annotation { + + /** Semantic enum. */ + enum Semantic { + NONE = 0, + SET = 1, + ALIAS = 2 + } } } @@ -65071,6 +69103,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Any + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Duration. */ @@ -65167,6 +69206,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Duration + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Empty. */ @@ -65251,6 +69297,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Empty + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FieldMask. */ @@ -65341,6 +69394,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FieldMask + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Struct. */ @@ -65431,6 +69491,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Struct + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Value. */ @@ -65554,6 +69621,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Value + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** NullValue enum. */ @@ -65649,6 +69723,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListValue + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Timestamp. */ @@ -65745,6 +69826,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Timestamp + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -65845,35 +69933,35 @@ export namespace google { namespace Operations { /** - * Callback as used by {@link google.longrunning.Operations#listOperations}. + * Callback as used by {@link google.longrunning.Operations|listOperations}. * @param error Error, if any * @param [response] ListOperationsResponse */ type ListOperationsCallback = (error: (Error|null), response?: google.longrunning.ListOperationsResponse) => void; /** - * Callback as used by {@link google.longrunning.Operations#getOperation}. + * Callback as used by {@link google.longrunning.Operations|getOperation}. * @param error Error, if any * @param [response] Operation */ type GetOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.longrunning.Operations#deleteOperation}. + * Callback as used by {@link google.longrunning.Operations|deleteOperation}. * @param error Error, if any * @param [response] Empty */ type DeleteOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.longrunning.Operations#cancelOperation}. + * Callback as used by {@link google.longrunning.Operations|cancelOperation}. * @param error Error, if any * @param [response] Empty */ type CancelOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.longrunning.Operations#waitOperation}. + * Callback as used by {@link google.longrunning.Operations|waitOperation}. * @param error Error, if any * @param [response] Operation */ @@ -65995,6 +70083,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Operation + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetOperationRequest. */ @@ -66085,6 +70180,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetOperationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListOperationsRequest. */ @@ -66193,6 +70295,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListOperationsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListOperationsResponse. */ @@ -66289,6 +70398,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListOperationsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CancelOperationRequest. */ @@ -66379,6 +70495,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CancelOperationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteOperationRequest. */ @@ -66469,6 +70592,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteOperationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WaitOperationRequest. */ @@ -66565,6 +70695,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for WaitOperationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an OperationInfo. */ @@ -66661,6 +70798,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for OperationInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -66767,6 +70911,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Status + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -66867,6 +71018,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for LatLng + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } } diff --git a/packages/google-cloud-dialogflow/protos/protos.js b/packages/google-cloud-dialogflow/protos/protos.js index 3398633b0f1..de1048baf43 100644 --- a/packages/google-cloud-dialogflow/protos/protos.js +++ b/packages/google-cloud-dialogflow/protos/protos.js @@ -99,7 +99,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Agents#getAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Agents|getAgent}. * @memberof google.cloud.dialogflow.v2.Agents * @typedef GetAgentCallback * @type {function} @@ -132,7 +132,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Agents#setAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Agents|setAgent}. * @memberof google.cloud.dialogflow.v2.Agents * @typedef SetAgentCallback * @type {function} @@ -165,7 +165,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Agents#deleteAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Agents|deleteAgent}. * @memberof google.cloud.dialogflow.v2.Agents * @typedef DeleteAgentCallback * @type {function} @@ -198,7 +198,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Agents#searchAgents}. + * Callback as used by {@link google.cloud.dialogflow.v2.Agents|searchAgents}. * @memberof google.cloud.dialogflow.v2.Agents * @typedef SearchAgentsCallback * @type {function} @@ -231,7 +231,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Agents#trainAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Agents|trainAgent}. * @memberof google.cloud.dialogflow.v2.Agents * @typedef TrainAgentCallback * @type {function} @@ -264,7 +264,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Agents#exportAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Agents|exportAgent}. * @memberof google.cloud.dialogflow.v2.Agents * @typedef ExportAgentCallback * @type {function} @@ -297,7 +297,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Agents#importAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Agents|importAgent}. * @memberof google.cloud.dialogflow.v2.Agents * @typedef ImportAgentCallback * @type {function} @@ -330,7 +330,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Agents#restoreAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Agents|restoreAgent}. * @memberof google.cloud.dialogflow.v2.Agents * @typedef RestoreAgentCallback * @type {function} @@ -363,7 +363,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Agents#getValidationResult}. + * Callback as used by {@link google.cloud.dialogflow.v2.Agents|getValidationResult}. * @memberof google.cloud.dialogflow.v2.Agents * @typedef GetValidationResultCallback * @type {function} @@ -613,44 +613,56 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 3: - message.defaultLanguageCode = reader.string(); - break; - case 4: - if (!(message.supportedLanguageCodes && message.supportedLanguageCodes.length)) - message.supportedLanguageCodes = []; - message.supportedLanguageCodes.push(reader.string()); - break; - case 5: - message.timeZone = reader.string(); - break; - case 6: - message.description = reader.string(); - break; - case 7: - message.avatarUri = reader.string(); - break; - case 8: - message.enableLogging = reader.bool(); - break; - case 9: - message.matchMode = reader.int32(); - break; - case 10: - message.classificationThreshold = reader.float(); - break; - case 14: - message.apiVersion = reader.int32(); - break; - case 15: - message.tier = reader.int32(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 3: { + message.defaultLanguageCode = reader.string(); + break; + } + case 4: { + if (!(message.supportedLanguageCodes && message.supportedLanguageCodes.length)) + message.supportedLanguageCodes = []; + message.supportedLanguageCodes.push(reader.string()); + break; + } + case 5: { + message.timeZone = reader.string(); + break; + } + case 6: { + message.description = reader.string(); + break; + } + case 7: { + message.avatarUri = reader.string(); + break; + } + case 8: { + message.enableLogging = reader.bool(); + break; + } + case 9: { + message.matchMode = reader.int32(); + break; + } + case 10: { + message.classificationThreshold = reader.float(); + break; + } + case 14: { + message.apiVersion = reader.int32(); + break; + } + case 15: { + message.tier = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -906,6 +918,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Agent + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Agent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Agent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Agent"; + }; + /** * MatchMode enum. * @name google.cloud.dialogflow.v2.Agent.MatchMode @@ -1053,9 +1080,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -1145,6 +1173,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetAgentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.GetAgentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetAgentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.GetAgentRequest"; + }; + return GetAgentRequest; })(); @@ -1251,12 +1294,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.agent = $root.google.cloud.dialogflow.v2.Agent.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.agent = $root.google.cloud.dialogflow.v2.Agent.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -1365,6 +1410,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SetAgentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SetAgentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SetAgentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SetAgentRequest"; + }; + return SetAgentRequest; })(); @@ -1460,9 +1520,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -1552,6 +1613,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteAgentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.DeleteAgentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteAgentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.DeleteAgentRequest"; + }; + return DeleteAgentRequest; })(); @@ -1669,15 +1745,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -1784,6 +1863,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SearchAgentsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SearchAgentsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SearchAgentsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SearchAgentsRequest"; + }; + return SearchAgentsRequest; })(); @@ -1892,14 +1986,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.agents && message.agents.length)) - message.agents = []; - message.agents.push($root.google.cloud.dialogflow.v2.Agent.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.agents && message.agents.length)) + message.agents = []; + message.agents.push($root.google.cloud.dialogflow.v2.Agent.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -2015,6 +2111,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SearchAgentsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SearchAgentsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SearchAgentsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SearchAgentsResponse"; + }; + return SearchAgentsResponse; })(); @@ -2110,9 +2221,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -2202,6 +2314,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TrainAgentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.TrainAgentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TrainAgentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.TrainAgentRequest"; + }; + return TrainAgentRequest; })(); @@ -2308,12 +2435,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.agentUri = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.agentUri = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -2412,6 +2541,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ExportAgentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ExportAgentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ExportAgentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ExportAgentRequest"; + }; + return ExportAgentRequest; })(); @@ -2532,12 +2676,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.agentUri = reader.string(); - break; - case 2: - message.agentContent = reader.bytes(); - break; + case 1: { + message.agentUri = reader.string(); + break; + } + case 2: { + message.agentContent = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -2606,7 +2752,7 @@ if (object.agentContent != null) if (typeof object.agentContent === "string") $util.base64.decode(object.agentContent, message.agentContent = $util.newBuffer($util.base64.length(object.agentContent)), 0); - else if (object.agentContent.length) + else if (object.agentContent.length >= 0) message.agentContent = object.agentContent; return message; }; @@ -2648,6 +2794,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ExportAgentResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ExportAgentResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ExportAgentResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ExportAgentResponse"; + }; + return ExportAgentResponse; })(); @@ -2779,15 +2940,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.agentUri = reader.string(); - break; - case 3: - message.agentContent = reader.bytes(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.agentUri = reader.string(); + break; + } + case 3: { + message.agentContent = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -2861,7 +3025,7 @@ if (object.agentContent != null) if (typeof object.agentContent === "string") $util.base64.decode(object.agentContent, message.agentContent = $util.newBuffer($util.base64.length(object.agentContent)), 0); - else if (object.agentContent.length) + else if (object.agentContent.length >= 0) message.agentContent = object.agentContent; return message; }; @@ -2907,6 +3071,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ImportAgentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ImportAgentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ImportAgentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ImportAgentRequest"; + }; + return ImportAgentRequest; })(); @@ -3038,15 +3217,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.agentUri = reader.string(); - break; - case 3: - message.agentContent = reader.bytes(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.agentUri = reader.string(); + break; + } + case 3: { + message.agentContent = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -3120,7 +3302,7 @@ if (object.agentContent != null) if (typeof object.agentContent === "string") $util.base64.decode(object.agentContent, message.agentContent = $util.newBuffer($util.base64.length(object.agentContent)), 0); - else if (object.agentContent.length) + else if (object.agentContent.length >= 0) message.agentContent = object.agentContent; return message; }; @@ -3166,6 +3348,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for RestoreAgentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.RestoreAgentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RestoreAgentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.RestoreAgentRequest"; + }; + return RestoreAgentRequest; })(); @@ -3272,12 +3469,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 3: - message.languageCode = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 3: { + message.languageCode = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -3376,6 +3575,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetValidationResultRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.GetValidationResultRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetValidationResultRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.GetValidationResultRequest"; + }; + return GetValidationResultRequest; })(); @@ -3495,17 +3709,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.severity = reader.int32(); - break; - case 3: - if (!(message.entries && message.entries.length)) - message.entries = []; - message.entries.push(reader.string()); - break; - case 4: - message.errorMessage = reader.string(); - break; + case 1: { + message.severity = reader.int32(); + break; + } + case 3: { + if (!(message.entries && message.entries.length)) + message.entries = []; + message.entries.push(reader.string()); + break; + } + case 4: { + message.errorMessage = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -3653,6 +3870,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ValidationError + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ValidationError + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ValidationError.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ValidationError"; + }; + /** * Severity enum. * @name google.cloud.dialogflow.v2.ValidationError.Severity @@ -3770,11 +4002,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.validationErrors && message.validationErrors.length)) - message.validationErrors = []; - message.validationErrors.push($root.google.cloud.dialogflow.v2.ValidationError.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.validationErrors && message.validationErrors.length)) + message.validationErrors = []; + message.validationErrors.push($root.google.cloud.dialogflow.v2.ValidationError.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -3881,6 +4114,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ValidationResult + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ValidationResult + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ValidationResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ValidationResult"; + }; + return ValidationResult; })(); @@ -3917,7 +4165,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2.AnswerRecords#listAnswerRecords}. + * Callback as used by {@link google.cloud.dialogflow.v2.AnswerRecords|listAnswerRecords}. * @memberof google.cloud.dialogflow.v2.AnswerRecords * @typedef ListAnswerRecordsCallback * @type {function} @@ -3950,7 +4198,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.AnswerRecords#updateAnswerRecord}. + * Callback as used by {@link google.cloud.dialogflow.v2.AnswerRecords|updateAnswerRecord}. * @memberof google.cloud.dialogflow.v2.AnswerRecords * @typedef UpdateAnswerRecordCallback * @type {function} @@ -4113,15 +4361,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.answerFeedback = $root.google.cloud.dialogflow.v2.AnswerFeedback.decode(reader, reader.uint32()); - break; - case 4: - message.agentAssistantRecord = $root.google.cloud.dialogflow.v2.AgentAssistantRecord.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.answerFeedback = $root.google.cloud.dialogflow.v2.AnswerFeedback.decode(reader, reader.uint32()); + break; + } + case 4: { + message.agentAssistantRecord = $root.google.cloud.dialogflow.v2.AgentAssistantRecord.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -4244,6 +4495,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AnswerRecord + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.AnswerRecord + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AnswerRecord.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.AnswerRecord"; + }; + return AnswerRecord; })(); @@ -4372,18 +4638,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.filter = reader.string(); - break; - case 3: - message.pageSize = reader.int32(); - break; - case 4: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.filter = reader.string(); + break; + } + case 3: { + message.pageSize = reader.int32(); + break; + } + case 4: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -4498,6 +4768,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListAnswerRecordsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListAnswerRecordsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListAnswerRecordsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListAnswerRecordsRequest"; + }; + return ListAnswerRecordsRequest; })(); @@ -4606,14 +4891,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.answerRecords && message.answerRecords.length)) - message.answerRecords = []; - message.answerRecords.push($root.google.cloud.dialogflow.v2.AnswerRecord.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.answerRecords && message.answerRecords.length)) + message.answerRecords = []; + message.answerRecords.push($root.google.cloud.dialogflow.v2.AnswerRecord.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -4729,6 +5016,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListAnswerRecordsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListAnswerRecordsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListAnswerRecordsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListAnswerRecordsResponse"; + }; + return ListAnswerRecordsResponse; })(); @@ -4835,12 +5137,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.answerRecord = $root.google.cloud.dialogflow.v2.AnswerRecord.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.answerRecord = $root.google.cloud.dialogflow.v2.AnswerRecord.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -4949,6 +5253,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateAnswerRecordRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.UpdateAnswerRecordRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateAnswerRecordRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.UpdateAnswerRecordRequest"; + }; + return UpdateAnswerRecordRequest; })(); @@ -5113,24 +5432,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.correctnessLevel = reader.int32(); - break; - case 2: - message.agentAssistantDetailFeedback = $root.google.cloud.dialogflow.v2.AgentAssistantFeedback.decode(reader, reader.uint32()); - break; - case 3: - message.clicked = reader.bool(); - break; - case 5: - message.clickTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 4: - message.displayed = reader.bool(); - break; - case 6: - message.displayTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + case 1: { + message.correctnessLevel = reader.int32(); + break; + } + case 2: { + message.agentAssistantDetailFeedback = $root.google.cloud.dialogflow.v2.AgentAssistantFeedback.decode(reader, reader.uint32()); + break; + } + case 3: { + message.clicked = reader.bool(); + break; + } + case 5: { + message.clickTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 4: { + message.displayed = reader.bool(); + break; + } + case 6: { + message.displayTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -5305,6 +5630,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AnswerFeedback + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.AnswerFeedback + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AnswerFeedback.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.AnswerFeedback"; + }; + /** * CorrectnessLevel enum. * @name google.cloud.dialogflow.v2.AnswerFeedback.CorrectnessLevel @@ -5440,15 +5780,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.answerRelevance = reader.int32(); - break; - case 2: - message.documentCorrectness = reader.int32(); - break; - case 3: - message.documentEfficiency = reader.int32(); - break; + case 1: { + message.answerRelevance = reader.int32(); + break; + } + case 2: { + message.documentCorrectness = reader.int32(); + break; + } + case 3: { + message.documentEfficiency = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -5609,6 +5952,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AgentAssistantFeedback + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.AgentAssistantFeedback + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AgentAssistantFeedback.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.AgentAssistantFeedback"; + }; + /** * AnswerRelevance enum. * @name google.cloud.dialogflow.v2.AgentAssistantFeedback.AnswerRelevance @@ -5777,12 +6135,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 5: - message.articleSuggestionAnswer = $root.google.cloud.dialogflow.v2.ArticleAnswer.decode(reader, reader.uint32()); - break; - case 6: - message.faqAnswer = $root.google.cloud.dialogflow.v2.FaqAnswer.decode(reader, reader.uint32()); - break; + case 5: { + message.articleSuggestionAnswer = $root.google.cloud.dialogflow.v2.ArticleAnswer.decode(reader, reader.uint32()); + break; + } + case 6: { + message.faqAnswer = $root.google.cloud.dialogflow.v2.FaqAnswer.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -5902,6 +6262,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AgentAssistantRecord + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.AgentAssistantRecord + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AgentAssistantRecord.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.AgentAssistantRecord"; + }; + return AgentAssistantRecord; })(); @@ -5938,7 +6313,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Participants#createParticipant}. + * Callback as used by {@link google.cloud.dialogflow.v2.Participants|createParticipant}. * @memberof google.cloud.dialogflow.v2.Participants * @typedef CreateParticipantCallback * @type {function} @@ -5971,7 +6346,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Participants#getParticipant}. + * Callback as used by {@link google.cloud.dialogflow.v2.Participants|getParticipant}. * @memberof google.cloud.dialogflow.v2.Participants * @typedef GetParticipantCallback * @type {function} @@ -6004,7 +6379,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Participants#listParticipants}. + * Callback as used by {@link google.cloud.dialogflow.v2.Participants|listParticipants}. * @memberof google.cloud.dialogflow.v2.Participants * @typedef ListParticipantsCallback * @type {function} @@ -6037,7 +6412,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Participants#updateParticipant}. + * Callback as used by {@link google.cloud.dialogflow.v2.Participants|updateParticipant}. * @memberof google.cloud.dialogflow.v2.Participants * @typedef UpdateParticipantCallback * @type {function} @@ -6070,7 +6445,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Participants#analyzeContent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Participants|analyzeContent}. * @memberof google.cloud.dialogflow.v2.Participants * @typedef AnalyzeContentCallback * @type {function} @@ -6103,7 +6478,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Participants#suggestArticles}. + * Callback as used by {@link google.cloud.dialogflow.v2.Participants|suggestArticles}. * @memberof google.cloud.dialogflow.v2.Participants * @typedef SuggestArticlesCallback * @type {function} @@ -6136,7 +6511,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Participants#suggestFaqAnswers}. + * Callback as used by {@link google.cloud.dialogflow.v2.Participants|suggestFaqAnswers}. * @memberof google.cloud.dialogflow.v2.Participants * @typedef SuggestFaqAnswersCallback * @type {function} @@ -6169,7 +6544,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Participants#suggestSmartReplies}. + * Callback as used by {@link google.cloud.dialogflow.v2.Participants|suggestSmartReplies}. * @memberof google.cloud.dialogflow.v2.Participants * @typedef SuggestSmartRepliesCallback * @type {function} @@ -6331,37 +6706,41 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.role = reader.int32(); - break; - case 6: - message.sipRecordingMediaLabel = reader.string(); - break; - case 8: - if (message.documentsMetadataFilters === $util.emptyObject) - message.documentsMetadataFilters = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.role = reader.int32(); + break; + } + case 6: { + message.sipRecordingMediaLabel = reader.string(); + break; + } + case 8: { + if (message.documentsMetadataFilters === $util.emptyObject) + message.documentsMetadataFilters = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.documentsMetadataFilters[key] = value; + break; } - message.documentsMetadataFilters[key] = value; - break; default: reader.skipType(tag & 7); break; @@ -6514,6 +6893,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Participant + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Participant + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Participant.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Participant"; + }; + /** * Role enum. * @name google.cloud.dialogflow.v2.Participant.Role @@ -6715,33 +7109,42 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.content = reader.string(); - break; - case 3: - message.languageCode = reader.string(); - break; - case 4: - message.participant = reader.string(); - break; - case 5: - message.participantRole = reader.int32(); - break; - case 6: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 9: - message.sendTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 7: - message.messageAnnotation = $root.google.cloud.dialogflow.v2.MessageAnnotation.decode(reader, reader.uint32()); - break; - case 8: - message.sentimentAnalysis = $root.google.cloud.dialogflow.v2.SentimentAnalysisResult.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.content = reader.string(); + break; + } + case 3: { + message.languageCode = reader.string(); + break; + } + case 4: { + message.participant = reader.string(); + break; + } + case 5: { + message.participantRole = reader.int32(); + break; + } + case 6: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 9: { + message.sendTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 7: { + message.messageAnnotation = $root.google.cloud.dialogflow.v2.MessageAnnotation.decode(reader, reader.uint32()); + break; + } + case 8: { + message.sentimentAnalysis = $root.google.cloud.dialogflow.v2.SentimentAnalysisResult.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -6939,6 +7342,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Message + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Message + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Message.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Message"; + }; + return Message; })(); @@ -7045,12 +7463,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.participant = $root.google.cloud.dialogflow.v2.Participant.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.participant = $root.google.cloud.dialogflow.v2.Participant.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -7154,6 +7574,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateParticipantRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.CreateParticipantRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateParticipantRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.CreateParticipantRequest"; + }; + return CreateParticipantRequest; })(); @@ -7249,9 +7684,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -7341,6 +7777,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetParticipantRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.GetParticipantRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetParticipantRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.GetParticipantRequest"; + }; + return GetParticipantRequest; })(); @@ -7458,15 +7909,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -7573,6 +8027,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListParticipantsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListParticipantsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListParticipantsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListParticipantsRequest"; + }; + return ListParticipantsRequest; })(); @@ -7681,14 +8150,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.participants && message.participants.length)) - message.participants = []; - message.participants.push($root.google.cloud.dialogflow.v2.Participant.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.participants && message.participants.length)) + message.participants = []; + message.participants.push($root.google.cloud.dialogflow.v2.Participant.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -7804,6 +8275,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListParticipantsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListParticipantsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListParticipantsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListParticipantsResponse"; + }; + return ListParticipantsResponse; })(); @@ -7910,12 +8396,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.participant = $root.google.cloud.dialogflow.v2.Participant.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.participant = $root.google.cloud.dialogflow.v2.Participant.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -8024,6 +8512,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateParticipantRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.UpdateParticipantRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateParticipantRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.UpdateParticipantRequest"; + }; + return UpdateParticipantRequest; })(); @@ -8210,30 +8713,38 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.participant = reader.string(); - break; - case 6: - message.textInput = $root.google.cloud.dialogflow.v2.TextInput.decode(reader, reader.uint32()); - break; - case 8: - message.eventInput = $root.google.cloud.dialogflow.v2.EventInput.decode(reader, reader.uint32()); - break; - case 5: - message.replyAudioConfig = $root.google.cloud.dialogflow.v2.OutputAudioConfig.decode(reader, reader.uint32()); - break; - case 9: - message.queryParams = $root.google.cloud.dialogflow.v2.QueryParameters.decode(reader, reader.uint32()); - break; - case 14: - message.assistQueryParams = $root.google.cloud.dialogflow.v2.AssistQueryParameters.decode(reader, reader.uint32()); - break; - case 18: - message.cxParameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 11: - message.requestId = reader.string(); - break; + case 1: { + message.participant = reader.string(); + break; + } + case 6: { + message.textInput = $root.google.cloud.dialogflow.v2.TextInput.decode(reader, reader.uint32()); + break; + } + case 8: { + message.eventInput = $root.google.cloud.dialogflow.v2.EventInput.decode(reader, reader.uint32()); + break; + } + case 5: { + message.replyAudioConfig = $root.google.cloud.dialogflow.v2.OutputAudioConfig.decode(reader, reader.uint32()); + break; + } + case 9: { + message.queryParams = $root.google.cloud.dialogflow.v2.QueryParameters.decode(reader, reader.uint32()); + break; + } + case 14: { + message.assistQueryParams = $root.google.cloud.dialogflow.v2.AssistQueryParameters.decode(reader, reader.uint32()); + break; + } + case 18: { + message.cxParameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 11: { + message.requestId = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -8423,6 +8934,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AnalyzeContentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.AnalyzeContentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AnalyzeContentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.AnalyzeContentRequest"; + }; + return AnalyzeContentRequest; })(); @@ -8518,9 +9044,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.acceptsDtmfInput = reader.bool(); - break; + case 1: { + message.acceptsDtmfInput = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -8610,6 +9137,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DtmfParameters + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.DtmfParameters + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DtmfParameters.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.DtmfParameters"; + }; + return DtmfParameters; })(); @@ -8775,31 +9317,38 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.replyText = reader.string(); - break; - case 2: - message.replyAudio = $root.google.cloud.dialogflow.v2.OutputAudio.decode(reader, reader.uint32()); - break; - case 3: - message.automatedAgentReply = $root.google.cloud.dialogflow.v2.AutomatedAgentReply.decode(reader, reader.uint32()); - break; - case 5: - message.message = $root.google.cloud.dialogflow.v2.Message.decode(reader, reader.uint32()); - break; - case 6: - if (!(message.humanAgentSuggestionResults && message.humanAgentSuggestionResults.length)) - message.humanAgentSuggestionResults = []; - message.humanAgentSuggestionResults.push($root.google.cloud.dialogflow.v2.SuggestionResult.decode(reader, reader.uint32())); - break; - case 7: - if (!(message.endUserSuggestionResults && message.endUserSuggestionResults.length)) - message.endUserSuggestionResults = []; - message.endUserSuggestionResults.push($root.google.cloud.dialogflow.v2.SuggestionResult.decode(reader, reader.uint32())); - break; - case 9: - message.dtmfParameters = $root.google.cloud.dialogflow.v2.DtmfParameters.decode(reader, reader.uint32()); - break; + case 1: { + message.replyText = reader.string(); + break; + } + case 2: { + message.replyAudio = $root.google.cloud.dialogflow.v2.OutputAudio.decode(reader, reader.uint32()); + break; + } + case 3: { + message.automatedAgentReply = $root.google.cloud.dialogflow.v2.AutomatedAgentReply.decode(reader, reader.uint32()); + break; + } + case 5: { + message.message = $root.google.cloud.dialogflow.v2.Message.decode(reader, reader.uint32()); + break; + } + case 6: { + if (!(message.humanAgentSuggestionResults && message.humanAgentSuggestionResults.length)) + message.humanAgentSuggestionResults = []; + message.humanAgentSuggestionResults.push($root.google.cloud.dialogflow.v2.SuggestionResult.decode(reader, reader.uint32())); + break; + } + case 7: { + if (!(message.endUserSuggestionResults && message.endUserSuggestionResults.length)) + message.endUserSuggestionResults = []; + message.endUserSuggestionResults.push($root.google.cloud.dialogflow.v2.SuggestionResult.decode(reader, reader.uint32())); + break; + } + case 9: { + message.dtmfParameters = $root.google.cloud.dialogflow.v2.DtmfParameters.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -8994,6 +9543,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AnalyzeContentResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.AnalyzeContentResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AnalyzeContentResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.AnalyzeContentResponse"; + }; + return AnalyzeContentResponse; })(); @@ -9122,18 +9686,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.latestMessage = reader.string(); - break; - case 3: - message.contextSize = reader.int32(); - break; - case 4: - message.assistQueryParams = $root.google.cloud.dialogflow.v2.AssistQueryParameters.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.latestMessage = reader.string(); + break; + } + case 3: { + message.contextSize = reader.int32(); + break; + } + case 4: { + message.assistQueryParams = $root.google.cloud.dialogflow.v2.AssistQueryParameters.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -9253,6 +9821,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestArticlesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SuggestArticlesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestArticlesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SuggestArticlesRequest"; + }; + return SuggestArticlesRequest; })(); @@ -9372,17 +9955,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.articleAnswers && message.articleAnswers.length)) - message.articleAnswers = []; - message.articleAnswers.push($root.google.cloud.dialogflow.v2.ArticleAnswer.decode(reader, reader.uint32())); - break; - case 2: - message.latestMessage = reader.string(); - break; - case 3: - message.contextSize = reader.int32(); - break; + case 1: { + if (!(message.articleAnswers && message.articleAnswers.length)) + message.articleAnswers = []; + message.articleAnswers.push($root.google.cloud.dialogflow.v2.ArticleAnswer.decode(reader, reader.uint32())); + break; + } + case 2: { + message.latestMessage = reader.string(); + break; + } + case 3: { + message.contextSize = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -9507,6 +10093,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestArticlesResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SuggestArticlesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestArticlesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SuggestArticlesResponse"; + }; + return SuggestArticlesResponse; })(); @@ -9635,18 +10236,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.latestMessage = reader.string(); - break; - case 3: - message.contextSize = reader.int32(); - break; - case 4: - message.assistQueryParams = $root.google.cloud.dialogflow.v2.AssistQueryParameters.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.latestMessage = reader.string(); + break; + } + case 3: { + message.contextSize = reader.int32(); + break; + } + case 4: { + message.assistQueryParams = $root.google.cloud.dialogflow.v2.AssistQueryParameters.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -9766,6 +10371,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestFaqAnswersRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SuggestFaqAnswersRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestFaqAnswersRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SuggestFaqAnswersRequest"; + }; + return SuggestFaqAnswersRequest; })(); @@ -9885,17 +10505,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.faqAnswers && message.faqAnswers.length)) - message.faqAnswers = []; - message.faqAnswers.push($root.google.cloud.dialogflow.v2.FaqAnswer.decode(reader, reader.uint32())); - break; - case 2: - message.latestMessage = reader.string(); - break; - case 3: - message.contextSize = reader.int32(); - break; + case 1: { + if (!(message.faqAnswers && message.faqAnswers.length)) + message.faqAnswers = []; + message.faqAnswers.push($root.google.cloud.dialogflow.v2.FaqAnswer.decode(reader, reader.uint32())); + break; + } + case 2: { + message.latestMessage = reader.string(); + break; + } + case 3: { + message.contextSize = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -10020,6 +10643,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestFaqAnswersResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SuggestFaqAnswersResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestFaqAnswersResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SuggestFaqAnswersResponse"; + }; + return SuggestFaqAnswersResponse; })(); @@ -10148,18 +10786,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 4: - message.currentTextInput = $root.google.cloud.dialogflow.v2.TextInput.decode(reader, reader.uint32()); - break; - case 2: - message.latestMessage = reader.string(); - break; - case 3: - message.contextSize = reader.int32(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 4: { + message.currentTextInput = $root.google.cloud.dialogflow.v2.TextInput.decode(reader, reader.uint32()); + break; + } + case 2: { + message.latestMessage = reader.string(); + break; + } + case 3: { + message.contextSize = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -10279,6 +10921,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestSmartRepliesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SuggestSmartRepliesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestSmartRepliesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SuggestSmartRepliesRequest"; + }; + return SuggestSmartRepliesRequest; })(); @@ -10398,17 +11055,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.smartReplyAnswers && message.smartReplyAnswers.length)) - message.smartReplyAnswers = []; - message.smartReplyAnswers.push($root.google.cloud.dialogflow.v2.SmartReplyAnswer.decode(reader, reader.uint32())); - break; - case 2: - message.latestMessage = reader.string(); - break; - case 3: - message.contextSize = reader.int32(); - break; + case 1: { + if (!(message.smartReplyAnswers && message.smartReplyAnswers.length)) + message.smartReplyAnswers = []; + message.smartReplyAnswers.push($root.google.cloud.dialogflow.v2.SmartReplyAnswer.decode(reader, reader.uint32())); + break; + } + case 2: { + message.latestMessage = reader.string(); + break; + } + case 3: { + message.contextSize = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -10533,6 +11193,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestSmartRepliesResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SuggestSmartRepliesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestSmartRepliesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SuggestSmartRepliesResponse"; + }; + return SuggestSmartRepliesResponse; })(); @@ -10639,12 +11314,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.config = $root.google.cloud.dialogflow.v2.OutputAudioConfig.decode(reader, reader.uint32()); - break; - case 2: - message.audio = reader.bytes(); - break; + case 1: { + message.config = $root.google.cloud.dialogflow.v2.OutputAudioConfig.decode(reader, reader.uint32()); + break; + } + case 2: { + message.audio = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -10711,7 +11388,7 @@ if (object.audio != null) if (typeof object.audio === "string") $util.base64.decode(object.audio, message.audio = $util.newBuffer($util.base64.length(object.audio)), 0); - else if (object.audio.length) + else if (object.audio.length >= 0) message.audio = object.audio; return message; }; @@ -10757,6 +11434,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for OutputAudio + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.OutputAudio + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + OutputAudio.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.OutputAudio"; + }; + return OutputAudio; })(); @@ -10874,15 +11566,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.detectIntentResponse = $root.google.cloud.dialogflow.v2.DetectIntentResponse.decode(reader, reader.uint32()); - break; - case 7: - message.automatedAgentReplyType = reader.int32(); - break; - case 8: - message.allowCancellation = reader.bool(); - break; + case 1: { + message.detectIntentResponse = $root.google.cloud.dialogflow.v2.DetectIntentResponse.decode(reader, reader.uint32()); + break; + } + case 7: { + message.automatedAgentReplyType = reader.int32(); + break; + } + case 8: { + message.allowCancellation = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -11012,6 +11707,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AutomatedAgentReply + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.AutomatedAgentReply + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AutomatedAgentReply.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.AutomatedAgentReply"; + }; + /** * AutomatedAgentReplyType enum. * @name google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType @@ -11182,45 +11892,51 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.uri = reader.string(); - break; - case 3: - if (!(message.snippets && message.snippets.length)) - message.snippets = []; - message.snippets.push(reader.string()); - break; - case 4: - message.confidence = reader.float(); - break; - case 5: - if (message.metadata === $util.emptyObject) - message.metadata = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + message.title = reader.string(); + break; + } + case 2: { + message.uri = reader.string(); + break; + } + case 3: { + if (!(message.snippets && message.snippets.length)) + message.snippets = []; + message.snippets.push(reader.string()); + break; + } + case 4: { + message.confidence = reader.float(); + break; + } + case 5: { + if (message.metadata === $util.emptyObject) + message.metadata = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.metadata[key] = value; + break; + } + case 6: { + message.answerRecord = reader.string(); + break; } - message.metadata[key] = value; - break; - case 6: - message.answerRecord = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -11379,6 +12095,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ArticleAnswer + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ArticleAnswer + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ArticleAnswer.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ArticleAnswer"; + }; + return ArticleAnswer; })(); @@ -11531,43 +12262,49 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.answer = reader.string(); - break; - case 2: - message.confidence = reader.float(); - break; - case 3: - message.question = reader.string(); - break; - case 4: - message.source = reader.string(); - break; - case 5: - if (message.metadata === $util.emptyObject) - message.metadata = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + message.answer = reader.string(); + break; + } + case 2: { + message.confidence = reader.float(); + break; + } + case 3: { + message.question = reader.string(); + break; + } + case 4: { + message.source = reader.string(); + break; + } + case 5: { + if (message.metadata === $util.emptyObject) + message.metadata = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.metadata[key] = value; + break; + } + case 6: { + message.answerRecord = reader.string(); + break; } - message.metadata[key] = value; - break; - case 6: - message.answerRecord = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -11713,6 +12450,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FaqAnswer + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.FaqAnswer + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FaqAnswer.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.FaqAnswer"; + }; + return FaqAnswer; })(); @@ -11830,15 +12582,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.reply = reader.string(); - break; - case 2: - message.confidence = reader.float(); - break; - case 3: - message.answerRecord = reader.string(); - break; + case 1: { + message.reply = reader.string(); + break; + } + case 2: { + message.confidence = reader.float(); + break; + } + case 3: { + message.answerRecord = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -11945,6 +12700,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SmartReplyAnswer + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SmartReplyAnswer + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SmartReplyAnswer.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SmartReplyAnswer"; + }; + return SmartReplyAnswer; })(); @@ -12087,18 +12857,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.error = $root.google.rpc.Status.decode(reader, reader.uint32()); - break; - case 2: - message.suggestArticlesResponse = $root.google.cloud.dialogflow.v2.SuggestArticlesResponse.decode(reader, reader.uint32()); - break; - case 3: - message.suggestFaqAnswersResponse = $root.google.cloud.dialogflow.v2.SuggestFaqAnswersResponse.decode(reader, reader.uint32()); - break; - case 4: - message.suggestSmartRepliesResponse = $root.google.cloud.dialogflow.v2.SuggestSmartRepliesResponse.decode(reader, reader.uint32()); - break; + case 1: { + message.error = $root.google.rpc.Status.decode(reader, reader.uint32()); + break; + } + case 2: { + message.suggestArticlesResponse = $root.google.cloud.dialogflow.v2.SuggestArticlesResponse.decode(reader, reader.uint32()); + break; + } + case 3: { + message.suggestFaqAnswersResponse = $root.google.cloud.dialogflow.v2.SuggestFaqAnswersResponse.decode(reader, reader.uint32()); + break; + } + case 4: { + message.suggestSmartRepliesResponse = $root.google.cloud.dialogflow.v2.SuggestSmartRepliesResponse.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -12258,6 +13032,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestionResult + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SuggestionResult + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestionResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SuggestionResult"; + }; + return SuggestionResult; })(); @@ -12375,15 +13164,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.text = reader.string(); - break; - case 2: - message.entityType = reader.string(); - break; - case 3: - message.formattedValue = $root.google.protobuf.Value.decode(reader, reader.uint32()); - break; + case 1: { + message.text = reader.string(); + break; + } + case 2: { + message.entityType = reader.string(); + break; + } + case 3: { + message.formattedValue = $root.google.protobuf.Value.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -12495,6 +13287,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AnnotatedMessagePart + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.AnnotatedMessagePart + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AnnotatedMessagePart.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.AnnotatedMessagePart"; + }; + return AnnotatedMessagePart; })(); @@ -12603,14 +13410,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.parts && message.parts.length)) - message.parts = []; - message.parts.push($root.google.cloud.dialogflow.v2.AnnotatedMessagePart.decode(reader, reader.uint32())); - break; - case 2: - message.containEntities = reader.bool(); - break; + case 1: { + if (!(message.parts && message.parts.length)) + message.parts = []; + message.parts.push($root.google.cloud.dialogflow.v2.AnnotatedMessagePart.decode(reader, reader.uint32())); + break; + } + case 2: { + message.containEntities = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -12726,6 +13535,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for MessageAnnotation + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.MessageAnnotation + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + MessageAnnotation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.MessageAnnotation"; + }; + return MessageAnnotation; })(); @@ -12823,28 +13647,29 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (message.documentsMetadataFilters === $util.emptyObject) - message.documentsMetadataFilters = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + if (message.documentsMetadataFilters === $util.emptyObject) + message.documentsMetadataFilters = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.documentsMetadataFilters[key] = value; + break; } - message.documentsMetadataFilters[key] = value; - break; default: reader.skipType(tag & 7); break; @@ -12948,6 +13773,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AssistQueryParameters + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.AssistQueryParameters + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AssistQueryParameters.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.AssistQueryParameters"; + }; + return AssistQueryParameters; })(); @@ -13082,14 +13922,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.phrases && message.phrases.length)) - message.phrases = []; - message.phrases.push(reader.string()); - break; - case 2: - message.boost = reader.float(); - break; + case 1: { + if (!(message.phrases && message.phrases.length)) + message.phrases = []; + message.phrases.push(reader.string()); + break; + } + case 2: { + message.boost = reader.float(); + break; + } default: reader.skipType(tag & 7); break; @@ -13200,6 +14042,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SpeechContext + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SpeechContext + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SpeechContext.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SpeechContext"; + }; + return SpeechContext; })(); @@ -13346,18 +14203,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 3: - message.word = reader.string(); - break; - case 1: - message.startOffset = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; - case 2: - message.endOffset = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; - case 4: - message.confidence = reader.float(); - break; + case 3: { + message.word = reader.string(); + break; + } + case 1: { + message.startOffset = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + } + case 2: { + message.endOffset = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + } + case 4: { + message.confidence = reader.float(); + break; + } default: reader.skipType(tag & 7); break; @@ -13482,6 +14343,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SpeechWordInfo + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SpeechWordInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SpeechWordInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SpeechWordInfo"; + }; + return SpeechWordInfo; })(); @@ -13680,40 +14556,50 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.audioEncoding = reader.int32(); - break; - case 2: - message.sampleRateHertz = reader.int32(); - break; - case 3: - message.languageCode = reader.string(); - break; - case 13: - message.enableWordInfo = reader.bool(); - break; - case 4: - if (!(message.phraseHints && message.phraseHints.length)) - message.phraseHints = []; - message.phraseHints.push(reader.string()); - break; - case 11: - if (!(message.speechContexts && message.speechContexts.length)) - message.speechContexts = []; - message.speechContexts.push($root.google.cloud.dialogflow.v2.SpeechContext.decode(reader, reader.uint32())); - break; - case 7: - message.model = reader.string(); - break; - case 10: - message.modelVariant = reader.int32(); - break; - case 8: - message.singleUtterance = reader.bool(); - break; - case 14: - message.disableNoSpeechRecognizedEvent = reader.bool(); - break; + case 1: { + message.audioEncoding = reader.int32(); + break; + } + case 2: { + message.sampleRateHertz = reader.int32(); + break; + } + case 3: { + message.languageCode = reader.string(); + break; + } + case 13: { + message.enableWordInfo = reader.bool(); + break; + } + case 4: { + if (!(message.phraseHints && message.phraseHints.length)) + message.phraseHints = []; + message.phraseHints.push(reader.string()); + break; + } + case 11: { + if (!(message.speechContexts && message.speechContexts.length)) + message.speechContexts = []; + message.speechContexts.push($root.google.cloud.dialogflow.v2.SpeechContext.decode(reader, reader.uint32())); + break; + } + case 7: { + message.model = reader.string(); + break; + } + case 10: { + message.modelVariant = reader.int32(); + break; + } + case 8: { + message.singleUtterance = reader.bool(); + break; + } + case 14: { + message.disableNoSpeechRecognizedEvent = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -13973,6 +14859,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for InputAudioConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.InputAudioConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + InputAudioConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.InputAudioConfig"; + }; + return InputAudioConfig; })(); @@ -14097,12 +14998,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.ssmlGender = reader.int32(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.ssmlGender = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -14224,6 +15127,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for VoiceSelectionParams + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.VoiceSelectionParams + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + VoiceSelectionParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.VoiceSelectionParams"; + }; + return VoiceSelectionParams; })(); @@ -14365,23 +15283,28 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.speakingRate = reader.double(); - break; - case 2: - message.pitch = reader.double(); - break; - case 3: - message.volumeGainDb = reader.double(); - break; - case 5: - if (!(message.effectsProfileId && message.effectsProfileId.length)) - message.effectsProfileId = []; - message.effectsProfileId.push(reader.string()); - break; - case 4: - message.voice = $root.google.cloud.dialogflow.v2.VoiceSelectionParams.decode(reader, reader.uint32()); - break; + case 1: { + message.speakingRate = reader.double(); + break; + } + case 2: { + message.pitch = reader.double(); + break; + } + case 3: { + message.volumeGainDb = reader.double(); + break; + } + case 5: { + if (!(message.effectsProfileId && message.effectsProfileId.length)) + message.effectsProfileId = []; + message.effectsProfileId.push(reader.string()); + break; + } + case 4: { + message.voice = $root.google.cloud.dialogflow.v2.VoiceSelectionParams.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -14522,6 +15445,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SynthesizeSpeechConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SynthesizeSpeechConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SynthesizeSpeechConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SynthesizeSpeechConfig"; + }; + return SynthesizeSpeechConfig; })(); @@ -14661,15 +15599,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.audioEncoding = reader.int32(); - break; - case 2: - message.sampleRateHertz = reader.int32(); - break; - case 3: - message.synthesizeSpeechConfig = $root.google.cloud.dialogflow.v2.SynthesizeSpeechConfig.decode(reader, reader.uint32()); - break; + case 1: { + message.audioEncoding = reader.int32(); + break; + } + case 2: { + message.sampleRateHertz = reader.int32(); + break; + } + case 3: { + message.synthesizeSpeechConfig = $root.google.cloud.dialogflow.v2.SynthesizeSpeechConfig.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -14814,6 +15755,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for OutputAudioConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.OutputAudioConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + OutputAudioConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.OutputAudioConfig"; + }; + return OutputAudioConfig; })(); @@ -14909,9 +15865,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.speechModelVariant = reader.int32(); - break; + case 1: { + message.speechModelVariant = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -15024,6 +15981,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SpeechToTextConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SpeechToTextConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SpeechToTextConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SpeechToTextConfig"; + }; + return SpeechToTextConfig; })(); @@ -15060,7 +16032,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Sessions#detectIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Sessions|detectIntent}. * @memberof google.cloud.dialogflow.v2.Sessions * @typedef DetectIntentCallback * @type {function} @@ -15093,7 +16065,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Sessions#streamingDetectIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Sessions|streamingDetectIntent}. * @memberof google.cloud.dialogflow.v2.Sessions * @typedef StreamingDetectIntentCallback * @type {function} @@ -15275,24 +16247,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.session = reader.string(); - break; - case 2: - message.queryParams = $root.google.cloud.dialogflow.v2.QueryParameters.decode(reader, reader.uint32()); - break; - case 3: - message.queryInput = $root.google.cloud.dialogflow.v2.QueryInput.decode(reader, reader.uint32()); - break; - case 4: - message.outputAudioConfig = $root.google.cloud.dialogflow.v2.OutputAudioConfig.decode(reader, reader.uint32()); - break; - case 7: - message.outputAudioConfigMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; - case 5: - message.inputAudio = reader.bytes(); - break; + case 1: { + message.session = reader.string(); + break; + } + case 2: { + message.queryParams = $root.google.cloud.dialogflow.v2.QueryParameters.decode(reader, reader.uint32()); + break; + } + case 3: { + message.queryInput = $root.google.cloud.dialogflow.v2.QueryInput.decode(reader, reader.uint32()); + break; + } + case 4: { + message.outputAudioConfig = $root.google.cloud.dialogflow.v2.OutputAudioConfig.decode(reader, reader.uint32()); + break; + } + case 7: { + message.outputAudioConfigMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } + case 5: { + message.inputAudio = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -15394,7 +16372,7 @@ if (object.inputAudio != null) if (typeof object.inputAudio === "string") $util.base64.decode(object.inputAudio, message.inputAudio = $util.newBuffer($util.base64.length(object.inputAudio)), 0); - else if (object.inputAudio.length) + else if (object.inputAudio.length >= 0) message.inputAudio = object.inputAudio; return message; }; @@ -15452,6 +16430,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DetectIntentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.DetectIntentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DetectIntentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.DetectIntentRequest"; + }; + return DetectIntentRequest; })(); @@ -15591,21 +16584,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.responseId = reader.string(); - break; - case 2: - message.queryResult = $root.google.cloud.dialogflow.v2.QueryResult.decode(reader, reader.uint32()); - break; - case 3: - message.webhookStatus = $root.google.rpc.Status.decode(reader, reader.uint32()); - break; - case 4: - message.outputAudio = reader.bytes(); - break; - case 6: - message.outputAudioConfig = $root.google.cloud.dialogflow.v2.OutputAudioConfig.decode(reader, reader.uint32()); - break; + case 1: { + message.responseId = reader.string(); + break; + } + case 2: { + message.queryResult = $root.google.cloud.dialogflow.v2.QueryResult.decode(reader, reader.uint32()); + break; + } + case 3: { + message.webhookStatus = $root.google.rpc.Status.decode(reader, reader.uint32()); + break; + } + case 4: { + message.outputAudio = reader.bytes(); + break; + } + case 6: { + message.outputAudioConfig = $root.google.cloud.dialogflow.v2.OutputAudioConfig.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -15692,7 +16690,7 @@ if (object.outputAudio != null) if (typeof object.outputAudio === "string") $util.base64.decode(object.outputAudio, message.outputAudio = $util.newBuffer($util.base64.length(object.outputAudio)), 0); - else if (object.outputAudio.length) + else if (object.outputAudio.length >= 0) message.outputAudio = object.outputAudio; if (object.outputAudioConfig != null) { if (typeof object.outputAudioConfig !== "object") @@ -15752,6 +16750,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DetectIntentResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.DetectIntentResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DetectIntentResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.DetectIntentResponse"; + }; + return DetectIntentResponse; })(); @@ -15930,53 +16943,61 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.timeZone = reader.string(); - break; - case 2: - message.geoLocation = $root.google.type.LatLng.decode(reader, reader.uint32()); - break; - case 3: - if (!(message.contexts && message.contexts.length)) - message.contexts = []; - message.contexts.push($root.google.cloud.dialogflow.v2.Context.decode(reader, reader.uint32())); - break; - case 4: - message.resetContexts = reader.bool(); - break; - case 5: - if (!(message.sessionEntityTypes && message.sessionEntityTypes.length)) - message.sessionEntityTypes = []; - message.sessionEntityTypes.push($root.google.cloud.dialogflow.v2.SessionEntityType.decode(reader, reader.uint32())); - break; - case 6: - message.payload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 10: - message.sentimentAnalysisRequestConfig = $root.google.cloud.dialogflow.v2.SentimentAnalysisRequestConfig.decode(reader, reader.uint32()); - break; - case 14: - if (message.webhookHeaders === $util.emptyObject) - message.webhookHeaders = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + message.timeZone = reader.string(); + break; + } + case 2: { + message.geoLocation = $root.google.type.LatLng.decode(reader, reader.uint32()); + break; + } + case 3: { + if (!(message.contexts && message.contexts.length)) + message.contexts = []; + message.contexts.push($root.google.cloud.dialogflow.v2.Context.decode(reader, reader.uint32())); + break; + } + case 4: { + message.resetContexts = reader.bool(); + break; + } + case 5: { + if (!(message.sessionEntityTypes && message.sessionEntityTypes.length)) + message.sessionEntityTypes = []; + message.sessionEntityTypes.push($root.google.cloud.dialogflow.v2.SessionEntityType.decode(reader, reader.uint32())); + break; + } + case 6: { + message.payload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 10: { + message.sentimentAnalysisRequestConfig = $root.google.cloud.dialogflow.v2.SentimentAnalysisRequestConfig.decode(reader, reader.uint32()); + break; + } + case 14: { + if (message.webhookHeaders === $util.emptyObject) + message.webhookHeaders = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.webhookHeaders[key] = value; + break; } - message.webhookHeaders[key] = value; - break; default: reader.skipType(tag & 7); break; @@ -16189,6 +17210,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for QueryParameters + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.QueryParameters + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + QueryParameters.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.QueryParameters"; + }; + return QueryParameters; })(); @@ -16320,15 +17356,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.audioConfig = $root.google.cloud.dialogflow.v2.InputAudioConfig.decode(reader, reader.uint32()); - break; - case 2: - message.text = $root.google.cloud.dialogflow.v2.TextInput.decode(reader, reader.uint32()); - break; - case 3: - message.event = $root.google.cloud.dialogflow.v2.EventInput.decode(reader, reader.uint32()); - break; + case 1: { + message.audioConfig = $root.google.cloud.dialogflow.v2.InputAudioConfig.decode(reader, reader.uint32()); + break; + } + case 2: { + message.text = $root.google.cloud.dialogflow.v2.TextInput.decode(reader, reader.uint32()); + break; + } + case 3: { + message.event = $root.google.cloud.dialogflow.v2.EventInput.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -16468,6 +17507,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for QueryInput + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.QueryInput + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + QueryInput.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.QueryInput"; + }; + return QueryInput; })(); @@ -16732,58 +17786,74 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.queryText = reader.string(); - break; - case 15: - message.languageCode = reader.string(); - break; - case 2: - message.speechRecognitionConfidence = reader.float(); - break; - case 3: - message.action = reader.string(); - break; - case 4: - message.parameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 5: - message.allRequiredParamsPresent = reader.bool(); - break; - case 21: - message.cancelsSlotFilling = reader.bool(); - break; - case 6: - message.fulfillmentText = reader.string(); - break; - case 7: - if (!(message.fulfillmentMessages && message.fulfillmentMessages.length)) - message.fulfillmentMessages = []; - message.fulfillmentMessages.push($root.google.cloud.dialogflow.v2.Intent.Message.decode(reader, reader.uint32())); - break; - case 8: - message.webhookSource = reader.string(); - break; - case 9: - message.webhookPayload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 10: - if (!(message.outputContexts && message.outputContexts.length)) - message.outputContexts = []; - message.outputContexts.push($root.google.cloud.dialogflow.v2.Context.decode(reader, reader.uint32())); - break; - case 11: - message.intent = $root.google.cloud.dialogflow.v2.Intent.decode(reader, reader.uint32()); - break; - case 12: - message.intentDetectionConfidence = reader.float(); - break; - case 14: - message.diagnosticInfo = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 17: - message.sentimentAnalysisResult = $root.google.cloud.dialogflow.v2.SentimentAnalysisResult.decode(reader, reader.uint32()); - break; + case 1: { + message.queryText = reader.string(); + break; + } + case 15: { + message.languageCode = reader.string(); + break; + } + case 2: { + message.speechRecognitionConfidence = reader.float(); + break; + } + case 3: { + message.action = reader.string(); + break; + } + case 4: { + message.parameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 5: { + message.allRequiredParamsPresent = reader.bool(); + break; + } + case 21: { + message.cancelsSlotFilling = reader.bool(); + break; + } + case 6: { + message.fulfillmentText = reader.string(); + break; + } + case 7: { + if (!(message.fulfillmentMessages && message.fulfillmentMessages.length)) + message.fulfillmentMessages = []; + message.fulfillmentMessages.push($root.google.cloud.dialogflow.v2.Intent.Message.decode(reader, reader.uint32())); + break; + } + case 8: { + message.webhookSource = reader.string(); + break; + } + case 9: { + message.webhookPayload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 10: { + if (!(message.outputContexts && message.outputContexts.length)) + message.outputContexts = []; + message.outputContexts.push($root.google.cloud.dialogflow.v2.Context.decode(reader, reader.uint32())); + break; + } + case 11: { + message.intent = $root.google.cloud.dialogflow.v2.Intent.decode(reader, reader.uint32()); + break; + } + case 12: { + message.intentDetectionConfidence = reader.float(); + break; + } + case 14: { + message.diagnosticInfo = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 17: { + message.sentimentAnalysisResult = $root.google.cloud.dialogflow.v2.SentimentAnalysisResult.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -17055,6 +18125,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for QueryResult + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.QueryResult + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + QueryResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.QueryResult"; + }; + return QueryResult; })(); @@ -17216,27 +18301,34 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.session = reader.string(); - break; - case 2: - message.queryParams = $root.google.cloud.dialogflow.v2.QueryParameters.decode(reader, reader.uint32()); - break; - case 3: - message.queryInput = $root.google.cloud.dialogflow.v2.QueryInput.decode(reader, reader.uint32()); - break; - case 4: - message.singleUtterance = reader.bool(); - break; - case 5: - message.outputAudioConfig = $root.google.cloud.dialogflow.v2.OutputAudioConfig.decode(reader, reader.uint32()); - break; - case 7: - message.outputAudioConfigMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; - case 6: - message.inputAudio = reader.bytes(); - break; + case 1: { + message.session = reader.string(); + break; + } + case 2: { + message.queryParams = $root.google.cloud.dialogflow.v2.QueryParameters.decode(reader, reader.uint32()); + break; + } + case 3: { + message.queryInput = $root.google.cloud.dialogflow.v2.QueryInput.decode(reader, reader.uint32()); + break; + } + case 4: { + message.singleUtterance = reader.bool(); + break; + } + case 5: { + message.outputAudioConfig = $root.google.cloud.dialogflow.v2.OutputAudioConfig.decode(reader, reader.uint32()); + break; + } + case 7: { + message.outputAudioConfigMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } + case 6: { + message.inputAudio = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -17343,7 +18435,7 @@ if (object.inputAudio != null) if (typeof object.inputAudio === "string") $util.base64.decode(object.inputAudio, message.inputAudio = $util.newBuffer($util.base64.length(object.inputAudio)), 0); - else if (object.inputAudio.length) + else if (object.inputAudio.length >= 0) message.inputAudio = object.inputAudio; return message; }; @@ -17404,6 +18496,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for StreamingDetectIntentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.StreamingDetectIntentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + StreamingDetectIntentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.StreamingDetectIntentRequest"; + }; + return StreamingDetectIntentRequest; })(); @@ -17554,24 +18661,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.responseId = reader.string(); - break; - case 2: - message.recognitionResult = $root.google.cloud.dialogflow.v2.StreamingRecognitionResult.decode(reader, reader.uint32()); - break; - case 3: - message.queryResult = $root.google.cloud.dialogflow.v2.QueryResult.decode(reader, reader.uint32()); - break; - case 4: - message.webhookStatus = $root.google.rpc.Status.decode(reader, reader.uint32()); - break; - case 5: - message.outputAudio = reader.bytes(); - break; - case 6: - message.outputAudioConfig = $root.google.cloud.dialogflow.v2.OutputAudioConfig.decode(reader, reader.uint32()); - break; + case 1: { + message.responseId = reader.string(); + break; + } + case 2: { + message.recognitionResult = $root.google.cloud.dialogflow.v2.StreamingRecognitionResult.decode(reader, reader.uint32()); + break; + } + case 3: { + message.queryResult = $root.google.cloud.dialogflow.v2.QueryResult.decode(reader, reader.uint32()); + break; + } + case 4: { + message.webhookStatus = $root.google.rpc.Status.decode(reader, reader.uint32()); + break; + } + case 5: { + message.outputAudio = reader.bytes(); + break; + } + case 6: { + message.outputAudioConfig = $root.google.cloud.dialogflow.v2.OutputAudioConfig.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -17668,7 +18781,7 @@ if (object.outputAudio != null) if (typeof object.outputAudio === "string") $util.base64.decode(object.outputAudio, message.outputAudio = $util.newBuffer($util.base64.length(object.outputAudio)), 0); - else if (object.outputAudio.length) + else if (object.outputAudio.length >= 0) message.outputAudio = object.outputAudio; if (object.outputAudioConfig != null) { if (typeof object.outputAudioConfig !== "object") @@ -17731,6 +18844,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for StreamingDetectIntentResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.StreamingDetectIntentResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + StreamingDetectIntentResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.StreamingDetectIntentResponse"; + }; + return StreamingDetectIntentResponse; })(); @@ -17894,29 +19022,36 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.messageType = reader.int32(); - break; - case 2: - message.transcript = reader.string(); - break; - case 3: - message.isFinal = reader.bool(); - break; - case 4: - message.confidence = reader.float(); - break; - case 7: - if (!(message.speechWordInfo && message.speechWordInfo.length)) - message.speechWordInfo = []; - message.speechWordInfo.push($root.google.cloud.dialogflow.v2.SpeechWordInfo.decode(reader, reader.uint32())); - break; - case 8: - message.speechEndOffset = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; - case 10: - message.languageCode = reader.string(); - break; + case 1: { + message.messageType = reader.int32(); + break; + } + case 2: { + message.transcript = reader.string(); + break; + } + case 3: { + message.isFinal = reader.bool(); + break; + } + case 4: { + message.confidence = reader.float(); + break; + } + case 7: { + if (!(message.speechWordInfo && message.speechWordInfo.length)) + message.speechWordInfo = []; + message.speechWordInfo.push($root.google.cloud.dialogflow.v2.SpeechWordInfo.decode(reader, reader.uint32())); + break; + } + case 8: { + message.speechEndOffset = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + } + case 10: { + message.languageCode = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -18096,6 +19231,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for StreamingRecognitionResult + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.StreamingRecognitionResult + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + StreamingRecognitionResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.StreamingRecognitionResult"; + }; + /** * MessageType enum. * @name google.cloud.dialogflow.v2.StreamingRecognitionResult.MessageType @@ -18218,12 +19368,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.text = reader.string(); - break; - case 2: - message.languageCode = reader.string(); - break; + case 1: { + message.text = reader.string(); + break; + } + case 2: { + message.languageCode = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -18322,6 +19474,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TextInput + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.TextInput + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TextInput.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.TextInput"; + }; + return TextInput; })(); @@ -18439,15 +19606,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.parameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 3: - message.languageCode = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.parameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 3: { + message.languageCode = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -18559,6 +19729,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EventInput + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.EventInput + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EventInput.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.EventInput"; + }; + return EventInput; })(); @@ -18654,9 +19839,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.analyzeQueryTextSentiment = reader.bool(); - break; + case 1: { + message.analyzeQueryTextSentiment = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -18746,6 +19932,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SentimentAnalysisRequestConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SentimentAnalysisRequestConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SentimentAnalysisRequestConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SentimentAnalysisRequestConfig"; + }; + return SentimentAnalysisRequestConfig; })(); @@ -18841,9 +20042,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.queryTextSentiment = $root.google.cloud.dialogflow.v2.Sentiment.decode(reader, reader.uint32()); - break; + case 1: { + message.queryTextSentiment = $root.google.cloud.dialogflow.v2.Sentiment.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -18938,6 +20140,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SentimentAnalysisResult + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SentimentAnalysisResult + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SentimentAnalysisResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SentimentAnalysisResult"; + }; + return SentimentAnalysisResult; })(); @@ -19044,12 +20261,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.score = reader.float(); - break; - case 2: - message.magnitude = reader.float(); - break; + case 1: { + message.score = reader.float(); + break; + } + case 2: { + message.magnitude = reader.float(); + break; + } default: reader.skipType(tag & 7); break; @@ -19148,6 +20367,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Sentiment + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Sentiment + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Sentiment.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Sentiment"; + }; + return Sentiment; })(); @@ -19184,7 +20418,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Contexts#listContexts}. + * Callback as used by {@link google.cloud.dialogflow.v2.Contexts|listContexts}. * @memberof google.cloud.dialogflow.v2.Contexts * @typedef ListContextsCallback * @type {function} @@ -19217,7 +20451,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Contexts#getContext}. + * Callback as used by {@link google.cloud.dialogflow.v2.Contexts|getContext}. * @memberof google.cloud.dialogflow.v2.Contexts * @typedef GetContextCallback * @type {function} @@ -19250,7 +20484,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Contexts#createContext}. + * Callback as used by {@link google.cloud.dialogflow.v2.Contexts|createContext}. * @memberof google.cloud.dialogflow.v2.Contexts * @typedef CreateContextCallback * @type {function} @@ -19283,7 +20517,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Contexts#updateContext}. + * Callback as used by {@link google.cloud.dialogflow.v2.Contexts|updateContext}. * @memberof google.cloud.dialogflow.v2.Contexts * @typedef UpdateContextCallback * @type {function} @@ -19316,7 +20550,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Contexts#deleteContext}. + * Callback as used by {@link google.cloud.dialogflow.v2.Contexts|deleteContext}. * @memberof google.cloud.dialogflow.v2.Contexts * @typedef DeleteContextCallback * @type {function} @@ -19349,7 +20583,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Contexts#deleteAllContexts}. + * Callback as used by {@link google.cloud.dialogflow.v2.Contexts|deleteAllContexts}. * @memberof google.cloud.dialogflow.v2.Contexts * @typedef DeleteAllContextsCallback * @type {function} @@ -19498,15 +20732,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.lifespanCount = reader.int32(); - break; - case 3: - message.parameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.lifespanCount = reader.int32(); + break; + } + case 3: { + message.parameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -19618,6 +20855,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Context + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Context + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Context.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Context"; + }; + return Context; })(); @@ -19735,15 +20987,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -19850,6 +21105,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListContextsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListContextsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListContextsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListContextsRequest"; + }; + return ListContextsRequest; })(); @@ -19958,14 +21228,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.contexts && message.contexts.length)) - message.contexts = []; - message.contexts.push($root.google.cloud.dialogflow.v2.Context.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.contexts && message.contexts.length)) + message.contexts = []; + message.contexts.push($root.google.cloud.dialogflow.v2.Context.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -20081,6 +21353,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListContextsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListContextsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListContextsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListContextsResponse"; + }; + return ListContextsResponse; })(); @@ -20176,9 +21463,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -20268,6 +21556,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetContextRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.GetContextRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetContextRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.GetContextRequest"; + }; + return GetContextRequest; })(); @@ -20374,12 +21677,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.context = $root.google.cloud.dialogflow.v2.Context.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.context = $root.google.cloud.dialogflow.v2.Context.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -20483,6 +21788,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateContextRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.CreateContextRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateContextRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.CreateContextRequest"; + }; + return CreateContextRequest; })(); @@ -20589,12 +21909,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.context = $root.google.cloud.dialogflow.v2.Context.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.context = $root.google.cloud.dialogflow.v2.Context.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -20703,6 +22025,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateContextRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.UpdateContextRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateContextRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.UpdateContextRequest"; + }; + return UpdateContextRequest; })(); @@ -20798,9 +22135,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -20890,6 +22228,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteContextRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.DeleteContextRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteContextRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.DeleteContextRequest"; + }; + return DeleteContextRequest; })(); @@ -20985,9 +22338,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -21077,6 +22431,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteAllContextsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.DeleteAllContextsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteAllContextsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.DeleteAllContextsRequest"; + }; + return DeleteAllContextsRequest; })(); @@ -21113,7 +22482,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Intents#listIntents}. + * Callback as used by {@link google.cloud.dialogflow.v2.Intents|listIntents}. * @memberof google.cloud.dialogflow.v2.Intents * @typedef ListIntentsCallback * @type {function} @@ -21146,7 +22515,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Intents#getIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Intents|getIntent}. * @memberof google.cloud.dialogflow.v2.Intents * @typedef GetIntentCallback * @type {function} @@ -21179,7 +22548,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Intents#createIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Intents|createIntent}. * @memberof google.cloud.dialogflow.v2.Intents * @typedef CreateIntentCallback * @type {function} @@ -21212,7 +22581,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Intents#updateIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Intents|updateIntent}. * @memberof google.cloud.dialogflow.v2.Intents * @typedef UpdateIntentCallback * @type {function} @@ -21245,7 +22614,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Intents#deleteIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2.Intents|deleteIntent}. * @memberof google.cloud.dialogflow.v2.Intents * @typedef DeleteIntentCallback * @type {function} @@ -21278,7 +22647,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Intents#batchUpdateIntents}. + * Callback as used by {@link google.cloud.dialogflow.v2.Intents|batchUpdateIntents}. * @memberof google.cloud.dialogflow.v2.Intents * @typedef BatchUpdateIntentsCallback * @type {function} @@ -21311,7 +22680,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Intents#batchDeleteIntents}. + * Callback as used by {@link google.cloud.dialogflow.v2.Intents|batchDeleteIntents}. * @memberof google.cloud.dialogflow.v2.Intents * @typedef BatchDeleteIntentsCallback * @type {function} @@ -21666,87 +23035,107 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 6: - message.webhookState = reader.int32(); - break; - case 3: - message.priority = reader.int32(); - break; - case 4: - message.isFallback = reader.bool(); - break; - case 19: - message.mlDisabled = reader.bool(); - break; - case 20: - message.liveAgentHandoff = reader.bool(); - break; - case 21: - message.endInteraction = reader.bool(); - break; - case 7: - if (!(message.inputContextNames && message.inputContextNames.length)) - message.inputContextNames = []; - message.inputContextNames.push(reader.string()); - break; - case 8: - if (!(message.events && message.events.length)) - message.events = []; - message.events.push(reader.string()); - break; - case 9: - if (!(message.trainingPhrases && message.trainingPhrases.length)) - message.trainingPhrases = []; - message.trainingPhrases.push($root.google.cloud.dialogflow.v2.Intent.TrainingPhrase.decode(reader, reader.uint32())); - break; - case 10: - message.action = reader.string(); - break; - case 11: - if (!(message.outputContexts && message.outputContexts.length)) - message.outputContexts = []; - message.outputContexts.push($root.google.cloud.dialogflow.v2.Context.decode(reader, reader.uint32())); - break; - case 12: - message.resetContexts = reader.bool(); - break; - case 13: - if (!(message.parameters && message.parameters.length)) - message.parameters = []; - message.parameters.push($root.google.cloud.dialogflow.v2.Intent.Parameter.decode(reader, reader.uint32())); - break; - case 14: - if (!(message.messages && message.messages.length)) - message.messages = []; - message.messages.push($root.google.cloud.dialogflow.v2.Intent.Message.decode(reader, reader.uint32())); - break; - case 15: - if (!(message.defaultResponsePlatforms && message.defaultResponsePlatforms.length)) - message.defaultResponsePlatforms = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 6: { + message.webhookState = reader.int32(); + break; + } + case 3: { + message.priority = reader.int32(); + break; + } + case 4: { + message.isFallback = reader.bool(); + break; + } + case 19: { + message.mlDisabled = reader.bool(); + break; + } + case 20: { + message.liveAgentHandoff = reader.bool(); + break; + } + case 21: { + message.endInteraction = reader.bool(); + break; + } + case 7: { + if (!(message.inputContextNames && message.inputContextNames.length)) + message.inputContextNames = []; + message.inputContextNames.push(reader.string()); + break; + } + case 8: { + if (!(message.events && message.events.length)) + message.events = []; + message.events.push(reader.string()); + break; + } + case 9: { + if (!(message.trainingPhrases && message.trainingPhrases.length)) + message.trainingPhrases = []; + message.trainingPhrases.push($root.google.cloud.dialogflow.v2.Intent.TrainingPhrase.decode(reader, reader.uint32())); + break; + } + case 10: { + message.action = reader.string(); + break; + } + case 11: { + if (!(message.outputContexts && message.outputContexts.length)) + message.outputContexts = []; + message.outputContexts.push($root.google.cloud.dialogflow.v2.Context.decode(reader, reader.uint32())); + break; + } + case 12: { + message.resetContexts = reader.bool(); + break; + } + case 13: { + if (!(message.parameters && message.parameters.length)) + message.parameters = []; + message.parameters.push($root.google.cloud.dialogflow.v2.Intent.Parameter.decode(reader, reader.uint32())); + break; + } + case 14: { + if (!(message.messages && message.messages.length)) + message.messages = []; + message.messages.push($root.google.cloud.dialogflow.v2.Intent.Message.decode(reader, reader.uint32())); + break; + } + case 15: { + if (!(message.defaultResponsePlatforms && message.defaultResponsePlatforms.length)) + message.defaultResponsePlatforms = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.defaultResponsePlatforms.push(reader.int32()); + } else message.defaultResponsePlatforms.push(reader.int32()); - } else - message.defaultResponsePlatforms.push(reader.int32()); - break; - case 16: - message.rootFollowupIntentName = reader.string(); - break; - case 17: - message.parentFollowupIntentName = reader.string(); - break; - case 18: - if (!(message.followupIntentInfo && message.followupIntentInfo.length)) - message.followupIntentInfo = []; - message.followupIntentInfo.push($root.google.cloud.dialogflow.v2.Intent.FollowupIntentInfo.decode(reader, reader.uint32())); - break; + break; + } + case 16: { + message.rootFollowupIntentName = reader.string(); + break; + } + case 17: { + message.parentFollowupIntentName = reader.string(); + break; + } + case 18: { + if (!(message.followupIntentInfo && message.followupIntentInfo.length)) + message.followupIntentInfo = []; + message.followupIntentInfo.push($root.google.cloud.dialogflow.v2.Intent.FollowupIntentInfo.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -22185,6 +23574,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Intent + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Intent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent"; + }; + /** * WebhookState enum. * @name google.cloud.dialogflow.v2.Intent.WebhookState @@ -22328,20 +23732,24 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.type = reader.int32(); - break; - case 3: - if (!(message.parts && message.parts.length)) - message.parts = []; - message.parts.push($root.google.cloud.dialogflow.v2.Intent.TrainingPhrase.Part.decode(reader, reader.uint32())); - break; - case 4: - message.timesAddedCount = reader.int32(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.type = reader.int32(); + break; + } + case 3: { + if (!(message.parts && message.parts.length)) + message.parts = []; + message.parts.push($root.google.cloud.dialogflow.v2.Intent.TrainingPhrase.Part.decode(reader, reader.uint32())); + break; + } + case 4: { + message.timesAddedCount = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -22492,6 +23900,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TrainingPhrase + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.TrainingPhrase + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TrainingPhrase.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.TrainingPhrase"; + }; + /** * Type enum. * @name google.cloud.dialogflow.v2.Intent.TrainingPhrase.Type @@ -22633,18 +24056,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.text = reader.string(); - break; - case 2: - message.entityType = reader.string(); - break; - case 3: - message.alias = reader.string(); - break; - case 4: - message.userDefined = reader.bool(); - break; + case 1: { + message.text = reader.string(); + break; + } + case 2: { + message.entityType = reader.string(); + break; + } + case 3: { + message.alias = reader.string(); + break; + } + case 4: { + message.userDefined = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -22759,6 +24186,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Part + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.TrainingPhrase.Part + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Part.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.TrainingPhrase.Part"; + }; + return Part; })(); @@ -22936,32 +24378,40 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 3: - message.value = reader.string(); - break; - case 4: - message.defaultValue = reader.string(); - break; - case 5: - message.entityTypeDisplayName = reader.string(); - break; - case 6: - message.mandatory = reader.bool(); - break; - case 7: - if (!(message.prompts && message.prompts.length)) - message.prompts = []; - message.prompts.push(reader.string()); - break; - case 8: - message.isList = reader.bool(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 3: { + message.value = reader.string(); + break; + } + case 4: { + message.defaultValue = reader.string(); + break; + } + case 5: { + message.entityTypeDisplayName = reader.string(); + break; + } + case 6: { + message.mandatory = reader.bool(); + break; + } + case 7: { + if (!(message.prompts && message.prompts.length)) + message.prompts = []; + message.prompts.push(reader.string()); + break; + } + case 8: { + message.isList = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -23121,6 +24571,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Parameter + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Parameter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Parameter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Parameter"; + }; + return Parameter; })(); @@ -23384,51 +24849,66 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.text = $root.google.cloud.dialogflow.v2.Intent.Message.Text.decode(reader, reader.uint32()); - break; - case 2: - message.image = $root.google.cloud.dialogflow.v2.Intent.Message.Image.decode(reader, reader.uint32()); - break; - case 3: - message.quickReplies = $root.google.cloud.dialogflow.v2.Intent.Message.QuickReplies.decode(reader, reader.uint32()); - break; - case 4: - message.card = $root.google.cloud.dialogflow.v2.Intent.Message.Card.decode(reader, reader.uint32()); - break; - case 5: - message.payload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 7: - message.simpleResponses = $root.google.cloud.dialogflow.v2.Intent.Message.SimpleResponses.decode(reader, reader.uint32()); - break; - case 8: - message.basicCard = $root.google.cloud.dialogflow.v2.Intent.Message.BasicCard.decode(reader, reader.uint32()); - break; - case 9: - message.suggestions = $root.google.cloud.dialogflow.v2.Intent.Message.Suggestions.decode(reader, reader.uint32()); - break; - case 10: - message.linkOutSuggestion = $root.google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion.decode(reader, reader.uint32()); - break; - case 11: - message.listSelect = $root.google.cloud.dialogflow.v2.Intent.Message.ListSelect.decode(reader, reader.uint32()); - break; - case 12: - message.carouselSelect = $root.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.decode(reader, reader.uint32()); - break; - case 22: - message.browseCarouselCard = $root.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.decode(reader, reader.uint32()); - break; - case 23: - message.tableCard = $root.google.cloud.dialogflow.v2.Intent.Message.TableCard.decode(reader, reader.uint32()); - break; - case 24: - message.mediaContent = $root.google.cloud.dialogflow.v2.Intent.Message.MediaContent.decode(reader, reader.uint32()); - break; - case 6: - message.platform = reader.int32(); - break; + case 1: { + message.text = $root.google.cloud.dialogflow.v2.Intent.Message.Text.decode(reader, reader.uint32()); + break; + } + case 2: { + message.image = $root.google.cloud.dialogflow.v2.Intent.Message.Image.decode(reader, reader.uint32()); + break; + } + case 3: { + message.quickReplies = $root.google.cloud.dialogflow.v2.Intent.Message.QuickReplies.decode(reader, reader.uint32()); + break; + } + case 4: { + message.card = $root.google.cloud.dialogflow.v2.Intent.Message.Card.decode(reader, reader.uint32()); + break; + } + case 5: { + message.payload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 7: { + message.simpleResponses = $root.google.cloud.dialogflow.v2.Intent.Message.SimpleResponses.decode(reader, reader.uint32()); + break; + } + case 8: { + message.basicCard = $root.google.cloud.dialogflow.v2.Intent.Message.BasicCard.decode(reader, reader.uint32()); + break; + } + case 9: { + message.suggestions = $root.google.cloud.dialogflow.v2.Intent.Message.Suggestions.decode(reader, reader.uint32()); + break; + } + case 10: { + message.linkOutSuggestion = $root.google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion.decode(reader, reader.uint32()); + break; + } + case 11: { + message.listSelect = $root.google.cloud.dialogflow.v2.Intent.Message.ListSelect.decode(reader, reader.uint32()); + break; + } + case 12: { + message.carouselSelect = $root.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.decode(reader, reader.uint32()); + break; + } + case 22: { + message.browseCarouselCard = $root.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.decode(reader, reader.uint32()); + break; + } + case 23: { + message.tableCard = $root.google.cloud.dialogflow.v2.Intent.Message.TableCard.decode(reader, reader.uint32()); + break; + } + case 24: { + message.mediaContent = $root.google.cloud.dialogflow.v2.Intent.Message.MediaContent.decode(reader, reader.uint32()); + break; + } + case 6: { + message.platform = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -23850,6 +25330,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Message + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Message.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message"; + }; + /** * Platform enum. * @name google.cloud.dialogflow.v2.Intent.Message.Platform @@ -23974,11 +25469,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.text && message.text.length)) - message.text = []; - message.text.push(reader.string()); - break; + case 1: { + if (!(message.text && message.text.length)) + message.text = []; + message.text.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -24080,6 +25576,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Text + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.Text + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Text.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.Text"; + }; + return Text; })(); @@ -24186,12 +25697,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.imageUri = reader.string(); - break; - case 2: - message.accessibilityText = reader.string(); - break; + case 1: { + message.imageUri = reader.string(); + break; + } + case 2: { + message.accessibilityText = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -24290,6 +25803,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Image + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.Image + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Image.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.Image"; + }; + return Image; })(); @@ -24398,14 +25926,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - if (!(message.quickReplies && message.quickReplies.length)) - message.quickReplies = []; - message.quickReplies.push(reader.string()); - break; + case 1: { + message.title = reader.string(); + break; + } + case 2: { + if (!(message.quickReplies && message.quickReplies.length)) + message.quickReplies = []; + message.quickReplies.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -24516,6 +26046,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for QuickReplies + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.QuickReplies + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + QuickReplies.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.QuickReplies"; + }; + return QuickReplies; })(); @@ -24646,20 +26191,24 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.subtitle = reader.string(); - break; - case 3: - message.imageUri = reader.string(); - break; - case 4: - if (!(message.buttons && message.buttons.length)) - message.buttons = []; - message.buttons.push($root.google.cloud.dialogflow.v2.Intent.Message.Card.Button.decode(reader, reader.uint32())); - break; + case 1: { + message.title = reader.string(); + break; + } + case 2: { + message.subtitle = reader.string(); + break; + } + case 3: { + message.imageUri = reader.string(); + break; + } + case 4: { + if (!(message.buttons && message.buttons.length)) + message.buttons = []; + message.buttons.push($root.google.cloud.dialogflow.v2.Intent.Message.Card.Button.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -24792,6 +26341,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Card + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.Card + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Card.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.Card"; + }; + Card.Button = (function() { /** @@ -24895,12 +26459,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.text = reader.string(); - break; - case 2: - message.postback = reader.string(); - break; + case 1: { + message.text = reader.string(); + break; + } + case 2: { + message.postback = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -24999,6 +26565,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Button + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.Card.Button + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Button.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.Card.Button"; + }; + return Button; })(); @@ -25119,15 +26700,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.textToSpeech = reader.string(); - break; - case 2: - message.ssml = reader.string(); - break; - case 3: - message.displayText = reader.string(); - break; + case 1: { + message.textToSpeech = reader.string(); + break; + } + case 2: { + message.ssml = reader.string(); + break; + } + case 3: { + message.displayText = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -25234,6 +26818,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SimpleResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.SimpleResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SimpleResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.SimpleResponse"; + }; + return SimpleResponse; })(); @@ -25331,11 +26930,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.simpleResponses && message.simpleResponses.length)) - message.simpleResponses = []; - message.simpleResponses.push($root.google.cloud.dialogflow.v2.Intent.Message.SimpleResponse.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.simpleResponses && message.simpleResponses.length)) + message.simpleResponses = []; + message.simpleResponses.push($root.google.cloud.dialogflow.v2.Intent.Message.SimpleResponse.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -25442,6 +27042,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SimpleResponses + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.SimpleResponses + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SimpleResponses.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.SimpleResponses"; + }; + return SimpleResponses; })(); @@ -25583,23 +27198,28 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.subtitle = reader.string(); - break; - case 3: - message.formattedText = reader.string(); - break; - case 4: - message.image = $root.google.cloud.dialogflow.v2.Intent.Message.Image.decode(reader, reader.uint32()); - break; - case 5: - if (!(message.buttons && message.buttons.length)) - message.buttons = []; - message.buttons.push($root.google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button.decode(reader, reader.uint32())); - break; + case 1: { + message.title = reader.string(); + break; + } + case 2: { + message.subtitle = reader.string(); + break; + } + case 3: { + message.formattedText = reader.string(); + break; + } + case 4: { + message.image = $root.google.cloud.dialogflow.v2.Intent.Message.Image.decode(reader, reader.uint32()); + break; + } + case 5: { + if (!(message.buttons && message.buttons.length)) + message.buttons = []; + message.buttons.push($root.google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -25745,6 +27365,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BasicCard + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.BasicCard + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BasicCard.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.BasicCard"; + }; + BasicCard.Button = (function() { /** @@ -25848,12 +27483,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.openUriAction = $root.google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button.OpenUriAction.decode(reader, reader.uint32()); - break; + case 1: { + message.title = reader.string(); + break; + } + case 2: { + message.openUriAction = $root.google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button.OpenUriAction.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -25957,6 +27594,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Button + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Button.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button"; + }; + Button.OpenUriAction = (function() { /** @@ -26049,9 +27701,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.uri = reader.string(); - break; + case 1: { + message.uri = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -26141,6 +27794,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for OpenUriAction + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button.OpenUriAction + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + OpenUriAction.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button.OpenUriAction"; + }; + return OpenUriAction; })(); @@ -26242,9 +27910,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; + case 1: { + message.title = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -26334,6 +28003,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Suggestion + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.Suggestion + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Suggestion.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.Suggestion"; + }; + return Suggestion; })(); @@ -26431,11 +28115,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.suggestions && message.suggestions.length)) - message.suggestions = []; - message.suggestions.push($root.google.cloud.dialogflow.v2.Intent.Message.Suggestion.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.suggestions && message.suggestions.length)) + message.suggestions = []; + message.suggestions.push($root.google.cloud.dialogflow.v2.Intent.Message.Suggestion.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -26542,6 +28227,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Suggestions + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.Suggestions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Suggestions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.Suggestions"; + }; + return Suggestions; })(); @@ -26648,12 +28348,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.destinationName = reader.string(); - break; - case 2: - message.uri = reader.string(); - break; + case 1: { + message.destinationName = reader.string(); + break; + } + case 2: { + message.uri = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -26752,6 +28454,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for LinkOutSuggestion + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + LinkOutSuggestion.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion"; + }; + return LinkOutSuggestion; })(); @@ -26871,17 +28588,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - if (!(message.items && message.items.length)) - message.items = []; - message.items.push($root.google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item.decode(reader, reader.uint32())); - break; - case 3: - message.subtitle = reader.string(); - break; + case 1: { + message.title = reader.string(); + break; + } + case 2: { + if (!(message.items && message.items.length)) + message.items = []; + message.items.push($root.google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item.decode(reader, reader.uint32())); + break; + } + case 3: { + message.subtitle = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -27006,6 +28726,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListSelect + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.ListSelect + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListSelect.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.ListSelect"; + }; + ListSelect.Item = (function() { /** @@ -27131,18 +28866,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.info = $root.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo.decode(reader, reader.uint32()); - break; - case 2: - message.title = reader.string(); - break; - case 3: - message.description = reader.string(); - break; - case 4: - message.image = $root.google.cloud.dialogflow.v2.Intent.Message.Image.decode(reader, reader.uint32()); - break; + case 1: { + message.info = $root.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo.decode(reader, reader.uint32()); + break; + } + case 2: { + message.title = reader.string(); + break; + } + case 3: { + message.description = reader.string(); + break; + } + case 4: { + message.image = $root.google.cloud.dialogflow.v2.Intent.Message.Image.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -27267,6 +29006,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Item + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Item.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item"; + }; + return Item; })(); @@ -27367,11 +29121,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.items && message.items.length)) - message.items = []; - message.items.push($root.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.Item.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.items && message.items.length)) + message.items = []; + message.items.push($root.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.Item.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -27478,6 +29233,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CarouselSelect + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.CarouselSelect + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CarouselSelect.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.CarouselSelect"; + }; + CarouselSelect.Item = (function() { /** @@ -27603,18 +29373,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.info = $root.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo.decode(reader, reader.uint32()); - break; - case 2: - message.title = reader.string(); - break; - case 3: - message.description = reader.string(); - break; - case 4: - message.image = $root.google.cloud.dialogflow.v2.Intent.Message.Image.decode(reader, reader.uint32()); - break; + case 1: { + message.info = $root.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo.decode(reader, reader.uint32()); + break; + } + case 2: { + message.title = reader.string(); + break; + } + case 3: { + message.description = reader.string(); + break; + } + case 4: { + message.image = $root.google.cloud.dialogflow.v2.Intent.Message.Image.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -27739,6 +29513,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Item + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.Item + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Item.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.Item"; + }; + return Item; })(); @@ -27850,14 +29639,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - if (!(message.synonyms && message.synonyms.length)) - message.synonyms = []; - message.synonyms.push(reader.string()); - break; + case 1: { + message.key = reader.string(); + break; + } + case 2: { + if (!(message.synonyms && message.synonyms.length)) + message.synonyms = []; + message.synonyms.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -27968,6 +29759,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SelectItemInfo + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SelectItemInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo"; + }; + return SelectItemInfo; })(); @@ -28076,14 +29882,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.mediaType = reader.int32(); - break; - case 2: - if (!(message.mediaObjects && message.mediaObjects.length)) - message.mediaObjects = []; - message.mediaObjects.push($root.google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject.decode(reader, reader.uint32())); - break; + case 1: { + message.mediaType = reader.int32(); + break; + } + case 2: { + if (!(message.mediaObjects && message.mediaObjects.length)) + message.mediaObjects = []; + message.mediaObjects.push($root.google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -28212,6 +30020,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for MediaContent + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.MediaContent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + MediaContent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.MediaContent"; + }; + /** * ResponseMediaType enum. * @name google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaType @@ -28376,21 +30199,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.largeImage = $root.google.cloud.dialogflow.v2.Intent.Message.Image.decode(reader, reader.uint32()); - break; - case 4: - message.icon = $root.google.cloud.dialogflow.v2.Intent.Message.Image.decode(reader, reader.uint32()); - break; - case 5: - message.contentUrl = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.description = reader.string(); + break; + } + case 3: { + message.largeImage = $root.google.cloud.dialogflow.v2.Intent.Message.Image.decode(reader, reader.uint32()); + break; + } + case 4: { + message.icon = $root.google.cloud.dialogflow.v2.Intent.Message.Image.decode(reader, reader.uint32()); + break; + } + case 5: { + message.contentUrl = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -28536,6 +30364,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ResponseMediaObject + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResponseMediaObject.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject"; + }; + return ResponseMediaObject; })(); @@ -28647,14 +30490,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.items && message.items.length)) - message.items = []; - message.items.push($root.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.decode(reader, reader.uint32())); - break; - case 2: - message.imageDisplayOptions = reader.int32(); - break; + case 1: { + if (!(message.items && message.items.length)) + message.items = []; + message.items.push($root.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.decode(reader, reader.uint32())); + break; + } + case 2: { + message.imageDisplayOptions = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -28798,6 +30643,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BrowseCarouselCard + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BrowseCarouselCard.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard"; + }; + BrowseCarouselCard.BrowseCarouselCardItem = (function() { /** @@ -28934,21 +30794,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.openUriAction = $root.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.decode(reader, reader.uint32()); - break; - case 2: - message.title = reader.string(); - break; - case 3: - message.description = reader.string(); - break; - case 4: - message.image = $root.google.cloud.dialogflow.v2.Intent.Message.Image.decode(reader, reader.uint32()); - break; - case 5: - message.footer = reader.string(); - break; + case 1: { + message.openUriAction = $root.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.decode(reader, reader.uint32()); + break; + } + case 2: { + message.title = reader.string(); + break; + } + case 3: { + message.description = reader.string(); + break; + } + case 4: { + message.image = $root.google.cloud.dialogflow.v2.Intent.Message.Image.decode(reader, reader.uint32()); + break; + } + case 5: { + message.footer = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -29081,6 +30946,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BrowseCarouselCardItem + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BrowseCarouselCardItem.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem"; + }; + BrowseCarouselCardItem.OpenUrlAction = (function() { /** @@ -29184,12 +31064,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.url = reader.string(); - break; - case 3: - message.urlTypeHint = reader.int32(); - break; + case 1: { + message.url = reader.string(); + break; + } + case 3: { + message.urlTypeHint = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -29306,6 +31188,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for OpenUrlAction + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + OpenUrlAction.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction"; + }; + /** * UrlTypeHint enum. * @name google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.UrlTypeHint @@ -29504,30 +31401,36 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.subtitle = reader.string(); - break; - case 3: - message.image = $root.google.cloud.dialogflow.v2.Intent.Message.Image.decode(reader, reader.uint32()); - break; - case 4: - if (!(message.columnProperties && message.columnProperties.length)) - message.columnProperties = []; - message.columnProperties.push($root.google.cloud.dialogflow.v2.Intent.Message.ColumnProperties.decode(reader, reader.uint32())); - break; - case 5: - if (!(message.rows && message.rows.length)) - message.rows = []; - message.rows.push($root.google.cloud.dialogflow.v2.Intent.Message.TableCardRow.decode(reader, reader.uint32())); - break; - case 6: - if (!(message.buttons && message.buttons.length)) - message.buttons = []; - message.buttons.push($root.google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button.decode(reader, reader.uint32())); - break; + case 1: { + message.title = reader.string(); + break; + } + case 2: { + message.subtitle = reader.string(); + break; + } + case 3: { + message.image = $root.google.cloud.dialogflow.v2.Intent.Message.Image.decode(reader, reader.uint32()); + break; + } + case 4: { + if (!(message.columnProperties && message.columnProperties.length)) + message.columnProperties = []; + message.columnProperties.push($root.google.cloud.dialogflow.v2.Intent.Message.ColumnProperties.decode(reader, reader.uint32())); + break; + } + case 5: { + if (!(message.rows && message.rows.length)) + message.rows = []; + message.rows.push($root.google.cloud.dialogflow.v2.Intent.Message.TableCardRow.decode(reader, reader.uint32())); + break; + } + case 6: { + if (!(message.buttons && message.buttons.length)) + message.buttons = []; + message.buttons.push($root.google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -29716,6 +31619,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TableCard + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.TableCard + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TableCard.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.TableCard"; + }; + return TableCard; })(); @@ -29822,12 +31740,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.header = reader.string(); - break; - case 2: - message.horizontalAlignment = reader.int32(); - break; + case 1: { + message.header = reader.string(); + break; + } + case 2: { + message.horizontalAlignment = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -29949,6 +31869,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ColumnProperties + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.ColumnProperties + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ColumnProperties.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.ColumnProperties"; + }; + /** * HorizontalAlignment enum. * @name google.cloud.dialogflow.v2.Intent.Message.ColumnProperties.HorizontalAlignment @@ -30075,14 +32010,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.cells && message.cells.length)) - message.cells = []; - message.cells.push($root.google.cloud.dialogflow.v2.Intent.Message.TableCardCell.decode(reader, reader.uint32())); - break; - case 2: - message.dividerAfter = reader.bool(); - break; + case 1: { + if (!(message.cells && message.cells.length)) + message.cells = []; + message.cells.push($root.google.cloud.dialogflow.v2.Intent.Message.TableCardCell.decode(reader, reader.uint32())); + break; + } + case 2: { + message.dividerAfter = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -30198,6 +32135,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TableCardRow + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.TableCardRow + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TableCardRow.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.TableCardRow"; + }; + return TableCardRow; })(); @@ -30293,9 +32245,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.text = reader.string(); - break; + case 1: { + message.text = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -30385,6 +32338,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TableCardCell + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.Message.TableCardCell + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TableCardCell.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.Message.TableCardCell"; + }; + return TableCardCell; })(); @@ -30494,12 +32462,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.followupIntentName = reader.string(); - break; - case 2: - message.parentFollowupIntentName = reader.string(); - break; + case 1: { + message.followupIntentName = reader.string(); + break; + } + case 2: { + message.parentFollowupIntentName = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -30598,6 +32568,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FollowupIntentInfo + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Intent.FollowupIntentInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FollowupIntentInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Intent.FollowupIntentInfo"; + }; + return FollowupIntentInfo; })(); @@ -30740,21 +32725,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.languageCode = reader.string(); - break; - case 3: - message.intentView = reader.int32(); - break; - case 4: - message.pageSize = reader.int32(); - break; - case 5: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.languageCode = reader.string(); + break; + } + case 3: { + message.intentView = reader.int32(); + break; + } + case 4: { + message.pageSize = reader.int32(); + break; + } + case 5: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -30890,6 +32880,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListIntentsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListIntentsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListIntentsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListIntentsRequest"; + }; + return ListIntentsRequest; })(); @@ -30998,14 +33003,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.intents && message.intents.length)) - message.intents = []; - message.intents.push($root.google.cloud.dialogflow.v2.Intent.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.intents && message.intents.length)) + message.intents = []; + message.intents.push($root.google.cloud.dialogflow.v2.Intent.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -31121,6 +33128,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListIntentsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListIntentsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListIntentsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListIntentsResponse"; + }; + return ListIntentsResponse; })(); @@ -31238,15 +33260,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.languageCode = reader.string(); - break; - case 3: - message.intentView = reader.int32(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.languageCode = reader.string(); + break; + } + case 3: { + message.intentView = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -31366,6 +33391,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetIntentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.GetIntentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetIntentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.GetIntentRequest"; + }; + return GetIntentRequest; })(); @@ -31494,18 +33534,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.intent = $root.google.cloud.dialogflow.v2.Intent.decode(reader, reader.uint32()); - break; - case 3: - message.languageCode = reader.string(); - break; - case 4: - message.intentView = reader.int32(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.intent = $root.google.cloud.dialogflow.v2.Intent.decode(reader, reader.uint32()); + break; + } + case 3: { + message.languageCode = reader.string(); + break; + } + case 4: { + message.intentView = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -31638,6 +33682,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateIntentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.CreateIntentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateIntentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.CreateIntentRequest"; + }; + return CreateIntentRequest; })(); @@ -31766,18 +33825,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.intent = $root.google.cloud.dialogflow.v2.Intent.decode(reader, reader.uint32()); - break; - case 2: - message.languageCode = reader.string(); - break; - case 3: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; - case 4: - message.intentView = reader.int32(); - break; + case 1: { + message.intent = $root.google.cloud.dialogflow.v2.Intent.decode(reader, reader.uint32()); + break; + } + case 2: { + message.languageCode = reader.string(); + break; + } + case 3: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } + case 4: { + message.intentView = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -31915,6 +33978,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateIntentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.UpdateIntentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateIntentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.UpdateIntentRequest"; + }; + return UpdateIntentRequest; })(); @@ -32010,9 +34088,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -32102,6 +34181,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteIntentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.DeleteIntentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteIntentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.DeleteIntentRequest"; + }; + return DeleteIntentRequest; })(); @@ -32266,24 +34360,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.intentBatchUri = reader.string(); - break; - case 3: - message.intentBatchInline = $root.google.cloud.dialogflow.v2.IntentBatch.decode(reader, reader.uint32()); - break; - case 4: - message.languageCode = reader.string(); - break; - case 5: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; - case 6: - message.intentView = reader.int32(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.intentBatchUri = reader.string(); + break; + } + case 3: { + message.intentBatchInline = $root.google.cloud.dialogflow.v2.IntentBatch.decode(reader, reader.uint32()); + break; + } + case 4: { + message.languageCode = reader.string(); + break; + } + case 5: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } + case 6: { + message.intentView = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -32449,6 +34549,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchUpdateIntentsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.BatchUpdateIntentsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchUpdateIntentsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.BatchUpdateIntentsRequest"; + }; + return BatchUpdateIntentsRequest; })(); @@ -32546,11 +34661,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.intents && message.intents.length)) - message.intents = []; - message.intents.push($root.google.cloud.dialogflow.v2.Intent.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.intents && message.intents.length)) + message.intents = []; + message.intents.push($root.google.cloud.dialogflow.v2.Intent.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -32657,6 +34773,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchUpdateIntentsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.BatchUpdateIntentsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchUpdateIntentsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.BatchUpdateIntentsResponse"; + }; + return BatchUpdateIntentsResponse; })(); @@ -32765,14 +34896,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - if (!(message.intents && message.intents.length)) - message.intents = []; - message.intents.push($root.google.cloud.dialogflow.v2.Intent.decode(reader, reader.uint32())); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + if (!(message.intents && message.intents.length)) + message.intents = []; + message.intents.push($root.google.cloud.dialogflow.v2.Intent.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -32888,6 +35021,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchDeleteIntentsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.BatchDeleteIntentsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchDeleteIntentsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.BatchDeleteIntentsRequest"; + }; + return BatchDeleteIntentsRequest; })(); @@ -32999,11 +35147,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.intents && message.intents.length)) - message.intents = []; - message.intents.push($root.google.cloud.dialogflow.v2.Intent.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.intents && message.intents.length)) + message.intents = []; + message.intents.push($root.google.cloud.dialogflow.v2.Intent.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -33110,6 +35259,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for IntentBatch + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.IntentBatch + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + IntentBatch.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.IntentBatch"; + }; + return IntentBatch; })(); @@ -33146,7 +35310,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2.SessionEntityTypes#listSessionEntityTypes}. + * Callback as used by {@link google.cloud.dialogflow.v2.SessionEntityTypes|listSessionEntityTypes}. * @memberof google.cloud.dialogflow.v2.SessionEntityTypes * @typedef ListSessionEntityTypesCallback * @type {function} @@ -33179,7 +35343,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.SessionEntityTypes#getSessionEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2.SessionEntityTypes|getSessionEntityType}. * @memberof google.cloud.dialogflow.v2.SessionEntityTypes * @typedef GetSessionEntityTypeCallback * @type {function} @@ -33212,7 +35376,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.SessionEntityTypes#createSessionEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2.SessionEntityTypes|createSessionEntityType}. * @memberof google.cloud.dialogflow.v2.SessionEntityTypes * @typedef CreateSessionEntityTypeCallback * @type {function} @@ -33245,7 +35409,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.SessionEntityTypes#updateSessionEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2.SessionEntityTypes|updateSessionEntityType}. * @memberof google.cloud.dialogflow.v2.SessionEntityTypes * @typedef UpdateSessionEntityTypeCallback * @type {function} @@ -33278,7 +35442,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.SessionEntityTypes#deleteSessionEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2.SessionEntityTypes|deleteSessionEntityType}. * @memberof google.cloud.dialogflow.v2.SessionEntityTypes * @typedef DeleteSessionEntityTypeCallback * @type {function} @@ -33429,17 +35593,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.entityOverrideMode = reader.int32(); - break; - case 3: - if (!(message.entities && message.entities.length)) - message.entities = []; - message.entities.push($root.google.cloud.dialogflow.v2.EntityType.Entity.decode(reader, reader.uint32())); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.entityOverrideMode = reader.int32(); + break; + } + case 3: { + if (!(message.entities && message.entities.length)) + message.entities = []; + message.entities.push($root.google.cloud.dialogflow.v2.EntityType.Entity.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -33582,6 +35749,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SessionEntityType + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SessionEntityType + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SessionEntityType.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SessionEntityType"; + }; + /** * EntityOverrideMode enum. * @name google.cloud.dialogflow.v2.SessionEntityType.EntityOverrideMode @@ -33715,15 +35897,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -33830,6 +36015,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListSessionEntityTypesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListSessionEntityTypesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListSessionEntityTypesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListSessionEntityTypesRequest"; + }; + return ListSessionEntityTypesRequest; })(); @@ -33938,14 +36138,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.sessionEntityTypes && message.sessionEntityTypes.length)) - message.sessionEntityTypes = []; - message.sessionEntityTypes.push($root.google.cloud.dialogflow.v2.SessionEntityType.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.sessionEntityTypes && message.sessionEntityTypes.length)) + message.sessionEntityTypes = []; + message.sessionEntityTypes.push($root.google.cloud.dialogflow.v2.SessionEntityType.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -34061,6 +36263,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListSessionEntityTypesResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListSessionEntityTypesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListSessionEntityTypesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListSessionEntityTypesResponse"; + }; + return ListSessionEntityTypesResponse; })(); @@ -34156,9 +36373,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -34248,6 +36466,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetSessionEntityTypeRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.GetSessionEntityTypeRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetSessionEntityTypeRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.GetSessionEntityTypeRequest"; + }; + return GetSessionEntityTypeRequest; })(); @@ -34354,12 +36587,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.sessionEntityType = $root.google.cloud.dialogflow.v2.SessionEntityType.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.sessionEntityType = $root.google.cloud.dialogflow.v2.SessionEntityType.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -34463,6 +36698,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateSessionEntityTypeRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.CreateSessionEntityTypeRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateSessionEntityTypeRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.CreateSessionEntityTypeRequest"; + }; + return CreateSessionEntityTypeRequest; })(); @@ -34569,12 +36819,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.sessionEntityType = $root.google.cloud.dialogflow.v2.SessionEntityType.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.sessionEntityType = $root.google.cloud.dialogflow.v2.SessionEntityType.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -34683,6 +36935,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateSessionEntityTypeRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.UpdateSessionEntityTypeRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateSessionEntityTypeRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.UpdateSessionEntityTypeRequest"; + }; + return UpdateSessionEntityTypeRequest; })(); @@ -34778,9 +37045,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -34870,6 +37138,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteSessionEntityTypeRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.DeleteSessionEntityTypeRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteSessionEntityTypeRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.DeleteSessionEntityTypeRequest"; + }; + return DeleteSessionEntityTypeRequest; })(); @@ -34906,7 +37189,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes#listEntityTypes}. + * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes|listEntityTypes}. * @memberof google.cloud.dialogflow.v2.EntityTypes * @typedef ListEntityTypesCallback * @type {function} @@ -34939,7 +37222,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes#getEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes|getEntityType}. * @memberof google.cloud.dialogflow.v2.EntityTypes * @typedef GetEntityTypeCallback * @type {function} @@ -34972,7 +37255,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes#createEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes|createEntityType}. * @memberof google.cloud.dialogflow.v2.EntityTypes * @typedef CreateEntityTypeCallback * @type {function} @@ -35005,7 +37288,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes#updateEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes|updateEntityType}. * @memberof google.cloud.dialogflow.v2.EntityTypes * @typedef UpdateEntityTypeCallback * @type {function} @@ -35038,7 +37321,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes#deleteEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes|deleteEntityType}. * @memberof google.cloud.dialogflow.v2.EntityTypes * @typedef DeleteEntityTypeCallback * @type {function} @@ -35071,7 +37354,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes#batchUpdateEntityTypes}. + * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes|batchUpdateEntityTypes}. * @memberof google.cloud.dialogflow.v2.EntityTypes * @typedef BatchUpdateEntityTypesCallback * @type {function} @@ -35104,7 +37387,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes#batchDeleteEntityTypes}. + * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes|batchDeleteEntityTypes}. * @memberof google.cloud.dialogflow.v2.EntityTypes * @typedef BatchDeleteEntityTypesCallback * @type {function} @@ -35137,7 +37420,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes#batchCreateEntities}. + * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes|batchCreateEntities}. * @memberof google.cloud.dialogflow.v2.EntityTypes * @typedef BatchCreateEntitiesCallback * @type {function} @@ -35170,7 +37453,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes#batchUpdateEntities}. + * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes|batchUpdateEntities}. * @memberof google.cloud.dialogflow.v2.EntityTypes * @typedef BatchUpdateEntitiesCallback * @type {function} @@ -35203,7 +37486,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes#batchDeleteEntities}. + * Callback as used by {@link google.cloud.dialogflow.v2.EntityTypes|batchDeleteEntities}. * @memberof google.cloud.dialogflow.v2.EntityTypes * @typedef BatchDeleteEntitiesCallback * @type {function} @@ -35387,26 +37670,32 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 3: - message.kind = reader.int32(); - break; - case 4: - message.autoExpansionMode = reader.int32(); - break; - case 6: - if (!(message.entities && message.entities.length)) - message.entities = []; - message.entities.push($root.google.cloud.dialogflow.v2.EntityType.Entity.decode(reader, reader.uint32())); - break; - case 7: - message.enableFuzzyExtraction = reader.bool(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 3: { + message.kind = reader.int32(); + break; + } + case 4: { + message.autoExpansionMode = reader.int32(); + break; + } + case 6: { + if (!(message.entities && message.entities.length)) + message.entities = []; + message.entities.push($root.google.cloud.dialogflow.v2.EntityType.Entity.decode(reader, reader.uint32())); + break; + } + case 7: { + message.enableFuzzyExtraction = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -35591,6 +37880,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EntityType + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.EntityType + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EntityType.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.EntityType"; + }; + /** * Kind enum. * @name google.cloud.dialogflow.v2.EntityType.Kind @@ -35728,14 +38032,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.value = reader.string(); - break; - case 2: - if (!(message.synonyms && message.synonyms.length)) - message.synonyms = []; - message.synonyms.push(reader.string()); - break; + case 1: { + message.value = reader.string(); + break; + } + case 2: { + if (!(message.synonyms && message.synonyms.length)) + message.synonyms = []; + message.synonyms.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -35846,6 +38152,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Entity + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.EntityType.Entity + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Entity.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.EntityType.Entity"; + }; + return Entity; })(); @@ -35977,18 +38298,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.languageCode = reader.string(); - break; - case 3: - message.pageSize = reader.int32(); - break; - case 4: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.languageCode = reader.string(); + break; + } + case 3: { + message.pageSize = reader.int32(); + break; + } + case 4: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -36103,6 +38428,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListEntityTypesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListEntityTypesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListEntityTypesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListEntityTypesRequest"; + }; + return ListEntityTypesRequest; })(); @@ -36211,14 +38551,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.entityTypes && message.entityTypes.length)) - message.entityTypes = []; - message.entityTypes.push($root.google.cloud.dialogflow.v2.EntityType.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.entityTypes && message.entityTypes.length)) + message.entityTypes = []; + message.entityTypes.push($root.google.cloud.dialogflow.v2.EntityType.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -36334,6 +38676,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListEntityTypesResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListEntityTypesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListEntityTypesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListEntityTypesResponse"; + }; + return ListEntityTypesResponse; })(); @@ -36440,12 +38797,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.languageCode = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.languageCode = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -36544,6 +38903,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetEntityTypeRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.GetEntityTypeRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetEntityTypeRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.GetEntityTypeRequest"; + }; + return GetEntityTypeRequest; })(); @@ -36661,15 +39035,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.entityType = $root.google.cloud.dialogflow.v2.EntityType.decode(reader, reader.uint32()); - break; - case 3: - message.languageCode = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.entityType = $root.google.cloud.dialogflow.v2.EntityType.decode(reader, reader.uint32()); + break; + } + case 3: { + message.languageCode = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -36781,6 +39158,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateEntityTypeRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.CreateEntityTypeRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateEntityTypeRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.CreateEntityTypeRequest"; + }; + return CreateEntityTypeRequest; })(); @@ -36898,15 +39290,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.entityType = $root.google.cloud.dialogflow.v2.EntityType.decode(reader, reader.uint32()); - break; - case 2: - message.languageCode = reader.string(); - break; - case 3: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.entityType = $root.google.cloud.dialogflow.v2.EntityType.decode(reader, reader.uint32()); + break; + } + case 2: { + message.languageCode = reader.string(); + break; + } + case 3: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -37023,6 +39418,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateEntityTypeRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.UpdateEntityTypeRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateEntityTypeRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.UpdateEntityTypeRequest"; + }; + return UpdateEntityTypeRequest; })(); @@ -37118,9 +39528,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -37210,6 +39621,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteEntityTypeRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.DeleteEntityTypeRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteEntityTypeRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.DeleteEntityTypeRequest"; + }; + return DeleteEntityTypeRequest; })(); @@ -37363,21 +39789,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.entityTypeBatchUri = reader.string(); - break; - case 3: - message.entityTypeBatchInline = $root.google.cloud.dialogflow.v2.EntityTypeBatch.decode(reader, reader.uint32()); - break; - case 4: - message.languageCode = reader.string(); - break; - case 5: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.entityTypeBatchUri = reader.string(); + break; + } + case 3: { + message.entityTypeBatchInline = $root.google.cloud.dialogflow.v2.EntityTypeBatch.decode(reader, reader.uint32()); + break; + } + case 4: { + message.languageCode = reader.string(); + break; + } + case 5: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -37522,6 +39953,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchUpdateEntityTypesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchUpdateEntityTypesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest"; + }; + return BatchUpdateEntityTypesRequest; })(); @@ -37619,11 +40065,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.entityTypes && message.entityTypes.length)) - message.entityTypes = []; - message.entityTypes.push($root.google.cloud.dialogflow.v2.EntityType.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.entityTypes && message.entityTypes.length)) + message.entityTypes = []; + message.entityTypes.push($root.google.cloud.dialogflow.v2.EntityType.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -37730,6 +40177,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchUpdateEntityTypesResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchUpdateEntityTypesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse"; + }; + return BatchUpdateEntityTypesResponse; })(); @@ -37838,14 +40300,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - if (!(message.entityTypeNames && message.entityTypeNames.length)) - message.entityTypeNames = []; - message.entityTypeNames.push(reader.string()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + if (!(message.entityTypeNames && message.entityTypeNames.length)) + message.entityTypeNames = []; + message.entityTypeNames.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -37956,6 +40420,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchDeleteEntityTypesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchDeleteEntityTypesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest"; + }; + return BatchDeleteEntityTypesRequest; })(); @@ -38075,17 +40554,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - if (!(message.entities && message.entities.length)) - message.entities = []; - message.entities.push($root.google.cloud.dialogflow.v2.EntityType.Entity.decode(reader, reader.uint32())); - break; - case 3: - message.languageCode = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + if (!(message.entities && message.entities.length)) + message.entities = []; + message.entities.push($root.google.cloud.dialogflow.v2.EntityType.Entity.decode(reader, reader.uint32())); + break; + } + case 3: { + message.languageCode = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -38210,6 +40692,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchCreateEntitiesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.BatchCreateEntitiesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchCreateEntitiesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.BatchCreateEntitiesRequest"; + }; + return BatchCreateEntitiesRequest; })(); @@ -38340,20 +40837,24 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - if (!(message.entities && message.entities.length)) - message.entities = []; - message.entities.push($root.google.cloud.dialogflow.v2.EntityType.Entity.decode(reader, reader.uint32())); - break; - case 3: - message.languageCode = reader.string(); - break; - case 4: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + if (!(message.entities && message.entities.length)) + message.entities = []; + message.entities.push($root.google.cloud.dialogflow.v2.EntityType.Entity.decode(reader, reader.uint32())); + break; + } + case 3: { + message.languageCode = reader.string(); + break; + } + case 4: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -38491,6 +40992,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchUpdateEntitiesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchUpdateEntitiesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest"; + }; + return BatchUpdateEntitiesRequest; })(); @@ -38610,17 +41126,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - if (!(message.entityValues && message.entityValues.length)) - message.entityValues = []; - message.entityValues.push(reader.string()); - break; - case 3: - message.languageCode = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + if (!(message.entityValues && message.entityValues.length)) + message.entityValues = []; + message.entityValues.push(reader.string()); + break; + } + case 3: { + message.languageCode = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -38740,6 +41259,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchDeleteEntitiesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchDeleteEntitiesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest"; + }; + return BatchDeleteEntitiesRequest; })(); @@ -38837,11 +41371,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.entityTypes && message.entityTypes.length)) - message.entityTypes = []; - message.entityTypes.push($root.google.cloud.dialogflow.v2.EntityType.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.entityTypes && message.entityTypes.length)) + message.entityTypes = []; + message.entityTypes.push($root.google.cloud.dialogflow.v2.EntityType.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -38948,6 +41483,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EntityTypeBatch + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.EntityTypeBatch + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EntityTypeBatch.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.EntityTypeBatch"; + }; + return EntityTypeBatch; })(); @@ -38984,7 +41534,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Conversations#createConversation}. + * Callback as used by {@link google.cloud.dialogflow.v2.Conversations|createConversation}. * @memberof google.cloud.dialogflow.v2.Conversations * @typedef CreateConversationCallback * @type {function} @@ -39017,7 +41567,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Conversations#listConversations}. + * Callback as used by {@link google.cloud.dialogflow.v2.Conversations|listConversations}. * @memberof google.cloud.dialogflow.v2.Conversations * @typedef ListConversationsCallback * @type {function} @@ -39050,7 +41600,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Conversations#getConversation}. + * Callback as used by {@link google.cloud.dialogflow.v2.Conversations|getConversation}. * @memberof google.cloud.dialogflow.v2.Conversations * @typedef GetConversationCallback * @type {function} @@ -39083,7 +41633,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Conversations#completeConversation}. + * Callback as used by {@link google.cloud.dialogflow.v2.Conversations|completeConversation}. * @memberof google.cloud.dialogflow.v2.Conversations * @typedef CompleteConversationCallback * @type {function} @@ -39116,7 +41666,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Conversations#listMessages}. + * Callback as used by {@link google.cloud.dialogflow.v2.Conversations|listMessages}. * @memberof google.cloud.dialogflow.v2.Conversations * @typedef ListMessagesCallback * @type {function} @@ -39309,27 +41859,34 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.lifecycleState = reader.int32(); - break; - case 3: - message.conversationProfile = reader.string(); - break; - case 4: - message.phoneNumber = $root.google.cloud.dialogflow.v2.ConversationPhoneNumber.decode(reader, reader.uint32()); - break; - case 5: - message.startTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 6: - message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 7: - message.conversationStage = reader.int32(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.lifecycleState = reader.int32(); + break; + } + case 3: { + message.conversationProfile = reader.string(); + break; + } + case 4: { + message.phoneNumber = $root.google.cloud.dialogflow.v2.ConversationPhoneNumber.decode(reader, reader.uint32()); + break; + } + case 5: { + message.startTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 6: { + message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 7: { + message.conversationStage = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -39519,6 +42076,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Conversation + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Conversation + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Conversation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Conversation"; + }; + /** * LifecycleState enum. * @name google.cloud.dialogflow.v2.Conversation.LifecycleState @@ -39668,15 +42240,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.conversation = $root.google.cloud.dialogflow.v2.Conversation.decode(reader, reader.uint32()); - break; - case 3: - message.conversationId = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.conversation = $root.google.cloud.dialogflow.v2.Conversation.decode(reader, reader.uint32()); + break; + } + case 3: { + message.conversationId = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -39788,6 +42363,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateConversationRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.CreateConversationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateConversationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.CreateConversationRequest"; + }; + return CreateConversationRequest; })(); @@ -39916,18 +42506,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; - case 4: - message.filter = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } + case 4: { + message.filter = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -40042,6 +42636,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListConversationsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListConversationsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListConversationsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListConversationsRequest"; + }; + return ListConversationsRequest; })(); @@ -40150,14 +42759,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.conversations && message.conversations.length)) - message.conversations = []; - message.conversations.push($root.google.cloud.dialogflow.v2.Conversation.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.conversations && message.conversations.length)) + message.conversations = []; + message.conversations.push($root.google.cloud.dialogflow.v2.Conversation.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -40273,6 +42884,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListConversationsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListConversationsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListConversationsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListConversationsResponse"; + }; + return ListConversationsResponse; })(); @@ -40368,9 +42994,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -40460,6 +43087,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetConversationRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.GetConversationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetConversationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.GetConversationRequest"; + }; + return GetConversationRequest; })(); @@ -40555,9 +43197,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -40647,6 +43290,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CompleteConversationRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.CompleteConversationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CompleteConversationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.CompleteConversationRequest"; + }; + return CompleteConversationRequest; })(); @@ -40775,18 +43433,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 4: - message.filter = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 4: { + message.filter = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -40901,6 +43563,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListMessagesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListMessagesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListMessagesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListMessagesRequest"; + }; + return ListMessagesRequest; })(); @@ -41009,14 +43686,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.messages && message.messages.length)) - message.messages = []; - message.messages.push($root.google.cloud.dialogflow.v2.Message.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.messages && message.messages.length)) + message.messages = []; + message.messages.push($root.google.cloud.dialogflow.v2.Message.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -41132,6 +43811,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListMessagesResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListMessagesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListMessagesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListMessagesResponse"; + }; + return ListMessagesResponse; })(); @@ -41227,9 +43921,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 3: - message.phoneNumber = reader.string(); - break; + case 3: { + message.phoneNumber = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -41319,6 +44014,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ConversationPhoneNumber + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ConversationPhoneNumber + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ConversationPhoneNumber.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ConversationPhoneNumber"; + }; + return ConversationPhoneNumber; })(); @@ -41355,7 +44065,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationDatasets#createConversationDataset}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationDatasets|createConversationDataset}. * @memberof google.cloud.dialogflow.v2.ConversationDatasets * @typedef CreateConversationDatasetCallback * @type {function} @@ -41388,7 +44098,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationDatasets#getConversationDataset}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationDatasets|getConversationDataset}. * @memberof google.cloud.dialogflow.v2.ConversationDatasets * @typedef GetConversationDatasetCallback * @type {function} @@ -41421,7 +44131,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationDatasets#listConversationDatasets}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationDatasets|listConversationDatasets}. * @memberof google.cloud.dialogflow.v2.ConversationDatasets * @typedef ListConversationDatasetsCallback * @type {function} @@ -41454,7 +44164,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationDatasets#deleteConversationDataset}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationDatasets|deleteConversationDataset}. * @memberof google.cloud.dialogflow.v2.ConversationDatasets * @typedef DeleteConversationDatasetCallback * @type {function} @@ -41487,7 +44197,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationDatasets#importConversationData}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationDatasets|importConversationData}. * @memberof google.cloud.dialogflow.v2.ConversationDatasets * @typedef ImportConversationDataCallback * @type {function} @@ -41614,9 +44324,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.languageCode = reader.string(); - break; + case 1: { + message.languageCode = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -41706,6 +44417,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ConversationInfo + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ConversationInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ConversationInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ConversationInfo"; + }; + return ConversationInfo; })(); @@ -41815,9 +44541,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.gcsSource = $root.google.cloud.dialogflow.v2.GcsSources.decode(reader, reader.uint32()); - break; + case 1: { + message.gcsSource = $root.google.cloud.dialogflow.v2.GcsSources.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -41917,6 +44644,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for InputConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.InputConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + InputConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.InputConfig"; + }; + return InputConfig; })(); @@ -42078,27 +44820,34 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 3: - message.description = reader.string(); - break; - case 4: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 5: - message.inputConfig = $root.google.cloud.dialogflow.v2.InputConfig.decode(reader, reader.uint32()); - break; - case 6: - message.conversationInfo = $root.google.cloud.dialogflow.v2.ConversationInfo.decode(reader, reader.uint32()); - break; - case 7: - message.conversationCount = reader.int64(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 3: { + message.description = reader.string(); + break; + } + case 4: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 5: { + message.inputConfig = $root.google.cloud.dialogflow.v2.InputConfig.decode(reader, reader.uint32()); + break; + } + case 6: { + message.conversationInfo = $root.google.cloud.dialogflow.v2.ConversationInfo.decode(reader, reader.uint32()); + break; + } + case 7: { + message.conversationCount = reader.int64(); + break; + } default: reader.skipType(tag & 7); break; @@ -42266,6 +45015,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ConversationDataset + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ConversationDataset + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ConversationDataset.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ConversationDataset"; + }; + return ConversationDataset; })(); @@ -42372,12 +45136,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.conversationDataset = $root.google.cloud.dialogflow.v2.ConversationDataset.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.conversationDataset = $root.google.cloud.dialogflow.v2.ConversationDataset.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -42481,6 +45247,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateConversationDatasetRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.CreateConversationDatasetRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateConversationDatasetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.CreateConversationDatasetRequest"; + }; + return CreateConversationDatasetRequest; })(); @@ -42576,9 +45357,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -42668,6 +45450,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetConversationDatasetRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.GetConversationDatasetRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetConversationDatasetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.GetConversationDatasetRequest"; + }; + return GetConversationDatasetRequest; })(); @@ -42785,15 +45582,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -42900,6 +45700,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListConversationDatasetsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListConversationDatasetsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListConversationDatasetsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListConversationDatasetsRequest"; + }; + return ListConversationDatasetsRequest; })(); @@ -43008,14 +45823,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.conversationDatasets && message.conversationDatasets.length)) - message.conversationDatasets = []; - message.conversationDatasets.push($root.google.cloud.dialogflow.v2.ConversationDataset.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.conversationDatasets && message.conversationDatasets.length)) + message.conversationDatasets = []; + message.conversationDatasets.push($root.google.cloud.dialogflow.v2.ConversationDataset.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -43131,6 +45948,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListConversationDatasetsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListConversationDatasetsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListConversationDatasetsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListConversationDatasetsResponse"; + }; + return ListConversationDatasetsResponse; })(); @@ -43226,9 +46058,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -43318,6 +46151,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteConversationDatasetRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.DeleteConversationDatasetRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteConversationDatasetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.DeleteConversationDatasetRequest"; + }; + return DeleteConversationDatasetRequest; })(); @@ -43424,12 +46272,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.inputConfig = $root.google.cloud.dialogflow.v2.InputConfig.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.inputConfig = $root.google.cloud.dialogflow.v2.InputConfig.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -43533,6 +46383,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ImportConversationDataRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ImportConversationDataRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ImportConversationDataRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ImportConversationDataRequest"; + }; + return ImportConversationDataRequest; })(); @@ -43652,17 +46517,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversationDataset = reader.string(); - break; - case 2: - if (!(message.partialFailures && message.partialFailures.length)) - message.partialFailures = []; - message.partialFailures.push($root.google.rpc.Status.decode(reader, reader.uint32())); - break; - case 3: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + case 1: { + message.conversationDataset = reader.string(); + break; + } + case 2: { + if (!(message.partialFailures && message.partialFailures.length)) + message.partialFailures = []; + message.partialFailures.push($root.google.rpc.Status.decode(reader, reader.uint32())); + break; + } + case 3: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -43792,6 +46660,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ImportConversationDataOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ImportConversationDataOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ImportConversationDataOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ImportConversationDataOperationMetadata"; + }; + return ImportConversationDataOperationMetadata; })(); @@ -43898,12 +46781,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversationDataset = reader.string(); - break; - case 3: - message.importCount = reader.int32(); - break; + case 1: { + message.conversationDataset = reader.string(); + break; + } + case 3: { + message.importCount = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -44002,6 +46887,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ImportConversationDataOperationResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ImportConversationDataOperationResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ImportConversationDataOperationResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ImportConversationDataOperationResponse"; + }; + return ImportConversationDataOperationResponse; })(); @@ -44162,6 +47062,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateConversationDatasetOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.CreateConversationDatasetOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateConversationDatasetOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.CreateConversationDatasetOperationMetadata"; + }; + return CreateConversationDatasetOperationMetadata; })(); @@ -44322,6 +47237,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteConversationDatasetOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.DeleteConversationDatasetOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteConversationDatasetOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.DeleteConversationDatasetOperationMetadata"; + }; + return DeleteConversationDatasetOperationMetadata; })(); @@ -44419,11 +47349,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 2: - if (!(message.uris && message.uris.length)) - message.uris = []; - message.uris.push(reader.string()); - break; + case 2: { + if (!(message.uris && message.uris.length)) + message.uris = []; + message.uris.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -44525,6 +47456,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GcsSources + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.GcsSources + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GcsSources.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.GcsSources"; + }; + return GcsSources; })(); @@ -44620,9 +47566,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.uri = reader.string(); - break; + case 1: { + message.uri = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -44712,6 +47659,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GcsDestination + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.GcsDestination + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GcsDestination.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.GcsDestination"; + }; + return GcsDestination; })(); @@ -44854,18 +47816,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversation = reader.string(); - break; - case 2: - message.type = reader.int32(); - break; - case 3: - message.errorStatus = $root.google.rpc.Status.decode(reader, reader.uint32()); - break; - case 4: - message.newMessagePayload = $root.google.cloud.dialogflow.v2.Message.decode(reader, reader.uint32()); - break; + case 1: { + message.conversation = reader.string(); + break; + } + case 2: { + message.type = reader.int32(); + break; + } + case 3: { + message.errorStatus = $root.google.rpc.Status.decode(reader, reader.uint32()); + break; + } + case 4: { + message.newMessagePayload = $root.google.cloud.dialogflow.v2.Message.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -45029,6 +47995,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ConversationEvent + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ConversationEvent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ConversationEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ConversationEvent"; + }; + /** * Type enum. * @name google.cloud.dialogflow.v2.ConversationEvent.Type @@ -45087,7 +48068,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels#createConversationModel}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels|createConversationModel}. * @memberof google.cloud.dialogflow.v2.ConversationModels * @typedef CreateConversationModelCallback * @type {function} @@ -45120,7 +48101,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels#getConversationModel}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels|getConversationModel}. * @memberof google.cloud.dialogflow.v2.ConversationModels * @typedef GetConversationModelCallback * @type {function} @@ -45153,7 +48134,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels#listConversationModels}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels|listConversationModels}. * @memberof google.cloud.dialogflow.v2.ConversationModels * @typedef ListConversationModelsCallback * @type {function} @@ -45186,7 +48167,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels#deleteConversationModel}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels|deleteConversationModel}. * @memberof google.cloud.dialogflow.v2.ConversationModels * @typedef DeleteConversationModelCallback * @type {function} @@ -45219,7 +48200,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels#deployConversationModel}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels|deployConversationModel}. * @memberof google.cloud.dialogflow.v2.ConversationModels * @typedef DeployConversationModelCallback * @type {function} @@ -45252,7 +48233,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels#undeployConversationModel}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels|undeployConversationModel}. * @memberof google.cloud.dialogflow.v2.ConversationModels * @typedef UndeployConversationModelCallback * @type {function} @@ -45285,7 +48266,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels#getConversationModelEvaluation}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels|getConversationModelEvaluation}. * @memberof google.cloud.dialogflow.v2.ConversationModels * @typedef GetConversationModelEvaluationCallback * @type {function} @@ -45318,7 +48299,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels#listConversationModelEvaluations}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels|listConversationModelEvaluations}. * @memberof google.cloud.dialogflow.v2.ConversationModels * @typedef ListConversationModelEvaluationsCallback * @type {function} @@ -45351,7 +48332,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels#createConversationModelEvaluation}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationModels|createConversationModelEvaluation}. * @memberof google.cloud.dialogflow.v2.ConversationModels * @typedef CreateConversationModelEvaluationCallback * @type {function} @@ -45571,32 +48552,40 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 3: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 4: - if (!(message.datasets && message.datasets.length)) - message.datasets = []; - message.datasets.push($root.google.cloud.dialogflow.v2.InputDataset.decode(reader, reader.uint32())); - break; - case 7: - message.state = reader.int32(); - break; - case 19: - message.languageCode = reader.string(); - break; - case 8: - message.articleSuggestionModelMetadata = $root.google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata.decode(reader, reader.uint32()); - break; - case 9: - message.smartReplyModelMetadata = $root.google.cloud.dialogflow.v2.SmartReplyModelMetadata.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 3: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 4: { + if (!(message.datasets && message.datasets.length)) + message.datasets = []; + message.datasets.push($root.google.cloud.dialogflow.v2.InputDataset.decode(reader, reader.uint32())); + break; + } + case 7: { + message.state = reader.int32(); + break; + } + case 19: { + message.languageCode = reader.string(); + break; + } + case 8: { + message.articleSuggestionModelMetadata = $root.google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata.decode(reader, reader.uint32()); + break; + } + case 9: { + message.smartReplyModelMetadata = $root.google.cloud.dialogflow.v2.SmartReplyModelMetadata.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -45837,6 +48826,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ConversationModel + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ConversationModel + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ConversationModel.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ConversationModel"; + }; + /** * State enum. * @name google.cloud.dialogflow.v2.ConversationModel.State @@ -46034,21 +49038,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 6: - message.evaluationConfig = $root.google.cloud.dialogflow.v2.EvaluationConfig.decode(reader, reader.uint32()); - break; - case 3: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 5: - message.smartReplyMetrics = $root.google.cloud.dialogflow.v2.SmartReplyMetrics.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 6: { + message.evaluationConfig = $root.google.cloud.dialogflow.v2.EvaluationConfig.decode(reader, reader.uint32()); + break; + } + case 3: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 5: { + message.smartReplyMetrics = $root.google.cloud.dialogflow.v2.SmartReplyMetrics.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -46192,6 +49201,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ConversationModelEvaluation + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ConversationModelEvaluation + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ConversationModelEvaluation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ConversationModelEvaluation"; + }; + return ConversationModelEvaluation; })(); @@ -46325,17 +49349,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 3: - if (!(message.datasets && message.datasets.length)) - message.datasets = []; - message.datasets.push($root.google.cloud.dialogflow.v2.InputDataset.decode(reader, reader.uint32())); - break; - case 2: - message.smartReplyConfig = $root.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig.decode(reader, reader.uint32()); - break; - case 4: - message.smartComposeConfig = $root.google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig.decode(reader, reader.uint32()); - break; + case 3: { + if (!(message.datasets && message.datasets.length)) + message.datasets = []; + message.datasets.push($root.google.cloud.dialogflow.v2.InputDataset.decode(reader, reader.uint32())); + break; + } + case 2: { + message.smartReplyConfig = $root.google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig.decode(reader, reader.uint32()); + break; + } + case 4: { + message.smartComposeConfig = $root.google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -46481,6 +49508,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EvaluationConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.EvaluationConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EvaluationConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.EvaluationConfig"; + }; + EvaluationConfig.SmartReplyConfig = (function() { /** @@ -46584,12 +49626,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.allowlistDocument = reader.string(); - break; - case 2: - message.maxResultCount = reader.int32(); - break; + case 1: { + message.allowlistDocument = reader.string(); + break; + } + case 2: { + message.maxResultCount = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -46688,6 +49732,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SmartReplyConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SmartReplyConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig"; + }; + return SmartReplyConfig; })(); @@ -46794,12 +49853,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.allowlistDocument = reader.string(); - break; - case 2: - message.maxResultCount = reader.int32(); - break; + case 1: { + message.allowlistDocument = reader.string(); + break; + } + case 2: { + message.maxResultCount = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -46898,6 +49959,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SmartComposeConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SmartComposeConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig"; + }; + return SmartComposeConfig; })(); @@ -46996,9 +50072,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.dataset = reader.string(); - break; + case 1: { + message.dataset = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -47088,6 +50165,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for InputDataset + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.InputDataset + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + InputDataset.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.InputDataset"; + }; + return InputDataset; })(); @@ -47183,9 +50275,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 3: - message.trainingModelType = reader.int32(); - break; + case 3: { + message.trainingModelType = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -47293,6 +50386,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ArticleSuggestionModelMetadata + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ArticleSuggestionModelMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata"; + }; + return ArticleSuggestionModelMetadata; })(); @@ -47388,9 +50496,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 6: - message.trainingModelType = reader.int32(); - break; + case 6: { + message.trainingModelType = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -47498,6 +50607,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SmartReplyModelMetadata + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SmartReplyModelMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SmartReplyModelMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SmartReplyModelMetadata"; + }; + return SmartReplyModelMetadata; })(); @@ -47617,17 +50741,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.allowlistCoverage = reader.float(); - break; - case 2: - if (!(message.topNMetrics && message.topNMetrics.length)) - message.topNMetrics = []; - message.topNMetrics.push($root.google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics.decode(reader, reader.uint32())); - break; - case 3: - message.conversationCount = reader.int64(); - break; + case 1: { + message.allowlistCoverage = reader.float(); + break; + } + case 2: { + if (!(message.topNMetrics && message.topNMetrics.length)) + message.topNMetrics = []; + message.topNMetrics.push($root.google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics.decode(reader, reader.uint32())); + break; + } + case 3: { + message.conversationCount = reader.int64(); + break; + } default: reader.skipType(tag & 7); break; @@ -47766,6 +50893,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SmartReplyMetrics + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SmartReplyMetrics + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SmartReplyMetrics.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SmartReplyMetrics"; + }; + SmartReplyMetrics.TopNMetrics = (function() { /** @@ -47869,12 +51011,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.n = reader.int32(); - break; - case 2: - message.recall = reader.float(); - break; + case 1: { + message.n = reader.int32(); + break; + } + case 2: { + message.recall = reader.float(); + break; + } default: reader.skipType(tag & 7); break; @@ -47973,6 +51117,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TopNMetrics + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TopNMetrics.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics"; + }; + return TopNMetrics; })(); @@ -48082,12 +51241,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.conversationModel = $root.google.cloud.dialogflow.v2.ConversationModel.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.conversationModel = $root.google.cloud.dialogflow.v2.ConversationModel.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -48191,6 +51352,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateConversationModelRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.CreateConversationModelRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateConversationModelRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.CreateConversationModelRequest"; + }; + return CreateConversationModelRequest; })(); @@ -48286,9 +51462,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -48378,6 +51555,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetConversationModelRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.GetConversationModelRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetConversationModelRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.GetConversationModelRequest"; + }; + return GetConversationModelRequest; })(); @@ -48495,15 +51687,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -48610,6 +51805,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListConversationModelsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListConversationModelsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListConversationModelsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListConversationModelsRequest"; + }; + return ListConversationModelsRequest; })(); @@ -48718,14 +51928,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.conversationModels && message.conversationModels.length)) - message.conversationModels = []; - message.conversationModels.push($root.google.cloud.dialogflow.v2.ConversationModel.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.conversationModels && message.conversationModels.length)) + message.conversationModels = []; + message.conversationModels.push($root.google.cloud.dialogflow.v2.ConversationModel.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -48841,6 +52053,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListConversationModelsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListConversationModelsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListConversationModelsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListConversationModelsResponse"; + }; + return ListConversationModelsResponse; })(); @@ -48936,9 +52163,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -49028,6 +52256,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteConversationModelRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.DeleteConversationModelRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteConversationModelRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.DeleteConversationModelRequest"; + }; + return DeleteConversationModelRequest; })(); @@ -49123,9 +52366,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -49215,6 +52459,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeployConversationModelRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.DeployConversationModelRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeployConversationModelRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.DeployConversationModelRequest"; + }; + return DeployConversationModelRequest; })(); @@ -49310,9 +52569,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -49402,6 +52662,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UndeployConversationModelRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.UndeployConversationModelRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UndeployConversationModelRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.UndeployConversationModelRequest"; + }; + return UndeployConversationModelRequest; })(); @@ -49497,9 +52772,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -49589,6 +52865,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetConversationModelEvaluationRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.GetConversationModelEvaluationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetConversationModelEvaluationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.GetConversationModelEvaluationRequest"; + }; + return GetConversationModelEvaluationRequest; })(); @@ -49706,15 +52997,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -49821,6 +53115,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListConversationModelEvaluationsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListConversationModelEvaluationsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListConversationModelEvaluationsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListConversationModelEvaluationsRequest"; + }; + return ListConversationModelEvaluationsRequest; })(); @@ -49929,14 +53238,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.conversationModelEvaluations && message.conversationModelEvaluations.length)) - message.conversationModelEvaluations = []; - message.conversationModelEvaluations.push($root.google.cloud.dialogflow.v2.ConversationModelEvaluation.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.conversationModelEvaluations && message.conversationModelEvaluations.length)) + message.conversationModelEvaluations = []; + message.conversationModelEvaluations.push($root.google.cloud.dialogflow.v2.ConversationModelEvaluation.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -50052,6 +53363,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListConversationModelEvaluationsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListConversationModelEvaluationsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListConversationModelEvaluationsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListConversationModelEvaluationsResponse"; + }; + return ListConversationModelEvaluationsResponse; })(); @@ -50158,12 +53484,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.conversationModelEvaluation = $root.google.cloud.dialogflow.v2.ConversationModelEvaluation.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.conversationModelEvaluation = $root.google.cloud.dialogflow.v2.ConversationModelEvaluation.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -50267,6 +53595,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateConversationModelEvaluationRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.CreateConversationModelEvaluationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateConversationModelEvaluationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.CreateConversationModelEvaluationRequest"; + }; + return CreateConversationModelEvaluationRequest; })(); @@ -50384,15 +53727,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversationModel = reader.string(); - break; - case 2: - message.state = reader.int32(); - break; - case 3: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + case 1: { + message.conversationModel = reader.string(); + break; + } + case 2: { + message.state = reader.int32(); + break; + } + case 3: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -50542,6 +53888,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateConversationModelOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateConversationModelOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata"; + }; + /** * State enum. * @name google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State @@ -50672,12 +54033,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversationModel = reader.string(); - break; - case 3: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + case 1: { + message.conversationModel = reader.string(); + break; + } + case 3: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -50781,6 +54144,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeployConversationModelOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeployConversationModelOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata"; + }; + return DeployConversationModelOperationMetadata; })(); @@ -50887,12 +54265,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversationModel = reader.string(); - break; - case 3: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + case 1: { + message.conversationModel = reader.string(); + break; + } + case 3: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -50996,6 +54376,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UndeployConversationModelOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UndeployConversationModelOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata"; + }; + return UndeployConversationModelOperationMetadata; })(); @@ -51102,12 +54497,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversationModel = reader.string(); - break; - case 3: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + case 1: { + message.conversationModel = reader.string(); + break; + } + case 3: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -51211,6 +54608,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteConversationModelOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteConversationModelOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata"; + }; + return DeleteConversationModelOperationMetadata; })(); @@ -51339,18 +54751,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversationModelEvaluation = reader.string(); - break; - case 4: - message.conversationModel = reader.string(); - break; - case 2: - message.state = reader.int32(); - break; - case 3: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + case 1: { + message.conversationModelEvaluation = reader.string(); + break; + } + case 4: { + message.conversationModel = reader.string(); + break; + } + case 2: { + message.state = reader.int32(); + break; + } + case 3: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -51503,6 +54919,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateConversationModelEvaluationOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.CreateConversationModelEvaluationOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateConversationModelEvaluationOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.CreateConversationModelEvaluationOperationMetadata"; + }; + /** * State enum. * @name google.cloud.dialogflow.v2.CreateConversationModelEvaluationOperationMetadata.State @@ -51561,7 +54992,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles#listConversationProfiles}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles|listConversationProfiles}. * @memberof google.cloud.dialogflow.v2.ConversationProfiles * @typedef ListConversationProfilesCallback * @type {function} @@ -51594,7 +55025,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles#getConversationProfile}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles|getConversationProfile}. * @memberof google.cloud.dialogflow.v2.ConversationProfiles * @typedef GetConversationProfileCallback * @type {function} @@ -51627,7 +55058,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles#createConversationProfile}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles|createConversationProfile}. * @memberof google.cloud.dialogflow.v2.ConversationProfiles * @typedef CreateConversationProfileCallback * @type {function} @@ -51660,7 +55091,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles#updateConversationProfile}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles|updateConversationProfile}. * @memberof google.cloud.dialogflow.v2.ConversationProfiles * @typedef UpdateConversationProfileCallback * @type {function} @@ -51693,7 +55124,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles#deleteConversationProfile}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles|deleteConversationProfile}. * @memberof google.cloud.dialogflow.v2.ConversationProfiles * @typedef DeleteConversationProfileCallback * @type {function} @@ -51726,7 +55157,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles#setSuggestionFeatureConfig}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles|setSuggestionFeatureConfig}. * @memberof google.cloud.dialogflow.v2.ConversationProfiles * @typedef SetSuggestionFeatureConfigCallback * @type {function} @@ -51759,7 +55190,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles#clearSuggestionFeatureConfig}. + * Callback as used by {@link google.cloud.dialogflow.v2.ConversationProfiles|clearSuggestionFeatureConfig}. * @memberof google.cloud.dialogflow.v2.ConversationProfiles * @typedef ClearSuggestionFeatureConfigCallback * @type {function} @@ -52029,48 +55460,62 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 11: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 12: - message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 3: - message.automatedAgentConfig = $root.google.cloud.dialogflow.v2.AutomatedAgentConfig.decode(reader, reader.uint32()); - break; - case 4: - message.humanAgentAssistantConfig = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.decode(reader, reader.uint32()); - break; - case 5: - message.humanAgentHandoffConfig = $root.google.cloud.dialogflow.v2.HumanAgentHandoffConfig.decode(reader, reader.uint32()); - break; - case 6: - message.notificationConfig = $root.google.cloud.dialogflow.v2.NotificationConfig.decode(reader, reader.uint32()); - break; - case 7: - message.loggingConfig = $root.google.cloud.dialogflow.v2.LoggingConfig.decode(reader, reader.uint32()); - break; - case 8: - message.newMessageEventNotificationConfig = $root.google.cloud.dialogflow.v2.NotificationConfig.decode(reader, reader.uint32()); - break; - case 9: - message.sttConfig = $root.google.cloud.dialogflow.v2.SpeechToTextConfig.decode(reader, reader.uint32()); - break; - case 10: - message.languageCode = reader.string(); - break; - case 14: - message.timeZone = reader.string(); - break; - case 13: - message.securitySettings = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 11: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 12: { + message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 3: { + message.automatedAgentConfig = $root.google.cloud.dialogflow.v2.AutomatedAgentConfig.decode(reader, reader.uint32()); + break; + } + case 4: { + message.humanAgentAssistantConfig = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.decode(reader, reader.uint32()); + break; + } + case 5: { + message.humanAgentHandoffConfig = $root.google.cloud.dialogflow.v2.HumanAgentHandoffConfig.decode(reader, reader.uint32()); + break; + } + case 6: { + message.notificationConfig = $root.google.cloud.dialogflow.v2.NotificationConfig.decode(reader, reader.uint32()); + break; + } + case 7: { + message.loggingConfig = $root.google.cloud.dialogflow.v2.LoggingConfig.decode(reader, reader.uint32()); + break; + } + case 8: { + message.newMessageEventNotificationConfig = $root.google.cloud.dialogflow.v2.NotificationConfig.decode(reader, reader.uint32()); + break; + } + case 9: { + message.sttConfig = $root.google.cloud.dialogflow.v2.SpeechToTextConfig.decode(reader, reader.uint32()); + break; + } + case 10: { + message.languageCode = reader.string(); + break; + } + case 14: { + message.timeZone = reader.string(); + break; + } + case 13: { + message.securitySettings = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -52310,6 +55755,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ConversationProfile + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ConversationProfile + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ConversationProfile.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ConversationProfile"; + }; + return ConversationProfile; })(); @@ -52427,15 +55887,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -52542,6 +56005,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListConversationProfilesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListConversationProfilesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListConversationProfilesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListConversationProfilesRequest"; + }; + return ListConversationProfilesRequest; })(); @@ -52650,14 +56128,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.conversationProfiles && message.conversationProfiles.length)) - message.conversationProfiles = []; - message.conversationProfiles.push($root.google.cloud.dialogflow.v2.ConversationProfile.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.conversationProfiles && message.conversationProfiles.length)) + message.conversationProfiles = []; + message.conversationProfiles.push($root.google.cloud.dialogflow.v2.ConversationProfile.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -52773,6 +56253,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListConversationProfilesResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListConversationProfilesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListConversationProfilesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListConversationProfilesResponse"; + }; + return ListConversationProfilesResponse; })(); @@ -52868,9 +56363,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -52960,6 +56456,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetConversationProfileRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.GetConversationProfileRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetConversationProfileRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.GetConversationProfileRequest"; + }; + return GetConversationProfileRequest; })(); @@ -53066,12 +56577,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.conversationProfile = $root.google.cloud.dialogflow.v2.ConversationProfile.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.conversationProfile = $root.google.cloud.dialogflow.v2.ConversationProfile.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -53175,6 +56688,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateConversationProfileRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.CreateConversationProfileRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateConversationProfileRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.CreateConversationProfileRequest"; + }; + return CreateConversationProfileRequest; })(); @@ -53281,12 +56809,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversationProfile = $root.google.cloud.dialogflow.v2.ConversationProfile.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.conversationProfile = $root.google.cloud.dialogflow.v2.ConversationProfile.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -53395,6 +56925,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateConversationProfileRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.UpdateConversationProfileRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateConversationProfileRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.UpdateConversationProfileRequest"; + }; + return UpdateConversationProfileRequest; })(); @@ -53490,9 +57035,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -53582,6 +57128,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteConversationProfileRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.DeleteConversationProfileRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteConversationProfileRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.DeleteConversationProfileRequest"; + }; + return DeleteConversationProfileRequest; })(); @@ -53677,9 +57238,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.agent = reader.string(); - break; + case 1: { + message.agent = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -53769,6 +57331,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AutomatedAgentConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.AutomatedAgentConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AutomatedAgentConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.AutomatedAgentConfig"; + }; + return AutomatedAgentConfig; })(); @@ -53897,18 +57474,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 2: - message.notificationConfig = $root.google.cloud.dialogflow.v2.NotificationConfig.decode(reader, reader.uint32()); - break; - case 3: - message.humanAgentSuggestionConfig = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.decode(reader, reader.uint32()); - break; - case 4: - message.endUserSuggestionConfig = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.decode(reader, reader.uint32()); - break; - case 5: - message.messageAnalysisConfig = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.MessageAnalysisConfig.decode(reader, reader.uint32()); - break; + case 2: { + message.notificationConfig = $root.google.cloud.dialogflow.v2.NotificationConfig.decode(reader, reader.uint32()); + break; + } + case 3: { + message.humanAgentSuggestionConfig = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.decode(reader, reader.uint32()); + break; + } + case 4: { + message.endUserSuggestionConfig = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.decode(reader, reader.uint32()); + break; + } + case 5: { + message.messageAnalysisConfig = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.MessageAnalysisConfig.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -54043,6 +57624,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for HumanAgentAssistantConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.HumanAgentAssistantConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + HumanAgentAssistantConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.HumanAgentAssistantConfig"; + }; + HumanAgentAssistantConfig.SuggestionTriggerSettings = (function() { /** @@ -54146,12 +57742,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.noSmalltalk = reader.bool(); - break; - case 2: - message.onlyEndUser = reader.bool(); - break; + case 1: { + message.noSmalltalk = reader.bool(); + break; + } + case 2: { + message.onlyEndUser = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -54250,6 +57848,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestionTriggerSettings + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionTriggerSettings + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestionTriggerSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionTriggerSettings"; + }; + return SuggestionTriggerSettings; })(); @@ -54400,24 +58013,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 5: - message.suggestionFeature = $root.google.cloud.dialogflow.v2.SuggestionFeature.decode(reader, reader.uint32()); - break; - case 3: - message.enableEventBasedSuggestion = reader.bool(); - break; - case 10: - message.suggestionTriggerSettings = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionTriggerSettings.decode(reader, reader.uint32()); - break; - case 6: - message.queryConfig = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.decode(reader, reader.uint32()); - break; - case 7: - message.conversationModelConfig = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig.decode(reader, reader.uint32()); - break; - case 8: - message.conversationProcessConfig = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationProcessConfig.decode(reader, reader.uint32()); - break; + case 5: { + message.suggestionFeature = $root.google.cloud.dialogflow.v2.SuggestionFeature.decode(reader, reader.uint32()); + break; + } + case 3: { + message.enableEventBasedSuggestion = reader.bool(); + break; + } + case 10: { + message.suggestionTriggerSettings = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionTriggerSettings.decode(reader, reader.uint32()); + break; + } + case 6: { + message.queryConfig = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.decode(reader, reader.uint32()); + break; + } + case 7: { + message.conversationModelConfig = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig.decode(reader, reader.uint32()); + break; + } + case 8: { + message.conversationProcessConfig = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationProcessConfig.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -54573,6 +58192,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestionFeatureConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestionFeatureConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig"; + }; + return SuggestionFeatureConfig; })(); @@ -54681,14 +58315,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 2: - if (!(message.featureConfigs && message.featureConfigs.length)) - message.featureConfigs = []; - message.featureConfigs.push($root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig.decode(reader, reader.uint32())); - break; - case 3: - message.groupSuggestionResponses = reader.bool(); - break; + case 2: { + if (!(message.featureConfigs && message.featureConfigs.length)) + message.featureConfigs = []; + message.featureConfigs.push($root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig.decode(reader, reader.uint32())); + break; + } + case 3: { + message.groupSuggestionResponses = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -54804,6 +58440,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestionConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestionConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig"; + }; + return SuggestionConfig; })(); @@ -54968,24 +58619,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.knowledgeBaseQuerySource = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource.decode(reader, reader.uint32()); - break; - case 2: - message.documentQuerySource = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource.decode(reader, reader.uint32()); - break; - case 3: - message.dialogflowQuerySource = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.decode(reader, reader.uint32()); - break; - case 4: - message.maxResults = reader.int32(); - break; - case 5: - message.confidenceThreshold = reader.float(); - break; - case 7: - message.contextFilterSettings = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.decode(reader, reader.uint32()); - break; + case 1: { + message.knowledgeBaseQuerySource = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource.decode(reader, reader.uint32()); + break; + } + case 2: { + message.documentQuerySource = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource.decode(reader, reader.uint32()); + break; + } + case 3: { + message.dialogflowQuerySource = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.decode(reader, reader.uint32()); + break; + } + case 4: { + message.maxResults = reader.int32(); + break; + } + case 5: { + message.confidenceThreshold = reader.float(); + break; + } + case 7: { + message.contextFilterSettings = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -55156,6 +58813,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestionQueryConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestionQueryConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig"; + }; + SuggestionQueryConfig.KnowledgeBaseQuerySource = (function() { /** @@ -55250,11 +58922,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.knowledgeBases && message.knowledgeBases.length)) - message.knowledgeBases = []; - message.knowledgeBases.push(reader.string()); - break; + case 1: { + if (!(message.knowledgeBases && message.knowledgeBases.length)) + message.knowledgeBases = []; + message.knowledgeBases.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -55356,6 +59029,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for KnowledgeBaseQuerySource + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + KnowledgeBaseQuerySource.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource"; + }; + return KnowledgeBaseQuerySource; })(); @@ -55453,11 +59141,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.documents && message.documents.length)) - message.documents = []; - message.documents.push(reader.string()); - break; + case 1: { + if (!(message.documents && message.documents.length)) + message.documents = []; + message.documents.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -55559,6 +59248,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DocumentQuerySource + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DocumentQuerySource.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource"; + }; + return DocumentQuerySource; })(); @@ -55654,9 +59358,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.agent = reader.string(); - break; + case 1: { + message.agent = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -55746,6 +59451,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DialogflowQuerySource + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DialogflowQuerySource.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource"; + }; + return DialogflowQuerySource; })(); @@ -55863,15 +59583,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.dropHandoffMessages = reader.bool(); - break; - case 2: - message.dropVirtualAgentMessages = reader.bool(); - break; - case 3: - message.dropIvrMessages = reader.bool(); - break; + case 1: { + message.dropHandoffMessages = reader.bool(); + break; + } + case 2: { + message.dropVirtualAgentMessages = reader.bool(); + break; + } + case 3: { + message.dropIvrMessages = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -55978,6 +59701,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ContextFilterSettings + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ContextFilterSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings"; + }; + return ContextFilterSettings; })(); @@ -56076,9 +59814,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.model = reader.string(); - break; + case 1: { + message.model = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -56168,6 +59907,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ConversationModelConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ConversationModelConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig"; + }; + return ConversationModelConfig; })(); @@ -56263,9 +60017,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 2: - message.recentSentencesCount = reader.int32(); - break; + case 2: { + message.recentSentencesCount = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -56355,6 +60110,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ConversationProcessConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationProcessConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ConversationProcessConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationProcessConfig"; + }; + return ConversationProcessConfig; })(); @@ -56461,12 +60231,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 2: - message.enableEntityExtraction = reader.bool(); - break; - case 3: - message.enableSentimentAnalysis = reader.bool(); - break; + case 2: { + message.enableEntityExtraction = reader.bool(); + break; + } + case 3: { + message.enableSentimentAnalysis = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -56565,6 +60337,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for MessageAnalysisConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.HumanAgentAssistantConfig.MessageAnalysisConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + MessageAnalysisConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.HumanAgentAssistantConfig.MessageAnalysisConfig"; + }; + return MessageAnalysisConfig; })(); @@ -56688,12 +60475,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.livePersonConfig = $root.google.cloud.dialogflow.v2.HumanAgentHandoffConfig.LivePersonConfig.decode(reader, reader.uint32()); - break; - case 2: - message.salesforceLiveAgentConfig = $root.google.cloud.dialogflow.v2.HumanAgentHandoffConfig.SalesforceLiveAgentConfig.decode(reader, reader.uint32()); - break; + case 1: { + message.livePersonConfig = $root.google.cloud.dialogflow.v2.HumanAgentHandoffConfig.LivePersonConfig.decode(reader, reader.uint32()); + break; + } + case 2: { + message.salesforceLiveAgentConfig = $root.google.cloud.dialogflow.v2.HumanAgentHandoffConfig.SalesforceLiveAgentConfig.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -56813,6 +60602,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for HumanAgentHandoffConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.HumanAgentHandoffConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + HumanAgentHandoffConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.HumanAgentHandoffConfig"; + }; + HumanAgentHandoffConfig.LivePersonConfig = (function() { /** @@ -56905,9 +60709,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.accountNumber = reader.string(); - break; + case 1: { + message.accountNumber = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -56997,6 +60802,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for LivePersonConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.HumanAgentHandoffConfig.LivePersonConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + LivePersonConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.HumanAgentHandoffConfig.LivePersonConfig"; + }; + return LivePersonConfig; })(); @@ -57125,18 +60945,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.organizationId = reader.string(); - break; - case 2: - message.deploymentId = reader.string(); - break; - case 3: - message.buttonId = reader.string(); - break; - case 4: - message.endpointDomain = reader.string(); - break; + case 1: { + message.organizationId = reader.string(); + break; + } + case 2: { + message.deploymentId = reader.string(); + break; + } + case 3: { + message.buttonId = reader.string(); + break; + } + case 4: { + message.endpointDomain = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -57251,6 +61075,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SalesforceLiveAgentConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.HumanAgentHandoffConfig.SalesforceLiveAgentConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SalesforceLiveAgentConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.HumanAgentHandoffConfig.SalesforceLiveAgentConfig"; + }; + return SalesforceLiveAgentConfig; })(); @@ -57360,12 +61199,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.topic = reader.string(); - break; - case 2: - message.messageFormat = reader.int32(); - break; + case 1: { + message.topic = reader.string(); + break; + } + case 2: { + message.messageFormat = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -57482,6 +61323,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for NotificationConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.NotificationConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + NotificationConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.NotificationConfig"; + }; + /** * MessageFormat enum. * @name google.cloud.dialogflow.v2.NotificationConfig.MessageFormat @@ -57593,9 +61449,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 3: - message.enableStackdriverLogging = reader.bool(); - break; + case 3: { + message.enableStackdriverLogging = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -57685,6 +61542,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for LoggingConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.LoggingConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + LoggingConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.LoggingConfig"; + }; + return LoggingConfig; })(); @@ -57780,9 +61652,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type = reader.int32(); - break; + case 1: { + message.type = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -57895,6 +61768,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestionFeature + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SuggestionFeature + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestionFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SuggestionFeature"; + }; + /** * Type enum. * @name google.cloud.dialogflow.v2.SuggestionFeature.Type @@ -58030,15 +61918,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversationProfile = reader.string(); - break; - case 2: - message.participantRole = reader.int32(); - break; - case 3: - message.suggestionFeatureConfig = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig.decode(reader, reader.uint32()); - break; + case 1: { + message.conversationProfile = reader.string(); + break; + } + case 2: { + message.participantRole = reader.int32(); + break; + } + case 3: { + message.suggestionFeatureConfig = $root.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -58173,6 +62064,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SetSuggestionFeatureConfigRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SetSuggestionFeatureConfigRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SetSuggestionFeatureConfigRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SetSuggestionFeatureConfigRequest"; + }; + return SetSuggestionFeatureConfigRequest; })(); @@ -58290,15 +62196,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversationProfile = reader.string(); - break; - case 2: - message.participantRole = reader.int32(); - break; - case 3: - message.suggestionFeatureType = reader.int32(); - break; + case 1: { + message.conversationProfile = reader.string(); + break; + } + case 2: { + message.participantRole = reader.int32(); + break; + } + case 3: { + message.suggestionFeatureType = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -58451,6 +62360,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ClearSuggestionFeatureConfigRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ClearSuggestionFeatureConfigRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigRequest"; + }; + return ClearSuggestionFeatureConfigRequest; })(); @@ -58579,18 +62503,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversationProfile = reader.string(); - break; - case 2: - message.participantRole = reader.int32(); - break; - case 3: - message.suggestionFeatureType = reader.int32(); - break; - case 4: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + case 1: { + message.conversationProfile = reader.string(); + break; + } + case 2: { + message.participantRole = reader.int32(); + break; + } + case 3: { + message.suggestionFeatureType = reader.int32(); + break; + } + case 4: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -58756,6 +62684,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SetSuggestionFeatureConfigOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SetSuggestionFeatureConfigOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata"; + }; + return SetSuggestionFeatureConfigOperationMetadata; })(); @@ -58884,18 +62827,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversationProfile = reader.string(); - break; - case 2: - message.participantRole = reader.int32(); - break; - case 3: - message.suggestionFeatureType = reader.int32(); - break; - case 4: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + case 1: { + message.conversationProfile = reader.string(); + break; + } + case 2: { + message.participantRole = reader.int32(); + break; + } + case 3: { + message.suggestionFeatureType = reader.int32(); + break; + } + case 4: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -59061,6 +63008,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ClearSuggestionFeatureConfigOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ClearSuggestionFeatureConfigOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigOperationMetadata"; + }; + return ClearSuggestionFeatureConfigOperationMetadata; })(); @@ -59097,7 +63059,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Documents#listDocuments}. + * Callback as used by {@link google.cloud.dialogflow.v2.Documents|listDocuments}. * @memberof google.cloud.dialogflow.v2.Documents * @typedef ListDocumentsCallback * @type {function} @@ -59130,7 +63092,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Documents#getDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2.Documents|getDocument}. * @memberof google.cloud.dialogflow.v2.Documents * @typedef GetDocumentCallback * @type {function} @@ -59163,7 +63125,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Documents#createDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2.Documents|createDocument}. * @memberof google.cloud.dialogflow.v2.Documents * @typedef CreateDocumentCallback * @type {function} @@ -59196,7 +63158,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Documents#importDocuments}. + * Callback as used by {@link google.cloud.dialogflow.v2.Documents|importDocuments}. * @memberof google.cloud.dialogflow.v2.Documents * @typedef ImportDocumentsCallback * @type {function} @@ -59229,7 +63191,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Documents#deleteDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2.Documents|deleteDocument}. * @memberof google.cloud.dialogflow.v2.Documents * @typedef DeleteDocumentCallback * @type {function} @@ -59262,7 +63224,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Documents#updateDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2.Documents|updateDocument}. * @memberof google.cloud.dialogflow.v2.Documents * @typedef UpdateDocumentCallback * @type {function} @@ -59295,7 +63257,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Documents#reloadDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2.Documents|reloadDocument}. * @memberof google.cloud.dialogflow.v2.Documents * @typedef ReloadDocumentCallback * @type {function} @@ -59328,7 +63290,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Documents#exportDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2.Documents|exportDocument}. * @memberof google.cloud.dialogflow.v2.Documents * @typedef ExportDocumentCallback * @type {function} @@ -59575,62 +63537,72 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 3: - message.mimeType = reader.string(); - break; - case 4: - if (!(message.knowledgeTypes && message.knowledgeTypes.length)) - message.knowledgeTypes = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 3: { + message.mimeType = reader.string(); + break; + } + case 4: { + if (!(message.knowledgeTypes && message.knowledgeTypes.length)) + message.knowledgeTypes = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.knowledgeTypes.push(reader.int32()); + } else message.knowledgeTypes.push(reader.int32()); - } else - message.knowledgeTypes.push(reader.int32()); - break; - case 5: - message.contentUri = reader.string(); - break; - case 9: - message.rawContent = reader.bytes(); - break; - case 11: - message.enableAutoReload = reader.bool(); - break; - case 12: - message.latestReloadStatus = $root.google.cloud.dialogflow.v2.Document.ReloadStatus.decode(reader, reader.uint32()); - break; - case 7: - if (message.metadata === $util.emptyObject) - message.metadata = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; + break; + } + case 5: { + message.contentUri = reader.string(); + break; + } + case 9: { + message.rawContent = reader.bytes(); + break; + } + case 11: { + message.enableAutoReload = reader.bool(); + break; + } + case 12: { + message.latestReloadStatus = $root.google.cloud.dialogflow.v2.Document.ReloadStatus.decode(reader, reader.uint32()); + break; + } + case 7: { + if (message.metadata === $util.emptyObject) + message.metadata = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.metadata[key] = value; + break; + } + case 13: { + message.state = reader.int32(); + break; } - message.metadata[key] = value; - break; - case 13: - message.state = reader.int32(); - break; default: reader.skipType(tag & 7); break; @@ -59786,7 +63758,7 @@ if (object.rawContent != null) if (typeof object.rawContent === "string") $util.base64.decode(object.rawContent, message.rawContent = $util.newBuffer($util.base64.length(object.rawContent)), 0); - else if (object.rawContent.length) + else if (object.rawContent.length >= 0) message.rawContent = object.rawContent; if (object.enableAutoReload != null) message.enableAutoReload = Boolean(object.enableAutoReload); @@ -59903,6 +63875,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Document + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Document + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Document.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Document"; + }; + /** * KnowledgeType enum. * @name google.cloud.dialogflow.v2.Document.KnowledgeType @@ -60026,12 +64013,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.time = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 2: - message.status = $root.google.rpc.Status.decode(reader, reader.uint32()); - break; + case 1: { + message.time = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 2: { + message.status = $root.google.rpc.Status.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -60140,6 +64129,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ReloadStatus + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Document.ReloadStatus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReloadStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Document.ReloadStatus"; + }; + return ReloadStatus; })(); @@ -60260,9 +64264,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -60352,6 +64357,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetDocumentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.GetDocumentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetDocumentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.GetDocumentRequest"; + }; + return GetDocumentRequest; })(); @@ -60480,18 +64500,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; - case 4: - message.filter = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } + case 4: { + message.filter = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -60606,6 +64630,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListDocumentsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListDocumentsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListDocumentsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListDocumentsRequest"; + }; + return ListDocumentsRequest; })(); @@ -60714,14 +64753,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.documents && message.documents.length)) - message.documents = []; - message.documents.push($root.google.cloud.dialogflow.v2.Document.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.documents && message.documents.length)) + message.documents = []; + message.documents.push($root.google.cloud.dialogflow.v2.Document.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -60837,6 +64878,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListDocumentsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListDocumentsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListDocumentsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListDocumentsResponse"; + }; + return ListDocumentsResponse; })(); @@ -60943,12 +64999,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.document = $root.google.cloud.dialogflow.v2.Document.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.document = $root.google.cloud.dialogflow.v2.Document.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -61052,6 +65110,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateDocumentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.CreateDocumentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateDocumentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.CreateDocumentRequest"; + }; + return CreateDocumentRequest; })(); @@ -61194,18 +65267,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.gcsSource = $root.google.cloud.dialogflow.v2.GcsSources.decode(reader, reader.uint32()); - break; - case 3: - message.documentTemplate = $root.google.cloud.dialogflow.v2.ImportDocumentTemplate.decode(reader, reader.uint32()); - break; - case 4: - message.importGcsCustomMetadata = reader.bool(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.gcsSource = $root.google.cloud.dialogflow.v2.GcsSources.decode(reader, reader.uint32()); + break; + } + case 3: { + message.documentTemplate = $root.google.cloud.dialogflow.v2.ImportDocumentTemplate.decode(reader, reader.uint32()); + break; + } + case 4: { + message.importGcsCustomMetadata = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -61336,6 +65413,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ImportDocumentsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ImportDocumentsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ImportDocumentsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ImportDocumentsRequest"; + }; + return ImportDocumentsRequest; })(); @@ -61460,41 +65552,44 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.mimeType = reader.string(); - break; - case 2: - if (!(message.knowledgeTypes && message.knowledgeTypes.length)) - message.knowledgeTypes = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.mimeType = reader.string(); + break; + } + case 2: { + if (!(message.knowledgeTypes && message.knowledgeTypes.length)) + message.knowledgeTypes = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.knowledgeTypes.push(reader.int32()); + } else message.knowledgeTypes.push(reader.int32()); - } else - message.knowledgeTypes.push(reader.int32()); - break; - case 3: - if (message.metadata === $util.emptyObject) - message.metadata = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; + break; + } + case 3: { + if (message.metadata === $util.emptyObject) + message.metadata = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.metadata[key] = value; + break; } - message.metadata[key] = value; - break; default: reader.skipType(tag & 7); break; @@ -61658,6 +65753,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ImportDocumentTemplate + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ImportDocumentTemplate + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ImportDocumentTemplate.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ImportDocumentTemplate"; + }; + return ImportDocumentTemplate; })(); @@ -61755,11 +65865,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.warnings && message.warnings.length)) - message.warnings = []; - message.warnings.push($root.google.rpc.Status.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.warnings && message.warnings.length)) + message.warnings = []; + message.warnings.push($root.google.rpc.Status.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -61866,6 +65977,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ImportDocumentsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ImportDocumentsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ImportDocumentsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ImportDocumentsResponse"; + }; + return ImportDocumentsResponse; })(); @@ -61961,9 +66087,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -62053,6 +66180,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteDocumentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.DeleteDocumentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteDocumentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.DeleteDocumentRequest"; + }; + return DeleteDocumentRequest; })(); @@ -62159,12 +66301,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.document = $root.google.cloud.dialogflow.v2.Document.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.document = $root.google.cloud.dialogflow.v2.Document.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -62273,6 +66417,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateDocumentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.UpdateDocumentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateDocumentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.UpdateDocumentRequest"; + }; + return UpdateDocumentRequest; })(); @@ -62415,18 +66574,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 3: - message.contentUri = reader.string(); - break; - case 4: - message.importGcsCustomMetadata = reader.bool(); - break; - case 5: - message.smartMessagingPartialUpdate = reader.bool(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 3: { + message.contentUri = reader.string(); + break; + } + case 4: { + message.importGcsCustomMetadata = reader.bool(); + break; + } + case 5: { + message.smartMessagingPartialUpdate = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -62546,6 +66709,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ReloadDocumentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ReloadDocumentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReloadDocumentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ReloadDocumentRequest"; + }; + return ReloadDocumentRequest; })(); @@ -62688,18 +66866,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.gcsDestination = $root.google.cloud.dialogflow.v2.GcsDestination.decode(reader, reader.uint32()); - break; - case 3: - message.exportFullContent = reader.bool(); - break; - case 5: - message.smartMessagingPartialUpdate = reader.bool(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.gcsDestination = $root.google.cloud.dialogflow.v2.GcsDestination.decode(reader, reader.uint32()); + break; + } + case 3: { + message.exportFullContent = reader.bool(); + break; + } + case 5: { + message.smartMessagingPartialUpdate = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -62825,6 +67007,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ExportDocumentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ExportDocumentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ExportDocumentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ExportDocumentRequest"; + }; + return ExportDocumentRequest; })(); @@ -62920,9 +67117,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.exportedGcsDestination = $root.google.cloud.dialogflow.v2.GcsDestination.decode(reader, reader.uint32()); - break; + case 1: { + message.exportedGcsDestination = $root.google.cloud.dialogflow.v2.GcsDestination.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -63017,6 +67215,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ExportOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ExportOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ExportOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ExportOperationMetadata"; + }; + return ExportOperationMetadata; })(); @@ -63148,15 +67361,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.state = reader.int32(); - break; - case 3: - message.knowledgeBase = reader.string(); - break; - case 4: - message.exportOperationMetadata = $root.google.cloud.dialogflow.v2.ExportOperationMetadata.decode(reader, reader.uint32()); - break; + case 1: { + message.state = reader.int32(); + break; + } + case 3: { + message.knowledgeBase = reader.string(); + break; + } + case 4: { + message.exportOperationMetadata = $root.google.cloud.dialogflow.v2.ExportOperationMetadata.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -63297,6 +67513,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for KnowledgeOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.KnowledgeOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + KnowledgeOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.KnowledgeOperationMetadata"; + }; + /** * State enum. * @name google.cloud.dialogflow.v2.KnowledgeOperationMetadata.State @@ -63351,7 +67582,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Environments#listEnvironments}. + * Callback as used by {@link google.cloud.dialogflow.v2.Environments|listEnvironments}. * @memberof google.cloud.dialogflow.v2.Environments * @typedef ListEnvironmentsCallback * @type {function} @@ -63384,7 +67615,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Environments#getEnvironment}. + * Callback as used by {@link google.cloud.dialogflow.v2.Environments|getEnvironment}. * @memberof google.cloud.dialogflow.v2.Environments * @typedef GetEnvironmentCallback * @type {function} @@ -63417,7 +67648,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Environments#createEnvironment}. + * Callback as used by {@link google.cloud.dialogflow.v2.Environments|createEnvironment}. * @memberof google.cloud.dialogflow.v2.Environments * @typedef CreateEnvironmentCallback * @type {function} @@ -63450,7 +67681,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Environments#updateEnvironment}. + * Callback as used by {@link google.cloud.dialogflow.v2.Environments|updateEnvironment}. * @memberof google.cloud.dialogflow.v2.Environments * @typedef UpdateEnvironmentCallback * @type {function} @@ -63483,7 +67714,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Environments#deleteEnvironment}. + * Callback as used by {@link google.cloud.dialogflow.v2.Environments|deleteEnvironment}. * @memberof google.cloud.dialogflow.v2.Environments * @typedef DeleteEnvironmentCallback * @type {function} @@ -63516,7 +67747,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Environments#getEnvironmentHistory}. + * Callback as used by {@link google.cloud.dialogflow.v2.Environments|getEnvironmentHistory}. * @memberof google.cloud.dialogflow.v2.Environments * @typedef GetEnvironmentHistoryCallback * @type {function} @@ -63709,27 +67940,34 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.agentVersion = reader.string(); - break; - case 4: - message.state = reader.int32(); - break; - case 5: - message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 7: - message.textToSpeechSettings = $root.google.cloud.dialogflow.v2.TextToSpeechSettings.decode(reader, reader.uint32()); - break; - case 8: - message.fulfillment = $root.google.cloud.dialogflow.v2.Fulfillment.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.description = reader.string(); + break; + } + case 3: { + message.agentVersion = reader.string(); + break; + } + case 4: { + message.state = reader.int32(); + break; + } + case 5: { + message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 7: { + message.textToSpeechSettings = $root.google.cloud.dialogflow.v2.TextToSpeechSettings.decode(reader, reader.uint32()); + break; + } + case 8: { + message.fulfillment = $root.google.cloud.dialogflow.v2.Fulfillment.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -63906,6 +68144,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Environment + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Environment + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Environment.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Environment"; + }; + /** * State enum. * @name google.cloud.dialogflow.v2.Environment.State @@ -64056,37 +68309,41 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.enableTextToSpeech = reader.bool(); - break; - case 2: - message.outputAudioEncoding = reader.int32(); - break; - case 3: - message.sampleRateHertz = reader.int32(); - break; - case 4: - if (message.synthesizeSpeechConfigs === $util.emptyObject) - message.synthesizeSpeechConfigs = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = null; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = $root.google.cloud.dialogflow.v2.SynthesizeSpeechConfig.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + message.enableTextToSpeech = reader.bool(); + break; + } + case 2: { + message.outputAudioEncoding = reader.int32(); + break; + } + case 3: { + message.sampleRateHertz = reader.int32(); + break; + } + case 4: { + if (message.synthesizeSpeechConfigs === $util.emptyObject) + message.synthesizeSpeechConfigs = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = null; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = $root.google.cloud.dialogflow.v2.SynthesizeSpeechConfig.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.synthesizeSpeechConfigs[key] = value; + break; } - message.synthesizeSpeechConfigs[key] = value; - break; default: reader.skipType(tag & 7); break; @@ -64254,6 +68511,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TextToSpeechSettings + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.TextToSpeechSettings + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TextToSpeechSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.TextToSpeechSettings"; + }; + return TextToSpeechSettings; })(); @@ -64371,15 +68643,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -64486,6 +68761,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListEnvironmentsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListEnvironmentsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListEnvironmentsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListEnvironmentsRequest"; + }; + return ListEnvironmentsRequest; })(); @@ -64594,14 +68884,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.environments && message.environments.length)) - message.environments = []; - message.environments.push($root.google.cloud.dialogflow.v2.Environment.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.environments && message.environments.length)) + message.environments = []; + message.environments.push($root.google.cloud.dialogflow.v2.Environment.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -64717,6 +69009,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListEnvironmentsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListEnvironmentsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListEnvironmentsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListEnvironmentsResponse"; + }; + return ListEnvironmentsResponse; })(); @@ -64812,9 +69119,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -64904,6 +69212,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetEnvironmentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.GetEnvironmentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetEnvironmentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.GetEnvironmentRequest"; + }; + return GetEnvironmentRequest; })(); @@ -65021,15 +69344,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.environment = $root.google.cloud.dialogflow.v2.Environment.decode(reader, reader.uint32()); - break; - case 3: - message.environmentId = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.environment = $root.google.cloud.dialogflow.v2.Environment.decode(reader, reader.uint32()); + break; + } + case 3: { + message.environmentId = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -65141,6 +69467,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateEnvironmentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.CreateEnvironmentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateEnvironmentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.CreateEnvironmentRequest"; + }; + return CreateEnvironmentRequest; })(); @@ -65258,15 +69599,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.environment = $root.google.cloud.dialogflow.v2.Environment.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; - case 3: - message.allowLoadToDraftAndDiscardChanges = reader.bool(); - break; + case 1: { + message.environment = $root.google.cloud.dialogflow.v2.Environment.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } + case 3: { + message.allowLoadToDraftAndDiscardChanges = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -65383,6 +69727,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateEnvironmentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.UpdateEnvironmentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateEnvironmentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.UpdateEnvironmentRequest"; + }; + return UpdateEnvironmentRequest; })(); @@ -65478,9 +69837,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -65570,6 +69930,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteEnvironmentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.DeleteEnvironmentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteEnvironmentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.DeleteEnvironmentRequest"; + }; + return DeleteEnvironmentRequest; })(); @@ -65687,15 +70062,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -65802,6 +70180,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetEnvironmentHistoryRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.GetEnvironmentHistoryRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetEnvironmentHistoryRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.GetEnvironmentHistoryRequest"; + }; + return GetEnvironmentHistoryRequest; })(); @@ -65921,17 +70314,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - if (!(message.entries && message.entries.length)) - message.entries = []; - message.entries.push($root.google.cloud.dialogflow.v2.EnvironmentHistory.Entry.decode(reader, reader.uint32())); - break; - case 3: - message.nextPageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + if (!(message.entries && message.entries.length)) + message.entries = []; + message.entries.push($root.google.cloud.dialogflow.v2.EnvironmentHistory.Entry.decode(reader, reader.uint32())); + break; + } + case 3: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -66056,6 +70452,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EnvironmentHistory + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.EnvironmentHistory + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EnvironmentHistory.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.EnvironmentHistory"; + }; + EnvironmentHistory.Entry = (function() { /** @@ -66170,15 +70581,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.agentVersion = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + case 1: { + message.agentVersion = reader.string(); + break; + } + case 2: { + message.description = reader.string(); + break; + } + case 3: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -66290,6 +70704,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Entry + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.EnvironmentHistory.Entry + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Entry.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.EnvironmentHistory.Entry"; + }; + return Entry; })(); @@ -66329,7 +70758,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Fulfillments#getFulfillment}. + * Callback as used by {@link google.cloud.dialogflow.v2.Fulfillments|getFulfillment}. * @memberof google.cloud.dialogflow.v2.Fulfillments * @typedef GetFulfillmentCallback * @type {function} @@ -66362,7 +70791,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Fulfillments#updateFulfillment}. + * Callback as used by {@link google.cloud.dialogflow.v2.Fulfillments|updateFulfillment}. * @memberof google.cloud.dialogflow.v2.Fulfillments * @typedef UpdateFulfillmentCallback * @type {function} @@ -66549,23 +70978,28 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 3: - message.genericWebService = $root.google.cloud.dialogflow.v2.Fulfillment.GenericWebService.decode(reader, reader.uint32()); - break; - case 4: - message.enabled = reader.bool(); - break; - case 5: - if (!(message.features && message.features.length)) - message.features = []; - message.features.push($root.google.cloud.dialogflow.v2.Fulfillment.Feature.decode(reader, reader.uint32())); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 3: { + message.genericWebService = $root.google.cloud.dialogflow.v2.Fulfillment.GenericWebService.decode(reader, reader.uint32()); + break; + } + case 4: { + message.enabled = reader.bool(); + break; + } + case 5: { + if (!(message.features && message.features.length)) + message.features = []; + message.features.push($root.google.cloud.dialogflow.v2.Fulfillment.Feature.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -66717,6 +71151,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Fulfillment + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Fulfillment + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Fulfillment.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Fulfillment"; + }; + Fulfillment.GenericWebService = (function() { /** @@ -66855,40 +71304,45 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.uri = reader.string(); - break; - case 2: - message.username = reader.string(); - break; - case 3: - message.password = reader.string(); - break; - case 4: - if (message.requestHeaders === $util.emptyObject) - message.requestHeaders = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + message.uri = reader.string(); + break; + } + case 2: { + message.username = reader.string(); + break; + } + case 3: { + message.password = reader.string(); + break; + } + case 4: { + if (message.requestHeaders === $util.emptyObject) + message.requestHeaders = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.requestHeaders[key] = value; + break; + } + case 5: { + message.isCloudFunction = reader.bool(); + break; } - message.requestHeaders[key] = value; - break; - case 5: - message.isCloudFunction = reader.bool(); - break; default: reader.skipType(tag & 7); break; @@ -67026,6 +71480,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GenericWebService + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Fulfillment.GenericWebService + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GenericWebService.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Fulfillment.GenericWebService"; + }; + return GenericWebService; })(); @@ -67121,9 +71590,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type = reader.int32(); - break; + case 1: { + message.type = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -67226,6 +71696,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Feature + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Fulfillment.Feature + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Feature.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Fulfillment.Feature"; + }; + /** * Type enum. * @name google.cloud.dialogflow.v2.Fulfillment.Feature.Type @@ -67338,9 +71823,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -67430,6 +71916,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetFulfillmentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.GetFulfillmentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetFulfillmentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.GetFulfillmentRequest"; + }; + return GetFulfillmentRequest; })(); @@ -67536,12 +72037,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.fulfillment = $root.google.cloud.dialogflow.v2.Fulfillment.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.fulfillment = $root.google.cloud.dialogflow.v2.Fulfillment.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -67650,6 +72153,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateFulfillmentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.UpdateFulfillmentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateFulfillmentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.UpdateFulfillmentRequest"; + }; + return UpdateFulfillmentRequest; })(); @@ -67769,17 +72287,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversation = reader.string(); - break; - case 3: - message.participant = reader.string(); - break; - case 5: - if (!(message.suggestionResults && message.suggestionResults.length)) - message.suggestionResults = []; - message.suggestionResults.push($root.google.cloud.dialogflow.v2.SuggestionResult.decode(reader, reader.uint32())); - break; + case 1: { + message.conversation = reader.string(); + break; + } + case 3: { + message.participant = reader.string(); + break; + } + case 5: { + if (!(message.suggestionResults && message.suggestionResults.length)) + message.suggestionResults = []; + message.suggestionResults.push($root.google.cloud.dialogflow.v2.SuggestionResult.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -67904,6 +72425,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for HumanAgentAssistantEvent + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.HumanAgentAssistantEvent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + HumanAgentAssistantEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.HumanAgentAssistantEvent"; + }; + return HumanAgentAssistantEvent; })(); @@ -67940,7 +72476,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2.KnowledgeBases#listKnowledgeBases}. + * Callback as used by {@link google.cloud.dialogflow.v2.KnowledgeBases|listKnowledgeBases}. * @memberof google.cloud.dialogflow.v2.KnowledgeBases * @typedef ListKnowledgeBasesCallback * @type {function} @@ -67973,7 +72509,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.KnowledgeBases#getKnowledgeBase}. + * Callback as used by {@link google.cloud.dialogflow.v2.KnowledgeBases|getKnowledgeBase}. * @memberof google.cloud.dialogflow.v2.KnowledgeBases * @typedef GetKnowledgeBaseCallback * @type {function} @@ -68006,7 +72542,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.KnowledgeBases#createKnowledgeBase}. + * Callback as used by {@link google.cloud.dialogflow.v2.KnowledgeBases|createKnowledgeBase}. * @memberof google.cloud.dialogflow.v2.KnowledgeBases * @typedef CreateKnowledgeBaseCallback * @type {function} @@ -68039,7 +72575,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.KnowledgeBases#deleteKnowledgeBase}. + * Callback as used by {@link google.cloud.dialogflow.v2.KnowledgeBases|deleteKnowledgeBase}. * @memberof google.cloud.dialogflow.v2.KnowledgeBases * @typedef DeleteKnowledgeBaseCallback * @type {function} @@ -68072,7 +72608,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.KnowledgeBases#updateKnowledgeBase}. + * Callback as used by {@link google.cloud.dialogflow.v2.KnowledgeBases|updateKnowledgeBase}. * @memberof google.cloud.dialogflow.v2.KnowledgeBases * @typedef UpdateKnowledgeBaseCallback * @type {function} @@ -68221,15 +72757,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 4: - message.languageCode = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 4: { + message.languageCode = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -68336,6 +72875,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for KnowledgeBase + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.KnowledgeBase + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + KnowledgeBase.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.KnowledgeBase"; + }; + return KnowledgeBase; })(); @@ -68464,18 +73018,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; - case 4: - message.filter = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } + case 4: { + message.filter = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -68590,6 +73148,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListKnowledgeBasesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListKnowledgeBasesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListKnowledgeBasesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListKnowledgeBasesRequest"; + }; + return ListKnowledgeBasesRequest; })(); @@ -68698,14 +73271,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.knowledgeBases && message.knowledgeBases.length)) - message.knowledgeBases = []; - message.knowledgeBases.push($root.google.cloud.dialogflow.v2.KnowledgeBase.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.knowledgeBases && message.knowledgeBases.length)) + message.knowledgeBases = []; + message.knowledgeBases.push($root.google.cloud.dialogflow.v2.KnowledgeBase.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -68821,6 +73396,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListKnowledgeBasesResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListKnowledgeBasesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListKnowledgeBasesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListKnowledgeBasesResponse"; + }; + return ListKnowledgeBasesResponse; })(); @@ -68916,9 +73506,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -69008,6 +73599,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetKnowledgeBaseRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.GetKnowledgeBaseRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetKnowledgeBaseRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.GetKnowledgeBaseRequest"; + }; + return GetKnowledgeBaseRequest; })(); @@ -69114,12 +73720,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.knowledgeBase = $root.google.cloud.dialogflow.v2.KnowledgeBase.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.knowledgeBase = $root.google.cloud.dialogflow.v2.KnowledgeBase.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -69223,6 +73831,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateKnowledgeBaseRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.CreateKnowledgeBaseRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateKnowledgeBaseRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.CreateKnowledgeBaseRequest"; + }; + return CreateKnowledgeBaseRequest; })(); @@ -69329,12 +73952,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.force = reader.bool(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.force = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -69433,6 +74058,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteKnowledgeBaseRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.DeleteKnowledgeBaseRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteKnowledgeBaseRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.DeleteKnowledgeBaseRequest"; + }; + return DeleteKnowledgeBaseRequest; })(); @@ -69539,12 +74179,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.knowledgeBase = $root.google.cloud.dialogflow.v2.KnowledgeBase.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.knowledgeBase = $root.google.cloud.dialogflow.v2.KnowledgeBase.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -69653,6 +74295,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateKnowledgeBaseRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.UpdateKnowledgeBaseRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateKnowledgeBaseRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.UpdateKnowledgeBaseRequest"; + }; + return UpdateKnowledgeBaseRequest; })(); @@ -69689,7 +74346,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2.Versions#listVersions}. + * Callback as used by {@link google.cloud.dialogflow.v2.Versions|listVersions}. * @memberof google.cloud.dialogflow.v2.Versions * @typedef ListVersionsCallback * @type {function} @@ -69722,7 +74379,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Versions#getVersion}. + * Callback as used by {@link google.cloud.dialogflow.v2.Versions|getVersion}. * @memberof google.cloud.dialogflow.v2.Versions * @typedef GetVersionCallback * @type {function} @@ -69755,7 +74412,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Versions#createVersion}. + * Callback as used by {@link google.cloud.dialogflow.v2.Versions|createVersion}. * @memberof google.cloud.dialogflow.v2.Versions * @typedef CreateVersionCallback * @type {function} @@ -69788,7 +74445,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Versions#updateVersion}. + * Callback as used by {@link google.cloud.dialogflow.v2.Versions|updateVersion}. * @memberof google.cloud.dialogflow.v2.Versions * @typedef UpdateVersionCallback * @type {function} @@ -69821,7 +74478,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2.Versions#deleteVersion}. + * Callback as used by {@link google.cloud.dialogflow.v2.Versions|deleteVersion}. * @memberof google.cloud.dialogflow.v2.Versions * @typedef DeleteVersionCallback * @type {function} @@ -69992,21 +74649,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.versionNumber = reader.int32(); - break; - case 4: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 6: - message.status = reader.int32(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.description = reader.string(); + break; + } + case 3: { + message.versionNumber = reader.int32(); + break; + } + case 4: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 6: { + message.status = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -70157,6 +74819,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Version + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.Version + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Version.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.Version"; + }; + /** * VersionStatus enum. * @name google.cloud.dialogflow.v2.Version.VersionStatus @@ -70292,15 +74969,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -70407,6 +75087,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListVersionsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListVersionsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListVersionsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListVersionsRequest"; + }; + return ListVersionsRequest; })(); @@ -70515,14 +75210,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.versions && message.versions.length)) - message.versions = []; - message.versions.push($root.google.cloud.dialogflow.v2.Version.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.versions && message.versions.length)) + message.versions = []; + message.versions.push($root.google.cloud.dialogflow.v2.Version.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -70638,6 +75335,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListVersionsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.ListVersionsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListVersionsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.ListVersionsResponse"; + }; + return ListVersionsResponse; })(); @@ -70733,9 +75445,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -70825,6 +75538,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetVersionRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.GetVersionRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetVersionRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.GetVersionRequest"; + }; + return GetVersionRequest; })(); @@ -70931,12 +75659,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.version = $root.google.cloud.dialogflow.v2.Version.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.version = $root.google.cloud.dialogflow.v2.Version.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -71040,6 +75770,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateVersionRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.CreateVersionRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateVersionRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.CreateVersionRequest"; + }; + return CreateVersionRequest; })(); @@ -71146,12 +75891,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.version = $root.google.cloud.dialogflow.v2.Version.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.version = $root.google.cloud.dialogflow.v2.Version.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -71260,6 +76007,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateVersionRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.UpdateVersionRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateVersionRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.UpdateVersionRequest"; + }; + return UpdateVersionRequest; })(); @@ -71355,9 +76117,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -71447,6 +76210,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteVersionRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.DeleteVersionRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteVersionRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.DeleteVersionRequest"; + }; + return DeleteVersionRequest; })(); @@ -71575,18 +76353,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 4: - message.session = reader.string(); - break; - case 1: - message.responseId = reader.string(); - break; - case 2: - message.queryResult = $root.google.cloud.dialogflow.v2.QueryResult.decode(reader, reader.uint32()); - break; - case 3: - message.originalDetectIntentRequest = $root.google.cloud.dialogflow.v2.OriginalDetectIntentRequest.decode(reader, reader.uint32()); - break; + case 4: { + message.session = reader.string(); + break; + } + case 1: { + message.responseId = reader.string(); + break; + } + case 2: { + message.queryResult = $root.google.cloud.dialogflow.v2.QueryResult.decode(reader, reader.uint32()); + break; + } + case 3: { + message.originalDetectIntentRequest = $root.google.cloud.dialogflow.v2.OriginalDetectIntentRequest.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -71711,6 +76493,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for WebhookRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.WebhookRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + WebhookRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.WebhookRequest"; + }; + return WebhookRequest; })(); @@ -71878,33 +76675,40 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.fulfillmentText = reader.string(); - break; - case 2: - if (!(message.fulfillmentMessages && message.fulfillmentMessages.length)) - message.fulfillmentMessages = []; - message.fulfillmentMessages.push($root.google.cloud.dialogflow.v2.Intent.Message.decode(reader, reader.uint32())); - break; - case 3: - message.source = reader.string(); - break; - case 4: - message.payload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 5: - if (!(message.outputContexts && message.outputContexts.length)) - message.outputContexts = []; - message.outputContexts.push($root.google.cloud.dialogflow.v2.Context.decode(reader, reader.uint32())); - break; - case 6: - message.followupEventInput = $root.google.cloud.dialogflow.v2.EventInput.decode(reader, reader.uint32()); - break; - case 10: - if (!(message.sessionEntityTypes && message.sessionEntityTypes.length)) - message.sessionEntityTypes = []; - message.sessionEntityTypes.push($root.google.cloud.dialogflow.v2.SessionEntityType.decode(reader, reader.uint32())); - break; + case 1: { + message.fulfillmentText = reader.string(); + break; + } + case 2: { + if (!(message.fulfillmentMessages && message.fulfillmentMessages.length)) + message.fulfillmentMessages = []; + message.fulfillmentMessages.push($root.google.cloud.dialogflow.v2.Intent.Message.decode(reader, reader.uint32())); + break; + } + case 3: { + message.source = reader.string(); + break; + } + case 4: { + message.payload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 5: { + if (!(message.outputContexts && message.outputContexts.length)) + message.outputContexts = []; + message.outputContexts.push($root.google.cloud.dialogflow.v2.Context.decode(reader, reader.uint32())); + break; + } + case 6: { + message.followupEventInput = $root.google.cloud.dialogflow.v2.EventInput.decode(reader, reader.uint32()); + break; + } + case 10: { + if (!(message.sessionEntityTypes && message.sessionEntityTypes.length)) + message.sessionEntityTypes = []; + message.sessionEntityTypes.push($root.google.cloud.dialogflow.v2.SessionEntityType.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -72106,6 +76910,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for WebhookResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.WebhookResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + WebhookResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.WebhookResponse"; + }; + return WebhookResponse; })(); @@ -72223,15 +77042,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.source = reader.string(); - break; - case 2: - message.version = reader.string(); - break; - case 3: - message.payload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; + case 1: { + message.source = reader.string(); + break; + } + case 2: { + message.version = reader.string(); + break; + } + case 3: { + message.payload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -72343,6 +77165,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for OriginalDetectIntentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2.OriginalDetectIntentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + OriginalDetectIntentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2.OriginalDetectIntentRequest"; + }; + return OriginalDetectIntentRequest; })(); @@ -72391,7 +77228,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents#getAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents|getAgent}. * @memberof google.cloud.dialogflow.v2beta1.Agents * @typedef GetAgentCallback * @type {function} @@ -72424,7 +77261,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents#setAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents|setAgent}. * @memberof google.cloud.dialogflow.v2beta1.Agents * @typedef SetAgentCallback * @type {function} @@ -72457,7 +77294,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents#deleteAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents|deleteAgent}. * @memberof google.cloud.dialogflow.v2beta1.Agents * @typedef DeleteAgentCallback * @type {function} @@ -72490,7 +77327,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents#searchAgents}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents|searchAgents}. * @memberof google.cloud.dialogflow.v2beta1.Agents * @typedef SearchAgentsCallback * @type {function} @@ -72523,7 +77360,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents#trainAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents|trainAgent}. * @memberof google.cloud.dialogflow.v2beta1.Agents * @typedef TrainAgentCallback * @type {function} @@ -72556,7 +77393,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents#exportAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents|exportAgent}. * @memberof google.cloud.dialogflow.v2beta1.Agents * @typedef ExportAgentCallback * @type {function} @@ -72589,7 +77426,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents#importAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents|importAgent}. * @memberof google.cloud.dialogflow.v2beta1.Agents * @typedef ImportAgentCallback * @type {function} @@ -72622,7 +77459,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents#restoreAgent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents|restoreAgent}. * @memberof google.cloud.dialogflow.v2beta1.Agents * @typedef RestoreAgentCallback * @type {function} @@ -72655,7 +77492,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents#getValidationResult}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Agents|getValidationResult}. * @memberof google.cloud.dialogflow.v2beta1.Agents * @typedef GetValidationResultCallback * @type {function} @@ -72905,44 +77742,56 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 3: - message.defaultLanguageCode = reader.string(); - break; - case 4: - if (!(message.supportedLanguageCodes && message.supportedLanguageCodes.length)) - message.supportedLanguageCodes = []; - message.supportedLanguageCodes.push(reader.string()); - break; - case 5: - message.timeZone = reader.string(); - break; - case 6: - message.description = reader.string(); - break; - case 7: - message.avatarUri = reader.string(); - break; - case 8: - message.enableLogging = reader.bool(); - break; - case 9: - message.matchMode = reader.int32(); - break; - case 10: - message.classificationThreshold = reader.float(); - break; - case 14: - message.apiVersion = reader.int32(); - break; - case 15: - message.tier = reader.int32(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 3: { + message.defaultLanguageCode = reader.string(); + break; + } + case 4: { + if (!(message.supportedLanguageCodes && message.supportedLanguageCodes.length)) + message.supportedLanguageCodes = []; + message.supportedLanguageCodes.push(reader.string()); + break; + } + case 5: { + message.timeZone = reader.string(); + break; + } + case 6: { + message.description = reader.string(); + break; + } + case 7: { + message.avatarUri = reader.string(); + break; + } + case 8: { + message.enableLogging = reader.bool(); + break; + } + case 9: { + message.matchMode = reader.int32(); + break; + } + case 10: { + message.classificationThreshold = reader.float(); + break; + } + case 14: { + message.apiVersion = reader.int32(); + break; + } + case 15: { + message.tier = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -73198,6 +78047,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Agent + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Agent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Agent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Agent"; + }; + /** * MatchMode enum. * @name google.cloud.dialogflow.v2beta1.Agent.MatchMode @@ -73345,9 +78209,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -73437,6 +78302,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetAgentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.GetAgentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetAgentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.GetAgentRequest"; + }; + return GetAgentRequest; })(); @@ -73543,12 +78423,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.agent = $root.google.cloud.dialogflow.v2beta1.Agent.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.agent = $root.google.cloud.dialogflow.v2beta1.Agent.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -73657,6 +78539,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SetAgentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SetAgentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SetAgentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SetAgentRequest"; + }; + return SetAgentRequest; })(); @@ -73752,9 +78649,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -73844,6 +78742,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteAgentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.DeleteAgentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteAgentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.DeleteAgentRequest"; + }; + return DeleteAgentRequest; })(); @@ -73950,12 +78863,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.project = reader.string(); - break; - case 2: - message.environment = reader.string(); - break; + case 1: { + message.project = reader.string(); + break; + } + case 2: { + message.environment = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -74054,6 +78969,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SubAgent + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SubAgent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SubAgent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SubAgent"; + }; + return SubAgent; })(); @@ -74171,15 +79101,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -74286,6 +79219,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SearchAgentsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SearchAgentsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SearchAgentsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SearchAgentsRequest"; + }; + return SearchAgentsRequest; })(); @@ -74394,14 +79342,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.agents && message.agents.length)) - message.agents = []; - message.agents.push($root.google.cloud.dialogflow.v2beta1.Agent.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.agents && message.agents.length)) + message.agents = []; + message.agents.push($root.google.cloud.dialogflow.v2beta1.Agent.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -74517,6 +79467,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SearchAgentsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SearchAgentsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SearchAgentsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SearchAgentsResponse"; + }; + return SearchAgentsResponse; })(); @@ -74612,9 +79577,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -74704,6 +79670,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TrainAgentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.TrainAgentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TrainAgentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.TrainAgentRequest"; + }; + return TrainAgentRequest; })(); @@ -74810,12 +79791,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.agentUri = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.agentUri = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -74914,6 +79897,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ExportAgentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ExportAgentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ExportAgentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ExportAgentRequest"; + }; + return ExportAgentRequest; })(); @@ -75034,12 +80032,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.agentUri = reader.string(); - break; - case 2: - message.agentContent = reader.bytes(); - break; + case 1: { + message.agentUri = reader.string(); + break; + } + case 2: { + message.agentContent = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -75108,7 +80108,7 @@ if (object.agentContent != null) if (typeof object.agentContent === "string") $util.base64.decode(object.agentContent, message.agentContent = $util.newBuffer($util.base64.length(object.agentContent)), 0); - else if (object.agentContent.length) + else if (object.agentContent.length >= 0) message.agentContent = object.agentContent; return message; }; @@ -75150,6 +80150,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ExportAgentResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ExportAgentResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ExportAgentResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ExportAgentResponse"; + }; + return ExportAgentResponse; })(); @@ -75281,15 +80296,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.agentUri = reader.string(); - break; - case 3: - message.agentContent = reader.bytes(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.agentUri = reader.string(); + break; + } + case 3: { + message.agentContent = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -75363,7 +80381,7 @@ if (object.agentContent != null) if (typeof object.agentContent === "string") $util.base64.decode(object.agentContent, message.agentContent = $util.newBuffer($util.base64.length(object.agentContent)), 0); - else if (object.agentContent.length) + else if (object.agentContent.length >= 0) message.agentContent = object.agentContent; return message; }; @@ -75409,6 +80427,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ImportAgentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ImportAgentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ImportAgentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ImportAgentRequest"; + }; + return ImportAgentRequest; })(); @@ -75540,15 +80573,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.agentUri = reader.string(); - break; - case 3: - message.agentContent = reader.bytes(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.agentUri = reader.string(); + break; + } + case 3: { + message.agentContent = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -75622,7 +80658,7 @@ if (object.agentContent != null) if (typeof object.agentContent === "string") $util.base64.decode(object.agentContent, message.agentContent = $util.newBuffer($util.base64.length(object.agentContent)), 0); - else if (object.agentContent.length) + else if (object.agentContent.length >= 0) message.agentContent = object.agentContent; return message; }; @@ -75668,6 +80704,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for RestoreAgentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.RestoreAgentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RestoreAgentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.RestoreAgentRequest"; + }; + return RestoreAgentRequest; })(); @@ -75774,12 +80825,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 3: - message.languageCode = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 3: { + message.languageCode = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -75878,6 +80931,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetValidationResultRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.GetValidationResultRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetValidationResultRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.GetValidationResultRequest"; + }; + return GetValidationResultRequest; })(); @@ -75997,17 +81065,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.severity = reader.int32(); - break; - case 3: - if (!(message.entries && message.entries.length)) - message.entries = []; - message.entries.push(reader.string()); - break; - case 4: - message.errorMessage = reader.string(); - break; + case 1: { + message.severity = reader.int32(); + break; + } + case 3: { + if (!(message.entries && message.entries.length)) + message.entries = []; + message.entries.push(reader.string()); + break; + } + case 4: { + message.errorMessage = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -76155,6 +81226,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ValidationError + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ValidationError + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ValidationError.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ValidationError"; + }; + /** * Severity enum. * @name google.cloud.dialogflow.v2beta1.ValidationError.Severity @@ -76272,11 +81358,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.validationErrors && message.validationErrors.length)) - message.validationErrors = []; - message.validationErrors.push($root.google.cloud.dialogflow.v2beta1.ValidationError.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.validationErrors && message.validationErrors.length)) + message.validationErrors = []; + message.validationErrors.push($root.google.cloud.dialogflow.v2beta1.ValidationError.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -76383,6 +81470,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ValidationResult + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ValidationResult + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ValidationResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ValidationResult"; + }; + return ValidationResult; })(); @@ -76419,7 +81521,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.AnswerRecords#getAnswerRecord}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.AnswerRecords|getAnswerRecord}. * @memberof google.cloud.dialogflow.v2beta1.AnswerRecords * @typedef GetAnswerRecordCallback * @type {function} @@ -76452,7 +81554,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.AnswerRecords#listAnswerRecords}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.AnswerRecords|listAnswerRecords}. * @memberof google.cloud.dialogflow.v2beta1.AnswerRecords * @typedef ListAnswerRecordsCallback * @type {function} @@ -76485,7 +81587,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.AnswerRecords#updateAnswerRecord}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.AnswerRecords|updateAnswerRecord}. * @memberof google.cloud.dialogflow.v2beta1.AnswerRecords * @typedef UpdateAnswerRecordCallback * @type {function} @@ -76648,15 +81750,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 3: - message.answerFeedback = $root.google.cloud.dialogflow.v2beta1.AnswerFeedback.decode(reader, reader.uint32()); - break; - case 4: - message.agentAssistantRecord = $root.google.cloud.dialogflow.v2beta1.AgentAssistantRecord.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 3: { + message.answerFeedback = $root.google.cloud.dialogflow.v2beta1.AnswerFeedback.decode(reader, reader.uint32()); + break; + } + case 4: { + message.agentAssistantRecord = $root.google.cloud.dialogflow.v2beta1.AgentAssistantRecord.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -76779,6 +81884,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AnswerRecord + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.AnswerRecord + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AnswerRecord.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.AnswerRecord"; + }; + return AnswerRecord; })(); @@ -76899,12 +82019,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 5: - message.articleSuggestionAnswer = $root.google.cloud.dialogflow.v2beta1.ArticleAnswer.decode(reader, reader.uint32()); - break; - case 6: - message.faqAnswer = $root.google.cloud.dialogflow.v2beta1.FaqAnswer.decode(reader, reader.uint32()); - break; + case 5: { + message.articleSuggestionAnswer = $root.google.cloud.dialogflow.v2beta1.ArticleAnswer.decode(reader, reader.uint32()); + break; + } + case 6: { + message.faqAnswer = $root.google.cloud.dialogflow.v2beta1.FaqAnswer.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -77024,6 +82146,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AgentAssistantRecord + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.AgentAssistantRecord + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AgentAssistantRecord.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.AgentAssistantRecord"; + }; + return AgentAssistantRecord; })(); @@ -77188,24 +82325,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.correctnessLevel = reader.int32(); - break; - case 2: - message.agentAssistantDetailFeedback = $root.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.decode(reader, reader.uint32()); - break; - case 3: - message.clicked = reader.bool(); - break; - case 5: - message.clickTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 4: - message.displayed = reader.bool(); - break; - case 6: - message.displayTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + case 1: { + message.correctnessLevel = reader.int32(); + break; + } + case 2: { + message.agentAssistantDetailFeedback = $root.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.decode(reader, reader.uint32()); + break; + } + case 3: { + message.clicked = reader.bool(); + break; + } + case 5: { + message.clickTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 4: { + message.displayed = reader.bool(); + break; + } + case 6: { + message.displayTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -77380,6 +82523,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AnswerFeedback + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.AnswerFeedback + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AnswerFeedback.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.AnswerFeedback"; + }; + /** * CorrectnessLevel enum. * @name google.cloud.dialogflow.v2beta1.AnswerFeedback.CorrectnessLevel @@ -77526,18 +82684,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.answerRelevance = reader.int32(); - break; - case 2: - message.documentCorrectness = reader.int32(); - break; - case 3: - message.documentEfficiency = reader.int32(); - break; - case 4: - message.summarizationFeedback = $root.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.SummarizationFeedback.decode(reader, reader.uint32()); - break; + case 1: { + message.answerRelevance = reader.int32(); + break; + } + case 2: { + message.documentCorrectness = reader.int32(); + break; + } + case 3: { + message.documentEfficiency = reader.int32(); + break; + } + case 4: { + message.summarizationFeedback = $root.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.SummarizationFeedback.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -77711,6 +82873,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AgentAssistantFeedback + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.AgentAssistantFeedback + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AgentAssistantFeedback.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.AgentAssistantFeedback"; + }; + /** * AnswerRelevance enum. * @name google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.AnswerRelevance @@ -77873,15 +83050,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.startTimestamp = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 2: - message.submitTimestamp = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 3: - message.summaryText = reader.string(); - break; + case 1: { + message.startTimestamp = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 2: { + message.submitTimestamp = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 3: { + message.summaryText = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -77998,6 +83178,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SummarizationFeedback + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.SummarizationFeedback + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SummarizationFeedback.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.SummarizationFeedback"; + }; + return SummarizationFeedback; })(); @@ -78096,9 +83291,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -78188,6 +83384,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetAnswerRecordRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.GetAnswerRecordRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetAnswerRecordRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.GetAnswerRecordRequest"; + }; + return GetAnswerRecordRequest; })(); @@ -78316,18 +83527,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.filter = reader.string(); - break; - case 3: - message.pageSize = reader.int32(); - break; - case 4: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.filter = reader.string(); + break; + } + case 3: { + message.pageSize = reader.int32(); + break; + } + case 4: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -78442,6 +83657,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListAnswerRecordsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListAnswerRecordsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListAnswerRecordsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListAnswerRecordsRequest"; + }; + return ListAnswerRecordsRequest; })(); @@ -78550,14 +83780,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.answerRecords && message.answerRecords.length)) - message.answerRecords = []; - message.answerRecords.push($root.google.cloud.dialogflow.v2beta1.AnswerRecord.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.answerRecords && message.answerRecords.length)) + message.answerRecords = []; + message.answerRecords.push($root.google.cloud.dialogflow.v2beta1.AnswerRecord.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -78673,6 +83905,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListAnswerRecordsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListAnswerRecordsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListAnswerRecordsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListAnswerRecordsResponse"; + }; + return ListAnswerRecordsResponse; })(); @@ -78779,12 +84026,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.answerRecord = $root.google.cloud.dialogflow.v2beta1.AnswerRecord.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.answerRecord = $root.google.cloud.dialogflow.v2beta1.AnswerRecord.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -78893,6 +84142,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateAnswerRecordRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.UpdateAnswerRecordRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateAnswerRecordRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.UpdateAnswerRecordRequest"; + }; + return UpdateAnswerRecordRequest; })(); @@ -78929,7 +84193,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#createParticipant}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|createParticipant}. * @memberof google.cloud.dialogflow.v2beta1.Participants * @typedef CreateParticipantCallback * @type {function} @@ -78962,7 +84226,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#getParticipant}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|getParticipant}. * @memberof google.cloud.dialogflow.v2beta1.Participants * @typedef GetParticipantCallback * @type {function} @@ -78995,7 +84259,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#listParticipants}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|listParticipants}. * @memberof google.cloud.dialogflow.v2beta1.Participants * @typedef ListParticipantsCallback * @type {function} @@ -79028,7 +84292,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#updateParticipant}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|updateParticipant}. * @memberof google.cloud.dialogflow.v2beta1.Participants * @typedef UpdateParticipantCallback * @type {function} @@ -79061,7 +84325,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#analyzeContent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|analyzeContent}. * @memberof google.cloud.dialogflow.v2beta1.Participants * @typedef AnalyzeContentCallback * @type {function} @@ -79094,7 +84358,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#streamingAnalyzeContent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|streamingAnalyzeContent}. * @memberof google.cloud.dialogflow.v2beta1.Participants * @typedef StreamingAnalyzeContentCallback * @type {function} @@ -79127,7 +84391,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#suggestArticles}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|suggestArticles}. * @memberof google.cloud.dialogflow.v2beta1.Participants * @typedef SuggestArticlesCallback * @type {function} @@ -79160,7 +84424,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#suggestFaqAnswers}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|suggestFaqAnswers}. * @memberof google.cloud.dialogflow.v2beta1.Participants * @typedef SuggestFaqAnswersCallback * @type {function} @@ -79193,7 +84457,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#suggestSmartReplies}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|suggestSmartReplies}. * @memberof google.cloud.dialogflow.v2beta1.Participants * @typedef SuggestSmartRepliesCallback * @type {function} @@ -79226,7 +84490,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#listSuggestions}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|listSuggestions}. * @memberof google.cloud.dialogflow.v2beta1.Participants * @typedef ListSuggestionsCallback * @type {function} @@ -79259,7 +84523,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants#compileSuggestion}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Participants|compileSuggestion}. * @memberof google.cloud.dialogflow.v2beta1.Participants * @typedef CompileSuggestionCallback * @type {function} @@ -79421,37 +84685,41 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.role = reader.int32(); - break; - case 7: - message.obfuscatedExternalUserId = reader.string(); - break; - case 8: - if (message.documentsMetadataFilters === $util.emptyObject) - message.documentsMetadataFilters = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.role = reader.int32(); + break; + } + case 7: { + message.obfuscatedExternalUserId = reader.string(); + break; + } + case 8: { + if (message.documentsMetadataFilters === $util.emptyObject) + message.documentsMetadataFilters = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.documentsMetadataFilters[key] = value; + break; } - message.documentsMetadataFilters[key] = value; - break; default: reader.skipType(tag & 7); break; @@ -79604,6 +84872,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Participant + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Participant + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Participant.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Participant"; + }; + /** * Role enum. * @name google.cloud.dialogflow.v2beta1.Participant.Role @@ -79805,33 +85088,42 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.content = reader.string(); - break; - case 3: - message.languageCode = reader.string(); - break; - case 4: - message.participant = reader.string(); - break; - case 5: - message.participantRole = reader.int32(); - break; - case 6: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 9: - message.sendTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 7: - message.messageAnnotation = $root.google.cloud.dialogflow.v2beta1.MessageAnnotation.decode(reader, reader.uint32()); - break; - case 8: - message.sentimentAnalysis = $root.google.cloud.dialogflow.v2beta1.SentimentAnalysisResult.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.content = reader.string(); + break; + } + case 3: { + message.languageCode = reader.string(); + break; + } + case 4: { + message.participant = reader.string(); + break; + } + case 5: { + message.participantRole = reader.int32(); + break; + } + case 6: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 9: { + message.sendTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 7: { + message.messageAnnotation = $root.google.cloud.dialogflow.v2beta1.MessageAnnotation.decode(reader, reader.uint32()); + break; + } + case 8: { + message.sentimentAnalysis = $root.google.cloud.dialogflow.v2beta1.SentimentAnalysisResult.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -80029,6 +85321,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Message + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Message + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Message.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Message"; + }; + return Message; })(); @@ -80135,12 +85442,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.participant = $root.google.cloud.dialogflow.v2beta1.Participant.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.participant = $root.google.cloud.dialogflow.v2beta1.Participant.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -80244,6 +85553,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateParticipantRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.CreateParticipantRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateParticipantRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.CreateParticipantRequest"; + }; + return CreateParticipantRequest; })(); @@ -80339,9 +85663,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -80431,6 +85756,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetParticipantRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.GetParticipantRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetParticipantRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.GetParticipantRequest"; + }; + return GetParticipantRequest; })(); @@ -80548,15 +85888,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -80663,6 +86006,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListParticipantsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListParticipantsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListParticipantsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListParticipantsRequest"; + }; + return ListParticipantsRequest; })(); @@ -80771,14 +86129,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.participants && message.participants.length)) - message.participants = []; - message.participants.push($root.google.cloud.dialogflow.v2beta1.Participant.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.participants && message.participants.length)) + message.participants = []; + message.participants.push($root.google.cloud.dialogflow.v2beta1.Participant.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -80894,6 +86254,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListParticipantsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListParticipantsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListParticipantsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListParticipantsResponse"; + }; + return ListParticipantsResponse; })(); @@ -81000,12 +86375,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.participant = $root.google.cloud.dialogflow.v2beta1.Participant.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.participant = $root.google.cloud.dialogflow.v2beta1.Participant.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -81114,6 +86491,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateParticipantRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.UpdateParticipantRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateParticipantRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.UpdateParticipantRequest"; + }; + return UpdateParticipantRequest; })(); @@ -81220,12 +86612,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.config = $root.google.cloud.dialogflow.v2beta1.InputAudioConfig.decode(reader, reader.uint32()); - break; - case 2: - message.audio = reader.bytes(); - break; + case 1: { + message.config = $root.google.cloud.dialogflow.v2beta1.InputAudioConfig.decode(reader, reader.uint32()); + break; + } + case 2: { + message.audio = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -81292,7 +86686,7 @@ if (object.audio != null) if (typeof object.audio === "string") $util.base64.decode(object.audio, message.audio = $util.newBuffer($util.base64.length(object.audio)), 0); - else if (object.audio.length) + else if (object.audio.length >= 0) message.audio = object.audio; return message; }; @@ -81338,6 +86732,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AudioInput + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.AudioInput + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AudioInput.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.AudioInput"; + }; + return AudioInput; })(); @@ -81444,12 +86853,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.config = $root.google.cloud.dialogflow.v2beta1.OutputAudioConfig.decode(reader, reader.uint32()); - break; - case 2: - message.audio = reader.bytes(); - break; + case 1: { + message.config = $root.google.cloud.dialogflow.v2beta1.OutputAudioConfig.decode(reader, reader.uint32()); + break; + } + case 2: { + message.audio = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -81516,7 +86927,7 @@ if (object.audio != null) if (typeof object.audio === "string") $util.base64.decode(object.audio, message.audio = $util.newBuffer($util.base64.length(object.audio)), 0); - else if (object.audio.length) + else if (object.audio.length >= 0) message.audio = object.audio; return message; }; @@ -81562,6 +86973,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for OutputAudio + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.OutputAudio + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + OutputAudio.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.OutputAudio"; + }; + return OutputAudio; })(); @@ -81772,35 +87198,44 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.detectIntentResponse = $root.google.cloud.dialogflow.v2beta1.DetectIntentResponse.decode(reader, reader.uint32()); - break; - case 3: - if (!(message.responseMessages && message.responseMessages.length)) - message.responseMessages = []; - message.responseMessages.push($root.google.cloud.dialogflow.v2beta1.ResponseMessage.decode(reader, reader.uint32())); - break; - case 4: - message.intent = reader.string(); - break; - case 5: - message.event = reader.string(); - break; - case 9: - message.matchConfidence = reader.float(); - break; - case 10: - message.parameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 6: - message.cxSessionParameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 7: - message.automatedAgentReplyType = reader.int32(); - break; - case 8: - message.allowCancellation = reader.bool(); - break; + case 1: { + message.detectIntentResponse = $root.google.cloud.dialogflow.v2beta1.DetectIntentResponse.decode(reader, reader.uint32()); + break; + } + case 3: { + if (!(message.responseMessages && message.responseMessages.length)) + message.responseMessages = []; + message.responseMessages.push($root.google.cloud.dialogflow.v2beta1.ResponseMessage.decode(reader, reader.uint32())); + break; + } + case 4: { + message.intent = reader.string(); + break; + } + case 5: { + message.event = reader.string(); + break; + } + case 9: { + message.matchConfidence = reader.float(); + break; + } + case 10: { + message.parameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 6: { + message.cxSessionParameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 7: { + message.automatedAgentReplyType = reader.int32(); + break; + } + case 8: { + message.allowCancellation = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -82022,6 +87457,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AutomatedAgentReply + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.AutomatedAgentReply + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AutomatedAgentReply.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.AutomatedAgentReply"; + }; + /** * AutomatedAgentReplyType enum. * @name google.cloud.dialogflow.v2beta1.AutomatedAgentReply.AutomatedAgentReplyType @@ -82133,9 +87583,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type = reader.int32(); - break; + case 1: { + message.type = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -82248,6 +87699,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestionFeature + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SuggestionFeature + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestionFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SuggestionFeature"; + }; + /** * Type enum. * @name google.cloud.dialogflow.v2beta1.SuggestionFeature.Type @@ -82363,28 +87829,29 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (message.documentsMetadataFilters === $util.emptyObject) - message.documentsMetadataFilters = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + if (message.documentsMetadataFilters === $util.emptyObject) + message.documentsMetadataFilters = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.documentsMetadataFilters[key] = value; + break; } - message.documentsMetadataFilters[key] = value; - break; default: reader.skipType(tag & 7); break; @@ -82488,6 +87955,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AssistQueryParameters + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.AssistQueryParameters + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AssistQueryParameters.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.AssistQueryParameters"; + }; + return AssistQueryParameters; })(); @@ -82707,39 +88189,50 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.participant = reader.string(); - break; - case 6: - message.textInput = $root.google.cloud.dialogflow.v2beta1.TextInput.decode(reader, reader.uint32()); - break; - case 7: - message.audioInput = $root.google.cloud.dialogflow.v2beta1.AudioInput.decode(reader, reader.uint32()); - break; - case 8: - message.eventInput = $root.google.cloud.dialogflow.v2beta1.EventInput.decode(reader, reader.uint32()); - break; - case 5: - message.replyAudioConfig = $root.google.cloud.dialogflow.v2beta1.OutputAudioConfig.decode(reader, reader.uint32()); - break; - case 9: - message.queryParams = $root.google.cloud.dialogflow.v2beta1.QueryParameters.decode(reader, reader.uint32()); - break; - case 14: - message.assistQueryParams = $root.google.cloud.dialogflow.v2beta1.AssistQueryParameters.decode(reader, reader.uint32()); - break; - case 18: - message.cxParameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 20: - message.cxCurrentPage = reader.string(); - break; - case 10: - message.messageSendTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 11: - message.requestId = reader.string(); - break; + case 1: { + message.participant = reader.string(); + break; + } + case 6: { + message.textInput = $root.google.cloud.dialogflow.v2beta1.TextInput.decode(reader, reader.uint32()); + break; + } + case 7: { + message.audioInput = $root.google.cloud.dialogflow.v2beta1.AudioInput.decode(reader, reader.uint32()); + break; + } + case 8: { + message.eventInput = $root.google.cloud.dialogflow.v2beta1.EventInput.decode(reader, reader.uint32()); + break; + } + case 5: { + message.replyAudioConfig = $root.google.cloud.dialogflow.v2beta1.OutputAudioConfig.decode(reader, reader.uint32()); + break; + } + case 9: { + message.queryParams = $root.google.cloud.dialogflow.v2beta1.QueryParameters.decode(reader, reader.uint32()); + break; + } + case 14: { + message.assistQueryParams = $root.google.cloud.dialogflow.v2beta1.AssistQueryParameters.decode(reader, reader.uint32()); + break; + } + case 18: { + message.cxParameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 20: { + message.cxCurrentPage = reader.string(); + break; + } + case 10: { + message.messageSendTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 11: { + message.requestId = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -82970,6 +88463,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AnalyzeContentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.AnalyzeContentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AnalyzeContentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.AnalyzeContentRequest"; + }; + return AnalyzeContentRequest; })(); @@ -83065,9 +88573,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.acceptsDtmfInput = reader.bool(); - break; + case 1: { + message.acceptsDtmfInput = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -83157,6 +88666,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DtmfParameters + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.DtmfParameters + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DtmfParameters.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.DtmfParameters"; + }; + return DtmfParameters; })(); @@ -83322,31 +88846,38 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.replyText = reader.string(); - break; - case 2: - message.replyAudio = $root.google.cloud.dialogflow.v2beta1.OutputAudio.decode(reader, reader.uint32()); - break; - case 3: - message.automatedAgentReply = $root.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.decode(reader, reader.uint32()); - break; - case 5: - message.message = $root.google.cloud.dialogflow.v2beta1.Message.decode(reader, reader.uint32()); - break; - case 6: - if (!(message.humanAgentSuggestionResults && message.humanAgentSuggestionResults.length)) - message.humanAgentSuggestionResults = []; - message.humanAgentSuggestionResults.push($root.google.cloud.dialogflow.v2beta1.SuggestionResult.decode(reader, reader.uint32())); - break; - case 7: - if (!(message.endUserSuggestionResults && message.endUserSuggestionResults.length)) - message.endUserSuggestionResults = []; - message.endUserSuggestionResults.push($root.google.cloud.dialogflow.v2beta1.SuggestionResult.decode(reader, reader.uint32())); - break; - case 9: - message.dtmfParameters = $root.google.cloud.dialogflow.v2beta1.DtmfParameters.decode(reader, reader.uint32()); - break; + case 1: { + message.replyText = reader.string(); + break; + } + case 2: { + message.replyAudio = $root.google.cloud.dialogflow.v2beta1.OutputAudio.decode(reader, reader.uint32()); + break; + } + case 3: { + message.automatedAgentReply = $root.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.decode(reader, reader.uint32()); + break; + } + case 5: { + message.message = $root.google.cloud.dialogflow.v2beta1.Message.decode(reader, reader.uint32()); + break; + } + case 6: { + if (!(message.humanAgentSuggestionResults && message.humanAgentSuggestionResults.length)) + message.humanAgentSuggestionResults = []; + message.humanAgentSuggestionResults.push($root.google.cloud.dialogflow.v2beta1.SuggestionResult.decode(reader, reader.uint32())); + break; + } + case 7: { + if (!(message.endUserSuggestionResults && message.endUserSuggestionResults.length)) + message.endUserSuggestionResults = []; + message.endUserSuggestionResults.push($root.google.cloud.dialogflow.v2beta1.SuggestionResult.decode(reader, reader.uint32())); + break; + } + case 9: { + message.dtmfParameters = $root.google.cloud.dialogflow.v2beta1.DtmfParameters.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -83541,6 +89072,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AnalyzeContentResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.AnalyzeContentResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AnalyzeContentResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.AnalyzeContentResponse"; + }; + return AnalyzeContentResponse; })(); @@ -83636,9 +89182,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.languageCode = reader.string(); - break; + case 1: { + message.languageCode = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -83728,6 +89275,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for InputTextConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.InputTextConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + InputTextConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.InputTextConfig"; + }; + return InputTextConfig; })(); @@ -83969,42 +89531,54 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.participant = reader.string(); - break; - case 2: - message.audioConfig = $root.google.cloud.dialogflow.v2beta1.InputAudioConfig.decode(reader, reader.uint32()); - break; - case 3: - message.textConfig = $root.google.cloud.dialogflow.v2beta1.InputTextConfig.decode(reader, reader.uint32()); - break; - case 4: - message.replyAudioConfig = $root.google.cloud.dialogflow.v2beta1.OutputAudioConfig.decode(reader, reader.uint32()); - break; - case 5: - message.inputAudio = reader.bytes(); - break; - case 6: - message.inputText = reader.string(); - break; - case 9: - message.inputDtmf = $root.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents.decode(reader, reader.uint32()); - break; - case 7: - message.queryParams = $root.google.cloud.dialogflow.v2beta1.QueryParameters.decode(reader, reader.uint32()); - break; - case 8: - message.assistQueryParams = $root.google.cloud.dialogflow.v2beta1.AssistQueryParameters.decode(reader, reader.uint32()); - break; - case 13: - message.cxParameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 15: - message.cxCurrentPage = reader.string(); - break; - case 12: - message.enablePartialAutomatedAgentReply = reader.bool(); - break; + case 1: { + message.participant = reader.string(); + break; + } + case 2: { + message.audioConfig = $root.google.cloud.dialogflow.v2beta1.InputAudioConfig.decode(reader, reader.uint32()); + break; + } + case 3: { + message.textConfig = $root.google.cloud.dialogflow.v2beta1.InputTextConfig.decode(reader, reader.uint32()); + break; + } + case 4: { + message.replyAudioConfig = $root.google.cloud.dialogflow.v2beta1.OutputAudioConfig.decode(reader, reader.uint32()); + break; + } + case 5: { + message.inputAudio = reader.bytes(); + break; + } + case 6: { + message.inputText = reader.string(); + break; + } + case 9: { + message.inputDtmf = $root.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents.decode(reader, reader.uint32()); + break; + } + case 7: { + message.queryParams = $root.google.cloud.dialogflow.v2beta1.QueryParameters.decode(reader, reader.uint32()); + break; + } + case 8: { + message.assistQueryParams = $root.google.cloud.dialogflow.v2beta1.AssistQueryParameters.decode(reader, reader.uint32()); + break; + } + case 13: { + message.cxParameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 15: { + message.cxCurrentPage = reader.string(); + break; + } + case 12: { + message.enablePartialAutomatedAgentReply = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -84145,7 +89719,7 @@ if (object.inputAudio != null) if (typeof object.inputAudio === "string") $util.base64.decode(object.inputAudio, message.inputAudio = $util.newBuffer($util.base64.length(object.inputAudio)), 0); - else if (object.inputAudio.length) + else if (object.inputAudio.length >= 0) message.inputAudio = object.inputAudio; if (object.inputText != null) message.inputText = String(object.inputText); @@ -84251,6 +89825,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for StreamingAnalyzeContentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + StreamingAnalyzeContentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest"; + }; + return StreamingAnalyzeContentRequest; })(); @@ -84427,34 +90016,42 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.recognitionResult = $root.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.decode(reader, reader.uint32()); - break; - case 2: - message.replyText = reader.string(); - break; - case 3: - message.replyAudio = $root.google.cloud.dialogflow.v2beta1.OutputAudio.decode(reader, reader.uint32()); - break; - case 4: - message.automatedAgentReply = $root.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.decode(reader, reader.uint32()); - break; - case 6: - message.message = $root.google.cloud.dialogflow.v2beta1.Message.decode(reader, reader.uint32()); - break; - case 7: - if (!(message.humanAgentSuggestionResults && message.humanAgentSuggestionResults.length)) - message.humanAgentSuggestionResults = []; - message.humanAgentSuggestionResults.push($root.google.cloud.dialogflow.v2beta1.SuggestionResult.decode(reader, reader.uint32())); - break; - case 8: - if (!(message.endUserSuggestionResults && message.endUserSuggestionResults.length)) - message.endUserSuggestionResults = []; - message.endUserSuggestionResults.push($root.google.cloud.dialogflow.v2beta1.SuggestionResult.decode(reader, reader.uint32())); - break; - case 10: - message.dtmfParameters = $root.google.cloud.dialogflow.v2beta1.DtmfParameters.decode(reader, reader.uint32()); - break; + case 1: { + message.recognitionResult = $root.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.decode(reader, reader.uint32()); + break; + } + case 2: { + message.replyText = reader.string(); + break; + } + case 3: { + message.replyAudio = $root.google.cloud.dialogflow.v2beta1.OutputAudio.decode(reader, reader.uint32()); + break; + } + case 4: { + message.automatedAgentReply = $root.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.decode(reader, reader.uint32()); + break; + } + case 6: { + message.message = $root.google.cloud.dialogflow.v2beta1.Message.decode(reader, reader.uint32()); + break; + } + case 7: { + if (!(message.humanAgentSuggestionResults && message.humanAgentSuggestionResults.length)) + message.humanAgentSuggestionResults = []; + message.humanAgentSuggestionResults.push($root.google.cloud.dialogflow.v2beta1.SuggestionResult.decode(reader, reader.uint32())); + break; + } + case 8: { + if (!(message.endUserSuggestionResults && message.endUserSuggestionResults.length)) + message.endUserSuggestionResults = []; + message.endUserSuggestionResults.push($root.google.cloud.dialogflow.v2beta1.SuggestionResult.decode(reader, reader.uint32())); + break; + } + case 10: { + message.dtmfParameters = $root.google.cloud.dialogflow.v2beta1.DtmfParameters.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -84662,6 +90259,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for StreamingAnalyzeContentResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + StreamingAnalyzeContentResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse"; + }; + return StreamingAnalyzeContentResponse; })(); @@ -84779,15 +90391,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.text = reader.string(); - break; - case 2: - message.entityType = reader.string(); - break; - case 3: - message.formattedValue = $root.google.protobuf.Value.decode(reader, reader.uint32()); - break; + case 1: { + message.text = reader.string(); + break; + } + case 2: { + message.entityType = reader.string(); + break; + } + case 3: { + message.formattedValue = $root.google.protobuf.Value.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -84899,6 +90514,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AnnotatedMessagePart + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.AnnotatedMessagePart + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AnnotatedMessagePart.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.AnnotatedMessagePart"; + }; + return AnnotatedMessagePart; })(); @@ -85007,14 +90637,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.parts && message.parts.length)) - message.parts = []; - message.parts.push($root.google.cloud.dialogflow.v2beta1.AnnotatedMessagePart.decode(reader, reader.uint32())); - break; - case 2: - message.containEntities = reader.bool(); - break; + case 1: { + if (!(message.parts && message.parts.length)) + message.parts = []; + message.parts.push($root.google.cloud.dialogflow.v2beta1.AnnotatedMessagePart.decode(reader, reader.uint32())); + break; + } + case 2: { + message.containEntities = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -85130,6 +90762,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for MessageAnnotation + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.MessageAnnotation + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + MessageAnnotation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.MessageAnnotation"; + }; + return MessageAnnotation; })(); @@ -85273,42 +90920,47 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.uri = reader.string(); - break; - case 3: - if (!(message.snippets && message.snippets.length)) - message.snippets = []; - message.snippets.push(reader.string()); - break; - case 5: - if (message.metadata === $util.emptyObject) - message.metadata = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + message.title = reader.string(); + break; + } + case 2: { + message.uri = reader.string(); + break; + } + case 3: { + if (!(message.snippets && message.snippets.length)) + message.snippets = []; + message.snippets.push(reader.string()); + break; + } + case 5: { + if (message.metadata === $util.emptyObject) + message.metadata = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.metadata[key] = value; + break; + } + case 6: { + message.answerRecord = reader.string(); + break; } - message.metadata[key] = value; - break; - case 6: - message.answerRecord = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -85459,6 +91111,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ArticleAnswer + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ArticleAnswer + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ArticleAnswer.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ArticleAnswer"; + }; + return ArticleAnswer; })(); @@ -85611,43 +91278,49 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.answer = reader.string(); - break; - case 2: - message.confidence = reader.float(); - break; - case 3: - message.question = reader.string(); - break; - case 4: - message.source = reader.string(); - break; - case 5: - if (message.metadata === $util.emptyObject) - message.metadata = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + message.answer = reader.string(); + break; + } + case 2: { + message.confidence = reader.float(); + break; + } + case 3: { + message.question = reader.string(); + break; + } + case 4: { + message.source = reader.string(); + break; + } + case 5: { + if (message.metadata === $util.emptyObject) + message.metadata = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.metadata[key] = value; + break; + } + case 6: { + message.answerRecord = reader.string(); + break; } - message.metadata[key] = value; - break; - case 6: - message.answerRecord = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -85793,6 +91466,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FaqAnswer + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.FaqAnswer + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FaqAnswer.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.FaqAnswer"; + }; + return FaqAnswer; })(); @@ -85910,15 +91598,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.reply = reader.string(); - break; - case 2: - message.confidence = reader.float(); - break; - case 3: - message.answerRecord = reader.string(); - break; + case 1: { + message.reply = reader.string(); + break; + } + case 2: { + message.confidence = reader.float(); + break; + } + case 3: { + message.answerRecord = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -86025,6 +91716,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SmartReplyAnswer + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SmartReplyAnswer + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SmartReplyAnswer.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SmartReplyAnswer"; + }; + return SmartReplyAnswer; })(); @@ -86167,18 +91873,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.error = $root.google.rpc.Status.decode(reader, reader.uint32()); - break; - case 2: - message.suggestArticlesResponse = $root.google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.decode(reader, reader.uint32()); - break; - case 3: - message.suggestFaqAnswersResponse = $root.google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse.decode(reader, reader.uint32()); - break; - case 4: - message.suggestSmartRepliesResponse = $root.google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse.decode(reader, reader.uint32()); - break; + case 1: { + message.error = $root.google.rpc.Status.decode(reader, reader.uint32()); + break; + } + case 2: { + message.suggestArticlesResponse = $root.google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.decode(reader, reader.uint32()); + break; + } + case 3: { + message.suggestFaqAnswersResponse = $root.google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse.decode(reader, reader.uint32()); + break; + } + case 4: { + message.suggestSmartRepliesResponse = $root.google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -86338,6 +92048,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestionResult + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SuggestionResult + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestionResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SuggestionResult"; + }; + return SuggestionResult; })(); @@ -86466,18 +92191,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.latestMessage = reader.string(); - break; - case 3: - message.contextSize = reader.int32(); - break; - case 4: - message.assistQueryParams = $root.google.cloud.dialogflow.v2beta1.AssistQueryParameters.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.latestMessage = reader.string(); + break; + } + case 3: { + message.contextSize = reader.int32(); + break; + } + case 4: { + message.assistQueryParams = $root.google.cloud.dialogflow.v2beta1.AssistQueryParameters.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -86597,6 +92326,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestArticlesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SuggestArticlesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestArticlesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SuggestArticlesRequest"; + }; + return SuggestArticlesRequest; })(); @@ -86716,17 +92460,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.articleAnswers && message.articleAnswers.length)) - message.articleAnswers = []; - message.articleAnswers.push($root.google.cloud.dialogflow.v2beta1.ArticleAnswer.decode(reader, reader.uint32())); - break; - case 2: - message.latestMessage = reader.string(); - break; - case 3: - message.contextSize = reader.int32(); - break; + case 1: { + if (!(message.articleAnswers && message.articleAnswers.length)) + message.articleAnswers = []; + message.articleAnswers.push($root.google.cloud.dialogflow.v2beta1.ArticleAnswer.decode(reader, reader.uint32())); + break; + } + case 2: { + message.latestMessage = reader.string(); + break; + } + case 3: { + message.contextSize = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -86851,6 +92598,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestArticlesResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SuggestArticlesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestArticlesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SuggestArticlesResponse"; + }; + return SuggestArticlesResponse; })(); @@ -86979,18 +92741,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.latestMessage = reader.string(); - break; - case 3: - message.contextSize = reader.int32(); - break; - case 4: - message.assistQueryParams = $root.google.cloud.dialogflow.v2beta1.AssistQueryParameters.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.latestMessage = reader.string(); + break; + } + case 3: { + message.contextSize = reader.int32(); + break; + } + case 4: { + message.assistQueryParams = $root.google.cloud.dialogflow.v2beta1.AssistQueryParameters.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -87110,6 +92876,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestFaqAnswersRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SuggestFaqAnswersRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestFaqAnswersRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SuggestFaqAnswersRequest"; + }; + return SuggestFaqAnswersRequest; })(); @@ -87229,17 +93010,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.faqAnswers && message.faqAnswers.length)) - message.faqAnswers = []; - message.faqAnswers.push($root.google.cloud.dialogflow.v2beta1.FaqAnswer.decode(reader, reader.uint32())); - break; - case 2: - message.latestMessage = reader.string(); - break; - case 3: - message.contextSize = reader.int32(); - break; + case 1: { + if (!(message.faqAnswers && message.faqAnswers.length)) + message.faqAnswers = []; + message.faqAnswers.push($root.google.cloud.dialogflow.v2beta1.FaqAnswer.decode(reader, reader.uint32())); + break; + } + case 2: { + message.latestMessage = reader.string(); + break; + } + case 3: { + message.contextSize = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -87364,6 +93148,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestFaqAnswersResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestFaqAnswersResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse"; + }; + return SuggestFaqAnswersResponse; })(); @@ -87492,18 +93291,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 4: - message.currentTextInput = $root.google.cloud.dialogflow.v2beta1.TextInput.decode(reader, reader.uint32()); - break; - case 2: - message.latestMessage = reader.string(); - break; - case 3: - message.contextSize = reader.int32(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 4: { + message.currentTextInput = $root.google.cloud.dialogflow.v2beta1.TextInput.decode(reader, reader.uint32()); + break; + } + case 2: { + message.latestMessage = reader.string(); + break; + } + case 3: { + message.contextSize = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -87623,6 +93426,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestSmartRepliesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestSmartRepliesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest"; + }; + return SuggestSmartRepliesRequest; })(); @@ -87742,17 +93560,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.smartReplyAnswers && message.smartReplyAnswers.length)) - message.smartReplyAnswers = []; - message.smartReplyAnswers.push($root.google.cloud.dialogflow.v2beta1.SmartReplyAnswer.decode(reader, reader.uint32())); - break; - case 2: - message.latestMessage = reader.string(); - break; - case 3: - message.contextSize = reader.int32(); - break; + case 1: { + if (!(message.smartReplyAnswers && message.smartReplyAnswers.length)) + message.smartReplyAnswers = []; + message.smartReplyAnswers.push($root.google.cloud.dialogflow.v2beta1.SmartReplyAnswer.decode(reader, reader.uint32())); + break; + } + case 2: { + message.latestMessage = reader.string(); + break; + } + case 3: { + message.contextSize = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -87877,6 +93698,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestSmartRepliesResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestSmartRepliesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse"; + }; + return SuggestSmartRepliesResponse; })(); @@ -88020,25 +93856,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - if (!(message.articles && message.articles.length)) - message.articles = []; - message.articles.push($root.google.cloud.dialogflow.v2beta1.Suggestion.Article.decode(reader, reader.uint32())); - break; - case 4: - if (!(message.faqAnswers && message.faqAnswers.length)) - message.faqAnswers = []; - message.faqAnswers.push($root.google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer.decode(reader, reader.uint32())); - break; - case 5: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 7: - message.latestMessage = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + if (!(message.articles && message.articles.length)) + message.articles = []; + message.articles.push($root.google.cloud.dialogflow.v2beta1.Suggestion.Article.decode(reader, reader.uint32())); + break; + } + case 4: { + if (!(message.faqAnswers && message.faqAnswers.length)) + message.faqAnswers = []; + message.faqAnswers.push($root.google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer.decode(reader, reader.uint32())); + break; + } + case 5: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 7: { + message.latestMessage = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -88202,6 +94043,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Suggestion + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Suggestion + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Suggestion.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Suggestion"; + }; + Suggestion.Article = (function() { /** @@ -88342,42 +94198,47 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.uri = reader.string(); - break; - case 3: - if (!(message.snippets && message.snippets.length)) - message.snippets = []; - message.snippets.push(reader.string()); - break; - case 5: - if (message.metadata === $util.emptyObject) - message.metadata = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + message.title = reader.string(); + break; + } + case 2: { + message.uri = reader.string(); + break; + } + case 3: { + if (!(message.snippets && message.snippets.length)) + message.snippets = []; + message.snippets.push(reader.string()); + break; + } + case 5: { + if (message.metadata === $util.emptyObject) + message.metadata = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.metadata[key] = value; + break; + } + case 6: { + message.answerRecord = reader.string(); + break; } - message.metadata[key] = value; - break; - case 6: - message.answerRecord = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -88528,6 +94389,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Article + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Suggestion.Article + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Article.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Suggestion.Article"; + }; + return Article; })(); @@ -88680,43 +94556,49 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.answer = reader.string(); - break; - case 2: - message.confidence = reader.float(); - break; - case 3: - message.question = reader.string(); - break; - case 4: - message.source = reader.string(); - break; - case 5: - if (message.metadata === $util.emptyObject) - message.metadata = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + message.answer = reader.string(); + break; + } + case 2: { + message.confidence = reader.float(); + break; + } + case 3: { + message.question = reader.string(); + break; + } + case 4: { + message.source = reader.string(); + break; + } + case 5: { + if (message.metadata === $util.emptyObject) + message.metadata = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.metadata[key] = value; + break; + } + case 6: { + message.answerRecord = reader.string(); + break; } - message.metadata[key] = value; - break; - case 6: - message.answerRecord = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -88862,6 +94744,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FaqAnswer + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FaqAnswer.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer"; + }; + return FaqAnswer; })(); @@ -88993,18 +94890,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; - case 4: - message.filter = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } + case 4: { + message.filter = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -89119,6 +95020,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListSuggestionsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListSuggestionsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListSuggestionsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListSuggestionsRequest"; + }; + return ListSuggestionsRequest; })(); @@ -89227,14 +95143,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.suggestions && message.suggestions.length)) - message.suggestions = []; - message.suggestions.push($root.google.cloud.dialogflow.v2beta1.Suggestion.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.suggestions && message.suggestions.length)) + message.suggestions = []; + message.suggestions.push($root.google.cloud.dialogflow.v2beta1.Suggestion.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -89350,6 +95268,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListSuggestionsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListSuggestionsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListSuggestionsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListSuggestionsResponse"; + }; + return ListSuggestionsResponse; })(); @@ -89467,15 +95400,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.latestMessage = reader.string(); - break; - case 3: - message.contextSize = reader.int32(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.latestMessage = reader.string(); + break; + } + case 3: { + message.contextSize = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -89582,6 +95518,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CompileSuggestionRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.CompileSuggestionRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CompileSuggestionRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.CompileSuggestionRequest"; + }; + return CompileSuggestionRequest; })(); @@ -89699,15 +95650,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.suggestion = $root.google.cloud.dialogflow.v2beta1.Suggestion.decode(reader, reader.uint32()); - break; - case 2: - message.latestMessage = reader.string(); - break; - case 3: - message.contextSize = reader.int32(); - break; + case 1: { + message.suggestion = $root.google.cloud.dialogflow.v2beta1.Suggestion.decode(reader, reader.uint32()); + break; + } + case 2: { + message.latestMessage = reader.string(); + break; + } + case 3: { + message.contextSize = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -89819,6 +95773,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CompileSuggestionResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.CompileSuggestionResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CompileSuggestionResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.CompileSuggestionResponse"; + }; + return CompileSuggestionResponse; })(); @@ -89983,24 +95952,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.text = $root.google.cloud.dialogflow.v2beta1.ResponseMessage.Text.decode(reader, reader.uint32()); - break; - case 2: - message.payload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 3: - message.liveAgentHandoff = $root.google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff.decode(reader, reader.uint32()); - break; - case 4: - message.endInteraction = $root.google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction.decode(reader, reader.uint32()); - break; - case 5: - message.mixedAudio = $root.google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.decode(reader, reader.uint32()); - break; - case 6: - message.telephonyTransferCall = $root.google.cloud.dialogflow.v2beta1.ResponseMessage.TelephonyTransferCall.decode(reader, reader.uint32()); - break; + case 1: { + message.text = $root.google.cloud.dialogflow.v2beta1.ResponseMessage.Text.decode(reader, reader.uint32()); + break; + } + case 2: { + message.payload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 3: { + message.liveAgentHandoff = $root.google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff.decode(reader, reader.uint32()); + break; + } + case 4: { + message.endInteraction = $root.google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction.decode(reader, reader.uint32()); + break; + } + case 5: { + message.mixedAudio = $root.google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.decode(reader, reader.uint32()); + break; + } + case 6: { + message.telephonyTransferCall = $root.google.cloud.dialogflow.v2beta1.ResponseMessage.TelephonyTransferCall.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -90200,6 +96175,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ResponseMessage + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ResponseMessage + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResponseMessage.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ResponseMessage"; + }; + ResponseMessage.Text = (function() { /** @@ -90294,11 +96284,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.text && message.text.length)) - message.text = []; - message.text.push(reader.string()); - break; + case 1: { + if (!(message.text && message.text.length)) + message.text = []; + message.text.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -90400,6 +96391,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Text + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ResponseMessage.Text + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Text.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ResponseMessage.Text"; + }; + return Text; })(); @@ -90495,9 +96501,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.metadata = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; + case 1: { + message.metadata = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -90592,6 +96599,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for LiveAgentHandoff + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + LiveAgentHandoff.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff"; + }; + return LiveAgentHandoff; })(); @@ -90752,6 +96774,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EndInteraction + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EndInteraction.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction"; + }; + return EndInteraction; })(); @@ -90849,11 +96886,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.segments && message.segments.length)) - message.segments = []; - message.segments.push($root.google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.Segment.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.segments && message.segments.length)) + message.segments = []; + message.segments.push($root.google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.Segment.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -90960,6 +96998,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for MixedAudio + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + MixedAudio.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio"; + }; + MixedAudio.Segment = (function() { /** @@ -91088,15 +97141,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.audio = reader.bytes(); - break; - case 2: - message.uri = reader.string(); - break; - case 3: - message.allowPlaybackInterruption = reader.bool(); - break; + case 1: { + message.audio = reader.bytes(); + break; + } + case 2: { + message.uri = reader.string(); + break; + } + case 3: { + message.allowPlaybackInterruption = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -91166,7 +97222,7 @@ if (object.audio != null) if (typeof object.audio === "string") $util.base64.decode(object.audio, message.audio = $util.newBuffer($util.base64.length(object.audio)), 0); - else if (object.audio.length) + else if (object.audio.length >= 0) message.audio = object.audio; if (object.uri != null) message.uri = String(object.uri); @@ -91216,6 +97272,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Segment + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.Segment + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Segment.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.Segment"; + }; + return Segment; })(); @@ -91339,12 +97410,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.phoneNumber = reader.string(); - break; - case 2: - message.sipUri = reader.string(); - break; + case 1: { + message.phoneNumber = reader.string(); + break; + } + case 2: { + message.sipUri = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -91452,6 +97525,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TelephonyTransferCall + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ResponseMessage.TelephonyTransferCall + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TelephonyTransferCall.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ResponseMessage.TelephonyTransferCall"; + }; + return TelephonyTransferCall; })(); @@ -91589,14 +97677,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.phrases && message.phrases.length)) - message.phrases = []; - message.phrases.push(reader.string()); - break; - case 2: - message.boost = reader.float(); - break; + case 1: { + if (!(message.phrases && message.phrases.length)) + message.phrases = []; + message.phrases.push(reader.string()); + break; + } + case 2: { + message.boost = reader.float(); + break; + } default: reader.skipType(tag & 7); break; @@ -91707,6 +97797,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SpeechContext + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SpeechContext + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SpeechContext.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SpeechContext"; + }; + return SpeechContext; })(); @@ -91853,18 +97958,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 3: - message.word = reader.string(); - break; - case 1: - message.startOffset = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; - case 2: - message.endOffset = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; - case 4: - message.confidence = reader.float(); - break; + case 3: { + message.word = reader.string(); + break; + } + case 1: { + message.startOffset = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + } + case 2: { + message.endOffset = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + } + case 4: { + message.confidence = reader.float(); + break; + } default: reader.skipType(tag & 7); break; @@ -91989,6 +98098,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SpeechWordInfo + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SpeechWordInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SpeechWordInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SpeechWordInfo"; + }; + return SpeechWordInfo; })(); @@ -92187,40 +98311,50 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.audioEncoding = reader.int32(); - break; - case 2: - message.sampleRateHertz = reader.int32(); - break; - case 3: - message.languageCode = reader.string(); - break; - case 13: - message.enableWordInfo = reader.bool(); - break; - case 4: - if (!(message.phraseHints && message.phraseHints.length)) - message.phraseHints = []; - message.phraseHints.push(reader.string()); - break; - case 11: - if (!(message.speechContexts && message.speechContexts.length)) - message.speechContexts = []; - message.speechContexts.push($root.google.cloud.dialogflow.v2beta1.SpeechContext.decode(reader, reader.uint32())); - break; - case 7: - message.model = reader.string(); - break; - case 10: - message.modelVariant = reader.int32(); - break; - case 8: - message.singleUtterance = reader.bool(); - break; - case 14: - message.disableNoSpeechRecognizedEvent = reader.bool(); - break; + case 1: { + message.audioEncoding = reader.int32(); + break; + } + case 2: { + message.sampleRateHertz = reader.int32(); + break; + } + case 3: { + message.languageCode = reader.string(); + break; + } + case 13: { + message.enableWordInfo = reader.bool(); + break; + } + case 4: { + if (!(message.phraseHints && message.phraseHints.length)) + message.phraseHints = []; + message.phraseHints.push(reader.string()); + break; + } + case 11: { + if (!(message.speechContexts && message.speechContexts.length)) + message.speechContexts = []; + message.speechContexts.push($root.google.cloud.dialogflow.v2beta1.SpeechContext.decode(reader, reader.uint32())); + break; + } + case 7: { + message.model = reader.string(); + break; + } + case 10: { + message.modelVariant = reader.int32(); + break; + } + case 8: { + message.singleUtterance = reader.bool(); + break; + } + case 14: { + message.disableNoSpeechRecognizedEvent = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -92480,6 +98614,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for InputAudioConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.InputAudioConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + InputAudioConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.InputAudioConfig"; + }; + return InputAudioConfig; })(); @@ -92604,12 +98753,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.ssmlGender = reader.int32(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.ssmlGender = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -92731,6 +98882,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for VoiceSelectionParams + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.VoiceSelectionParams + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + VoiceSelectionParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.VoiceSelectionParams"; + }; + return VoiceSelectionParams; })(); @@ -92872,23 +99038,28 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.speakingRate = reader.double(); - break; - case 2: - message.pitch = reader.double(); - break; - case 3: - message.volumeGainDb = reader.double(); - break; - case 5: - if (!(message.effectsProfileId && message.effectsProfileId.length)) - message.effectsProfileId = []; - message.effectsProfileId.push(reader.string()); - break; - case 4: - message.voice = $root.google.cloud.dialogflow.v2beta1.VoiceSelectionParams.decode(reader, reader.uint32()); - break; + case 1: { + message.speakingRate = reader.double(); + break; + } + case 2: { + message.pitch = reader.double(); + break; + } + case 3: { + message.volumeGainDb = reader.double(); + break; + } + case 5: { + if (!(message.effectsProfileId && message.effectsProfileId.length)) + message.effectsProfileId = []; + message.effectsProfileId.push(reader.string()); + break; + } + case 4: { + message.voice = $root.google.cloud.dialogflow.v2beta1.VoiceSelectionParams.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -93029,6 +99200,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SynthesizeSpeechConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SynthesizeSpeechConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SynthesizeSpeechConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SynthesizeSpeechConfig"; + }; + return SynthesizeSpeechConfig; })(); @@ -93168,15 +99354,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.audioEncoding = reader.int32(); - break; - case 2: - message.sampleRateHertz = reader.int32(); - break; - case 3: - message.synthesizeSpeechConfig = $root.google.cloud.dialogflow.v2beta1.SynthesizeSpeechConfig.decode(reader, reader.uint32()); - break; + case 1: { + message.audioEncoding = reader.int32(); + break; + } + case 2: { + message.sampleRateHertz = reader.int32(); + break; + } + case 3: { + message.synthesizeSpeechConfig = $root.google.cloud.dialogflow.v2beta1.SynthesizeSpeechConfig.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -93321,6 +99510,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for OutputAudioConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.OutputAudioConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + OutputAudioConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.OutputAudioConfig"; + }; + return OutputAudioConfig; })(); @@ -93465,16 +99669,17 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.dtmfEvents && message.dtmfEvents.length)) - message.dtmfEvents = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + if (!(message.dtmfEvents && message.dtmfEvents.length)) + message.dtmfEvents = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.dtmfEvents.push(reader.int32()); + } else message.dtmfEvents.push(reader.int32()); - } else - message.dtmfEvents.push(reader.int32()); - break; + break; + } default: reader.skipType(tag & 7); break; @@ -93666,6 +99871,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TelephonyDtmfEvents + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TelephonyDtmfEvents.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents"; + }; + return TelephonyDtmfEvents; })(); @@ -93761,9 +99981,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.speechModelVariant = reader.int32(); - break; + case 1: { + message.speechModelVariant = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -93876,6 +100097,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SpeechToTextConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SpeechToTextConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SpeechToTextConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SpeechToTextConfig"; + }; + return SpeechToTextConfig; })(); @@ -93912,7 +100148,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Sessions#detectIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Sessions|detectIntent}. * @memberof google.cloud.dialogflow.v2beta1.Sessions * @typedef DetectIntentCallback * @type {function} @@ -93945,7 +100181,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Sessions#streamingDetectIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Sessions|streamingDetectIntent}. * @memberof google.cloud.dialogflow.v2beta1.Sessions * @typedef StreamingDetectIntentCallback * @type {function} @@ -94127,24 +100363,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.session = reader.string(); - break; - case 2: - message.queryParams = $root.google.cloud.dialogflow.v2beta1.QueryParameters.decode(reader, reader.uint32()); - break; - case 3: - message.queryInput = $root.google.cloud.dialogflow.v2beta1.QueryInput.decode(reader, reader.uint32()); - break; - case 4: - message.outputAudioConfig = $root.google.cloud.dialogflow.v2beta1.OutputAudioConfig.decode(reader, reader.uint32()); - break; - case 7: - message.outputAudioConfigMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; - case 5: - message.inputAudio = reader.bytes(); - break; + case 1: { + message.session = reader.string(); + break; + } + case 2: { + message.queryParams = $root.google.cloud.dialogflow.v2beta1.QueryParameters.decode(reader, reader.uint32()); + break; + } + case 3: { + message.queryInput = $root.google.cloud.dialogflow.v2beta1.QueryInput.decode(reader, reader.uint32()); + break; + } + case 4: { + message.outputAudioConfig = $root.google.cloud.dialogflow.v2beta1.OutputAudioConfig.decode(reader, reader.uint32()); + break; + } + case 7: { + message.outputAudioConfigMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } + case 5: { + message.inputAudio = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -94246,7 +100488,7 @@ if (object.inputAudio != null) if (typeof object.inputAudio === "string") $util.base64.decode(object.inputAudio, message.inputAudio = $util.newBuffer($util.base64.length(object.inputAudio)), 0); - else if (object.inputAudio.length) + else if (object.inputAudio.length >= 0) message.inputAudio = object.inputAudio; return message; }; @@ -94304,6 +100546,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DetectIntentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.DetectIntentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DetectIntentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.DetectIntentRequest"; + }; + return DetectIntentRequest; })(); @@ -94456,26 +100713,32 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.responseId = reader.string(); - break; - case 2: - message.queryResult = $root.google.cloud.dialogflow.v2beta1.QueryResult.decode(reader, reader.uint32()); - break; - case 5: - if (!(message.alternativeQueryResults && message.alternativeQueryResults.length)) - message.alternativeQueryResults = []; - message.alternativeQueryResults.push($root.google.cloud.dialogflow.v2beta1.QueryResult.decode(reader, reader.uint32())); - break; - case 3: - message.webhookStatus = $root.google.rpc.Status.decode(reader, reader.uint32()); - break; - case 4: - message.outputAudio = reader.bytes(); - break; - case 6: - message.outputAudioConfig = $root.google.cloud.dialogflow.v2beta1.OutputAudioConfig.decode(reader, reader.uint32()); - break; + case 1: { + message.responseId = reader.string(); + break; + } + case 2: { + message.queryResult = $root.google.cloud.dialogflow.v2beta1.QueryResult.decode(reader, reader.uint32()); + break; + } + case 5: { + if (!(message.alternativeQueryResults && message.alternativeQueryResults.length)) + message.alternativeQueryResults = []; + message.alternativeQueryResults.push($root.google.cloud.dialogflow.v2beta1.QueryResult.decode(reader, reader.uint32())); + break; + } + case 3: { + message.webhookStatus = $root.google.rpc.Status.decode(reader, reader.uint32()); + break; + } + case 4: { + message.outputAudio = reader.bytes(); + break; + } + case 6: { + message.outputAudioConfig = $root.google.cloud.dialogflow.v2beta1.OutputAudioConfig.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -94581,7 +100844,7 @@ if (object.outputAudio != null) if (typeof object.outputAudio === "string") $util.base64.decode(object.outputAudio, message.outputAudio = $util.newBuffer($util.base64.length(object.outputAudio)), 0); - else if (object.outputAudio.length) + else if (object.outputAudio.length >= 0) message.outputAudio = object.outputAudio; if (object.outputAudioConfig != null) { if (typeof object.outputAudioConfig !== "object") @@ -94648,6 +100911,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DetectIntentResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.DetectIntentResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DetectIntentResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.DetectIntentResponse"; + }; + return DetectIntentResponse; })(); @@ -94852,63 +101130,73 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.timeZone = reader.string(); - break; - case 2: - message.geoLocation = $root.google.type.LatLng.decode(reader, reader.uint32()); - break; - case 3: - if (!(message.contexts && message.contexts.length)) - message.contexts = []; - message.contexts.push($root.google.cloud.dialogflow.v2beta1.Context.decode(reader, reader.uint32())); - break; - case 4: - message.resetContexts = reader.bool(); - break; - case 5: - if (!(message.sessionEntityTypes && message.sessionEntityTypes.length)) - message.sessionEntityTypes = []; - message.sessionEntityTypes.push($root.google.cloud.dialogflow.v2beta1.SessionEntityType.decode(reader, reader.uint32())); - break; - case 6: - message.payload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 12: - if (!(message.knowledgeBaseNames && message.knowledgeBaseNames.length)) - message.knowledgeBaseNames = []; - message.knowledgeBaseNames.push(reader.string()); - break; - case 10: - message.sentimentAnalysisRequestConfig = $root.google.cloud.dialogflow.v2beta1.SentimentAnalysisRequestConfig.decode(reader, reader.uint32()); - break; - case 13: - if (!(message.subAgents && message.subAgents.length)) - message.subAgents = []; - message.subAgents.push($root.google.cloud.dialogflow.v2beta1.SubAgent.decode(reader, reader.uint32())); - break; - case 14: - if (message.webhookHeaders === $util.emptyObject) - message.webhookHeaders = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + message.timeZone = reader.string(); + break; + } + case 2: { + message.geoLocation = $root.google.type.LatLng.decode(reader, reader.uint32()); + break; + } + case 3: { + if (!(message.contexts && message.contexts.length)) + message.contexts = []; + message.contexts.push($root.google.cloud.dialogflow.v2beta1.Context.decode(reader, reader.uint32())); + break; + } + case 4: { + message.resetContexts = reader.bool(); + break; + } + case 5: { + if (!(message.sessionEntityTypes && message.sessionEntityTypes.length)) + message.sessionEntityTypes = []; + message.sessionEntityTypes.push($root.google.cloud.dialogflow.v2beta1.SessionEntityType.decode(reader, reader.uint32())); + break; + } + case 6: { + message.payload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 12: { + if (!(message.knowledgeBaseNames && message.knowledgeBaseNames.length)) + message.knowledgeBaseNames = []; + message.knowledgeBaseNames.push(reader.string()); + break; + } + case 10: { + message.sentimentAnalysisRequestConfig = $root.google.cloud.dialogflow.v2beta1.SentimentAnalysisRequestConfig.decode(reader, reader.uint32()); + break; + } + case 13: { + if (!(message.subAgents && message.subAgents.length)) + message.subAgents = []; + message.subAgents.push($root.google.cloud.dialogflow.v2beta1.SubAgent.decode(reader, reader.uint32())); + break; + } + case 14: { + if (message.webhookHeaders === $util.emptyObject) + message.webhookHeaders = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.webhookHeaders[key] = value; + break; } - message.webhookHeaders[key] = value; - break; default: reader.skipType(tag & 7); break; @@ -95166,6 +101454,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for QueryParameters + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.QueryParameters + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + QueryParameters.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.QueryParameters"; + }; + return QueryParameters; })(); @@ -95308,18 +101611,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.audioConfig = $root.google.cloud.dialogflow.v2beta1.InputAudioConfig.decode(reader, reader.uint32()); - break; - case 2: - message.text = $root.google.cloud.dialogflow.v2beta1.TextInput.decode(reader, reader.uint32()); - break; - case 3: - message.event = $root.google.cloud.dialogflow.v2beta1.EventInput.decode(reader, reader.uint32()); - break; - case 4: - message.dtmf = $root.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents.decode(reader, reader.uint32()); - break; + case 1: { + message.audioConfig = $root.google.cloud.dialogflow.v2beta1.InputAudioConfig.decode(reader, reader.uint32()); + break; + } + case 2: { + message.text = $root.google.cloud.dialogflow.v2beta1.TextInput.decode(reader, reader.uint32()); + break; + } + case 3: { + message.event = $root.google.cloud.dialogflow.v2beta1.EventInput.decode(reader, reader.uint32()); + break; + } + case 4: { + message.dtmf = $root.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -95479,6 +101786,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for QueryInput + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.QueryInput + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + QueryInput.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.QueryInput"; + }; + return QueryInput; })(); @@ -95754,61 +102076,78 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.queryText = reader.string(); - break; - case 15: - message.languageCode = reader.string(); - break; - case 2: - message.speechRecognitionConfidence = reader.float(); - break; - case 3: - message.action = reader.string(); - break; - case 4: - message.parameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 5: - message.allRequiredParamsPresent = reader.bool(); - break; - case 21: - message.cancelsSlotFilling = reader.bool(); - break; - case 6: - message.fulfillmentText = reader.string(); - break; - case 7: - if (!(message.fulfillmentMessages && message.fulfillmentMessages.length)) - message.fulfillmentMessages = []; - message.fulfillmentMessages.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.decode(reader, reader.uint32())); - break; - case 8: - message.webhookSource = reader.string(); - break; - case 9: - message.webhookPayload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 10: - if (!(message.outputContexts && message.outputContexts.length)) - message.outputContexts = []; - message.outputContexts.push($root.google.cloud.dialogflow.v2beta1.Context.decode(reader, reader.uint32())); - break; - case 11: - message.intent = $root.google.cloud.dialogflow.v2beta1.Intent.decode(reader, reader.uint32()); - break; - case 12: - message.intentDetectionConfidence = reader.float(); - break; - case 14: - message.diagnosticInfo = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 17: - message.sentimentAnalysisResult = $root.google.cloud.dialogflow.v2beta1.SentimentAnalysisResult.decode(reader, reader.uint32()); - break; - case 18: - message.knowledgeAnswers = $root.google.cloud.dialogflow.v2beta1.KnowledgeAnswers.decode(reader, reader.uint32()); - break; + case 1: { + message.queryText = reader.string(); + break; + } + case 15: { + message.languageCode = reader.string(); + break; + } + case 2: { + message.speechRecognitionConfidence = reader.float(); + break; + } + case 3: { + message.action = reader.string(); + break; + } + case 4: { + message.parameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 5: { + message.allRequiredParamsPresent = reader.bool(); + break; + } + case 21: { + message.cancelsSlotFilling = reader.bool(); + break; + } + case 6: { + message.fulfillmentText = reader.string(); + break; + } + case 7: { + if (!(message.fulfillmentMessages && message.fulfillmentMessages.length)) + message.fulfillmentMessages = []; + message.fulfillmentMessages.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.decode(reader, reader.uint32())); + break; + } + case 8: { + message.webhookSource = reader.string(); + break; + } + case 9: { + message.webhookPayload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 10: { + if (!(message.outputContexts && message.outputContexts.length)) + message.outputContexts = []; + message.outputContexts.push($root.google.cloud.dialogflow.v2beta1.Context.decode(reader, reader.uint32())); + break; + } + case 11: { + message.intent = $root.google.cloud.dialogflow.v2beta1.Intent.decode(reader, reader.uint32()); + break; + } + case 12: { + message.intentDetectionConfidence = reader.float(); + break; + } + case 14: { + message.diagnosticInfo = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 17: { + message.sentimentAnalysisResult = $root.google.cloud.dialogflow.v2beta1.SentimentAnalysisResult.decode(reader, reader.uint32()); + break; + } + case 18: { + message.knowledgeAnswers = $root.google.cloud.dialogflow.v2beta1.KnowledgeAnswers.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -96093,6 +102432,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for QueryResult + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.QueryResult + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + QueryResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.QueryResult"; + }; + return QueryResult; })(); @@ -96190,11 +102544,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.answers && message.answers.length)) - message.answers = []; - message.answers.push($root.google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.answers && message.answers.length)) + message.answers = []; + message.answers.push($root.google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -96301,6 +102656,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for KnowledgeAnswers + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.KnowledgeAnswers + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + KnowledgeAnswers.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.KnowledgeAnswers"; + }; + KnowledgeAnswers.Answer = (function() { /** @@ -96437,21 +102807,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.source = reader.string(); - break; - case 2: - message.faqQuestion = reader.string(); - break; - case 3: - message.answer = reader.string(); - break; - case 4: - message.matchConfidenceLevel = reader.int32(); - break; - case 5: - message.matchConfidence = reader.float(); - break; + case 1: { + message.source = reader.string(); + break; + } + case 2: { + message.faqQuestion = reader.string(); + break; + } + case 3: { + message.answer = reader.string(); + break; + } + case 4: { + message.matchConfidenceLevel = reader.int32(); + break; + } + case 5: { + message.matchConfidence = reader.float(); + break; + } default: reader.skipType(tag & 7); break; @@ -96597,6 +102972,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Answer + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Answer.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer"; + }; + /** * MatchConfidenceLevel enum. * @name google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer.MatchConfidenceLevel @@ -96779,27 +103169,34 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.session = reader.string(); - break; - case 2: - message.queryParams = $root.google.cloud.dialogflow.v2beta1.QueryParameters.decode(reader, reader.uint32()); - break; - case 3: - message.queryInput = $root.google.cloud.dialogflow.v2beta1.QueryInput.decode(reader, reader.uint32()); - break; - case 4: - message.singleUtterance = reader.bool(); - break; - case 5: - message.outputAudioConfig = $root.google.cloud.dialogflow.v2beta1.OutputAudioConfig.decode(reader, reader.uint32()); - break; - case 7: - message.outputAudioConfigMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; - case 6: - message.inputAudio = reader.bytes(); - break; + case 1: { + message.session = reader.string(); + break; + } + case 2: { + message.queryParams = $root.google.cloud.dialogflow.v2beta1.QueryParameters.decode(reader, reader.uint32()); + break; + } + case 3: { + message.queryInput = $root.google.cloud.dialogflow.v2beta1.QueryInput.decode(reader, reader.uint32()); + break; + } + case 4: { + message.singleUtterance = reader.bool(); + break; + } + case 5: { + message.outputAudioConfig = $root.google.cloud.dialogflow.v2beta1.OutputAudioConfig.decode(reader, reader.uint32()); + break; + } + case 7: { + message.outputAudioConfigMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } + case 6: { + message.inputAudio = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -96906,7 +103303,7 @@ if (object.inputAudio != null) if (typeof object.inputAudio === "string") $util.base64.decode(object.inputAudio, message.inputAudio = $util.newBuffer($util.base64.length(object.inputAudio)), 0); - else if (object.inputAudio.length) + else if (object.inputAudio.length >= 0) message.inputAudio = object.inputAudio; return message; }; @@ -96967,6 +103364,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for StreamingDetectIntentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + StreamingDetectIntentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest"; + }; + return StreamingDetectIntentRequest; })(); @@ -97130,29 +103542,36 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.responseId = reader.string(); - break; - case 2: - message.recognitionResult = $root.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.decode(reader, reader.uint32()); - break; - case 3: - message.queryResult = $root.google.cloud.dialogflow.v2beta1.QueryResult.decode(reader, reader.uint32()); - break; - case 7: - if (!(message.alternativeQueryResults && message.alternativeQueryResults.length)) - message.alternativeQueryResults = []; - message.alternativeQueryResults.push($root.google.cloud.dialogflow.v2beta1.QueryResult.decode(reader, reader.uint32())); - break; - case 4: - message.webhookStatus = $root.google.rpc.Status.decode(reader, reader.uint32()); - break; - case 5: - message.outputAudio = reader.bytes(); - break; - case 6: - message.outputAudioConfig = $root.google.cloud.dialogflow.v2beta1.OutputAudioConfig.decode(reader, reader.uint32()); - break; + case 1: { + message.responseId = reader.string(); + break; + } + case 2: { + message.recognitionResult = $root.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.decode(reader, reader.uint32()); + break; + } + case 3: { + message.queryResult = $root.google.cloud.dialogflow.v2beta1.QueryResult.decode(reader, reader.uint32()); + break; + } + case 7: { + if (!(message.alternativeQueryResults && message.alternativeQueryResults.length)) + message.alternativeQueryResults = []; + message.alternativeQueryResults.push($root.google.cloud.dialogflow.v2beta1.QueryResult.decode(reader, reader.uint32())); + break; + } + case 4: { + message.webhookStatus = $root.google.rpc.Status.decode(reader, reader.uint32()); + break; + } + case 5: { + message.outputAudio = reader.bytes(); + break; + } + case 6: { + message.outputAudioConfig = $root.google.cloud.dialogflow.v2beta1.OutputAudioConfig.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -97268,7 +103687,7 @@ if (object.outputAudio != null) if (typeof object.outputAudio === "string") $util.base64.decode(object.outputAudio, message.outputAudio = $util.newBuffer($util.base64.length(object.outputAudio)), 0); - else if (object.outputAudio.length) + else if (object.outputAudio.length >= 0) message.outputAudio = object.outputAudio; if (object.outputAudioConfig != null) { if (typeof object.outputAudioConfig !== "object") @@ -97338,6 +103757,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for StreamingDetectIntentResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.StreamingDetectIntentResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + StreamingDetectIntentResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.StreamingDetectIntentResponse"; + }; + return StreamingDetectIntentResponse; })(); @@ -97523,35 +103957,44 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.messageType = reader.int32(); - break; - case 2: - message.transcript = reader.string(); - break; - case 3: - message.isFinal = reader.bool(); - break; - case 4: - message.confidence = reader.float(); - break; - case 6: - message.stability = reader.float(); - break; - case 7: - if (!(message.speechWordInfo && message.speechWordInfo.length)) - message.speechWordInfo = []; - message.speechWordInfo.push($root.google.cloud.dialogflow.v2beta1.SpeechWordInfo.decode(reader, reader.uint32())); - break; - case 8: - message.speechEndOffset = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; - case 10: - message.languageCode = reader.string(); - break; - case 5: - message.dtmfDigits = $root.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents.decode(reader, reader.uint32()); - break; + case 1: { + message.messageType = reader.int32(); + break; + } + case 2: { + message.transcript = reader.string(); + break; + } + case 3: { + message.isFinal = reader.bool(); + break; + } + case 4: { + message.confidence = reader.float(); + break; + } + case 6: { + message.stability = reader.float(); + break; + } + case 7: { + if (!(message.speechWordInfo && message.speechWordInfo.length)) + message.speechWordInfo = []; + message.speechWordInfo.push($root.google.cloud.dialogflow.v2beta1.SpeechWordInfo.decode(reader, reader.uint32())); + break; + } + case 8: { + message.speechEndOffset = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + } + case 10: { + message.languageCode = reader.string(); + break; + } + case 5: { + message.dtmfDigits = $root.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -97762,6 +104205,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for StreamingRecognitionResult + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.StreamingRecognitionResult + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + StreamingRecognitionResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.StreamingRecognitionResult"; + }; + /** * MessageType enum. * @name google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.MessageType @@ -97888,12 +104346,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.text = reader.string(); - break; - case 2: - message.languageCode = reader.string(); - break; + case 1: { + message.text = reader.string(); + break; + } + case 2: { + message.languageCode = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -97992,6 +104452,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TextInput + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.TextInput + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TextInput.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.TextInput"; + }; + return TextInput; })(); @@ -98109,15 +104584,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.parameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 3: - message.languageCode = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.parameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 3: { + message.languageCode = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -98229,6 +104707,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EventInput + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.EventInput + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EventInput.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.EventInput"; + }; + return EventInput; })(); @@ -98324,9 +104817,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.analyzeQueryTextSentiment = reader.bool(); - break; + case 1: { + message.analyzeQueryTextSentiment = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -98416,6 +104910,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SentimentAnalysisRequestConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SentimentAnalysisRequestConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SentimentAnalysisRequestConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SentimentAnalysisRequestConfig"; + }; + return SentimentAnalysisRequestConfig; })(); @@ -98511,9 +105020,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.queryTextSentiment = $root.google.cloud.dialogflow.v2beta1.Sentiment.decode(reader, reader.uint32()); - break; + case 1: { + message.queryTextSentiment = $root.google.cloud.dialogflow.v2beta1.Sentiment.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -98608,6 +105118,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SentimentAnalysisResult + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SentimentAnalysisResult + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SentimentAnalysisResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SentimentAnalysisResult"; + }; + return SentimentAnalysisResult; })(); @@ -98714,12 +105239,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.score = reader.float(); - break; - case 2: - message.magnitude = reader.float(); - break; + case 1: { + message.score = reader.float(); + break; + } + case 2: { + message.magnitude = reader.float(); + break; + } default: reader.skipType(tag & 7); break; @@ -98818,6 +105345,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Sentiment + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Sentiment + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Sentiment.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Sentiment"; + }; + return Sentiment; })(); @@ -98854,7 +105396,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts#listContexts}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts|listContexts}. * @memberof google.cloud.dialogflow.v2beta1.Contexts * @typedef ListContextsCallback * @type {function} @@ -98887,7 +105429,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts#getContext}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts|getContext}. * @memberof google.cloud.dialogflow.v2beta1.Contexts * @typedef GetContextCallback * @type {function} @@ -98920,7 +105462,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts#createContext}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts|createContext}. * @memberof google.cloud.dialogflow.v2beta1.Contexts * @typedef CreateContextCallback * @type {function} @@ -98953,7 +105495,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts#updateContext}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts|updateContext}. * @memberof google.cloud.dialogflow.v2beta1.Contexts * @typedef UpdateContextCallback * @type {function} @@ -98986,7 +105528,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts#deleteContext}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts|deleteContext}. * @memberof google.cloud.dialogflow.v2beta1.Contexts * @typedef DeleteContextCallback * @type {function} @@ -99019,7 +105561,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts#deleteAllContexts}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Contexts|deleteAllContexts}. * @memberof google.cloud.dialogflow.v2beta1.Contexts * @typedef DeleteAllContextsCallback * @type {function} @@ -99168,15 +105710,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.lifespanCount = reader.int32(); - break; - case 3: - message.parameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.lifespanCount = reader.int32(); + break; + } + case 3: { + message.parameters = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -99288,6 +105833,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Context + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Context + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Context.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Context"; + }; + return Context; })(); @@ -99405,15 +105965,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -99520,6 +106083,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListContextsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListContextsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListContextsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListContextsRequest"; + }; + return ListContextsRequest; })(); @@ -99628,14 +106206,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.contexts && message.contexts.length)) - message.contexts = []; - message.contexts.push($root.google.cloud.dialogflow.v2beta1.Context.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.contexts && message.contexts.length)) + message.contexts = []; + message.contexts.push($root.google.cloud.dialogflow.v2beta1.Context.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -99751,6 +106331,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListContextsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListContextsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListContextsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListContextsResponse"; + }; + return ListContextsResponse; })(); @@ -99846,9 +106441,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -99938,6 +106534,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetContextRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.GetContextRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetContextRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.GetContextRequest"; + }; + return GetContextRequest; })(); @@ -100044,12 +106655,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.context = $root.google.cloud.dialogflow.v2beta1.Context.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.context = $root.google.cloud.dialogflow.v2beta1.Context.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -100153,6 +106766,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateContextRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.CreateContextRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateContextRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.CreateContextRequest"; + }; + return CreateContextRequest; })(); @@ -100259,12 +106887,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.context = $root.google.cloud.dialogflow.v2beta1.Context.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.context = $root.google.cloud.dialogflow.v2beta1.Context.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -100373,6 +107003,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateContextRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.UpdateContextRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateContextRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.UpdateContextRequest"; + }; + return UpdateContextRequest; })(); @@ -100468,9 +107113,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -100560,6 +107206,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteContextRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.DeleteContextRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteContextRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.DeleteContextRequest"; + }; + return DeleteContextRequest; })(); @@ -100655,9 +107316,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -100747,6 +107409,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteAllContextsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteAllContextsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest"; + }; + return DeleteAllContextsRequest; })(); @@ -100783,7 +107460,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents#listIntents}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents|listIntents}. * @memberof google.cloud.dialogflow.v2beta1.Intents * @typedef ListIntentsCallback * @type {function} @@ -100816,7 +107493,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents#getIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents|getIntent}. * @memberof google.cloud.dialogflow.v2beta1.Intents * @typedef GetIntentCallback * @type {function} @@ -100849,7 +107526,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents#createIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents|createIntent}. * @memberof google.cloud.dialogflow.v2beta1.Intents * @typedef CreateIntentCallback * @type {function} @@ -100882,7 +107559,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents#updateIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents|updateIntent}. * @memberof google.cloud.dialogflow.v2beta1.Intents * @typedef UpdateIntentCallback * @type {function} @@ -100915,7 +107592,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents#deleteIntent}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents|deleteIntent}. * @memberof google.cloud.dialogflow.v2beta1.Intents * @typedef DeleteIntentCallback * @type {function} @@ -100948,7 +107625,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents#batchUpdateIntents}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents|batchUpdateIntents}. * @memberof google.cloud.dialogflow.v2beta1.Intents * @typedef BatchUpdateIntentsCallback * @type {function} @@ -100981,7 +107658,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents#batchDeleteIntents}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Intents|batchDeleteIntents}. * @memberof google.cloud.dialogflow.v2beta1.Intents * @typedef BatchDeleteIntentsCallback * @type {function} @@ -101347,90 +108024,111 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 6: - message.webhookState = reader.int32(); - break; - case 3: - message.priority = reader.int32(); - break; - case 4: - message.isFallback = reader.bool(); - break; - case 5: - message.mlEnabled = reader.bool(); - break; - case 19: - message.mlDisabled = reader.bool(); - break; - case 20: - message.liveAgentHandoff = reader.bool(); - break; - case 21: - message.endInteraction = reader.bool(); - break; - case 7: - if (!(message.inputContextNames && message.inputContextNames.length)) - message.inputContextNames = []; - message.inputContextNames.push(reader.string()); - break; - case 8: - if (!(message.events && message.events.length)) - message.events = []; - message.events.push(reader.string()); - break; - case 9: - if (!(message.trainingPhrases && message.trainingPhrases.length)) - message.trainingPhrases = []; - message.trainingPhrases.push($root.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.decode(reader, reader.uint32())); - break; - case 10: - message.action = reader.string(); - break; - case 11: - if (!(message.outputContexts && message.outputContexts.length)) - message.outputContexts = []; - message.outputContexts.push($root.google.cloud.dialogflow.v2beta1.Context.decode(reader, reader.uint32())); - break; - case 12: - message.resetContexts = reader.bool(); - break; - case 13: - if (!(message.parameters && message.parameters.length)) - message.parameters = []; - message.parameters.push($root.google.cloud.dialogflow.v2beta1.Intent.Parameter.decode(reader, reader.uint32())); - break; - case 14: - if (!(message.messages && message.messages.length)) - message.messages = []; - message.messages.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.decode(reader, reader.uint32())); - break; - case 15: - if (!(message.defaultResponsePlatforms && message.defaultResponsePlatforms.length)) - message.defaultResponsePlatforms = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 6: { + message.webhookState = reader.int32(); + break; + } + case 3: { + message.priority = reader.int32(); + break; + } + case 4: { + message.isFallback = reader.bool(); + break; + } + case 5: { + message.mlEnabled = reader.bool(); + break; + } + case 19: { + message.mlDisabled = reader.bool(); + break; + } + case 20: { + message.liveAgentHandoff = reader.bool(); + break; + } + case 21: { + message.endInteraction = reader.bool(); + break; + } + case 7: { + if (!(message.inputContextNames && message.inputContextNames.length)) + message.inputContextNames = []; + message.inputContextNames.push(reader.string()); + break; + } + case 8: { + if (!(message.events && message.events.length)) + message.events = []; + message.events.push(reader.string()); + break; + } + case 9: { + if (!(message.trainingPhrases && message.trainingPhrases.length)) + message.trainingPhrases = []; + message.trainingPhrases.push($root.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.decode(reader, reader.uint32())); + break; + } + case 10: { + message.action = reader.string(); + break; + } + case 11: { + if (!(message.outputContexts && message.outputContexts.length)) + message.outputContexts = []; + message.outputContexts.push($root.google.cloud.dialogflow.v2beta1.Context.decode(reader, reader.uint32())); + break; + } + case 12: { + message.resetContexts = reader.bool(); + break; + } + case 13: { + if (!(message.parameters && message.parameters.length)) + message.parameters = []; + message.parameters.push($root.google.cloud.dialogflow.v2beta1.Intent.Parameter.decode(reader, reader.uint32())); + break; + } + case 14: { + if (!(message.messages && message.messages.length)) + message.messages = []; + message.messages.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.decode(reader, reader.uint32())); + break; + } + case 15: { + if (!(message.defaultResponsePlatforms && message.defaultResponsePlatforms.length)) + message.defaultResponsePlatforms = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.defaultResponsePlatforms.push(reader.int32()); + } else message.defaultResponsePlatforms.push(reader.int32()); - } else - message.defaultResponsePlatforms.push(reader.int32()); - break; - case 16: - message.rootFollowupIntentName = reader.string(); - break; - case 17: - message.parentFollowupIntentName = reader.string(); - break; - case 18: - if (!(message.followupIntentInfo && message.followupIntentInfo.length)) - message.followupIntentInfo = []; - message.followupIntentInfo.push($root.google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo.decode(reader, reader.uint32())); - break; + break; + } + case 16: { + message.rootFollowupIntentName = reader.string(); + break; + } + case 17: { + message.parentFollowupIntentName = reader.string(); + break; + } + case 18: { + if (!(message.followupIntentInfo && message.followupIntentInfo.length)) + message.followupIntentInfo = []; + message.followupIntentInfo.push($root.google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -101882,6 +108580,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Intent + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Intent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent"; + }; + /** * WebhookState enum. * @name google.cloud.dialogflow.v2beta1.Intent.WebhookState @@ -102025,20 +108738,24 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.type = reader.int32(); - break; - case 3: - if (!(message.parts && message.parts.length)) - message.parts = []; - message.parts.push($root.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.decode(reader, reader.uint32())); - break; - case 4: - message.timesAddedCount = reader.int32(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.type = reader.int32(); + break; + } + case 3: { + if (!(message.parts && message.parts.length)) + message.parts = []; + message.parts.push($root.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.decode(reader, reader.uint32())); + break; + } + case 4: { + message.timesAddedCount = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -102189,6 +108906,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TrainingPhrase + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TrainingPhrase.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase"; + }; + /** * Type enum. * @name google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Type @@ -102330,18 +109062,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.text = reader.string(); - break; - case 2: - message.entityType = reader.string(); - break; - case 3: - message.alias = reader.string(); - break; - case 4: - message.userDefined = reader.bool(); - break; + case 1: { + message.text = reader.string(); + break; + } + case 2: { + message.entityType = reader.string(); + break; + } + case 3: { + message.alias = reader.string(); + break; + } + case 4: { + message.userDefined = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -102456,6 +109192,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Part + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Part.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part"; + }; + return Part; })(); @@ -102633,32 +109384,40 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 3: - message.value = reader.string(); - break; - case 4: - message.defaultValue = reader.string(); - break; - case 5: - message.entityTypeDisplayName = reader.string(); - break; - case 6: - message.mandatory = reader.bool(); - break; - case 7: - if (!(message.prompts && message.prompts.length)) - message.prompts = []; - message.prompts.push(reader.string()); - break; - case 8: - message.isList = reader.bool(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 3: { + message.value = reader.string(); + break; + } + case 4: { + message.defaultValue = reader.string(); + break; + } + case 5: { + message.entityTypeDisplayName = reader.string(); + break; + } + case 6: { + message.mandatory = reader.bool(); + break; + } + case 7: { + if (!(message.prompts && message.prompts.length)) + message.prompts = []; + message.prompts.push(reader.string()); + break; + } + case 8: { + message.isList = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -102818,6 +109577,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Parameter + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Parameter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Parameter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Parameter"; + }; + return Parameter; })(); @@ -103147,69 +109921,90 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.text = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Text.decode(reader, reader.uint32()); - break; - case 2: - message.image = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Image.decode(reader, reader.uint32()); - break; - case 3: - message.quickReplies = $root.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies.decode(reader, reader.uint32()); - break; - case 4: - message.card = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Card.decode(reader, reader.uint32()); - break; - case 5: - message.payload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 7: - message.simpleResponses = $root.google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponses.decode(reader, reader.uint32()); - break; - case 8: - message.basicCard = $root.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.decode(reader, reader.uint32()); - break; - case 9: - message.suggestions = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions.decode(reader, reader.uint32()); - break; - case 10: - message.linkOutSuggestion = $root.google.cloud.dialogflow.v2beta1.Intent.Message.LinkOutSuggestion.decode(reader, reader.uint32()); - break; - case 11: - message.listSelect = $root.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.decode(reader, reader.uint32()); - break; - case 12: - message.carouselSelect = $root.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.decode(reader, reader.uint32()); - break; - case 13: - message.telephonyPlayAudio = $root.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio.decode(reader, reader.uint32()); - break; - case 14: - message.telephonySynthesizeSpeech = $root.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech.decode(reader, reader.uint32()); - break; - case 15: - message.telephonyTransferCall = $root.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall.decode(reader, reader.uint32()); - break; - case 18: - message.rbmText = $root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmText.decode(reader, reader.uint32()); - break; - case 19: - message.rbmStandaloneRichCard = $root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.decode(reader, reader.uint32()); - break; - case 20: - message.rbmCarouselRichCard = $root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard.decode(reader, reader.uint32()); - break; - case 22: - message.browseCarouselCard = $root.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.decode(reader, reader.uint32()); - break; - case 23: - message.tableCard = $root.google.cloud.dialogflow.v2beta1.Intent.Message.TableCard.decode(reader, reader.uint32()); - break; - case 24: - message.mediaContent = $root.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.decode(reader, reader.uint32()); - break; - case 6: - message.platform = reader.int32(); - break; + case 1: { + message.text = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Text.decode(reader, reader.uint32()); + break; + } + case 2: { + message.image = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Image.decode(reader, reader.uint32()); + break; + } + case 3: { + message.quickReplies = $root.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies.decode(reader, reader.uint32()); + break; + } + case 4: { + message.card = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Card.decode(reader, reader.uint32()); + break; + } + case 5: { + message.payload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 7: { + message.simpleResponses = $root.google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponses.decode(reader, reader.uint32()); + break; + } + case 8: { + message.basicCard = $root.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.decode(reader, reader.uint32()); + break; + } + case 9: { + message.suggestions = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions.decode(reader, reader.uint32()); + break; + } + case 10: { + message.linkOutSuggestion = $root.google.cloud.dialogflow.v2beta1.Intent.Message.LinkOutSuggestion.decode(reader, reader.uint32()); + break; + } + case 11: { + message.listSelect = $root.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.decode(reader, reader.uint32()); + break; + } + case 12: { + message.carouselSelect = $root.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.decode(reader, reader.uint32()); + break; + } + case 13: { + message.telephonyPlayAudio = $root.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio.decode(reader, reader.uint32()); + break; + } + case 14: { + message.telephonySynthesizeSpeech = $root.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech.decode(reader, reader.uint32()); + break; + } + case 15: { + message.telephonyTransferCall = $root.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall.decode(reader, reader.uint32()); + break; + } + case 18: { + message.rbmText = $root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmText.decode(reader, reader.uint32()); + break; + } + case 19: { + message.rbmStandaloneRichCard = $root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.decode(reader, reader.uint32()); + break; + } + case 20: { + message.rbmCarouselRichCard = $root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard.decode(reader, reader.uint32()); + break; + } + case 22: { + message.browseCarouselCard = $root.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.decode(reader, reader.uint32()); + break; + } + case 23: { + message.tableCard = $root.google.cloud.dialogflow.v2beta1.Intent.Message.TableCard.decode(reader, reader.uint32()); + break; + } + case 24: { + message.mediaContent = $root.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.decode(reader, reader.uint32()); + break; + } + case 6: { + message.platform = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -103756,6 +110551,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Message + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Message.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message"; + }; + /** * Platform enum. * @name google.cloud.dialogflow.v2beta1.Intent.Message.Platform @@ -103882,11 +110692,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.text && message.text.length)) - message.text = []; - message.text.push(reader.string()); - break; + case 1: { + if (!(message.text && message.text.length)) + message.text = []; + message.text.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -103988,6 +110799,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Text + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.Text + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Text.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.Text"; + }; + return Text; })(); @@ -104094,12 +110920,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.imageUri = reader.string(); - break; - case 2: - message.accessibilityText = reader.string(); - break; + case 1: { + message.imageUri = reader.string(); + break; + } + case 2: { + message.accessibilityText = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -104198,6 +111026,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Image + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.Image + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Image.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.Image"; + }; + return Image; })(); @@ -104306,14 +111149,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - if (!(message.quickReplies && message.quickReplies.length)) - message.quickReplies = []; - message.quickReplies.push(reader.string()); - break; + case 1: { + message.title = reader.string(); + break; + } + case 2: { + if (!(message.quickReplies && message.quickReplies.length)) + message.quickReplies = []; + message.quickReplies.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -104424,6 +111269,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for QuickReplies + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + QuickReplies.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies"; + }; + return QuickReplies; })(); @@ -104554,20 +111414,24 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.subtitle = reader.string(); - break; - case 3: - message.imageUri = reader.string(); - break; - case 4: - if (!(message.buttons && message.buttons.length)) - message.buttons = []; - message.buttons.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button.decode(reader, reader.uint32())); - break; + case 1: { + message.title = reader.string(); + break; + } + case 2: { + message.subtitle = reader.string(); + break; + } + case 3: { + message.imageUri = reader.string(); + break; + } + case 4: { + if (!(message.buttons && message.buttons.length)) + message.buttons = []; + message.buttons.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -104700,6 +111564,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Card + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.Card + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Card.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.Card"; + }; + Card.Button = (function() { /** @@ -104803,12 +111682,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.text = reader.string(); - break; - case 2: - message.postback = reader.string(); - break; + case 1: { + message.text = reader.string(); + break; + } + case 2: { + message.postback = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -104907,6 +111788,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Button + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Button.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button"; + }; + return Button; })(); @@ -105027,15 +111923,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.textToSpeech = reader.string(); - break; - case 2: - message.ssml = reader.string(); - break; - case 3: - message.displayText = reader.string(); - break; + case 1: { + message.textToSpeech = reader.string(); + break; + } + case 2: { + message.ssml = reader.string(); + break; + } + case 3: { + message.displayText = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -105142,6 +112041,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SimpleResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SimpleResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponse"; + }; + return SimpleResponse; })(); @@ -105239,11 +112153,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.simpleResponses && message.simpleResponses.length)) - message.simpleResponses = []; - message.simpleResponses.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponse.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.simpleResponses && message.simpleResponses.length)) + message.simpleResponses = []; + message.simpleResponses.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponse.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -105350,6 +112265,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SimpleResponses + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponses + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SimpleResponses.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponses"; + }; + return SimpleResponses; })(); @@ -105491,23 +112421,28 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.subtitle = reader.string(); - break; - case 3: - message.formattedText = reader.string(); - break; - case 4: - message.image = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Image.decode(reader, reader.uint32()); - break; - case 5: - if (!(message.buttons && message.buttons.length)) - message.buttons = []; - message.buttons.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.decode(reader, reader.uint32())); - break; + case 1: { + message.title = reader.string(); + break; + } + case 2: { + message.subtitle = reader.string(); + break; + } + case 3: { + message.formattedText = reader.string(); + break; + } + case 4: { + message.image = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Image.decode(reader, reader.uint32()); + break; + } + case 5: { + if (!(message.buttons && message.buttons.length)) + message.buttons = []; + message.buttons.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -105653,6 +112588,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BasicCard + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BasicCard.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard"; + }; + BasicCard.Button = (function() { /** @@ -105756,12 +112706,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.openUriAction = $root.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.OpenUriAction.decode(reader, reader.uint32()); - break; + case 1: { + message.title = reader.string(); + break; + } + case 2: { + message.openUriAction = $root.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.OpenUriAction.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -105865,6 +112817,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Button + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Button.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button"; + }; + Button.OpenUriAction = (function() { /** @@ -105957,9 +112924,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.uri = reader.string(); - break; + case 1: { + message.uri = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -106049,6 +113017,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for OpenUriAction + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.OpenUriAction + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + OpenUriAction.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.OpenUriAction"; + }; + return OpenUriAction; })(); @@ -106150,9 +113133,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; + case 1: { + message.title = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -106242,6 +113226,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Suggestion + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Suggestion.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion"; + }; + return Suggestion; })(); @@ -106339,11 +113338,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.suggestions && message.suggestions.length)) - message.suggestions = []; - message.suggestions.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.suggestions && message.suggestions.length)) + message.suggestions = []; + message.suggestions.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -106450,6 +113450,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Suggestions + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Suggestions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions"; + }; + return Suggestions; })(); @@ -106556,12 +113571,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.destinationName = reader.string(); - break; - case 2: - message.uri = reader.string(); - break; + case 1: { + message.destinationName = reader.string(); + break; + } + case 2: { + message.uri = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -106660,6 +113677,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for LinkOutSuggestion + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.LinkOutSuggestion + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + LinkOutSuggestion.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.LinkOutSuggestion"; + }; + return LinkOutSuggestion; })(); @@ -106779,17 +113811,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - if (!(message.items && message.items.length)) - message.items = []; - message.items.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item.decode(reader, reader.uint32())); - break; - case 3: - message.subtitle = reader.string(); - break; + case 1: { + message.title = reader.string(); + break; + } + case 2: { + if (!(message.items && message.items.length)) + message.items = []; + message.items.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item.decode(reader, reader.uint32())); + break; + } + case 3: { + message.subtitle = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -106914,6 +113949,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListSelect + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListSelect.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect"; + }; + ListSelect.Item = (function() { /** @@ -107039,18 +114089,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.info = $root.google.cloud.dialogflow.v2beta1.Intent.Message.SelectItemInfo.decode(reader, reader.uint32()); - break; - case 2: - message.title = reader.string(); - break; - case 3: - message.description = reader.string(); - break; - case 4: - message.image = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Image.decode(reader, reader.uint32()); - break; + case 1: { + message.info = $root.google.cloud.dialogflow.v2beta1.Intent.Message.SelectItemInfo.decode(reader, reader.uint32()); + break; + } + case 2: { + message.title = reader.string(); + break; + } + case 3: { + message.description = reader.string(); + break; + } + case 4: { + message.image = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Image.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -107175,6 +114229,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Item + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Item.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item"; + }; + return Item; })(); @@ -107275,11 +114344,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.items && message.items.length)) - message.items = []; - message.items.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.items && message.items.length)) + message.items = []; + message.items.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -107386,6 +114456,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CarouselSelect + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CarouselSelect.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect"; + }; + CarouselSelect.Item = (function() { /** @@ -107511,18 +114596,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.info = $root.google.cloud.dialogflow.v2beta1.Intent.Message.SelectItemInfo.decode(reader, reader.uint32()); - break; - case 2: - message.title = reader.string(); - break; - case 3: - message.description = reader.string(); - break; - case 4: - message.image = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Image.decode(reader, reader.uint32()); - break; + case 1: { + message.info = $root.google.cloud.dialogflow.v2beta1.Intent.Message.SelectItemInfo.decode(reader, reader.uint32()); + break; + } + case 2: { + message.title = reader.string(); + break; + } + case 3: { + message.description = reader.string(); + break; + } + case 4: { + message.image = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Image.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -107647,6 +114736,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Item + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Item.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item"; + }; + return Item; })(); @@ -107758,14 +114862,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - if (!(message.synonyms && message.synonyms.length)) - message.synonyms = []; - message.synonyms.push(reader.string()); - break; + case 1: { + message.key = reader.string(); + break; + } + case 2: { + if (!(message.synonyms && message.synonyms.length)) + message.synonyms = []; + message.synonyms.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -107876,6 +114982,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SelectItemInfo + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.SelectItemInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SelectItemInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.SelectItemInfo"; + }; + return SelectItemInfo; })(); @@ -107971,9 +115092,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.audioUri = reader.string(); - break; + case 1: { + message.audioUri = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -108063,6 +115185,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TelephonyPlayAudio + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TelephonyPlayAudio.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio"; + }; + return TelephonyPlayAudio; })(); @@ -108183,12 +115320,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.text = reader.string(); - break; - case 2: - message.ssml = reader.string(); - break; + case 1: { + message.text = reader.string(); + break; + } + case 2: { + message.ssml = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -108296,6 +115435,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TelephonySynthesizeSpeech + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TelephonySynthesizeSpeech.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech"; + }; + return TelephonySynthesizeSpeech; })(); @@ -108391,9 +115545,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.phoneNumber = reader.string(); - break; + case 1: { + message.phoneNumber = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -108483,6 +115638,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TelephonyTransferCall + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TelephonyTransferCall.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall"; + }; + return TelephonyTransferCall; })(); @@ -108591,14 +115761,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.text = reader.string(); - break; - case 2: - if (!(message.rbmSuggestion && message.rbmSuggestion.length)) - message.rbmSuggestion = []; - message.rbmSuggestion.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion.decode(reader, reader.uint32())); - break; + case 1: { + message.text = reader.string(); + break; + } + case 2: { + if (!(message.rbmSuggestion && message.rbmSuggestion.length)) + message.rbmSuggestion = []; + message.rbmSuggestion.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -108714,6 +115886,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for RbmText + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.RbmText + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RbmText.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.RbmText"; + }; + return RbmText; })(); @@ -108822,14 +116009,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.cardWidth = reader.int32(); - break; - case 2: - if (!(message.cardContents && message.cardContents.length)) - message.cardContents = []; - message.cardContents.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.decode(reader, reader.uint32())); - break; + case 1: { + message.cardWidth = reader.int32(); + break; + } + case 2: { + if (!(message.cardContents && message.cardContents.length)) + message.cardContents = []; + message.cardContents.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -108963,6 +116152,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for RbmCarouselCard + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RbmCarouselCard.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard"; + }; + /** * CardWidth enum. * @name google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard.CardWidth @@ -109096,15 +116300,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.cardOrientation = reader.int32(); - break; - case 2: - message.thumbnailImageAlignment = reader.int32(); - break; - case 3: - message.cardContent = $root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.decode(reader, reader.uint32()); - break; + case 1: { + message.cardOrientation = reader.int32(); + break; + } + case 2: { + message.thumbnailImageAlignment = reader.int32(); + break; + } + case 3: { + message.cardContent = $root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -109252,6 +116459,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for RbmStandaloneCard + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RbmStandaloneCard.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard"; + }; + /** * CardOrientation enum. * @name google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.CardOrientation @@ -109414,20 +116636,24 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.media = $root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia.decode(reader, reader.uint32()); - break; - case 4: - if (!(message.suggestions && message.suggestions.length)) - message.suggestions = []; - message.suggestions.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion.decode(reader, reader.uint32())); - break; + case 1: { + message.title = reader.string(); + break; + } + case 2: { + message.description = reader.string(); + break; + } + case 3: { + message.media = $root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia.decode(reader, reader.uint32()); + break; + } + case 4: { + if (!(message.suggestions && message.suggestions.length)) + message.suggestions = []; + message.suggestions.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -109565,6 +116791,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for RbmCardContent + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RbmCardContent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent"; + }; + RbmCardContent.RbmMedia = (function() { /** @@ -109679,15 +116920,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.fileUri = reader.string(); - break; - case 2: - message.thumbnailUri = reader.string(); - break; - case 3: - message.height = reader.int32(); - break; + case 1: { + message.fileUri = reader.string(); + break; + } + case 2: { + message.thumbnailUri = reader.string(); + break; + } + case 3: { + message.height = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -109817,6 +117061,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for RbmMedia + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RbmMedia.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia"; + }; + /** * Height enum. * @name google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia.Height @@ -109958,12 +117217,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.reply = $root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedReply.decode(reader, reader.uint32()); - break; - case 2: - message.action = $root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.decode(reader, reader.uint32()); - break; + case 1: { + message.reply = $root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedReply.decode(reader, reader.uint32()); + break; + } + case 2: { + message.action = $root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -110083,6 +117344,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for RbmSuggestion + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RbmSuggestion.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion"; + }; + return RbmSuggestion; })(); @@ -110189,12 +117465,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.text = reader.string(); - break; - case 2: - message.postbackData = reader.string(); - break; + case 1: { + message.text = reader.string(); + break; + } + case 2: { + message.postbackData = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -110293,6 +117571,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for RbmSuggestedReply + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedReply + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RbmSuggestedReply.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedReply"; + }; + return RbmSuggestedReply; })(); @@ -110446,21 +117739,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.text = reader.string(); - break; - case 2: - message.postbackData = reader.string(); - break; - case 3: - message.dial = $root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial.decode(reader, reader.uint32()); - break; - case 4: - message.openUrl = $root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri.decode(reader, reader.uint32()); - break; - case 5: - message.shareLocation = $root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation.decode(reader, reader.uint32()); - break; + case 1: { + message.text = reader.string(); + break; + } + case 2: { + message.postbackData = reader.string(); + break; + } + case 3: { + message.dial = $root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial.decode(reader, reader.uint32()); + break; + } + case 4: { + message.openUrl = $root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri.decode(reader, reader.uint32()); + break; + } + case 5: { + message.shareLocation = $root.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -110618,6 +117916,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for RbmSuggestedAction + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RbmSuggestedAction.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction"; + }; + RbmSuggestedAction.RbmSuggestedActionDial = (function() { /** @@ -110710,9 +118023,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.phoneNumber = reader.string(); - break; + case 1: { + message.phoneNumber = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -110802,6 +118116,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for RbmSuggestedActionDial + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RbmSuggestedActionDial.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial"; + }; + return RbmSuggestedActionDial; })(); @@ -110897,9 +118226,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.uri = reader.string(); - break; + case 1: { + message.uri = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -110989,6 +118319,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for RbmSuggestedActionOpenUri + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RbmSuggestedActionOpenUri.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri"; + }; + return RbmSuggestedActionOpenUri; })(); @@ -111149,6 +118494,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for RbmSuggestedActionShareLocation + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RbmSuggestedActionShareLocation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation"; + }; + return RbmSuggestedActionShareLocation; })(); @@ -111260,14 +118620,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.mediaType = reader.int32(); - break; - case 2: - if (!(message.mediaObjects && message.mediaObjects.length)) - message.mediaObjects = []; - message.mediaObjects.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject.decode(reader, reader.uint32())); - break; + case 1: { + message.mediaType = reader.int32(); + break; + } + case 2: { + if (!(message.mediaObjects && message.mediaObjects.length)) + message.mediaObjects = []; + message.mediaObjects.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -111396,6 +118758,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for MediaContent + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + MediaContent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent"; + }; + /** * ResponseMediaType enum. * @name google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaType @@ -111560,21 +118937,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.largeImage = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Image.decode(reader, reader.uint32()); - break; - case 4: - message.icon = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Image.decode(reader, reader.uint32()); - break; - case 5: - message.contentUrl = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.description = reader.string(); + break; + } + case 3: { + message.largeImage = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Image.decode(reader, reader.uint32()); + break; + } + case 4: { + message.icon = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Image.decode(reader, reader.uint32()); + break; + } + case 5: { + message.contentUrl = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -111720,6 +119102,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ResponseMediaObject + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResponseMediaObject.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject"; + }; + return ResponseMediaObject; })(); @@ -111831,14 +119228,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.items && message.items.length)) - message.items = []; - message.items.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.decode(reader, reader.uint32())); - break; - case 2: - message.imageDisplayOptions = reader.int32(); - break; + case 1: { + if (!(message.items && message.items.length)) + message.items = []; + message.items.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.decode(reader, reader.uint32())); + break; + } + case 2: { + message.imageDisplayOptions = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -111982,6 +119381,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BrowseCarouselCard + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BrowseCarouselCard.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard"; + }; + BrowseCarouselCard.BrowseCarouselCardItem = (function() { /** @@ -112118,21 +119532,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.openUriAction = $root.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.decode(reader, reader.uint32()); - break; - case 2: - message.title = reader.string(); - break; - case 3: - message.description = reader.string(); - break; - case 4: - message.image = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Image.decode(reader, reader.uint32()); - break; - case 5: - message.footer = reader.string(); - break; + case 1: { + message.openUriAction = $root.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.decode(reader, reader.uint32()); + break; + } + case 2: { + message.title = reader.string(); + break; + } + case 3: { + message.description = reader.string(); + break; + } + case 4: { + message.image = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Image.decode(reader, reader.uint32()); + break; + } + case 5: { + message.footer = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -112265,6 +119684,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BrowseCarouselCardItem + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BrowseCarouselCardItem.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem"; + }; + BrowseCarouselCardItem.OpenUrlAction = (function() { /** @@ -112368,12 +119802,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.url = reader.string(); - break; - case 3: - message.urlTypeHint = reader.int32(); - break; + case 1: { + message.url = reader.string(); + break; + } + case 3: { + message.urlTypeHint = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -112490,6 +119926,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for OpenUrlAction + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + OpenUrlAction.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction"; + }; + /** * UrlTypeHint enum. * @name google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.UrlTypeHint @@ -112688,30 +120139,36 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.subtitle = reader.string(); - break; - case 3: - message.image = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Image.decode(reader, reader.uint32()); - break; - case 4: - if (!(message.columnProperties && message.columnProperties.length)) - message.columnProperties = []; - message.columnProperties.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.ColumnProperties.decode(reader, reader.uint32())); - break; - case 5: - if (!(message.rows && message.rows.length)) - message.rows = []; - message.rows.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow.decode(reader, reader.uint32())); - break; - case 6: - if (!(message.buttons && message.buttons.length)) - message.buttons = []; - message.buttons.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.decode(reader, reader.uint32())); - break; + case 1: { + message.title = reader.string(); + break; + } + case 2: { + message.subtitle = reader.string(); + break; + } + case 3: { + message.image = $root.google.cloud.dialogflow.v2beta1.Intent.Message.Image.decode(reader, reader.uint32()); + break; + } + case 4: { + if (!(message.columnProperties && message.columnProperties.length)) + message.columnProperties = []; + message.columnProperties.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.ColumnProperties.decode(reader, reader.uint32())); + break; + } + case 5: { + if (!(message.rows && message.rows.length)) + message.rows = []; + message.rows.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow.decode(reader, reader.uint32())); + break; + } + case 6: { + if (!(message.buttons && message.buttons.length)) + message.buttons = []; + message.buttons.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -112900,6 +120357,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TableCard + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.TableCard + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TableCard.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.TableCard"; + }; + return TableCard; })(); @@ -113006,12 +120478,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.header = reader.string(); - break; - case 2: - message.horizontalAlignment = reader.int32(); - break; + case 1: { + message.header = reader.string(); + break; + } + case 2: { + message.horizontalAlignment = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -113133,6 +120607,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ColumnProperties + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.ColumnProperties + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ColumnProperties.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.ColumnProperties"; + }; + /** * HorizontalAlignment enum. * @name google.cloud.dialogflow.v2beta1.Intent.Message.ColumnProperties.HorizontalAlignment @@ -113259,14 +120748,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.cells && message.cells.length)) - message.cells = []; - message.cells.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.TableCardCell.decode(reader, reader.uint32())); - break; - case 2: - message.dividerAfter = reader.bool(); - break; + case 1: { + if (!(message.cells && message.cells.length)) + message.cells = []; + message.cells.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.TableCardCell.decode(reader, reader.uint32())); + break; + } + case 2: { + message.dividerAfter = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -113382,6 +120873,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TableCardRow + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TableCardRow.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow"; + }; + return TableCardRow; })(); @@ -113477,9 +120983,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.text = reader.string(); - break; + case 1: { + message.text = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -113569,6 +121076,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TableCardCell + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.Message.TableCardCell + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TableCardCell.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.Message.TableCardCell"; + }; + return TableCardCell; })(); @@ -113678,12 +121200,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.followupIntentName = reader.string(); - break; - case 2: - message.parentFollowupIntentName = reader.string(); - break; + case 1: { + message.followupIntentName = reader.string(); + break; + } + case 2: { + message.parentFollowupIntentName = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -113782,6 +121306,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FollowupIntentInfo + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FollowupIntentInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo"; + }; + return FollowupIntentInfo; })(); @@ -113924,21 +121463,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.languageCode = reader.string(); - break; - case 3: - message.intentView = reader.int32(); - break; - case 4: - message.pageSize = reader.int32(); - break; - case 5: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.languageCode = reader.string(); + break; + } + case 3: { + message.intentView = reader.int32(); + break; + } + case 4: { + message.pageSize = reader.int32(); + break; + } + case 5: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -114074,6 +121618,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListIntentsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListIntentsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListIntentsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListIntentsRequest"; + }; + return ListIntentsRequest; })(); @@ -114182,14 +121741,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.intents && message.intents.length)) - message.intents = []; - message.intents.push($root.google.cloud.dialogflow.v2beta1.Intent.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.intents && message.intents.length)) + message.intents = []; + message.intents.push($root.google.cloud.dialogflow.v2beta1.Intent.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -114305,6 +121866,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListIntentsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListIntentsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListIntentsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListIntentsResponse"; + }; + return ListIntentsResponse; })(); @@ -114422,15 +121998,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.languageCode = reader.string(); - break; - case 3: - message.intentView = reader.int32(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.languageCode = reader.string(); + break; + } + case 3: { + message.intentView = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -114550,6 +122129,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetIntentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.GetIntentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetIntentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.GetIntentRequest"; + }; + return GetIntentRequest; })(); @@ -114678,18 +122272,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.intent = $root.google.cloud.dialogflow.v2beta1.Intent.decode(reader, reader.uint32()); - break; - case 3: - message.languageCode = reader.string(); - break; - case 4: - message.intentView = reader.int32(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.intent = $root.google.cloud.dialogflow.v2beta1.Intent.decode(reader, reader.uint32()); + break; + } + case 3: { + message.languageCode = reader.string(); + break; + } + case 4: { + message.intentView = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -114822,6 +122420,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateIntentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.CreateIntentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateIntentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.CreateIntentRequest"; + }; + return CreateIntentRequest; })(); @@ -114950,18 +122563,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.intent = $root.google.cloud.dialogflow.v2beta1.Intent.decode(reader, reader.uint32()); - break; - case 2: - message.languageCode = reader.string(); - break; - case 3: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; - case 4: - message.intentView = reader.int32(); - break; + case 1: { + message.intent = $root.google.cloud.dialogflow.v2beta1.Intent.decode(reader, reader.uint32()); + break; + } + case 2: { + message.languageCode = reader.string(); + break; + } + case 3: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } + case 4: { + message.intentView = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -115099,6 +122716,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateIntentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.UpdateIntentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateIntentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.UpdateIntentRequest"; + }; + return UpdateIntentRequest; })(); @@ -115194,9 +122826,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -115286,6 +122919,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteIntentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.DeleteIntentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteIntentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.DeleteIntentRequest"; + }; + return DeleteIntentRequest; })(); @@ -115450,24 +123098,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.intentBatchUri = reader.string(); - break; - case 3: - message.intentBatchInline = $root.google.cloud.dialogflow.v2beta1.IntentBatch.decode(reader, reader.uint32()); - break; - case 4: - message.languageCode = reader.string(); - break; - case 5: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; - case 6: - message.intentView = reader.int32(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.intentBatchUri = reader.string(); + break; + } + case 3: { + message.intentBatchInline = $root.google.cloud.dialogflow.v2beta1.IntentBatch.decode(reader, reader.uint32()); + break; + } + case 4: { + message.languageCode = reader.string(); + break; + } + case 5: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } + case 6: { + message.intentView = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -115633,6 +123287,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchUpdateIntentsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchUpdateIntentsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest"; + }; + return BatchUpdateIntentsRequest; })(); @@ -115730,11 +123399,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.intents && message.intents.length)) - message.intents = []; - message.intents.push($root.google.cloud.dialogflow.v2beta1.Intent.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.intents && message.intents.length)) + message.intents = []; + message.intents.push($root.google.cloud.dialogflow.v2beta1.Intent.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -115841,6 +123511,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchUpdateIntentsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchUpdateIntentsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse"; + }; + return BatchUpdateIntentsResponse; })(); @@ -115949,14 +123634,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - if (!(message.intents && message.intents.length)) - message.intents = []; - message.intents.push($root.google.cloud.dialogflow.v2beta1.Intent.decode(reader, reader.uint32())); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + if (!(message.intents && message.intents.length)) + message.intents = []; + message.intents.push($root.google.cloud.dialogflow.v2beta1.Intent.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -116072,6 +123759,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchDeleteIntentsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchDeleteIntentsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest"; + }; + return BatchDeleteIntentsRequest; })(); @@ -116183,11 +123885,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.intents && message.intents.length)) - message.intents = []; - message.intents.push($root.google.cloud.dialogflow.v2beta1.Intent.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.intents && message.intents.length)) + message.intents = []; + message.intents.push($root.google.cloud.dialogflow.v2beta1.Intent.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -116294,6 +123997,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for IntentBatch + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.IntentBatch + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + IntentBatch.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.IntentBatch"; + }; + return IntentBatch; })(); @@ -116330,7 +124048,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.SessionEntityTypes#listSessionEntityTypes}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.SessionEntityTypes|listSessionEntityTypes}. * @memberof google.cloud.dialogflow.v2beta1.SessionEntityTypes * @typedef ListSessionEntityTypesCallback * @type {function} @@ -116363,7 +124081,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.SessionEntityTypes#getSessionEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.SessionEntityTypes|getSessionEntityType}. * @memberof google.cloud.dialogflow.v2beta1.SessionEntityTypes * @typedef GetSessionEntityTypeCallback * @type {function} @@ -116396,7 +124114,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.SessionEntityTypes#createSessionEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.SessionEntityTypes|createSessionEntityType}. * @memberof google.cloud.dialogflow.v2beta1.SessionEntityTypes * @typedef CreateSessionEntityTypeCallback * @type {function} @@ -116429,7 +124147,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.SessionEntityTypes#updateSessionEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.SessionEntityTypes|updateSessionEntityType}. * @memberof google.cloud.dialogflow.v2beta1.SessionEntityTypes * @typedef UpdateSessionEntityTypeCallback * @type {function} @@ -116462,7 +124180,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.SessionEntityTypes#deleteSessionEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.SessionEntityTypes|deleteSessionEntityType}. * @memberof google.cloud.dialogflow.v2beta1.SessionEntityTypes * @typedef DeleteSessionEntityTypeCallback * @type {function} @@ -116613,17 +124331,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.entityOverrideMode = reader.int32(); - break; - case 3: - if (!(message.entities && message.entities.length)) - message.entities = []; - message.entities.push($root.google.cloud.dialogflow.v2beta1.EntityType.Entity.decode(reader, reader.uint32())); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.entityOverrideMode = reader.int32(); + break; + } + case 3: { + if (!(message.entities && message.entities.length)) + message.entities = []; + message.entities.push($root.google.cloud.dialogflow.v2beta1.EntityType.Entity.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -116766,6 +124487,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SessionEntityType + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SessionEntityType + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SessionEntityType.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SessionEntityType"; + }; + /** * EntityOverrideMode enum. * @name google.cloud.dialogflow.v2beta1.SessionEntityType.EntityOverrideMode @@ -116899,15 +124635,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -117014,6 +124753,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListSessionEntityTypesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListSessionEntityTypesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListSessionEntityTypesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListSessionEntityTypesRequest"; + }; + return ListSessionEntityTypesRequest; })(); @@ -117122,14 +124876,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.sessionEntityTypes && message.sessionEntityTypes.length)) - message.sessionEntityTypes = []; - message.sessionEntityTypes.push($root.google.cloud.dialogflow.v2beta1.SessionEntityType.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.sessionEntityTypes && message.sessionEntityTypes.length)) + message.sessionEntityTypes = []; + message.sessionEntityTypes.push($root.google.cloud.dialogflow.v2beta1.SessionEntityType.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -117245,6 +125001,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListSessionEntityTypesResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListSessionEntityTypesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse"; + }; + return ListSessionEntityTypesResponse; })(); @@ -117340,9 +125111,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -117432,6 +125204,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetSessionEntityTypeRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.GetSessionEntityTypeRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetSessionEntityTypeRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.GetSessionEntityTypeRequest"; + }; + return GetSessionEntityTypeRequest; })(); @@ -117538,12 +125325,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.sessionEntityType = $root.google.cloud.dialogflow.v2beta1.SessionEntityType.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.sessionEntityType = $root.google.cloud.dialogflow.v2beta1.SessionEntityType.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -117647,6 +125436,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateSessionEntityTypeRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.CreateSessionEntityTypeRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateSessionEntityTypeRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.CreateSessionEntityTypeRequest"; + }; + return CreateSessionEntityTypeRequest; })(); @@ -117753,12 +125557,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.sessionEntityType = $root.google.cloud.dialogflow.v2beta1.SessionEntityType.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.sessionEntityType = $root.google.cloud.dialogflow.v2beta1.SessionEntityType.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -117867,6 +125673,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateSessionEntityTypeRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.UpdateSessionEntityTypeRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateSessionEntityTypeRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.UpdateSessionEntityTypeRequest"; + }; + return UpdateSessionEntityTypeRequest; })(); @@ -117962,9 +125783,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -118054,6 +125876,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteSessionEntityTypeRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.DeleteSessionEntityTypeRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteSessionEntityTypeRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.DeleteSessionEntityTypeRequest"; + }; + return DeleteSessionEntityTypeRequest; })(); @@ -118090,7 +125927,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes#listEntityTypes}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes|listEntityTypes}. * @memberof google.cloud.dialogflow.v2beta1.EntityTypes * @typedef ListEntityTypesCallback * @type {function} @@ -118123,7 +125960,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes#getEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes|getEntityType}. * @memberof google.cloud.dialogflow.v2beta1.EntityTypes * @typedef GetEntityTypeCallback * @type {function} @@ -118156,7 +125993,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes#createEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes|createEntityType}. * @memberof google.cloud.dialogflow.v2beta1.EntityTypes * @typedef CreateEntityTypeCallback * @type {function} @@ -118189,7 +126026,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes#updateEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes|updateEntityType}. * @memberof google.cloud.dialogflow.v2beta1.EntityTypes * @typedef UpdateEntityTypeCallback * @type {function} @@ -118222,7 +126059,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes#deleteEntityType}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes|deleteEntityType}. * @memberof google.cloud.dialogflow.v2beta1.EntityTypes * @typedef DeleteEntityTypeCallback * @type {function} @@ -118255,7 +126092,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes#batchUpdateEntityTypes}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes|batchUpdateEntityTypes}. * @memberof google.cloud.dialogflow.v2beta1.EntityTypes * @typedef BatchUpdateEntityTypesCallback * @type {function} @@ -118288,7 +126125,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes#batchDeleteEntityTypes}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes|batchDeleteEntityTypes}. * @memberof google.cloud.dialogflow.v2beta1.EntityTypes * @typedef BatchDeleteEntityTypesCallback * @type {function} @@ -118321,7 +126158,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes#batchCreateEntities}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes|batchCreateEntities}. * @memberof google.cloud.dialogflow.v2beta1.EntityTypes * @typedef BatchCreateEntitiesCallback * @type {function} @@ -118354,7 +126191,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes#batchUpdateEntities}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes|batchUpdateEntities}. * @memberof google.cloud.dialogflow.v2beta1.EntityTypes * @typedef BatchUpdateEntitiesCallback * @type {function} @@ -118387,7 +126224,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes#batchDeleteEntities}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.EntityTypes|batchDeleteEntities}. * @memberof google.cloud.dialogflow.v2beta1.EntityTypes * @typedef BatchDeleteEntitiesCallback * @type {function} @@ -118571,26 +126408,32 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 3: - message.kind = reader.int32(); - break; - case 4: - message.autoExpansionMode = reader.int32(); - break; - case 6: - if (!(message.entities && message.entities.length)) - message.entities = []; - message.entities.push($root.google.cloud.dialogflow.v2beta1.EntityType.Entity.decode(reader, reader.uint32())); - break; - case 7: - message.enableFuzzyExtraction = reader.bool(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 3: { + message.kind = reader.int32(); + break; + } + case 4: { + message.autoExpansionMode = reader.int32(); + break; + } + case 6: { + if (!(message.entities && message.entities.length)) + message.entities = []; + message.entities.push($root.google.cloud.dialogflow.v2beta1.EntityType.Entity.decode(reader, reader.uint32())); + break; + } + case 7: { + message.enableFuzzyExtraction = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -118775,6 +126618,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EntityType + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.EntityType + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EntityType.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.EntityType"; + }; + /** * Kind enum. * @name google.cloud.dialogflow.v2beta1.EntityType.Kind @@ -118912,14 +126770,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.value = reader.string(); - break; - case 2: - if (!(message.synonyms && message.synonyms.length)) - message.synonyms = []; - message.synonyms.push(reader.string()); - break; + case 1: { + message.value = reader.string(); + break; + } + case 2: { + if (!(message.synonyms && message.synonyms.length)) + message.synonyms = []; + message.synonyms.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -119030,6 +126890,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Entity + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.EntityType.Entity + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Entity.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.EntityType.Entity"; + }; + return Entity; })(); @@ -119161,18 +127036,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.languageCode = reader.string(); - break; - case 3: - message.pageSize = reader.int32(); - break; - case 4: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.languageCode = reader.string(); + break; + } + case 3: { + message.pageSize = reader.int32(); + break; + } + case 4: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -119287,6 +127166,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListEntityTypesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListEntityTypesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListEntityTypesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListEntityTypesRequest"; + }; + return ListEntityTypesRequest; })(); @@ -119395,14 +127289,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.entityTypes && message.entityTypes.length)) - message.entityTypes = []; - message.entityTypes.push($root.google.cloud.dialogflow.v2beta1.EntityType.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.entityTypes && message.entityTypes.length)) + message.entityTypes = []; + message.entityTypes.push($root.google.cloud.dialogflow.v2beta1.EntityType.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -119518,6 +127414,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListEntityTypesResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListEntityTypesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListEntityTypesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListEntityTypesResponse"; + }; + return ListEntityTypesResponse; })(); @@ -119624,12 +127535,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.languageCode = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.languageCode = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -119728,6 +127641,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetEntityTypeRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.GetEntityTypeRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetEntityTypeRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.GetEntityTypeRequest"; + }; + return GetEntityTypeRequest; })(); @@ -119845,15 +127773,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.entityType = $root.google.cloud.dialogflow.v2beta1.EntityType.decode(reader, reader.uint32()); - break; - case 3: - message.languageCode = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.entityType = $root.google.cloud.dialogflow.v2beta1.EntityType.decode(reader, reader.uint32()); + break; + } + case 3: { + message.languageCode = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -119965,6 +127896,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateEntityTypeRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.CreateEntityTypeRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateEntityTypeRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.CreateEntityTypeRequest"; + }; + return CreateEntityTypeRequest; })(); @@ -120082,15 +128028,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.entityType = $root.google.cloud.dialogflow.v2beta1.EntityType.decode(reader, reader.uint32()); - break; - case 2: - message.languageCode = reader.string(); - break; - case 3: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.entityType = $root.google.cloud.dialogflow.v2beta1.EntityType.decode(reader, reader.uint32()); + break; + } + case 2: { + message.languageCode = reader.string(); + break; + } + case 3: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -120207,6 +128156,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateEntityTypeRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.UpdateEntityTypeRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateEntityTypeRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.UpdateEntityTypeRequest"; + }; + return UpdateEntityTypeRequest; })(); @@ -120302,9 +128266,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -120394,6 +128359,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteEntityTypeRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.DeleteEntityTypeRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteEntityTypeRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.DeleteEntityTypeRequest"; + }; + return DeleteEntityTypeRequest; })(); @@ -120547,21 +128527,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.entityTypeBatchUri = reader.string(); - break; - case 3: - message.entityTypeBatchInline = $root.google.cloud.dialogflow.v2beta1.EntityTypeBatch.decode(reader, reader.uint32()); - break; - case 4: - message.languageCode = reader.string(); - break; - case 5: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.entityTypeBatchUri = reader.string(); + break; + } + case 3: { + message.entityTypeBatchInline = $root.google.cloud.dialogflow.v2beta1.EntityTypeBatch.decode(reader, reader.uint32()); + break; + } + case 4: { + message.languageCode = reader.string(); + break; + } + case 5: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -120706,6 +128691,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchUpdateEntityTypesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchUpdateEntityTypesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesRequest"; + }; + return BatchUpdateEntityTypesRequest; })(); @@ -120803,11 +128803,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.entityTypes && message.entityTypes.length)) - message.entityTypes = []; - message.entityTypes.push($root.google.cloud.dialogflow.v2beta1.EntityType.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.entityTypes && message.entityTypes.length)) + message.entityTypes = []; + message.entityTypes.push($root.google.cloud.dialogflow.v2beta1.EntityType.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -120914,6 +128915,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchUpdateEntityTypesResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchUpdateEntityTypesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse"; + }; + return BatchUpdateEntityTypesResponse; })(); @@ -121022,14 +129038,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - if (!(message.entityTypeNames && message.entityTypeNames.length)) - message.entityTypeNames = []; - message.entityTypeNames.push(reader.string()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + if (!(message.entityTypeNames && message.entityTypeNames.length)) + message.entityTypeNames = []; + message.entityTypeNames.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -121140,6 +129158,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchDeleteEntityTypesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchDeleteEntityTypesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest"; + }; + return BatchDeleteEntityTypesRequest; })(); @@ -121259,17 +129292,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - if (!(message.entities && message.entities.length)) - message.entities = []; - message.entities.push($root.google.cloud.dialogflow.v2beta1.EntityType.Entity.decode(reader, reader.uint32())); - break; - case 3: - message.languageCode = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + if (!(message.entities && message.entities.length)) + message.entities = []; + message.entities.push($root.google.cloud.dialogflow.v2beta1.EntityType.Entity.decode(reader, reader.uint32())); + break; + } + case 3: { + message.languageCode = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -121394,6 +129430,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchCreateEntitiesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.BatchCreateEntitiesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchCreateEntitiesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.BatchCreateEntitiesRequest"; + }; + return BatchCreateEntitiesRequest; })(); @@ -121524,20 +129575,24 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - if (!(message.entities && message.entities.length)) - message.entities = []; - message.entities.push($root.google.cloud.dialogflow.v2beta1.EntityType.Entity.decode(reader, reader.uint32())); - break; - case 3: - message.languageCode = reader.string(); - break; - case 4: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + if (!(message.entities && message.entities.length)) + message.entities = []; + message.entities.push($root.google.cloud.dialogflow.v2beta1.EntityType.Entity.decode(reader, reader.uint32())); + break; + } + case 3: { + message.languageCode = reader.string(); + break; + } + case 4: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -121675,6 +129730,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchUpdateEntitiesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.BatchUpdateEntitiesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchUpdateEntitiesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.BatchUpdateEntitiesRequest"; + }; + return BatchUpdateEntitiesRequest; })(); @@ -121794,17 +129864,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - if (!(message.entityValues && message.entityValues.length)) - message.entityValues = []; - message.entityValues.push(reader.string()); - break; - case 3: - message.languageCode = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + if (!(message.entityValues && message.entityValues.length)) + message.entityValues = []; + message.entityValues.push(reader.string()); + break; + } + case 3: { + message.languageCode = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -121924,6 +129997,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchDeleteEntitiesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.BatchDeleteEntitiesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchDeleteEntitiesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.BatchDeleteEntitiesRequest"; + }; + return BatchDeleteEntitiesRequest; })(); @@ -122021,11 +130109,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.entityTypes && message.entityTypes.length)) - message.entityTypes = []; - message.entityTypes.push($root.google.cloud.dialogflow.v2beta1.EntityType.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.entityTypes && message.entityTypes.length)) + message.entityTypes = []; + message.entityTypes.push($root.google.cloud.dialogflow.v2beta1.EntityType.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -122132,6 +130221,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EntityTypeBatch + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.EntityTypeBatch + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EntityTypeBatch.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.EntityTypeBatch"; + }; + return EntityTypeBatch; })(); @@ -122168,7 +130272,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations#createConversation}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations|createConversation}. * @memberof google.cloud.dialogflow.v2beta1.Conversations * @typedef CreateConversationCallback * @type {function} @@ -122201,7 +130305,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations#listConversations}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations|listConversations}. * @memberof google.cloud.dialogflow.v2beta1.Conversations * @typedef ListConversationsCallback * @type {function} @@ -122234,7 +130338,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations#getConversation}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations|getConversation}. * @memberof google.cloud.dialogflow.v2beta1.Conversations * @typedef GetConversationCallback * @type {function} @@ -122267,7 +130371,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations#completeConversation}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations|completeConversation}. * @memberof google.cloud.dialogflow.v2beta1.Conversations * @typedef CompleteConversationCallback * @type {function} @@ -122300,7 +130404,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations#batchCreateMessages}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations|batchCreateMessages}. * @memberof google.cloud.dialogflow.v2beta1.Conversations * @typedef BatchCreateMessagesCallback * @type {function} @@ -122333,7 +130437,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations#listMessages}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Conversations|listMessages}. * @memberof google.cloud.dialogflow.v2beta1.Conversations * @typedef ListMessagesCallback * @type {function} @@ -122526,27 +130630,34 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.lifecycleState = reader.int32(); - break; - case 3: - message.conversationProfile = reader.string(); - break; - case 4: - message.phoneNumber = $root.google.cloud.dialogflow.v2beta1.ConversationPhoneNumber.decode(reader, reader.uint32()); - break; - case 7: - message.conversationStage = reader.int32(); - break; - case 5: - message.startTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 6: - message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.lifecycleState = reader.int32(); + break; + } + case 3: { + message.conversationProfile = reader.string(); + break; + } + case 4: { + message.phoneNumber = $root.google.cloud.dialogflow.v2beta1.ConversationPhoneNumber.decode(reader, reader.uint32()); + break; + } + case 7: { + message.conversationStage = reader.int32(); + break; + } + case 5: { + message.startTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 6: { + message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -122736,6 +130847,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Conversation + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Conversation + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Conversation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Conversation"; + }; + /** * LifecycleState enum. * @name google.cloud.dialogflow.v2beta1.Conversation.LifecycleState @@ -122863,9 +130989,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 3: - message.phoneNumber = reader.string(); - break; + case 3: { + message.phoneNumber = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -122955,6 +131082,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ConversationPhoneNumber + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ConversationPhoneNumber + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ConversationPhoneNumber.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ConversationPhoneNumber"; + }; + return ConversationPhoneNumber; })(); @@ -123072,15 +131214,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.conversation = $root.google.cloud.dialogflow.v2beta1.Conversation.decode(reader, reader.uint32()); - break; - case 3: - message.conversationId = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.conversation = $root.google.cloud.dialogflow.v2beta1.Conversation.decode(reader, reader.uint32()); + break; + } + case 3: { + message.conversationId = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -123192,6 +131337,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateConversationRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.CreateConversationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateConversationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.CreateConversationRequest"; + }; + return CreateConversationRequest; })(); @@ -123320,18 +131480,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; - case 4: - message.filter = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } + case 4: { + message.filter = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -123446,6 +131610,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListConversationsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListConversationsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListConversationsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListConversationsRequest"; + }; + return ListConversationsRequest; })(); @@ -123554,14 +131733,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.conversations && message.conversations.length)) - message.conversations = []; - message.conversations.push($root.google.cloud.dialogflow.v2beta1.Conversation.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.conversations && message.conversations.length)) + message.conversations = []; + message.conversations.push($root.google.cloud.dialogflow.v2beta1.Conversation.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -123677,6 +131858,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListConversationsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListConversationsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListConversationsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListConversationsResponse"; + }; + return ListConversationsResponse; })(); @@ -123772,9 +131968,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -123864,6 +132061,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetConversationRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.GetConversationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetConversationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.GetConversationRequest"; + }; + return GetConversationRequest; })(); @@ -123959,9 +132171,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -124051,6 +132264,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CompleteConversationRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.CompleteConversationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CompleteConversationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.CompleteConversationRequest"; + }; + return CompleteConversationRequest; })(); @@ -124157,12 +132385,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.message = $root.google.cloud.dialogflow.v2beta1.Message.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.message = $root.google.cloud.dialogflow.v2beta1.Message.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -124266,6 +132496,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateMessageRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.CreateMessageRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateMessageRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.CreateMessageRequest"; + }; + return CreateMessageRequest; })(); @@ -124374,14 +132619,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - if (!(message.requests && message.requests.length)) - message.requests = []; - message.requests.push($root.google.cloud.dialogflow.v2beta1.CreateMessageRequest.decode(reader, reader.uint32())); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + if (!(message.requests && message.requests.length)) + message.requests = []; + message.requests.push($root.google.cloud.dialogflow.v2beta1.CreateMessageRequest.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -124497,6 +132744,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchCreateMessagesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.BatchCreateMessagesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchCreateMessagesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.BatchCreateMessagesRequest"; + }; + return BatchCreateMessagesRequest; })(); @@ -124594,11 +132856,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.messages && message.messages.length)) - message.messages = []; - message.messages.push($root.google.cloud.dialogflow.v2beta1.Message.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.messages && message.messages.length)) + message.messages = []; + message.messages.push($root.google.cloud.dialogflow.v2beta1.Message.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -124705,6 +132968,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchCreateMessagesResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.BatchCreateMessagesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchCreateMessagesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.BatchCreateMessagesResponse"; + }; + return BatchCreateMessagesResponse; })(); @@ -124833,18 +133111,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 4: - message.filter = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 4: { + message.filter = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -124959,6 +133241,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListMessagesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListMessagesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListMessagesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListMessagesRequest"; + }; + return ListMessagesRequest; })(); @@ -125067,14 +133364,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.messages && message.messages.length)) - message.messages = []; - message.messages.push($root.google.cloud.dialogflow.v2beta1.Message.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.messages && message.messages.length)) + message.messages = []; + message.messages.push($root.google.cloud.dialogflow.v2beta1.Message.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -125190,6 +133489,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListMessagesResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListMessagesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListMessagesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListMessagesResponse"; + }; + return ListMessagesResponse; })(); @@ -125332,18 +133646,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversation = reader.string(); - break; - case 2: - message.type = reader.int32(); - break; - case 3: - message.errorStatus = $root.google.rpc.Status.decode(reader, reader.uint32()); - break; - case 4: - message.newMessagePayload = $root.google.cloud.dialogflow.v2beta1.Message.decode(reader, reader.uint32()); - break; + case 1: { + message.conversation = reader.string(); + break; + } + case 2: { + message.type = reader.int32(); + break; + } + case 3: { + message.errorStatus = $root.google.rpc.Status.decode(reader, reader.uint32()); + break; + } + case 4: { + message.newMessagePayload = $root.google.cloud.dialogflow.v2beta1.Message.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -125507,6 +133825,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ConversationEvent + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ConversationEvent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ConversationEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ConversationEvent"; + }; + /** * Type enum. * @name google.cloud.dialogflow.v2beta1.ConversationEvent.Type @@ -125565,7 +133898,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles#listConversationProfiles}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles|listConversationProfiles}. * @memberof google.cloud.dialogflow.v2beta1.ConversationProfiles * @typedef ListConversationProfilesCallback * @type {function} @@ -125598,7 +133931,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles#getConversationProfile}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles|getConversationProfile}. * @memberof google.cloud.dialogflow.v2beta1.ConversationProfiles * @typedef GetConversationProfileCallback * @type {function} @@ -125631,7 +133964,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles#createConversationProfile}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles|createConversationProfile}. * @memberof google.cloud.dialogflow.v2beta1.ConversationProfiles * @typedef CreateConversationProfileCallback * @type {function} @@ -125664,7 +133997,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles#updateConversationProfile}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles|updateConversationProfile}. * @memberof google.cloud.dialogflow.v2beta1.ConversationProfiles * @typedef UpdateConversationProfileCallback * @type {function} @@ -125697,7 +134030,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles#deleteConversationProfile}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles|deleteConversationProfile}. * @memberof google.cloud.dialogflow.v2beta1.ConversationProfiles * @typedef DeleteConversationProfileCallback * @type {function} @@ -125730,7 +134063,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles#setSuggestionFeatureConfig}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles|setSuggestionFeatureConfig}. * @memberof google.cloud.dialogflow.v2beta1.ConversationProfiles * @typedef SetSuggestionFeatureConfigCallback * @type {function} @@ -125763,7 +134096,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles#clearSuggestionFeatureConfig}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.ConversationProfiles|clearSuggestionFeatureConfig}. * @memberof google.cloud.dialogflow.v2beta1.ConversationProfiles * @typedef ClearSuggestionFeatureConfigCallback * @type {function} @@ -126033,48 +134366,62 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 11: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 12: - message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 3: - message.automatedAgentConfig = $root.google.cloud.dialogflow.v2beta1.AutomatedAgentConfig.decode(reader, reader.uint32()); - break; - case 4: - message.humanAgentAssistantConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.decode(reader, reader.uint32()); - break; - case 5: - message.humanAgentHandoffConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.decode(reader, reader.uint32()); - break; - case 6: - message.notificationConfig = $root.google.cloud.dialogflow.v2beta1.NotificationConfig.decode(reader, reader.uint32()); - break; - case 7: - message.loggingConfig = $root.google.cloud.dialogflow.v2beta1.LoggingConfig.decode(reader, reader.uint32()); - break; - case 8: - message.newMessageEventNotificationConfig = $root.google.cloud.dialogflow.v2beta1.NotificationConfig.decode(reader, reader.uint32()); - break; - case 9: - message.sttConfig = $root.google.cloud.dialogflow.v2beta1.SpeechToTextConfig.decode(reader, reader.uint32()); - break; - case 10: - message.languageCode = reader.string(); - break; - case 14: - message.timeZone = reader.string(); - break; - case 13: - message.securitySettings = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 11: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 12: { + message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 3: { + message.automatedAgentConfig = $root.google.cloud.dialogflow.v2beta1.AutomatedAgentConfig.decode(reader, reader.uint32()); + break; + } + case 4: { + message.humanAgentAssistantConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.decode(reader, reader.uint32()); + break; + } + case 5: { + message.humanAgentHandoffConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.decode(reader, reader.uint32()); + break; + } + case 6: { + message.notificationConfig = $root.google.cloud.dialogflow.v2beta1.NotificationConfig.decode(reader, reader.uint32()); + break; + } + case 7: { + message.loggingConfig = $root.google.cloud.dialogflow.v2beta1.LoggingConfig.decode(reader, reader.uint32()); + break; + } + case 8: { + message.newMessageEventNotificationConfig = $root.google.cloud.dialogflow.v2beta1.NotificationConfig.decode(reader, reader.uint32()); + break; + } + case 9: { + message.sttConfig = $root.google.cloud.dialogflow.v2beta1.SpeechToTextConfig.decode(reader, reader.uint32()); + break; + } + case 10: { + message.languageCode = reader.string(); + break; + } + case 14: { + message.timeZone = reader.string(); + break; + } + case 13: { + message.securitySettings = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -126314,6 +134661,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ConversationProfile + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ConversationProfile + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ConversationProfile.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ConversationProfile"; + }; + return ConversationProfile; })(); @@ -126409,9 +134771,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.agent = reader.string(); - break; + case 1: { + message.agent = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -126501,6 +134864,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AutomatedAgentConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.AutomatedAgentConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AutomatedAgentConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.AutomatedAgentConfig"; + }; + return AutomatedAgentConfig; })(); @@ -126629,18 +135007,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 2: - message.notificationConfig = $root.google.cloud.dialogflow.v2beta1.NotificationConfig.decode(reader, reader.uint32()); - break; - case 3: - message.humanAgentSuggestionConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.decode(reader, reader.uint32()); - break; - case 4: - message.endUserSuggestionConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.decode(reader, reader.uint32()); - break; - case 5: - message.messageAnalysisConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.MessageAnalysisConfig.decode(reader, reader.uint32()); - break; + case 2: { + message.notificationConfig = $root.google.cloud.dialogflow.v2beta1.NotificationConfig.decode(reader, reader.uint32()); + break; + } + case 3: { + message.humanAgentSuggestionConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.decode(reader, reader.uint32()); + break; + } + case 4: { + message.endUserSuggestionConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.decode(reader, reader.uint32()); + break; + } + case 5: { + message.messageAnalysisConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.MessageAnalysisConfig.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -126775,6 +135157,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for HumanAgentAssistantConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + HumanAgentAssistantConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig"; + }; + HumanAgentAssistantConfig.SuggestionTriggerSettings = (function() { /** @@ -126878,12 +135275,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.noSmallTalk = reader.bool(); - break; - case 2: - message.onlyEndUser = reader.bool(); - break; + case 1: { + message.noSmallTalk = reader.bool(); + break; + } + case 2: { + message.onlyEndUser = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -126982,6 +135381,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestionTriggerSettings + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionTriggerSettings + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestionTriggerSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionTriggerSettings"; + }; + return SuggestionTriggerSettings; })(); @@ -127132,24 +135546,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 5: - message.suggestionFeature = $root.google.cloud.dialogflow.v2beta1.SuggestionFeature.decode(reader, reader.uint32()); - break; - case 3: - message.enableEventBasedSuggestion = reader.bool(); - break; - case 10: - message.suggestionTriggerSettings = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionTriggerSettings.decode(reader, reader.uint32()); - break; - case 6: - message.queryConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.decode(reader, reader.uint32()); - break; - case 7: - message.conversationModelConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig.decode(reader, reader.uint32()); - break; - case 8: - message.conversationProcessConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationProcessConfig.decode(reader, reader.uint32()); - break; + case 5: { + message.suggestionFeature = $root.google.cloud.dialogflow.v2beta1.SuggestionFeature.decode(reader, reader.uint32()); + break; + } + case 3: { + message.enableEventBasedSuggestion = reader.bool(); + break; + } + case 10: { + message.suggestionTriggerSettings = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionTriggerSettings.decode(reader, reader.uint32()); + break; + } + case 6: { + message.queryConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.decode(reader, reader.uint32()); + break; + } + case 7: { + message.conversationModelConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig.decode(reader, reader.uint32()); + break; + } + case 8: { + message.conversationProcessConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationProcessConfig.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -127305,6 +135725,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestionFeatureConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestionFeatureConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig"; + }; + return SuggestionFeatureConfig; })(); @@ -127413,14 +135848,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 2: - if (!(message.featureConfigs && message.featureConfigs.length)) - message.featureConfigs = []; - message.featureConfigs.push($root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig.decode(reader, reader.uint32())); - break; - case 3: - message.groupSuggestionResponses = reader.bool(); - break; + case 2: { + if (!(message.featureConfigs && message.featureConfigs.length)) + message.featureConfigs = []; + message.featureConfigs.push($root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig.decode(reader, reader.uint32())); + break; + } + case 3: { + message.groupSuggestionResponses = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -127536,6 +135973,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestionConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestionConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig"; + }; + return SuggestionConfig; })(); @@ -127700,24 +136152,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.knowledgeBaseQuerySource = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource.decode(reader, reader.uint32()); - break; - case 2: - message.documentQuerySource = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource.decode(reader, reader.uint32()); - break; - case 3: - message.dialogflowQuerySource = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.decode(reader, reader.uint32()); - break; - case 4: - message.maxResults = reader.int32(); - break; - case 5: - message.confidenceThreshold = reader.float(); - break; - case 7: - message.contextFilterSettings = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.decode(reader, reader.uint32()); - break; + case 1: { + message.knowledgeBaseQuerySource = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource.decode(reader, reader.uint32()); + break; + } + case 2: { + message.documentQuerySource = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource.decode(reader, reader.uint32()); + break; + } + case 3: { + message.dialogflowQuerySource = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.decode(reader, reader.uint32()); + break; + } + case 4: { + message.maxResults = reader.int32(); + break; + } + case 5: { + message.confidenceThreshold = reader.float(); + break; + } + case 7: { + message.contextFilterSettings = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -127888,6 +136346,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SuggestionQueryConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SuggestionQueryConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig"; + }; + SuggestionQueryConfig.KnowledgeBaseQuerySource = (function() { /** @@ -127982,11 +136455,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.knowledgeBases && message.knowledgeBases.length)) - message.knowledgeBases = []; - message.knowledgeBases.push(reader.string()); - break; + case 1: { + if (!(message.knowledgeBases && message.knowledgeBases.length)) + message.knowledgeBases = []; + message.knowledgeBases.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -128088,6 +136562,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for KnowledgeBaseQuerySource + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + KnowledgeBaseQuerySource.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource"; + }; + return KnowledgeBaseQuerySource; })(); @@ -128185,11 +136674,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.documents && message.documents.length)) - message.documents = []; - message.documents.push(reader.string()); - break; + case 1: { + if (!(message.documents && message.documents.length)) + message.documents = []; + message.documents.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -128291,6 +136781,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DocumentQuerySource + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DocumentQuerySource.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource"; + }; + return DocumentQuerySource; })(); @@ -128386,9 +136891,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.agent = reader.string(); - break; + case 1: { + message.agent = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -128478,6 +136984,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DialogflowQuerySource + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DialogflowQuerySource.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource"; + }; + return DialogflowQuerySource; })(); @@ -128595,15 +137116,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.dropHandoffMessages = reader.bool(); - break; - case 2: - message.dropVirtualAgentMessages = reader.bool(); - break; - case 3: - message.dropIvrMessages = reader.bool(); - break; + case 1: { + message.dropHandoffMessages = reader.bool(); + break; + } + case 2: { + message.dropVirtualAgentMessages = reader.bool(); + break; + } + case 3: { + message.dropIvrMessages = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -128710,6 +137234,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ContextFilterSettings + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ContextFilterSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings"; + }; + return ContextFilterSettings; })(); @@ -128808,9 +137347,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.model = reader.string(); - break; + case 1: { + message.model = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -128900,6 +137440,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ConversationModelConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ConversationModelConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig"; + }; + return ConversationModelConfig; })(); @@ -128995,9 +137550,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 2: - message.recentSentencesCount = reader.int32(); - break; + case 2: { + message.recentSentencesCount = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -129087,6 +137643,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ConversationProcessConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationProcessConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ConversationProcessConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationProcessConfig"; + }; + return ConversationProcessConfig; })(); @@ -129193,12 +137764,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 2: - message.enableEntityExtraction = reader.bool(); - break; - case 3: - message.enableSentimentAnalysis = reader.bool(); - break; + case 2: { + message.enableEntityExtraction = reader.bool(); + break; + } + case 3: { + message.enableSentimentAnalysis = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -129297,6 +137870,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for MessageAnalysisConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.MessageAnalysisConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + MessageAnalysisConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.MessageAnalysisConfig"; + }; + return MessageAnalysisConfig; })(); @@ -129420,12 +138008,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.livePersonConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.LivePersonConfig.decode(reader, reader.uint32()); - break; - case 2: - message.salesforceLiveAgentConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.SalesforceLiveAgentConfig.decode(reader, reader.uint32()); - break; + case 1: { + message.livePersonConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.LivePersonConfig.decode(reader, reader.uint32()); + break; + } + case 2: { + message.salesforceLiveAgentConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.SalesforceLiveAgentConfig.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -129545,6 +138135,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for HumanAgentHandoffConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + HumanAgentHandoffConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig"; + }; + HumanAgentHandoffConfig.LivePersonConfig = (function() { /** @@ -129637,9 +138242,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.accountNumber = reader.string(); - break; + case 1: { + message.accountNumber = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -129729,6 +138335,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for LivePersonConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.LivePersonConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + LivePersonConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.LivePersonConfig"; + }; + return LivePersonConfig; })(); @@ -129857,18 +138478,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.organizationId = reader.string(); - break; - case 2: - message.deploymentId = reader.string(); - break; - case 3: - message.buttonId = reader.string(); - break; - case 4: - message.endpointDomain = reader.string(); - break; + case 1: { + message.organizationId = reader.string(); + break; + } + case 2: { + message.deploymentId = reader.string(); + break; + } + case 3: { + message.buttonId = reader.string(); + break; + } + case 4: { + message.endpointDomain = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -129983,6 +138608,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SalesforceLiveAgentConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.SalesforceLiveAgentConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SalesforceLiveAgentConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.SalesforceLiveAgentConfig"; + }; + return SalesforceLiveAgentConfig; })(); @@ -130092,12 +138732,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.topic = reader.string(); - break; - case 2: - message.messageFormat = reader.int32(); - break; + case 1: { + message.topic = reader.string(); + break; + } + case 2: { + message.messageFormat = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -130214,6 +138856,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for NotificationConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.NotificationConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + NotificationConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.NotificationConfig"; + }; + /** * MessageFormat enum. * @name google.cloud.dialogflow.v2beta1.NotificationConfig.MessageFormat @@ -130325,9 +138982,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 3: - message.enableStackdriverLogging = reader.bool(); - break; + case 3: { + message.enableStackdriverLogging = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -130417,6 +139075,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for LoggingConfig + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.LoggingConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + LoggingConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.LoggingConfig"; + }; + return LoggingConfig; })(); @@ -130534,15 +139207,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -130649,6 +139325,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListConversationProfilesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListConversationProfilesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListConversationProfilesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListConversationProfilesRequest"; + }; + return ListConversationProfilesRequest; })(); @@ -130757,14 +139448,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.conversationProfiles && message.conversationProfiles.length)) - message.conversationProfiles = []; - message.conversationProfiles.push($root.google.cloud.dialogflow.v2beta1.ConversationProfile.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.conversationProfiles && message.conversationProfiles.length)) + message.conversationProfiles = []; + message.conversationProfiles.push($root.google.cloud.dialogflow.v2beta1.ConversationProfile.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -130880,6 +139573,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListConversationProfilesResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListConversationProfilesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListConversationProfilesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListConversationProfilesResponse"; + }; + return ListConversationProfilesResponse; })(); @@ -130975,9 +139683,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -131067,6 +139776,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetConversationProfileRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.GetConversationProfileRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetConversationProfileRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.GetConversationProfileRequest"; + }; + return GetConversationProfileRequest; })(); @@ -131173,12 +139897,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.conversationProfile = $root.google.cloud.dialogflow.v2beta1.ConversationProfile.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.conversationProfile = $root.google.cloud.dialogflow.v2beta1.ConversationProfile.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -131282,6 +140008,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateConversationProfileRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.CreateConversationProfileRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateConversationProfileRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.CreateConversationProfileRequest"; + }; + return CreateConversationProfileRequest; })(); @@ -131388,12 +140129,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversationProfile = $root.google.cloud.dialogflow.v2beta1.ConversationProfile.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.conversationProfile = $root.google.cloud.dialogflow.v2beta1.ConversationProfile.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -131502,6 +140245,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateConversationProfileRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.UpdateConversationProfileRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateConversationProfileRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.UpdateConversationProfileRequest"; + }; + return UpdateConversationProfileRequest; })(); @@ -131597,9 +140355,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -131689,6 +140448,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteConversationProfileRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.DeleteConversationProfileRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteConversationProfileRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.DeleteConversationProfileRequest"; + }; + return DeleteConversationProfileRequest; })(); @@ -131806,15 +140580,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversationProfile = reader.string(); - break; - case 2: - message.participantRole = reader.int32(); - break; - case 3: - message.suggestionFeatureConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig.decode(reader, reader.uint32()); - break; + case 1: { + message.conversationProfile = reader.string(); + break; + } + case 2: { + message.participantRole = reader.int32(); + break; + } + case 3: { + message.suggestionFeatureConfig = $root.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -131949,6 +140726,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SetSuggestionFeatureConfigRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SetSuggestionFeatureConfigRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigRequest"; + }; + return SetSuggestionFeatureConfigRequest; })(); @@ -132066,15 +140858,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversationProfile = reader.string(); - break; - case 2: - message.participantRole = reader.int32(); - break; - case 3: - message.suggestionFeatureType = reader.int32(); - break; + case 1: { + message.conversationProfile = reader.string(); + break; + } + case 2: { + message.participantRole = reader.int32(); + break; + } + case 3: { + message.suggestionFeatureType = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -132227,6 +141022,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ClearSuggestionFeatureConfigRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ClearSuggestionFeatureConfigRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigRequest"; + }; + return ClearSuggestionFeatureConfigRequest; })(); @@ -132355,18 +141165,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversationProfile = reader.string(); - break; - case 2: - message.participantRole = reader.int32(); - break; - case 3: - message.suggestionFeatureType = reader.int32(); - break; - case 4: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + case 1: { + message.conversationProfile = reader.string(); + break; + } + case 2: { + message.participantRole = reader.int32(); + break; + } + case 3: { + message.suggestionFeatureType = reader.int32(); + break; + } + case 4: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -132532,6 +141346,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SetSuggestionFeatureConfigOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SetSuggestionFeatureConfigOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata"; + }; + return SetSuggestionFeatureConfigOperationMetadata; })(); @@ -132660,18 +141489,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversationProfile = reader.string(); - break; - case 2: - message.participantRole = reader.int32(); - break; - case 3: - message.suggestionFeatureType = reader.int32(); - break; - case 4: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + case 1: { + message.conversationProfile = reader.string(); + break; + } + case 2: { + message.participantRole = reader.int32(); + break; + } + case 3: { + message.suggestionFeatureType = reader.int32(); + break; + } + case 4: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -132837,6 +141670,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ClearSuggestionFeatureConfigOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ClearSuggestionFeatureConfigOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata"; + }; + return ClearSuggestionFeatureConfigOperationMetadata; })(); @@ -132873,7 +141721,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents#listDocuments}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents|listDocuments}. * @memberof google.cloud.dialogflow.v2beta1.Documents * @typedef ListDocumentsCallback * @type {function} @@ -132906,7 +141754,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents#getDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents|getDocument}. * @memberof google.cloud.dialogflow.v2beta1.Documents * @typedef GetDocumentCallback * @type {function} @@ -132939,7 +141787,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents#createDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents|createDocument}. * @memberof google.cloud.dialogflow.v2beta1.Documents * @typedef CreateDocumentCallback * @type {function} @@ -132972,7 +141820,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents#importDocuments}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents|importDocuments}. * @memberof google.cloud.dialogflow.v2beta1.Documents * @typedef ImportDocumentsCallback * @type {function} @@ -133005,7 +141853,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents#deleteDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents|deleteDocument}. * @memberof google.cloud.dialogflow.v2beta1.Documents * @typedef DeleteDocumentCallback * @type {function} @@ -133038,7 +141886,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents#updateDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents|updateDocument}. * @memberof google.cloud.dialogflow.v2beta1.Documents * @typedef UpdateDocumentCallback * @type {function} @@ -133071,7 +141919,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents#reloadDocument}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Documents|reloadDocument}. * @memberof google.cloud.dialogflow.v2beta1.Documents * @typedef ReloadDocumentCallback * @type {function} @@ -133329,65 +142177,76 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 3: - message.mimeType = reader.string(); - break; - case 4: - if (!(message.knowledgeTypes && message.knowledgeTypes.length)) - message.knowledgeTypes = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 3: { + message.mimeType = reader.string(); + break; + } + case 4: { + if (!(message.knowledgeTypes && message.knowledgeTypes.length)) + message.knowledgeTypes = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.knowledgeTypes.push(reader.int32()); + } else message.knowledgeTypes.push(reader.int32()); - } else - message.knowledgeTypes.push(reader.int32()); - break; - case 5: - message.contentUri = reader.string(); - break; - case 6: - message.content = reader.string(); - break; - case 9: - message.rawContent = reader.bytes(); - break; - case 11: - message.enableAutoReload = reader.bool(); - break; - case 12: - message.latestReloadStatus = $root.google.cloud.dialogflow.v2beta1.Document.ReloadStatus.decode(reader, reader.uint32()); - break; - case 7: - if (message.metadata === $util.emptyObject) - message.metadata = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; + break; + } + case 5: { + message.contentUri = reader.string(); + break; + } + case 6: { + message.content = reader.string(); + break; + } + case 9: { + message.rawContent = reader.bytes(); + break; + } + case 11: { + message.enableAutoReload = reader.bool(); + break; + } + case 12: { + message.latestReloadStatus = $root.google.cloud.dialogflow.v2beta1.Document.ReloadStatus.decode(reader, reader.uint32()); + break; + } + case 7: { + if (message.metadata === $util.emptyObject) + message.metadata = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.metadata[key] = value; + break; + } + case 13: { + message.state = reader.int32(); + break; } - message.metadata[key] = value; - break; - case 13: - message.state = reader.int32(); - break; default: reader.skipType(tag & 7); break; @@ -133557,7 +142416,7 @@ if (object.rawContent != null) if (typeof object.rawContent === "string") $util.base64.decode(object.rawContent, message.rawContent = $util.newBuffer($util.base64.length(object.rawContent)), 0); - else if (object.rawContent.length) + else if (object.rawContent.length >= 0) message.rawContent = object.rawContent; if (object.enableAutoReload != null) message.enableAutoReload = Boolean(object.enableAutoReload); @@ -133679,6 +142538,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Document + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Document + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Document.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Document"; + }; + /** * KnowledgeType enum. * @name google.cloud.dialogflow.v2beta1.Document.KnowledgeType @@ -133804,12 +142678,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.time = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 2: - message.status = $root.google.rpc.Status.decode(reader, reader.uint32()); - break; + case 1: { + message.time = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 2: { + message.status = $root.google.rpc.Status.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -133918,6 +142794,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ReloadStatus + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Document.ReloadStatus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReloadStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Document.ReloadStatus"; + }; + return ReloadStatus; })(); @@ -134038,9 +142929,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -134130,6 +143022,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetDocumentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.GetDocumentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetDocumentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.GetDocumentRequest"; + }; + return GetDocumentRequest; })(); @@ -134258,18 +143165,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; - case 4: - message.filter = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } + case 4: { + message.filter = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -134384,6 +143295,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListDocumentsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListDocumentsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListDocumentsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListDocumentsRequest"; + }; + return ListDocumentsRequest; })(); @@ -134492,14 +143418,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.documents && message.documents.length)) - message.documents = []; - message.documents.push($root.google.cloud.dialogflow.v2beta1.Document.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.documents && message.documents.length)) + message.documents = []; + message.documents.push($root.google.cloud.dialogflow.v2beta1.Document.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -134615,6 +143543,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListDocumentsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListDocumentsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListDocumentsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListDocumentsResponse"; + }; + return ListDocumentsResponse; })(); @@ -134732,15 +143675,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.document = $root.google.cloud.dialogflow.v2beta1.Document.decode(reader, reader.uint32()); - break; - case 3: - message.importGcsCustomMetadata = reader.bool(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.document = $root.google.cloud.dialogflow.v2beta1.Document.decode(reader, reader.uint32()); + break; + } + case 3: { + message.importGcsCustomMetadata = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -134852,6 +143798,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateDocumentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.CreateDocumentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateDocumentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.CreateDocumentRequest"; + }; + return CreateDocumentRequest; })(); @@ -134994,18 +143955,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.gcsSource = $root.google.cloud.dialogflow.v2beta1.GcsSources.decode(reader, reader.uint32()); - break; - case 3: - message.documentTemplate = $root.google.cloud.dialogflow.v2beta1.ImportDocumentTemplate.decode(reader, reader.uint32()); - break; - case 4: - message.importGcsCustomMetadata = reader.bool(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.gcsSource = $root.google.cloud.dialogflow.v2beta1.GcsSources.decode(reader, reader.uint32()); + break; + } + case 3: { + message.documentTemplate = $root.google.cloud.dialogflow.v2beta1.ImportDocumentTemplate.decode(reader, reader.uint32()); + break; + } + case 4: { + message.importGcsCustomMetadata = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -135136,6 +144101,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ImportDocumentsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ImportDocumentsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ImportDocumentsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ImportDocumentsRequest"; + }; + return ImportDocumentsRequest; })(); @@ -135260,41 +144240,44 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.mimeType = reader.string(); - break; - case 2: - if (!(message.knowledgeTypes && message.knowledgeTypes.length)) - message.knowledgeTypes = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.mimeType = reader.string(); + break; + } + case 2: { + if (!(message.knowledgeTypes && message.knowledgeTypes.length)) + message.knowledgeTypes = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.knowledgeTypes.push(reader.int32()); + } else message.knowledgeTypes.push(reader.int32()); - } else - message.knowledgeTypes.push(reader.int32()); - break; - case 3: - if (message.metadata === $util.emptyObject) - message.metadata = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; + break; + } + case 3: { + if (message.metadata === $util.emptyObject) + message.metadata = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.metadata[key] = value; + break; } - message.metadata[key] = value; - break; default: reader.skipType(tag & 7); break; @@ -135463,6 +144446,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ImportDocumentTemplate + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ImportDocumentTemplate + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ImportDocumentTemplate.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ImportDocumentTemplate"; + }; + return ImportDocumentTemplate; })(); @@ -135560,11 +144558,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.warnings && message.warnings.length)) - message.warnings = []; - message.warnings.push($root.google.rpc.Status.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.warnings && message.warnings.length)) + message.warnings = []; + message.warnings.push($root.google.rpc.Status.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -135671,6 +144670,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ImportDocumentsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ImportDocumentsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ImportDocumentsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ImportDocumentsResponse"; + }; + return ImportDocumentsResponse; })(); @@ -135766,9 +144780,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -135858,6 +144873,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteDocumentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.DeleteDocumentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteDocumentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.DeleteDocumentRequest"; + }; + return DeleteDocumentRequest; })(); @@ -135964,12 +144994,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.document = $root.google.cloud.dialogflow.v2beta1.Document.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.document = $root.google.cloud.dialogflow.v2beta1.Document.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -136078,6 +145110,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateDocumentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.UpdateDocumentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateDocumentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.UpdateDocumentRequest"; + }; + return UpdateDocumentRequest; })(); @@ -136173,9 +145220,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.exportedGcsDestination = $root.google.cloud.dialogflow.v2beta1.GcsDestination.decode(reader, reader.uint32()); - break; + case 1: { + message.exportedGcsDestination = $root.google.cloud.dialogflow.v2beta1.GcsDestination.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -136270,6 +145318,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ExportOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ExportOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ExportOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ExportOperationMetadata"; + }; + return ExportOperationMetadata; })(); @@ -136401,15 +145464,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.state = reader.int32(); - break; - case 3: - message.knowledgeBase = reader.string(); - break; - case 4: - message.exportOperationMetadata = $root.google.cloud.dialogflow.v2beta1.ExportOperationMetadata.decode(reader, reader.uint32()); - break; + case 1: { + message.state = reader.int32(); + break; + } + case 3: { + message.knowledgeBase = reader.string(); + break; + } + case 4: { + message.exportOperationMetadata = $root.google.cloud.dialogflow.v2beta1.ExportOperationMetadata.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -136550,6 +145616,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for KnowledgeOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + KnowledgeOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata"; + }; + /** * State enum. * @name google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata.State @@ -136699,15 +145780,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 3: - message.gcsSource = $root.google.cloud.dialogflow.v2beta1.GcsSource.decode(reader, reader.uint32()); - break; - case 4: - message.importGcsCustomMetadata = reader.bool(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 3: { + message.gcsSource = $root.google.cloud.dialogflow.v2beta1.GcsSource.decode(reader, reader.uint32()); + break; + } + case 4: { + message.importGcsCustomMetadata = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -136825,6 +145909,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ReloadDocumentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ReloadDocumentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReloadDocumentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ReloadDocumentRequest"; + }; + return ReloadDocumentRequest; })(); @@ -136922,11 +146021,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 2: - if (!(message.uris && message.uris.length)) - message.uris = []; - message.uris.push(reader.string()); - break; + case 2: { + if (!(message.uris && message.uris.length)) + message.uris = []; + message.uris.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -137028,6 +146128,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GcsSources + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.GcsSources + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GcsSources.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.GcsSources"; + }; + return GcsSources; })(); @@ -137123,9 +146238,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.uri = reader.string(); - break; + case 1: { + message.uri = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -137215,6 +146331,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GcsSource + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.GcsSource + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GcsSource.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.GcsSource"; + }; + return GcsSource; })(); @@ -137310,9 +146441,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.uri = reader.string(); - break; + case 1: { + message.uri = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -137402,6 +146534,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GcsDestination + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.GcsDestination + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GcsDestination.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.GcsDestination"; + }; + return GcsDestination; })(); @@ -137438,7 +146585,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments#listEnvironments}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments|listEnvironments}. * @memberof google.cloud.dialogflow.v2beta1.Environments * @typedef ListEnvironmentsCallback * @type {function} @@ -137471,7 +146618,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments#getEnvironment}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments|getEnvironment}. * @memberof google.cloud.dialogflow.v2beta1.Environments * @typedef GetEnvironmentCallback * @type {function} @@ -137504,7 +146651,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments#createEnvironment}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments|createEnvironment}. * @memberof google.cloud.dialogflow.v2beta1.Environments * @typedef CreateEnvironmentCallback * @type {function} @@ -137537,7 +146684,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments#updateEnvironment}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments|updateEnvironment}. * @memberof google.cloud.dialogflow.v2beta1.Environments * @typedef UpdateEnvironmentCallback * @type {function} @@ -137570,7 +146717,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments#deleteEnvironment}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments|deleteEnvironment}. * @memberof google.cloud.dialogflow.v2beta1.Environments * @typedef DeleteEnvironmentCallback * @type {function} @@ -137603,7 +146750,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments#getEnvironmentHistory}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Environments|getEnvironmentHistory}. * @memberof google.cloud.dialogflow.v2beta1.Environments * @typedef GetEnvironmentHistoryCallback * @type {function} @@ -137796,27 +146943,34 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.agentVersion = reader.string(); - break; - case 4: - message.state = reader.int32(); - break; - case 5: - message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 7: - message.textToSpeechSettings = $root.google.cloud.dialogflow.v2beta1.TextToSpeechSettings.decode(reader, reader.uint32()); - break; - case 8: - message.fulfillment = $root.google.cloud.dialogflow.v2beta1.Fulfillment.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.description = reader.string(); + break; + } + case 3: { + message.agentVersion = reader.string(); + break; + } + case 4: { + message.state = reader.int32(); + break; + } + case 5: { + message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 7: { + message.textToSpeechSettings = $root.google.cloud.dialogflow.v2beta1.TextToSpeechSettings.decode(reader, reader.uint32()); + break; + } + case 8: { + message.fulfillment = $root.google.cloud.dialogflow.v2beta1.Fulfillment.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -137993,6 +147147,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Environment + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Environment + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Environment.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Environment"; + }; + /** * State enum. * @name google.cloud.dialogflow.v2beta1.Environment.State @@ -138143,37 +147312,41 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.enableTextToSpeech = reader.bool(); - break; - case 2: - message.outputAudioEncoding = reader.int32(); - break; - case 3: - message.sampleRateHertz = reader.int32(); - break; - case 4: - if (message.synthesizeSpeechConfigs === $util.emptyObject) - message.synthesizeSpeechConfigs = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = null; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = $root.google.cloud.dialogflow.v2beta1.SynthesizeSpeechConfig.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + message.enableTextToSpeech = reader.bool(); + break; + } + case 2: { + message.outputAudioEncoding = reader.int32(); + break; + } + case 3: { + message.sampleRateHertz = reader.int32(); + break; + } + case 4: { + if (message.synthesizeSpeechConfigs === $util.emptyObject) + message.synthesizeSpeechConfigs = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = null; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = $root.google.cloud.dialogflow.v2beta1.SynthesizeSpeechConfig.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.synthesizeSpeechConfigs[key] = value; + break; } - message.synthesizeSpeechConfigs[key] = value; - break; default: reader.skipType(tag & 7); break; @@ -138341,6 +147514,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TextToSpeechSettings + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.TextToSpeechSettings + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TextToSpeechSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.TextToSpeechSettings"; + }; + return TextToSpeechSettings; })(); @@ -138458,15 +147646,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -138573,6 +147764,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListEnvironmentsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListEnvironmentsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest"; + }; + return ListEnvironmentsRequest; })(); @@ -138681,14 +147887,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.environments && message.environments.length)) - message.environments = []; - message.environments.push($root.google.cloud.dialogflow.v2beta1.Environment.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.environments && message.environments.length)) + message.environments = []; + message.environments.push($root.google.cloud.dialogflow.v2beta1.Environment.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -138804,6 +148012,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListEnvironmentsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListEnvironmentsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse"; + }; + return ListEnvironmentsResponse; })(); @@ -138899,9 +148122,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -138991,6 +148215,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetEnvironmentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.GetEnvironmentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetEnvironmentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.GetEnvironmentRequest"; + }; + return GetEnvironmentRequest; })(); @@ -139108,15 +148347,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.environment = $root.google.cloud.dialogflow.v2beta1.Environment.decode(reader, reader.uint32()); - break; - case 3: - message.environmentId = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.environment = $root.google.cloud.dialogflow.v2beta1.Environment.decode(reader, reader.uint32()); + break; + } + case 3: { + message.environmentId = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -139228,6 +148470,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateEnvironmentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.CreateEnvironmentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateEnvironmentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.CreateEnvironmentRequest"; + }; + return CreateEnvironmentRequest; })(); @@ -139345,15 +148602,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.environment = $root.google.cloud.dialogflow.v2beta1.Environment.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; - case 3: - message.allowLoadToDraftAndDiscardChanges = reader.bool(); - break; + case 1: { + message.environment = $root.google.cloud.dialogflow.v2beta1.Environment.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } + case 3: { + message.allowLoadToDraftAndDiscardChanges = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -139470,6 +148730,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateEnvironmentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.UpdateEnvironmentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateEnvironmentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.UpdateEnvironmentRequest"; + }; + return UpdateEnvironmentRequest; })(); @@ -139565,9 +148840,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -139657,6 +148933,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteEnvironmentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.DeleteEnvironmentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteEnvironmentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.DeleteEnvironmentRequest"; + }; + return DeleteEnvironmentRequest; })(); @@ -139774,15 +149065,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -139889,6 +149183,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetEnvironmentHistoryRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.GetEnvironmentHistoryRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetEnvironmentHistoryRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.GetEnvironmentHistoryRequest"; + }; + return GetEnvironmentHistoryRequest; })(); @@ -140008,17 +149317,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - if (!(message.entries && message.entries.length)) - message.entries = []; - message.entries.push($root.google.cloud.dialogflow.v2beta1.EnvironmentHistory.Entry.decode(reader, reader.uint32())); - break; - case 3: - message.nextPageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + if (!(message.entries && message.entries.length)) + message.entries = []; + message.entries.push($root.google.cloud.dialogflow.v2beta1.EnvironmentHistory.Entry.decode(reader, reader.uint32())); + break; + } + case 3: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -140143,6 +149455,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EnvironmentHistory + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.EnvironmentHistory + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EnvironmentHistory.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.EnvironmentHistory"; + }; + EnvironmentHistory.Entry = (function() { /** @@ -140257,15 +149584,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.agentVersion = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + case 1: { + message.agentVersion = reader.string(); + break; + } + case 2: { + message.description = reader.string(); + break; + } + case 3: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -140377,6 +149707,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Entry + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.EnvironmentHistory.Entry + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Entry.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.EnvironmentHistory.Entry"; + }; + return Entry; })(); @@ -140416,7 +149761,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Fulfillments#getFulfillment}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Fulfillments|getFulfillment}. * @memberof google.cloud.dialogflow.v2beta1.Fulfillments * @typedef GetFulfillmentCallback * @type {function} @@ -140449,7 +149794,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Fulfillments#updateFulfillment}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Fulfillments|updateFulfillment}. * @memberof google.cloud.dialogflow.v2beta1.Fulfillments * @typedef UpdateFulfillmentCallback * @type {function} @@ -140636,23 +149981,28 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 3: - message.genericWebService = $root.google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService.decode(reader, reader.uint32()); - break; - case 4: - message.enabled = reader.bool(); - break; - case 5: - if (!(message.features && message.features.length)) - message.features = []; - message.features.push($root.google.cloud.dialogflow.v2beta1.Fulfillment.Feature.decode(reader, reader.uint32())); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 3: { + message.genericWebService = $root.google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService.decode(reader, reader.uint32()); + break; + } + case 4: { + message.enabled = reader.bool(); + break; + } + case 5: { + if (!(message.features && message.features.length)) + message.features = []; + message.features.push($root.google.cloud.dialogflow.v2beta1.Fulfillment.Feature.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -140804,6 +150154,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Fulfillment + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Fulfillment + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Fulfillment.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Fulfillment"; + }; + Fulfillment.GenericWebService = (function() { /** @@ -140942,40 +150307,45 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.uri = reader.string(); - break; - case 2: - message.username = reader.string(); - break; - case 3: - message.password = reader.string(); - break; - case 4: - if (message.requestHeaders === $util.emptyObject) - message.requestHeaders = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + message.uri = reader.string(); + break; + } + case 2: { + message.username = reader.string(); + break; + } + case 3: { + message.password = reader.string(); + break; + } + case 4: { + if (message.requestHeaders === $util.emptyObject) + message.requestHeaders = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.requestHeaders[key] = value; + break; + } + case 5: { + message.isCloudFunction = reader.bool(); + break; } - message.requestHeaders[key] = value; - break; - case 5: - message.isCloudFunction = reader.bool(); - break; default: reader.skipType(tag & 7); break; @@ -141113,6 +150483,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GenericWebService + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GenericWebService.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService"; + }; + return GenericWebService; })(); @@ -141208,9 +150593,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type = reader.int32(); - break; + case 1: { + message.type = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -141313,6 +150699,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Feature + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Fulfillment.Feature + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Feature.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Fulfillment.Feature"; + }; + /** * Type enum. * @name google.cloud.dialogflow.v2beta1.Fulfillment.Feature.Type @@ -141425,9 +150826,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -141517,6 +150919,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetFulfillmentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.GetFulfillmentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetFulfillmentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.GetFulfillmentRequest"; + }; + return GetFulfillmentRequest; })(); @@ -141623,12 +151040,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.fulfillment = $root.google.cloud.dialogflow.v2beta1.Fulfillment.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.fulfillment = $root.google.cloud.dialogflow.v2beta1.Fulfillment.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -141737,6 +151156,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateFulfillmentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.UpdateFulfillmentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateFulfillmentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.UpdateFulfillmentRequest"; + }; + return UpdateFulfillmentRequest; })(); @@ -141856,17 +151290,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.conversation = reader.string(); - break; - case 3: - message.participant = reader.string(); - break; - case 5: - if (!(message.suggestionResults && message.suggestionResults.length)) - message.suggestionResults = []; - message.suggestionResults.push($root.google.cloud.dialogflow.v2beta1.SuggestionResult.decode(reader, reader.uint32())); - break; + case 1: { + message.conversation = reader.string(); + break; + } + case 3: { + message.participant = reader.string(); + break; + } + case 5: { + if (!(message.suggestionResults && message.suggestionResults.length)) + message.suggestionResults = []; + message.suggestionResults.push($root.google.cloud.dialogflow.v2beta1.SuggestionResult.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -141991,6 +151428,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for HumanAgentAssistantEvent + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.HumanAgentAssistantEvent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + HumanAgentAssistantEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.HumanAgentAssistantEvent"; + }; + return HumanAgentAssistantEvent; })(); @@ -142027,7 +151479,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.KnowledgeBases#listKnowledgeBases}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.KnowledgeBases|listKnowledgeBases}. * @memberof google.cloud.dialogflow.v2beta1.KnowledgeBases * @typedef ListKnowledgeBasesCallback * @type {function} @@ -142060,7 +151512,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.KnowledgeBases#getKnowledgeBase}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.KnowledgeBases|getKnowledgeBase}. * @memberof google.cloud.dialogflow.v2beta1.KnowledgeBases * @typedef GetKnowledgeBaseCallback * @type {function} @@ -142093,7 +151545,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.KnowledgeBases#createKnowledgeBase}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.KnowledgeBases|createKnowledgeBase}. * @memberof google.cloud.dialogflow.v2beta1.KnowledgeBases * @typedef CreateKnowledgeBaseCallback * @type {function} @@ -142126,7 +151578,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.KnowledgeBases#deleteKnowledgeBase}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.KnowledgeBases|deleteKnowledgeBase}. * @memberof google.cloud.dialogflow.v2beta1.KnowledgeBases * @typedef DeleteKnowledgeBaseCallback * @type {function} @@ -142159,7 +151611,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.KnowledgeBases#updateKnowledgeBase}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.KnowledgeBases|updateKnowledgeBase}. * @memberof google.cloud.dialogflow.v2beta1.KnowledgeBases * @typedef UpdateKnowledgeBaseCallback * @type {function} @@ -142308,15 +151760,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 4: - message.languageCode = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 4: { + message.languageCode = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -142423,6 +151878,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for KnowledgeBase + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.KnowledgeBase + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + KnowledgeBase.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.KnowledgeBase"; + }; + return KnowledgeBase; })(); @@ -142551,18 +152021,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; - case 4: - message.filter = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } + case 4: { + message.filter = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -142677,6 +152151,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListKnowledgeBasesRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListKnowledgeBasesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListKnowledgeBasesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListKnowledgeBasesRequest"; + }; + return ListKnowledgeBasesRequest; })(); @@ -142785,14 +152274,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.knowledgeBases && message.knowledgeBases.length)) - message.knowledgeBases = []; - message.knowledgeBases.push($root.google.cloud.dialogflow.v2beta1.KnowledgeBase.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.knowledgeBases && message.knowledgeBases.length)) + message.knowledgeBases = []; + message.knowledgeBases.push($root.google.cloud.dialogflow.v2beta1.KnowledgeBase.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -142908,6 +152399,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListKnowledgeBasesResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListKnowledgeBasesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse"; + }; + return ListKnowledgeBasesResponse; })(); @@ -143003,9 +152509,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -143095,6 +152602,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetKnowledgeBaseRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.GetKnowledgeBaseRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetKnowledgeBaseRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.GetKnowledgeBaseRequest"; + }; + return GetKnowledgeBaseRequest; })(); @@ -143201,12 +152723,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.knowledgeBase = $root.google.cloud.dialogflow.v2beta1.KnowledgeBase.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.knowledgeBase = $root.google.cloud.dialogflow.v2beta1.KnowledgeBase.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -143310,6 +152834,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateKnowledgeBaseRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.CreateKnowledgeBaseRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateKnowledgeBaseRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.CreateKnowledgeBaseRequest"; + }; + return CreateKnowledgeBaseRequest; })(); @@ -143416,12 +152955,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.force = reader.bool(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.force = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -143520,6 +153061,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteKnowledgeBaseRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteKnowledgeBaseRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest"; + }; + return DeleteKnowledgeBaseRequest; })(); @@ -143626,12 +153182,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.knowledgeBase = $root.google.cloud.dialogflow.v2beta1.KnowledgeBase.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.knowledgeBase = $root.google.cloud.dialogflow.v2beta1.KnowledgeBase.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -143740,6 +153298,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateKnowledgeBaseRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.UpdateKnowledgeBaseRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateKnowledgeBaseRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.UpdateKnowledgeBaseRequest"; + }; + return UpdateKnowledgeBaseRequest; })(); @@ -143776,7 +153349,7 @@ }; /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Versions#listVersions}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Versions|listVersions}. * @memberof google.cloud.dialogflow.v2beta1.Versions * @typedef ListVersionsCallback * @type {function} @@ -143809,7 +153382,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Versions#getVersion}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Versions|getVersion}. * @memberof google.cloud.dialogflow.v2beta1.Versions * @typedef GetVersionCallback * @type {function} @@ -143842,7 +153415,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Versions#createVersion}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Versions|createVersion}. * @memberof google.cloud.dialogflow.v2beta1.Versions * @typedef CreateVersionCallback * @type {function} @@ -143875,7 +153448,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Versions#updateVersion}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Versions|updateVersion}. * @memberof google.cloud.dialogflow.v2beta1.Versions * @typedef UpdateVersionCallback * @type {function} @@ -143908,7 +153481,7 @@ */ /** - * Callback as used by {@link google.cloud.dialogflow.v2beta1.Versions#deleteVersion}. + * Callback as used by {@link google.cloud.dialogflow.v2beta1.Versions|deleteVersion}. * @memberof google.cloud.dialogflow.v2beta1.Versions * @typedef DeleteVersionCallback * @type {function} @@ -144079,21 +153652,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.versionNumber = reader.int32(); - break; - case 4: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 6: - message.status = reader.int32(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.description = reader.string(); + break; + } + case 3: { + message.versionNumber = reader.int32(); + break; + } + case 4: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 6: { + message.status = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -144244,6 +153822,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Version + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.Version + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Version.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.Version"; + }; + /** * VersionStatus enum. * @name google.cloud.dialogflow.v2beta1.Version.VersionStatus @@ -144379,15 +153972,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -144494,6 +154090,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListVersionsRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListVersionsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListVersionsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListVersionsRequest"; + }; + return ListVersionsRequest; })(); @@ -144602,14 +154213,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.versions && message.versions.length)) - message.versions = []; - message.versions.push($root.google.cloud.dialogflow.v2beta1.Version.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.versions && message.versions.length)) + message.versions = []; + message.versions.push($root.google.cloud.dialogflow.v2beta1.Version.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -144725,6 +154338,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListVersionsResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.ListVersionsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListVersionsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.ListVersionsResponse"; + }; + return ListVersionsResponse; })(); @@ -144820,9 +154448,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -144912,6 +154541,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetVersionRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.GetVersionRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetVersionRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.GetVersionRequest"; + }; + return GetVersionRequest; })(); @@ -145018,12 +154662,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.version = $root.google.cloud.dialogflow.v2beta1.Version.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.version = $root.google.cloud.dialogflow.v2beta1.Version.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -145127,6 +154773,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateVersionRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.CreateVersionRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateVersionRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.CreateVersionRequest"; + }; + return CreateVersionRequest; })(); @@ -145233,12 +154894,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.version = $root.google.cloud.dialogflow.v2beta1.Version.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.version = $root.google.cloud.dialogflow.v2beta1.Version.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -145347,6 +155010,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateVersionRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.UpdateVersionRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateVersionRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.UpdateVersionRequest"; + }; + return UpdateVersionRequest; })(); @@ -145442,9 +155120,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -145534,6 +155213,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteVersionRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.DeleteVersionRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteVersionRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.DeleteVersionRequest"; + }; + return DeleteVersionRequest; })(); @@ -145675,23 +155369,28 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 4: - message.session = reader.string(); - break; - case 1: - message.responseId = reader.string(); - break; - case 2: - message.queryResult = $root.google.cloud.dialogflow.v2beta1.QueryResult.decode(reader, reader.uint32()); - break; - case 5: - if (!(message.alternativeQueryResults && message.alternativeQueryResults.length)) - message.alternativeQueryResults = []; - message.alternativeQueryResults.push($root.google.cloud.dialogflow.v2beta1.QueryResult.decode(reader, reader.uint32())); - break; - case 3: - message.originalDetectIntentRequest = $root.google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest.decode(reader, reader.uint32()); - break; + case 4: { + message.session = reader.string(); + break; + } + case 1: { + message.responseId = reader.string(); + break; + } + case 2: { + message.queryResult = $root.google.cloud.dialogflow.v2beta1.QueryResult.decode(reader, reader.uint32()); + break; + } + case 5: { + if (!(message.alternativeQueryResults && message.alternativeQueryResults.length)) + message.alternativeQueryResults = []; + message.alternativeQueryResults.push($root.google.cloud.dialogflow.v2beta1.QueryResult.decode(reader, reader.uint32())); + break; + } + case 3: { + message.originalDetectIntentRequest = $root.google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -145842,6 +155541,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for WebhookRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.WebhookRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + WebhookRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.WebhookRequest"; + }; + return WebhookRequest; })(); @@ -146031,39 +155745,48 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.fulfillmentText = reader.string(); - break; - case 2: - if (!(message.fulfillmentMessages && message.fulfillmentMessages.length)) - message.fulfillmentMessages = []; - message.fulfillmentMessages.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.decode(reader, reader.uint32())); - break; - case 3: - message.source = reader.string(); - break; - case 4: - message.payload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 5: - if (!(message.outputContexts && message.outputContexts.length)) - message.outputContexts = []; - message.outputContexts.push($root.google.cloud.dialogflow.v2beta1.Context.decode(reader, reader.uint32())); - break; - case 6: - message.followupEventInput = $root.google.cloud.dialogflow.v2beta1.EventInput.decode(reader, reader.uint32()); - break; - case 7: - message.liveAgentHandoff = reader.bool(); - break; - case 8: - message.endInteraction = reader.bool(); - break; - case 10: - if (!(message.sessionEntityTypes && message.sessionEntityTypes.length)) - message.sessionEntityTypes = []; - message.sessionEntityTypes.push($root.google.cloud.dialogflow.v2beta1.SessionEntityType.decode(reader, reader.uint32())); - break; + case 1: { + message.fulfillmentText = reader.string(); + break; + } + case 2: { + if (!(message.fulfillmentMessages && message.fulfillmentMessages.length)) + message.fulfillmentMessages = []; + message.fulfillmentMessages.push($root.google.cloud.dialogflow.v2beta1.Intent.Message.decode(reader, reader.uint32())); + break; + } + case 3: { + message.source = reader.string(); + break; + } + case 4: { + message.payload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 5: { + if (!(message.outputContexts && message.outputContexts.length)) + message.outputContexts = []; + message.outputContexts.push($root.google.cloud.dialogflow.v2beta1.Context.decode(reader, reader.uint32())); + break; + } + case 6: { + message.followupEventInput = $root.google.cloud.dialogflow.v2beta1.EventInput.decode(reader, reader.uint32()); + break; + } + case 7: { + message.liveAgentHandoff = reader.bool(); + break; + } + case 8: { + message.endInteraction = reader.bool(); + break; + } + case 10: { + if (!(message.sessionEntityTypes && message.sessionEntityTypes.length)) + message.sessionEntityTypes = []; + message.sessionEntityTypes.push($root.google.cloud.dialogflow.v2beta1.SessionEntityType.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -146281,6 +156004,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for WebhookResponse + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.WebhookResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + WebhookResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.WebhookResponse"; + }; + return WebhookResponse; })(); @@ -146398,15 +156136,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.source = reader.string(); - break; - case 2: - message.version = reader.string(); - break; - case 3: - message.payload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; + case 1: { + message.source = reader.string(); + break; + } + case 2: { + message.version = reader.string(); + break; + } + case 3: { + message.payload = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -146518,6 +156259,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for OriginalDetectIntentRequest + * @function getTypeUrl + * @memberof google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + OriginalDetectIntentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest"; + }; + return OriginalDetectIntentRequest; })(); @@ -146644,14 +156400,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.rules && message.rules.length)) - message.rules = []; - message.rules.push($root.google.api.HttpRule.decode(reader, reader.uint32())); - break; - case 2: - message.fullyDecodeReservedExpansion = reader.bool(); - break; + case 1: { + if (!(message.rules && message.rules.length)) + message.rules = []; + message.rules.push($root.google.api.HttpRule.decode(reader, reader.uint32())); + break; + } + case 2: { + message.fullyDecodeReservedExpansion = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -146767,6 +156525,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Http + * @function getTypeUrl + * @memberof google.api.Http + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Http.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.api.Http"; + }; + return Http; })(); @@ -146977,38 +156750,48 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.selector = reader.string(); - break; - case 2: - message.get = reader.string(); - break; - case 3: - message.put = reader.string(); - break; - case 4: - message.post = reader.string(); - break; - case 5: - message["delete"] = reader.string(); - break; - case 6: - message.patch = reader.string(); - break; - case 8: - message.custom = $root.google.api.CustomHttpPattern.decode(reader, reader.uint32()); - break; - case 7: - message.body = reader.string(); - break; - case 12: - message.responseBody = reader.string(); - break; - case 11: - if (!(message.additionalBindings && message.additionalBindings.length)) - message.additionalBindings = []; - message.additionalBindings.push($root.google.api.HttpRule.decode(reader, reader.uint32())); - break; + case 1: { + message.selector = reader.string(); + break; + } + case 2: { + message.get = reader.string(); + break; + } + case 3: { + message.put = reader.string(); + break; + } + case 4: { + message.post = reader.string(); + break; + } + case 5: { + message["delete"] = reader.string(); + break; + } + case 6: { + message.patch = reader.string(); + break; + } + case 8: { + message.custom = $root.google.api.CustomHttpPattern.decode(reader, reader.uint32()); + break; + } + case 7: { + message.body = reader.string(); + break; + } + case 12: { + message.responseBody = reader.string(); + break; + } + case 11: { + if (!(message.additionalBindings && message.additionalBindings.length)) + message.additionalBindings = []; + message.additionalBindings.push($root.google.api.HttpRule.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -147230,6 +157013,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for HttpRule + * @function getTypeUrl + * @memberof google.api.HttpRule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + HttpRule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.api.HttpRule"; + }; + return HttpRule; })(); @@ -147336,12 +157134,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.kind = reader.string(); - break; - case 2: - message.path = reader.string(); - break; + case 1: { + message.kind = reader.string(); + break; + } + case 2: { + message.path = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -147440,6 +157240,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CustomHttpPattern + * @function getTypeUrl + * @memberof google.api.CustomHttpPattern + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CustomHttpPattern.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.api.CustomHttpPattern"; + }; + return CustomHttpPattern; })(); @@ -147634,36 +157449,43 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type = reader.string(); - break; - case 2: - if (!(message.pattern && message.pattern.length)) - message.pattern = []; - message.pattern.push(reader.string()); - break; - case 3: - message.nameField = reader.string(); - break; - case 4: - message.history = reader.int32(); - break; - case 5: - message.plural = reader.string(); - break; - case 6: - message.singular = reader.string(); - break; - case 10: - if (!(message.style && message.style.length)) - message.style = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.type = reader.string(); + break; + } + case 2: { + if (!(message.pattern && message.pattern.length)) + message.pattern = []; + message.pattern.push(reader.string()); + break; + } + case 3: { + message.nameField = reader.string(); + break; + } + case 4: { + message.history = reader.int32(); + break; + } + case 5: { + message.plural = reader.string(); + break; + } + case 6: { + message.singular = reader.string(); + break; + } + case 10: { + if (!(message.style && message.style.length)) + message.style = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.style.push(reader.int32()); + } else message.style.push(reader.int32()); - } else - message.style.push(reader.int32()); - break; + break; + } default: reader.skipType(tag & 7); break; @@ -147861,6 +157683,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ResourceDescriptor + * @function getTypeUrl + * @memberof google.api.ResourceDescriptor + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResourceDescriptor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.api.ResourceDescriptor"; + }; + /** * History enum. * @name google.api.ResourceDescriptor.History @@ -147997,12 +157834,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type = reader.string(); - break; - case 2: - message.childType = reader.string(); - break; + case 1: { + message.type = reader.string(); + break; + } + case 2: { + message.childType = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -148101,6 +157940,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ResourceReference + * @function getTypeUrl + * @memberof google.api.ResourceReference + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResourceReference.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.api.ResourceReference"; + }; + return ResourceReference; })(); @@ -148210,11 +158064,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.file && message.file.length)) - message.file = []; - message.file.push($root.google.protobuf.FileDescriptorProto.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.file && message.file.length)) + message.file = []; + message.file.push($root.google.protobuf.FileDescriptorProto.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -148321,6 +158176,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FileDescriptorSet + * @function getTypeUrl + * @memberof google.protobuf.FileDescriptorSet + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FileDescriptorSet.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.FileDescriptorSet"; + }; + return FileDescriptorSet; })(); @@ -148342,6 +158212,7 @@ * @property {google.protobuf.IFileOptions|null} [options] FileDescriptorProto options * @property {google.protobuf.ISourceCodeInfo|null} [sourceCodeInfo] FileDescriptorProto sourceCodeInfo * @property {string|null} [syntax] FileDescriptorProto syntax + * @property {string|null} [edition] FileDescriptorProto edition */ /** @@ -148462,6 +158333,14 @@ */ FileDescriptorProto.prototype.syntax = ""; + /** + * FileDescriptorProto edition. + * @member {string} edition + * @memberof google.protobuf.FileDescriptorProto + * @instance + */ + FileDescriptorProto.prototype.edition = ""; + /** * Creates a new FileDescriptorProto instance using the specified properties. * @function create @@ -148517,6 +158396,8 @@ writer.uint32(/* id 11, wireType 0 =*/88).int32(message.weakDependency[i]); if (message.syntax != null && Object.hasOwnProperty.call(message, "syntax")) writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax); + if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) + writer.uint32(/* id 13, wireType 2 =*/106).string(message.edition); return writer; }; @@ -148551,66 +158432,82 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message["package"] = reader.string(); - break; - case 3: - if (!(message.dependency && message.dependency.length)) - message.dependency = []; - message.dependency.push(reader.string()); - break; - case 10: - if (!(message.publicDependency && message.publicDependency.length)) - message.publicDependency = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message["package"] = reader.string(); + break; + } + case 3: { + if (!(message.dependency && message.dependency.length)) + message.dependency = []; + message.dependency.push(reader.string()); + break; + } + case 10: { + if (!(message.publicDependency && message.publicDependency.length)) + message.publicDependency = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.publicDependency.push(reader.int32()); + } else message.publicDependency.push(reader.int32()); - } else - message.publicDependency.push(reader.int32()); - break; - case 11: - if (!(message.weakDependency && message.weakDependency.length)) - message.weakDependency = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + break; + } + case 11: { + if (!(message.weakDependency && message.weakDependency.length)) + message.weakDependency = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.weakDependency.push(reader.int32()); + } else message.weakDependency.push(reader.int32()); - } else - message.weakDependency.push(reader.int32()); - break; - case 4: - if (!(message.messageType && message.messageType.length)) - message.messageType = []; - message.messageType.push($root.google.protobuf.DescriptorProto.decode(reader, reader.uint32())); - break; - case 5: - if (!(message.enumType && message.enumType.length)) - message.enumType = []; - message.enumType.push($root.google.protobuf.EnumDescriptorProto.decode(reader, reader.uint32())); - break; - case 6: - if (!(message.service && message.service.length)) - message.service = []; - message.service.push($root.google.protobuf.ServiceDescriptorProto.decode(reader, reader.uint32())); - break; - case 7: - if (!(message.extension && message.extension.length)) - message.extension = []; - message.extension.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); - break; - case 8: - message.options = $root.google.protobuf.FileOptions.decode(reader, reader.uint32()); - break; - case 9: - message.sourceCodeInfo = $root.google.protobuf.SourceCodeInfo.decode(reader, reader.uint32()); - break; - case 12: - message.syntax = reader.string(); - break; + break; + } + case 4: { + if (!(message.messageType && message.messageType.length)) + message.messageType = []; + message.messageType.push($root.google.protobuf.DescriptorProto.decode(reader, reader.uint32())); + break; + } + case 5: { + if (!(message.enumType && message.enumType.length)) + message.enumType = []; + message.enumType.push($root.google.protobuf.EnumDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 6: { + if (!(message.service && message.service.length)) + message.service = []; + message.service.push($root.google.protobuf.ServiceDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 7: { + if (!(message.extension && message.extension.length)) + message.extension = []; + message.extension.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 8: { + message.options = $root.google.protobuf.FileOptions.decode(reader, reader.uint32()); + break; + } + case 9: { + message.sourceCodeInfo = $root.google.protobuf.SourceCodeInfo.decode(reader, reader.uint32()); + break; + } + case 12: { + message.syntax = reader.string(); + break; + } + case 13: { + message.edition = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -148722,6 +158619,9 @@ if (message.syntax != null && message.hasOwnProperty("syntax")) if (!$util.isString(message.syntax)) return "syntax: string expected"; + if (message.edition != null && message.hasOwnProperty("edition")) + if (!$util.isString(message.edition)) + return "edition: string expected"; return null; }; @@ -148814,6 +158714,8 @@ } if (object.syntax != null) message.syntax = String(object.syntax); + if (object.edition != null) + message.edition = String(object.edition); return message; }; @@ -148845,6 +158747,7 @@ object.options = null; object.sourceCodeInfo = null; object.syntax = ""; + object.edition = ""; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -148891,6 +158794,8 @@ } if (message.syntax != null && message.hasOwnProperty("syntax")) object.syntax = message.syntax; + if (message.edition != null && message.hasOwnProperty("edition")) + object.edition = message.edition; return object; }; @@ -148905,6 +158810,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FileDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.FileDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FileDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.FileDescriptorProto"; + }; + return FileDescriptorProto; })(); @@ -149115,52 +159035,62 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - if (!(message.field && message.field.length)) - message.field = []; - message.field.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); - break; - case 6: - if (!(message.extension && message.extension.length)) - message.extension = []; - message.extension.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); - break; - case 3: - if (!(message.nestedType && message.nestedType.length)) - message.nestedType = []; - message.nestedType.push($root.google.protobuf.DescriptorProto.decode(reader, reader.uint32())); - break; - case 4: - if (!(message.enumType && message.enumType.length)) - message.enumType = []; - message.enumType.push($root.google.protobuf.EnumDescriptorProto.decode(reader, reader.uint32())); - break; - case 5: - if (!(message.extensionRange && message.extensionRange.length)) - message.extensionRange = []; - message.extensionRange.push($root.google.protobuf.DescriptorProto.ExtensionRange.decode(reader, reader.uint32())); - break; - case 8: - if (!(message.oneofDecl && message.oneofDecl.length)) - message.oneofDecl = []; - message.oneofDecl.push($root.google.protobuf.OneofDescriptorProto.decode(reader, reader.uint32())); - break; - case 7: - message.options = $root.google.protobuf.MessageOptions.decode(reader, reader.uint32()); - break; - case 9: - if (!(message.reservedRange && message.reservedRange.length)) - message.reservedRange = []; - message.reservedRange.push($root.google.protobuf.DescriptorProto.ReservedRange.decode(reader, reader.uint32())); - break; - case 10: - if (!(message.reservedName && message.reservedName.length)) - message.reservedName = []; - message.reservedName.push(reader.string()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + if (!(message.field && message.field.length)) + message.field = []; + message.field.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 6: { + if (!(message.extension && message.extension.length)) + message.extension = []; + message.extension.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 3: { + if (!(message.nestedType && message.nestedType.length)) + message.nestedType = []; + message.nestedType.push($root.google.protobuf.DescriptorProto.decode(reader, reader.uint32())); + break; + } + case 4: { + if (!(message.enumType && message.enumType.length)) + message.enumType = []; + message.enumType.push($root.google.protobuf.EnumDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 5: { + if (!(message.extensionRange && message.extensionRange.length)) + message.extensionRange = []; + message.extensionRange.push($root.google.protobuf.DescriptorProto.ExtensionRange.decode(reader, reader.uint32())); + break; + } + case 8: { + if (!(message.oneofDecl && message.oneofDecl.length)) + message.oneofDecl = []; + message.oneofDecl.push($root.google.protobuf.OneofDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 7: { + message.options = $root.google.protobuf.MessageOptions.decode(reader, reader.uint32()); + break; + } + case 9: { + if (!(message.reservedRange && message.reservedRange.length)) + message.reservedRange = []; + message.reservedRange.push($root.google.protobuf.DescriptorProto.ReservedRange.decode(reader, reader.uint32())); + break; + } + case 10: { + if (!(message.reservedName && message.reservedName.length)) + message.reservedName = []; + message.reservedName.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -149461,6 +159391,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.DescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.DescriptorProto"; + }; + DescriptorProto.ExtensionRange = (function() { /** @@ -149575,15 +159520,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.start = reader.int32(); - break; - case 2: - message.end = reader.int32(); - break; - case 3: - message.options = $root.google.protobuf.ExtensionRangeOptions.decode(reader, reader.uint32()); - break; + case 1: { + message.start = reader.int32(); + break; + } + case 2: { + message.end = reader.int32(); + break; + } + case 3: { + message.options = $root.google.protobuf.ExtensionRangeOptions.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -149695,6 +159643,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ExtensionRange + * @function getTypeUrl + * @memberof google.protobuf.DescriptorProto.ExtensionRange + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ExtensionRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.DescriptorProto.ExtensionRange"; + }; + return ExtensionRange; })(); @@ -149801,12 +159764,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.start = reader.int32(); - break; - case 2: - message.end = reader.int32(); - break; + case 1: { + message.start = reader.int32(); + break; + } + case 2: { + message.end = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -149905,6 +159870,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ReservedRange + * @function getTypeUrl + * @memberof google.protobuf.DescriptorProto.ReservedRange + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReservedRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.DescriptorProto.ReservedRange"; + }; + return ReservedRange; })(); @@ -150005,11 +159985,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -150116,6 +160097,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ExtensionRangeOptions + * @function getTypeUrl + * @memberof google.protobuf.ExtensionRangeOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ExtensionRangeOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.ExtensionRangeOptions"; + }; + return ExtensionRangeOptions; })(); @@ -150321,39 +160317,50 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 3: - message.number = reader.int32(); - break; - case 4: - message.label = reader.int32(); - break; - case 5: - message.type = reader.int32(); - break; - case 6: - message.typeName = reader.string(); - break; - case 2: - message.extendee = reader.string(); - break; - case 7: - message.defaultValue = reader.string(); - break; - case 9: - message.oneofIndex = reader.int32(); - break; - case 10: - message.jsonName = reader.string(); - break; - case 8: - message.options = $root.google.protobuf.FieldOptions.decode(reader, reader.uint32()); - break; - case 17: - message.proto3Optional = reader.bool(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 3: { + message.number = reader.int32(); + break; + } + case 4: { + message.label = reader.int32(); + break; + } + case 5: { + message.type = reader.int32(); + break; + } + case 6: { + message.typeName = reader.string(); + break; + } + case 2: { + message.extendee = reader.string(); + break; + } + case 7: { + message.defaultValue = reader.string(); + break; + } + case 9: { + message.oneofIndex = reader.int32(); + break; + } + case 10: { + message.jsonName = reader.string(); + break; + } + case 8: { + message.options = $root.google.protobuf.FieldOptions.decode(reader, reader.uint32()); + break; + } + case 17: { + message.proto3Optional = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -150640,6 +160647,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FieldDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.FieldDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FieldDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.FieldDescriptorProto"; + }; + /** * Type enum. * @name google.protobuf.FieldDescriptorProto.Type @@ -150808,12 +160830,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.options = $root.google.protobuf.OneofOptions.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.options = $root.google.protobuf.OneofOptions.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -150917,6 +160941,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for OneofDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.OneofDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + OneofDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.OneofDescriptorProto"; + }; + return OneofDescriptorProto; })(); @@ -151062,27 +161101,32 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - if (!(message.value && message.value.length)) - message.value = []; - message.value.push($root.google.protobuf.EnumValueDescriptorProto.decode(reader, reader.uint32())); - break; - case 3: - message.options = $root.google.protobuf.EnumOptions.decode(reader, reader.uint32()); - break; - case 4: - if (!(message.reservedRange && message.reservedRange.length)) - message.reservedRange = []; - message.reservedRange.push($root.google.protobuf.EnumDescriptorProto.EnumReservedRange.decode(reader, reader.uint32())); - break; - case 5: - if (!(message.reservedName && message.reservedName.length)) - message.reservedName = []; - message.reservedName.push(reader.string()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + if (!(message.value && message.value.length)) + message.value = []; + message.value.push($root.google.protobuf.EnumValueDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 3: { + message.options = $root.google.protobuf.EnumOptions.decode(reader, reader.uint32()); + break; + } + case 4: { + if (!(message.reservedRange && message.reservedRange.length)) + message.reservedRange = []; + message.reservedRange.push($root.google.protobuf.EnumDescriptorProto.EnumReservedRange.decode(reader, reader.uint32())); + break; + } + case 5: { + if (!(message.reservedName && message.reservedName.length)) + message.reservedName = []; + message.reservedName.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -151258,6 +161302,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EnumDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.EnumDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EnumDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.EnumDescriptorProto"; + }; + EnumDescriptorProto.EnumReservedRange = (function() { /** @@ -151361,12 +161420,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.start = reader.int32(); - break; - case 2: - message.end = reader.int32(); - break; + case 1: { + message.start = reader.int32(); + break; + } + case 2: { + message.end = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -151465,6 +161526,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EnumReservedRange + * @function getTypeUrl + * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EnumReservedRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.EnumDescriptorProto.EnumReservedRange"; + }; + return EnumReservedRange; })(); @@ -151585,15 +161661,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.number = reader.int32(); - break; - case 3: - message.options = $root.google.protobuf.EnumValueOptions.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.number = reader.int32(); + break; + } + case 3: { + message.options = $root.google.protobuf.EnumValueOptions.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -151705,6 +161784,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EnumValueDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.EnumValueDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EnumValueDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.EnumValueDescriptorProto"; + }; + return EnumValueDescriptorProto; })(); @@ -151824,17 +161918,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - if (!(message.method && message.method.length)) - message.method = []; - message.method.push($root.google.protobuf.MethodDescriptorProto.decode(reader, reader.uint32())); - break; - case 3: - message.options = $root.google.protobuf.ServiceOptions.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + if (!(message.method && message.method.length)) + message.method = []; + message.method.push($root.google.protobuf.MethodDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 3: { + message.options = $root.google.protobuf.ServiceOptions.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -151964,6 +162061,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ServiceDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.ServiceDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ServiceDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.ServiceDescriptorProto"; + }; + return ServiceDescriptorProto; })(); @@ -152114,24 +162226,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.inputType = reader.string(); - break; - case 3: - message.outputType = reader.string(); - break; - case 4: - message.options = $root.google.protobuf.MethodOptions.decode(reader, reader.uint32()); - break; - case 5: - message.clientStreaming = reader.bool(); - break; - case 6: - message.serverStreaming = reader.bool(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.inputType = reader.string(); + break; + } + case 3: { + message.outputType = reader.string(); + break; + } + case 4: { + message.options = $root.google.protobuf.MethodOptions.decode(reader, reader.uint32()); + break; + } + case 5: { + message.clientStreaming = reader.bool(); + break; + } + case 6: { + message.serverStreaming = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -152267,6 +162385,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for MethodDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.MethodDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + MethodDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.MethodDescriptorProto"; + }; + return MethodDescriptorProto; })(); @@ -152597,76 +162730,98 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.javaPackage = reader.string(); - break; - case 8: - message.javaOuterClassname = reader.string(); - break; - case 10: - message.javaMultipleFiles = reader.bool(); - break; - case 20: - message.javaGenerateEqualsAndHash = reader.bool(); - break; - case 27: - message.javaStringCheckUtf8 = reader.bool(); - break; - case 9: - message.optimizeFor = reader.int32(); - break; - case 11: - message.goPackage = reader.string(); - break; - case 16: - message.ccGenericServices = reader.bool(); - break; - case 17: - message.javaGenericServices = reader.bool(); - break; - case 18: - message.pyGenericServices = reader.bool(); - break; - case 42: - message.phpGenericServices = reader.bool(); - break; - case 23: - message.deprecated = reader.bool(); - break; - case 31: - message.ccEnableArenas = reader.bool(); - break; - case 36: - message.objcClassPrefix = reader.string(); - break; - case 37: - message.csharpNamespace = reader.string(); - break; - case 39: - message.swiftPrefix = reader.string(); - break; - case 40: - message.phpClassPrefix = reader.string(); - break; - case 41: - message.phpNamespace = reader.string(); - break; - case 44: - message.phpMetadataNamespace = reader.string(); - break; - case 45: - message.rubyPackage = reader.string(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; - case 1053: - if (!(message[".google.api.resourceDefinition"] && message[".google.api.resourceDefinition"].length)) - message[".google.api.resourceDefinition"] = []; - message[".google.api.resourceDefinition"].push($root.google.api.ResourceDescriptor.decode(reader, reader.uint32())); - break; + case 1: { + message.javaPackage = reader.string(); + break; + } + case 8: { + message.javaOuterClassname = reader.string(); + break; + } + case 10: { + message.javaMultipleFiles = reader.bool(); + break; + } + case 20: { + message.javaGenerateEqualsAndHash = reader.bool(); + break; + } + case 27: { + message.javaStringCheckUtf8 = reader.bool(); + break; + } + case 9: { + message.optimizeFor = reader.int32(); + break; + } + case 11: { + message.goPackage = reader.string(); + break; + } + case 16: { + message.ccGenericServices = reader.bool(); + break; + } + case 17: { + message.javaGenericServices = reader.bool(); + break; + } + case 18: { + message.pyGenericServices = reader.bool(); + break; + } + case 42: { + message.phpGenericServices = reader.bool(); + break; + } + case 23: { + message.deprecated = reader.bool(); + break; + } + case 31: { + message.ccEnableArenas = reader.bool(); + break; + } + case 36: { + message.objcClassPrefix = reader.string(); + break; + } + case 37: { + message.csharpNamespace = reader.string(); + break; + } + case 39: { + message.swiftPrefix = reader.string(); + break; + } + case 40: { + message.phpClassPrefix = reader.string(); + break; + } + case 41: { + message.phpNamespace = reader.string(); + break; + } + case 44: { + message.phpMetadataNamespace = reader.string(); + break; + } + case 45: { + message.rubyPackage = reader.string(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } + case 1053: { + if (!(message[".google.api.resourceDefinition"] && message[".google.api.resourceDefinition"].length)) + message[".google.api.resourceDefinition"] = []; + message[".google.api.resourceDefinition"].push($root.google.api.ResourceDescriptor.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -152979,6 +163134,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FileOptions + * @function getTypeUrl + * @memberof google.protobuf.FileOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FileOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.FileOptions"; + }; + /** * OptimizeMode enum. * @name google.protobuf.FileOptions.OptimizeMode @@ -153147,26 +163317,32 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.messageSetWireFormat = reader.bool(); - break; - case 2: - message.noStandardDescriptorAccessor = reader.bool(); - break; - case 3: - message.deprecated = reader.bool(); - break; - case 7: - message.mapEntry = reader.bool(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; - case 1053: - message[".google.api.resource"] = $root.google.api.ResourceDescriptor.decode(reader, reader.uint32()); - break; + case 1: { + message.messageSetWireFormat = reader.bool(); + break; + } + case 2: { + message.noStandardDescriptorAccessor = reader.bool(); + break; + } + case 3: { + message.deprecated = reader.bool(); + break; + } + case 7: { + message.mapEntry = reader.bool(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } + case 1053: { + message[".google.api.resource"] = $root.google.api.ResourceDescriptor.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -153320,6 +163496,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for MessageOptions + * @function getTypeUrl + * @memberof google.protobuf.MessageOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + MessageOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.MessageOptions"; + }; + return MessageOptions; })(); @@ -153333,6 +163524,7 @@ * @property {boolean|null} [packed] FieldOptions packed * @property {google.protobuf.FieldOptions.JSType|null} [jstype] FieldOptions jstype * @property {boolean|null} [lazy] FieldOptions lazy + * @property {boolean|null} [unverifiedLazy] FieldOptions unverifiedLazy * @property {boolean|null} [deprecated] FieldOptions deprecated * @property {boolean|null} [weak] FieldOptions weak * @property {Array.|null} [uninterpretedOption] FieldOptions uninterpretedOption @@ -153389,6 +163581,14 @@ */ FieldOptions.prototype.lazy = false; + /** + * FieldOptions unverifiedLazy. + * @member {boolean} unverifiedLazy + * @memberof google.protobuf.FieldOptions + * @instance + */ + FieldOptions.prototype.unverifiedLazy = false; + /** * FieldOptions deprecated. * @member {boolean} deprecated @@ -153465,6 +163665,8 @@ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jstype); if (message.weak != null && Object.hasOwnProperty.call(message, "weak")) writer.uint32(/* id 10, wireType 0 =*/80).bool(message.weak); + if (message.unverifiedLazy != null && Object.hasOwnProperty.call(message, "unverifiedLazy")) + writer.uint32(/* id 15, wireType 0 =*/120).bool(message.unverifiedLazy); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -153510,42 +163712,55 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.ctype = reader.int32(); - break; - case 2: - message.packed = reader.bool(); - break; - case 6: - message.jstype = reader.int32(); - break; - case 5: - message.lazy = reader.bool(); - break; - case 3: - message.deprecated = reader.bool(); - break; - case 10: - message.weak = reader.bool(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; - case 1052: - if (!(message[".google.api.fieldBehavior"] && message[".google.api.fieldBehavior"].length)) - message[".google.api.fieldBehavior"] = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.ctype = reader.int32(); + break; + } + case 2: { + message.packed = reader.bool(); + break; + } + case 6: { + message.jstype = reader.int32(); + break; + } + case 5: { + message.lazy = reader.bool(); + break; + } + case 15: { + message.unverifiedLazy = reader.bool(); + break; + } + case 3: { + message.deprecated = reader.bool(); + break; + } + case 10: { + message.weak = reader.bool(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } + case 1052: { + if (!(message[".google.api.fieldBehavior"] && message[".google.api.fieldBehavior"].length)) + message[".google.api.fieldBehavior"] = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message[".google.api.fieldBehavior"].push(reader.int32()); + } else message[".google.api.fieldBehavior"].push(reader.int32()); - } else - message[".google.api.fieldBehavior"].push(reader.int32()); - break; - case 1055: - message[".google.api.resourceReference"] = $root.google.api.ResourceReference.decode(reader, reader.uint32()); - break; + break; + } + case 1055: { + message[".google.api.resourceReference"] = $root.google.api.ResourceReference.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -153605,6 +163820,9 @@ if (message.lazy != null && message.hasOwnProperty("lazy")) if (typeof message.lazy !== "boolean") return "lazy: boolean expected"; + if (message.unverifiedLazy != null && message.hasOwnProperty("unverifiedLazy")) + if (typeof message.unverifiedLazy !== "boolean") + return "unverifiedLazy: boolean expected"; if (message.deprecated != null && message.hasOwnProperty("deprecated")) if (typeof message.deprecated !== "boolean") return "deprecated: boolean expected"; @@ -153690,6 +163908,8 @@ } if (object.lazy != null) message.lazy = Boolean(object.lazy); + if (object.unverifiedLazy != null) + message.unverifiedLazy = Boolean(object.unverifiedLazy); if (object.deprecated != null) message.deprecated = Boolean(object.deprecated); if (object.weak != null) @@ -153777,6 +163997,7 @@ object.lazy = false; object.jstype = options.enums === String ? "JS_NORMAL" : 0; object.weak = false; + object.unverifiedLazy = false; object[".google.api.resourceReference"] = null; } if (message.ctype != null && message.hasOwnProperty("ctype")) @@ -153791,6 +164012,8 @@ object.jstype = options.enums === String ? $root.google.protobuf.FieldOptions.JSType[message.jstype] : message.jstype; if (message.weak != null && message.hasOwnProperty("weak")) object.weak = message.weak; + if (message.unverifiedLazy != null && message.hasOwnProperty("unverifiedLazy")) + object.unverifiedLazy = message.unverifiedLazy; if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -153817,6 +164040,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FieldOptions + * @function getTypeUrl + * @memberof google.protobuf.FieldOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FieldOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.FieldOptions"; + }; + /** * CType enum. * @name google.protobuf.FieldOptions.CType @@ -153946,11 +164184,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -154057,6 +164296,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for OneofOptions + * @function getTypeUrl + * @memberof google.protobuf.OneofOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + OneofOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.OneofOptions"; + }; + return OneofOptions; })(); @@ -154176,17 +164430,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 2: - message.allowAlias = reader.bool(); - break; - case 3: - message.deprecated = reader.bool(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; + case 2: { + message.allowAlias = reader.bool(); + break; + } + case 3: { + message.deprecated = reader.bool(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -154311,6 +164568,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EnumOptions + * @function getTypeUrl + * @memberof google.protobuf.EnumOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EnumOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.EnumOptions"; + }; + return EnumOptions; })(); @@ -154419,14 +164691,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.deprecated = reader.bool(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; + case 1: { + message.deprecated = reader.bool(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -154542,6 +164816,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EnumValueOptions + * @function getTypeUrl + * @memberof google.protobuf.EnumValueOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EnumValueOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.EnumValueOptions"; + }; + return EnumValueOptions; })(); @@ -154672,20 +164961,24 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 33: - message.deprecated = reader.bool(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; - case 1049: - message[".google.api.defaultHost"] = reader.string(); - break; - case 1050: - message[".google.api.oauthScopes"] = reader.string(); - break; + case 33: { + message.deprecated = reader.bool(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } + case 1049: { + message[".google.api.defaultHost"] = reader.string(); + break; + } + case 1050: { + message[".google.api.oauthScopes"] = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -154818,6 +165111,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ServiceOptions + * @function getTypeUrl + * @memberof google.protobuf.ServiceOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ServiceOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.ServiceOptions"; + }; + return ServiceOptions; })(); @@ -154972,28 +165280,34 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 33: - message.deprecated = reader.bool(); - break; - case 34: - message.idempotencyLevel = reader.int32(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; - case 72295728: - message[".google.api.http"] = $root.google.api.HttpRule.decode(reader, reader.uint32()); - break; - case 1051: - if (!(message[".google.api.methodSignature"] && message[".google.api.methodSignature"].length)) - message[".google.api.methodSignature"] = []; - message[".google.api.methodSignature"].push(reader.string()); - break; - case 1049: - message[".google.longrunning.operationInfo"] = $root.google.longrunning.OperationInfo.decode(reader, reader.uint32()); - break; + case 33: { + message.deprecated = reader.bool(); + break; + } + case 34: { + message.idempotencyLevel = reader.int32(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } + case 72295728: { + message[".google.api.http"] = $root.google.api.HttpRule.decode(reader, reader.uint32()); + break; + } + case 1051: { + if (!(message[".google.api.methodSignature"] && message[".google.api.methodSignature"].length)) + message[".google.api.methodSignature"] = []; + message[".google.api.methodSignature"].push(reader.string()); + break; + } + case 1049: { + message[".google.longrunning.operationInfo"] = $root.google.longrunning.OperationInfo.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -155183,6 +165497,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for MethodOptions + * @function getTypeUrl + * @memberof google.protobuf.MethodOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + MethodOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.MethodOptions"; + }; + /** * IdempotencyLevel enum. * @name google.protobuf.MethodOptions.IdempotencyLevel @@ -155362,29 +165691,36 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 2: - if (!(message.name && message.name.length)) - message.name = []; - message.name.push($root.google.protobuf.UninterpretedOption.NamePart.decode(reader, reader.uint32())); - break; - case 3: - message.identifierValue = reader.string(); - break; - case 4: - message.positiveIntValue = reader.uint64(); - break; - case 5: - message.negativeIntValue = reader.int64(); - break; - case 6: - message.doubleValue = reader.double(); - break; - case 7: - message.stringValue = reader.bytes(); - break; - case 8: - message.aggregateValue = reader.string(); - break; + case 2: { + if (!(message.name && message.name.length)) + message.name = []; + message.name.push($root.google.protobuf.UninterpretedOption.NamePart.decode(reader, reader.uint32())); + break; + } + case 3: { + message.identifierValue = reader.string(); + break; + } + case 4: { + message.positiveIntValue = reader.uint64(); + break; + } + case 5: { + message.negativeIntValue = reader.int64(); + break; + } + case 6: { + message.doubleValue = reader.double(); + break; + } + case 7: { + message.stringValue = reader.bytes(); + break; + } + case 8: { + message.aggregateValue = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -155497,7 +165833,7 @@ if (object.stringValue != null) if (typeof object.stringValue === "string") $util.base64.decode(object.stringValue, message.stringValue = $util.newBuffer($util.base64.length(object.stringValue)), 0); - else if (object.stringValue.length) + else if (object.stringValue.length >= 0) message.stringValue = object.stringValue; if (object.aggregateValue != null) message.aggregateValue = String(object.aggregateValue); @@ -155578,6 +165914,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UninterpretedOption + * @function getTypeUrl + * @memberof google.protobuf.UninterpretedOption + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UninterpretedOption.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.UninterpretedOption"; + }; + UninterpretedOption.NamePart = (function() { /** @@ -155679,12 +166030,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.namePart = reader.string(); - break; - case 2: - message.isExtension = reader.bool(); - break; + case 1: { + message.namePart = reader.string(); + break; + } + case 2: { + message.isExtension = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -155785,6 +166138,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for NamePart + * @function getTypeUrl + * @memberof google.protobuf.UninterpretedOption.NamePart + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + NamePart.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.UninterpretedOption.NamePart"; + }; + return NamePart; })(); @@ -155885,11 +166253,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.location && message.location.length)) - message.location = []; - message.location.push($root.google.protobuf.SourceCodeInfo.Location.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.location && message.location.length)) + message.location = []; + message.location.push($root.google.protobuf.SourceCodeInfo.Location.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -155996,6 +166365,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SourceCodeInfo + * @function getTypeUrl + * @memberof google.protobuf.SourceCodeInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SourceCodeInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.SourceCodeInfo"; + }; + SourceCodeInfo.Location = (function() { /** @@ -156144,37 +166528,42 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.path && message.path.length)) - message.path = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + if (!(message.path && message.path.length)) + message.path = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.path.push(reader.int32()); + } else message.path.push(reader.int32()); - } else - message.path.push(reader.int32()); - break; - case 2: - if (!(message.span && message.span.length)) - message.span = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + break; + } + case 2: { + if (!(message.span && message.span.length)) + message.span = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.span.push(reader.int32()); + } else message.span.push(reader.int32()); - } else - message.span.push(reader.int32()); - break; - case 3: - message.leadingComments = reader.string(); - break; - case 4: - message.trailingComments = reader.string(); - break; - case 6: - if (!(message.leadingDetachedComments && message.leadingDetachedComments.length)) - message.leadingDetachedComments = []; - message.leadingDetachedComments.push(reader.string()); - break; + break; + } + case 3: { + message.leadingComments = reader.string(); + break; + } + case 4: { + message.trailingComments = reader.string(); + break; + } + case 6: { + if (!(message.leadingDetachedComments && message.leadingDetachedComments.length)) + message.leadingDetachedComments = []; + message.leadingDetachedComments.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -156335,6 +166724,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Location + * @function getTypeUrl + * @memberof google.protobuf.SourceCodeInfo.Location + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Location.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.SourceCodeInfo.Location"; + }; + return Location; })(); @@ -156435,11 +166839,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.annotation && message.annotation.length)) - message.annotation = []; - message.annotation.push($root.google.protobuf.GeneratedCodeInfo.Annotation.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.annotation && message.annotation.length)) + message.annotation = []; + message.annotation.push($root.google.protobuf.GeneratedCodeInfo.Annotation.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -156546,6 +166951,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GeneratedCodeInfo + * @function getTypeUrl + * @memberof google.protobuf.GeneratedCodeInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GeneratedCodeInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.GeneratedCodeInfo"; + }; + GeneratedCodeInfo.Annotation = (function() { /** @@ -156556,6 +166976,7 @@ * @property {string|null} [sourceFile] Annotation sourceFile * @property {number|null} [begin] Annotation begin * @property {number|null} [end] Annotation end + * @property {google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null} [semantic] Annotation semantic */ /** @@ -156606,6 +167027,14 @@ */ Annotation.prototype.end = 0; + /** + * Annotation semantic. + * @member {google.protobuf.GeneratedCodeInfo.Annotation.Semantic} semantic + * @memberof google.protobuf.GeneratedCodeInfo.Annotation + * @instance + */ + Annotation.prototype.semantic = 0; + /** * Creates a new Annotation instance using the specified properties. * @function create @@ -156642,6 +167071,8 @@ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.begin); if (message.end != null && Object.hasOwnProperty.call(message, "end")) writer.uint32(/* id 4, wireType 0 =*/32).int32(message.end); + if (message.semantic != null && Object.hasOwnProperty.call(message, "semantic")) + writer.uint32(/* id 5, wireType 0 =*/40).int32(message.semantic); return writer; }; @@ -156676,25 +167107,33 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.path && message.path.length)) - message.path = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + if (!(message.path && message.path.length)) + message.path = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.path.push(reader.int32()); + } else message.path.push(reader.int32()); - } else - message.path.push(reader.int32()); - break; - case 2: - message.sourceFile = reader.string(); - break; - case 3: - message.begin = reader.int32(); - break; - case 4: - message.end = reader.int32(); - break; + break; + } + case 2: { + message.sourceFile = reader.string(); + break; + } + case 3: { + message.begin = reader.int32(); + break; + } + case 4: { + message.end = reader.int32(); + break; + } + case 5: { + message.semantic = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -156746,6 +167185,15 @@ if (message.end != null && message.hasOwnProperty("end")) if (!$util.isInteger(message.end)) return "end: integer expected"; + if (message.semantic != null && message.hasOwnProperty("semantic")) + switch (message.semantic) { + default: + return "semantic: enum value expected"; + case 0: + case 1: + case 2: + break; + } return null; }; @@ -156774,6 +167222,20 @@ message.begin = object.begin | 0; if (object.end != null) message.end = object.end | 0; + switch (object.semantic) { + case "NONE": + case 0: + message.semantic = 0; + break; + case "SET": + case 1: + message.semantic = 1; + break; + case "ALIAS": + case 2: + message.semantic = 2; + break; + } return message; }; @@ -156796,6 +167258,7 @@ object.sourceFile = ""; object.begin = 0; object.end = 0; + object.semantic = options.enums === String ? "NONE" : 0; } if (message.path && message.path.length) { object.path = []; @@ -156808,6 +167271,8 @@ object.begin = message.begin; if (message.end != null && message.hasOwnProperty("end")) object.end = message.end; + if (message.semantic != null && message.hasOwnProperty("semantic")) + object.semantic = options.enums === String ? $root.google.protobuf.GeneratedCodeInfo.Annotation.Semantic[message.semantic] : message.semantic; return object; }; @@ -156822,6 +167287,37 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Annotation + * @function getTypeUrl + * @memberof google.protobuf.GeneratedCodeInfo.Annotation + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Annotation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.GeneratedCodeInfo.Annotation"; + }; + + /** + * Semantic enum. + * @name google.protobuf.GeneratedCodeInfo.Annotation.Semantic + * @enum {number} + * @property {number} NONE=0 NONE value + * @property {number} SET=1 SET value + * @property {number} ALIAS=2 ALIAS value + */ + Annotation.Semantic = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "NONE"] = 0; + values[valuesById[1] = "SET"] = 1; + values[valuesById[2] = "ALIAS"] = 2; + return values; + })(); + return Annotation; })(); @@ -156931,12 +167427,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type_url = reader.string(); - break; - case 2: - message.value = reader.bytes(); - break; + case 1: { + message.type_url = reader.string(); + break; + } + case 2: { + message.value = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -156998,7 +167496,7 @@ if (object.value != null) if (typeof object.value === "string") $util.base64.decode(object.value, message.value = $util.newBuffer($util.base64.length(object.value)), 0); - else if (object.value.length) + else if (object.value.length >= 0) message.value = object.value; return message; }; @@ -157044,6 +167542,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Any + * @function getTypeUrl + * @memberof google.protobuf.Any + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Any.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.Any"; + }; + return Any; })(); @@ -157150,12 +167663,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.seconds = reader.int64(); - break; - case 2: - message.nanos = reader.int32(); - break; + case 1: { + message.seconds = reader.int64(); + break; + } + case 2: { + message.nanos = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -157268,6 +167783,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Duration + * @function getTypeUrl + * @memberof google.protobuf.Duration + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Duration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.Duration"; + }; + return Duration; })(); @@ -157428,6 +167958,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Empty + * @function getTypeUrl + * @memberof google.protobuf.Empty + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Empty.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.Empty"; + }; + return Empty; })(); @@ -157525,11 +168070,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.paths && message.paths.length)) - message.paths = []; - message.paths.push(reader.string()); - break; + case 1: { + if (!(message.paths && message.paths.length)) + message.paths = []; + message.paths.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -157631,6 +168177,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FieldMask + * @function getTypeUrl + * @memberof google.protobuf.FieldMask + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FieldMask.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.FieldMask"; + }; + return FieldMask; })(); @@ -157730,28 +168291,29 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (message.fields === $util.emptyObject) - message.fields = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = null; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = $root.google.protobuf.Value.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + if (message.fields === $util.emptyObject) + message.fields = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = null; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = $root.google.protobuf.Value.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.fields[key] = value; + break; } - message.fields[key] = value; - break; default: reader.skipType(tag & 7); break; @@ -157860,6 +168422,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Struct + * @function getTypeUrl + * @memberof google.protobuf.Struct + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Struct.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.Struct"; + }; + return Struct; })(); @@ -158024,24 +168601,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.nullValue = reader.int32(); - break; - case 2: - message.numberValue = reader.double(); - break; - case 3: - message.stringValue = reader.string(); - break; - case 4: - message.boolValue = reader.bool(); - break; - case 5: - message.structValue = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 6: - message.listValue = $root.google.protobuf.ListValue.decode(reader, reader.uint32()); - break; + case 1: { + message.nullValue = reader.int32(); + break; + } + case 2: { + message.numberValue = reader.double(); + break; + } + case 3: { + message.stringValue = reader.string(); + break; + } + case 4: { + message.boolValue = reader.bool(); + break; + } + case 5: { + message.structValue = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 6: { + message.listValue = $root.google.protobuf.ListValue.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -158225,6 +168808,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Value + * @function getTypeUrl + * @memberof google.protobuf.Value + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Value.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.Value"; + }; + return Value; })(); @@ -158334,11 +168932,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.values && message.values.length)) - message.values = []; - message.values.push($root.google.protobuf.Value.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.values && message.values.length)) + message.values = []; + message.values.push($root.google.protobuf.Value.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -158445,6 +169044,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListValue + * @function getTypeUrl + * @memberof google.protobuf.ListValue + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.ListValue"; + }; + return ListValue; })(); @@ -158551,12 +169165,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.seconds = reader.int64(); - break; - case 2: - message.nanos = reader.int32(); - break; + case 1: { + message.seconds = reader.int64(); + break; + } + case 2: { + message.nanos = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -158669,6 +169285,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Timestamp + * @function getTypeUrl + * @memberof google.protobuf.Timestamp + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Timestamp.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.Timestamp"; + }; + return Timestamp; })(); @@ -158717,7 +169348,7 @@ }; /** - * Callback as used by {@link google.longrunning.Operations#listOperations}. + * Callback as used by {@link google.longrunning.Operations|listOperations}. * @memberof google.longrunning.Operations * @typedef ListOperationsCallback * @type {function} @@ -158750,7 +169381,7 @@ */ /** - * Callback as used by {@link google.longrunning.Operations#getOperation}. + * Callback as used by {@link google.longrunning.Operations|getOperation}. * @memberof google.longrunning.Operations * @typedef GetOperationCallback * @type {function} @@ -158783,7 +169414,7 @@ */ /** - * Callback as used by {@link google.longrunning.Operations#deleteOperation}. + * Callback as used by {@link google.longrunning.Operations|deleteOperation}. * @memberof google.longrunning.Operations * @typedef DeleteOperationCallback * @type {function} @@ -158816,7 +169447,7 @@ */ /** - * Callback as used by {@link google.longrunning.Operations#cancelOperation}. + * Callback as used by {@link google.longrunning.Operations|cancelOperation}. * @memberof google.longrunning.Operations * @typedef CancelOperationCallback * @type {function} @@ -158849,7 +169480,7 @@ */ /** - * Callback as used by {@link google.longrunning.Operations#waitOperation}. + * Callback as used by {@link google.longrunning.Operations|waitOperation}. * @memberof google.longrunning.Operations * @typedef WaitOperationCallback * @type {function} @@ -159034,21 +169665,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.metadata = $root.google.protobuf.Any.decode(reader, reader.uint32()); - break; - case 3: - message.done = reader.bool(); - break; - case 4: - message.error = $root.google.rpc.Status.decode(reader, reader.uint32()); - break; - case 5: - message.response = $root.google.protobuf.Any.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.metadata = $root.google.protobuf.Any.decode(reader, reader.uint32()); + break; + } + case 3: { + message.done = reader.bool(); + break; + } + case 4: { + message.error = $root.google.rpc.Status.decode(reader, reader.uint32()); + break; + } + case 5: { + message.response = $root.google.protobuf.Any.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -159199,6 +169835,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Operation + * @function getTypeUrl + * @memberof google.longrunning.Operation + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Operation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.Operation"; + }; + return Operation; })(); @@ -159294,9 +169945,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -159386,6 +170038,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetOperationRequest + * @function getTypeUrl + * @memberof google.longrunning.GetOperationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetOperationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.GetOperationRequest"; + }; + return GetOperationRequest; })(); @@ -159514,18 +170181,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 4: - message.name = reader.string(); - break; - case 1: - message.filter = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 4: { + message.name = reader.string(); + break; + } + case 1: { + message.filter = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -159640,6 +170311,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListOperationsRequest + * @function getTypeUrl + * @memberof google.longrunning.ListOperationsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListOperationsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.ListOperationsRequest"; + }; + return ListOperationsRequest; })(); @@ -159748,14 +170434,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.operations && message.operations.length)) - message.operations = []; - message.operations.push($root.google.longrunning.Operation.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.operations && message.operations.length)) + message.operations = []; + message.operations.push($root.google.longrunning.Operation.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -159871,6 +170559,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListOperationsResponse + * @function getTypeUrl + * @memberof google.longrunning.ListOperationsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListOperationsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.ListOperationsResponse"; + }; + return ListOperationsResponse; })(); @@ -159966,9 +170669,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -160058,6 +170762,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CancelOperationRequest + * @function getTypeUrl + * @memberof google.longrunning.CancelOperationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CancelOperationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.CancelOperationRequest"; + }; + return CancelOperationRequest; })(); @@ -160153,9 +170872,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -160245,6 +170965,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteOperationRequest + * @function getTypeUrl + * @memberof google.longrunning.DeleteOperationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteOperationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.DeleteOperationRequest"; + }; + return DeleteOperationRequest; })(); @@ -160351,12 +171086,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.timeout = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.timeout = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -160460,6 +171197,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for WaitOperationRequest + * @function getTypeUrl + * @memberof google.longrunning.WaitOperationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + WaitOperationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.WaitOperationRequest"; + }; + return WaitOperationRequest; })(); @@ -160566,12 +171318,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.responseType = reader.string(); - break; - case 2: - message.metadataType = reader.string(); - break; + case 1: { + message.responseType = reader.string(); + break; + } + case 2: { + message.metadataType = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -160670,6 +171424,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for OperationInfo + * @function getTypeUrl + * @memberof google.longrunning.OperationInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + OperationInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.OperationInfo"; + }; + return OperationInfo; })(); @@ -160801,17 +171570,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.code = reader.int32(); - break; - case 2: - message.message = reader.string(); - break; - case 3: - if (!(message.details && message.details.length)) - message.details = []; - message.details.push($root.google.protobuf.Any.decode(reader, reader.uint32())); - break; + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + message.message = reader.string(); + break; + } + case 3: { + if (!(message.details && message.details.length)) + message.details = []; + message.details.push($root.google.protobuf.Any.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -160936,6 +171708,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Status + * @function getTypeUrl + * @memberof google.rpc.Status + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Status.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.rpc.Status"; + }; + return Status; })(); @@ -161054,12 +171841,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.latitude = reader.double(); - break; - case 2: - message.longitude = reader.double(); - break; + case 1: { + message.latitude = reader.double(); + break; + } + case 2: { + message.longitude = reader.double(); + break; + } default: reader.skipType(tag & 7); break; @@ -161158,6 +171947,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for LatLng + * @function getTypeUrl + * @memberof google.type.LatLng + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + LatLng.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.type.LatLng"; + }; + return LatLng; })(); diff --git a/packages/google-cloud-dialogflow/protos/protos.json b/packages/google-cloud-dialogflow/protos/protos.json index b18cb941e08..11b3628337d 100644 --- a/packages/google-cloud-dialogflow/protos/protos.json +++ b/packages/google-cloud-dialogflow/protos/protos.json @@ -18661,6 +18661,10 @@ "syntax": { "type": "string", "id": 12 + }, + "edition": { + "type": "string", + "id": 13 } } }, @@ -19189,6 +19193,13 @@ "default": false } }, + "unverifiedLazy": { + "type": "bool", + "id": 15, + "options": { + "default": false + } + }, "deprecated": { "type": "bool", "id": 3, @@ -19481,6 +19492,19 @@ "end": { "type": "int32", "id": 4 + }, + "semantic": { + "type": "Semantic", + "id": 5 + } + }, + "nested": { + "Semantic": { + "values": { + "NONE": 0, + "SET": 1, + "ALIAS": 2 + } } } }