From bda1bafe946d4ce36a109134f74c9b1915b41630 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 17 Mar 2020 16:10:26 -0700 Subject: [PATCH 001/178] samples: scaffold pom.xml files (#112) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2020-03-17 11:33:24,747 synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py. 2020-03-17 11:33:24,802 synthtool > Ensuring dependencies. 2020-03-17 11:33:24,807 synthtool > Pulling artman image. latest: Pulling from googleapis/artman Digest: sha256:5ef340c8d9334719bc5c6981d95f4a5d2737b0a6a24f2b9a0d430e96fff85c5b Status: Image is up to date for googleapis/artman:latest 2020-03-17 11:33:25,768 synthtool > Cloning googleapis. 2020-03-17 11:33:26,380 synthtool > Running generator for google/cloud/dialogflow/v2/artman_dialogflow_v2.yaml. 2020-03-17 11:33:41,369 synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java. 2020-03-17 11:33:41,372 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequest.java. 2020-03-17 11:33:41,372 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequest.java. 2020-03-17 11:33:41,373 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentBatchOrBuilder.java. 2020-03-17 11:33:41,373 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequestOrBuilder.java. 2020-03-17 11:33:41,373 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SynthesizeSpeechConfigOrBuilder.java. 2020-03-17 11:33:41,373 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequest.java. 2020-03-17 11:33:41,373 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequest.java. 2020-03-17 11:33:41,374 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OutputAudioConfig.java. 2020-03-17 11:33:41,374 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:41,374 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeOrBuilder.java. 2020-03-17 11:33:41,374 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequest.java. 2020-03-17 11:33:41,375 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequestOrBuilder.java. 2020-03-17 11:33:41,375 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequestOrBuilder.java. 2020-03-17 11:33:41,375 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateContextRequest.java. 2020-03-17 11:33:41,375 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TextInputOrBuilder.java. 2020-03-17 11:33:41,375 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ValidationResult.java. 2020-03-17 11:33:41,375 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequest.java. 2020-03-17 11:33:41,376 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechModelVariant.java. 2020-03-17 11:33:41,376 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TrainAgentRequestOrBuilder.java. 2020-03-17 11:33:41,376 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequestOrBuilder.java. 2020-03-17 11:33:41,376 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequest.java. 2020-03-17 11:33:41,377 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java. 2020-03-17 11:33:41,377 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechWordInfo.java. 2020-03-17 11:33:41,377 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequest.java. 2020-03-17 11:33:41,377 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequest.java. 2020-03-17 11:33:41,377 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequest.java. 2020-03-17 11:33:41,378 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequest.java. 2020-03-17 11:33:41,378 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponse.java. 2020-03-17 11:33:41,378 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequest.java. 2020-03-17 11:33:41,378 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsResponseOrBuilder.java. 2020-03-17 11:33:41,378 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SsmlVoiceGender.java. 2020-03-17 11:33:41,379 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:41,379 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInput.java. 2020-03-17 11:33:41,379 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OutputAudioEncoding.java. 2020-03-17 11:33:41,379 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetValidationResultRequestOrBuilder.java. 2020-03-17 11:33:41,379 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java. 2020-03-17 11:33:41,380 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsResponse.java. 2020-03-17 11:33:41,380 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequestOrBuilder.java. 2020-03-17 11:33:41,380 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsRequest.java. 2020-03-17 11:33:41,380 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInputOrBuilder.java. 2020-03-17 11:33:41,381 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryResult.java. 2020-03-17 11:33:41,381 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequestOrBuilder.java. 2020-03-17 11:33:41,381 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentResponseOrBuilder.java. 2020-03-17 11:33:41,381 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequestOrBuilder.java. 2020-03-17 11:33:41,381 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesResponseOrBuilder.java. 2020-03-17 11:33:41,381 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequestOrBuilder.java. 2020-03-17 11:33:41,382 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryParametersOrBuilder.java. 2020-03-17 11:33:41,382 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechContext.java. 2020-03-17 11:33:41,382 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechWordInfoOrBuilder.java. 2020-03-17 11:33:41,382 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentOrBuilder.java. 2020-03-17 11:33:41,382 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponse.java. 2020-03-17 11:33:41,382 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesResponse.java. 2020-03-17 11:33:41,383 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java. 2020-03-17 11:33:41,383 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Agent.java. 2020-03-17 11:33:41,383 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequest.java. 2020-03-17 11:33:41,384 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java. 2020-03-17 11:33:41,384 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/VoiceSelectionParams.java. 2020-03-17 11:33:41,384 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesResponse.java. 2020-03-17 11:33:41,384 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryResultOrBuilder.java. 2020-03-17 11:33:41,384 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesResponse.java. 2020-03-17 11:33:41,385 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ValidationResultProto.java. 2020-03-17 11:33:41,385 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequest.java. 2020-03-17 11:33:41,385 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequest.java. 2020-03-17 11:33:41,385 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponseOrBuilder.java. 2020-03-17 11:33:41,385 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequestOrBuilder.java. 2020-03-17 11:33:41,385 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentView.java. 2020-03-17 11:33:41,386 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateContextRequestOrBuilder.java. 2020-03-17 11:33:41,386 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:41,386 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequestOrBuilder.java. 2020-03-17 11:33:41,386 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequestOrBuilder.java. 2020-03-17 11:33:41,386 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java. 2020-03-17 11:33:41,386 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequest.java. 2020-03-17 11:33:41,387 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequestOrBuilder.java. 2020-03-17 11:33:41,387 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequest.java. 2020-03-17 11:33:41,387 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisRequestConfig.java. 2020-03-17 11:33:41,387 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsResponse.java. 2020-03-17 11:33:41,387 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisResult.java. 2020-03-17 11:33:41,388 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SetAgentRequest.java. 2020-03-17 11:33:41,388 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OutputAudioConfigOrBuilder.java. 2020-03-17 11:33:41,388 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SetAgentRequestOrBuilder.java. 2020-03-17 11:33:41,388 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookRequestOrBuilder.java. 2020-03-17 11:33:41,388 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsResponseOrBuilder.java. 2020-03-17 11:33:41,388 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequest.java. 2020-03-17 11:33:41,388 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesResponseOrBuilder.java. 2020-03-17 11:33:41,389 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookProto.java. 2020-03-17 11:33:41,389 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/RestoreAgentRequest.java. 2020-03-17 11:33:41,389 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java. 2020-03-17 11:33:41,389 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequestOrBuilder.java. 2020-03-17 11:33:41,389 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:41,390 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java. 2020-03-17 11:33:41,390 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryInputOrBuilder.java. 2020-03-17 11:33:41,390 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioEncoding.java. 2020-03-17 11:33:41,390 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequest.java. 2020-03-17 11:33:41,390 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponseOrBuilder.java. 2020-03-17 11:33:41,391 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAgentRequestOrBuilder.java. 2020-03-17 11:33:41,391 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequestOrBuilder.java. 2020-03-17 11:33:41,391 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java. 2020-03-17 11:33:41,391 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java. 2020-03-17 11:33:41,392 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookResponse.java. 2020-03-17 11:33:41,392 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequest.java. 2020-03-17 11:33:41,392 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsResponse.java. 2020-03-17 11:33:41,392 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/WebhookRequest.java. 2020-03-17 11:33:41,393 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ValidationErrorOrBuilder.java. 2020-03-17 11:33:41,393 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequestOrBuilder.java. 2020-03-17 11:33:41,393 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequestOrBuilder.java. 2020-03-17 11:33:41,393 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/RestoreAgentRequestOrBuilder.java. 2020-03-17 11:33:41,393 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequest.java. 2020-03-17 11:33:41,393 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SynthesizeSpeechConfig.java. 2020-03-17 11:33:41,401 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Intent.java. 2020-03-17 11:33:41,402 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/OriginalDetectIntentRequestOrBuilder.java. 2020-03-17 11:33:41,402 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequestOrBuilder.java. 2020-03-17 11:33:41,402 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentOrBuilder.java. 2020-03-17 11:33:41,402 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequest.java. 2020-03-17 11:33:41,403 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeOrBuilder.java. 2020-03-17 11:33:41,403 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentRequest.java. 2020-03-17 11:33:41,403 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Sentiment.java. 2020-03-17 11:33:41,403 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TextInput.java. 2020-03-17 11:33:41,404 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequest.java. 2020-03-17 11:33:41,404 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeBatchOrBuilder.java. 2020-03-17 11:33:41,404 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequest.java. 2020-03-17 11:33:41,404 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/TrainAgentRequest.java. 2020-03-17 11:33:41,404 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequestOrBuilder.java. 2020-03-17 11:33:41,404 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:41,405 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesResponseOrBuilder.java. 2020-03-17 11:33:41,405 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ValidationError.java. 2020-03-17 11:33:41,405 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ValidationResultOrBuilder.java. 2020-03-17 11:33:41,405 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechContextOrBuilder.java. 2020-03-17 11:33:41,405 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeProto.java. 2020-03-17 11:33:41,406 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentProto.java. 2020-03-17 11:33:41,406 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsRequest.java. 2020-03-17 11:33:41,406 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java. 2020-03-17 11:33:41,406 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequest.java. 2020-03-17 11:33:41,406 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequest.java. 2020-03-17 11:33:41,407 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentBatch.java. 2020-03-17 11:33:41,407 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioConfigProto.java. 2020-03-17 11:33:41,407 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SearchAgentsResponseOrBuilder.java. 2020-03-17 11:33:41,407 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfigOrBuilder.java. 2020-03-17 11:33:41,407 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequest.java. 2020-03-17 11:33:41,407 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListIntentsRequestOrBuilder.java. 2020-03-17 11:33:41,408 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequestOrBuilder.java. 2020-03-17 11:33:41,408 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListSessionEntityTypesRequest.java. 2020-03-17 11:33:41,408 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:41,408 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisRequestConfigOrBuilder.java. 2020-03-17 11:33:41,408 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeBatch.java. 2020-03-17 11:33:41,409 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateSessionEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:41,409 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryInput.java. 2020-03-17 11:33:41,409 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequestOrBuilder.java. 2020-03-17 11:33:41,409 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResult.java. 2020-03-17 11:33:41,409 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java. 2020-03-17 11:33:41,410 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResultOrBuilder.java. 2020-03-17 11:33:41,410 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:41,410 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequest.java. 2020-03-17 11:33:41,410 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisResultOrBuilder.java. 2020-03-17 11:33:41,410 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponseOrBuilder.java. 2020-03-17 11:33:41,410 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequestOrBuilder.java. 2020-03-17 11:33:41,411 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsResponseOrBuilder.java. 2020-03-17 11:33:41,411 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentOrBuilder.java. 2020-03-17 11:33:41,411 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingDetectIntentResponse.java. 2020-03-17 11:33:41,411 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/UpdateIntentRequestOrBuilder.java. 2020-03-17 11:33:41,411 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequestOrBuilder.java. 2020-03-17 11:33:41,412 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAgentRequest.java. 2020-03-17 11:33:41,412 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListContextsResponse.java. 2020-03-17 11:33:41,412 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ListEntityTypesRequestOrBuilder.java. 2020-03-17 11:33:41,412 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetValidationResultRequest.java. 2020-03-17 11:33:41,413 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/QueryParameters.java. 2020-03-17 11:33:41,413 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/VoiceSelectionParamsOrBuilder.java. 2020-03-17 11:33:41,417 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentName.java. 2020-03-17 11:33:41,417 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeName.java. 2020-03-17 11:33:41,417 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentName.java. 2020-03-17 11:33:41,417 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ProjectAgentName.java. 2020-03-17 11:33:41,418 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypeName.java. 2020-03-17 11:33:41,418 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ProjectName.java. 2020-03-17 11:33:41,418 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextName.java. 2020-03-17 11:33:41,418 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionName.java. 2020-03-17 11:33:41,421 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextsGrpc.java. 2020-03-17 11:33:41,422 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/IntentsGrpc.java. 2020-03-17 11:33:41,423 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentsGrpc.java. 2020-03-17 11:33:41,423 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesGrpc.java. 2020-03-17 11:33:41,424 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionsGrpc.java. 2020-03-17 11:33:41,424 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesGrpc.java. 2020-03-17 11:33:41,494 synthtool > Running generator for google/cloud/dialogflow/v2beta1/artman_dialogflow_v2beta1_java.yaml. 2020-03-17 11:33:58,421 synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java. 2020-03-17 11:33:58,423 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequest.java. 2020-03-17 11:33:58,423 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequest.java. 2020-03-17 11:33:58,423 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentBatchOrBuilder.java. 2020-03-17 11:33:58,423 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteIntentRequestOrBuilder.java. 2020-03-17 11:33:58,424 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SynthesizeSpeechConfigOrBuilder.java. 2020-03-17 11:33:58,424 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequest.java. 2020-03-17 11:33:58,424 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequest.java. 2020-03-17 11:33:58,424 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OutputAudioConfig.java. 2020-03-17 11:33:58,424 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:58,425 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeOrBuilder.java. 2020-03-17 11:33:58,425 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequest.java. 2020-03-17 11:33:58,425 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsRequestOrBuilder.java. 2020-03-17 11:33:58,425 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequestOrBuilder.java. 2020-03-17 11:33:58,425 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateContextRequest.java. 2020-03-17 11:33:58,426 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TextInputOrBuilder.java. 2020-03-17 11:33:58,426 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationResult.java. 2020-03-17 11:33:58,426 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateContextRequest.java. 2020-03-17 11:33:58,426 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBaseProto.java. 2020-03-17 11:33:58,426 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechModelVariant.java. 2020-03-17 11:33:58,427 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeAnswersOrBuilder.java. 2020-03-17 11:33:58,427 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeAnswers.java. 2020-03-17 11:33:58,427 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsResponseOrBuilder.java. 2020-03-17 11:33:58,427 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TrainAgentRequestOrBuilder.java. 2020-03-17 11:33:58,427 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAgentRequestOrBuilder.java. 2020-03-17 11:33:58,428 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetContextRequest.java. 2020-03-17 11:33:58,428 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentProto.java. 2020-03-17 11:33:58,428 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfig.java. 2020-03-17 11:33:58,428 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechWordInfo.java. 2020-03-17 11:33:58,429 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequest.java. 2020-03-17 11:33:58,429 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteIntentsRequest.java. 2020-03-17 11:33:58,429 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequest.java. 2020-03-17 11:33:58,429 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEntityTypeRequest.java. 2020-03-17 11:33:58,429 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteKnowledgeBaseRequestOrBuilder.java. 2020-03-17 11:33:58,430 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentResponse.java. 2020-03-17 11:33:58,430 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetSessionEntityTypeRequest.java. 2020-03-17 11:33:58,430 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GcsSourceOrBuilder.java. 2020-03-17 11:33:58,430 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsResponseOrBuilder.java. 2020-03-17 11:33:58,430 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SsmlVoiceGender.java. 2020-03-17 11:33:58,431 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateSessionEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:58,431 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInput.java. 2020-03-17 11:33:58,431 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OutputAudioEncoding.java. 2020-03-17 11:33:58,431 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetValidationResultRequestOrBuilder.java. 2020-03-17 11:33:58,431 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SubAgent.java. 2020-03-17 11:33:58,432 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextProto.java. 2020-03-17 11:33:58,432 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsResponse.java. 2020-03-17 11:33:58,432 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsResponse.java. 2020-03-17 11:33:58,432 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteContextRequestOrBuilder.java. 2020-03-17 11:33:58,433 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsRequest.java. 2020-03-17 11:33:58,433 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInputOrBuilder.java. 2020-03-17 11:33:58,433 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteKnowledgeBaseRequest.java. 2020-03-17 11:33:58,434 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResult.java. 2020-03-17 11:33:58,434 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsRequestOrBuilder.java. 2020-03-17 11:33:58,434 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentResponseOrBuilder.java. 2020-03-17 11:33:58,434 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequestOrBuilder.java. 2020-03-17 11:33:58,435 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesResponseOrBuilder.java. 2020-03-17 11:33:58,435 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequestOrBuilder.java. 2020-03-17 11:33:58,435 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParametersOrBuilder.java. 2020-03-17 11:33:58,435 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechContext.java. 2020-03-17 11:33:58,436 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechWordInfoOrBuilder.java. 2020-03-17 11:33:58,436 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentOrBuilder.java. 2020-03-17 11:33:58,436 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentResponse.java. 2020-03-17 11:33:58,436 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateKnowledgeBaseRequest.java. 2020-03-17 11:33:58,437 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesResponse.java. 2020-03-17 11:33:58,437 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetDocumentRequestOrBuilder.java. 2020-03-17 11:33:58,437 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java. 2020-03-17 11:33:58,437 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Agent.java. 2020-03-17 11:33:58,438 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequest.java. 2020-03-17 11:33:58,438 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteDocumentRequestOrBuilder.java. 2020-03-17 11:33:58,438 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequest.java. 2020-03-17 11:33:58,438 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/VoiceSelectionParams.java. 2020-03-17 11:33:58,439 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesResponse.java. 2020-03-17 11:33:58,439 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryResultOrBuilder.java. 2020-03-17 11:33:58,439 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesResponse.java. 2020-03-17 11:33:58,439 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationResultProto.java. 2020-03-17 11:33:58,440 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequest.java. 2020-03-17 11:33:58,440 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteContextRequest.java. 2020-03-17 11:33:58,440 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentResponseOrBuilder.java. 2020-03-17 11:33:58,440 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentRequestOrBuilder.java. 2020-03-17 11:33:58,440 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentView.java. 2020-03-17 11:33:58,441 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateContextRequestOrBuilder.java. 2020-03-17 11:33:58,441 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteSessionEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:58,441 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequestOrBuilder.java. 2020-03-17 11:33:58,441 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequestOrBuilder.java. 2020-03-17 11:33:58,442 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentProto.java. 2020-03-17 11:33:58,442 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAgentRequest.java. 2020-03-17 11:33:58,442 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequestOrBuilder.java. 2020-03-17 11:33:58,442 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBase.java. 2020-03-17 11:33:58,443 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteSessionEntityTypeRequest.java. 2020-03-17 11:33:58,443 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisRequestConfig.java. 2020-03-17 11:33:58,443 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsResponse.java. 2020-03-17 11:33:58,443 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisResult.java. 2020-03-17 11:33:58,444 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SetAgentRequest.java. 2020-03-17 11:33:58,444 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OutputAudioConfigOrBuilder.java. 2020-03-17 11:33:58,444 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SetAgentRequestOrBuilder.java. 2020-03-17 11:33:58,444 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetDocumentRequest.java. 2020-03-17 11:33:58,445 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookRequestOrBuilder.java. 2020-03-17 11:33:58,445 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsResponseOrBuilder.java. 2020-03-17 11:33:58,445 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntityTypesRequest.java. 2020-03-17 11:33:58,445 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesResponseOrBuilder.java. 2020-03-17 11:33:58,445 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeOperationMetadataOrBuilder.java. 2020-03-17 11:33:58,446 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookProto.java. 2020-03-17 11:33:58,446 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/RestoreAgentRequest.java. 2020-03-17 11:33:58,446 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteDocumentRequest.java. 2020-03-17 11:33:58,446 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Context.java. 2020-03-17 11:33:58,447 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequestOrBuilder.java. 2020-03-17 11:33:58,447 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:58,447 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionProto.java. 2020-03-17 11:33:58,447 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetKnowledgeBaseRequest.java. 2020-03-17 11:33:58,447 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryInputOrBuilder.java. 2020-03-17 11:33:58,448 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequestOrBuilder.java. 2020-03-17 11:33:58,448 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateDocumentRequest.java. 2020-03-17 11:33:58,448 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AudioEncoding.java. 2020-03-17 11:33:58,448 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequest.java. 2020-03-17 11:33:58,448 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponseOrBuilder.java. 2020-03-17 11:33:58,449 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAgentRequestOrBuilder.java. 2020-03-17 11:33:58,449 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequestOrBuilder.java. 2020-03-17 11:33:58,449 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java. 2020-03-17 11:33:58,449 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeProto.java. 2020-03-17 11:33:58,450 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponse.java. 2020-03-17 11:33:58,450 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequest.java. 2020-03-17 11:33:58,450 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsResponse.java. 2020-03-17 11:33:58,451 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookRequest.java. 2020-03-17 11:33:58,451 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationErrorOrBuilder.java. 2020-03-17 11:33:58,451 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateKnowledgeBaseRequestOrBuilder.java. 2020-03-17 11:33:58,451 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetContextRequestOrBuilder.java. 2020-03-17 11:33:58,452 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequestOrBuilder.java. 2020-03-17 11:33:58,452 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/RestoreAgentRequestOrBuilder.java. 2020-03-17 11:33:58,452 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportAgentRequest.java. 2020-03-17 11:33:58,452 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SynthesizeSpeechConfig.java. 2020-03-17 11:33:58,464 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Intent.java. 2020-03-17 11:33:58,464 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/OriginalDetectIntentRequestOrBuilder.java. 2020-03-17 11:33:58,464 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequestOrBuilder.java. 2020-03-17 11:33:58,464 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentOrBuilder.java. 2020-03-17 11:33:58,465 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateDocumentRequestOrBuilder.java. 2020-03-17 11:33:58,465 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GcsProto.java. 2020-03-17 11:33:58,465 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequest.java. 2020-03-17 11:33:58,466 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeOrBuilder.java. 2020-03-17 11:33:58,466 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequest.java. 2020-03-17 11:33:58,466 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Sentiment.java. 2020-03-17 11:33:58,466 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TextInput.java. 2020-03-17 11:33:58,467 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequest.java. 2020-03-17 11:33:58,467 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeBatchOrBuilder.java. 2020-03-17 11:33:58,467 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequest.java. 2020-03-17 11:33:58,467 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TrainAgentRequest.java. 2020-03-17 11:33:58,468 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntityTypesRequestOrBuilder.java. 2020-03-17 11:33:58,468 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:58,468 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesResponseOrBuilder.java. 2020-03-17 11:33:58,468 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentOrBuilder.java. 2020-03-17 11:33:58,468 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsRequest.java. 2020-03-17 11:33:58,469 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Document.java. 2020-03-17 11:33:58,469 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesResponseOrBuilder.java. 2020-03-17 11:33:58,469 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationError.java. 2020-03-17 11:33:58,469 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationResultOrBuilder.java. 2020-03-17 11:33:58,470 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateDocumentRequest.java. 2020-03-17 11:33:58,470 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SpeechContextOrBuilder.java. 2020-03-17 11:33:58,470 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeProto.java. 2020-03-17 11:33:58,471 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentProto.java. 2020-03-17 11:33:58,471 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsRequest.java. 2020-03-17 11:33:58,471 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateSessionEntityTypeRequest.java. 2020-03-17 11:33:58,471 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequest.java. 2020-03-17 11:33:58,472 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentRequest.java. 2020-03-17 11:33:58,472 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentBatch.java. 2020-03-17 11:33:58,472 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AudioConfigProto.java. 2020-03-17 11:33:58,472 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsResponseOrBuilder.java. 2020-03-17 11:33:58,472 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfigOrBuilder.java. 2020-03-17 11:33:58,473 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteIntentRequest.java. 2020-03-17 11:33:58,473 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequestOrBuilder.java. 2020-03-17 11:33:58,473 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesRequestOrBuilder.java. 2020-03-17 11:33:58,473 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesRequest.java. 2020-03-17 11:33:58,473 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:58,474 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SubAgentOrBuilder.java. 2020-03-17 11:33:58,474 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBaseOrBuilder.java. 2020-03-17 11:33:58,474 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisRequestConfigOrBuilder.java. 2020-03-17 11:33:58,474 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeBatch.java. 2020-03-17 11:33:58,475 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesRequestOrBuilder.java. 2020-03-17 11:33:58,475 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:58,475 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GcsSource.java. 2020-03-17 11:33:58,475 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryInput.java. 2020-03-17 11:33:58,476 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateContextRequestOrBuilder.java. 2020-03-17 11:33:58,476 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetKnowledgeBaseRequestOrBuilder.java. 2020-03-17 11:33:58,476 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java. 2020-03-17 11:33:58,476 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextOrBuilder.java. 2020-03-17 11:33:58,476 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResultOrBuilder.java. 2020-03-17 11:33:58,477 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeOperationMetadata.java. 2020-03-17 11:33:58,477 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsRequestOrBuilder.java. 2020-03-17 11:33:58,477 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetSessionEntityTypeRequestOrBuilder.java. 2020-03-17 11:33:58,477 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequest.java. 2020-03-17 11:33:58,478 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisResultOrBuilder.java. 2020-03-17 11:33:58,478 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentResponseOrBuilder.java. 2020-03-17 11:33:58,478 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportAgentRequestOrBuilder.java. 2020-03-17 11:33:58,478 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsResponseOrBuilder.java. 2020-03-17 11:33:58,479 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesResponse.java. 2020-03-17 11:33:58,479 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentOrBuilder.java. 2020-03-17 11:33:58,479 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentResponse.java. 2020-03-17 11:33:58,479 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequestOrBuilder.java. 2020-03-17 11:33:58,480 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteIntentsRequestOrBuilder.java. 2020-03-17 11:33:58,480 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateKnowledgeBaseRequestOrBuilder.java. 2020-03-17 11:33:58,480 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequest.java. 2020-03-17 11:33:58,480 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAgentRequest.java. 2020-03-17 11:33:58,481 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsResponse.java. 2020-03-17 11:33:58,481 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateKnowledgeBaseRequest.java. 2020-03-17 11:33:58,481 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateDocumentRequestOrBuilder.java. 2020-03-17 11:33:58,481 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequestOrBuilder.java. 2020-03-17 11:33:58,481 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetValidationResultRequest.java. 2020-03-17 11:33:58,482 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesRequest.java. 2020-03-17 11:33:58,482 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/QueryParameters.java. 2020-03-17 11:33:58,483 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/VoiceSelectionParamsOrBuilder.java. 2020-03-17 11:33:58,484 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentSessionName.java. 2020-03-17 11:33:58,484 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentSessionEntityTypeName.java. 2020-03-17 11:33:58,484 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeName.java. 2020-03-17 11:33:58,485 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentName.java. 2020-03-17 11:33:58,485 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentName.java. 2020-03-17 11:33:58,485 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBaseName.java. 2020-03-17 11:33:58,485 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ProjectAgentName.java. 2020-03-17 11:33:58,486 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeName.java. 2020-03-17 11:33:58,486 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ProjectName.java. 2020-03-17 11:33:58,486 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextName.java. 2020-03-17 11:33:58,486 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentContextName.java. 2020-03-17 11:33:58,486 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionName.java. 2020-03-17 11:33:58,489 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsGrpc.java. 2020-03-17 11:33:58,489 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesGrpc.java. 2020-03-17 11:33:58,490 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsGrpc.java. 2020-03-17 11:33:58,491 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsGrpc.java. 2020-03-17 11:33:58,492 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesGrpc.java. 2020-03-17 11:33:58,492 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsGrpc.java. 2020-03-17 11:33:58,493 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesGrpc.java. 2020-03-17 11:33:58,493 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsGrpc.java. 2020-03-17 11:33:58,584 synthtool > Running java formatter on 130 files 2020-03-17 11:34:06,338 synthtool > Running java formatter on 6 files 2020-03-17 11:34:09,666 synthtool > Running java formatter on 174 files 2020-03-17 11:34:28,213 synthtool > Running java formatter on 130 files 2020-03-17 11:34:35,907 synthtool > Running java formatter on 8 files 2020-03-17 11:34:39,685 synthtool > Running java formatter on 219 files .github/ISSUE_TEMPLATE/bug_report.md .github/ISSUE_TEMPLATE/feature_request.md .github/ISSUE_TEMPLATE/support_request.md .github/PULL_REQUEST_TEMPLATE.md .github/release-please.yml .github/trusted-contribution.yml .kokoro/build.bat .kokoro/build.sh .kokoro/coerce_logs.sh .kokoro/common.cfg .kokoro/continuous/common.cfg .kokoro/continuous/dependencies.cfg .kokoro/continuous/integration.cfg .kokoro/continuous/java11.cfg .kokoro/continuous/java7.cfg .kokoro/continuous/java8-osx.cfg .kokoro/continuous/java8-win.cfg .kokoro/continuous/java8.cfg .kokoro/continuous/lint.cfg .kokoro/continuous/propose_release.cfg .kokoro/continuous/samples.cfg .kokoro/dependencies.sh .kokoro/linkage-monitor.sh .kokoro/nightly/common.cfg .kokoro/nightly/dependencies.cfg .kokoro/nightly/integration.cfg .kokoro/nightly/java11.cfg .kokoro/nightly/java7.cfg .kokoro/nightly/java8-osx.cfg .kokoro/nightly/java8-win.cfg .kokoro/nightly/java8.cfg .kokoro/nightly/lint.cfg .kokoro/nightly/samples.cfg .kokoro/presubmit/clirr.cfg .kokoro/presubmit/common.cfg .kokoro/presubmit/dependencies.cfg .kokoro/presubmit/integration.cfg .kokoro/presubmit/java11.cfg .kokoro/presubmit/java7.cfg .kokoro/presubmit/java8-osx.cfg .kokoro/presubmit/java8-win.cfg .kokoro/presubmit/java8.cfg .kokoro/presubmit/linkage-monitor.cfg .kokoro/presubmit/lint.cfg .kokoro/presubmit/samples.cfg .kokoro/release/bump_snapshot.cfg .kokoro/release/common.cfg .kokoro/release/common.sh .kokoro/release/drop.cfg .kokoro/release/drop.sh .kokoro/release/promote.cfg .kokoro/release/promote.sh .kokoro/release/publish_javadoc.cfg .kokoro/release/publish_javadoc.sh .kokoro/release/snapshot.cfg .kokoro/release/snapshot.sh .kokoro/release/stage.cfg .kokoro/release/stage.sh .kokoro/trampoline.sh CODE_OF_CONDUCT.md CONTRIBUTING.md LICENSE README.md codecov.yaml java.header license-checks.xml renovate.json samples/install-without-bom/pom.xml samples/pom.xml samples/snapshot/pom.xml samples/snippets/pom.xml 2020-03-17 11:35:02,546 synthtool > merge: CODE_OF_CONDUCT.md 2020-03-17 11:35:02,546 synthtool > merge: java.header 2020-03-17 11:35:02,546 synthtool > merge: license-checks.xml 2020-03-17 11:35:02,547 synthtool > merge: LICENSE 2020-03-17 11:35:02,547 synthtool > merge: README.md 2020-03-17 11:35:02,547 synthtool > merge: CONTRIBUTING.md 2020-03-17 11:35:02,547 synthtool > merge: renovate.json 2020-03-17 11:35:02,548 synthtool > merge: codecov.yaml 2020-03-17 11:35:02,549 synthtool > merge: .kokoro/build.sh 2020-03-17 11:35:02,549 synthtool > merge: .kokoro/coerce_logs.sh 2020-03-17 11:35:02,549 synthtool > merge: .kokoro/dependencies.sh 2020-03-17 11:35:02,549 synthtool > merge: .kokoro/linkage-monitor.sh 2020-03-17 11:35:02,550 synthtool > merge: .kokoro/trampoline.sh 2020-03-17 11:35:02,550 synthtool > merge: .kokoro/common.cfg 2020-03-17 11:35:02,550 synthtool > merge: .kokoro/build.bat 2020-03-17 11:35:02,550 synthtool > merge: .kokoro/release/promote.sh 2020-03-17 11:35:02,551 synthtool > merge: .kokoro/release/snapshot.sh 2020-03-17 11:35:02,551 synthtool > merge: .kokoro/release/stage.sh 2020-03-17 11:35:02,551 synthtool > merge: .kokoro/release/bump_snapshot.cfg 2020-03-17 11:35:02,551 synthtool > merge: .kokoro/release/drop.cfg 2020-03-17 11:35:02,551 synthtool > merge: .kokoro/release/snapshot.cfg 2020-03-17 11:35:02,552 synthtool > merge: .kokoro/release/promote.cfg 2020-03-17 11:35:02,552 synthtool > merge: .kokoro/release/publish_javadoc.sh 2020-03-17 11:35:02,552 synthtool > merge: .kokoro/release/common.cfg 2020-03-17 11:35:02,552 synthtool > merge: .kokoro/release/drop.sh 2020-03-17 11:35:02,552 synthtool > merge: .kokoro/release/publish_javadoc.cfg 2020-03-17 11:35:02,553 synthtool > merge: .kokoro/release/stage.cfg 2020-03-17 11:35:02,553 synthtool > merge: .kokoro/release/common.sh 2020-03-17 11:35:02,553 synthtool > merge: .kokoro/nightly/lint.cfg 2020-03-17 11:35:02,553 synthtool > merge: .kokoro/nightly/java11.cfg 2020-03-17 11:35:02,554 synthtool > merge: .kokoro/nightly/samples.cfg 2020-03-17 11:35:02,554 synthtool > merge: .kokoro/nightly/java8.cfg 2020-03-17 11:35:02,554 synthtool > merge: .kokoro/nightly/java7.cfg 2020-03-17 11:35:02,554 synthtool > merge: .kokoro/nightly/common.cfg 2020-03-17 11:35:02,554 synthtool > merge: .kokoro/nightly/dependencies.cfg 2020-03-17 11:35:02,555 synthtool > merge: .kokoro/nightly/java8-osx.cfg 2020-03-17 11:35:02,555 synthtool > merge: .kokoro/nightly/java8-win.cfg 2020-03-17 11:35:02,555 synthtool > merge: .kokoro/nightly/integration.cfg 2020-03-17 11:35:02,555 synthtool > merge: .kokoro/presubmit/lint.cfg 2020-03-17 11:35:02,556 synthtool > merge: .kokoro/presubmit/clirr.cfg 2020-03-17 11:35:02,556 synthtool > merge: .kokoro/presubmit/java11.cfg 2020-03-17 11:35:02,556 synthtool > merge: .kokoro/presubmit/samples.cfg 2020-03-17 11:35:02,556 synthtool > merge: .kokoro/presubmit/linkage-monitor.cfg 2020-03-17 11:35:02,556 synthtool > merge: .kokoro/presubmit/java8.cfg 2020-03-17 11:35:02,557 synthtool > merge: .kokoro/presubmit/java7.cfg 2020-03-17 11:35:02,557 synthtool > merge: .kokoro/presubmit/common.cfg 2020-03-17 11:35:02,557 synthtool > merge: .kokoro/presubmit/dependencies.cfg 2020-03-17 11:35:02,557 synthtool > merge: .kokoro/presubmit/java8-osx.cfg 2020-03-17 11:35:02,557 synthtool > merge: .kokoro/presubmit/java8-win.cfg 2020-03-17 11:35:02,558 synthtool > merge: .kokoro/presubmit/integration.cfg 2020-03-17 11:35:02,558 synthtool > merge: .kokoro/continuous/lint.cfg 2020-03-17 11:35:02,558 synthtool > merge: .kokoro/continuous/java11.cfg 2020-03-17 11:35:02,558 synthtool > merge: .kokoro/continuous/samples.cfg 2020-03-17 11:35:02,559 synthtool > merge: .kokoro/continuous/java8.cfg 2020-03-17 11:35:02,559 synthtool > merge: .kokoro/continuous/java7.cfg 2020-03-17 11:35:02,559 synthtool > merge: .kokoro/continuous/propose_release.cfg 2020-03-17 11:35:02,559 synthtool > merge: .kokoro/continuous/common.cfg 2020-03-17 11:35:02,560 synthtool > merge: .kokoro/continuous/dependencies.cfg 2020-03-17 11:35:02,560 synthtool > merge: .kokoro/continuous/java8-osx.cfg 2020-03-17 11:35:02,560 synthtool > merge: .kokoro/continuous/java8-win.cfg 2020-03-17 11:35:02,560 synthtool > merge: .kokoro/continuous/integration.cfg 2020-03-17 11:35:02,560 synthtool > merge: .github/trusted-contribution.yml 2020-03-17 11:35:02,561 synthtool > merge: .github/release-please.yml 2020-03-17 11:35:02,561 synthtool > merge: .github/PULL_REQUEST_TEMPLATE.md 2020-03-17 11:35:02,561 synthtool > merge: .github/ISSUE_TEMPLATE/feature_request.md 2020-03-17 11:35:02,561 synthtool > merge: .github/ISSUE_TEMPLATE/bug_report.md 2020-03-17 11:35:02,561 synthtool > merge: .github/ISSUE_TEMPLATE/support_request.md 2020-03-17 11:35:02,567 synthtool > Wrote metadata to synth.metadata. ```
--- dialogflow/snippets/pom.xml | 60 +++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 dialogflow/snippets/pom.xml diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml new file mode 100644 index 00000000000..a0795483730 --- /dev/null +++ b/dialogflow/snippets/pom.xml @@ -0,0 +1,60 @@ + + + 4.0.0 + com.google.cloud + dialogflow-snippets + jar + Google Dialogflow API Snippets + https://github.com/googleapis/java-dialogflow + + + + com.google.cloud.samples + shared-configuration + 1.0.12 + + + + 1.8 + 1.8 + UTF-8 + + + + + + + + com.google.cloud + libraries-bom + 4.2.0 + pom + import + + + + + + + com.google.cloud + google-cloud-dialogflow + + + + + junit + junit + 4.13 + test + + + com.google.truth + truth + 1.0.1 + test + + + From b3fe324d9b1f89ebaefafe6d94fa87df1264be2b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 23 Mar 2020 18:22:30 +0100 Subject: [PATCH 002/178] chore(deps): update dependency com.google.cloud:libraries-bom to v4.3.0 (#121) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `4.2.0` -> `4.3.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index a0795483730..81056a0c934 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 4.2.0 + 4.3.0 pom import From d60c30aa8aba7fbcd647eb9798979260b79dbbcd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 25 Mar 2020 20:52:04 +0100 Subject: [PATCH 003/178] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.13 (#126) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud.samples:shared-configuration](https://togithub.com/GoogleCloudPlatform/java-repo-tools) | patch | `1.0.12` -> `1.0.13` | --- ### Release Notes
GoogleCloudPlatform/java-repo-tools ### [`v1.0.13`](https://togithub.com/GoogleCloudPlatform/java-repo-tools/releases/v1.0.13) [Compare Source](https://togithub.com/GoogleCloudPlatform/java-repo-tools/compare/v1.0.12...v1.0.13) Fix some issues w/ Checkstyle configuration. We left the option to turn it off out.
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 81056a0c934..37719b6f96a 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.12 + 1.0.13 From f43996c62677269a8788f01ed44772e956ef7805 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 30 Mar 2020 19:56:41 +0200 Subject: [PATCH 004/178] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.14 (#131) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud.samples:shared-configuration](https://togithub.com/GoogleCloudPlatform/java-repo-tools) | patch | `1.0.13` -> `1.0.14` | --- ### Release Notes
GoogleCloudPlatform/java-repo-tools ### [`v1.0.14`](https://togithub.com/GoogleCloudPlatform/java-repo-tools/releases/v1.0.14) [Compare Source](https://togithub.com/GoogleCloudPlatform/java-repo-tools/compare/v1.0.13...v1.0.14) - Update CheckStyle to 8.31 - Add SpotBugs
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 37719b6f96a..0919b15ce36 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.13 + 1.0.14 From 5bed1bd72507d3418767b1c62341c1eda56bf847 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 1 Apr 2020 21:56:09 +0200 Subject: [PATCH 005/178] chore(deps): update dependency com.google.cloud:libraries-bom to v4.4.0 (#133) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `4.3.0` -> `4.4.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 0919b15ce36..61600b5e11a 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 4.3.0 + 4.4.0 pom import From bfa8fa9e7c8c16b15df255ed580d5cc0c19a2f6c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Apr 2020 17:48:39 +0200 Subject: [PATCH 006/178] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.15 (#136) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud.samples:shared-configuration](https://togithub.com/GoogleCloudPlatform/java-repo-tools) | patch | `1.0.14` -> `1.0.15` | --- ### Release Notes
GoogleCloudPlatform/java-repo-tools ### [`v1.0.15`](https://togithub.com/GoogleCloudPlatform/java-repo-tools/releases/v1.0.15) [Compare Source](https://togithub.com/GoogleCloudPlatform/java-repo-tools/compare/v1.0.14...v1.0.15) - Move some stuff around (in prep for a change to release process) pom.xml's - Add an exclude filter for SpotBugs. (disable the Java 11 surprise) - Don't fail on SpotBugs issues for now - add PMD reporting - Don't fail on PMD issues for now.
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 61600b5e11a..6dc7c577b4d 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.14 + 1.0.15 From 8856d705891c1c3f20df34ed75c0833276dadf65 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Apr 2020 20:06:20 +0200 Subject: [PATCH 007/178] chore(deps): update dependency com.google.cloud:libraries-bom to v4.4.1 (#137) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | patch | `4.4.0` -> `4.4.1` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 6dc7c577b4d..71546573b09 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 4.4.0 + 4.4.1 pom import From d1105d966e9a2a6fc48f9be89236b6b38375f031 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 14 Apr 2020 20:02:16 +0200 Subject: [PATCH 008/178] chore(deps): update dependency com.google.cloud:libraries-bom to v5 (#147) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | major | `4.4.1` -> `5.1.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 71546573b09..66386cc093a 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 4.4.1 + 5.1.0 pom import From 3f752e254132cf7ca3e13dba2aabfdf1e6c0c94c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 16 Apr 2020 18:46:08 +0200 Subject: [PATCH 009/178] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.16 (#153) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud.samples:shared-configuration](https://togithub.com/GoogleCloudPlatform/java-repo-tools) | patch | `1.0.15` -> `1.0.16` | --- ### Release Notes
GoogleCloudPlatform/java-repo-tools ### [`v1.0.16`](https://togithub.com/GoogleCloudPlatform/java-repo-tools/releases/v1.0.16) [Compare Source](https://togithub.com/GoogleCloudPlatform/java-repo-tools/compare/v1.0.15...v1.0.16) Add a few SpotBugs exclusions: - `RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE` - existing - codegen bug - `UPM_UNCALLED_PRIVATE_METHOD` - probably SpotBug issue - `NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE` - likely SpotBug issue - `CLI_CONSTANT_LIST_INDEX` - style issue particular to our samples - `OBL_UNSATISFIED_OBLIGATION` - issue for SQL clients
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 66386cc093a..a315cf5cd2d 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.15 + 1.0.16 From 6210bb97eb316de5c3e9e1e041729a25050deec5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 17 Apr 2020 08:48:40 +0200 Subject: [PATCH 010/178] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.17 (#159) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud.samples:shared-configuration](https://togithub.com/GoogleCloudPlatform/java-repo-tools) | patch | `1.0.16` -> `1.0.17` | --- ### Release Notes
GoogleCloudPlatform/java-repo-tools ### [`v1.0.17`](https://togithub.com/GoogleCloudPlatform/java-repo-tools/releases/v1.0.17) [Compare Source](https://togithub.com/GoogleCloudPlatform/java-repo-tools/compare/v1.0.16...v1.0.17) - require -P lint Lets not burden customers with our development rules. - Move Checkstyle, ErrorProne, PMD, and SpotBugs to only run w/ -P lint - Update the Readme - spotbugs-annotations 4.0.2
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index a315cf5cd2d..dd242520ba2 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.16 + 1.0.17 From c469b5d5319e9b9deca7b8d074f708664394f420 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 23 Apr 2020 22:32:37 +0200 Subject: [PATCH 011/178] chore(deps): update dependency com.google.cloud:libraries-bom to v5.2.0 (#163) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `5.1.0` -> `5.2.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index dd242520ba2..2b3cdf0dcaf 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 5.1.0 + 5.2.0 pom import From f8565e90fb40e1e5ce03fd1511b83bbfc1ca1c75 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 29 Apr 2020 01:06:45 +0200 Subject: [PATCH 012/178] chore(deps): update dependency com.google.cloud:libraries-bom to v5.3.0 (#174) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `5.2.0` -> `5.3.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 2b3cdf0dcaf..3a404e2b43f 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 5.2.0 + 5.3.0 pom import From c55f8718e535ada201458fd8036a15b5d6d746ee Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 19 May 2020 23:44:36 +0200 Subject: [PATCH 013/178] chore(deps): update dependency com.google.cloud:libraries-bom to v5.4.0 (#186) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `5.3.0` -> `5.4.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 3a404e2b43f..23ee2f0be22 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 5.3.0 + 5.4.0 pom import From 024b4f517d6a7723f7e9c301621ea91f4d4459b7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 29 May 2020 20:38:36 +0200 Subject: [PATCH 014/178] chore(deps): update dependency com.google.cloud:libraries-bom to v5.5.0 (#197) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `5.4.0` -> `5.5.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 23ee2f0be22..3c2b1557d7b 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 5.4.0 + 5.5.0 pom import From 22f28bc6bcece2c3c6a76dfe5085bc768e149983 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 10 Jun 2020 19:57:18 +0200 Subject: [PATCH 015/178] chore(deps): update dependency com.google.cloud:libraries-bom to v5.6.0 (#209) --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 3c2b1557d7b..f0eb9e02900 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 5.5.0 + 5.6.0 pom import From 252353a30c7bd11b4dca4ec164ee272edddf9fae Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 10 Jun 2020 22:41:46 +0200 Subject: [PATCH 016/178] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.18 (#210) --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index f0eb9e02900..341aabb7830 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.17 + 1.0.18 From defa6986a5e7522165459158fd556faacc387f44 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 10 Jun 2020 22:42:05 +0200 Subject: [PATCH 017/178] chore(deps): update dependency com.google.cloud:libraries-bom to v5.7.0 (#212) --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 341aabb7830..705bf98b0d3 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 5.6.0 + 5.7.0 pom import From 84cad09cb51a6e92e0cd4048b9bf8ac3503b3887 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 17 Jun 2020 01:30:44 +0200 Subject: [PATCH 018/178] chore(deps): update dependency com.google.cloud:libraries-bom to v6 (#219) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | major | `5.7.0` -> `6.0.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 705bf98b0d3..c845692804b 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 5.7.0 + 6.0.0 pom import From d205785e01dcb746c8419781b7cc70fc39337407 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 17 Jun 2020 19:40:45 +0200 Subject: [PATCH 019/178] chore(deps): update dependency com.google.cloud:libraries-bom to v7 (#222) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | major | `6.0.0` -> `7.0.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index c845692804b..19cbb24e0f3 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 6.0.0 + 7.0.0 pom import From 5617c9d31f88deda55f62ace566a6eefd01914c1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 22 Jun 2020 23:47:37 +0200 Subject: [PATCH 020/178] chore(deps): update dependency com.google.cloud:libraries-bom to v7.0.1 (#227) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | patch | `7.0.0` -> `7.0.1` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 19cbb24e0f3..1a7cd229e0a 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 7.0.0 + 7.0.1 pom import From a8c6f3445ebd9eeeb38be65117a85a856e1aa8bb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 26 Jun 2020 07:23:09 +0200 Subject: [PATCH 021/178] chore(deps): update dependency com.google.cloud:libraries-bom to v8 (#233) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | major | `7.0.1` -> `8.0.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 1a7cd229e0a..8ce82d61c59 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 7.0.1 + 8.0.0 pom import From 16885298b91b0ef7c75afad06ea3aa55ed9de494 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 16 Jul 2020 19:46:22 +0200 Subject: [PATCH 022/178] chore(deps): update dependency com.google.cloud:libraries-bom to v8.1.0 (#246) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `8.0.0` -> `8.1.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 8ce82d61c59..fa506b565b5 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 8.0.0 + 8.1.0 pom import From 08e0cc0f4e6c1d2003f1ec30da1233d6fcda7c28 Mon Sep 17 00:00:00 2001 From: Noah Negrey Date: Tue, 28 Aug 2018 16:04:55 -0700 Subject: [PATCH 023/178] samples: Dialogflow to gcp (#1181) * Clean copy of Dialogflow samples, need to update pom.xml to work with java-docs-samples repo * Update files to match GCP Repo's style guides * Update argument parsing * Update Inc. to LLC * Update pom.xml * Add missing region tags for sample tracker --- dialogflow/snippets/resources/230pm.wav | Bin 0 -> 55072 bytes .../snippets/resources/RoomReservation.zip | Bin 0 -> 10922 bytes dialogflow/snippets/resources/book_a_room.wav | Bin 0 -> 31058 bytes .../snippets/resources/half_an_hour.wav | Bin 0 -> 36154 bytes .../snippets/resources/mountain_view.wav | Bin 0 -> 33910 bytes dialogflow/snippets/resources/today.wav | Bin 0 -> 22998 bytes dialogflow/snippets/resources/two_people.wav | Bin 0 -> 31108 bytes .../example/dialogflow/ContextManagement.java | 177 ++++++++++++++ .../example/dialogflow/DetectIntentAudio.java | 134 +++++++++++ .../dialogflow/DetectIntentKnowledge.java | 151 ++++++++++++ .../dialogflow/DetectIntentStream.java | 198 ++++++++++++++++ .../example/dialogflow/DetectIntentTexts.java | 118 ++++++++++ .../DetectIntentWithModelSelection.java | 136 +++++++++++ .../DetectIntentWithSentimentAnalysis.java | 140 +++++++++++ .../DetectIntentWithTextToSpeechResponse.java | 141 +++++++++++ .../dialogflow/DocumentManagement.java | 220 ++++++++++++++++++ .../example/dialogflow/EntityManagement.java | 179 ++++++++++++++ .../dialogflow/EntityTypeManagement.java | 175 ++++++++++++++ .../example/dialogflow/IntentManagement.java | 220 ++++++++++++++++++ .../dialogflow/KnowledgeBaseManagement.java | 159 +++++++++++++ .../SessionEntityTypeManagement.java | 194 +++++++++++++++ .../dialogflow/ContextManagementIT.java | 81 +++++++ .../dialogflow/CreateDeleteEntityIT.java | 133 +++++++++++ .../dialogflow/DetectIntentAudioIT.java | 72 ++++++ .../dialogflow/DetectIntentStreamIT.java | 67 ++++++ .../dialogflow/DetectIntentTextsIT.java | 68 ++++++ .../DetectIntentWithModelSelectionIT.java | 69 ++++++ .../DetectIntentWithSentimentAnalysisIT.java | 69 ++++++ ...etectIntentWithTextToSpeechResponseIT.java | 75 ++++++ .../dialogflow/IntentManagementIT.java | 99 ++++++++ .../dialogflow/KnowledgeBaseManagementIT.java | 134 +++++++++++ .../SessionEntityTypeManagementIT.java | 101 ++++++++ 32 files changed, 3310 insertions(+) create mode 100644 dialogflow/snippets/resources/230pm.wav create mode 100644 dialogflow/snippets/resources/RoomReservation.zip create mode 100644 dialogflow/snippets/resources/book_a_room.wav create mode 100644 dialogflow/snippets/resources/half_an_hour.wav create mode 100644 dialogflow/snippets/resources/mountain_view.wav create mode 100644 dialogflow/snippets/resources/today.wav create mode 100644 dialogflow/snippets/resources/two_people.wav create mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/ContextManagement.java create mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentAudio.java create mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java create mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentStream.java create mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java create mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithModelSelection.java create mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java create mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java create mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java create mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/EntityManagement.java create mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/EntityTypeManagement.java create mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/IntentManagement.java create mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java create mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/SessionEntityTypeManagement.java create mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/ContextManagementIT.java create mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDeleteEntityIT.java create mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentAudioIT.java create mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java create mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentTextsIT.java create mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithModelSelectionIT.java create mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAnalysisIT.java create mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponseIT.java create mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/IntentManagementIT.java create mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java create mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/SessionEntityTypeManagementIT.java diff --git a/dialogflow/snippets/resources/230pm.wav b/dialogflow/snippets/resources/230pm.wav new file mode 100644 index 0000000000000000000000000000000000000000..7509eca784dcac25dba40658f656eeba26d62031 GIT binary patch literal 55072 zcmeEug?AK5)NfVGXx!bMK!V#Mi@UqKyTbyD%i_M+0*kx5J1hheAjI91k&MrDcU8U0 ze&72e-g!HHDw)ZtuD*5W*7aWobnnu|F9U#~zYggNViAEB*Z6>pu?s$ASMi@E-^MTksao|4={KtX+IPf0_{^P)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D&)1^f1Tjh@k-YWG-ovnv<89^HT`Uh2RD^%iB{ zX6s`U+7#9k)*e=s<)-DKMQkmgB!EPlzqNGw&fHqEG zc4waps^IkxsTHb12ZTpQ?2BMU4v2C@OJb(Q*2G4}F<^fnk3q*wh?*2}Dy(;?G32G7 zjX#7J#N~2EvwAW9rPhZVS=s?to1QGnXWA7YUo@nwl!JArrySE!vy^>U72>X z_L^3w4TUFayiTC&&=%-gbVK!5^|KAJ#*4<@ra1FH3(L0EUg2nhd#dB^I3OjT52z9F z&4S%RB4iZ0$#ObhOI82rT+jB1YC#jvdl*l8_BYeT1!0o{90c!~b`CnEJ X0@kMgGK>B{Z3zDQfB*e2KY{-Tu9b4j literal 0 HcmV?d00001 diff --git a/dialogflow/snippets/resources/RoomReservation.zip b/dialogflow/snippets/resources/RoomReservation.zip new file mode 100644 index 0000000000000000000000000000000000000000..7873fb628c895e7510bac677d0ad35820759094d GIT binary patch literal 10922 zcmaia1yGzzw=M4O?(XjH?k>TdFu1#0aCdjt06~JgI|O$RE&(1n_q{r~=l=J+JvCL| z)Xc2zneMgw+j}h~Sx_)EASfs(AY4dfS)e}x=HuGP!pzQ@!P*I6_gQ5|0fZUJ`+;_t zA9w!oU=3VZ8VtT5f;p6~v(rfw@L=1D#P-&4jxQr*U{Nxct{@oe*;yq7z+;!`T@hy- zi$S#vs02c%0Bh^(p{izj$oU3h^NF}JHZXN5rACaVqmc9`_I7u_&5R@k_!FPc^F#Bosw_~>3=_k=g?B2xPo09)Z5 zewXt4dbUh!Z0CJ@v5lEeTNjR8-8lz|+KZ80EsM0oL4uIG`^V#cqdX#SmW9)nYr?f~5$!wr`&8UE)^@se-uVvk%K%(cJZj z{K6s6$CaIFiL8HCqG_*D_&n4Px}5-Hnuu2VdQ(^nP?Cj&nlE@TGyw(z>I4A-Qu<$) z2KQrWOkA9t0iVSHpN*{SoK(!5>;ZO8W=?;tRpo(-l9J5Gl>GR(YJ-Xr&7}PJ2(|S1 zh{i0iG+8P}>fRw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yDs-50ZkLSDm<=3cNi zwlkAS_opY)ed$7K0L+*LWK$}Knos*+mb?npmM82C4u${o4B;EGg;XT1l;eHHz9as5 zfi$qO2nr3N0~hxT)P}vo7*$aHCw>9W;}*f0yhx1DutZy8E8ZWUfM?()nDZ=fBHRHp zVOfx_%>t8n3S`2a!H$7Ae^=Q5jgiZxmeOS4)kB3${%MkYH4rnzkJBC@sWU|w^Bivdpo$JJP=Js=~ z_{F?~f696I2L3Trkp33y;5_xdJUTE|*&XeJCLrq}$39SXkoa6TUq4#!g*;oBag=#9 zWF}(5?uDO;{5HCi&1D-I{cltiqyQW?k8M@-+Ni~m(;`NP4+~osN?O-jD?+L)tIU*f zkb&2I)SlB!Av)t_Rm$V}A zeQ-Tw^smDz_lYuBS*`4i1fPP>z+Hq>R;<887>%>7%)S&zCiy{KjyzogKoDr4r&2!i3nmUo~NFqwnLKsf$Doz4vcJS z$PDd5P3R$H1emX`K!V`}F!^hhxN;rj_Pcp;JzzUe7k))J|j4z-uhbw+QDb^8@QUCpqi2iK9SqtBDexZ7Zltn Nh$0A1lK;Pd{tuoqdJX^p literal 0 HcmV?d00001 diff --git a/dialogflow/snippets/resources/half_an_hour.wav b/dialogflow/snippets/resources/half_an_hour.wav new file mode 100644 index 0000000000000000000000000000000000000000..71010a871bbbf953d040acf6ba5979e928865512 GIT binary patch literal 36154 zcmeEt1$P@s({&Gv*)nr%2b{!VW@cv21~#-|+%PjUGc(hM9Cn;S(ZG~-07~mx9ZmLe!Y7)-v_{$Zlin6TCgli0RTYw`^L`vFY5q6fdcd%IB@tc zIsg2BxBnsVKLq}V!2b~V9|HeF;C~4G4}t$7@IM6phrs_3_#XoQL*V}_1ZGTIHmyCc z@Be?e5kL$?Kmah{hF&NHkst~1A{OQ9V`^OX%6ih&&}ffAUY8~)!hKS2u2=8qErI)QdPI7a>x zt6&cN3=hNI{C}GG&k_SEfA0m(0w;I``hr2g2OsdCUk6XYW>5(0!4~iXJPwM$7jO?8 z1FOI`aEE`_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~;d&%o**9YzBD&uJ8${Mwlw>=6wK?72Fr@2lo!FL^A*{^)UAmu#`gi&S2H2 zz;E9CEPf|H4%|tBJ;Mj^R~c~4hyMXA+tXYQH-bL`=1FU?L-*$I@pt&S;O<>ut=q?C zfFl$1**(BT7PGMoNq?kA(11-h4dim0_F8hRy=^zp8pRs%USXK+FZQa^#q*(;mvcMW zXyUTCo9m>Ikf20YMy3&MSKjpa;N8jH$;l+uqBX=`#W9tS+=%ZIR3F{+{7yXUJqei3^?l1l>b`*8TTcLhH%S;9A&P3Q# zI0>Q*J=t5#9cBfa&6H5(p%E?VBOgXUb6w_`@u{Z%U$7eK_8`ZhrkY! z&J}UKVC=i|F1(y~=G*gO{7>#HK>G;SiDLn`w;x-_oB_KqM=zi?)M;uXVA4ZV7H*oeEUvmF*mQJ0mW) zoQ|lwD*lpPkfqA~nOniF2W<36u7;h+)-bm~ zPRL!59rBs3r+QI7RA-T9^W+ zKYM~b4`ek1c5oFtj0@tAfe6lApl@Aa8kyGYT~-WyKP}i2hGo98?ZJ!^^Roe?`!lzm zzbpKocFylLr#Oz|=j=J>`~7@K)|8p-32TMr>5-8p6gT6!5(Ac=+Cd@GI^B8oVw{{F^iRE4r z38hzF8mj&5@O4-s_KRBCNb_**0UN5~7H;Pb-p(VGrG8q$tN1>hpeDLN-PAy7ctV3n zRE)`|@`kLJTjc}UFE7el;!`*t#$igZh=XatB}~%o#Mwjz{GuMDetP{O|E~YdOL;Zk zGBo&(f~wDA5_hkbbJo{ddZ)Llw#Y--_{+R{@?z20>1$!G{Hdt literal 0 HcmV?d00001 diff --git a/dialogflow/snippets/resources/two_people.wav b/dialogflow/snippets/resources/two_people.wav new file mode 100644 index 0000000000000000000000000000000000000000..5114ebbd3105f06ceeb5a64536a0858f54b44097 GIT binary patch literal 31108 zcmeEu1$P@s6YZczOqOh!nK=$KI-6{mnQ61(4bz61nVFdx9Wpb?%*19wYO-+8HqfIUWYvPiYOWkgCH&X?pKpF&EkiVj z2jYtaK=D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WKL|uDf_R#Sq4SNYN#?cgNt4Uea8T(31WbYZPRDzbD^BtfLn1EPT_C*Nc`@+ei9mk ziF$S2q!;0>H*NQ3HOHD-$#+z`J*^Kc6HL>5`*zaEE*r8DS6 z<|-4xo@A4_8C)3mF5oKF=o?UGMpGMr_3lJE%UI(jv`KZLgJ`H-RTry$)MCuw zO_UJDF5j2;%S(_iRawrF_DKDu2SIrYef9HDeoCWAjIR0g1W_|zfjffqpq)&lSRYGhe_LGHsAV*x&TBJTwN3Y2P( z^xLR|r+}5d0T(d_tIT5;oWP0gN=_$tV@I9`=du7NI|q6Z7U;nSsCDLHolQu4xJd+% zYeZaXdM+qcc$;7b6o>emu0K4gYh}$v3uDa@YEb*SKxE>Va@n1BUhQ-%si$I69X=^ y7E_sNg6_CA(+#YsgMLW&heBcv^_`r7u5dZN^GgJjUKChy65Rj)|MCC61OErO_Q`Yr literal 0 HcmV?d00001 diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/ContextManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/ContextManagement.java new file mode 100644 index 00000000000..0f72988fb1f --- /dev/null +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/ContextManagement.java @@ -0,0 +1,177 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +// Imports the Google Cloud client library +import com.google.cloud.dialogflow.v2.Context; +import com.google.cloud.dialogflow.v2.ContextName; +import com.google.cloud.dialogflow.v2.ContextsClient; +import com.google.cloud.dialogflow.v2.SessionName; +import com.google.protobuf.Value; + +import java.util.Map.Entry; +import net.sourceforge.argparse4j.ArgumentParsers; +import net.sourceforge.argparse4j.inf.ArgumentParser; +import net.sourceforge.argparse4j.inf.ArgumentParserException; +import net.sourceforge.argparse4j.inf.MutuallyExclusiveGroup; +import net.sourceforge.argparse4j.inf.Namespace; +import net.sourceforge.argparse4j.inf.Subparser; +import net.sourceforge.argparse4j.inf.Subparsers; + + +/** + * DialogFlow API Context sample. + */ +public class ContextManagement { + + // [START dialogflow_list_contexts] + /** + * Lists contexts + * @param sessionId Identifier of the DetectIntent session. + * @param projectId Project/Agent Id. + */ + public static void listContexts(String sessionId, String projectId) throws Exception { + // Instantiates a client + try (ContextsClient contextsClient = ContextsClient.create()) { + // Set the session name using the sessionId (UUID) and projectId (my-project-id) + SessionName session = SessionName.of(projectId, sessionId); + + // Performs the list contexts request + System.out.format("Contexts for session %s:\n", session.toString()); + for (Context context : contextsClient.listContexts(session).iterateAll()) { + System.out.format("Context name: %s\n", context.getName()); + System.out.format("Lifespan Count: %d\n", context.getLifespanCount()); + System.out.format("Fields:\n"); + for (Entry entry : context.getParameters().getFieldsMap().entrySet()) { + if (entry.getValue().hasStructValue()) { + System.out.format("\t%s: %s\n", entry.getKey(), entry.getValue()); + } + } + } + } + } + // [END dialogflow_list_contexts] + + // [START dialogflow_create_context] + /** + * Create an entity type with the given display name + * @param contextId The Id of the context. + * @param sessionId Identifier of the DetectIntent session. + * @param lifespanCount The lifespan count of the context. + * @param projectId Project/Agent Id. + */ + public static void createContext(String contextId, String sessionId, String projectId, + int lifespanCount) throws Exception { + // Instantiates a client + try (ContextsClient contextsClient = ContextsClient.create()) { + // Set the session name using the sessionId (UUID) and projectID (my-project-id) + SessionName session = SessionName.of(projectId, sessionId); + + // Create the context name with the projectId, sessionId, and contextId + ContextName contextName = ContextName.newBuilder() + .setProject(projectId) + .setSession(sessionId) + .setContext(contextId) + .build(); + + // Create the context with the context name and lifespan count + Context context = Context.newBuilder() + .setName(contextName.toString()) // The unique identifier of the context + .setLifespanCount(lifespanCount) // Number of query requests before the context expires. + .build(); + + // Performs the create context request + Context response = contextsClient.createContext(session, context); + System.out.format("Context created: %s\n", response); + } + } + // [END dialogflow_create_context] + + // [START dialogflow_delete_context] + /** + * Delete entity type with the given entity type name + * @param contextId The Id of the context. + * @param sessionId Identifier of the DetectIntent session. + * @param projectId Project/Agent Id. + */ + public static void deleteContext(String contextId, String sessionId, String projectId) + throws Exception { + // Instantiates a client + try (ContextsClient contextsClient = ContextsClient.create()) { + // Create the context name with the projectId, sessionId, and contextId + ContextName contextName = ContextName.of(projectId, sessionId, contextId); + // Performs the delete context request + contextsClient.deleteContext(contextName); + } + } + // [END dialogflow_delete_context] + + public static void main(String[] args) throws Exception { + ArgumentParser parser = + ArgumentParsers.newFor("ContextManagement") + .build() + .defaultHelp(true) + .description("Create / List / Delete a context."); + + Subparsers subparsers = parser.addSubparsers().dest("command").title("Commands"); + + Subparser listParser = subparsers.addParser("list") + .help("mvn exec:java -DContextManagement -Dexec.args='list --sessionId SESSION_ID " + + "--projectId PROJECT_ID'"); + listParser.addArgument("--sessionId") + .help("Identifier of the DetectIntent session").required(true); + listParser.addArgument("--projectId").help("Project/Agent Id").required(true); + + Subparser createParser = subparsers.addParser("create") + .help("mvn exec:java -DContextManagement -Dexec.args='create --sessionId SESSION_ID " + + "--projectId PROJECT_ID --contextId CONTEXT_ID'"); + createParser.addArgument("--sessionId") + .help("Identifier of the DetectIntent session").required(true); + createParser.addArgument("--projectId").help("Project/Agent Id").required(true); + createParser.addArgument("--contextId") + .help("The Id of the context") + .required(true); + createParser.addArgument("--lifespanCount") + .help("The lifespan count of the context (Default: 1)").setDefault(1); + + Subparser deleteParser = subparsers.addParser("delete") + .help("mvn exec:java -DContextManagement -Dexec.args='delete --sessionId SESSION_ID " + + "--projectId PROJECT_ID --contextId CONTEXT_ID'"); + deleteParser.addArgument("--sessionId") + .help("Identifier of the DetectIntent session").required(true); + deleteParser.addArgument("--projectId").help("Project/Agent Id").required(true); + deleteParser.addArgument("--contextId") + .help("The Id of the context") + .required(true); + + try { + Namespace namespace = parser.parseArgs(args); + + if (namespace.get("command").equals("list")) { + listContexts(namespace.get("sessionId"), namespace.get("projectId")); + } else if (namespace.get("command").equals("create")) { + createContext(namespace.get("contextId"), namespace.get("sessionId"), + namespace.get("projectId"), namespace.get("lifespanCount")); + } else if (namespace.get("command").equals("delete")) { + deleteContext(namespace.get("contextId"), namespace.get("sessionId"), + namespace.get("projectId")); + } + } catch (ArgumentParserException e) { + parser.handleError(e); + } + } +} diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentAudio.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentAudio.java new file mode 100644 index 00000000000..c5d0c9a6fe8 --- /dev/null +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentAudio.java @@ -0,0 +1,134 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +// Imports the Google Cloud client library +import com.google.cloud.dialogflow.v2.AudioEncoding; +import com.google.cloud.dialogflow.v2.DetectIntentRequest; +import com.google.cloud.dialogflow.v2.DetectIntentResponse; +import com.google.cloud.dialogflow.v2.InputAudioConfig; +import com.google.cloud.dialogflow.v2.QueryInput; +import com.google.cloud.dialogflow.v2.QueryResult; +import com.google.cloud.dialogflow.v2.SessionName; +import com.google.cloud.dialogflow.v2.SessionsClient; +import com.google.protobuf.ByteString; + +import java.nio.file.Files; +import java.nio.file.Paths; +import java.util.UUID; +import net.sourceforge.argparse4j.ArgumentParsers; +import net.sourceforge.argparse4j.inf.ArgumentParser; +import net.sourceforge.argparse4j.inf.ArgumentParserException; +import net.sourceforge.argparse4j.inf.Namespace; + + +/** + * DialogFlow API Detect Intent sample with audio files. + */ +public class DetectIntentAudio { + + // [START dialogflow_detect_intent_audio] + /** + * Returns the result of detect intent with an audio file as input. + * + * Using the same `session_id` between requests allows continuation of the conversation. + * @param projectId Project/Agent Id. + * @param audioFilePath Path to the audio file. + * @param sessionId Identifier of the DetectIntent session. + * @param languageCode Language code of the query. + */ + public static void detectIntentAudio(String projectId, String audioFilePath, String sessionId, + String languageCode) + throws Exception { + // Instantiates a client + try (SessionsClient sessionsClient = SessionsClient.create()) { + // Set the session name using the sessionId (UUID) and projectID (my-project-id) + SessionName session = SessionName.of(projectId, sessionId); + System.out.println("Session Path: " + session.toString()); + + // Note: hard coding audioEncoding and sampleRateHertz for simplicity. + // Audio encoding of the audio content sent in the query request. + AudioEncoding audioEncoding = AudioEncoding.AUDIO_ENCODING_LINEAR_16; + int sampleRateHertz = 16000; + + // Instructs the speech recognizer how to process the audio content. + InputAudioConfig inputAudioConfig = InputAudioConfig.newBuilder() + .setAudioEncoding(audioEncoding) // audioEncoding = AudioEncoding.AUDIO_ENCODING_LINEAR_16 + .setLanguageCode(languageCode) // languageCode = "en-US" + .setSampleRateHertz(sampleRateHertz) // sampleRateHertz = 16000 + .build(); + + // Build the query with the InputAudioConfig + QueryInput queryInput = QueryInput.newBuilder().setAudioConfig(inputAudioConfig).build(); + + // Read the bytes from the audio file + byte[] inputAudio = Files.readAllBytes(Paths.get(audioFilePath)); + + // Build the DetectIntentRequest + DetectIntentRequest request = DetectIntentRequest.newBuilder() + .setSession(session.toString()) + .setQueryInput(queryInput) + .setInputAudio(ByteString.copyFrom(inputAudio)) + .build(); + + // Performs the detect intent request + DetectIntentResponse response = sessionsClient.detectIntent(request); + + // Display the query result + QueryResult queryResult = response.getQueryResult(); + System.out.println("===================="); + System.out.format("Query Text: '%s'\n", queryResult.getQueryText()); + System.out.format("Detected Intent: %s (confidence: %f)\n", + queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); + System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); + } + } + // [END dialogflow_detect_intent_audio] + + public static void main(String[] args) throws Exception { + ArgumentParser parser = + ArgumentParsers.newFor("DetectIntentAudio") + .build() + .defaultHelp(true) + .description("Returns the result of detect intent with an audio file as input.\n" + + "mvn exec:java -DDetectIntentAudio -Dexec.args='--projectId PROJECT_ID " + + "--audioFilePath resources/book_a_room.wav --sessionId SESSION_ID'"); + + parser.addArgument("--projectId").help("Project/Agent Id").required(true); + + parser.addArgument("--audioFilePath") + .help("Path to the audio file") + .required(true); + + parser.addArgument("--sessionId") + .help("Identifier of the DetectIntent session (Default: UUID.)") + .setDefault(UUID.randomUUID().toString()); + + parser.addArgument("--languageCode") + .help("Language Code of the query (Default: en-US") + .setDefault("en-US"); + + try { + Namespace namespace = parser.parseArgs(args); + + detectIntentAudio(namespace.get("projectId"), namespace.get("audioFilePath"), + namespace.get("sessionId"), namespace.get("languageCode")); + } catch (ArgumentParserException e) { + parser.handleError(e); + } + } +} diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java new file mode 100644 index 00000000000..854803d964e --- /dev/null +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java @@ -0,0 +1,151 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + + +// Imports the Google Cloud client library +import com.google.cloud.dialogflow.v2beta1.DetectIntentRequest; +import com.google.cloud.dialogflow.v2beta1.DetectIntentResponse; +import com.google.cloud.dialogflow.v2beta1.KnowledgeAnswers; +import com.google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer; +import com.google.cloud.dialogflow.v2beta1.KnowledgeBaseName; +import com.google.cloud.dialogflow.v2beta1.QueryInput; +import com.google.cloud.dialogflow.v2beta1.QueryParameters; +import com.google.cloud.dialogflow.v2beta1.QueryResult; +import com.google.cloud.dialogflow.v2beta1.SessionName; +import com.google.cloud.dialogflow.v2beta1.SessionsClient; +import com.google.cloud.dialogflow.v2beta1.TextInput; +import com.google.cloud.dialogflow.v2beta1.TextInput.Builder; + +import java.util.List; +import java.util.UUID; +import net.sourceforge.argparse4j.ArgumentParsers; +import net.sourceforge.argparse4j.inf.ArgumentParser; +import net.sourceforge.argparse4j.inf.ArgumentParserException; +import net.sourceforge.argparse4j.inf.Namespace; + + +/** DialogFlow API Detect Intent sample with querying knowledge connector. */ +public class DetectIntentKnowledge { + + // [START dialogflow_detect_intent_knowledge] + /** + * Returns the result of detect intent with text as input. + * + *

Using the same `session_id` between requests allows continuation of the conversation. + * + * @param projectId Project/Agent Id. + * @param knowledgeBaseId Knowledge base Id. + * @param sessionId Identifier of the DetectIntent session. + * @param languageCode Language code of the query. + * @param texts The texts to be processed. + */ + public static void detectIntentKnowledge( + String projectId, + String knowledgeBaseId, + String sessionId, + String languageCode, + List texts) + throws Exception { + // Instantiates a client + try (SessionsClient sessionsClient = SessionsClient.create()) { + // Set the session name using the sessionId (UUID) and projectID (my-project-id) + SessionName session = SessionName.of(projectId, sessionId); + System.out.println("Session Path: " + session.toString()); + + // Detect intents for each text input + for (String text : texts) { + // Set the text and language code (en-US) for the query + Builder textInput = TextInput.newBuilder().setText(text).setLanguageCode(languageCode); + // Build the query with the TextInput + QueryInput queryInput = QueryInput.newBuilder().setText(textInput).build(); + + KnowledgeBaseName knowledgeBaseName = KnowledgeBaseName.of(projectId, knowledgeBaseId); + QueryParameters queryParameters = + QueryParameters.newBuilder() + .addKnowledgeBaseNames(knowledgeBaseName.toString()) + .build(); + + DetectIntentRequest detectIntentRequest = + DetectIntentRequest.newBuilder() + .setSession(session.toString()) + .setQueryInput(queryInput) + .setQueryParams(queryParameters) + .build(); + // Performs the detect intent request + DetectIntentResponse response = sessionsClient.detectIntent(detectIntentRequest); + + // Display the query result + QueryResult queryResult = response.getQueryResult(); + + System.out.format("Knowledge results:\n"); + System.out.format("====================\n"); + System.out.format("Query Text: '%s'\n", queryResult.getQueryText()); + System.out.format( + "Detected Intent: %s (confidence: %f)\n", + queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); + System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); + KnowledgeAnswers knowledgeAnswers = queryResult.getKnowledgeAnswers(); + for (Answer answer : knowledgeAnswers.getAnswersList()) { + System.out.format(" - Answer: '%s'\n", answer.getAnswer()); + System.out.format(" - Confidence: '%s'\n", answer.getMatchConfidence()); + } + } + } + } + // [END dialogflow_detect_intent_knowledge] + + public static void main(String[] args) throws Exception { + ArgumentParser parser = + ArgumentParsers.newFor("DetectIntentKnowledge") + .build() + .defaultHelp(true) + .description("Returns the result of detect intent with text as input for a Knowledge " + + "Base.\n" + + "mvn exec:java -DDetectIntentKnowledge -Dexec.args=\"--projectId PROJECT_ID " + + "--knowledgeBaseId KNOWLEDGE_BASE_ID -sessionId SESSION_ID " + + "'Where can I find pricing information?'\"\n"); + + parser.addArgument("--projectId").help("Project/Agent Id").required(true); + + parser.addArgument("--knowledgeBaseId") + .help("The ID of the Knowledge Base") + .required(true); + + parser.addArgument("--sessionId") + .help("Identifier of the DetectIntent session (Default: UUID.)") + .setDefault(UUID.randomUUID().toString()); + + parser.addArgument("--languageCode") + .help("Language Code of the query (Default: en-US") + .setDefault("en-US"); + + parser.addArgument("texts") + .nargs("+") + .help("Text: 'Where can I find pricing information?'") + .required(true); + + try { + Namespace namespace = parser.parseArgs(args); + + detectIntentKnowledge(namespace.get("projectId"), namespace.get("knowledgeBaseId"), + namespace.get("sessionId"), namespace.get("languageCode"), namespace.get("texts")); + } catch (ArgumentParserException e) { + parser.handleError(e); + } + } +} diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentStream.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentStream.java new file mode 100644 index 00000000000..2594b1bfb34 --- /dev/null +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentStream.java @@ -0,0 +1,198 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + + +// Imports the Google Cloud client library + +import com.google.api.gax.rpc.ApiStreamObserver; +import com.google.cloud.dialogflow.v2.AudioEncoding; +import com.google.cloud.dialogflow.v2.InputAudioConfig; +import com.google.cloud.dialogflow.v2.QueryInput; +import com.google.cloud.dialogflow.v2.QueryResult; +import com.google.cloud.dialogflow.v2.SessionName; +import com.google.cloud.dialogflow.v2.SessionsClient; +import com.google.cloud.dialogflow.v2.StreamingDetectIntentRequest; +import com.google.cloud.dialogflow.v2.StreamingDetectIntentResponse; +import com.google.protobuf.ByteString; + +import java.io.FileInputStream; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import java.util.concurrent.CountDownLatch; +import net.sourceforge.argparse4j.ArgumentParsers; +import net.sourceforge.argparse4j.inf.ArgumentParser; +import net.sourceforge.argparse4j.inf.ArgumentParserException; +import net.sourceforge.argparse4j.inf.Namespace; + + +/** + * DialogFlow API Detect Intent sample with audio files processes as an audio stream. + */ +public class DetectIntentStream { + + // [START dialogflow_detect_intent_streaming] + /** + * Returns the result of detect intent with streaming audio as input. + * + * Using the same `session_id` between requests allows continuation of the conversation. + * @param projectId Project/Agent Id. + * @param audioFilePath The audio file to be processed. + * @param sessionId Identifier of the DetectIntent session. + * @param languageCode Language code of the query. + */ + public static void detectIntentStream(String projectId, String audioFilePath, String sessionId, + String languageCode) throws Throwable { + // Start bi-directional StreamingDetectIntent stream. + final CountDownLatch notification = new CountDownLatch(1); + final List responseThrowables = new ArrayList<>(); + final List responses = new ArrayList<>(); + + // Instantiates a client + try (SessionsClient sessionsClient = SessionsClient.create()) { + // Set the session name using the sessionId (UUID) and projectID (my-project-id) + SessionName session = SessionName.of(projectId, sessionId); + System.out.println("Session Path: " + session.toString()); + + // Note: hard coding audioEncoding and sampleRateHertz for simplicity. + // Audio encoding of the audio content sent in the query request. + AudioEncoding audioEncoding = AudioEncoding.AUDIO_ENCODING_LINEAR_16; + int sampleRateHertz = 16000; + + // Instructs the speech recognizer how to process the audio content. + InputAudioConfig inputAudioConfig = InputAudioConfig.newBuilder() + .setAudioEncoding(audioEncoding) // audioEncoding = AudioEncoding.AUDIO_ENCODING_LINEAR_16 + .setLanguageCode(languageCode) // languageCode = "en-US" + .setSampleRateHertz(sampleRateHertz) // sampleRateHertz = 16000 + .build(); + + ApiStreamObserver responseObserver = + new ApiStreamObserver() { + @Override + public void onNext(StreamingDetectIntentResponse response) { + // Do something when receive a response + responses.add(response); + } + + @Override + public void onError(Throwable t) { + // Add error-handling + responseThrowables.add(t); + } + + @Override + public void onCompleted() { + // Do something when complete. + notification.countDown(); + } + }; + + // Performs the streaming detect intent callable request + ApiStreamObserver requestObserver = + sessionsClient.streamingDetectIntentCallable().bidiStreamingCall(responseObserver); + + // Build the query with the InputAudioConfig + QueryInput queryInput = QueryInput.newBuilder().setAudioConfig(inputAudioConfig).build(); + + try (FileInputStream audioStream = new FileInputStream(audioFilePath)) { + // The first request contains the configuration + StreamingDetectIntentRequest request = StreamingDetectIntentRequest.newBuilder() + .setSession(session.toString()) + .setQueryInput(queryInput) + .build(); + + // Make the first request + requestObserver.onNext(request); + + // Following messages: audio chunks. We just read the file in fixed-size chunks. In reality + // you would split the user input by time. + byte[] buffer = new byte[4096]; + int bytes; + while ((bytes = audioStream.read(buffer)) != -1) { + requestObserver.onNext( + StreamingDetectIntentRequest.newBuilder() + .setInputAudio(ByteString.copyFrom(buffer, 0, bytes)) + .build()); + } + } catch (RuntimeException e) { + // Cancel stream. + requestObserver.onError(e); + } + // Half-close the stream. + requestObserver.onCompleted(); + // Wait for the final response (without explicit timeout). + notification.await(); + // Process errors/responses. + if (!responseThrowables.isEmpty()) { + throw responseThrowables.get(0); + } + if (responses.isEmpty()) { + throw new RuntimeException("No response from Dialogflow."); + } + + for (StreamingDetectIntentResponse response : responses) { + if (response.hasRecognitionResult()) { + System.out.format( + "Intermediate transcript: '%s'\n", response.getRecognitionResult().getTranscript()); + } + } + + // Display the last query result + QueryResult queryResult = responses.get(responses.size() - 1).getQueryResult(); + System.out.println("===================="); + System.out.format("Query Text: '%s'\n", queryResult.getQueryText()); + System.out.format("Detected Intent: %s (confidence: %f)\n", + queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); + System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); + } + } + // [END dialogflow_detect_intent_streaming] + + public static void main(String[] args) throws Throwable { + ArgumentParser parser = + ArgumentParsers.newFor("DetectIntentStream") + .build() + .defaultHelp(true) + .description("Returns the result of detect intent with streaming audio as input.\n" + + "mvn exec:java -DDetectIntentStream -Dexec.args='--projectId PROJECT_ID " + + "--audioFilePath resources/book_a_room.wav --sessionId SESSION_ID'"); + + parser.addArgument("--projectId").help("Project/Agent Id").required(true); + + parser.addArgument("--audioFilePath") + .help("Path to the audio file") + .required(true); + + parser.addArgument("--sessionId") + .help("Identifier of the DetectIntent session (Default: UUID.)") + .setDefault(UUID.randomUUID().toString()); + + parser.addArgument("--languageCode") + .help("Language Code of the query (Default: en-US") + .setDefault("en-US"); + + try { + Namespace namespace = parser.parseArgs(args); + + detectIntentStream(namespace.get("projectId"), namespace.get("audioFilePath"), + namespace.get("sessionId"), namespace.get("languageCode")); + } catch (ArgumentParserException e) { + parser.handleError(e); + } + } +} diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java new file mode 100644 index 00000000000..388147fa231 --- /dev/null +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java @@ -0,0 +1,118 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +// Imports the Google Cloud client library +import com.google.cloud.dialogflow.v2.DetectIntentResponse; +import com.google.cloud.dialogflow.v2.QueryInput; +import com.google.cloud.dialogflow.v2.QueryResult; +import com.google.cloud.dialogflow.v2.SessionName; +import com.google.cloud.dialogflow.v2.SessionsClient; +import com.google.cloud.dialogflow.v2.TextInput; +import com.google.cloud.dialogflow.v2.TextInput.Builder; + +import java.util.List; +import java.util.UUID; +import net.sourceforge.argparse4j.ArgumentParsers; +import net.sourceforge.argparse4j.inf.ArgumentParser; +import net.sourceforge.argparse4j.inf.ArgumentParserException; +import net.sourceforge.argparse4j.inf.Namespace; + + +/** + * DialogFlow API Detect Intent sample with text inputs. + */ +public class DetectIntentTexts { + + // [START dialogflow_detect_intent_text] + /** + * Returns the result of detect intent with texts as inputs. + * + * Using the same `session_id` between requests allows continuation of the conversation. + * @param projectId Project/Agent Id. + * @param texts The text intents to be detected based on what a user says. + * @param sessionId Identifier of the DetectIntent session. + * @param languageCode Language code of the query. + */ + public static void detectIntentTexts(String projectId, List texts, String sessionId, + String languageCode) throws Exception { + // Instantiates a client + try (SessionsClient sessionsClient = SessionsClient.create()) { + // Set the session name using the sessionId (UUID) and projectID (my-project-id) + SessionName session = SessionName.of(projectId, sessionId); + System.out.println("Session Path: " + session.toString()); + + // Detect intents for each text input + for (String text : texts) { + // Set the text (hello) and language code (en-US) for the query + Builder textInput = TextInput.newBuilder().setText(text).setLanguageCode(languageCode); + + // Build the query with the TextInput + QueryInput queryInput = QueryInput.newBuilder().setText(textInput).build(); + + // Performs the detect intent request + DetectIntentResponse response = sessionsClient.detectIntent(session, queryInput); + + // Display the query result + QueryResult queryResult = response.getQueryResult(); + + System.out.println("===================="); + System.out.format("Query Text: '%s'\n", queryResult.getQueryText()); + System.out.format("Detected Intent: %s (confidence: %f)\n", + queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); + System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); + } + } + } + // [END dialogflow_detect_intent_text] + + public static void main(String[] args) throws Exception { + ArgumentParser parser = + ArgumentParsers.newFor("DetectIntentTexts") + .build() + .defaultHelp(true) + .description("Returns the result of detect intent with text as input for a Knowledge " + + "Base.\n" + + "mvn exec:java -DDetectIntentTexts -Dexec.args=\"--projectId PROJECT_ID " + + "--sessionId SESSION_ID 'hello' 'book a meeting room' 'Mountain View' 'tomorrow' " + + "'10 am' '2 hours' '10 people' 'A' 'yes'\"\n"); + + parser.addArgument("--projectId").help("Project/Agent Id").required(true); + + parser.addArgument("--sessionId") + .help("Identifier of the DetectIntent session (Default: UUID.)") + .setDefault(UUID.randomUUID().toString()); + + parser.addArgument("--languageCode") + .help("Language Code of the query (Default: en-US") + .setDefault("en-US"); + + parser.addArgument("texts") + .nargs("+") + .help("Text: 'Where can I find pricing information?'") + .required(true); + + try { + Namespace namespace = parser.parseArgs(args); + + detectIntentTexts(namespace.get("projectId"), namespace.get("texts"), + namespace.get("sessionId"), namespace.get("languageCode")); + } catch (ArgumentParserException e) { + parser.handleError(e); + } + } +} diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithModelSelection.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithModelSelection.java new file mode 100644 index 00000000000..e4b842a45d6 --- /dev/null +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithModelSelection.java @@ -0,0 +1,136 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import com.google.cloud.dialogflow.v2beta1.AudioEncoding; +import com.google.cloud.dialogflow.v2beta1.DetectIntentRequest; +import com.google.cloud.dialogflow.v2beta1.DetectIntentResponse; +import com.google.cloud.dialogflow.v2beta1.InputAudioConfig; +import com.google.cloud.dialogflow.v2beta1.QueryInput; +import com.google.cloud.dialogflow.v2beta1.QueryResult; +import com.google.cloud.dialogflow.v2beta1.SessionName; +import com.google.cloud.dialogflow.v2beta1.SessionsClient; +import com.google.protobuf.ByteString; + +import java.nio.file.Files; +import java.nio.file.Paths; +import java.util.UUID; +import net.sourceforge.argparse4j.ArgumentParsers; +import net.sourceforge.argparse4j.inf.ArgumentParser; +import net.sourceforge.argparse4j.inf.ArgumentParserException; +import net.sourceforge.argparse4j.inf.Namespace; + +public class DetectIntentWithModelSelection { + + // [START dialogflow_detect_intent_with_model_selection] + /** + * Returns the result of detect intent with an audio file as input. + * + *

Using the same `session_id` between requests allows continuation of the conversation. + * + * @param projectId Project/Agent Id. + * @param audioFilePath Path to the audio file. + * @param sessionId Identifier of the DetectIntent session. + * @param languageCode Language code of the query. + */ + public static void detectIntentWithModelSelection( + String projectId, String sessionId, String audioFilePath, String languageCode) + throws Exception { + // Instantiates a client + try (SessionsClient sessionsClient = SessionsClient.create()) { + // Set the session name using the sessionId (UUID) and projectID (my-project-id) + SessionName session = SessionName.of(projectId, sessionId); + System.out.println("Session Path: " + session.toString()); + + // Note: hard coding audioEncoding and sampleRateHertz for simplicity. + // Audio encoding of the audio content sent in the query request. + AudioEncoding audioEncoding = AudioEncoding.AUDIO_ENCODING_LINEAR_16; + int sampleRateHertz = 16000; + + // Instructs the speech recognizer how to process the audio content. + InputAudioConfig inputAudioConfig = + InputAudioConfig.newBuilder() + .setAudioEncoding( + audioEncoding) // audioEncoding = AudioEncoding.AUDIO_ENCODING_LINEAR_16 + .setLanguageCode(languageCode) // languageCode = "en-US" + .setSampleRateHertz(sampleRateHertz) // sampleRateHertz = 16000 + .setModel("phone_call") // model = phone call + .build(); + + // Build the query with the InputAudioConfig + QueryInput queryInput = QueryInput.newBuilder().setAudioConfig(inputAudioConfig).build(); + + // Read the bytes from the audio file + byte[] inputAudio = Files.readAllBytes(Paths.get(audioFilePath)); + + // Build the DetectIntentRequest + DetectIntentRequest request = + DetectIntentRequest.newBuilder() + .setSession(session.toString()) + .setQueryInput(queryInput) + .setInputAudio(ByteString.copyFrom(inputAudio)) + .build(); + // Performs the detect intent request + DetectIntentResponse response = sessionsClient.detectIntent(request); + + // Display the query result + QueryResult queryResult = response.getQueryResult(); + System.out.println("===================="); + System.out.format("Query Text: '%s'\n", queryResult.getQueryText()); + System.out.format( + "Detected Intent: %s (confidence: %f)\n", + queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); + System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); + } + } + // [END dialogflow_detect_intent_with_model_selection] + + + public static void main(String[] args) throws Exception { + ArgumentParser parser = + ArgumentParsers.newFor("DetectIntentWithModelSelection") + .build() + .defaultHelp(true) + .description("Returns the result of detect intent with an audio file as input.\n" + + "mvn exec:java -DDetectIntentWithModelSelection -Dexec.args='--projectId " + + "PROJECT_ID --audioFilePath resources/book_a_room.wav --sessionId SESSION_ID'"); + + parser.addArgument("--projectId").help("Project/Agent Id").required(true); + + parser.addArgument("--audioFilePath") + .help("Path to the audio file") + .required(true); + + parser.addArgument("--sessionId") + .help("Identifier of the DetectIntent session (Default: UUID.)") + .setDefault(UUID.randomUUID().toString()); + + parser.addArgument("--languageCode") + .help("Language Code of the query (Default: en-US") + .setDefault("en-US"); + + try { + Namespace namespace = parser.parseArgs(args); + + detectIntentWithModelSelection(namespace.get("projectId"), namespace.get("audioFilePath"), + namespace.get("sessionId"), namespace.get("languageCode")); + } catch (ArgumentParserException e) { + parser.handleError(e); + } + } + +} diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java new file mode 100644 index 00000000000..4194074e716 --- /dev/null +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java @@ -0,0 +1,140 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import com.google.cloud.dialogflow.v2beta1.DetectIntentRequest; +import com.google.cloud.dialogflow.v2beta1.DetectIntentResponse; +import com.google.cloud.dialogflow.v2beta1.QueryInput; +import com.google.cloud.dialogflow.v2beta1.QueryParameters; +import com.google.cloud.dialogflow.v2beta1.QueryResult; +import com.google.cloud.dialogflow.v2beta1.SentimentAnalysisRequestConfig; +import com.google.cloud.dialogflow.v2beta1.SessionName; +import com.google.cloud.dialogflow.v2beta1.SessionsClient; +import com.google.cloud.dialogflow.v2beta1.TextInput; +import com.google.cloud.dialogflow.v2beta1.TextInput.Builder; + +import java.util.List; +import java.util.UUID; +import net.sourceforge.argparse4j.ArgumentParsers; +import net.sourceforge.argparse4j.inf.ArgumentParser; +import net.sourceforge.argparse4j.inf.ArgumentParserException; +import net.sourceforge.argparse4j.inf.Namespace; + +public class DetectIntentWithSentimentAnalysis { + + // [START dialogflow_detect_intent_with_sentiment_analysis] + /** + * Returns the result of detect intent with texts as inputs. + * + *

Using the same `session_id` between requests allows continuation of the conversation. + * + * @param projectId Project/Agent Id. + * @param texts The text intents to be detected based on what a user says. + * @param sessionId Identifier of the DetectIntent session. + * @param languageCode Language code of the query. + */ + public static void detectIntentSentimentAnalysis( + String projectId, List texts, String sessionId, String languageCode) + throws Exception { + // Instantiates a client + try (SessionsClient sessionsClient = SessionsClient.create()) { + // Set the session name using the sessionId (UUID) and projectID (my-project-id) + SessionName session = SessionName.of(projectId, sessionId); + System.out.println("Session Path: " + session.toString()); + + // Detect intents for each text input + for (String text : texts) { + // Set the text (hello) and language code (en-US) for the query + Builder textInput = TextInput.newBuilder().setText(text).setLanguageCode(languageCode); + + // Build the query with the TextInput + QueryInput queryInput = QueryInput.newBuilder().setText(textInput).build(); + + // + SentimentAnalysisRequestConfig sentimentAnalysisRequestConfig = + SentimentAnalysisRequestConfig.newBuilder().setAnalyzeQueryTextSentiment(true).build(); + + QueryParameters queryParameters = + QueryParameters.newBuilder() + .setSentimentAnalysisRequestConfig(sentimentAnalysisRequestConfig) + .build(); + DetectIntentRequest detectIntentRequest = + DetectIntentRequest.newBuilder() + .setSession(session.toString()) + .setQueryInput(queryInput) + .setQueryParams(queryParameters) + .build(); + + // Performs the detect intent request + DetectIntentResponse response = sessionsClient.detectIntent(detectIntentRequest); + + // Display the query result + QueryResult queryResult = response.getQueryResult(); + + System.out.println("===================="); + System.out.format("Query Text: '%s'\n", queryResult.getQueryText()); + System.out.format( + "Detected Intent: %s (confidence: %f)\n", + queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); + System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); + System.out.format( + "Sentiment Score: '%s'\n", + queryResult.getSentimentAnalysisResult().getQueryTextSentiment().getScore()); + } + } + } + // [END dialogflow_detect_intent_with_sentiment_analysis] + + + public static void main(String[] args) throws Exception { + ArgumentParser parser = + ArgumentParsers.newFor("DetectIntentWithSentimentAnalysis") + .build() + .defaultHelp(true) + .description("Returns the result of detect intent with text as input" + + "Base.\n" + + "mvn exec:java -DDetectIntentWithSentimentAnalysis -Dexec.args=\"--projectId " + + "PROJECT_ID --sessionId SESSION_ID 'hello' 'book a meeting room' 'Mountain View' " + + "'tomorrow' '10 am' '2 hours' '10 people' 'A' 'yes'\"\n"); + + parser.addArgument("--projectId").help("Project/Agent Id").required(true); + + parser.addArgument("--sessionId") + .help("Identifier of the DetectIntent session (Default: UUID.)") + .setDefault(UUID.randomUUID().toString()); + + parser.addArgument("--languageCode") + .help("Language Code of the query (Default: en-US") + .setDefault("en-US"); + + parser.addArgument("texts") + .nargs("+") + .help("Text: 'Where can I find pricing information?'") + .required(true); + + try { + Namespace namespace = parser.parseArgs(args); + + detectIntentSentimentAnalysis(namespace.get("projectId"), namespace.get("texts"), + namespace.get("sessionId"), namespace.get("languageCode")); + } catch (ArgumentParserException e) { + parser.handleError(e); + } + } + + +} diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java new file mode 100644 index 00000000000..c6acfd84922 --- /dev/null +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java @@ -0,0 +1,141 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import com.google.cloud.dialogflow.v2beta1.DetectIntentRequest; +import com.google.cloud.dialogflow.v2beta1.DetectIntentResponse; +import com.google.cloud.dialogflow.v2beta1.OutputAudioConfig; +import com.google.cloud.dialogflow.v2beta1.OutputAudioEncoding; +import com.google.cloud.dialogflow.v2beta1.QueryInput; +import com.google.cloud.dialogflow.v2beta1.QueryResult; +import com.google.cloud.dialogflow.v2beta1.SessionName; +import com.google.cloud.dialogflow.v2beta1.SessionsClient; +import com.google.cloud.dialogflow.v2beta1.TextInput; +import com.google.cloud.dialogflow.v2beta1.TextInput.Builder; + +import java.util.List; +import java.util.UUID; +import net.sourceforge.argparse4j.ArgumentParsers; +import net.sourceforge.argparse4j.inf.ArgumentParser; +import net.sourceforge.argparse4j.inf.ArgumentParserException; +import net.sourceforge.argparse4j.inf.Namespace; + +public class DetectIntentWithTextToSpeechResponse { + + // [START dialogflow_detect_intent_with_texttospeech_response] + /** + * Returns the result of detect intent with texts as inputs. + * + *

Using the same `session_id` between requests allows continuation of the conversation. + * + * @param projectId Project/Agent Id. + * @param texts The text intents to be detected based on what a user says. + * @param sessionId Identifier of the DetectIntent session. + * @param languageCode Language code of the query. + */ + public static void detectIntentWithTexttoSpeech( + String projectId, List texts, String sessionId, String languageCode) + throws Exception { + // Instantiates a client + try (SessionsClient sessionsClient = SessionsClient.create()) { + // Set the session name using the sessionId (UUID) and projectID (my-project-id) + SessionName session = SessionName.of(projectId, sessionId); + System.out.println("Session Path: " + session.toString()); + + // Detect intents for each text input + for (String text : texts) { + // Set the text (hello) and language code (en-US) for the query + Builder textInput = TextInput.newBuilder().setText(text).setLanguageCode(languageCode); + + // Build the query with the TextInput + QueryInput queryInput = QueryInput.newBuilder().setText(textInput).build(); + + // + OutputAudioEncoding audioEncoding = OutputAudioEncoding.OUTPUT_AUDIO_ENCODING_LINEAR_16; + int sampleRateHertz = 16000; + OutputAudioConfig outputAudioConfig = + OutputAudioConfig.newBuilder() + .setAudioEncoding(audioEncoding) + .setSampleRateHertz(sampleRateHertz) + .build(); + + DetectIntentRequest dr = + DetectIntentRequest.newBuilder() + .setQueryInput(queryInput) + .setOutputAudioConfig(outputAudioConfig) + .setSession(session.toString()) + .build(); + + // Performs the detect intent request + // DetectIntentResponse response = sessionsClient.detectIntent(session, + // queryInput,outputAudioConfig); + DetectIntentResponse response = sessionsClient.detectIntent(dr); + + // Display the query result + QueryResult queryResult = response.getQueryResult(); + + System.out.println("===================="); + System.out.format("Query Text: '%s'\n", queryResult.getQueryText()); + System.out.format( + "Detected Intent: %s (confidence: %f)\n", + queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); + System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); + } + } + } + + // [END dialogflow_detect_intent_with_texttospeech_response] + + + public static void main(String[] args) throws Exception { + ArgumentParser parser = + ArgumentParsers.newFor("DetectIntentWithTextToSpeechResponse") + .build() + .defaultHelp(true) + .description("Returns the result of detect intent with text as input" + + "Base.\n" + + "mvn exec:java -DDetectIntentWithTTSResponses -Dexec.args=\"--projectId " + + "PROJECT_ID --sessionId SESSION_ID 'hello' 'book a meeting room' 'Mountain View' " + + "'tomorrow' '10 am' '2 hours' '10 people' 'A' 'yes'\"\n"); + + parser.addArgument("--projectId").help("Project/Agent Id").required(true); + + parser.addArgument("--sessionId") + .help("Identifier of the DetectIntent session (Default: UUID.)") + .setDefault(UUID.randomUUID().toString()); + + parser.addArgument("--languageCode") + .help("Language Code of the query (Default: en-US") + .setDefault("en-US"); + + parser.addArgument("texts") + .nargs("+") + .help("Text: 'Where can I find pricing information?'") + .required(true); + + try { + Namespace namespace = parser.parseArgs(args); + + detectIntentWithTexttoSpeech(namespace.get("projectId"), namespace.get("texts"), + namespace.get("sessionId"), namespace.get("languageCode")); + } catch (ArgumentParserException e) { + parser.handleError(e); + } + } + + +} diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java new file mode 100644 index 00000000000..49ba5d8a650 --- /dev/null +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java @@ -0,0 +1,220 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.dialogflow.v2beta1.CreateDocumentRequest; +import com.google.cloud.dialogflow.v2beta1.Document; +import com.google.cloud.dialogflow.v2beta1.Document.KnowledgeType; +import com.google.cloud.dialogflow.v2beta1.DocumentName; +import com.google.cloud.dialogflow.v2beta1.DocumentsClient; +import com.google.cloud.dialogflow.v2beta1.KnowledgeBaseName; +import com.google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata; +import net.sourceforge.argparse4j.ArgumentParsers; +import net.sourceforge.argparse4j.inf.ArgumentParser; +import net.sourceforge.argparse4j.inf.ArgumentParserException; +import net.sourceforge.argparse4j.inf.Namespace; +import net.sourceforge.argparse4j.inf.Subparser; +import net.sourceforge.argparse4j.inf.Subparsers; + +public class DocumentManagement { + + // [START dialogflow_list_document] + /** + * @param projectId Project/Agent id. + * @param knowledgeBaseId Knowledge Base id. + */ + public static void listDocuments(String projectId, String knowledgeBaseId) throws Exception { + // Instantiates a client + try (DocumentsClient documentsClient = DocumentsClient.create()) { + KnowledgeBaseName knowledgeBaseName = KnowledgeBaseName.of(projectId, knowledgeBaseId); + for (Document document : documentsClient.listDocuments(knowledgeBaseName).iterateAll()) { + System.out.format(" - Display Name: %s\n", document.getDisplayName()); + System.out.format(" - Knowledge ID: %s\n", document.getName()); + System.out.format(" - MIME Type: %s\n", document.getMimeType()); + System.out.format(" - Knowledge Types:\n"); + for (KnowledgeType knowledgeTypeId : document.getKnowledgeTypesList()) { + System.out.format(" - %s \n", knowledgeTypeId.getValueDescriptor()); + } + System.out.format(" - Source: %s \n", document.getContentUri()); + } + } + } + // [END dialogflow_list_document] + + // [START dialogflow_create_document] + /** + * @param projectId Project/Agent id. + * @param knowledgeBaseId Knowledge Base id. + * @param displayName display name of the Document. + * @param mimeType MIME type of the Document. e.g. text/csv, text/html + * @param knowledgeType Knowledge Type of the Document. e.g. FAQ, EXTRACTIVE_QA + * @param contentUri Uri of the Document. e.g. gs://path/mydoc.csv, http://mypage.com/faq.html + */ + public static void createDocument( + String projectId, + String knowledgeBaseId, + String displayName, + String mimeType, + String knowledgeType, + String contentUri) + throws Exception { + // Instantiates a client + try (DocumentsClient documentsClient = DocumentsClient.create()) { + Document document = + Document.newBuilder() + .setDisplayName(displayName) + .setContentUri(contentUri) + .setMimeType(mimeType) + .addKnowledgeTypes(KnowledgeType.valueOf(knowledgeType)) + .build(); + KnowledgeBaseName parent = KnowledgeBaseName.of(projectId, knowledgeBaseId); + CreateDocumentRequest createDocumentRequest = + CreateDocumentRequest.newBuilder() + .setDocument(document) + .setParent(parent.toString()) + .build(); + OperationFuture response = + documentsClient.createDocumentAsync(createDocumentRequest); + System.out.format("Created Document:\n"); + System.out.format(" - Display Name: %s\n", response.get().getDisplayName()); + System.out.format(" - Knowledge ID: %s\n", response.get().getName()); + System.out.format(" - MIME Type: %s\n", response.get().getMimeType()); + System.out.format(" - Knowledge Types:\n"); + for (KnowledgeType knowledgeTypeId : document.getKnowledgeTypesList()) { + System.out.format(" - %s \n", knowledgeTypeId.getValueDescriptor()); + } + System.out.format(" - Source: %s \n", document.getContentUri()); + } + } + // [END dialogflow_create_document] + + // [START dialogflow_get_document] + /** + * @param projectId Project/Agent id. + * @param knowledgeBaseId Knowledge Base id. + * @param documentId Document Id. + */ + public static void getDocument(String projectId, String knowledgeBaseId, String documentId) + throws Exception { + // Instantiates a client + try (DocumentsClient documentsClient = DocumentsClient.create()) { + DocumentName documentName = DocumentName.of(projectId, knowledgeBaseId, documentId); + Document response = documentsClient.getDocument(documentName); + System.out.format("Got Document: \n"); + System.out.format(" - Display Name: %s\n", response.getDisplayName()); + System.out.format(" - Knowledge ID: %s\n", response.getName()); + System.out.format(" - MIME Type: %s\n", response.getMimeType()); + System.out.format(" - Knowledge Types:\n"); + for (KnowledgeType knowledgeTypeId : response.getKnowledgeTypesList()) { + System.out.format(" - %s \n", knowledgeTypeId.getValueDescriptor()); + } + System.out.format(" - Source: %s \n", response.getContentUri()); + } + } + // [END dialogflow_get_document] + + // [START dialogflow_delete_document] + /** + * @param projectId Project/Agent id. + * @param knowledgeBaseId Knowledge Base id. + * @param documentId Document Id. + */ + public static void deleteDocument(String projectId, String knowledgeBaseId, String documentId) + throws Exception { + // Instantiates a client + try (DocumentsClient documentsClient = DocumentsClient.create()) { + DocumentName documentName = DocumentName.of(projectId, knowledgeBaseId, documentId); + documentsClient.deleteDocumentAsync(documentName).getInitialFuture().get(); + System.out.format("The document has been deleted."); + } + } + + public static void main(String[] args) throws Exception { + ArgumentParser parser = + ArgumentParsers.newFor("DocumentManagement") + .build() + .defaultHelp(true) + .description("Create / List / Delete a Document."); + + Subparsers subparsers = parser.addSubparsers().dest("command").title("Commands"); + + Subparser listParser = subparsers.addParser("list") + .help("mvn exec:java -DDocumentManagement -Dexec.args='list --projectId PROJECT_ID " + + "--knowledgeBaseId KNOWLEDGE_BASE_ID'"); + listParser.addArgument("--projectId").help("Project/Agent Id").required(true); + listParser.addArgument("--knowledgeBaseId") + .help("The id of the Knowledge Base to list the Documents").required(true); + + Subparser createParser = subparsers.addParser("create") + .help("mvn exec:java -DDocumentManagement -Dexec.args='create --projectId PROJECT_ID " + + "--knowledgeBaseId KNOWLEDGE_BASE_ID --displayName DISPLAY_NAME " + + "--mimeType text/html --knowledgeType FAQ " + + "--contentUri https://cloud.google.com/storage/docs/faq'"); + createParser.addArgument("--projectId").help("Project/Agent Id").required(true); + createParser.addArgument("--knowledgeBaseId") + .help("The ID of the Knowledge Base to list the Documents").required(true); + createParser.addArgument("--displayName") + .help("The display name of the Document").required(true); + createParser.addArgument("--mimeType") + .help("The mime-type of the Document, e.g. text/csv, text/html, text/plain, text/pdf etc.") + .required(true); + createParser.addArgument("--knowledgeType") + .help("The knowledge-type of the Document, e.g. FAQ, EXTRACTIVE_QA.").required(true); + createParser.addArgument("--contentUri") + .help("The uri of the Document, e.g. gs://path/mydoc.csv, http://mypage.com/faq.html") + .required(true); + + Subparser getParser = subparsers.addParser("get") + .help("mvn exec:java -DDocumentManagement -Dexec.args='get --projectId PROJECT_ID " + + "--knowledgeBaseId KNOWLEDGE_BASE_ID --documentId DOCUMENT_ID'"); + getParser.addArgument("--projectId").help("Project/Agent Id").required(true); + getParser.addArgument("--knowledgeBaseId") + .help("The ID of the Knowledge Base to list the Documents").required(true); + getParser.addArgument("--documentId") + .help("The ID of the Document you want to delete").required(true); + + Subparser deleteParser = subparsers.addParser("delete") + .help("mvn exec:java -DDocumentManagement -Dexec.args='delete --projectId PROJECT_ID " + + "--knowledgeBaseId KNOWLEDGE_BASE_ID --documentId DOCUMENT_ID'"); + deleteParser.addArgument("--projectId").help("Project/Agent Id").required(true); + deleteParser.addArgument("--knowledgeBaseId") + .help("The ID of the Knowledge Base to list the Documents").required(true); + deleteParser.addArgument("--documentId") + .help("The ID of the Document you want to delete").required(true); + + try { + Namespace namespace = parser.parseArgs(args); + + if (namespace.get("command").equals("list")) { + listDocuments(namespace.get("projectId"), namespace.get("knowledgeBaseId")); + } else if (namespace.get("command").equals("create")) { + createDocument(namespace.get("projectId"), namespace.get("knowledgeBaseId"), + namespace.get("displayName"), namespace.get("mimeType"), namespace.get("knowledgeType"), + namespace.get("contentUri")); + } else if (namespace.get("command").equals("get")) { + getDocument(namespace.get("projectId"), namespace.get("knowledgeBaseId"), + namespace.get("documentId")); + } else if (namespace.get("command").equals("delete")) { + deleteDocument(namespace.get("projectId"), namespace.get("knowledgeBaseId"), + namespace.get("documentId")); + } + } catch (ArgumentParserException e) { + parser.handleError(e); + } + } +} diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityManagement.java new file mode 100644 index 00000000000..63a48914e73 --- /dev/null +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityManagement.java @@ -0,0 +1,179 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +// Imports the Google Cloud client library +import com.google.cloud.dialogflow.v2.EntityType; +import com.google.cloud.dialogflow.v2.EntityType.Entity; +import com.google.cloud.dialogflow.v2.EntityTypeName; +import com.google.cloud.dialogflow.v2.EntityTypesClient; +import com.google.protobuf.Empty; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import net.sourceforge.argparse4j.ArgumentParsers; +import net.sourceforge.argparse4j.inf.ArgumentParser; +import net.sourceforge.argparse4j.inf.ArgumentParserException; +import net.sourceforge.argparse4j.inf.Namespace; +import net.sourceforge.argparse4j.inf.Subparser; +import net.sourceforge.argparse4j.inf.Subparsers; + + +/** + * DialogFlow API Entity sample. + */ +public class EntityManagement { + + // [START dialogflow_list_entities] + /** + * List entities + * @param projectId Project/agent id. + * @param entityTypeId The id of the entity_type. + */ + public static void listEntities(String projectId, String entityTypeId) throws Exception { + // Instantiates a client + try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { + // Set the entity type name using the projectID (my-project-id) and entityTypeId (KIND_LIST) + EntityTypeName name = EntityTypeName.of(projectId, entityTypeId); + + // Performs the get entity type request + EntityType entityType = entityTypesClient.getEntityType(name); + for (Entity entity : entityType.getEntitiesList()) { + System.out.format("Entity value: %s\n", entity.getValue()); + System.out.format("Entity synonyms: %s\n", entity.getSynonymsList().toString()); + } + } + } + // [END dialogflow_list_entities] + + // [START dialogflow_create_entity] + /** + * Create an entity of the given entity type + * @param projectId Project/agent id. + * @param entityTypeId The id of the entity_type. + * @param entityValue The entity value to be added. + * @param synonyms The synonyms that will map to the provided entity value. + */ + public static void createEntity(String projectId, String entityTypeId, String entityValue, + List synonyms) throws Exception { + // Note: synonyms must be exactly [entityValue] if the + // entityTypeId's kind is KIND_LIST + if (synonyms.size() == 0) { + synonyms.add(entityValue); + } + + // Instantiates a client + try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { + // Set the entity type name using the projectID (my-project-id) and entityTypeId (KINDS_LIST) + EntityTypeName name = EntityTypeName.of(projectId, entityTypeId); + + // Build the entity + Entity entity = Entity.newBuilder() + .setValue(entityValue) + .addAllSynonyms(synonyms) + .build(); + + // Performs the create entity type request + Empty response = entityTypesClient.batchCreateEntitiesAsync(name, + Arrays.asList(entity)).get(); + System.out.println("Entity created: " + response); + } + + + } + // [END dialogflow_create_entity] + + // [START dialogflow_delete_entity] + /** + * Delete entity with the given entity type and entity value + * @param projectId Project/agent id. + * @param entityTypeId The id of the entity_type. + * @param entityValue The value of the entity to delete. + */ + public static void deleteEntity(String projectId, String entityTypeId, String entityValue) + throws Exception { + // Instantiates a client + try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { + // Set the entity type name using the projectID (my-project-id) and entityTypeId (KINDS_LIST) + EntityTypeName name = EntityTypeName.of(projectId, entityTypeId); + + // Performs the delete entity type request + entityTypesClient.batchDeleteEntitiesAsync(name, Arrays.asList(entityValue)) + .getInitialFuture().get(); + } + } + // [END dialogflow_delete_entity] + + public static void main(String[] args) throws Exception { + ArgumentParser parser = + ArgumentParsers.newFor("EntityManagement") + .build() + .defaultHelp(true) + .description("Create / List / Delete a Entity."); + + Subparsers subparsers = parser.addSubparsers().dest("command").title("Commands"); + + Subparser listParser = subparsers.addParser("list") + .help("mvn exec:java -DEntityManagement -Dexec.args='list --projectId PROJECT_ID " + + "--entityTypeId ENTITY_TYPE_ID'"); + listParser.addArgument("--projectId").help("Project/Agent Id").required(true); + listParser.addArgument("--entityTypeId") + .help("The id of the entityType to which to add an entity.").required(true); + + Subparser createParser = subparsers.addParser("create") + .help("mvn exec:java -DEntityManagement -Dexec.args='create ENTITY_VALUE " + + "--projectId PROJECT_ID --entityTypeId ENTITY_TYPE_ID " + + "--synonyms basement cellar'"); + createParser.addArgument("entityValue") + .help("The entity value to be added.").required(true); + createParser.addArgument("--projectId").help("Project/Agent Id").required(true); + createParser.addArgument("--entityTypeId") + .help("The id of the entityType to which to add an entity.").required(true); + createParser.addArgument("--synonyms").nargs("+") + .help("The synonyms that will map to the provided entity value"); + + Subparser deleteParser = subparsers.addParser("delete") + .help("mvn exec:java -DEntityManagement -Dexec.args='delete ENTITY_VALUE " + + "--projectId PROJECT_ID --entityTypeId ENTITY_TYPE_ID'"); + deleteParser.addArgument("entityValue") + .help("The entity value to be added.").required(true); + deleteParser.addArgument("--projectId").help("Project/Agent Id").required(true); + deleteParser.addArgument("--entityTypeId") + .help("The id of the entityType to delete.").required(true); + + try { + Namespace namespace = parser.parseArgs(args); + + if (namespace.get("command").equals("list")) { + listEntities(namespace.get("projectId"), namespace.get("entityTypeId")); + } else if (namespace.get("command").equals("create")) { + ArrayList synonyms = new ArrayList<>(); + if (namespace.get("synonyms") == null) { + synonyms = namespace.get("synonyms"); + } + createEntity(namespace.get("projectId"), namespace.get("entityTypeId"), + namespace.get("entityValue"), synonyms); + } else if (namespace.get("command").equals("delete")) { + deleteEntity(namespace.get("projectId"), namespace.get("entityTypeId"), + namespace.get("entityValue")); + } + } catch (ArgumentParserException e) { + parser.handleError(e); + } + } +} diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityTypeManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityTypeManagement.java new file mode 100644 index 00000000000..3eb4466e534 --- /dev/null +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityTypeManagement.java @@ -0,0 +1,175 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + + +// Imports the Google Cloud client library +import com.google.cloud.dialogflow.v2.EntityType; +import com.google.cloud.dialogflow.v2.EntityType.Kind; +import com.google.cloud.dialogflow.v2.EntityTypeName; +import com.google.cloud.dialogflow.v2.EntityTypesClient; +import com.google.cloud.dialogflow.v2.ProjectAgentName; + +import java.util.ArrayList; +import java.util.List; +import net.sourceforge.argparse4j.ArgumentParsers; +import net.sourceforge.argparse4j.inf.ArgumentParser; +import net.sourceforge.argparse4j.inf.ArgumentParserException; +import net.sourceforge.argparse4j.inf.Namespace; +import net.sourceforge.argparse4j.inf.Subparser; +import net.sourceforge.argparse4j.inf.Subparsers; + + +/** + * DialogFlow API EntityType sample. + */ +public class EntityTypeManagement { + + // [START dialogflow_list_entity_types] + /** + * List entity types + * @param projectId Project/agent id. + */ + public static void listEntityTypes(String projectId) throws Exception { + // Instantiates a client + try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { + // Set the project agent name using the projectID (my-project-id) + ProjectAgentName parent = ProjectAgentName.of(projectId); + + // Performs the list entity types request + for (EntityType entityType : entityTypesClient.listEntityTypes(parent).iterateAll()) { + System.out.format("Entity type name %s\n", entityType.getName()); + System.out.format("Entity type display name: %s\n", entityType.getDisplayName()); + System.out.format("Number of entities: %d\n", entityType.getEntitiesCount()); + } + } + } + // [END dialogflow_list_entity_types] + + // [START dialogflow_create_entity_type] + /** + * Create an entity type with the given display name + * @param displayName The display name of the entity. + * @param projectId Project/agent id. + * @param kind The kind of entity. KIND_MAP (default) or KIND_LIST. + */ + public static void createEntityType(String displayName, String projectId, String kind) + throws Exception { + // Instantiates a client + try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { + // Set the project agent name using the projectID (my-project-id) + ProjectAgentName parent = ProjectAgentName.of(projectId); + + // Entity types serve as a tool for extracting parameter values from natural language queries. + EntityType entityType = EntityType.newBuilder() + .setDisplayName(displayName) + .setKind(Kind.valueOf(kind)) + .build(); + + // Performs the create entity type request + EntityType response = entityTypesClient.createEntityType(parent, entityType); + System.out.println("Entity type created: " + response); + } + } + // [END dialogflow_create_entity_type] + + // [START dialogflow_delete_entity_type] + /** + * Delete entity type with the given entity type name + * @param entityTypeId The id of the entity_type. + * @param projectId Project/agent id. + */ + public static void deleteEntityType(String entityTypeId, String projectId) throws Exception { + // Instantiates a client + try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { + // Set the entity type name using the projectID (my-project-id) and entityTypeId (KIND_LIST) + EntityTypeName name = EntityTypeName.of(projectId, entityTypeId); + + // Performs the delete entity type request + entityTypesClient.deleteEntityType(name); + } + } + // [END dialogflow_delete_entity_type] + + /** + * Helper method for testing to get entityTypeId from displayName. + */ + public static List getEntityTypeIds(String displayName, String projectId) + throws Exception { + List entityTypesIds = new ArrayList<>(); + + try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { + ProjectAgentName parent = ProjectAgentName.of(projectId); + // Performs the list entity types request + for (EntityType entityType : entityTypesClient.listEntityTypes(parent).iterateAll()) { + if (entityType.getDisplayName().equals(displayName)) { + String[] splitName = entityType.getName().split("/"); + entityTypesIds.add(splitName[splitName.length - 1]); + } + } + } + return entityTypesIds; + } + + + public static void main(String[] args) throws Exception { + ArgumentParser parser = + ArgumentParsers.newFor("EntityTypeManagement") + .build() + .defaultHelp(true) + .description("Create / List / Delete a Entity Type."); + + Subparsers subparsers = parser.addSubparsers().dest("command").title("Commands"); + + Subparser listParser = subparsers.addParser("list") + .help("mvn exec:java -DEntityTypeManagement -Dexec.args='list --projectId PROJECT_ID'"); + listParser.addArgument("--projectId").help("Project/Agent Id").required(true); + + Subparser createParser = subparsers.addParser("create") + .help("mvn exec:java -DEntityTypeManagement -Dexec.args='create DISPLAY_NAME " + + "--projectId PROJECT_ID --entityTypeId ENTITY_TYPE_ID " + + "--synonyms basement cellar'"); + createParser.addArgument("displayName") + .help("The display name of the entity.").required(true); + createParser.addArgument("--projectId").help("Project/Agent Id").required(true); + createParser.addArgument("--kind") + .help("The kind of entity. KIND_MAP (default) or KIND_LIST.").setDefault("KIND_MAP"); + + Subparser deleteParser = subparsers.addParser("delete") + .help("mvn exec:java -DEntityTypeManagement -Dexec.args='delete ENTITY_TYPE_ID " + + "--projectId PROJECT_ID'"); + deleteParser.addArgument("entityTypeId") + .help("The id of the entityType to delete.").required(true); + deleteParser.addArgument("--projectId").help("Project/Agent Id").required(true); + + + try { + Namespace namespace = parser.parseArgs(args); + + if (namespace.get("command").equals("list")) { + listEntityTypes(namespace.get("projectId")); + } else if (namespace.get("command").equals("create")) { + createEntityType(namespace.get("displayName"), namespace.get("projectId"), + namespace.get("kind")); + } else if (namespace.get("command").equals("delete")) { + deleteEntityType(namespace.get("entityTypeId"), namespace.get("projectId")); + } + } catch (ArgumentParserException e) { + parser.handleError(e); + } + } +} diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/IntentManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/IntentManagement.java new file mode 100644 index 00000000000..c2147cbaf52 --- /dev/null +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/IntentManagement.java @@ -0,0 +1,220 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + + +// Imports the Google Cloud client library +import com.google.cloud.dialogflow.v2.Context; +import com.google.cloud.dialogflow.v2.Intent; +import com.google.cloud.dialogflow.v2.Intent.Message; +import com.google.cloud.dialogflow.v2.Intent.Message.Text; +import com.google.cloud.dialogflow.v2.Intent.TrainingPhrase; +import com.google.cloud.dialogflow.v2.Intent.TrainingPhrase.Part; +import com.google.cloud.dialogflow.v2.IntentName; +import com.google.cloud.dialogflow.v2.IntentsClient; +import com.google.cloud.dialogflow.v2.ProjectAgentName; + +import java.util.ArrayList; +import java.util.List; +import net.sourceforge.argparse4j.ArgumentParsers; +import net.sourceforge.argparse4j.inf.ArgumentParser; +import net.sourceforge.argparse4j.inf.ArgumentParserException; +import net.sourceforge.argparse4j.inf.Namespace; +import net.sourceforge.argparse4j.inf.Subparser; +import net.sourceforge.argparse4j.inf.Subparsers; + + +/** + * DialogFlow API Intent sample. + */ +public class IntentManagement { + + // [START dialogflow_list_intents] + /** + * List intents + * @param projectId Project/Agent Id. + */ + public static void listIntents(String projectId) throws Exception { + // Instantiates a client + try (IntentsClient intentsClient = IntentsClient.create()) { + // Set the project agent name using the projectID (my-project-id) + ProjectAgentName parent = ProjectAgentName.of(projectId); + + // Performs the list intents request + for (Intent intent : intentsClient.listIntents(parent).iterateAll()) { + System.out.println("===================="); + System.out.format("Intent name: '%s'\n", intent.getName()); + System.out.format("Intent display name: '%s'\n", intent.getDisplayName()); + System.out.format("Action: '%s'\n", intent.getAction()); + System.out.format("Root followup intent: '%s'\n", intent.getRootFollowupIntentName()); + System.out.format("Parent followup intent: '%s'\n", intent.getParentFollowupIntentName()); + + System.out.format("Input contexts:\n"); + for (String inputContextName : intent.getInputContextNamesList()) { + System.out.format("\tName: %s\n", inputContextName); + } + + System.out.format("Output contexts:\n"); + for (Context outputContext : intent.getOutputContextsList()) { + System.out.format("\tName: %s\n", outputContext.getName()); + } + } + } + } + // [END dialogflow_list_intents] + + // [START dialogflow_create_intent] + /** + * Create an intent of the given intent type + * @param displayName The display name of the intent. + * @param projectId Project/Agent Id. + * @param trainingPhrasesParts Training phrases. + * @param messageTexts Message texts for the agent's response when the intent is detected. + */ + public static void createIntent(String displayName, String projectId, + List trainingPhrasesParts, List messageTexts) + throws Exception { + // Instantiates a client + try (IntentsClient intentsClient = IntentsClient.create()) { + // Set the project agent name using the projectID (my-project-id) + ProjectAgentName parent = ProjectAgentName.of(projectId); + + // Build the trainingPhrases from the trainingPhrasesParts + List trainingPhrases = new ArrayList<>(); + for (String trainingPhrase : trainingPhrasesParts) { + trainingPhrases.add( + TrainingPhrase.newBuilder().addParts( + Part.newBuilder().setText(trainingPhrase).build()) + .build()); + } + + // Build the message texts for the agent's response + Message message = Message.newBuilder() + .setText( + Text.newBuilder() + .addAllText(messageTexts).build() + ).build(); + + // Build the intent + Intent intent = Intent.newBuilder() + .setDisplayName(displayName) + .addMessages(message) + .addAllTrainingPhrases(trainingPhrases) + .build(); + + // Performs the create intent request + Intent response = intentsClient.createIntent(parent, intent); + System.out.format("Intent created: %s\n", response); + } + } + // [END dialogflow_create_intent] + + // [START dialogflow_delete_intent] + /** + * Delete intent with the given intent type and intent value + * @param intentId The id of the intent. + * @param projectId Project/Agent Id. + */ + public static void deleteIntent(String intentId, String projectId) throws Exception { + // Instantiates a client + try (IntentsClient intentsClient = IntentsClient.create()) { + IntentName name = IntentName.of(projectId, intentId); + // Performs the delete intent request + intentsClient.deleteIntent(name); + } + } + // [END dialogflow_delete_intent] + + /** + * Helper method for testing to get intentIds from displayName. + */ + public static List getIntentIds(String displayName, String projectId) throws Exception { + List intentIds = new ArrayList<>(); + + // Instantiates a client + try (IntentsClient intentsClient = IntentsClient.create()) { + ProjectAgentName parent = ProjectAgentName.of(projectId); + for (Intent intent : intentsClient.listIntents(parent).iterateAll()) { + if (intent.getDisplayName().equals(displayName)) { + String[] splitName = intent.getName().split("/"); + intentIds.add(splitName[splitName.length - 1]); + } + } + } + + return intentIds; + } + + public static void main(String[] args) throws Exception { + + + ArgumentParser parser = + ArgumentParsers.newFor("IntentManagement") + .build() + .defaultHelp(true) + .description("Create / List / Delete a Intent."); + + Subparsers subparsers = parser.addSubparsers().dest("command").title("Commands"); + + Subparser listParser = subparsers.addParser("list") + .help("mvn exec:java -DIntentManagement -Dexec.args='list --projectId PROJECT_ID'"); + listParser.addArgument("--projectId").help("Project/Agent Id").required(true); + + Subparser createParser = subparsers.addParser("create") + .help("mvn exec:java -DIntentManagement -Dexec.args='create DISPLAY_NAME " + + "--projectId PROJECT_ID --trainingPhrasesParts \"cancel\" \"cancellation\" " + + "--messageTexts \"Are you sure you want to cancel?\" \"Cancelled.\"'"); + createParser.addArgument("displayName") + .help("The display name of the intent.").required(true); + createParser.addArgument("--projectId").help("Project/Agent Id").required(true); + createParser.addArgument("--trainingPhrasesParts") + .help("Training phrases.").nargs("+"); + createParser.addArgument("--messageTexts").nargs("+") + .help("Message texts for the agent's response when the intent is detected."); + + Subparser deleteParser = subparsers.addParser("delete") + .help("mvn exec:java -DIntentManagement -Dexec.args='delete INTENT_ID " + + "--projectId PROJECT_ID'"); + deleteParser.addArgument("intentId") + .help("The ID of the intent.").required(true); + deleteParser.addArgument("--projectId").help("Project/Agent Id").required(true); + + try { + Namespace namespace = parser.parseArgs(args); + + if (namespace.get("command").equals("list")) { + listIntents(namespace.get("projectId")); + } else if (namespace.get("command").equals("create")) { + ArrayList trainingPhrasesParts = new ArrayList<>(); + ArrayList messageTexts = new ArrayList<>(); + if (namespace.get("trainingPhrasesParts") != null) { + trainingPhrasesParts = namespace.get("trainingPhrasesParts"); + } + if (namespace.get("messageTexts") != null) { + messageTexts = namespace.get("messageTexts"); + } + + createIntent(namespace.get("displayName"), namespace.get("projectId"), trainingPhrasesParts, + messageTexts); + } else if (namespace.get("command").equals("delete")) { + deleteIntent(namespace.get("intentId"), namespace.get("projectId")); + } + } catch (ArgumentParserException e) { + parser.handleError(e); + } + } +} diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java new file mode 100644 index 00000000000..d160e50c789 --- /dev/null +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java @@ -0,0 +1,159 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import com.google.cloud.dialogflow.v2beta1.KnowledgeBase; +import com.google.cloud.dialogflow.v2beta1.KnowledgeBaseName; +import com.google.cloud.dialogflow.v2beta1.KnowledgeBasesClient; +import com.google.cloud.dialogflow.v2beta1.ProjectName; +import net.sourceforge.argparse4j.ArgumentParsers; +import net.sourceforge.argparse4j.inf.ArgumentParser; +import net.sourceforge.argparse4j.inf.ArgumentParserException; +import net.sourceforge.argparse4j.inf.Namespace; +import net.sourceforge.argparse4j.inf.Subparser; +import net.sourceforge.argparse4j.inf.Subparsers; + +public class KnowledgeBaseManagement { + + // [START dialogflow_list_knowledge_base] + /** + * List Knowledge bases + * + * @param projectId Project/agent id. + */ + public static void listKnowledgeBases(String projectId) throws Exception { + // Instantiates a client + try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) { + // Set the entity type name using the projectID (my-project-id) and entityTypeId (KIND_LIST) + ProjectName projectName = ProjectName.of(projectId); + for (KnowledgeBase knowledgeBase : + knowledgeBasesClient.listKnowledgeBases(projectName).iterateAll()) { + System.out.format(" - Display Name: %s\n", knowledgeBase.getDisplayName()); + System.out.format(" - Knowledge ID: %s\n", knowledgeBase.getName()); + } + } + } + // [END dialogflow_list_knowledge_base] + + // [START dialogflow_create_knowledge_base] + /** + * Create a Knowledge base + * + * @param projectId Project/agent id. + * @param displayName Name of the knowledge base. + */ + public static void createKnowledgeBase(String projectId, String displayName) throws Exception { + // Instantiates a client + try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) { + + KnowledgeBase knowledgeBase = KnowledgeBase.newBuilder().setDisplayName(displayName).build(); + ProjectName projectName = ProjectName.of(projectId); + KnowledgeBase response = knowledgeBasesClient.createKnowledgeBase(projectName, knowledgeBase); + System.out.format("Knowledgebase created:\n"); + System.out.format("Display Name: %s \n", response.getDisplayName()); + System.out.format("Knowledge ID: %s \n", response.getName()); + } + } + // [END dialogflow_create_knowledge_base] + + // [START dialogflow_get_knowledge_base] + + /** + * @param knowledgeBaseId Knowledge base id. + * @param projectId Project/agent id. + */ + public static void getKnowledgeBase(String projectId, String knowledgeBaseId) throws Exception { + + // Instantiates a client + try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) { + KnowledgeBaseName knowledgeBaseName = KnowledgeBaseName.of(projectId, knowledgeBaseId); + KnowledgeBase response = knowledgeBasesClient.getKnowledgeBase(knowledgeBaseName); + System.out.format("Got Knowledge Base:\n"); + System.out.format(" - Display Name: %s\n", response.getDisplayName()); + System.out.format(" - Knowledge ID: %s\n", response.getName()); + } + } + // [END dialogflow_get_knowledge_base] + // [START dialogflow_delete_knowledge_base] + + /** + * @param knowledgeBaseId Knowledge base id. + * @param projectId Project/agent id. + */ + public static void deleteKnowledgeBase(String projectId, String knowledgeBaseId) + throws Exception { + // Instantiates a client + try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) { + KnowledgeBaseName knowledgeBaseName = KnowledgeBaseName.of(projectId, knowledgeBaseId); + knowledgeBasesClient.deleteKnowledgeBase(knowledgeBaseName); + System.out.format("KnowledgeBase has been deleted.\n"); + } + } + // [END dialogflow_delete_knowledge_base] + + + public static void main(String[] args) throws Exception { + ArgumentParser parser = + ArgumentParsers.newFor("KnowledgeBaseManagement") + .build() + .defaultHelp(true) + .description("Create / List / Delete a Knowledge Base."); + + Subparsers subparsers = parser.addSubparsers().dest("command").title("Commands"); + + Subparser listParser = subparsers.addParser("list") + .help("mvn exec:java -DKnowledgeManagement -Dexec.args='list --projectId PROJECT_ID'"); + listParser.addArgument("--projectId").help("Project/Agent Id").required(true); + + Subparser createParser = subparsers.addParser("create") + .help("mvn exec:java -DKnowledgeManagement -Dexec.args='create DISPLAY_NAME " + + "--projectId PROJECT_ID'"); + createParser.addArgument("displayName") + .help("The display name of the Document").required(true); + createParser.addArgument("--projectId").help("Project/Agent Id").required(true); + + Subparser getParser = subparsers.addParser("get") + .help("mvn exec:java -DKnowledgeManagement -Dexec.args='get KNOWLEDGE_BASE_ID " + + "--projectId PROJECT_ID'"); + getParser.addArgument("knowledgeBaseId") + .help("The ID of the Knowledge Base to list the Documents").required(true); + getParser.addArgument("--projectId").help("Project/Agent Id").required(true); + + Subparser deleteParser = subparsers.addParser("delete") + .help("mvn exec:java -DKnowledgeManagement -Dexec.args='delete KNOWLEDGE_BASE_ID " + + "--projectId PROJECT_ID'"); + deleteParser.addArgument("--projectId").help("Project/Agent Id").required(true); + deleteParser.addArgument("--knowledgeBaseId") + .help("The ID of the Knowledge Base to list the Documents").required(true); + + try { + Namespace namespace = parser.parseArgs(args); + + if (namespace.get("command").equals("list")) { + listKnowledgeBases(namespace.get("projectId")); + } else if (namespace.get("command").equals("create")) { + createKnowledgeBase(namespace.get("projectId"), namespace.get("displayName")); + } else if (namespace.get("command").equals("get")) { + getKnowledgeBase(namespace.get("projectId"), namespace.get("knowledgeBaseId")); + } else if (namespace.get("command").equals("delete")) { + deleteKnowledgeBase(namespace.get("projectId"), namespace.get("knowledgeBaseId")); + } + } catch (ArgumentParserException e) { + parser.handleError(e); + } + } +} diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/SessionEntityTypeManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/SessionEntityTypeManagement.java new file mode 100644 index 00000000000..da52376e326 --- /dev/null +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/SessionEntityTypeManagement.java @@ -0,0 +1,194 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +// Imports the Google Cloud client library +import com.google.cloud.dialogflow.v2.EntityType.Entity; +import com.google.cloud.dialogflow.v2.SessionEntityType; +import com.google.cloud.dialogflow.v2.SessionEntityType.EntityOverrideMode; +import com.google.cloud.dialogflow.v2.SessionEntityTypeName; +import com.google.cloud.dialogflow.v2.SessionEntityTypesClient; +import com.google.cloud.dialogflow.v2.SessionName; + +import java.util.ArrayList; +import java.util.List; +import net.sourceforge.argparse4j.ArgumentParsers; +import net.sourceforge.argparse4j.inf.ArgumentParser; +import net.sourceforge.argparse4j.inf.ArgumentParserException; +import net.sourceforge.argparse4j.inf.Namespace; +import net.sourceforge.argparse4j.inf.Subparser; +import net.sourceforge.argparse4j.inf.Subparsers; + +/** + * DialogFlow API SessionEntityType sample. + */ +public class SessionEntityTypeManagement { + + // [START dialogflow_list_session_entity_types] + /** + * List session entity types + * @param projectId Project/Agent Id. + * @param sessionId Identifier of the DetectIntent session. + */ + public static void listSessionEntityTypes(String projectId, String sessionId) throws Exception { + // Instantiates a client + try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) { + // Set the session name using the sessionId (UUID) and projectID (my-project-id) + SessionName session = SessionName.of(projectId, sessionId); + + System.out.format("SessionEntityTypes for session %s:\n", session.toString()); + // Performs the list session entity types request + for (SessionEntityType sessionEntityType : + sessionEntityTypesClient.listSessionEntityTypes(session).iterateAll()) { + System.out.format("\tSessionEntityType name: %s\n", sessionEntityType.getName()); + System.out.format("\tNumber of entities: %d\n", sessionEntityType.getEntitiesCount()); + } + } + } + // [END dialogflow_list_session_entity_types] + + // [START dialogflow_create_session_entity_type] + /** + * Create an entity type with the given display name + * @param projectId Project/Agent Id. + * @param sessionId Identifier of the DetectIntent session. + * @param entityValues The entity values of the session entity type. + * @param entityTypeDisplayName DISPLAY NAME of the entity type to be overridden in the session. + * @param entityOverrideMode ENTITY_OVERRIDE_MODE_OVERRIDE (default) or + * ENTITY_OVERRIDE_MODE_SUPPLEMENT + */ + public static void createSessionEntityType(String projectId, String sessionId, + List entityValues, String entityTypeDisplayName,int entityOverrideMode) + throws Exception { + // Instantiates a client + try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) { + // Set the session name using the sessionId (UUID) and projectID (my-project-id) + SessionName session = SessionName.of(projectId, sessionId); + SessionEntityTypeName name = SessionEntityTypeName.of(projectId, sessionId, + entityTypeDisplayName); + + List entities = new ArrayList<>(); + for (String entityValue : entityValues) { + entities.add(Entity.newBuilder() + .setValue(entityValue) + .addSynonyms(entityValue) + .build()); + } + + // Extends or replaces a developer entity type at the user session level (we refer to the + // entity types defined at the agent level as "developer entity types"). + SessionEntityType sessionEntityType = SessionEntityType.newBuilder() + .setName(name.toString()) + .addAllEntities(entities) + .setEntityOverrideMode(EntityOverrideMode.forNumber(entityOverrideMode)) + .build(); + + // Performs the create session entity type request + SessionEntityType response = sessionEntityTypesClient.createSessionEntityType(session, + sessionEntityType); + + System.out.format("SessionEntityType created: %s\n", response); + } + } + // [END dialogflow_create_session_entity_type] + + // [START dialogflow_delete_session_entity_type] + /** + * Delete entity type with the given entity type name + * @param projectId Project/Agent Id. + * @param sessionId Identifier of the DetectIntent session. + * @param entityTypeDisplayName DISPLAY NAME of the entity type to be overridden in the session. + */ + public static void deleteSessionEntityType(String projectId, String sessionId, + String entityTypeDisplayName) throws Exception { + // Instantiates a client + try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) { + SessionEntityTypeName name = SessionEntityTypeName.of(projectId, sessionId, + entityTypeDisplayName); + + // Performs the delete session entity type request + sessionEntityTypesClient.deleteSessionEntityType(name); + } + } + // [END dialogflow_delete_session_entity_type] + + public static void main(String[] args) throws Exception { + ArgumentParser parser = + ArgumentParsers.newFor("SessionEntityTypeManagement") + .build() + .defaultHelp(true) + .description("Create / List / Delete a SessionEntityType."); + + Subparsers subparsers = parser.addSubparsers().dest("command").title("Commands"); + + Subparser listParser = subparsers.addParser("list") + .help("mvn exec:java -DSessionEntityTypeManagement -Dexec.args='list " + + "--projectId PROJECT_ID --sessionId SESSION_ID '"); + listParser.addArgument("--projectId").help("Project/Agent Id").required(true); + listParser.addArgument("--sessionId") + .help("Identifier of the DetectIntent session").required(true); + + Subparser createParser = subparsers.addParser("create") + .help("mvn exec:java -DSessionEntityTypeManagement -Dexec.args='create " + + "--projectId PROJECT_ID --sessionId SESSION_ID " + + "--entityTypeDisplayName ENTITY_TYPE_DISPLAY_NAME " + + "--entityOverrideMode ENTITY_OVERRIDE_MODE_OVERRIDE " + + "--entityValues C D E F'"); + createParser.addArgument("--projectId").help("Project/Agent Id").required(true); + createParser.addArgument("--sessionId") + .help("Identifier of the DetectIntent session").required(true); + createParser.addArgument("--entityTypeDisplayName") + .help("The DISPLAY NAME of the entity type to be overridden in the session.t") + .required(true); + createParser.addArgument("--entityOverrideMode") + .help("ENTITY_OVERRIDE_MODE_OVERRIDE (default) or ENTITY_OVERRIDE_MODE_SUPPLEMENT") + .setDefault(1); + createParser.addArgument("--entityValues").nargs("+") + .help("The entity values of the session entity type."); + + Subparser deleteParser = subparsers.addParser("delete") + .help("mvn exec:java -DSessionEntityTypeManagement -Dexec.args='delete " + + "--sessionId SESSION_ID --projectId PROJECT_ID --contextId CONTEXT_ID'"); + deleteParser.addArgument("--projectId").help("Project/Agent Id").required(true); + deleteParser.addArgument("--sessionId") + .help("Identifier of the DetectIntent session").required(true); + deleteParser.addArgument("--entityTypeDisplayName") + .help("The DISPLAY NAME of the entity type to be overridden in the session.t") + .required(true); + + try { + Namespace namespace = parser.parseArgs(args); + + if (namespace.get("command").equals("list")) { + listSessionEntityTypes(namespace.get("projectId"), namespace.get("sessionId")); + } else if (namespace.get("command").equals("create")) { + ArrayList entityValues = new ArrayList<>(); + if (namespace.get("entityValues") != null) { + entityValues = namespace.get("entityValues"); + } + createSessionEntityType(namespace.get("projectId"), namespace.get("sessionId"), + entityValues, namespace.get("entityTypeDisplayName"), + namespace.get("entityOverrideMode")); + } else if (namespace.get("command").equals("delete")) { + deleteSessionEntityType(namespace.get("projectId"), namespace.get("sessionId"), + namespace.get("entityTypeDisplayName")); + } + } catch (ArgumentParserException e) { + parser.handleError(e); + } + } +} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/ContextManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/ContextManagementIT.java new file mode 100644 index 00000000000..fcd16806692 --- /dev/null +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/ContextManagementIT.java @@ -0,0 +1,81 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import static com.google.common.truth.Truth.assertThat; + +import java.io.ByteArrayOutputStream; +import java.io.PrintStream; +import java.util.Arrays; +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +/** + * Integration (system) tests for {@link ContextManagement}. + */ +@RunWith(JUnit4.class) +@SuppressWarnings("checkstyle:abbreviationaswordinname") +public class ContextManagementIT { + + private ByteArrayOutputStream bout; + private PrintStream out; + + private DetectIntentTexts detectIntentTexts; + private ContextManagement contextManagement; + private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); + private static String SESSION_ID = "fake_session_for_testing"; + private static String CONTEXT_ID = "fake_context_for_testing"; + + @Before + public void setUp() { + bout = new ByteArrayOutputStream(); + out = new PrintStream(bout); + System.setOut(out); + detectIntentTexts = new DetectIntentTexts(); + contextManagement = new ContextManagement(); + PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); + } + + @After + public void tearDown() { + System.setOut(null); + } + + @Test + public void testCreateDeleteContext() throws Exception { + // Calling detect intent to create a session + detectIntentTexts.detectIntentTexts(PROJECT_ID, Arrays.asList("hi"), SESSION_ID, "en-US"); + + // Create the context + contextManagement.createContext(CONTEXT_ID, SESSION_ID, PROJECT_ID, 1); + contextManagement.listContexts(SESSION_ID, PROJECT_ID); + + String got = bout.toString(); + assertThat(got).contains(CONTEXT_ID); + + // Delete the context + bout.reset(); + contextManagement.deleteContext(CONTEXT_ID, SESSION_ID, PROJECT_ID); + contextManagement.listContexts(SESSION_ID, PROJECT_ID); + + got = bout.toString(); + assertThat(got).doesNotContain(CONTEXT_ID); + } +} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDeleteEntityIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDeleteEntityIT.java new file mode 100644 index 00000000000..23ab85991d4 --- /dev/null +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDeleteEntityIT.java @@ -0,0 +1,133 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import static com.google.common.truth.Truth.assertThat; + +import java.io.ByteArrayOutputStream; +import java.io.PrintStream; +import java.util.Arrays; +import java.util.List; +import org.junit.After; +import org.junit.Before; +import org.junit.FixMethodOrder; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; +import org.junit.runners.MethodSorters; + + +/** + * Integration (system) tests for {@link EntityManagement} and {@link EntityTypeManagement}. + */ +@RunWith(JUnit4.class) +@FixMethodOrder(MethodSorters.NAME_ASCENDING) +@SuppressWarnings("checkstyle:abbreviationaswordinname") +public class CreateDeleteEntityIT { + private static String ENTITY_TYPE_DISPLAY_NAME = "fake_entity_type_for_testing"; + private static String ENTITY_VALUE_1 = "fake_entity_for_testing_1"; + private static String ENTITY_VALUE_2 = "fake_entity_for_testing_2"; + private static List SYNONYMS = Arrays.asList("fake_synonym_for_testing_1", + "fake_synonym_for_testing_2"); + + private ByteArrayOutputStream bout; + private PrintStream out; + + private EntityManagement entityManagement; + private EntityTypeManagement entityTypeManagement; + private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); + + @Before + public void setUp() { + bout = new ByteArrayOutputStream(); + out = new PrintStream(bout); + System.setOut(out); + entityManagement = new EntityManagement(); + entityTypeManagement = new EntityTypeManagement(); + } + + + @After + public void tearDown() { + System.setOut(null); + } + + @Test + public void testCreateEntityType() throws Exception { + List entityTypeIds = entityTypeManagement.getEntityTypeIds(ENTITY_TYPE_DISPLAY_NAME, + PROJECT_ID); + + assertThat(entityTypeIds.size()).isEqualTo(0); + + entityTypeManagement.createEntityType(ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID, "KIND_MAP"); + + String got = bout.toString(); + assertThat(got).contains(String.format("display_name: \"%s\"", ENTITY_TYPE_DISPLAY_NAME)); + + entityTypeIds = entityTypeManagement.getEntityTypeIds(ENTITY_TYPE_DISPLAY_NAME, + PROJECT_ID); + + assertThat(entityTypeIds.size()).isEqualTo(1); + } + + @Test + public void testCreateEntityWithCreatedEntityType() throws Exception { + List entityTypeIds = entityTypeManagement.getEntityTypeIds(ENTITY_TYPE_DISPLAY_NAME, + PROJECT_ID); + + entityManagement.createEntity(PROJECT_ID, entityTypeIds.get(0), ENTITY_VALUE_1, + Arrays.asList("")); + entityManagement.createEntity(PROJECT_ID, entityTypeIds.get(0), ENTITY_VALUE_2, SYNONYMS); + + entityManagement.listEntities(PROJECT_ID, entityTypeIds.get(0)); + + String got = bout.toString(); + assertThat(got).contains(String.format("Entity value: %s", ENTITY_VALUE_1)); + assertThat(got).contains(String.format("Entity value: %s", ENTITY_VALUE_2)); + + for (String synonym : SYNONYMS) { + assertThat(got).contains(synonym); + } + } + + @Test + public void testDeleteEntity() throws Exception { + List entityTypeIds = entityTypeManagement.getEntityTypeIds(ENTITY_TYPE_DISPLAY_NAME, + PROJECT_ID); + + entityManagement.deleteEntity(PROJECT_ID, entityTypeIds.get(0), ENTITY_VALUE_1); + entityManagement.deleteEntity(PROJECT_ID, entityTypeIds.get(0), ENTITY_VALUE_2); + + entityManagement.listEntities(PROJECT_ID, entityTypeIds.get(0)); + + String got = bout.toString(); + assertThat(got).isEqualTo(""); + } + + @Test + public void testDeleteEntityType() throws Exception { + List entityTypeIds = entityTypeManagement.getEntityTypeIds(ENTITY_TYPE_DISPLAY_NAME, + PROJECT_ID); + + for (String entityTypeId : entityTypeIds) { + entityTypeManagement.deleteEntityType(entityTypeId, PROJECT_ID); + } + + entityTypeIds = entityTypeManagement.getEntityTypeIds(ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID); + assertThat(entityTypeIds.size()).isEqualTo(0); + } +} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentAudioIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentAudioIT.java new file mode 100644 index 00000000000..bc458d6e9ae --- /dev/null +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentAudioIT.java @@ -0,0 +1,72 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import static com.google.common.truth.Truth.assertThat; + +import java.io.ByteArrayOutputStream; +import java.io.PrintStream; +import java.util.Arrays; +import java.util.List; +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +/** + * Integration (system) tests for {@link DetectIntentAudio}. + */ +@RunWith(JUnit4.class) +@SuppressWarnings("checkstyle:abbreviationaswordinname") +public class DetectIntentAudioIT { + + private ByteArrayOutputStream bout; + private PrintStream out; + private DetectIntentAudio detectIntentAudio; + private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); + private static String SESSION_ID = "fake_session_for_testing"; + private static String LANGUAGE_CODE = "en-US"; + private static List AUDIOS = Arrays.asList( + "resources/book_a_room.wav", + "resources/mountain_view.wav", + "resources/today.wav"); + + @Before + public void setUp() { + bout = new ByteArrayOutputStream(); + out = new PrintStream(bout); + System.setOut(out); + detectIntentAudio = new DetectIntentAudio(); + } + + @After + public void tearDown() { + System.setOut(null); + } + + @Test + public void testDetectIntent() throws Exception { + for (String audioFilePath : AUDIOS) { + detectIntentAudio.detectIntentAudio(PROJECT_ID, audioFilePath, SESSION_ID, LANGUAGE_CODE); + } + + String got = bout.toString(); + assertThat(got).contains("Fulfillment Text: 'What time will the meeting start?'"); + } + +} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java new file mode 100644 index 00000000000..88f3c7d613d --- /dev/null +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java @@ -0,0 +1,67 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import static com.google.common.truth.Truth.assertThat; + +import java.io.ByteArrayOutputStream; +import java.io.PrintStream; +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +/** + * Integration (system) tests for {@link DetectIntentStream}. + */ +@RunWith(JUnit4.class) +@SuppressWarnings("checkstyle:abbreviationaswordinname") +public class DetectIntentStreamIT { + + private ByteArrayOutputStream bout; + private PrintStream out; + private static String audioFilePath = "resources/book_a_room.wav"; + private DetectIntentStream detectIntentStream; + private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); + private static String SESSION_ID = "fake_session_for_testing"; + private static String LANGUAGE_CODE = "en-US"; + + @Before + public void setUp() { + bout = new ByteArrayOutputStream(); + out = new PrintStream(bout); + System.setOut(out); + detectIntentStream = new DetectIntentStream(); + } + + + @After + public void tearDown() { + System.setOut(null); + } + + + @Test + public void testStreamingDetectIntentCallable() throws Throwable { + detectIntentStream.detectIntentStream(PROJECT_ID, audioFilePath, SESSION_ID, LANGUAGE_CODE); + + String got = bout.toString(); + assertThat(got).contains("Intermediate transcript: 'book'"); + assertThat(got).contains("Detected Intent: room.reservation"); + } +} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentTextsIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentTextsIT.java new file mode 100644 index 00000000000..88213ae275b --- /dev/null +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentTextsIT.java @@ -0,0 +1,68 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import static com.google.common.truth.Truth.assertThat; + +import java.io.ByteArrayOutputStream; +import java.io.PrintStream; +import java.util.Arrays; +import java.util.List; +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +/** + * Integration (system) tests for {@link DetectIntentTexts}. + */ +@RunWith(JUnit4.class) +@SuppressWarnings("checkstyle:abbreviationaswordinname") +public class DetectIntentTextsIT { + + private ByteArrayOutputStream bout; + private DetectIntentTexts detectIntentTexts; + private PrintStream out; + private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); + private static String SESSION_ID = "fake_session_for_testing"; + private static String LANGUAGE_CODE = "en-US"; + private static List TEXTS = Arrays.asList("hello", "book a meeting room", "Mountain View", + "tomorrow", "10 am", "2 hours", "10 people", "A", "yes"); + + @Before + public void setUp() { + bout = new ByteArrayOutputStream(); + out = new PrintStream(bout); + System.setOut(out); + detectIntentTexts = new DetectIntentTexts(); + } + + @After + public void tearDown() { + System.setOut(null); + } + + @Test + public void testDetectIntent() throws Exception { + detectIntentTexts.detectIntentTexts(PROJECT_ID, TEXTS, SESSION_ID, LANGUAGE_CODE); + + String got = bout.toString(); + assertThat(got).contains("Fulfillment Text: 'All set!'"); + } + +} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithModelSelectionIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithModelSelectionIT.java new file mode 100644 index 00000000000..399f4342a9c --- /dev/null +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithModelSelectionIT.java @@ -0,0 +1,69 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import static com.google.common.truth.Truth.assertThat; + +import java.io.ByteArrayOutputStream; +import java.io.PrintStream; +import java.util.Arrays; +import java.util.List; +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +/** Integration (system) tests for {@link DetectIntentWithModelSelection}. */ +@RunWith(JUnit4.class) +@SuppressWarnings("checkstyle:abbreviationaswordinname") +public class DetectIntentWithModelSelectionIT { + + private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); + private static String SESSION_ID = "fake_session_for_testing"; + private static String LANGUAGE_CODE = "en-US"; + private static List AUDIOS = + Arrays.asList( + "resources/book_a_room.wav", "resources/mountain_view.wav", "resources/today.wav"); + private ByteArrayOutputStream bout; + private PrintStream out; + private DetectIntentWithModelSelection detectIntentWithModelSelection; + + @Before + public void setUp() { + bout = new ByteArrayOutputStream(); + out = new PrintStream(bout); + System.setOut(out); + detectIntentWithModelSelection = new DetectIntentWithModelSelection(); + } + + @After + public void tearDown() { + System.setOut(null); + } + + @Test + public void testDetectIntent() throws Exception { + for (String audioFilePath : AUDIOS) { + detectIntentWithModelSelection.detectIntentWithModelSelection( + PROJECT_ID, SESSION_ID, audioFilePath, LANGUAGE_CODE); + } + + String got = bout.toString(); + assertThat(got).contains("Fulfillment Text: 'What time will the meeting start?'"); + } +} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAnalysisIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAnalysisIT.java new file mode 100644 index 00000000000..c442fcf74bb --- /dev/null +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAnalysisIT.java @@ -0,0 +1,69 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import static com.google.common.truth.Truth.assertThat; + +import java.io.ByteArrayOutputStream; +import java.io.PrintStream; +import java.util.Arrays; +import java.util.List; +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +/** + * Integration (system) tests for {@link DetectIntentWithSentimentAnalysis}. + */ +@RunWith(JUnit4.class) +@SuppressWarnings("checkstyle:abbreviationaswordinname") +public class DetectIntentWithSentimentAnalysisIT { + + private ByteArrayOutputStream bout; + private DetectIntentWithSentimentAnalysis detectIntentWithSentimentAnalysis; + private PrintStream out; + private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); + private static String SESSION_ID = "fake_session_for_testing"; + private static String LANGUAGE_CODE = "en-US"; + private static List TEXTS = Arrays.asList("hello", "book a meeting room", "Mountain View", + "tomorrow", "10 am", "2 hours", "10 people", "A", "yes"); + + @Before + public void setUp() { + bout = new ByteArrayOutputStream(); + out = new PrintStream(bout); + System.setOut(out); + detectIntentWithSentimentAnalysis = new DetectIntentWithSentimentAnalysis(); + } + + @After + public void tearDown() { + System.setOut(null); + } + + @Test + public void testDetectIntent() throws Exception { + detectIntentWithSentimentAnalysis.detectIntentSentimentAnalysis(PROJECT_ID, TEXTS, SESSION_ID, + LANGUAGE_CODE); + + String got = bout.toString(); + assertThat(got).contains("Sentiment Score:"); + } + +} \ No newline at end of file diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponseIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponseIT.java new file mode 100644 index 00000000000..d28e2f21a64 --- /dev/null +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponseIT.java @@ -0,0 +1,75 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import static com.google.common.truth.Truth.assertThat; + +import java.io.ByteArrayOutputStream; +import java.io.PrintStream; +import java.util.Arrays; +import java.util.List; +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +/** Integration (system) tests for {@link DetectIntentWithTextToSpeechResponse}. */ +@RunWith(JUnit4.class) +@SuppressWarnings("checkstyle:abbreviationaswordinname") +public class DetectIntentWithTextToSpeechResponseIT { + + private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); + private static String SESSION_ID = "fake_session_for_testing"; + private static String LANGUAGE_CODE = "en-US"; + private static List TEXTS = + Arrays.asList( + "hello", + "book a meeting room", + "Mountain View", + "tomorrow", + "10 am", + "2 hours", + "10 people", + "A", + "yes"); + private ByteArrayOutputStream bout; + private DetectIntentWithTextToSpeechResponse detectIntentWithTextToSpeechResponse; + private PrintStream out; + + @Before + public void setUp() { + bout = new ByteArrayOutputStream(); + out = new PrintStream(bout); + System.setOut(out); + detectIntentWithTextToSpeechResponse = new DetectIntentWithTextToSpeechResponse(); + } + + @After + public void tearDown() { + System.setOut(null); + } + + @Test + public void testDetectIntent() throws Exception { + detectIntentWithTextToSpeechResponse.detectIntentWithTexttoSpeech( + PROJECT_ID, TEXTS, SESSION_ID, LANGUAGE_CODE); + + String got = bout.toString(); + assertThat(got).contains("Fulfillment Text: 'All set!'"); + } +} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/IntentManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/IntentManagementIT.java new file mode 100644 index 00000000000..251984a00c8 --- /dev/null +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/IntentManagementIT.java @@ -0,0 +1,99 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import static com.google.common.truth.Truth.assertThat; + +import java.io.ByteArrayOutputStream; +import java.io.PrintStream; +import java.util.Arrays; +import java.util.List; +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +/** + * Integration (system) tests for {@link IntentManagement}. + */ +@RunWith(JUnit4.class) +@SuppressWarnings("checkstyle:abbreviationaswordinname") +public class IntentManagementIT { + private static String INTENT_DISPLAY_NAME = "fake_display_name_for_testing"; + private static List MESSAGE_TEXTS = Arrays.asList( + "fake_message_text_for_testing_1", + "fake_message_text_for_testing_2"); + private static List TRAINING_PHRASE_PARTS = Arrays.asList( + "fake_training_phrase_part_1", + "fake_training_phrase_part_2"); + private ByteArrayOutputStream bout; + private PrintStream out; + private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); + private IntentManagement intentManagement; + + @Before + public void setUp() { + bout = new ByteArrayOutputStream(); + out = new PrintStream(bout); + System.setOut(out); + intentManagement = new IntentManagement(); + } + + + @After + public void tearDown() { + System.setOut(null); + } + + @Test + public void testCreateIntent() throws Exception { + // Create the intent + intentManagement.createIntent(INTENT_DISPLAY_NAME, PROJECT_ID, TRAINING_PHRASE_PARTS, + MESSAGE_TEXTS); + + List intentIds = intentManagement.getIntentIds(INTENT_DISPLAY_NAME, PROJECT_ID); + + assertThat(intentIds.size()).isEqualTo(1); + + intentManagement.listIntents(PROJECT_ID); + + String got = bout.toString(); + assertThat(got).contains(INTENT_DISPLAY_NAME); + for (String messageText : MESSAGE_TEXTS) { + assertThat(got).contains(messageText); + } + + // Delete the intent + bout.reset(); + intentIds = intentManagement.getIntentIds(INTENT_DISPLAY_NAME, PROJECT_ID); + + for (String intentId : intentIds) { + intentManagement.deleteIntent(intentId, PROJECT_ID); + } + + intentManagement.listIntents(PROJECT_ID); + + got = bout.toString(); + assertThat(got).doesNotContain(INTENT_DISPLAY_NAME); + + intentIds = intentManagement.getIntentIds(INTENT_DISPLAY_NAME, PROJECT_ID); + + assertThat(intentIds.size()).isEqualTo(0); + } + +} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java new file mode 100644 index 00000000000..18609814666 --- /dev/null +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java @@ -0,0 +1,134 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import static com.google.common.truth.Truth.assertThat; + +import java.io.ByteArrayOutputStream; +import java.io.PrintStream; +import java.util.Arrays; +import java.util.List; +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +/** + * Integration (system) tests for {DetectIntentKnowledge, KnowledgeManagement, DocumentManagement}. + */ +@RunWith(JUnit4.class) +@SuppressWarnings("checkstyle:abbreviationaswordinname") +public class KnowledgeBaseManagementIT { + + private ByteArrayOutputStream bout; + private DetectIntentKnowledge detectIntentKnowledge; + private KnowledgeBaseManagement knowledgeBaseManagement; + private DocumentManagement documentManagement; + private PrintStream out; + private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); + private static String SESSION_ID = "fake_session_for_testing"; + private static String LANGUAGE_CODE = "en-US"; + private static String KNOWLEDGE_BASE_NAME = "fake_knowledge_base_name"; + private static String DOCUMENT_BASE_NAME = "fake_document_name"; + private String knowledgeBaseId = ""; + private String documentId = ""; + + private static List TEXTS = Arrays.asList("Where is my data stored?"); + + @Before + public void setUp() { + bout = new ByteArrayOutputStream(); + out = new PrintStream(bout); + System.setOut(out); + detectIntentKnowledge = new DetectIntentKnowledge(); + knowledgeBaseManagement = new KnowledgeBaseManagement(); + documentManagement = new DocumentManagement(); + } + + @After + public void tearDown() { + System.setOut(null); + } + + @Test + public void testKnowledgeBase() throws Exception { + // Check the knowledge base does not yet exist + knowledgeBaseManagement.listKnowledgeBases(PROJECT_ID); + String got = bout.toString(); + assertThat(got).doesNotContain("Display Name: " + KNOWLEDGE_BASE_NAME); + + // Create a Knowledge Base + knowledgeBaseManagement.createKnowledgeBase(PROJECT_ID,KNOWLEDGE_BASE_NAME); + got = bout.toString(); + assertThat(got).contains("Display Name: " + KNOWLEDGE_BASE_NAME); + + // List Knowledge Bases + knowledgeBaseManagement.listKnowledgeBases(PROJECT_ID); + got = bout.toString(); + assertThat(got).contains("Display Name: " + KNOWLEDGE_BASE_NAME); + knowledgeBaseId = got.split("/knowledgeBases/")[2].trim(); + + // Get knowledge base + knowledgeBaseManagement.getKnowledgeBase(PROJECT_ID,knowledgeBaseId); + got = bout.toString(); + assertThat(got).contains("Display Name: " + KNOWLEDGE_BASE_NAME); + + // Create a Document + documentManagement.createDocument(PROJECT_ID,knowledgeBaseId,DOCUMENT_BASE_NAME,"text/html","FAQ","https://cloud.google.com/storage/docs/faq"); + got = bout.toString(); + assertThat(got).contains("Display Name: " + DOCUMENT_BASE_NAME); + + // List the Document + documentManagement.listDocuments(PROJECT_ID,knowledgeBaseId); + got = bout.toString(); + assertThat(got).contains("Display Name: " + DOCUMENT_BASE_NAME); + documentId = got.split("documents/")[1].split("- MIME Type")[0].trim(); + + // Get the Document + documentManagement.getDocument(PROJECT_ID,knowledgeBaseId,documentId); + got = bout.toString(); + assertThat(got).contains("Display Name: " + DOCUMENT_BASE_NAME); + + // Detect Intent with Knowledge Base + detectIntentKnowledge.detectIntentKnowledge(PROJECT_ID, knowledgeBaseId,SESSION_ID, + LANGUAGE_CODE, TEXTS); + got = bout.toString(); + assertThat(got).contains("Knowledge results"); + + // Delete the Document + bout.reset(); + documentManagement.deleteDocument(PROJECT_ID,knowledgeBaseId,documentId); + got = bout.toString(); + assertThat(got).contains("The document has been deleted."); + + // List the Document + documentManagement.listDocuments(PROJECT_ID,knowledgeBaseId); + got = bout.toString(); + assertThat(got).doesNotContain("Display Name: " + DOCUMENT_BASE_NAME); + + // Delete the Knowledge Base + knowledgeBaseManagement.deleteKnowledgeBase(PROJECT_ID,knowledgeBaseId); + + // List Knowledge Bases + knowledgeBaseManagement.listKnowledgeBases(PROJECT_ID); + got = bout.toString(); + assertThat(got).doesNotContain("Display Name: " + KNOWLEDGE_BASE_NAME); + + } + +} \ No newline at end of file diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/SessionEntityTypeManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/SessionEntityTypeManagementIT.java new file mode 100644 index 00000000000..a4f9edf480f --- /dev/null +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/SessionEntityTypeManagementIT.java @@ -0,0 +1,101 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import static com.google.common.truth.Truth.assertThat; + +import java.io.ByteArrayOutputStream; +import java.io.PrintStream; +import java.util.Arrays; +import java.util.List; +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +/** + * Integration (system) tests for {@link SessionEntityTypeManagement}. + */ +@RunWith(JUnit4.class) +@SuppressWarnings("checkstyle:abbreviationaswordinname") +public class SessionEntityTypeManagementIT { + private static String SESSION_ID = "fake_session_for_testing"; + private static String ENTITY_TYPE_DISPLAY_NAME = "fake_display_name_for_testing"; + private static List ENTITY_VALUES = Arrays.asList("fake_entity_value_1", + "fake_entity_value_2"); + private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); + private ByteArrayOutputStream bout; + private PrintStream out; + + private SessionEntityTypeManagement sessionEntityTypeManagement; + private EntityTypeManagement entityTypeManagement; + + @Before + public void setUp() { + bout = new ByteArrayOutputStream(); + out = new PrintStream(bout); + System.setOut(out); + sessionEntityTypeManagement = new SessionEntityTypeManagement(); + entityTypeManagement = new EntityTypeManagement(); + } + + + @After + public void tearDown() { + System.setOut(null); + } + + + @Test + public void testCreateDeleteSessionEntityType() throws Exception { + // Create session entity type + entityTypeManagement.createEntityType(ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID, "KIND_MAP"); + + sessionEntityTypeManagement.createSessionEntityType(PROJECT_ID, SESSION_ID, ENTITY_VALUES, + ENTITY_TYPE_DISPLAY_NAME, 1); + + sessionEntityTypeManagement.listSessionEntityTypes(PROJECT_ID, SESSION_ID); + + String got = bout.toString(); + assertThat(got).contains(SESSION_ID); + assertThat(got).contains(ENTITY_TYPE_DISPLAY_NAME); + for (String entityValue : ENTITY_VALUES) { + assertThat(got).contains(entityValue); + } + + // Delete session entity type + bout.reset(); + sessionEntityTypeManagement.deleteSessionEntityType(PROJECT_ID, SESSION_ID, + ENTITY_TYPE_DISPLAY_NAME); + + sessionEntityTypeManagement.listSessionEntityTypes(PROJECT_ID, SESSION_ID); + + got = bout.toString(); + assertThat(got).doesNotContain(ENTITY_TYPE_DISPLAY_NAME); + for (String entityValue : ENTITY_VALUES) { + assertThat(got).doesNotContain(entityValue); + } + + List entityTypesIds = entityTypeManagement.getEntityTypeIds(ENTITY_TYPE_DISPLAY_NAME, + PROJECT_ID); + + for (String entityTypeId : entityTypesIds) { + entityTypeManagement.deleteEntityType(entityTypeId, PROJECT_ID); + } + } +} From 9c50376ee3cf96cc3f49e82515fefc9d794300f7 Mon Sep 17 00:00:00 2001 From: Dane Zeke Liergaard Date: Thu, 27 Sep 2018 16:35:13 -0700 Subject: [PATCH 024/178] samples: Fix DialogFlow tests and update to canonical sample format. (#1210) --- .../example/dialogflow/ContextManagement.java | 95 +++------- .../example/dialogflow/DetectIntentAudio.java | 56 ++---- .../dialogflow/DetectIntentKnowledge.java | 83 +++------ .../dialogflow/DetectIntentStream.java | 56 ++---- .../example/dialogflow/DetectIntentTexts.java | 64 ++----- .../DetectIntentWithModelSelection.java | 59 ++---- .../DetectIntentWithSentimentAnalysis.java | 67 ++----- .../DetectIntentWithTextToSpeechResponse.java | 70 ++------ .../dialogflow/DocumentManagement.java | 147 ++++----------- .../example/dialogflow/EntityManagement.java | 106 +++-------- .../dialogflow/EntityTypeManagement.java | 82 +++------ .../example/dialogflow/IntentManagement.java | 105 +++-------- .../dialogflow/KnowledgeBaseManagement.java | 97 +++------- .../SessionEntityTypeManagement.java | 124 ++++--------- .../dialogflow/ContextManagementIT.java | 58 +++--- .../dialogflow/DetectIntentAudioIT.java | 72 -------- .../dialogflow/DetectIntentStreamIT.java | 31 ++-- .../dialogflow/DetectIntentTextsIT.java | 68 ------- ...ectIntentWithAudioAndModelSelectionIT.java | 111 ++++++++++++ .../DetectIntentWithModelSelectionIT.java | 69 ------- .../DetectIntentWithSentimentAnalysisIT.java | 69 ------- ...tIntentWithSentimentAndTextToSpeechIT.java | 94 ++++++++++ ...etectIntentWithTextToSpeechResponseIT.java | 75 -------- ...eEntityIT.java => EntityManagementIT.java} | 86 +++++---- .../dialogflow/IntentManagementIT.java | 66 +++---- .../dialogflow/KnowledgeBaseManagementIT.java | 169 +++++++++++------- .../SessionEntityTypeManagementIT.java | 76 ++++---- 27 files changed, 771 insertions(+), 1484 deletions(-) delete mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentAudioIT.java delete mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentTextsIT.java create mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioAndModelSelectionIT.java delete mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithModelSelectionIT.java delete mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAnalysisIT.java create mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java delete mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponseIT.java rename dialogflow/snippets/src/test/java/com/example/dialogflow/{CreateDeleteEntityIT.java => EntityManagementIT.java} (52%) diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/ContextManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/ContextManagement.java index 0f72988fb1f..a1658629208 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/ContextManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/ContextManagement.java @@ -17,41 +17,38 @@ package com.example.dialogflow; // Imports the Google Cloud client library + import com.google.cloud.dialogflow.v2.Context; import com.google.cloud.dialogflow.v2.ContextName; import com.google.cloud.dialogflow.v2.ContextsClient; import com.google.cloud.dialogflow.v2.SessionName; +import com.google.common.collect.Lists; import com.google.protobuf.Value; +import java.util.List; import java.util.Map.Entry; -import net.sourceforge.argparse4j.ArgumentParsers; -import net.sourceforge.argparse4j.inf.ArgumentParser; -import net.sourceforge.argparse4j.inf.ArgumentParserException; -import net.sourceforge.argparse4j.inf.MutuallyExclusiveGroup; -import net.sourceforge.argparse4j.inf.Namespace; -import net.sourceforge.argparse4j.inf.Subparser; -import net.sourceforge.argparse4j.inf.Subparsers; - /** * DialogFlow API Context sample. */ public class ContextManagement { - // [START dialogflow_list_contexts] + /** * Lists contexts + * * @param sessionId Identifier of the DetectIntent session. * @param projectId Project/Agent Id. + * @return List of Contexts found. */ - public static void listContexts(String sessionId, String projectId) throws Exception { + public static List listContexts(String sessionId, String projectId) throws Exception { + List contexts = Lists.newArrayList(); // Instantiates a client try (ContextsClient contextsClient = ContextsClient.create()) { // Set the session name using the sessionId (UUID) and projectId (my-project-id) SessionName session = SessionName.of(projectId, sessionId); // Performs the list contexts request - System.out.format("Contexts for session %s:\n", session.toString()); for (Context context : contextsClient.listContexts(session).iterateAll()) { System.out.format("Context name: %s\n", context.getName()); System.out.format("Lifespan Count: %d\n", context.getLifespanCount()); @@ -61,20 +58,29 @@ public static void listContexts(String sessionId, String projectId) throws Excep System.out.format("\t%s: %s\n", entry.getKey(), entry.getValue()); } } + + contexts.add(context); } } + return contexts; } // [END dialogflow_list_contexts] // [START dialogflow_create_context] + /** * Create an entity type with the given display name - * @param contextId The Id of the context. - * @param sessionId Identifier of the DetectIntent session. + * + * @param contextId The Id of the context. + * @param sessionId Identifier of the DetectIntent session. * @param lifespanCount The lifespan count of the context. - * @param projectId Project/Agent Id. + * @param projectId Project/Agent Id. + * @return The new Context. */ - public static void createContext(String contextId, String sessionId, String projectId, + public static Context createContext( + String contextId, + String sessionId, + String projectId, int lifespanCount) throws Exception { // Instantiates a client try (ContextsClient contextsClient = ContextsClient.create()) { @@ -97,13 +103,17 @@ public static void createContext(String contextId, String sessionId, String proj // Performs the create context request Context response = contextsClient.createContext(session, context); System.out.format("Context created: %s\n", response); + + return response; } } // [END dialogflow_create_context] // [START dialogflow_delete_context] + /** * Delete entity type with the given entity type name + * * @param contextId The Id of the context. * @param sessionId Identifier of the DetectIntent session. * @param projectId Project/Agent Id. @@ -119,59 +129,4 @@ public static void deleteContext(String contextId, String sessionId, String proj } } // [END dialogflow_delete_context] - - public static void main(String[] args) throws Exception { - ArgumentParser parser = - ArgumentParsers.newFor("ContextManagement") - .build() - .defaultHelp(true) - .description("Create / List / Delete a context."); - - Subparsers subparsers = parser.addSubparsers().dest("command").title("Commands"); - - Subparser listParser = subparsers.addParser("list") - .help("mvn exec:java -DContextManagement -Dexec.args='list --sessionId SESSION_ID " - + "--projectId PROJECT_ID'"); - listParser.addArgument("--sessionId") - .help("Identifier of the DetectIntent session").required(true); - listParser.addArgument("--projectId").help("Project/Agent Id").required(true); - - Subparser createParser = subparsers.addParser("create") - .help("mvn exec:java -DContextManagement -Dexec.args='create --sessionId SESSION_ID " - + "--projectId PROJECT_ID --contextId CONTEXT_ID'"); - createParser.addArgument("--sessionId") - .help("Identifier of the DetectIntent session").required(true); - createParser.addArgument("--projectId").help("Project/Agent Id").required(true); - createParser.addArgument("--contextId") - .help("The Id of the context") - .required(true); - createParser.addArgument("--lifespanCount") - .help("The lifespan count of the context (Default: 1)").setDefault(1); - - Subparser deleteParser = subparsers.addParser("delete") - .help("mvn exec:java -DContextManagement -Dexec.args='delete --sessionId SESSION_ID " - + "--projectId PROJECT_ID --contextId CONTEXT_ID'"); - deleteParser.addArgument("--sessionId") - .help("Identifier of the DetectIntent session").required(true); - deleteParser.addArgument("--projectId").help("Project/Agent Id").required(true); - deleteParser.addArgument("--contextId") - .help("The Id of the context") - .required(true); - - try { - Namespace namespace = parser.parseArgs(args); - - if (namespace.get("command").equals("list")) { - listContexts(namespace.get("sessionId"), namespace.get("projectId")); - } else if (namespace.get("command").equals("create")) { - createContext(namespace.get("contextId"), namespace.get("sessionId"), - namespace.get("projectId"), namespace.get("lifespanCount")); - } else if (namespace.get("command").equals("delete")) { - deleteContext(namespace.get("contextId"), namespace.get("sessionId"), - namespace.get("projectId")); - } - } catch (ArgumentParserException e) { - parser.handleError(e); - } - } } diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentAudio.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentAudio.java index c5d0c9a6fe8..6e3efd9d632 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentAudio.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentAudio.java @@ -17,6 +17,7 @@ package com.example.dialogflow; // Imports the Google Cloud client library + import com.google.cloud.dialogflow.v2.AudioEncoding; import com.google.cloud.dialogflow.v2.DetectIntentRequest; import com.google.cloud.dialogflow.v2.DetectIntentResponse; @@ -29,29 +30,29 @@ import java.nio.file.Files; import java.nio.file.Paths; -import java.util.UUID; -import net.sourceforge.argparse4j.ArgumentParsers; -import net.sourceforge.argparse4j.inf.ArgumentParser; -import net.sourceforge.argparse4j.inf.ArgumentParserException; -import net.sourceforge.argparse4j.inf.Namespace; /** * DialogFlow API Detect Intent sample with audio files. */ public class DetectIntentAudio { - // [START dialogflow_detect_intent_audio] + /** * Returns the result of detect intent with an audio file as input. * * Using the same `session_id` between requests allows continuation of the conversation. - * @param projectId Project/Agent Id. + * + * @param projectId Project/Agent Id. * @param audioFilePath Path to the audio file. - * @param sessionId Identifier of the DetectIntent session. - * @param languageCode Language code of the query. + * @param sessionId Identifier of the DetectIntent session. + * @param languageCode Language code of the query. + * @return QueryResult for the request. */ - public static void detectIntentAudio(String projectId, String audioFilePath, String sessionId, + public static QueryResult detectIntentAudio( + String projectId, + String audioFilePath, + String sessionId, String languageCode) throws Exception { // Instantiates a client @@ -95,40 +96,9 @@ public static void detectIntentAudio(String projectId, String audioFilePath, Str System.out.format("Detected Intent: %s (confidence: %f)\n", queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); - } - } - // [END dialogflow_detect_intent_audio] - public static void main(String[] args) throws Exception { - ArgumentParser parser = - ArgumentParsers.newFor("DetectIntentAudio") - .build() - .defaultHelp(true) - .description("Returns the result of detect intent with an audio file as input.\n" - + "mvn exec:java -DDetectIntentAudio -Dexec.args='--projectId PROJECT_ID " - + "--audioFilePath resources/book_a_room.wav --sessionId SESSION_ID'"); - - parser.addArgument("--projectId").help("Project/Agent Id").required(true); - - parser.addArgument("--audioFilePath") - .help("Path to the audio file") - .required(true); - - parser.addArgument("--sessionId") - .help("Identifier of the DetectIntent session (Default: UUID.)") - .setDefault(UUID.randomUUID().toString()); - - parser.addArgument("--languageCode") - .help("Language Code of the query (Default: en-US") - .setDefault("en-US"); - - try { - Namespace namespace = parser.parseArgs(args); - - detectIntentAudio(namespace.get("projectId"), namespace.get("audioFilePath"), - namespace.get("sessionId"), namespace.get("languageCode")); - } catch (ArgumentParserException e) { - parser.handleError(e); + return queryResult; } } + // [END dialogflow_detect_intent_audio] } diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java index 854803d964e..5205337bcb7 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java @@ -16,13 +16,12 @@ package com.example.dialogflow; - // Imports the Google Cloud client library + import com.google.cloud.dialogflow.v2beta1.DetectIntentRequest; import com.google.cloud.dialogflow.v2beta1.DetectIntentResponse; import com.google.cloud.dialogflow.v2beta1.KnowledgeAnswers; import com.google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer; -import com.google.cloud.dialogflow.v2beta1.KnowledgeBaseName; import com.google.cloud.dialogflow.v2beta1.QueryInput; import com.google.cloud.dialogflow.v2beta1.QueryParameters; import com.google.cloud.dialogflow.v2beta1.QueryResult; @@ -30,38 +29,37 @@ import com.google.cloud.dialogflow.v2beta1.SessionsClient; import com.google.cloud.dialogflow.v2beta1.TextInput; import com.google.cloud.dialogflow.v2beta1.TextInput.Builder; +import com.google.common.collect.Maps; import java.util.List; -import java.util.UUID; -import net.sourceforge.argparse4j.ArgumentParsers; -import net.sourceforge.argparse4j.inf.ArgumentParser; -import net.sourceforge.argparse4j.inf.ArgumentParserException; -import net.sourceforge.argparse4j.inf.Namespace; - +import java.util.Map; -/** DialogFlow API Detect Intent sample with querying knowledge connector. */ +/** + * DialogFlow API Detect Intent sample with querying knowledge connector. + */ public class DetectIntentKnowledge { - // [START dialogflow_detect_intent_knowledge] + /** * Returns the result of detect intent with text as input. * *

Using the same `session_id` between requests allows continuation of the conversation. * - * @param projectId Project/Agent Id. - * @param knowledgeBaseId Knowledge base Id. - * @param sessionId Identifier of the DetectIntent session. - * @param languageCode Language code of the query. - * @param texts The texts to be processed. + * @param projectId Project/Agent Id. + * @param knowledgeBaseName Knowledge base Id. + * @param sessionId Identifier of the DetectIntent session. + * @param languageCode Language code of the query. + * @param texts The texts to be processed. + * @return The KnowledgeAnswers found for each text. */ - public static void detectIntentKnowledge( + public static Map detectIntentKnowledge( String projectId, - String knowledgeBaseId, + String knowledgeBaseName, String sessionId, String languageCode, - List texts) - throws Exception { + List texts) throws Exception { // Instantiates a client + Map allKnowledgeAnswers = Maps.newHashMap(); try (SessionsClient sessionsClient = SessionsClient.create()) { // Set the session name using the sessionId (UUID) and projectID (my-project-id) SessionName session = SessionName.of(projectId, sessionId); @@ -74,10 +72,9 @@ public static void detectIntentKnowledge( // Build the query with the TextInput QueryInput queryInput = QueryInput.newBuilder().setText(textInput).build(); - KnowledgeBaseName knowledgeBaseName = KnowledgeBaseName.of(projectId, knowledgeBaseId); QueryParameters queryParameters = QueryParameters.newBuilder() - .addKnowledgeBaseNames(knowledgeBaseName.toString()) + .addKnowledgeBaseNames(knowledgeBaseName) .build(); DetectIntentRequest detectIntentRequest = @@ -104,48 +101,12 @@ public static void detectIntentKnowledge( System.out.format(" - Answer: '%s'\n", answer.getAnswer()); System.out.format(" - Confidence: '%s'\n", answer.getMatchConfidence()); } + + KnowledgeAnswers answers = queryResult.getKnowledgeAnswers(); + allKnowledgeAnswers.put(text, answers); } } + return allKnowledgeAnswers; } // [END dialogflow_detect_intent_knowledge] - - public static void main(String[] args) throws Exception { - ArgumentParser parser = - ArgumentParsers.newFor("DetectIntentKnowledge") - .build() - .defaultHelp(true) - .description("Returns the result of detect intent with text as input for a Knowledge " - + "Base.\n" - + "mvn exec:java -DDetectIntentKnowledge -Dexec.args=\"--projectId PROJECT_ID " - + "--knowledgeBaseId KNOWLEDGE_BASE_ID -sessionId SESSION_ID " - + "'Where can I find pricing information?'\"\n"); - - parser.addArgument("--projectId").help("Project/Agent Id").required(true); - - parser.addArgument("--knowledgeBaseId") - .help("The ID of the Knowledge Base") - .required(true); - - parser.addArgument("--sessionId") - .help("Identifier of the DetectIntent session (Default: UUID.)") - .setDefault(UUID.randomUUID().toString()); - - parser.addArgument("--languageCode") - .help("Language Code of the query (Default: en-US") - .setDefault("en-US"); - - parser.addArgument("texts") - .nargs("+") - .help("Text: 'Where can I find pricing information?'") - .required(true); - - try { - Namespace namespace = parser.parseArgs(args); - - detectIntentKnowledge(namespace.get("projectId"), namespace.get("knowledgeBaseId"), - namespace.get("sessionId"), namespace.get("languageCode"), namespace.get("texts")); - } catch (ArgumentParserException e) { - parser.handleError(e); - } - } } diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentStream.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentStream.java index 2594b1bfb34..b531fd180d3 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentStream.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentStream.java @@ -33,30 +33,29 @@ import java.io.FileInputStream; import java.util.ArrayList; import java.util.List; -import java.util.UUID; import java.util.concurrent.CountDownLatch; -import net.sourceforge.argparse4j.ArgumentParsers; -import net.sourceforge.argparse4j.inf.ArgumentParser; -import net.sourceforge.argparse4j.inf.ArgumentParserException; -import net.sourceforge.argparse4j.inf.Namespace; - /** * DialogFlow API Detect Intent sample with audio files processes as an audio stream. */ public class DetectIntentStream { - // [START dialogflow_detect_intent_streaming] + /** * Returns the result of detect intent with streaming audio as input. * * Using the same `session_id` between requests allows continuation of the conversation. - * @param projectId Project/Agent Id. + * + * @param projectId Project/Agent Id. * @param audioFilePath The audio file to be processed. - * @param sessionId Identifier of the DetectIntent session. - * @param languageCode Language code of the query. + * @param sessionId Identifier of the DetectIntent session. + * @param languageCode Language code of the query. + * @return The List of StreamingDetectIntentResponses to the input audio inputs. */ - public static void detectIntentStream(String projectId, String audioFilePath, String sessionId, + public static List detectIntentStream( + String projectId, + String audioFilePath, + String sessionId, String languageCode) throws Throwable { // Start bi-directional StreamingDetectIntent stream. final CountDownLatch notification = new CountDownLatch(1); @@ -159,40 +158,9 @@ public void onCompleted() { System.out.format("Detected Intent: %s (confidence: %f)\n", queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); - } - } - // [END dialogflow_detect_intent_streaming] - public static void main(String[] args) throws Throwable { - ArgumentParser parser = - ArgumentParsers.newFor("DetectIntentStream") - .build() - .defaultHelp(true) - .description("Returns the result of detect intent with streaming audio as input.\n" - + "mvn exec:java -DDetectIntentStream -Dexec.args='--projectId PROJECT_ID " - + "--audioFilePath resources/book_a_room.wav --sessionId SESSION_ID'"); - - parser.addArgument("--projectId").help("Project/Agent Id").required(true); - - parser.addArgument("--audioFilePath") - .help("Path to the audio file") - .required(true); - - parser.addArgument("--sessionId") - .help("Identifier of the DetectIntent session (Default: UUID.)") - .setDefault(UUID.randomUUID().toString()); - - parser.addArgument("--languageCode") - .help("Language Code of the query (Default: en-US") - .setDefault("en-US"); - - try { - Namespace namespace = parser.parseArgs(args); - - detectIntentStream(namespace.get("projectId"), namespace.get("audioFilePath"), - namespace.get("sessionId"), namespace.get("languageCode")); - } catch (ArgumentParserException e) { - parser.handleError(e); + return responses; } } + // [END dialogflow_detect_intent_streaming] } diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java index 388147fa231..19cad13bb3e 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java @@ -17,6 +17,7 @@ package com.example.dialogflow; // Imports the Google Cloud client library + import com.google.cloud.dialogflow.v2.DetectIntentResponse; import com.google.cloud.dialogflow.v2.QueryInput; import com.google.cloud.dialogflow.v2.QueryResult; @@ -24,32 +25,34 @@ import com.google.cloud.dialogflow.v2.SessionsClient; import com.google.cloud.dialogflow.v2.TextInput; import com.google.cloud.dialogflow.v2.TextInput.Builder; +import com.google.common.collect.Maps; import java.util.List; -import java.util.UUID; -import net.sourceforge.argparse4j.ArgumentParsers; -import net.sourceforge.argparse4j.inf.ArgumentParser; -import net.sourceforge.argparse4j.inf.ArgumentParserException; -import net.sourceforge.argparse4j.inf.Namespace; - +import java.util.Map; /** * DialogFlow API Detect Intent sample with text inputs. */ public class DetectIntentTexts { - // [START dialogflow_detect_intent_text] + /** * Returns the result of detect intent with texts as inputs. * * Using the same `session_id` between requests allows continuation of the conversation. - * @param projectId Project/Agent Id. - * @param texts The text intents to be detected based on what a user says. - * @param sessionId Identifier of the DetectIntent session. + * + * @param projectId Project/Agent Id. + * @param texts The text intents to be detected based on what a user says. + * @param sessionId Identifier of the DetectIntent session. * @param languageCode Language code of the query. + * @return The QueryResult for each input text. */ - public static void detectIntentTexts(String projectId, List texts, String sessionId, + public static Map detectIntentTexts( + String projectId, + List texts, + String sessionId, String languageCode) throws Exception { + Map queryResults = Maps.newHashMap(); // Instantiates a client try (SessionsClient sessionsClient = SessionsClient.create()) { // Set the session name using the sessionId (UUID) and projectID (my-project-id) @@ -75,44 +78,11 @@ public static void detectIntentTexts(String projectId, List texts, Strin System.out.format("Detected Intent: %s (confidence: %f)\n", queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); + + queryResults.put(text, queryResult); } } + return queryResults; } // [END dialogflow_detect_intent_text] - - public static void main(String[] args) throws Exception { - ArgumentParser parser = - ArgumentParsers.newFor("DetectIntentTexts") - .build() - .defaultHelp(true) - .description("Returns the result of detect intent with text as input for a Knowledge " - + "Base.\n" - + "mvn exec:java -DDetectIntentTexts -Dexec.args=\"--projectId PROJECT_ID " - + "--sessionId SESSION_ID 'hello' 'book a meeting room' 'Mountain View' 'tomorrow' " - + "'10 am' '2 hours' '10 people' 'A' 'yes'\"\n"); - - parser.addArgument("--projectId").help("Project/Agent Id").required(true); - - parser.addArgument("--sessionId") - .help("Identifier of the DetectIntent session (Default: UUID.)") - .setDefault(UUID.randomUUID().toString()); - - parser.addArgument("--languageCode") - .help("Language Code of the query (Default: en-US") - .setDefault("en-US"); - - parser.addArgument("texts") - .nargs("+") - .help("Text: 'Where can I find pricing information?'") - .required(true); - - try { - Namespace namespace = parser.parseArgs(args); - - detectIntentTexts(namespace.get("projectId"), namespace.get("texts"), - namespace.get("sessionId"), namespace.get("languageCode")); - } catch (ArgumentParserException e) { - parser.handleError(e); - } - } } diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithModelSelection.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithModelSelection.java index e4b842a45d6..f7dd04657ae 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithModelSelection.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithModelSelection.java @@ -28,28 +28,26 @@ import java.nio.file.Files; import java.nio.file.Paths; -import java.util.UUID; -import net.sourceforge.argparse4j.ArgumentParsers; -import net.sourceforge.argparse4j.inf.ArgumentParser; -import net.sourceforge.argparse4j.inf.ArgumentParserException; -import net.sourceforge.argparse4j.inf.Namespace; public class DetectIntentWithModelSelection { - // [START dialogflow_detect_intent_with_model_selection] + /** * Returns the result of detect intent with an audio file as input. * *

Using the same `session_id` between requests allows continuation of the conversation. * - * @param projectId Project/Agent Id. + * @param projectId Project/Agent Id. * @param audioFilePath Path to the audio file. - * @param sessionId Identifier of the DetectIntent session. - * @param languageCode Language code of the query. + * @param sessionId Identifier of the DetectIntent session. + * @param languageCode Language code of the query. + * @return The QueryResult for the audio query. */ - public static void detectIntentWithModelSelection( - String projectId, String sessionId, String audioFilePath, String languageCode) - throws Exception { + public static QueryResult detectIntentWithModelSelection( + String projectId, + String audioFilePath, + String sessionId, + String languageCode) throws Exception { // Instantiates a client try (SessionsClient sessionsClient = SessionsClient.create()) { // Set the session name using the sessionId (UUID) and projectID (my-project-id) @@ -95,42 +93,9 @@ public static void detectIntentWithModelSelection( "Detected Intent: %s (confidence: %f)\n", queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); - } - } - // [END dialogflow_detect_intent_with_model_selection] - - - public static void main(String[] args) throws Exception { - ArgumentParser parser = - ArgumentParsers.newFor("DetectIntentWithModelSelection") - .build() - .defaultHelp(true) - .description("Returns the result of detect intent with an audio file as input.\n" - + "mvn exec:java -DDetectIntentWithModelSelection -Dexec.args='--projectId " - + "PROJECT_ID --audioFilePath resources/book_a_room.wav --sessionId SESSION_ID'"); - parser.addArgument("--projectId").help("Project/Agent Id").required(true); - - parser.addArgument("--audioFilePath") - .help("Path to the audio file") - .required(true); - - parser.addArgument("--sessionId") - .help("Identifier of the DetectIntent session (Default: UUID.)") - .setDefault(UUID.randomUUID().toString()); - - parser.addArgument("--languageCode") - .help("Language Code of the query (Default: en-US") - .setDefault("en-US"); - - try { - Namespace namespace = parser.parseArgs(args); - - detectIntentWithModelSelection(namespace.get("projectId"), namespace.get("audioFilePath"), - namespace.get("sessionId"), namespace.get("languageCode")); - } catch (ArgumentParserException e) { - parser.handleError(e); + return queryResult; } } - + // [END dialogflow_detect_intent_with_model_selection] } diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java index 4194074e716..b75e1a541cd 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java @@ -26,30 +26,31 @@ import com.google.cloud.dialogflow.v2beta1.SessionsClient; import com.google.cloud.dialogflow.v2beta1.TextInput; import com.google.cloud.dialogflow.v2beta1.TextInput.Builder; +import com.google.common.collect.Maps; import java.util.List; -import java.util.UUID; -import net.sourceforge.argparse4j.ArgumentParsers; -import net.sourceforge.argparse4j.inf.ArgumentParser; -import net.sourceforge.argparse4j.inf.ArgumentParserException; -import net.sourceforge.argparse4j.inf.Namespace; +import java.util.Map; public class DetectIntentWithSentimentAnalysis { - // [START dialogflow_detect_intent_with_sentiment_analysis] + /** * Returns the result of detect intent with texts as inputs. * *

Using the same `session_id` between requests allows continuation of the conversation. * - * @param projectId Project/Agent Id. - * @param texts The text intents to be detected based on what a user says. - * @param sessionId Identifier of the DetectIntent session. + * @param projectId Project/Agent Id. + * @param texts The text intents to be detected based on what a user says. + * @param sessionId Identifier of the DetectIntent session. * @param languageCode Language code of the query. + * @return The QueryResult for each text in query. */ - public static void detectIntentSentimentAnalysis( - String projectId, List texts, String sessionId, String languageCode) - throws Exception { + public static Map detectIntentSentimentAnalysis( + String projectId, + List texts, + String sessionId, + String languageCode) throws Exception { + Map queryResults = Maps.newHashMap(); // Instantiates a client try (SessionsClient sessionsClient = SessionsClient.create()) { // Set the session name using the sessionId (UUID) and projectID (my-project-id) @@ -94,47 +95,11 @@ public static void detectIntentSentimentAnalysis( System.out.format( "Sentiment Score: '%s'\n", queryResult.getSentimentAnalysisResult().getQueryTextSentiment().getScore()); + + queryResults.put(text, queryResult); } } + return queryResults; } // [END dialogflow_detect_intent_with_sentiment_analysis] - - - public static void main(String[] args) throws Exception { - ArgumentParser parser = - ArgumentParsers.newFor("DetectIntentWithSentimentAnalysis") - .build() - .defaultHelp(true) - .description("Returns the result of detect intent with text as input" - + "Base.\n" - + "mvn exec:java -DDetectIntentWithSentimentAnalysis -Dexec.args=\"--projectId " - + "PROJECT_ID --sessionId SESSION_ID 'hello' 'book a meeting room' 'Mountain View' " - + "'tomorrow' '10 am' '2 hours' '10 people' 'A' 'yes'\"\n"); - - parser.addArgument("--projectId").help("Project/Agent Id").required(true); - - parser.addArgument("--sessionId") - .help("Identifier of the DetectIntent session (Default: UUID.)") - .setDefault(UUID.randomUUID().toString()); - - parser.addArgument("--languageCode") - .help("Language Code of the query (Default: en-US") - .setDefault("en-US"); - - parser.addArgument("texts") - .nargs("+") - .help("Text: 'Where can I find pricing information?'") - .required(true); - - try { - Namespace namespace = parser.parseArgs(args); - - detectIntentSentimentAnalysis(namespace.get("projectId"), namespace.get("texts"), - namespace.get("sessionId"), namespace.get("languageCode")); - } catch (ArgumentParserException e) { - parser.handleError(e); - } - } - - } diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java index c6acfd84922..da053d1017d 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java @@ -26,30 +26,31 @@ import com.google.cloud.dialogflow.v2beta1.SessionsClient; import com.google.cloud.dialogflow.v2beta1.TextInput; import com.google.cloud.dialogflow.v2beta1.TextInput.Builder; +import com.google.common.collect.Maps; import java.util.List; -import java.util.UUID; -import net.sourceforge.argparse4j.ArgumentParsers; -import net.sourceforge.argparse4j.inf.ArgumentParser; -import net.sourceforge.argparse4j.inf.ArgumentParserException; -import net.sourceforge.argparse4j.inf.Namespace; +import java.util.Map; public class DetectIntentWithTextToSpeechResponse { - // [START dialogflow_detect_intent_with_texttospeech_response] + /** * Returns the result of detect intent with texts as inputs. * *

Using the same `session_id` between requests allows continuation of the conversation. * - * @param projectId Project/Agent Id. - * @param texts The text intents to be detected based on what a user says. - * @param sessionId Identifier of the DetectIntent session. + * @param projectId Project/Agent Id. + * @param texts The text intents to be detected based on what a user says. + * @param sessionId Identifier of the DetectIntent session. * @param languageCode Language code of the query. + * @return The QueryResult for each input text. */ - public static void detectIntentWithTexttoSpeech( - String projectId, List texts, String sessionId, String languageCode) - throws Exception { + public static Map detectIntentWithTexttoSpeech( + String projectId, + List texts, + String sessionId, + String languageCode) throws Exception { + Map queryResults = Maps.newHashMap(); // Instantiates a client try (SessionsClient sessionsClient = SessionsClient.create()) { // Set the session name using the sessionId (UUID) and projectID (my-project-id) @@ -81,8 +82,6 @@ public static void detectIntentWithTexttoSpeech( .build(); // Performs the detect intent request - // DetectIntentResponse response = sessionsClient.detectIntent(session, - // queryInput,outputAudioConfig); DetectIntentResponse response = sessionsClient.detectIntent(dr); // Display the query result @@ -94,48 +93,11 @@ public static void detectIntentWithTexttoSpeech( "Detected Intent: %s (confidence: %f)\n", queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); + + queryResults.put(text, queryResult); } } + return queryResults; } - // [END dialogflow_detect_intent_with_texttospeech_response] - - - public static void main(String[] args) throws Exception { - ArgumentParser parser = - ArgumentParsers.newFor("DetectIntentWithTextToSpeechResponse") - .build() - .defaultHelp(true) - .description("Returns the result of detect intent with text as input" - + "Base.\n" - + "mvn exec:java -DDetectIntentWithTTSResponses -Dexec.args=\"--projectId " - + "PROJECT_ID --sessionId SESSION_ID 'hello' 'book a meeting room' 'Mountain View' " - + "'tomorrow' '10 am' '2 hours' '10 people' 'A' 'yes'\"\n"); - - parser.addArgument("--projectId").help("Project/Agent Id").required(true); - - parser.addArgument("--sessionId") - .help("Identifier of the DetectIntent session (Default: UUID.)") - .setDefault(UUID.randomUUID().toString()); - - parser.addArgument("--languageCode") - .help("Language Code of the query (Default: en-US") - .setDefault("en-US"); - - parser.addArgument("texts") - .nargs("+") - .help("Text: 'Where can I find pricing information?'") - .required(true); - - try { - Namespace namespace = parser.parseArgs(args); - - detectIntentWithTexttoSpeech(namespace.get("projectId"), namespace.get("texts"), - namespace.get("sessionId"), namespace.get("languageCode")); - } catch (ArgumentParserException e) { - parser.handleError(e); - } - } - - } diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java index 49ba5d8a650..bfdecb8899e 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java @@ -20,28 +20,22 @@ import com.google.cloud.dialogflow.v2beta1.CreateDocumentRequest; import com.google.cloud.dialogflow.v2beta1.Document; import com.google.cloud.dialogflow.v2beta1.Document.KnowledgeType; -import com.google.cloud.dialogflow.v2beta1.DocumentName; import com.google.cloud.dialogflow.v2beta1.DocumentsClient; -import com.google.cloud.dialogflow.v2beta1.KnowledgeBaseName; import com.google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata; -import net.sourceforge.argparse4j.ArgumentParsers; -import net.sourceforge.argparse4j.inf.ArgumentParser; -import net.sourceforge.argparse4j.inf.ArgumentParserException; -import net.sourceforge.argparse4j.inf.Namespace; -import net.sourceforge.argparse4j.inf.Subparser; -import net.sourceforge.argparse4j.inf.Subparsers; +import com.google.common.collect.Lists; -public class DocumentManagement { +import java.util.List; +public class DocumentManagement { // [START dialogflow_list_document] + /** - * @param projectId Project/Agent id. - * @param knowledgeBaseId Knowledge Base id. + * @param knowledgeBaseName Knowledge Base id. */ - public static void listDocuments(String projectId, String knowledgeBaseId) throws Exception { + public static List listDocuments(String knowledgeBaseName) throws Exception { + List documents = Lists.newArrayList(); // Instantiates a client try (DocumentsClient documentsClient = DocumentsClient.create()) { - KnowledgeBaseName knowledgeBaseName = KnowledgeBaseName.of(projectId, knowledgeBaseId); for (Document document : documentsClient.listDocuments(knowledgeBaseName).iterateAll()) { System.out.format(" - Display Name: %s\n", document.getDisplayName()); System.out.format(" - Knowledge ID: %s\n", document.getName()); @@ -51,23 +45,26 @@ public static void listDocuments(String projectId, String knowledgeBaseId) throw System.out.format(" - %s \n", knowledgeTypeId.getValueDescriptor()); } System.out.format(" - Source: %s \n", document.getContentUri()); + + documents.add(document); } } + return documents; } // [END dialogflow_list_document] // [START dialogflow_create_document] + /** - * @param projectId Project/Agent id. - * @param knowledgeBaseId Knowledge Base id. - * @param displayName display name of the Document. - * @param mimeType MIME type of the Document. e.g. text/csv, text/html - * @param knowledgeType Knowledge Type of the Document. e.g. FAQ, EXTRACTIVE_QA - * @param contentUri Uri of the Document. e.g. gs://path/mydoc.csv, http://mypage.com/faq.html + * @param knowledgeBaseName Knowledge Base id. + * @param displayName display name of the Document. + * @param mimeType MIME type of the Document. e.g. text/csv, text/html + * @param knowledgeType Knowledge Type of the Document. e.g. FAQ, EXTRACTIVE_QA + * @param contentUri Uri of the Document. e.g. gs://path/mydoc.csv, http://mypage.com/faq.html + * @return The created document. */ - public static void createDocument( - String projectId, - String knowledgeBaseId, + public static Document createDocument( + String knowledgeBaseName, String displayName, String mimeType, String knowledgeType, @@ -82,38 +79,37 @@ public static void createDocument( .setMimeType(mimeType) .addKnowledgeTypes(KnowledgeType.valueOf(knowledgeType)) .build(); - KnowledgeBaseName parent = KnowledgeBaseName.of(projectId, knowledgeBaseId); CreateDocumentRequest createDocumentRequest = CreateDocumentRequest.newBuilder() .setDocument(document) - .setParent(parent.toString()) + .setParent(knowledgeBaseName) .build(); OperationFuture response = documentsClient.createDocumentAsync(createDocumentRequest); + Document createdDocument = response.get(); System.out.format("Created Document:\n"); - System.out.format(" - Display Name: %s\n", response.get().getDisplayName()); - System.out.format(" - Knowledge ID: %s\n", response.get().getName()); - System.out.format(" - MIME Type: %s\n", response.get().getMimeType()); + System.out.format(" - Display Name: %s\n", createdDocument.getDisplayName()); + System.out.format(" - Knowledge ID: %s\n", createdDocument.getName()); + System.out.format(" - MIME Type: %s\n", createdDocument.getMimeType()); System.out.format(" - Knowledge Types:\n"); for (KnowledgeType knowledgeTypeId : document.getKnowledgeTypesList()) { System.out.format(" - %s \n", knowledgeTypeId.getValueDescriptor()); } System.out.format(" - Source: %s \n", document.getContentUri()); + return createdDocument; } } // [END dialogflow_create_document] // [START dialogflow_get_document] + /** - * @param projectId Project/Agent id. - * @param knowledgeBaseId Knowledge Base id. - * @param documentId Document Id. + * @param documentName Document Id. + * @return The requested document. */ - public static void getDocument(String projectId, String knowledgeBaseId, String documentId) - throws Exception { + public static Document getDocument(String documentName) throws Exception { // Instantiates a client try (DocumentsClient documentsClient = DocumentsClient.create()) { - DocumentName documentName = DocumentName.of(projectId, knowledgeBaseId, documentId); Document response = documentsClient.getDocument(documentName); System.out.format("Got Document: \n"); System.out.format(" - Display Name: %s\n", response.getDisplayName()); @@ -124,97 +120,22 @@ public static void getDocument(String projectId, String knowledgeBaseId, String System.out.format(" - %s \n", knowledgeTypeId.getValueDescriptor()); } System.out.format(" - Source: %s \n", response.getContentUri()); + + return response; } } // [END dialogflow_get_document] // [START dialogflow_delete_document] + /** - * @param projectId Project/Agent id. - * @param knowledgeBaseId Knowledge Base id. - * @param documentId Document Id. + * @param documentName Document Id. */ - public static void deleteDocument(String projectId, String knowledgeBaseId, String documentId) - throws Exception { + public static void deleteDocument(String documentName) throws Exception { // Instantiates a client try (DocumentsClient documentsClient = DocumentsClient.create()) { - DocumentName documentName = DocumentName.of(projectId, knowledgeBaseId, documentId); documentsClient.deleteDocumentAsync(documentName).getInitialFuture().get(); System.out.format("The document has been deleted."); } } - - public static void main(String[] args) throws Exception { - ArgumentParser parser = - ArgumentParsers.newFor("DocumentManagement") - .build() - .defaultHelp(true) - .description("Create / List / Delete a Document."); - - Subparsers subparsers = parser.addSubparsers().dest("command").title("Commands"); - - Subparser listParser = subparsers.addParser("list") - .help("mvn exec:java -DDocumentManagement -Dexec.args='list --projectId PROJECT_ID " - + "--knowledgeBaseId KNOWLEDGE_BASE_ID'"); - listParser.addArgument("--projectId").help("Project/Agent Id").required(true); - listParser.addArgument("--knowledgeBaseId") - .help("The id of the Knowledge Base to list the Documents").required(true); - - Subparser createParser = subparsers.addParser("create") - .help("mvn exec:java -DDocumentManagement -Dexec.args='create --projectId PROJECT_ID " - + "--knowledgeBaseId KNOWLEDGE_BASE_ID --displayName DISPLAY_NAME " - + "--mimeType text/html --knowledgeType FAQ " - + "--contentUri https://cloud.google.com/storage/docs/faq'"); - createParser.addArgument("--projectId").help("Project/Agent Id").required(true); - createParser.addArgument("--knowledgeBaseId") - .help("The ID of the Knowledge Base to list the Documents").required(true); - createParser.addArgument("--displayName") - .help("The display name of the Document").required(true); - createParser.addArgument("--mimeType") - .help("The mime-type of the Document, e.g. text/csv, text/html, text/plain, text/pdf etc.") - .required(true); - createParser.addArgument("--knowledgeType") - .help("The knowledge-type of the Document, e.g. FAQ, EXTRACTIVE_QA.").required(true); - createParser.addArgument("--contentUri") - .help("The uri of the Document, e.g. gs://path/mydoc.csv, http://mypage.com/faq.html") - .required(true); - - Subparser getParser = subparsers.addParser("get") - .help("mvn exec:java -DDocumentManagement -Dexec.args='get --projectId PROJECT_ID " - + "--knowledgeBaseId KNOWLEDGE_BASE_ID --documentId DOCUMENT_ID'"); - getParser.addArgument("--projectId").help("Project/Agent Id").required(true); - getParser.addArgument("--knowledgeBaseId") - .help("The ID of the Knowledge Base to list the Documents").required(true); - getParser.addArgument("--documentId") - .help("The ID of the Document you want to delete").required(true); - - Subparser deleteParser = subparsers.addParser("delete") - .help("mvn exec:java -DDocumentManagement -Dexec.args='delete --projectId PROJECT_ID " - + "--knowledgeBaseId KNOWLEDGE_BASE_ID --documentId DOCUMENT_ID'"); - deleteParser.addArgument("--projectId").help("Project/Agent Id").required(true); - deleteParser.addArgument("--knowledgeBaseId") - .help("The ID of the Knowledge Base to list the Documents").required(true); - deleteParser.addArgument("--documentId") - .help("The ID of the Document you want to delete").required(true); - - try { - Namespace namespace = parser.parseArgs(args); - - if (namespace.get("command").equals("list")) { - listDocuments(namespace.get("projectId"), namespace.get("knowledgeBaseId")); - } else if (namespace.get("command").equals("create")) { - createDocument(namespace.get("projectId"), namespace.get("knowledgeBaseId"), - namespace.get("displayName"), namespace.get("mimeType"), namespace.get("knowledgeType"), - namespace.get("contentUri")); - } else if (namespace.get("command").equals("get")) { - getDocument(namespace.get("projectId"), namespace.get("knowledgeBaseId"), - namespace.get("documentId")); - } else if (namespace.get("command").equals("delete")) { - deleteDocument(namespace.get("projectId"), namespace.get("knowledgeBaseId"), - namespace.get("documentId")); - } - } catch (ArgumentParserException e) { - parser.handleError(e); - } - } } diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityManagement.java index 63a48914e73..0d982693e0d 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityManagement.java @@ -17,35 +17,30 @@ package com.example.dialogflow; // Imports the Google Cloud client library + import com.google.cloud.dialogflow.v2.EntityType; import com.google.cloud.dialogflow.v2.EntityType.Entity; import com.google.cloud.dialogflow.v2.EntityTypeName; import com.google.cloud.dialogflow.v2.EntityTypesClient; import com.google.protobuf.Empty; -import java.util.ArrayList; -import java.util.Arrays; +import java.util.Collections; import java.util.List; -import net.sourceforge.argparse4j.ArgumentParsers; -import net.sourceforge.argparse4j.inf.ArgumentParser; -import net.sourceforge.argparse4j.inf.ArgumentParserException; -import net.sourceforge.argparse4j.inf.Namespace; -import net.sourceforge.argparse4j.inf.Subparser; -import net.sourceforge.argparse4j.inf.Subparsers; - /** * DialogFlow API Entity sample. */ public class EntityManagement { - // [START dialogflow_list_entities] + /** * List entities - * @param projectId Project/agent id. + * + * @param projectId Project/agent id. * @param entityTypeId The id of the entity_type. + * @return List of found entities. */ - public static void listEntities(String projectId, String entityTypeId) throws Exception { + public static List listEntities(String projectId, String entityTypeId) throws Exception { // Instantiates a client try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { // Set the entity type name using the projectID (my-project-id) and entityTypeId (KIND_LIST) @@ -53,23 +48,30 @@ public static void listEntities(String projectId, String entityTypeId) throws Ex // Performs the get entity type request EntityType entityType = entityTypesClient.getEntityType(name); - for (Entity entity : entityType.getEntitiesList()) { + List entities = entityType.getEntitiesList(); + for (Entity entity : entities) { System.out.format("Entity value: %s\n", entity.getValue()); System.out.format("Entity synonyms: %s\n", entity.getSynonymsList().toString()); } + return entities; } } // [END dialogflow_list_entities] // [START dialogflow_create_entity] + /** * Create an entity of the given entity type - * @param projectId Project/agent id. + * + * @param projectId Project/agent id. * @param entityTypeId The id of the entity_type. - * @param entityValue The entity value to be added. - * @param synonyms The synonyms that will map to the provided entity value. + * @param entityValue The entity value to be added. + * @param synonyms The synonyms that will map to the provided entity value. */ - public static void createEntity(String projectId, String entityTypeId, String entityValue, + public static void createEntity( + String projectId, + String entityTypeId, + String entityValue, List synonyms) throws Exception { // Note: synonyms must be exactly [entityValue] if the // entityTypeId's kind is KIND_LIST @@ -90,20 +92,20 @@ public static void createEntity(String projectId, String entityTypeId, String en // Performs the create entity type request Empty response = entityTypesClient.batchCreateEntitiesAsync(name, - Arrays.asList(entity)).get(); + Collections.singletonList(entity)).get(); System.out.println("Entity created: " + response); } - - } // [END dialogflow_create_entity] // [START dialogflow_delete_entity] + /** * Delete entity with the given entity type and entity value - * @param projectId Project/agent id. + * + * @param projectId Project/agent id. * @param entityTypeId The id of the entity_type. - * @param entityValue The value of the entity to delete. + * @param entityValue The value of the entity to delete. */ public static void deleteEntity(String projectId, String entityTypeId, String entityValue) throws Exception { @@ -113,67 +115,9 @@ public static void deleteEntity(String projectId, String entityTypeId, String en EntityTypeName name = EntityTypeName.of(projectId, entityTypeId); // Performs the delete entity type request - entityTypesClient.batchDeleteEntitiesAsync(name, Arrays.asList(entityValue)) + entityTypesClient.batchDeleteEntitiesAsync(name, Collections.singletonList(entityValue)) .getInitialFuture().get(); } } // [END dialogflow_delete_entity] - - public static void main(String[] args) throws Exception { - ArgumentParser parser = - ArgumentParsers.newFor("EntityManagement") - .build() - .defaultHelp(true) - .description("Create / List / Delete a Entity."); - - Subparsers subparsers = parser.addSubparsers().dest("command").title("Commands"); - - Subparser listParser = subparsers.addParser("list") - .help("mvn exec:java -DEntityManagement -Dexec.args='list --projectId PROJECT_ID " - + "--entityTypeId ENTITY_TYPE_ID'"); - listParser.addArgument("--projectId").help("Project/Agent Id").required(true); - listParser.addArgument("--entityTypeId") - .help("The id of the entityType to which to add an entity.").required(true); - - Subparser createParser = subparsers.addParser("create") - .help("mvn exec:java -DEntityManagement -Dexec.args='create ENTITY_VALUE " - + "--projectId PROJECT_ID --entityTypeId ENTITY_TYPE_ID " - + "--synonyms basement cellar'"); - createParser.addArgument("entityValue") - .help("The entity value to be added.").required(true); - createParser.addArgument("--projectId").help("Project/Agent Id").required(true); - createParser.addArgument("--entityTypeId") - .help("The id of the entityType to which to add an entity.").required(true); - createParser.addArgument("--synonyms").nargs("+") - .help("The synonyms that will map to the provided entity value"); - - Subparser deleteParser = subparsers.addParser("delete") - .help("mvn exec:java -DEntityManagement -Dexec.args='delete ENTITY_VALUE " - + "--projectId PROJECT_ID --entityTypeId ENTITY_TYPE_ID'"); - deleteParser.addArgument("entityValue") - .help("The entity value to be added.").required(true); - deleteParser.addArgument("--projectId").help("Project/Agent Id").required(true); - deleteParser.addArgument("--entityTypeId") - .help("The id of the entityType to delete.").required(true); - - try { - Namespace namespace = parser.parseArgs(args); - - if (namespace.get("command").equals("list")) { - listEntities(namespace.get("projectId"), namespace.get("entityTypeId")); - } else if (namespace.get("command").equals("create")) { - ArrayList synonyms = new ArrayList<>(); - if (namespace.get("synonyms") == null) { - synonyms = namespace.get("synonyms"); - } - createEntity(namespace.get("projectId"), namespace.get("entityTypeId"), - namespace.get("entityValue"), synonyms); - } else if (namespace.get("command").equals("delete")) { - deleteEntity(namespace.get("projectId"), namespace.get("entityTypeId"), - namespace.get("entityValue")); - } - } catch (ArgumentParserException e) { - parser.handleError(e); - } - } } diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityTypeManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityTypeManagement.java index 3eb4466e534..04740c40b42 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityTypeManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityTypeManagement.java @@ -16,35 +16,32 @@ package com.example.dialogflow; - // Imports the Google Cloud client library + import com.google.cloud.dialogflow.v2.EntityType; import com.google.cloud.dialogflow.v2.EntityType.Kind; import com.google.cloud.dialogflow.v2.EntityTypeName; import com.google.cloud.dialogflow.v2.EntityTypesClient; import com.google.cloud.dialogflow.v2.ProjectAgentName; +import com.google.common.collect.Lists; import java.util.ArrayList; import java.util.List; -import net.sourceforge.argparse4j.ArgumentParsers; -import net.sourceforge.argparse4j.inf.ArgumentParser; -import net.sourceforge.argparse4j.inf.ArgumentParserException; -import net.sourceforge.argparse4j.inf.Namespace; -import net.sourceforge.argparse4j.inf.Subparser; -import net.sourceforge.argparse4j.inf.Subparsers; - /** * DialogFlow API EntityType sample. */ public class EntityTypeManagement { - // [START dialogflow_list_entity_types] + /** * List entity types + * * @param projectId Project/agent id. + * @return The EntityTypes found. */ - public static void listEntityTypes(String projectId) throws Exception { + public static List listEntityTypes(String projectId) throws Exception { + List entityTypes = Lists.newArrayList(); // Instantiates a client try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { // Set the project agent name using the projectID (my-project-id) @@ -55,19 +52,25 @@ public static void listEntityTypes(String projectId) throws Exception { System.out.format("Entity type name %s\n", entityType.getName()); System.out.format("Entity type display name: %s\n", entityType.getDisplayName()); System.out.format("Number of entities: %d\n", entityType.getEntitiesCount()); + + entityTypes.add(entityType); } } + return entityTypes; } // [END dialogflow_list_entity_types] // [START dialogflow_create_entity_type] + /** * Create an entity type with the given display name + * * @param displayName The display name of the entity. - * @param projectId Project/agent id. - * @param kind The kind of entity. KIND_MAP (default) or KIND_LIST. + * @param projectId Project/agent id. + * @param kind The kind of entity. KIND_MAP (default) or KIND_LIST. + * @return The created EntityType. */ - public static void createEntityType(String displayName, String projectId, String kind) + public static EntityType createEntityType(String displayName, String projectId, String kind) throws Exception { // Instantiates a client try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { @@ -83,15 +86,18 @@ public static void createEntityType(String displayName, String projectId, String // Performs the create entity type request EntityType response = entityTypesClient.createEntityType(parent, entityType); System.out.println("Entity type created: " + response); + return response; } } // [END dialogflow_create_entity_type] // [START dialogflow_delete_entity_type] + /** * Delete entity type with the given entity type name + * * @param entityTypeId The id of the entity_type. - * @param projectId Project/agent id. + * @param projectId Project/agent id. */ public static void deleteEntityType(String entityTypeId, String projectId) throws Exception { // Instantiates a client @@ -124,52 +130,4 @@ public static List getEntityTypeIds(String displayName, String projectId } return entityTypesIds; } - - - public static void main(String[] args) throws Exception { - ArgumentParser parser = - ArgumentParsers.newFor("EntityTypeManagement") - .build() - .defaultHelp(true) - .description("Create / List / Delete a Entity Type."); - - Subparsers subparsers = parser.addSubparsers().dest("command").title("Commands"); - - Subparser listParser = subparsers.addParser("list") - .help("mvn exec:java -DEntityTypeManagement -Dexec.args='list --projectId PROJECT_ID'"); - listParser.addArgument("--projectId").help("Project/Agent Id").required(true); - - Subparser createParser = subparsers.addParser("create") - .help("mvn exec:java -DEntityTypeManagement -Dexec.args='create DISPLAY_NAME " - + "--projectId PROJECT_ID --entityTypeId ENTITY_TYPE_ID " - + "--synonyms basement cellar'"); - createParser.addArgument("displayName") - .help("The display name of the entity.").required(true); - createParser.addArgument("--projectId").help("Project/Agent Id").required(true); - createParser.addArgument("--kind") - .help("The kind of entity. KIND_MAP (default) or KIND_LIST.").setDefault("KIND_MAP"); - - Subparser deleteParser = subparsers.addParser("delete") - .help("mvn exec:java -DEntityTypeManagement -Dexec.args='delete ENTITY_TYPE_ID " - + "--projectId PROJECT_ID'"); - deleteParser.addArgument("entityTypeId") - .help("The id of the entityType to delete.").required(true); - deleteParser.addArgument("--projectId").help("Project/Agent Id").required(true); - - - try { - Namespace namespace = parser.parseArgs(args); - - if (namespace.get("command").equals("list")) { - listEntityTypes(namespace.get("projectId")); - } else if (namespace.get("command").equals("create")) { - createEntityType(namespace.get("displayName"), namespace.get("projectId"), - namespace.get("kind")); - } else if (namespace.get("command").equals("delete")) { - deleteEntityType(namespace.get("entityTypeId"), namespace.get("projectId")); - } - } catch (ArgumentParserException e) { - parser.handleError(e); - } - } } diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/IntentManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/IntentManagement.java index c2147cbaf52..0e1bbc8e8ee 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/IntentManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/IntentManagement.java @@ -16,8 +16,8 @@ package com.example.dialogflow; - // Imports the Google Cloud client library + import com.google.cloud.dialogflow.v2.Context; import com.google.cloud.dialogflow.v2.Intent; import com.google.cloud.dialogflow.v2.Intent.Message; @@ -27,28 +27,25 @@ import com.google.cloud.dialogflow.v2.IntentName; import com.google.cloud.dialogflow.v2.IntentsClient; import com.google.cloud.dialogflow.v2.ProjectAgentName; +import com.google.common.collect.Lists; import java.util.ArrayList; import java.util.List; -import net.sourceforge.argparse4j.ArgumentParsers; -import net.sourceforge.argparse4j.inf.ArgumentParser; -import net.sourceforge.argparse4j.inf.ArgumentParserException; -import net.sourceforge.argparse4j.inf.Namespace; -import net.sourceforge.argparse4j.inf.Subparser; -import net.sourceforge.argparse4j.inf.Subparsers; - /** * DialogFlow API Intent sample. */ public class IntentManagement { - // [START dialogflow_list_intents] + /** * List intents + * * @param projectId Project/Agent Id. + * @return Intents found. */ - public static void listIntents(String projectId) throws Exception { + public static List listIntents(String projectId) throws Exception { + List intents = Lists.newArrayList(); // Instantiates a client try (IntentsClient intentsClient = IntentsClient.create()) { // Set the project agent name using the projectID (my-project-id) @@ -67,27 +64,34 @@ public static void listIntents(String projectId) throws Exception { for (String inputContextName : intent.getInputContextNamesList()) { System.out.format("\tName: %s\n", inputContextName); } - System.out.format("Output contexts:\n"); for (Context outputContext : intent.getOutputContextsList()) { System.out.format("\tName: %s\n", outputContext.getName()); } + + intents.add(intent); } } + return intents; } // [END dialogflow_list_intents] // [START dialogflow_create_intent] + /** * Create an intent of the given intent type - * @param displayName The display name of the intent. - * @param projectId Project/Agent Id. + * + * @param displayName The display name of the intent. + * @param projectId Project/Agent Id. * @param trainingPhrasesParts Training phrases. - * @param messageTexts Message texts for the agent's response when the intent is detected. + * @param messageTexts Message texts for the agent's response when the intent is detected. + * @return The created Intent. */ - public static void createIntent(String displayName, String projectId, - List trainingPhrasesParts, List messageTexts) - throws Exception { + public static Intent createIntent( + String displayName, + String projectId, + List trainingPhrasesParts, + List messageTexts) throws Exception { // Instantiates a client try (IntentsClient intentsClient = IntentsClient.create()) { // Set the project agent name using the projectID (my-project-id) @@ -98,7 +102,7 @@ public static void createIntent(String displayName, String projectId, for (String trainingPhrase : trainingPhrasesParts) { trainingPhrases.add( TrainingPhrase.newBuilder().addParts( - Part.newBuilder().setText(trainingPhrase).build()) + Part.newBuilder().setText(trainingPhrase).build()) .build()); } @@ -119,14 +123,18 @@ public static void createIntent(String displayName, String projectId, // Performs the create intent request Intent response = intentsClient.createIntent(parent, intent); System.out.format("Intent created: %s\n", response); + + return response; } } // [END dialogflow_create_intent] // [START dialogflow_delete_intent] + /** * Delete intent with the given intent type and intent value - * @param intentId The id of the intent. + * + * @param intentId The id of the intent. * @param projectId Project/Agent Id. */ public static void deleteIntent(String intentId, String projectId) throws Exception { @@ -158,63 +166,4 @@ public static List getIntentIds(String displayName, String projectId) th return intentIds; } - - public static void main(String[] args) throws Exception { - - - ArgumentParser parser = - ArgumentParsers.newFor("IntentManagement") - .build() - .defaultHelp(true) - .description("Create / List / Delete a Intent."); - - Subparsers subparsers = parser.addSubparsers().dest("command").title("Commands"); - - Subparser listParser = subparsers.addParser("list") - .help("mvn exec:java -DIntentManagement -Dexec.args='list --projectId PROJECT_ID'"); - listParser.addArgument("--projectId").help("Project/Agent Id").required(true); - - Subparser createParser = subparsers.addParser("create") - .help("mvn exec:java -DIntentManagement -Dexec.args='create DISPLAY_NAME " - + "--projectId PROJECT_ID --trainingPhrasesParts \"cancel\" \"cancellation\" " - + "--messageTexts \"Are you sure you want to cancel?\" \"Cancelled.\"'"); - createParser.addArgument("displayName") - .help("The display name of the intent.").required(true); - createParser.addArgument("--projectId").help("Project/Agent Id").required(true); - createParser.addArgument("--trainingPhrasesParts") - .help("Training phrases.").nargs("+"); - createParser.addArgument("--messageTexts").nargs("+") - .help("Message texts for the agent's response when the intent is detected."); - - Subparser deleteParser = subparsers.addParser("delete") - .help("mvn exec:java -DIntentManagement -Dexec.args='delete INTENT_ID " - + "--projectId PROJECT_ID'"); - deleteParser.addArgument("intentId") - .help("The ID of the intent.").required(true); - deleteParser.addArgument("--projectId").help("Project/Agent Id").required(true); - - try { - Namespace namespace = parser.parseArgs(args); - - if (namespace.get("command").equals("list")) { - listIntents(namespace.get("projectId")); - } else if (namespace.get("command").equals("create")) { - ArrayList trainingPhrasesParts = new ArrayList<>(); - ArrayList messageTexts = new ArrayList<>(); - if (namespace.get("trainingPhrasesParts") != null) { - trainingPhrasesParts = namespace.get("trainingPhrasesParts"); - } - if (namespace.get("messageTexts") != null) { - messageTexts = namespace.get("messageTexts"); - } - - createIntent(namespace.get("displayName"), namespace.get("projectId"), trainingPhrasesParts, - messageTexts); - } else if (namespace.get("command").equals("delete")) { - deleteIntent(namespace.get("intentId"), namespace.get("projectId")); - } - } catch (ArgumentParserException e) { - parser.handleError(e); - } - } } diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java index d160e50c789..1fee645e10e 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java @@ -17,25 +17,23 @@ package com.example.dialogflow; import com.google.cloud.dialogflow.v2beta1.KnowledgeBase; -import com.google.cloud.dialogflow.v2beta1.KnowledgeBaseName; import com.google.cloud.dialogflow.v2beta1.KnowledgeBasesClient; import com.google.cloud.dialogflow.v2beta1.ProjectName; -import net.sourceforge.argparse4j.ArgumentParsers; -import net.sourceforge.argparse4j.inf.ArgumentParser; -import net.sourceforge.argparse4j.inf.ArgumentParserException; -import net.sourceforge.argparse4j.inf.Namespace; -import net.sourceforge.argparse4j.inf.Subparser; -import net.sourceforge.argparse4j.inf.Subparsers; +import com.google.common.collect.Lists; -public class KnowledgeBaseManagement { +import java.util.List; +public class KnowledgeBaseManagement { // [START dialogflow_list_knowledge_base] + /** * List Knowledge bases * * @param projectId Project/agent id. + * @return The KnowledgeBases found in projectId. */ - public static void listKnowledgeBases(String projectId) throws Exception { + public static List listKnowledgeBases(String projectId) throws Exception { + List knowledgeBases = Lists.newArrayList(); // Instantiates a client try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) { // Set the entity type name using the projectID (my-project-id) and entityTypeId (KIND_LIST) @@ -44,28 +42,34 @@ public static void listKnowledgeBases(String projectId) throws Exception { knowledgeBasesClient.listKnowledgeBases(projectName).iterateAll()) { System.out.format(" - Display Name: %s\n", knowledgeBase.getDisplayName()); System.out.format(" - Knowledge ID: %s\n", knowledgeBase.getName()); + knowledgeBases.add(knowledgeBase); } } + return knowledgeBases; } // [END dialogflow_list_knowledge_base] // [START dialogflow_create_knowledge_base] + /** * Create a Knowledge base * - * @param projectId Project/agent id. + * @param projectId Project/agent id. * @param displayName Name of the knowledge base. + * @return The created KnowledgeBase. */ - public static void createKnowledgeBase(String projectId, String displayName) throws Exception { + public static KnowledgeBase createKnowledgeBase(String projectId, String displayName) + throws Exception { // Instantiates a client try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) { - KnowledgeBase knowledgeBase = KnowledgeBase.newBuilder().setDisplayName(displayName).build(); ProjectName projectName = ProjectName.of(projectId); KnowledgeBase response = knowledgeBasesClient.createKnowledgeBase(projectName, knowledgeBase); System.out.format("Knowledgebase created:\n"); System.out.format("Display Name: %s \n", response.getDisplayName()); System.out.format("Knowledge ID: %s \n", response.getName()); + + return response; } } // [END dialogflow_create_knowledge_base] @@ -73,87 +77,32 @@ public static void createKnowledgeBase(String projectId, String displayName) thr // [START dialogflow_get_knowledge_base] /** - * @param knowledgeBaseId Knowledge base id. - * @param projectId Project/agent id. + * @param knowledgeBaseName Knowledge base id. + * @return The retrieved KnowledgeBase. */ - public static void getKnowledgeBase(String projectId, String knowledgeBaseId) throws Exception { - + public static KnowledgeBase getKnowledgeBase(String knowledgeBaseName) throws Exception { // Instantiates a client try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) { - KnowledgeBaseName knowledgeBaseName = KnowledgeBaseName.of(projectId, knowledgeBaseId); KnowledgeBase response = knowledgeBasesClient.getKnowledgeBase(knowledgeBaseName); System.out.format("Got Knowledge Base:\n"); System.out.format(" - Display Name: %s\n", response.getDisplayName()); System.out.format(" - Knowledge ID: %s\n", response.getName()); + return response; } } // [END dialogflow_get_knowledge_base] + // [START dialogflow_delete_knowledge_base] /** - * @param knowledgeBaseId Knowledge base id. - * @param projectId Project/agent id. + * @param knowledgeBaseName Knowledge base id. */ - public static void deleteKnowledgeBase(String projectId, String knowledgeBaseId) - throws Exception { + public static void deleteKnowledgeBase(String knowledgeBaseName) throws Exception { // Instantiates a client try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) { - KnowledgeBaseName knowledgeBaseName = KnowledgeBaseName.of(projectId, knowledgeBaseId); knowledgeBasesClient.deleteKnowledgeBase(knowledgeBaseName); System.out.format("KnowledgeBase has been deleted.\n"); } } // [END dialogflow_delete_knowledge_base] - - - public static void main(String[] args) throws Exception { - ArgumentParser parser = - ArgumentParsers.newFor("KnowledgeBaseManagement") - .build() - .defaultHelp(true) - .description("Create / List / Delete a Knowledge Base."); - - Subparsers subparsers = parser.addSubparsers().dest("command").title("Commands"); - - Subparser listParser = subparsers.addParser("list") - .help("mvn exec:java -DKnowledgeManagement -Dexec.args='list --projectId PROJECT_ID'"); - listParser.addArgument("--projectId").help("Project/Agent Id").required(true); - - Subparser createParser = subparsers.addParser("create") - .help("mvn exec:java -DKnowledgeManagement -Dexec.args='create DISPLAY_NAME " - + "--projectId PROJECT_ID'"); - createParser.addArgument("displayName") - .help("The display name of the Document").required(true); - createParser.addArgument("--projectId").help("Project/Agent Id").required(true); - - Subparser getParser = subparsers.addParser("get") - .help("mvn exec:java -DKnowledgeManagement -Dexec.args='get KNOWLEDGE_BASE_ID " - + "--projectId PROJECT_ID'"); - getParser.addArgument("knowledgeBaseId") - .help("The ID of the Knowledge Base to list the Documents").required(true); - getParser.addArgument("--projectId").help("Project/Agent Id").required(true); - - Subparser deleteParser = subparsers.addParser("delete") - .help("mvn exec:java -DKnowledgeManagement -Dexec.args='delete KNOWLEDGE_BASE_ID " - + "--projectId PROJECT_ID'"); - deleteParser.addArgument("--projectId").help("Project/Agent Id").required(true); - deleteParser.addArgument("--knowledgeBaseId") - .help("The ID of the Knowledge Base to list the Documents").required(true); - - try { - Namespace namespace = parser.parseArgs(args); - - if (namespace.get("command").equals("list")) { - listKnowledgeBases(namespace.get("projectId")); - } else if (namespace.get("command").equals("create")) { - createKnowledgeBase(namespace.get("projectId"), namespace.get("displayName")); - } else if (namespace.get("command").equals("get")) { - getKnowledgeBase(namespace.get("projectId"), namespace.get("knowledgeBaseId")); - } else if (namespace.get("command").equals("delete")) { - deleteKnowledgeBase(namespace.get("projectId"), namespace.get("knowledgeBaseId")); - } - } catch (ArgumentParserException e) { - parser.handleError(e); - } - } } diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/SessionEntityTypeManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/SessionEntityTypeManagement.java index da52376e326..aeb28f9f21f 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/SessionEntityTypeManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/SessionEntityTypeManagement.java @@ -17,34 +17,34 @@ package com.example.dialogflow; // Imports the Google Cloud client library + import com.google.cloud.dialogflow.v2.EntityType.Entity; import com.google.cloud.dialogflow.v2.SessionEntityType; import com.google.cloud.dialogflow.v2.SessionEntityType.EntityOverrideMode; import com.google.cloud.dialogflow.v2.SessionEntityTypeName; import com.google.cloud.dialogflow.v2.SessionEntityTypesClient; import com.google.cloud.dialogflow.v2.SessionName; +import com.google.common.collect.Lists; import java.util.ArrayList; import java.util.List; -import net.sourceforge.argparse4j.ArgumentParsers; -import net.sourceforge.argparse4j.inf.ArgumentParser; -import net.sourceforge.argparse4j.inf.ArgumentParserException; -import net.sourceforge.argparse4j.inf.Namespace; -import net.sourceforge.argparse4j.inf.Subparser; -import net.sourceforge.argparse4j.inf.Subparsers; /** * DialogFlow API SessionEntityType sample. */ public class SessionEntityTypeManagement { - // [START dialogflow_list_session_entity_types] + /** * List session entity types + * * @param projectId Project/Agent Id. * @param sessionId Identifier of the DetectIntent session. + * @return SessionEntityTypes found. */ - public static void listSessionEntityTypes(String projectId, String sessionId) throws Exception { + public static List listSessionEntityTypes(String projectId, String sessionId) + throws Exception { + List sessionEntityTypes = Lists.newArrayList(); // Instantiates a client try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) { // Set the session name using the sessionId (UUID) and projectID (my-project-id) @@ -56,30 +56,39 @@ public static void listSessionEntityTypes(String projectId, String sessionId) th sessionEntityTypesClient.listSessionEntityTypes(session).iterateAll()) { System.out.format("\tSessionEntityType name: %s\n", sessionEntityType.getName()); System.out.format("\tNumber of entities: %d\n", sessionEntityType.getEntitiesCount()); + + sessionEntityTypes.add(sessionEntityType); } } + return sessionEntityTypes; } // [END dialogflow_list_session_entity_types] // [START dialogflow_create_session_entity_type] + /** * Create an entity type with the given display name - * @param projectId Project/Agent Id. - * @param sessionId Identifier of the DetectIntent session. - * @param entityValues The entity values of the session entity type. + * + * @param projectId Project/Agent Id. + * @param sessionId Identifier of the DetectIntent session. + * @param entityValues The entity values of the session entity type. * @param entityTypeDisplayName DISPLAY NAME of the entity type to be overridden in the session. - * @param entityOverrideMode ENTITY_OVERRIDE_MODE_OVERRIDE (default) or - * ENTITY_OVERRIDE_MODE_SUPPLEMENT + * @param entityOverrideMode ENTITY_OVERRIDE_MODE_OVERRIDE (default) or + * ENTITY_OVERRIDE_MODE_SUPPLEMENT + * @return Created SessionEntityType. */ - public static void createSessionEntityType(String projectId, String sessionId, - List entityValues, String entityTypeDisplayName,int entityOverrideMode) - throws Exception { + public static SessionEntityType createSessionEntityType( + String projectId, + String sessionId, + List entityValues, + String entityTypeDisplayName, + int entityOverrideMode) throws Exception { // Instantiates a client try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) { // Set the session name using the sessionId (UUID) and projectID (my-project-id) SessionName session = SessionName.of(projectId, sessionId); - SessionEntityTypeName name = SessionEntityTypeName.of(projectId, sessionId, - entityTypeDisplayName); + SessionEntityTypeName name = SessionEntityTypeName.of( + projectId, sessionId, entityTypeDisplayName); List entities = new ArrayList<>(); for (String entityValue : entityValues) { @@ -100,20 +109,25 @@ public static void createSessionEntityType(String projectId, String sessionId, // Performs the create session entity type request SessionEntityType response = sessionEntityTypesClient.createSessionEntityType(session, sessionEntityType); - System.out.format("SessionEntityType created: %s\n", response); + + return response; } } // [END dialogflow_create_session_entity_type] // [START dialogflow_delete_session_entity_type] + /** * Delete entity type with the given entity type name - * @param projectId Project/Agent Id. - * @param sessionId Identifier of the DetectIntent session. + * + * @param projectId Project/Agent Id. + * @param sessionId Identifier of the DetectIntent session. * @param entityTypeDisplayName DISPLAY NAME of the entity type to be overridden in the session. */ - public static void deleteSessionEntityType(String projectId, String sessionId, + public static void deleteSessionEntityType( + String projectId, + String sessionId, String entityTypeDisplayName) throws Exception { // Instantiates a client try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) { @@ -125,70 +139,4 @@ public static void deleteSessionEntityType(String projectId, String sessionId, } } // [END dialogflow_delete_session_entity_type] - - public static void main(String[] args) throws Exception { - ArgumentParser parser = - ArgumentParsers.newFor("SessionEntityTypeManagement") - .build() - .defaultHelp(true) - .description("Create / List / Delete a SessionEntityType."); - - Subparsers subparsers = parser.addSubparsers().dest("command").title("Commands"); - - Subparser listParser = subparsers.addParser("list") - .help("mvn exec:java -DSessionEntityTypeManagement -Dexec.args='list " - + "--projectId PROJECT_ID --sessionId SESSION_ID '"); - listParser.addArgument("--projectId").help("Project/Agent Id").required(true); - listParser.addArgument("--sessionId") - .help("Identifier of the DetectIntent session").required(true); - - Subparser createParser = subparsers.addParser("create") - .help("mvn exec:java -DSessionEntityTypeManagement -Dexec.args='create " - + "--projectId PROJECT_ID --sessionId SESSION_ID " - + "--entityTypeDisplayName ENTITY_TYPE_DISPLAY_NAME " - + "--entityOverrideMode ENTITY_OVERRIDE_MODE_OVERRIDE " - + "--entityValues C D E F'"); - createParser.addArgument("--projectId").help("Project/Agent Id").required(true); - createParser.addArgument("--sessionId") - .help("Identifier of the DetectIntent session").required(true); - createParser.addArgument("--entityTypeDisplayName") - .help("The DISPLAY NAME of the entity type to be overridden in the session.t") - .required(true); - createParser.addArgument("--entityOverrideMode") - .help("ENTITY_OVERRIDE_MODE_OVERRIDE (default) or ENTITY_OVERRIDE_MODE_SUPPLEMENT") - .setDefault(1); - createParser.addArgument("--entityValues").nargs("+") - .help("The entity values of the session entity type."); - - Subparser deleteParser = subparsers.addParser("delete") - .help("mvn exec:java -DSessionEntityTypeManagement -Dexec.args='delete " - + "--sessionId SESSION_ID --projectId PROJECT_ID --contextId CONTEXT_ID'"); - deleteParser.addArgument("--projectId").help("Project/Agent Id").required(true); - deleteParser.addArgument("--sessionId") - .help("Identifier of the DetectIntent session").required(true); - deleteParser.addArgument("--entityTypeDisplayName") - .help("The DISPLAY NAME of the entity type to be overridden in the session.t") - .required(true); - - try { - Namespace namespace = parser.parseArgs(args); - - if (namespace.get("command").equals("list")) { - listSessionEntityTypes(namespace.get("projectId"), namespace.get("sessionId")); - } else if (namespace.get("command").equals("create")) { - ArrayList entityValues = new ArrayList<>(); - if (namespace.get("entityValues") != null) { - entityValues = namespace.get("entityValues"); - } - createSessionEntityType(namespace.get("projectId"), namespace.get("sessionId"), - entityValues, namespace.get("entityTypeDisplayName"), - namespace.get("entityOverrideMode")); - } else if (namespace.get("command").equals("delete")) { - deleteSessionEntityType(namespace.get("projectId"), namespace.get("sessionId"), - namespace.get("entityTypeDisplayName")); - } - } catch (ArgumentParserException e) { - parser.handleError(e); - } - } } diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/ContextManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/ContextManagementIT.java index fcd16806692..10eb147e8a6 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/ContextManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/ContextManagementIT.java @@ -17,10 +17,17 @@ package com.example.dialogflow; import static com.google.common.truth.Truth.assertThat; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +import com.google.cloud.dialogflow.v2.Context; +import com.google.cloud.dialogflow.v2.ContextName; +import com.google.cloud.dialogflow.v2.ContextsClient; import java.io.ByteArrayOutputStream; import java.io.PrintStream; -import java.util.Arrays; +import java.util.List; + import org.junit.After; import org.junit.Before; import org.junit.Test; @@ -33,49 +40,46 @@ @RunWith(JUnit4.class) @SuppressWarnings("checkstyle:abbreviationaswordinname") public class ContextManagementIT { - - private ByteArrayOutputStream bout; - private PrintStream out; - - private DetectIntentTexts detectIntentTexts; - private ContextManagement contextManagement; private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); private static String SESSION_ID = "fake_session_for_testing"; private static String CONTEXT_ID = "fake_context_for_testing"; @Before public void setUp() { - bout = new ByteArrayOutputStream(); - out = new PrintStream(bout); - System.setOut(out); - detectIntentTexts = new DetectIntentTexts(); - contextManagement = new ContextManagement(); - PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); + System.setOut(new PrintStream(new ByteArrayOutputStream())); } @After - public void tearDown() { + public void tearDown() throws Exception { + try (ContextsClient contextsClient = ContextsClient.create()) { + // If the Context still exists, delete it. + try { + ContextName contextName = ContextName.of(PROJECT_ID, SESSION_ID, CONTEXT_ID); + Context existing = contextsClient.getContext(contextName); + contextsClient.deleteContext(existing.getName()); + } catch (Exception e) { + // Context doesn't exist, nothing to do. + } + } System.setOut(null); } @Test public void testCreateDeleteContext() throws Exception { - // Calling detect intent to create a session - detectIntentTexts.detectIntentTexts(PROJECT_ID, Arrays.asList("hi"), SESSION_ID, "en-US"); - // Create the context - contextManagement.createContext(CONTEXT_ID, SESSION_ID, PROJECT_ID, 1); - contextManagement.listContexts(SESSION_ID, PROJECT_ID); + Context context = ContextManagement.createContext(CONTEXT_ID, SESSION_ID, PROJECT_ID, 1); + assertThat(context.getName()).contains(CONTEXT_ID); + assertEquals(1, context.getLifespanCount()); - String got = bout.toString(); - assertThat(got).contains(CONTEXT_ID); + List contexts = ContextManagement.listContexts(SESSION_ID, PROJECT_ID); + assertTrue(contexts.size() > 0); + assertTrue(contexts.stream().anyMatch(c -> c.getName().contains(SESSION_ID) + && c.getName().contains(CONTEXT_ID))); // Delete the context - bout.reset(); - contextManagement.deleteContext(CONTEXT_ID, SESSION_ID, PROJECT_ID); - contextManagement.listContexts(SESSION_ID, PROJECT_ID); - - got = bout.toString(); - assertThat(got).doesNotContain(CONTEXT_ID); + ContextManagement.deleteContext(CONTEXT_ID, SESSION_ID, PROJECT_ID); + int numContexts = contexts.size(); + contexts = ContextManagement.listContexts(SESSION_ID, PROJECT_ID); + assertEquals(numContexts - 1, contexts.size()); } } diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentAudioIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentAudioIT.java deleted file mode 100644 index bc458d6e9ae..00000000000 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentAudioIT.java +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.example.dialogflow; - -import static com.google.common.truth.Truth.assertThat; - -import java.io.ByteArrayOutputStream; -import java.io.PrintStream; -import java.util.Arrays; -import java.util.List; -import org.junit.After; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; - -/** - * Integration (system) tests for {@link DetectIntentAudio}. - */ -@RunWith(JUnit4.class) -@SuppressWarnings("checkstyle:abbreviationaswordinname") -public class DetectIntentAudioIT { - - private ByteArrayOutputStream bout; - private PrintStream out; - private DetectIntentAudio detectIntentAudio; - private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); - private static String SESSION_ID = "fake_session_for_testing"; - private static String LANGUAGE_CODE = "en-US"; - private static List AUDIOS = Arrays.asList( - "resources/book_a_room.wav", - "resources/mountain_view.wav", - "resources/today.wav"); - - @Before - public void setUp() { - bout = new ByteArrayOutputStream(); - out = new PrintStream(bout); - System.setOut(out); - detectIntentAudio = new DetectIntentAudio(); - } - - @After - public void tearDown() { - System.setOut(null); - } - - @Test - public void testDetectIntent() throws Exception { - for (String audioFilePath : AUDIOS) { - detectIntentAudio.detectIntentAudio(PROJECT_ID, audioFilePath, SESSION_ID, LANGUAGE_CODE); - } - - String got = bout.toString(); - assertThat(got).contains("Fulfillment Text: 'What time will the meeting start?'"); - } - -} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java index 88f3c7d613d..a1d6b8c080a 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java @@ -16,10 +16,14 @@ package com.example.dialogflow; -import static com.google.common.truth.Truth.assertThat; +import static org.junit.Assert.assertTrue; + +import com.google.cloud.dialogflow.v2.StreamingDetectIntentResponse; import java.io.ByteArrayOutputStream; import java.io.PrintStream; +import java.util.List; + import org.junit.After; import org.junit.Before; import org.junit.Test; @@ -33,35 +37,32 @@ @SuppressWarnings("checkstyle:abbreviationaswordinname") public class DetectIntentStreamIT { - private ByteArrayOutputStream bout; - private PrintStream out; private static String audioFilePath = "resources/book_a_room.wav"; - private DetectIntentStream detectIntentStream; private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); private static String SESSION_ID = "fake_session_for_testing"; private static String LANGUAGE_CODE = "en-US"; @Before public void setUp() { - bout = new ByteArrayOutputStream(); - out = new PrintStream(bout); - System.setOut(out); - detectIntentStream = new DetectIntentStream(); + System.setOut(new PrintStream(new ByteArrayOutputStream())); } - @After public void tearDown() { System.setOut(null); } - @Test public void testStreamingDetectIntentCallable() throws Throwable { - detectIntentStream.detectIntentStream(PROJECT_ID, audioFilePath, SESSION_ID, LANGUAGE_CODE); - - String got = bout.toString(); - assertThat(got).contains("Intermediate transcript: 'book'"); - assertThat(got).contains("Detected Intent: room.reservation"); + List response = DetectIntentStream.detectIntentStream( + PROJECT_ID, audioFilePath, SESSION_ID, LANGUAGE_CODE); + assertTrue(response.size() > 0); + assertTrue(response.stream().anyMatch(i -> i + .getQueryResult() + .getIntent() + .getDisplayName().equals("room.reservation"))); + assertTrue(response.stream().anyMatch(i -> i + .getRecognitionResult() + .getTranscript().contains("book"))); } } diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentTextsIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentTextsIT.java deleted file mode 100644 index 88213ae275b..00000000000 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentTextsIT.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.example.dialogflow; - -import static com.google.common.truth.Truth.assertThat; - -import java.io.ByteArrayOutputStream; -import java.io.PrintStream; -import java.util.Arrays; -import java.util.List; -import org.junit.After; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; - -/** - * Integration (system) tests for {@link DetectIntentTexts}. - */ -@RunWith(JUnit4.class) -@SuppressWarnings("checkstyle:abbreviationaswordinname") -public class DetectIntentTextsIT { - - private ByteArrayOutputStream bout; - private DetectIntentTexts detectIntentTexts; - private PrintStream out; - private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); - private static String SESSION_ID = "fake_session_for_testing"; - private static String LANGUAGE_CODE = "en-US"; - private static List TEXTS = Arrays.asList("hello", "book a meeting room", "Mountain View", - "tomorrow", "10 am", "2 hours", "10 people", "A", "yes"); - - @Before - public void setUp() { - bout = new ByteArrayOutputStream(); - out = new PrintStream(bout); - System.setOut(out); - detectIntentTexts = new DetectIntentTexts(); - } - - @After - public void tearDown() { - System.setOut(null); - } - - @Test - public void testDetectIntent() throws Exception { - detectIntentTexts.detectIntentTexts(PROJECT_ID, TEXTS, SESSION_ID, LANGUAGE_CODE); - - String got = bout.toString(); - assertThat(got).contains("Fulfillment Text: 'All set!'"); - } - -} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioAndModelSelectionIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioAndModelSelectionIT.java new file mode 100644 index 00000000000..53822d64f18 --- /dev/null +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioAndModelSelectionIT.java @@ -0,0 +1,111 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import static com.google.common.truth.Truth.assertThat; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +import com.google.cloud.dialogflow.v2beta1.QueryResult; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.Lists; + +import java.io.ByteArrayOutputStream; +import java.io.PrintStream; +import java.util.List; +import java.util.Map; + +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +/** + * Integration (system) tests for {@link DetectIntentWithModelSelection}. + */ +@RunWith(JUnit4.class) +@SuppressWarnings("checkstyle:abbreviationaswordinname") +public class DetectIntentWithAudioAndModelSelectionIT { + protected static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); + protected static String SESSION_ID = "fake_session_for_testing"; + protected static String LANGUAGE_CODE = "en-US"; + protected static List QUESTIONS = ImmutableList.of( + "What date?", + "What time will the meeting start?", + "How long will it last?", + "Thanks. How many people are attending?", + "I can help with that. Where would you like to reserve a room?"); + protected static Map ANSWERS = ImmutableMap.of( + "I can help with that. Where would you like to reserve a room?", + "resources/mountain_view.wav", + "What date?", "resources/today.wav", + "What time will the meeting start?", "resources/230pm.wav", + "How long will it last?", "resources/half_an_hour.wav", + "Thanks. How many people are attending?", "resources/two_people.wav"); + + @Before + public void setUp() { + System.setOut(new PrintStream(new ByteArrayOutputStream())); + } + + @After + public void tearDown() { + System.setOut(null); + } + + @Test + public void testDetectIntentAudio() throws Exception { + List askedQuestions = Lists.newArrayList(); + com.google.cloud.dialogflow.v2.QueryResult result = DetectIntentAudio.detectIntentAudio( + PROJECT_ID, "resources/book_a_room.wav", SESSION_ID, LANGUAGE_CODE); + String fulfillmentText = result.getFulfillmentText(); + while (!result.getAllRequiredParamsPresent() + && ANSWERS.containsKey(fulfillmentText) + && !askedQuestions.contains(fulfillmentText)) { + askedQuestions.add(result.getFulfillmentText()); + assertEquals("room.reservation", result.getAction()); + assertThat(QUESTIONS).contains(fulfillmentText); + result = DetectIntentAudio.detectIntentAudio( + PROJECT_ID, ANSWERS.get(fulfillmentText), SESSION_ID, LANGUAGE_CODE); + fulfillmentText = result.getFulfillmentText(); + } + assertTrue(result.getAllRequiredParamsPresent()); + assertEquals("Choose a room please.", fulfillmentText); + } + + @Test + public void testDetectIntentWithModelSelection() throws Exception { + List askedQuestions = Lists.newArrayList(); + QueryResult result = DetectIntentWithModelSelection.detectIntentWithModelSelection( + PROJECT_ID, "resources/book_a_room.wav", SESSION_ID, LANGUAGE_CODE); + String fulfillmentText = result.getFulfillmentText(); + while (!result.getAllRequiredParamsPresent() + && ANSWERS.containsKey(fulfillmentText) + && !askedQuestions.contains(fulfillmentText)) { + askedQuestions.add(result.getFulfillmentText()); + assertEquals("room.reservation", result.getAction()); + assertThat(QUESTIONS).contains(fulfillmentText); + result = DetectIntentWithModelSelection.detectIntentWithModelSelection( + PROJECT_ID, ANSWERS.get(fulfillmentText), SESSION_ID, LANGUAGE_CODE); + fulfillmentText = result.getFulfillmentText(); + } + assertTrue(result.getAllRequiredParamsPresent()); + assertEquals("Choose a room please.", fulfillmentText); + } +} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithModelSelectionIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithModelSelectionIT.java deleted file mode 100644 index 399f4342a9c..00000000000 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithModelSelectionIT.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.example.dialogflow; - -import static com.google.common.truth.Truth.assertThat; - -import java.io.ByteArrayOutputStream; -import java.io.PrintStream; -import java.util.Arrays; -import java.util.List; -import org.junit.After; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; - -/** Integration (system) tests for {@link DetectIntentWithModelSelection}. */ -@RunWith(JUnit4.class) -@SuppressWarnings("checkstyle:abbreviationaswordinname") -public class DetectIntentWithModelSelectionIT { - - private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); - private static String SESSION_ID = "fake_session_for_testing"; - private static String LANGUAGE_CODE = "en-US"; - private static List AUDIOS = - Arrays.asList( - "resources/book_a_room.wav", "resources/mountain_view.wav", "resources/today.wav"); - private ByteArrayOutputStream bout; - private PrintStream out; - private DetectIntentWithModelSelection detectIntentWithModelSelection; - - @Before - public void setUp() { - bout = new ByteArrayOutputStream(); - out = new PrintStream(bout); - System.setOut(out); - detectIntentWithModelSelection = new DetectIntentWithModelSelection(); - } - - @After - public void tearDown() { - System.setOut(null); - } - - @Test - public void testDetectIntent() throws Exception { - for (String audioFilePath : AUDIOS) { - detectIntentWithModelSelection.detectIntentWithModelSelection( - PROJECT_ID, SESSION_ID, audioFilePath, LANGUAGE_CODE); - } - - String got = bout.toString(); - assertThat(got).contains("Fulfillment Text: 'What time will the meeting start?'"); - } -} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAnalysisIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAnalysisIT.java deleted file mode 100644 index c442fcf74bb..00000000000 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAnalysisIT.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.example.dialogflow; - -import static com.google.common.truth.Truth.assertThat; - -import java.io.ByteArrayOutputStream; -import java.io.PrintStream; -import java.util.Arrays; -import java.util.List; -import org.junit.After; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; - -/** - * Integration (system) tests for {@link DetectIntentWithSentimentAnalysis}. - */ -@RunWith(JUnit4.class) -@SuppressWarnings("checkstyle:abbreviationaswordinname") -public class DetectIntentWithSentimentAnalysisIT { - - private ByteArrayOutputStream bout; - private DetectIntentWithSentimentAnalysis detectIntentWithSentimentAnalysis; - private PrintStream out; - private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); - private static String SESSION_ID = "fake_session_for_testing"; - private static String LANGUAGE_CODE = "en-US"; - private static List TEXTS = Arrays.asList("hello", "book a meeting room", "Mountain View", - "tomorrow", "10 am", "2 hours", "10 people", "A", "yes"); - - @Before - public void setUp() { - bout = new ByteArrayOutputStream(); - out = new PrintStream(bout); - System.setOut(out); - detectIntentWithSentimentAnalysis = new DetectIntentWithSentimentAnalysis(); - } - - @After - public void tearDown() { - System.setOut(null); - } - - @Test - public void testDetectIntent() throws Exception { - detectIntentWithSentimentAnalysis.detectIntentSentimentAnalysis(PROJECT_ID, TEXTS, SESSION_ID, - LANGUAGE_CODE); - - String got = bout.toString(); - assertThat(got).contains("Sentiment Score:"); - } - -} \ No newline at end of file diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java new file mode 100644 index 00000000000..a427f95aa50 --- /dev/null +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java @@ -0,0 +1,94 @@ +/* + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +import com.google.cloud.dialogflow.v2beta1.QueryResult; + +import java.io.ByteArrayOutputStream; +import java.io.PrintStream; +import java.util.Arrays; +import java.util.List; +import java.util.Map; + +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +/** + * Integration (system) tests for {@link DetectIntentWithSentimentAnalysis}. + */ +@RunWith(JUnit4.class) +@SuppressWarnings("checkstyle:abbreviationaswordinname") +public class DetectIntentWithSentimentAndTextToSpeechIT { + + private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); + private static String SESSION_ID = "fake_session_for_testing"; + private static String LANGUAGE_CODE = "en-US"; + private static List TEXTS = Arrays.asList( + "hello", + "book a meeting room", + "Mountain View", + "tomorrow", + "10 am", + "2 hours", + "10 people", + "A", + "yes"); + + @Before + public void setUp() { + System.setOut(new PrintStream(new ByteArrayOutputStream())); + } + + @After + public void tearDown() { + System.setOut(null); + } + + @Test + public void testDetectIntentTexts() throws Exception { + Map queryResults = + DetectIntentTexts.detectIntentTexts(PROJECT_ID, TEXTS, SESSION_ID, LANGUAGE_CODE); + com.google.cloud.dialogflow.v2.QueryResult finalResult = + queryResults.get(TEXTS.get(TEXTS.size() - 1)); + assertTrue(finalResult.getAllRequiredParamsPresent()); + assertEquals("All set!", finalResult.getFulfillmentText()); + } + + @Test + public void testDetectIntentWithSentimentAnalysis() throws Exception { + assertResults(DetectIntentWithSentimentAnalysis + .detectIntentSentimentAnalysis(PROJECT_ID, TEXTS, SESSION_ID, LANGUAGE_CODE)); + } + + @Test + public void testDetectIntentTextToSpeech() throws Exception { + assertResults(DetectIntentWithTextToSpeechResponse + .detectIntentWithTexttoSpeech(PROJECT_ID, TEXTS, SESSION_ID, LANGUAGE_CODE)); + } + + private void assertResults(Map queryResults) { + QueryResult finalResult = queryResults.get(TEXTS.get(TEXTS.size() - 1)); + assertTrue(finalResult.getAllRequiredParamsPresent()); + assertEquals("All set!", finalResult.getFulfillmentText()); + } +} \ No newline at end of file diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponseIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponseIT.java deleted file mode 100644 index d28e2f21a64..00000000000 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponseIT.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.example.dialogflow; - -import static com.google.common.truth.Truth.assertThat; - -import java.io.ByteArrayOutputStream; -import java.io.PrintStream; -import java.util.Arrays; -import java.util.List; -import org.junit.After; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; - -/** Integration (system) tests for {@link DetectIntentWithTextToSpeechResponse}. */ -@RunWith(JUnit4.class) -@SuppressWarnings("checkstyle:abbreviationaswordinname") -public class DetectIntentWithTextToSpeechResponseIT { - - private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); - private static String SESSION_ID = "fake_session_for_testing"; - private static String LANGUAGE_CODE = "en-US"; - private static List TEXTS = - Arrays.asList( - "hello", - "book a meeting room", - "Mountain View", - "tomorrow", - "10 am", - "2 hours", - "10 people", - "A", - "yes"); - private ByteArrayOutputStream bout; - private DetectIntentWithTextToSpeechResponse detectIntentWithTextToSpeechResponse; - private PrintStream out; - - @Before - public void setUp() { - bout = new ByteArrayOutputStream(); - out = new PrintStream(bout); - System.setOut(out); - detectIntentWithTextToSpeechResponse = new DetectIntentWithTextToSpeechResponse(); - } - - @After - public void tearDown() { - System.setOut(null); - } - - @Test - public void testDetectIntent() throws Exception { - detectIntentWithTextToSpeechResponse.detectIntentWithTexttoSpeech( - PROJECT_ID, TEXTS, SESSION_ID, LANGUAGE_CODE); - - String got = bout.toString(); - assertThat(got).contains("Fulfillment Text: 'All set!'"); - } -} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDeleteEntityIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/EntityManagementIT.java similarity index 52% rename from dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDeleteEntityIT.java rename to dialogflow/snippets/src/test/java/com/example/dialogflow/EntityManagementIT.java index 23ab85991d4..532f929602e 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDeleteEntityIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/EntityManagementIT.java @@ -17,11 +17,18 @@ package com.example.dialogflow; import static com.google.common.truth.Truth.assertThat; +import static org.junit.Assert.assertEquals; + +import com.google.cloud.dialogflow.v2.EntityType; +import com.google.cloud.dialogflow.v2.EntityType.Entity; +import com.google.protobuf.ProtocolStringList; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.Arrays; +import java.util.Collections; import java.util.List; + import org.junit.After; import org.junit.Before; import org.junit.FixMethodOrder; @@ -30,37 +37,25 @@ import org.junit.runners.JUnit4; import org.junit.runners.MethodSorters; - /** * Integration (system) tests for {@link EntityManagement} and {@link EntityTypeManagement}. */ @RunWith(JUnit4.class) @FixMethodOrder(MethodSorters.NAME_ASCENDING) @SuppressWarnings("checkstyle:abbreviationaswordinname") -public class CreateDeleteEntityIT { +public class EntityManagementIT { + private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); private static String ENTITY_TYPE_DISPLAY_NAME = "fake_entity_type_for_testing"; private static String ENTITY_VALUE_1 = "fake_entity_for_testing_1"; private static String ENTITY_VALUE_2 = "fake_entity_for_testing_2"; private static List SYNONYMS = Arrays.asList("fake_synonym_for_testing_1", "fake_synonym_for_testing_2"); - private ByteArrayOutputStream bout; - private PrintStream out; - - private EntityManagement entityManagement; - private EntityTypeManagement entityTypeManagement; - private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); - @Before public void setUp() { - bout = new ByteArrayOutputStream(); - out = new PrintStream(bout); - System.setOut(out); - entityManagement = new EntityManagement(); - entityTypeManagement = new EntityTypeManagement(); + System.setOut(new PrintStream(new ByteArrayOutputStream())); } - @After public void tearDown() { System.setOut(null); @@ -68,66 +63,67 @@ public void tearDown() { @Test public void testCreateEntityType() throws Exception { - List entityTypeIds = entityTypeManagement.getEntityTypeIds(ENTITY_TYPE_DISPLAY_NAME, - PROJECT_ID); + List entityTypeIds = EntityTypeManagement.getEntityTypeIds( + ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID); assertThat(entityTypeIds.size()).isEqualTo(0); - entityTypeManagement.createEntityType(ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID, "KIND_MAP"); - - String got = bout.toString(); - assertThat(got).contains(String.format("display_name: \"%s\"", ENTITY_TYPE_DISPLAY_NAME)); + EntityType entityType = EntityTypeManagement.createEntityType( + ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID, "KIND_MAP"); + assertEquals(ENTITY_TYPE_DISPLAY_NAME, entityType.getDisplayName()); - entityTypeIds = entityTypeManagement.getEntityTypeIds(ENTITY_TYPE_DISPLAY_NAME, - PROJECT_ID); + entityTypeIds = EntityTypeManagement.getEntityTypeIds( + ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID); assertThat(entityTypeIds.size()).isEqualTo(1); } @Test public void testCreateEntityWithCreatedEntityType() throws Exception { - List entityTypeIds = entityTypeManagement.getEntityTypeIds(ENTITY_TYPE_DISPLAY_NAME, + List entityTypeIds = EntityTypeManagement.getEntityTypeIds(ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID); - entityManagement.createEntity(PROJECT_ID, entityTypeIds.get(0), ENTITY_VALUE_1, - Arrays.asList("")); - entityManagement.createEntity(PROJECT_ID, entityTypeIds.get(0), ENTITY_VALUE_2, SYNONYMS); - - entityManagement.listEntities(PROJECT_ID, entityTypeIds.get(0)); + EntityManagement.createEntity( + PROJECT_ID, entityTypeIds.get(0), ENTITY_VALUE_1, Collections.singletonList("")); + EntityManagement.createEntity( + PROJECT_ID, entityTypeIds.get(0), ENTITY_VALUE_2, SYNONYMS); - String got = bout.toString(); - assertThat(got).contains(String.format("Entity value: %s", ENTITY_VALUE_1)); - assertThat(got).contains(String.format("Entity value: %s", ENTITY_VALUE_2)); + List entities = EntityManagement.listEntities(PROJECT_ID, entityTypeIds.get(0)); + assertEquals(2, entities.size()); + int entityOneInd = entities.get(0).getValue().equals(ENTITY_VALUE_1) ? 0 : 1; + int entityTwoInd = entityOneInd == 0 ? 1 : 0; + assertEquals(ENTITY_VALUE_1, entities.get(entityOneInd).getValue()); + assertEquals(ENTITY_VALUE_2, entities.get(entityTwoInd).getValue()); + ProtocolStringList synonyms = entities.get(entityTwoInd).getSynonymsList(); + assertEquals(2, synonyms.size()); for (String synonym : SYNONYMS) { - assertThat(got).contains(synonym); + assertThat(synonyms).contains(synonym); } } @Test public void testDeleteEntity() throws Exception { - List entityTypeIds = entityTypeManagement.getEntityTypeIds(ENTITY_TYPE_DISPLAY_NAME, - PROJECT_ID); - - entityManagement.deleteEntity(PROJECT_ID, entityTypeIds.get(0), ENTITY_VALUE_1); - entityManagement.deleteEntity(PROJECT_ID, entityTypeIds.get(0), ENTITY_VALUE_2); + List entityTypeIds = EntityTypeManagement.getEntityTypeIds( + ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID); - entityManagement.listEntities(PROJECT_ID, entityTypeIds.get(0)); + EntityManagement.deleteEntity(PROJECT_ID, entityTypeIds.get(0), ENTITY_VALUE_1); + EntityManagement.deleteEntity(PROJECT_ID, entityTypeIds.get(0), ENTITY_VALUE_2); - String got = bout.toString(); - assertThat(got).isEqualTo(""); + List entities = EntityManagement.listEntities(PROJECT_ID, entityTypeIds.get(0)); + assertEquals(0, entities.size()); } @Test public void testDeleteEntityType() throws Exception { - List entityTypeIds = entityTypeManagement.getEntityTypeIds(ENTITY_TYPE_DISPLAY_NAME, - PROJECT_ID); + List entityTypeIds = EntityTypeManagement.getEntityTypeIds( + ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID); for (String entityTypeId : entityTypeIds) { - entityTypeManagement.deleteEntityType(entityTypeId, PROJECT_ID); + EntityTypeManagement.deleteEntityType(entityTypeId, PROJECT_ID); } - entityTypeIds = entityTypeManagement.getEntityTypeIds(ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID); + entityTypeIds = EntityTypeManagement.getEntityTypeIds(ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID); assertThat(entityTypeIds.size()).isEqualTo(0); } } diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/IntentManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/IntentManagementIT.java index 251984a00c8..5dc9d6c6bbc 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/IntentManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/IntentManagementIT.java @@ -17,11 +17,19 @@ package com.example.dialogflow; import static com.google.common.truth.Truth.assertThat; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertTrue; + +import com.google.cloud.dialogflow.v2.Intent; +import com.google.cloud.dialogflow.v2.IntentsClient; +import com.google.cloud.dialogflow.v2.ProjectAgentName; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.Arrays; import java.util.List; + import org.junit.After; import org.junit.Before; import org.junit.Test; @@ -41,59 +49,53 @@ public class IntentManagementIT { private static List TRAINING_PHRASE_PARTS = Arrays.asList( "fake_training_phrase_part_1", "fake_training_phrase_part_2"); - private ByteArrayOutputStream bout; - private PrintStream out; private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); - private IntentManagement intentManagement; @Before public void setUp() { - bout = new ByteArrayOutputStream(); - out = new PrintStream(bout); - System.setOut(out); - intentManagement = new IntentManagement(); + System.setOut(new PrintStream(new ByteArrayOutputStream())); } - @After - public void tearDown() { + public void tearDown() throws Exception { + try (IntentsClient intentsClient = IntentsClient.create()) { + // Set the project agent name using the projectID (my-project-id) + ProjectAgentName parent = ProjectAgentName.of(PROJECT_ID); + + // Performs the list intents request + for (Intent intent : intentsClient.listIntents(parent).iterateAll()) { + if (intent.getDisplayName().equals(INTENT_DISPLAY_NAME)) { + intentsClient.deleteIntent(intent.getName()); + } + } + } System.setOut(null); } @Test public void testCreateIntent() throws Exception { // Create the intent - intentManagement.createIntent(INTENT_DISPLAY_NAME, PROJECT_ID, TRAINING_PHRASE_PARTS, - MESSAGE_TEXTS); - - List intentIds = intentManagement.getIntentIds(INTENT_DISPLAY_NAME, PROJECT_ID); + Intent intent = IntentManagement.createIntent( + INTENT_DISPLAY_NAME, PROJECT_ID, TRAINING_PHRASE_PARTS, MESSAGE_TEXTS); + assertNotNull(intent); + List intentIds = IntentManagement.getIntentIds(intent.getDisplayName(), PROJECT_ID); assertThat(intentIds.size()).isEqualTo(1); - intentManagement.listIntents(PROJECT_ID); - - String got = bout.toString(); - assertThat(got).contains(INTENT_DISPLAY_NAME); + List intents = IntentManagement.listIntents(PROJECT_ID); + assertTrue(intents.size() > 0); + assertThat(intents).contains(intent); for (String messageText : MESSAGE_TEXTS) { - assertThat(got).contains(messageText); + assertTrue(intent.getMessagesList() + .stream().anyMatch(message -> message.getText().toString().contains(messageText))); } - // Delete the intent - bout.reset(); - intentIds = intentManagement.getIntentIds(INTENT_DISPLAY_NAME, PROJECT_ID); - for (String intentId : intentIds) { - intentManagement.deleteIntent(intentId, PROJECT_ID); + IntentManagement.deleteIntent(intentId, PROJECT_ID); } - intentManagement.listIntents(PROJECT_ID); - - got = bout.toString(); - assertThat(got).doesNotContain(INTENT_DISPLAY_NAME); - - intentIds = intentManagement.getIntentIds(INTENT_DISPLAY_NAME, PROJECT_ID); - - assertThat(intentIds.size()).isEqualTo(0); + int numIntents = intents.size(); + intents = IntentManagement.listIntents(PROJECT_ID); + assertEquals(numIntents - 1, intents.size()); } - } diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java index 18609814666..e3e8f19fc14 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java @@ -17,11 +17,23 @@ package com.example.dialogflow; import static com.google.common.truth.Truth.assertThat; +import static org.junit.Assert.assertEquals; + +import com.google.cloud.dialogflow.v2beta1.DeleteDocumentRequest; +import com.google.cloud.dialogflow.v2beta1.Document; +import com.google.cloud.dialogflow.v2beta1.DocumentsClient; +import com.google.cloud.dialogflow.v2beta1.KnowledgeAnswers; +import com.google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer; +import com.google.cloud.dialogflow.v2beta1.KnowledgeBase; +import com.google.cloud.dialogflow.v2beta1.KnowledgeBasesClient; +import com.google.cloud.dialogflow.v2beta1.ProjectName; import java.io.ByteArrayOutputStream; import java.io.PrintStream; -import java.util.Arrays; +import java.util.Collections; import java.util.List; +import java.util.Map; + import org.junit.After; import org.junit.Before; import org.junit.Test; @@ -35,100 +47,127 @@ @SuppressWarnings("checkstyle:abbreviationaswordinname") public class KnowledgeBaseManagementIT { - private ByteArrayOutputStream bout; - private DetectIntentKnowledge detectIntentKnowledge; - private KnowledgeBaseManagement knowledgeBaseManagement; - private DocumentManagement documentManagement; - private PrintStream out; private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); private static String SESSION_ID = "fake_session_for_testing"; private static String LANGUAGE_CODE = "en-US"; private static String KNOWLEDGE_BASE_NAME = "fake_knowledge_base_name"; private static String DOCUMENT_BASE_NAME = "fake_document_name"; - private String knowledgeBaseId = ""; - private String documentId = ""; - private static List TEXTS = Arrays.asList("Where is my data stored?"); + private static List TEXTS = Collections.singletonList("Is my data redundant?"); @Before public void setUp() { - bout = new ByteArrayOutputStream(); - out = new PrintStream(bout); - System.setOut(out); - detectIntentKnowledge = new DetectIntentKnowledge(); - knowledgeBaseManagement = new KnowledgeBaseManagement(); - documentManagement = new DocumentManagement(); + System.setOut(new PrintStream(new ByteArrayOutputStream())); } + // If any knowledge base/documents remain after test complete, delete them. @After - public void tearDown() { + public void tearDown() throws Exception { + try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) { + try (DocumentsClient documentsClient = DocumentsClient.create()) { + ProjectName projectName = ProjectName.of(PROJECT_ID); + for (KnowledgeBase knowledgeBase : + knowledgeBasesClient.listKnowledgeBases(projectName).iterateAll()) { + // Delete any documents in the knowledge base. + for (Document document : documentsClient.listDocuments( + knowledgeBase.getName()).iterateAll()) { + documentsClient.deleteDocumentCallable().call( + DeleteDocumentRequest.newBuilder().setName(document.getName()).build()); + } + knowledgeBasesClient.deleteKnowledgeBase(knowledgeBase.getName()); + } + } + } System.setOut(null); } @Test public void testKnowledgeBase() throws Exception { // Check the knowledge base does not yet exist - knowledgeBaseManagement.listKnowledgeBases(PROJECT_ID); - String got = bout.toString(); - assertThat(got).doesNotContain("Display Name: " + KNOWLEDGE_BASE_NAME); + List knowledgeBases = KnowledgeBaseManagement.listKnowledgeBases(PROJECT_ID); + assertEquals(0, knowledgeBases.size()); // Create a Knowledge Base - knowledgeBaseManagement.createKnowledgeBase(PROJECT_ID,KNOWLEDGE_BASE_NAME); - got = bout.toString(); - assertThat(got).contains("Display Name: " + KNOWLEDGE_BASE_NAME); + KnowledgeBase knowledgeBase = + KnowledgeBaseManagement.createKnowledgeBase(PROJECT_ID, KNOWLEDGE_BASE_NAME); + assertEquals(knowledgeBase.getDisplayName(), KNOWLEDGE_BASE_NAME); + + // Get KnowledgeBase + knowledgeBase = KnowledgeBaseManagement.getKnowledgeBase(knowledgeBase.getName()); + assertEquals(knowledgeBase.getDisplayName(), KNOWLEDGE_BASE_NAME); // List Knowledge Bases - knowledgeBaseManagement.listKnowledgeBases(PROJECT_ID); - got = bout.toString(); - assertThat(got).contains("Display Name: " + KNOWLEDGE_BASE_NAME); - knowledgeBaseId = got.split("/knowledgeBases/")[2].trim(); + knowledgeBases = KnowledgeBaseManagement.listKnowledgeBases(PROJECT_ID); + assertEquals(1, knowledgeBases.size()); + assertEquals(KNOWLEDGE_BASE_NAME, knowledgeBases.get(0).getDisplayName()); - // Get knowledge base - knowledgeBaseManagement.getKnowledgeBase(PROJECT_ID,knowledgeBaseId); - got = bout.toString(); - assertThat(got).contains("Display Name: " + KNOWLEDGE_BASE_NAME); + // Delete the Knowledge Base + KnowledgeBaseManagement.deleteKnowledgeBase(knowledgeBase.getName()); - // Create a Document - documentManagement.createDocument(PROJECT_ID,knowledgeBaseId,DOCUMENT_BASE_NAME,"text/html","FAQ","https://cloud.google.com/storage/docs/faq"); - got = bout.toString(); - assertThat(got).contains("Display Name: " + DOCUMENT_BASE_NAME); + // List Knowledge Bases (ensure delete success) + knowledgeBases = KnowledgeBaseManagement.listKnowledgeBases(PROJECT_ID); + assertEquals(0, knowledgeBases.size()); + } - // List the Document - documentManagement.listDocuments(PROJECT_ID,knowledgeBaseId); - got = bout.toString(); - assertThat(got).contains("Display Name: " + DOCUMENT_BASE_NAME); - documentId = got.split("documents/")[1].split("- MIME Type")[0].trim(); + @Test + public void testDocumentManagement() throws Exception { + // Create a Knowledge Base + KnowledgeBase knowledgeBase = + KnowledgeBaseManagement.createKnowledgeBase(PROJECT_ID, KNOWLEDGE_BASE_NAME); + String knowledgeBaseName = knowledgeBase.getName(); - // Get the Document - documentManagement.getDocument(PROJECT_ID,knowledgeBaseId,documentId); - got = bout.toString(); - assertThat(got).contains("Display Name: " + DOCUMENT_BASE_NAME); + // Create a Document + Document document = DocumentManagement.createDocument( + knowledgeBaseName, + DOCUMENT_BASE_NAME, + "text/html", + "FAQ", + "https://cloud.google.com/storage/docs/faq"); + assertEquals(DOCUMENT_BASE_NAME, document.getDisplayName()); + + // List the Documents + List documents = DocumentManagement.listDocuments(knowledgeBaseName); + assertEquals(1, documents.size()); + assertEquals(DOCUMENT_BASE_NAME, documents.get(0).getDisplayName()); - // Detect Intent with Knowledge Base - detectIntentKnowledge.detectIntentKnowledge(PROJECT_ID, knowledgeBaseId,SESSION_ID, - LANGUAGE_CODE, TEXTS); - got = bout.toString(); - assertThat(got).contains("Knowledge results"); + // Get the Document + document = DocumentManagement.getDocument(document.getName()); + assertEquals(DOCUMENT_BASE_NAME, document.getDisplayName()); // Delete the Document - bout.reset(); - documentManagement.deleteDocument(PROJECT_ID,knowledgeBaseId,documentId); - got = bout.toString(); - assertThat(got).contains("The document has been deleted."); + DocumentManagement.deleteDocument(document.getName()); // List the Document - documentManagement.listDocuments(PROJECT_ID,knowledgeBaseId); - got = bout.toString(); - assertThat(got).doesNotContain("Display Name: " + DOCUMENT_BASE_NAME); - - // Delete the Knowledge Base - knowledgeBaseManagement.deleteKnowledgeBase(PROJECT_ID,knowledgeBaseId); - - // List Knowledge Bases - knowledgeBaseManagement.listKnowledgeBases(PROJECT_ID); - got = bout.toString(); - assertThat(got).doesNotContain("Display Name: " + KNOWLEDGE_BASE_NAME); - + documents = DocumentManagement.listDocuments(knowledgeBaseName); + assertEquals(0, documents.size()); } -} \ No newline at end of file + @Test + public void testDetectIntentKnowledge() throws Exception { + // Create a Knowledge Base + KnowledgeBase knowledgeBase = + KnowledgeBaseManagement.createKnowledgeBase(PROJECT_ID, KNOWLEDGE_BASE_NAME); + String knowledgeBaseName = knowledgeBase.getName(); + + // Create a Document - one needs to exist in order for detectIntentKnowledge to provide answers. + Document document = DocumentManagement.createDocument( + knowledgeBaseName, + DOCUMENT_BASE_NAME, + "text/html", + "FAQ", + "https://cloud.google.com/storage/docs/faq"); + assertEquals(DOCUMENT_BASE_NAME, document.getDisplayName()); + + Map allAnswers = DetectIntentKnowledge + .detectIntentKnowledge(PROJECT_ID, knowledgeBaseName, SESSION_ID, LANGUAGE_CODE, TEXTS); + assertEquals(1, allAnswers.size()); + KnowledgeAnswers knowledgeAnswers = allAnswers.get(TEXTS.get(0)); + for (String text : TEXTS) { + assertEquals(1, knowledgeAnswers.getAnswersCount()); + Answer answer = knowledgeAnswers.getAnswers(0); + assertEquals(text, answer.getFaqQuestion()); + assertEquals(document.getName(), answer.getSource()); + assertThat(answer.getAnswer()).contains("Cloud Storage"); + } + } +} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/SessionEntityTypeManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/SessionEntityTypeManagementIT.java index a4f9edf480f..6e7cdcf5b8f 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/SessionEntityTypeManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/SessionEntityTypeManagementIT.java @@ -17,11 +17,20 @@ package com.example.dialogflow; import static com.google.common.truth.Truth.assertThat; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +import com.google.cloud.dialogflow.v2.EntityType; +import com.google.cloud.dialogflow.v2.EntityType.Kind; +import com.google.cloud.dialogflow.v2.SessionEntityType; +import com.google.cloud.dialogflow.v2.SessionEntityTypesClient; +import com.google.cloud.dialogflow.v2.SessionName; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.Arrays; import java.util.List; + import org.junit.After; import org.junit.Before; import org.junit.Test; @@ -39,63 +48,62 @@ public class SessionEntityTypeManagementIT { private static List ENTITY_VALUES = Arrays.asList("fake_entity_value_1", "fake_entity_value_2"); private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); - private ByteArrayOutputStream bout; - private PrintStream out; - - private SessionEntityTypeManagement sessionEntityTypeManagement; - private EntityTypeManagement entityTypeManagement; @Before public void setUp() { - bout = new ByteArrayOutputStream(); - out = new PrintStream(bout); - System.setOut(out); - sessionEntityTypeManagement = new SessionEntityTypeManagement(); - entityTypeManagement = new EntityTypeManagement(); + System.setOut(new PrintStream(new ByteArrayOutputStream())); } - @After - public void tearDown() { + public void tearDown() throws Exception { + try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) { + SessionName session = SessionName.of(PROJECT_ID, SESSION_ID); + + // Performs the list session entity types request + for (SessionEntityType sessionEntityType : + sessionEntityTypesClient.listSessionEntityTypes(session).iterateAll()) { + if (sessionEntityType.getName().equals(ENTITY_TYPE_DISPLAY_NAME)) { + sessionEntityTypesClient.deleteSessionEntityType(sessionEntityType.getName()); + } + } + } System.setOut(null); } - @Test public void testCreateDeleteSessionEntityType() throws Exception { // Create session entity type - entityTypeManagement.createEntityType(ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID, "KIND_MAP"); + EntityType entityType = EntityTypeManagement + .createEntityType(ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID, "KIND_MAP"); + assertEquals(Kind.valueOf("KIND_MAP"), entityType.getKind()); - sessionEntityTypeManagement.createSessionEntityType(PROJECT_ID, SESSION_ID, ENTITY_VALUES, - ENTITY_TYPE_DISPLAY_NAME, 1); + SessionEntityTypeManagement.createSessionEntityType( + PROJECT_ID, SESSION_ID, ENTITY_VALUES, ENTITY_TYPE_DISPLAY_NAME, 1); - sessionEntityTypeManagement.listSessionEntityTypes(PROJECT_ID, SESSION_ID); + List sessionEntityTypes = SessionEntityTypeManagement + .listSessionEntityTypes(PROJECT_ID, SESSION_ID); + assertEquals(1, sessionEntityTypes.size()); + SessionEntityType sessionEntityType = sessionEntityTypes.get(0); + assertThat(sessionEntityType.getName()).contains(SESSION_ID); + assertThat(sessionEntityType.getName()).contains(ENTITY_TYPE_DISPLAY_NAME); - String got = bout.toString(); - assertThat(got).contains(SESSION_ID); - assertThat(got).contains(ENTITY_TYPE_DISPLAY_NAME); for (String entityValue : ENTITY_VALUES) { - assertThat(got).contains(entityValue); + assertTrue(sessionEntityType + .getEntitiesList().stream().anyMatch(e -> e.getValue().equals(entityValue))); } // Delete session entity type - bout.reset(); - sessionEntityTypeManagement.deleteSessionEntityType(PROJECT_ID, SESSION_ID, - ENTITY_TYPE_DISPLAY_NAME); - - sessionEntityTypeManagement.listSessionEntityTypes(PROJECT_ID, SESSION_ID); + SessionEntityTypeManagement.deleteSessionEntityType( + PROJECT_ID, SESSION_ID, ENTITY_TYPE_DISPLAY_NAME); - got = bout.toString(); - assertThat(got).doesNotContain(ENTITY_TYPE_DISPLAY_NAME); - for (String entityValue : ENTITY_VALUES) { - assertThat(got).doesNotContain(entityValue); - } + sessionEntityTypes = SessionEntityTypeManagement.listSessionEntityTypes(PROJECT_ID, SESSION_ID); + assertEquals(0, sessionEntityTypes.size()); - List entityTypesIds = entityTypeManagement.getEntityTypeIds(ENTITY_TYPE_DISPLAY_NAME, - PROJECT_ID); + List entityTypesIds = EntityTypeManagement.getEntityTypeIds( + ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID); for (String entityTypeId : entityTypesIds) { - entityTypeManagement.deleteEntityType(entityTypeId, PROJECT_ID); + EntityTypeManagement.deleteEntityType(entityTypeId, PROJECT_ID); } } } From 4646dc4aa5d44880d066d23c10776e7c6bca0275 Mon Sep 17 00:00:00 2001 From: Noah Negrey Date: Mon, 15 Oct 2018 11:11:01 -0700 Subject: [PATCH 025/178] samples: Update KnowledgeBaseManagement Tests to address inconsistent results. (#1233) --- .../java/com/example/dialogflow/KnowledgeBaseManagementIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java index e3e8f19fc14..efb81227a3c 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java @@ -53,7 +53,7 @@ public class KnowledgeBaseManagementIT { private static String KNOWLEDGE_BASE_NAME = "fake_knowledge_base_name"; private static String DOCUMENT_BASE_NAME = "fake_document_name"; - private static List TEXTS = Collections.singletonList("Is my data redundant?"); + private static List TEXTS = Collections.singletonList("How do I sign up?"); @Before public void setUp() { From 34410b1ea9ac3c25cc9a640f2a9c333c46cb9a3e Mon Sep 17 00:00:00 2001 From: Noah Negrey Date: Tue, 30 Oct 2018 11:21:54 -0700 Subject: [PATCH 026/178] samples: Make the test less flaky (#1245) --- .../dialogflow/KnowledgeBaseManagementIT.java | 25 ++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java index efb81227a3c..d6bdab305e2 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java @@ -28,9 +28,9 @@ import com.google.cloud.dialogflow.v2beta1.KnowledgeBasesClient; import com.google.cloud.dialogflow.v2beta1.ProjectName; +import com.google.common.collect.ImmutableList; import java.io.ByteArrayOutputStream; import java.io.PrintStream; -import java.util.Collections; import java.util.List; import java.util.Map; @@ -53,7 +53,9 @@ public class KnowledgeBaseManagementIT { private static String KNOWLEDGE_BASE_NAME = "fake_knowledge_base_name"; private static String DOCUMENT_BASE_NAME = "fake_document_name"; - private static List TEXTS = Collections.singletonList("How do I sign up?"); + private static List TEXTS = ImmutableList + .of("How do I sign up?", "Is my data redundant?", "Where can I find pricing information?", + "Where is my data stored?", "What are my support options?"); @Before public void setUp() { @@ -160,14 +162,19 @@ public void testDetectIntentKnowledge() throws Exception { Map allAnswers = DetectIntentKnowledge .detectIntentKnowledge(PROJECT_ID, knowledgeBaseName, SESSION_ID, LANGUAGE_CODE, TEXTS); - assertEquals(1, allAnswers.size()); - KnowledgeAnswers knowledgeAnswers = allAnswers.get(TEXTS.get(0)); + assertEquals(TEXTS.size(), allAnswers.size()); + int answersFound = 0; for (String text : TEXTS) { - assertEquals(1, knowledgeAnswers.getAnswersCount()); - Answer answer = knowledgeAnswers.getAnswers(0); - assertEquals(text, answer.getFaqQuestion()); - assertEquals(document.getName(), answer.getSource()); - assertThat(answer.getAnswer()).contains("Cloud Storage"); + KnowledgeAnswers knowledgeAnswers = allAnswers.get(text); + if (knowledgeAnswers.getAnswersCount() > 0) { + answersFound++; + Answer answer = knowledgeAnswers.getAnswers(0); + assertEquals(text, answer.getFaqQuestion()); + assertEquals(document.getName(), answer.getSource()); + assertThat(answer.getAnswer()).contains("Cloud Storage"); + } } + // To make the test less flaky, check that half of the texts got a result. + assertThat(answersFound).isGreaterThan(TEXTS.size() / 2); } } From afd3cf7e7f1382a5d2f10a04cb6f828c2ee52ccf Mon Sep 17 00:00:00 2001 From: Noah Negrey Date: Mon, 13 May 2019 08:27:17 -0700 Subject: [PATCH 027/178] samples: Update streaming sample to use non-deprecated method (#1413) --- .../dialogflow/DetectIntentStream.java | 138 +++++------------- .../dialogflow/DetectIntentStreamIT.java | 37 ++--- .../dialogflow/KnowledgeBaseManagementIT.java | 11 +- 3 files changed, 63 insertions(+), 123 deletions(-) diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentStream.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentStream.java index b531fd180d3..94a7d4df8d8 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentStream.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentStream.java @@ -16,10 +16,9 @@ package com.example.dialogflow; - +// [START dialogflow_detect_intent_streaming] // Imports the Google Cloud client library - -import com.google.api.gax.rpc.ApiStreamObserver; +import com.google.api.gax.rpc.BidiStream; import com.google.cloud.dialogflow.v2.AudioEncoding; import com.google.cloud.dialogflow.v2.InputAudioConfig; import com.google.cloud.dialogflow.v2.QueryInput; @@ -29,138 +28,77 @@ import com.google.cloud.dialogflow.v2.StreamingDetectIntentRequest; import com.google.cloud.dialogflow.v2.StreamingDetectIntentResponse; import com.google.protobuf.ByteString; - import java.io.FileInputStream; -import java.util.ArrayList; -import java.util.List; -import java.util.concurrent.CountDownLatch; +import java.io.IOException; /** * DialogFlow API Detect Intent sample with audio files processes as an audio stream. */ -public class DetectIntentStream { - // [START dialogflow_detect_intent_streaming] +class DetectIntentStream { - /** - * Returns the result of detect intent with streaming audio as input. - * - * Using the same `session_id` between requests allows continuation of the conversation. - * - * @param projectId Project/Agent Id. - * @param audioFilePath The audio file to be processed. - * @param sessionId Identifier of the DetectIntent session. - * @param languageCode Language code of the query. - * @return The List of StreamingDetectIntentResponses to the input audio inputs. - */ - public static List detectIntentStream( - String projectId, - String audioFilePath, - String sessionId, - String languageCode) throws Throwable { - // Start bi-directional StreamingDetectIntent stream. - final CountDownLatch notification = new CountDownLatch(1); - final List responseThrowables = new ArrayList<>(); - final List responses = new ArrayList<>(); + static void detectIntentStream(String projectId, String audioFilePath, String sessionId) { + // String projectId = "YOUR_PROJECT_ID"; + // String audioFilePath = "path_to_your_audio_file"; + // Using the same `sessionId` between requests allows continuation of the conversation. + // String sessionId = "Identifier of the DetectIntent session"; // Instantiates a client try (SessionsClient sessionsClient = SessionsClient.create()) { // Set the session name using the sessionId (UUID) and projectID (my-project-id) SessionName session = SessionName.of(projectId, sessionId); - System.out.println("Session Path: " + session.toString()); + // Instructs the speech recognizer how to process the audio content. // Note: hard coding audioEncoding and sampleRateHertz for simplicity. // Audio encoding of the audio content sent in the query request. - AudioEncoding audioEncoding = AudioEncoding.AUDIO_ENCODING_LINEAR_16; - int sampleRateHertz = 16000; - - // Instructs the speech recognizer how to process the audio content. InputAudioConfig inputAudioConfig = InputAudioConfig.newBuilder() - .setAudioEncoding(audioEncoding) // audioEncoding = AudioEncoding.AUDIO_ENCODING_LINEAR_16 - .setLanguageCode(languageCode) // languageCode = "en-US" - .setSampleRateHertz(sampleRateHertz) // sampleRateHertz = 16000 + .setAudioEncoding(AudioEncoding.AUDIO_ENCODING_LINEAR_16) + .setLanguageCode("en-US") // languageCode = "en-US" + .setSampleRateHertz(16000) // sampleRateHertz = 16000 .build(); - ApiStreamObserver responseObserver = - new ApiStreamObserver() { - @Override - public void onNext(StreamingDetectIntentResponse response) { - // Do something when receive a response - responses.add(response); - } - - @Override - public void onError(Throwable t) { - // Add error-handling - responseThrowables.add(t); - } - - @Override - public void onCompleted() { - // Do something when complete. - notification.countDown(); - } - }; - - // Performs the streaming detect intent callable request - ApiStreamObserver requestObserver = - sessionsClient.streamingDetectIntentCallable().bidiStreamingCall(responseObserver); - // Build the query with the InputAudioConfig QueryInput queryInput = QueryInput.newBuilder().setAudioConfig(inputAudioConfig).build(); - try (FileInputStream audioStream = new FileInputStream(audioFilePath)) { - // The first request contains the configuration - StreamingDetectIntentRequest request = StreamingDetectIntentRequest.newBuilder() - .setSession(session.toString()) - .setQueryInput(queryInput) - .build(); + // Create the Bidirectional stream + BidiStream bidiStream = + sessionsClient.streamingDetectIntentCallable().call(); - // Make the first request - requestObserver.onNext(request); + // The first request must **only** contain the audio configuration: + bidiStream.send(StreamingDetectIntentRequest.newBuilder() + .setSession(session.toString()) + .setQueryInput(queryInput) + .build()); + try (FileInputStream audioStream = new FileInputStream(audioFilePath)) { + // Subsequent requests must **only** contain the audio data. // Following messages: audio chunks. We just read the file in fixed-size chunks. In reality // you would split the user input by time. byte[] buffer = new byte[4096]; int bytes; while ((bytes = audioStream.read(buffer)) != -1) { - requestObserver.onNext( + bidiStream.send( StreamingDetectIntentRequest.newBuilder() .setInputAudio(ByteString.copyFrom(buffer, 0, bytes)) .build()); } - } catch (RuntimeException e) { - // Cancel stream. - requestObserver.onError(e); - } - // Half-close the stream. - requestObserver.onCompleted(); - // Wait for the final response (without explicit timeout). - notification.await(); - // Process errors/responses. - if (!responseThrowables.isEmpty()) { - throw responseThrowables.get(0); - } - if (responses.isEmpty()) { - throw new RuntimeException("No response from Dialogflow."); } - for (StreamingDetectIntentResponse response : responses) { - if (response.hasRecognitionResult()) { - System.out.format( - "Intermediate transcript: '%s'\n", response.getRecognitionResult().getTranscript()); - } - } + // Tell the service you are done sending data + bidiStream.closeSend(); - // Display the last query result - QueryResult queryResult = responses.get(responses.size() - 1).getQueryResult(); - System.out.println("===================="); - System.out.format("Query Text: '%s'\n", queryResult.getQueryText()); - System.out.format("Detected Intent: %s (confidence: %f)\n", - queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); - System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); + for (StreamingDetectIntentResponse response : bidiStream) { + QueryResult queryResult = response.getQueryResult(); + System.out.println("===================="); + System.out.format("Intent Display Name: %s\n", queryResult.getIntent().getDisplayName()); + System.out.format("Query Text: '%s'\n", queryResult.getQueryText()); + System.out.format("Detected Intent: %s (confidence: %f)\n", + queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); + System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); - return responses; + } + } catch (IOException e) { + e.printStackTrace(); } } - // [END dialogflow_detect_intent_streaming] } +// [END dialogflow_detect_intent_streaming] diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java index a1d6b8c080a..21499647662 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java @@ -16,14 +16,12 @@ package com.example.dialogflow; -import static org.junit.Assert.assertTrue; - -import com.google.cloud.dialogflow.v2.StreamingDetectIntentResponse; +import static org.junit.Assert.assertThat; import java.io.ByteArrayOutputStream; +import java.io.IOException; import java.io.PrintStream; -import java.util.List; - +import org.hamcrest.CoreMatchers; import org.junit.After; import org.junit.Before; import org.junit.Test; @@ -37,32 +35,35 @@ @SuppressWarnings("checkstyle:abbreviationaswordinname") public class DetectIntentStreamIT { + private ByteArrayOutputStream bout; + private static String audioFilePath = "resources/book_a_room.wav"; private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); private static String SESSION_ID = "fake_session_for_testing"; - private static String LANGUAGE_CODE = "en-US"; @Before public void setUp() { - System.setOut(new PrintStream(new ByteArrayOutputStream())); + bout = new ByteArrayOutputStream(); + System.setOut(new PrintStream(bout)); } @After public void tearDown() { System.setOut(null); + bout.reset(); } @Test - public void testStreamingDetectIntentCallable() throws Throwable { - List response = DetectIntentStream.detectIntentStream( - PROJECT_ID, audioFilePath, SESSION_ID, LANGUAGE_CODE); - assertTrue(response.size() > 0); - assertTrue(response.stream().anyMatch(i -> i - .getQueryResult() - .getIntent() - .getDisplayName().equals("room.reservation"))); - assertTrue(response.stream().anyMatch(i -> i - .getRecognitionResult() - .getTranscript().contains("book"))); + public void testStreamingDetectIntentCallable() { + DetectIntentStream.detectIntentStream( + PROJECT_ID, audioFilePath, SESSION_ID); + + String output = bout.toString(); + + assertThat(output, CoreMatchers.containsString( + "Intent Display Name: room.reservation")); + + assertThat(output, CoreMatchers.containsString( + "book")); } } diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java index d6bdab305e2..877737779c3 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java @@ -55,7 +55,8 @@ public class KnowledgeBaseManagementIT { private static List TEXTS = ImmutableList .of("How do I sign up?", "Is my data redundant?", "Where can I find pricing information?", - "Where is my data stored?", "What are my support options?"); + "Where is my data stored?", "What are my support options?", + "How can I maximize the availability of my data?"); @Before public void setUp() { @@ -167,11 +168,11 @@ public void testDetectIntentKnowledge() throws Exception { for (String text : TEXTS) { KnowledgeAnswers knowledgeAnswers = allAnswers.get(text); if (knowledgeAnswers.getAnswersCount() > 0) { - answersFound++; Answer answer = knowledgeAnswers.getAnswers(0); - assertEquals(text, answer.getFaqQuestion()); - assertEquals(document.getName(), answer.getSource()); - assertThat(answer.getAnswer()).contains("Cloud Storage"); + if (text.equals(answer.getFaqQuestion()) && document.getName().equals(answer.getSource()) + && answer.getAnswer().contains("Cloud Storage")) { + answersFound++; + } } } // To make the test less flaky, check that half of the texts got a result. From b435acc07b08d8c9167db8588a840a9d87b8231f Mon Sep 17 00:00:00 2001 From: Noah Negrey Date: Wed, 15 May 2019 15:16:22 -0700 Subject: [PATCH 028/178] samples: TTS / Sentiment GA (#1421) --- .../DetectIntentWithSentimentAnalysis.java | 20 +++++++++---------- .../DetectIntentWithTextToSpeechResponse.java | 20 +++++++++---------- ...tIntentWithSentimentAndTextToSpeechIT.java | 2 +- .../dialogflow/KnowledgeBaseManagementIT.java | 3 +-- 4 files changed, 22 insertions(+), 23 deletions(-) diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java index b75e1a541cd..3005847a1a5 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java @@ -16,16 +16,16 @@ package com.example.dialogflow; -import com.google.cloud.dialogflow.v2beta1.DetectIntentRequest; -import com.google.cloud.dialogflow.v2beta1.DetectIntentResponse; -import com.google.cloud.dialogflow.v2beta1.QueryInput; -import com.google.cloud.dialogflow.v2beta1.QueryParameters; -import com.google.cloud.dialogflow.v2beta1.QueryResult; -import com.google.cloud.dialogflow.v2beta1.SentimentAnalysisRequestConfig; -import com.google.cloud.dialogflow.v2beta1.SessionName; -import com.google.cloud.dialogflow.v2beta1.SessionsClient; -import com.google.cloud.dialogflow.v2beta1.TextInput; -import com.google.cloud.dialogflow.v2beta1.TextInput.Builder; +import com.google.cloud.dialogflow.v2.DetectIntentRequest; +import com.google.cloud.dialogflow.v2.DetectIntentResponse; +import com.google.cloud.dialogflow.v2.QueryInput; +import com.google.cloud.dialogflow.v2.QueryParameters; +import com.google.cloud.dialogflow.v2.QueryResult; +import com.google.cloud.dialogflow.v2.SentimentAnalysisRequestConfig; +import com.google.cloud.dialogflow.v2.SessionName; +import com.google.cloud.dialogflow.v2.SessionsClient; +import com.google.cloud.dialogflow.v2.TextInput; +import com.google.cloud.dialogflow.v2.TextInput.Builder; import com.google.common.collect.Maps; import java.util.List; diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java index da053d1017d..c7387364334 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java @@ -16,16 +16,16 @@ package com.example.dialogflow; -import com.google.cloud.dialogflow.v2beta1.DetectIntentRequest; -import com.google.cloud.dialogflow.v2beta1.DetectIntentResponse; -import com.google.cloud.dialogflow.v2beta1.OutputAudioConfig; -import com.google.cloud.dialogflow.v2beta1.OutputAudioEncoding; -import com.google.cloud.dialogflow.v2beta1.QueryInput; -import com.google.cloud.dialogflow.v2beta1.QueryResult; -import com.google.cloud.dialogflow.v2beta1.SessionName; -import com.google.cloud.dialogflow.v2beta1.SessionsClient; -import com.google.cloud.dialogflow.v2beta1.TextInput; -import com.google.cloud.dialogflow.v2beta1.TextInput.Builder; +import com.google.cloud.dialogflow.v2.DetectIntentRequest; +import com.google.cloud.dialogflow.v2.DetectIntentResponse; +import com.google.cloud.dialogflow.v2.OutputAudioConfig; +import com.google.cloud.dialogflow.v2.OutputAudioEncoding; +import com.google.cloud.dialogflow.v2.QueryInput; +import com.google.cloud.dialogflow.v2.QueryResult; +import com.google.cloud.dialogflow.v2.SessionName; +import com.google.cloud.dialogflow.v2.SessionsClient; +import com.google.cloud.dialogflow.v2.TextInput; +import com.google.cloud.dialogflow.v2.TextInput.Builder; import com.google.common.collect.Maps; import java.util.List; diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java index a427f95aa50..bef351a10f6 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java @@ -19,7 +19,7 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; -import com.google.cloud.dialogflow.v2beta1.QueryResult; +import com.google.cloud.dialogflow.v2.QueryResult; import java.io.ByteArrayOutputStream; import java.io.PrintStream; diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java index 877737779c3..180678dcea5 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java @@ -169,8 +169,7 @@ public void testDetectIntentKnowledge() throws Exception { KnowledgeAnswers knowledgeAnswers = allAnswers.get(text); if (knowledgeAnswers.getAnswersCount() > 0) { Answer answer = knowledgeAnswers.getAnswers(0); - if (text.equals(answer.getFaqQuestion()) && document.getName().equals(answer.getSource()) - && answer.getAnswer().contains("Cloud Storage")) { + if (text.equals(answer.getFaqQuestion()) && document.getName().equals(answer.getSource())) { answersFound++; } } From 00f7de401c8b663379f64eb53c3340352d806a68 Mon Sep 17 00:00:00 2001 From: Noah Negrey Date: Tue, 25 Jun 2019 08:53:51 -0600 Subject: [PATCH 029/178] samples: Rework the tests to remove flakiness (hopefully) (#1488) * Rework the tests to remove flakiness (hopefully) * Update IDs since old test deleted my knowledge base --- .../dialogflow/KnowledgeBaseManagementIT.java | 64 +++++++++++-------- 1 file changed, 38 insertions(+), 26 deletions(-) diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java index 180678dcea5..ebbeeb049de 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java @@ -21,13 +21,14 @@ import com.google.cloud.dialogflow.v2beta1.DeleteDocumentRequest; import com.google.cloud.dialogflow.v2beta1.Document; +import com.google.cloud.dialogflow.v2beta1.DocumentName; import com.google.cloud.dialogflow.v2beta1.DocumentsClient; import com.google.cloud.dialogflow.v2beta1.KnowledgeAnswers; import com.google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer; import com.google.cloud.dialogflow.v2beta1.KnowledgeBase; +import com.google.cloud.dialogflow.v2beta1.KnowledgeBaseName; import com.google.cloud.dialogflow.v2beta1.KnowledgeBasesClient; import com.google.cloud.dialogflow.v2beta1.ProjectName; - import com.google.common.collect.ImmutableList; import java.io.ByteArrayOutputStream; import java.io.PrintStream; @@ -48,6 +49,8 @@ public class KnowledgeBaseManagementIT { private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); + private static String TEST_KNOWLEDGE_BASE_ID = "NjcyODA2NTU4MTk4OTIzMjY0MA"; + private static String TEST_DOCUMENT_ID = "NjY2NDk4ODc5ODkyNjk3OTA3Mg"; private static String SESSION_ID = "fake_session_for_testing"; private static String LANGUAGE_CODE = "en-US"; private static String KNOWLEDGE_BASE_NAME = "fake_knowledge_base_name"; @@ -71,13 +74,19 @@ public void tearDown() throws Exception { ProjectName projectName = ProjectName.of(PROJECT_ID); for (KnowledgeBase knowledgeBase : knowledgeBasesClient.listKnowledgeBases(projectName).iterateAll()) { - // Delete any documents in the knowledge base. - for (Document document : documentsClient.listDocuments( - knowledgeBase.getName()).iterateAll()) { - documentsClient.deleteDocumentCallable().call( - DeleteDocumentRequest.newBuilder().setName(document.getName()).build()); + // DO NOT DELETE THE TEST KNOWLEDGE BASE + if (!knowledgeBase.getName().contains(TEST_KNOWLEDGE_BASE_ID)) { + // Delete any documents in the knowledge base. + for (Document document : documentsClient.listDocuments( + knowledgeBase.getName()).iterateAll()) { + // DO NOT DELETE THE TEST DOCUMENT + if (!document.getName().contains(TEST_DOCUMENT_ID)) { + documentsClient.deleteDocumentCallable().call( + DeleteDocumentRequest.newBuilder().setName(document.getName()).build()); + } + } + knowledgeBasesClient.deleteKnowledgeBase(knowledgeBase.getName()); } - knowledgeBasesClient.deleteKnowledgeBase(knowledgeBase.getName()); } } } @@ -88,7 +97,7 @@ public void tearDown() throws Exception { public void testKnowledgeBase() throws Exception { // Check the knowledge base does not yet exist List knowledgeBases = KnowledgeBaseManagement.listKnowledgeBases(PROJECT_ID); - assertEquals(0, knowledgeBases.size()); + assertEquals(1, knowledgeBases.size()); // Create a Knowledge Base KnowledgeBase knowledgeBase = @@ -101,15 +110,22 @@ public void testKnowledgeBase() throws Exception { // List Knowledge Bases knowledgeBases = KnowledgeBaseManagement.listKnowledgeBases(PROJECT_ID); - assertEquals(1, knowledgeBases.size()); - assertEquals(KNOWLEDGE_BASE_NAME, knowledgeBases.get(0).getDisplayName()); + assertEquals(2, knowledgeBases.size()); + + int found = 0; + for (KnowledgeBase knowledgeBase1 : knowledgeBases) { + if (knowledgeBase1.getDisplayName().equals(KNOWLEDGE_BASE_NAME)) { + found += 1; + } + } + assertEquals(1, found); // Delete the Knowledge Base KnowledgeBaseManagement.deleteKnowledgeBase(knowledgeBase.getName()); // List Knowledge Bases (ensure delete success) knowledgeBases = KnowledgeBaseManagement.listKnowledgeBases(PROJECT_ID); - assertEquals(0, knowledgeBases.size()); + assertEquals(1, knowledgeBases.size()); } @Test @@ -147,29 +163,25 @@ public void testDocumentManagement() throws Exception { @Test public void testDetectIntentKnowledge() throws Exception { - // Create a Knowledge Base - KnowledgeBase knowledgeBase = - KnowledgeBaseManagement.createKnowledgeBase(PROJECT_ID, KNOWLEDGE_BASE_NAME); - String knowledgeBaseName = knowledgeBase.getName(); + KnowledgeBaseName knowledgeBaseName = KnowledgeBaseName.newBuilder() + .setProject(PROJECT_ID).setKnowledgeBase(TEST_KNOWLEDGE_BASE_ID).build(); - // Create a Document - one needs to exist in order for detectIntentKnowledge to provide answers. - Document document = DocumentManagement.createDocument( - knowledgeBaseName, - DOCUMENT_BASE_NAME, - "text/html", - "FAQ", - "https://cloud.google.com/storage/docs/faq"); - assertEquals(DOCUMENT_BASE_NAME, document.getDisplayName()); + DocumentName documentName = DocumentName.newBuilder() + .setProject(PROJECT_ID) + .setKnowledgeBase(TEST_KNOWLEDGE_BASE_ID) + .setDocument(TEST_DOCUMENT_ID) + .build(); - Map allAnswers = DetectIntentKnowledge - .detectIntentKnowledge(PROJECT_ID, knowledgeBaseName, SESSION_ID, LANGUAGE_CODE, TEXTS); + Map allAnswers = DetectIntentKnowledge.detectIntentKnowledge( + PROJECT_ID, knowledgeBaseName.toString(), SESSION_ID, LANGUAGE_CODE, TEXTS); assertEquals(TEXTS.size(), allAnswers.size()); int answersFound = 0; for (String text : TEXTS) { KnowledgeAnswers knowledgeAnswers = allAnswers.get(text); if (knowledgeAnswers.getAnswersCount() > 0) { Answer answer = knowledgeAnswers.getAnswers(0); - if (text.equals(answer.getFaqQuestion()) && document.getName().equals(answer.getSource())) { + if (text.equals(answer.getFaqQuestion()) + && documentName.toString().equals(answer.getSource())) { answersFound++; } } From d8172faeca9e06507b4580e69067f266b75a2c25 Mon Sep 17 00:00:00 2001 From: Noah Negrey Date: Mon, 5 Aug 2019 13:58:22 -0600 Subject: [PATCH 030/178] samples: Recreate Test Knowledge Base after it was deleted and update other tests to use UUIDs (#1535) --- .../java/com/example/dialogflow/ContextManagementIT.java | 5 +++-- .../java/com/example/dialogflow/DetectIntentStreamIT.java | 4 +++- .../DetectIntentWithAudioAndModelSelectionIT.java | 3 ++- .../DetectIntentWithSentimentAndTextToSpeechIT.java | 3 ++- .../java/com/example/dialogflow/EntityManagementIT.java | 8 +++++--- .../java/com/example/dialogflow/IntentManagementIT.java | 3 ++- .../com/example/dialogflow/KnowledgeBaseManagementIT.java | 4 ++-- .../example/dialogflow/SessionEntityTypeManagementIT.java | 4 +++- 8 files changed, 22 insertions(+), 12 deletions(-) diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/ContextManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/ContextManagementIT.java index 10eb147e8a6..71026e7410e 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/ContextManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/ContextManagementIT.java @@ -27,6 +27,7 @@ import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.List; +import java.util.UUID; import org.junit.After; import org.junit.Before; @@ -41,8 +42,8 @@ @SuppressWarnings("checkstyle:abbreviationaswordinname") public class ContextManagementIT { private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); - private static String SESSION_ID = "fake_session_for_testing"; - private static String CONTEXT_ID = "fake_context_for_testing"; + private static String SESSION_ID = UUID.randomUUID().toString(); + private static String CONTEXT_ID = UUID.randomUUID().toString(); @Before public void setUp() { diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java index 21499647662..94450da5e52 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java @@ -21,6 +21,8 @@ import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.PrintStream; +import java.util.UUID; + import org.hamcrest.CoreMatchers; import org.junit.After; import org.junit.Before; @@ -39,7 +41,7 @@ public class DetectIntentStreamIT { private static String audioFilePath = "resources/book_a_room.wav"; private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); - private static String SESSION_ID = "fake_session_for_testing"; + private static String SESSION_ID = UUID.randomUUID().toString(); @Before public void setUp() { diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioAndModelSelectionIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioAndModelSelectionIT.java index 53822d64f18..415f36b35aa 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioAndModelSelectionIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioAndModelSelectionIT.java @@ -29,6 +29,7 @@ import java.io.PrintStream; import java.util.List; import java.util.Map; +import java.util.UUID; import org.junit.After; import org.junit.Before; @@ -43,7 +44,7 @@ @SuppressWarnings("checkstyle:abbreviationaswordinname") public class DetectIntentWithAudioAndModelSelectionIT { protected static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); - protected static String SESSION_ID = "fake_session_for_testing"; + protected static String SESSION_ID = UUID.randomUUID().toString(); protected static String LANGUAGE_CODE = "en-US"; protected static List QUESTIONS = ImmutableList.of( "What date?", diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java index bef351a10f6..9e6a9ef77d6 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java @@ -26,6 +26,7 @@ import java.util.Arrays; import java.util.List; import java.util.Map; +import java.util.UUID; import org.junit.After; import org.junit.Before; @@ -41,7 +42,7 @@ public class DetectIntentWithSentimentAndTextToSpeechIT { private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); - private static String SESSION_ID = "fake_session_for_testing"; + private static String SESSION_ID = UUID.randomUUID().toString(); private static String LANGUAGE_CODE = "en-US"; private static List TEXTS = Arrays.asList( "hello", diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/EntityManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/EntityManagementIT.java index 532f929602e..44cfdbc69e7 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/EntityManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/EntityManagementIT.java @@ -28,6 +28,7 @@ import java.util.Arrays; import java.util.Collections; import java.util.List; +import java.util.UUID; import org.junit.After; import org.junit.Before; @@ -45,9 +46,10 @@ @SuppressWarnings("checkstyle:abbreviationaswordinname") public class EntityManagementIT { private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); - private static String ENTITY_TYPE_DISPLAY_NAME = "fake_entity_type_for_testing"; - private static String ENTITY_VALUE_1 = "fake_entity_for_testing_1"; - private static String ENTITY_VALUE_2 = "fake_entity_for_testing_2"; + private static String ENTITY_TYPE_DISPLAY_NAME = + "entity_" + UUID.randomUUID().toString().substring(0, 23); + private static String ENTITY_VALUE_1 = UUID.randomUUID().toString(); + private static String ENTITY_VALUE_2 = UUID.randomUUID().toString(); private static List SYNONYMS = Arrays.asList("fake_synonym_for_testing_1", "fake_synonym_for_testing_2"); diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/IntentManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/IntentManagementIT.java index 5dc9d6c6bbc..6ada72cb460 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/IntentManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/IntentManagementIT.java @@ -29,6 +29,7 @@ import java.io.PrintStream; import java.util.Arrays; import java.util.List; +import java.util.UUID; import org.junit.After; import org.junit.Before; @@ -42,7 +43,7 @@ @RunWith(JUnit4.class) @SuppressWarnings("checkstyle:abbreviationaswordinname") public class IntentManagementIT { - private static String INTENT_DISPLAY_NAME = "fake_display_name_for_testing"; + private static String INTENT_DISPLAY_NAME = UUID.randomUUID().toString(); private static List MESSAGE_TEXTS = Arrays.asList( "fake_message_text_for_testing_1", "fake_message_text_for_testing_2"); diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java index ebbeeb049de..8a93e141fa4 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java @@ -49,8 +49,8 @@ public class KnowledgeBaseManagementIT { private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); - private static String TEST_KNOWLEDGE_BASE_ID = "NjcyODA2NTU4MTk4OTIzMjY0MA"; - private static String TEST_DOCUMENT_ID = "NjY2NDk4ODc5ODkyNjk3OTA3Mg"; + private static String TEST_KNOWLEDGE_BASE_ID = "MTUwMTg2NzM1MjY0OTAwMDU1MDQ"; + private static String TEST_DOCUMENT_ID = "MTE4MTI3OTY2ODcwNTc5NDQ1NzY"; private static String SESSION_ID = "fake_session_for_testing"; private static String LANGUAGE_CODE = "en-US"; private static String KNOWLEDGE_BASE_NAME = "fake_knowledge_base_name"; diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/SessionEntityTypeManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/SessionEntityTypeManagementIT.java index 6e7cdcf5b8f..bcf6d0fb520 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/SessionEntityTypeManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/SessionEntityTypeManagementIT.java @@ -30,6 +30,7 @@ import java.io.PrintStream; import java.util.Arrays; import java.util.List; +import java.util.UUID; import org.junit.After; import org.junit.Before; @@ -44,7 +45,8 @@ @SuppressWarnings("checkstyle:abbreviationaswordinname") public class SessionEntityTypeManagementIT { private static String SESSION_ID = "fake_session_for_testing"; - private static String ENTITY_TYPE_DISPLAY_NAME = "fake_display_name_for_testing"; + private static String ENTITY_TYPE_DISPLAY_NAME = + "entity_" + UUID.randomUUID().toString().substring(0, 23); private static List ENTITY_VALUES = Arrays.asList("fake_entity_value_1", "fake_entity_value_2"); private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); From 4281aeb717f60d16ca1c82e119a5c92c1bf773cb Mon Sep 17 00:00:00 2001 From: Noah Negrey Date: Fri, 16 Aug 2019 09:06:02 -0600 Subject: [PATCH 031/178] samples: Update KnowledgeBaseId and update rouge SA roles (#1553) --- .../com/example/dialogflow/KnowledgeBaseManagementIT.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java index 8a93e141fa4..8b2956d67aa 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java @@ -49,8 +49,8 @@ public class KnowledgeBaseManagementIT { private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); - private static String TEST_KNOWLEDGE_BASE_ID = "MTUwMTg2NzM1MjY0OTAwMDU1MDQ"; - private static String TEST_DOCUMENT_ID = "MTE4MTI3OTY2ODcwNTc5NDQ1NzY"; + private static String TEST_KNOWLEDGE_BASE_ID = "MTA4MzE0ODY5NTczMTQzNzU2ODA"; + private static String TEST_DOCUMENT_ID = "MTUwNjk0ODg1NTU4NzkzMDExMg"; private static String SESSION_ID = "fake_session_for_testing"; private static String LANGUAGE_CODE = "en-US"; private static String KNOWLEDGE_BASE_NAME = "fake_knowledge_base_name"; From ec4327bea2c97cbff20f596dd6c9b498f2947041 Mon Sep 17 00:00:00 2001 From: Noah Negrey Date: Thu, 2 Jan 2020 14:57:21 -0700 Subject: [PATCH 032/178] samples: Force delete to wait for call to finish to fix tests (#1830) --- .../main/java/com/example/dialogflow/DocumentManagement.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java index bfdecb8899e..e0992d08ee9 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java @@ -134,7 +134,7 @@ public static Document getDocument(String documentName) throws Exception { public static void deleteDocument(String documentName) throws Exception { // Instantiates a client try (DocumentsClient documentsClient = DocumentsClient.create()) { - documentsClient.deleteDocumentAsync(documentName).getInitialFuture().get(); + documentsClient.deleteDocumentAsync(documentName).get(); System.out.format("The document has been deleted."); } } From beaf38fcce5e9a35fb7c4e6f04ae550ed6d2942f Mon Sep 17 00:00:00 2001 From: Noah Negrey Date: Thu, 16 Jan 2020 15:34:29 -0700 Subject: [PATCH 033/178] samples: dialogflow: add and increase timeout to document creation for tests (#1996) Co-authored-by: Les Vogel --- .../main/java/com/example/dialogflow/DocumentManagement.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java index e0992d08ee9..00782964f27 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java @@ -25,6 +25,7 @@ import com.google.common.collect.Lists; import java.util.List; +import java.util.concurrent.TimeUnit; public class DocumentManagement { // [START dialogflow_list_document] @@ -86,7 +87,7 @@ public static Document createDocument( .build(); OperationFuture response = documentsClient.createDocumentAsync(createDocumentRequest); - Document createdDocument = response.get(); + Document createdDocument = response.get(120, TimeUnit.SECONDS); System.out.format("Created Document:\n"); System.out.format(" - Display Name: %s\n", createdDocument.getDisplayName()); System.out.format(" - Knowledge ID: %s\n", createdDocument.getName()); From 2ccbca96b8a0196a81ca4a75d7e7e53feb243e2d Mon Sep 17 00:00:00 2001 From: Noah Negrey Date: Thu, 27 Feb 2020 11:31:43 -0700 Subject: [PATCH 034/178] samples: dialogflow: increase timeout for test (#2136) * dialogflow: increase timeout for test * update pom, use some UUIDs for tests * update knowledgebase tests to only touch resources it created --- .../dialogflow/DocumentManagement.java | 2 +- .../dialogflow/DetectIntentStreamIT.java | 13 +-- .../dialogflow/KnowledgeBaseManagementIT.java | 86 ++++++------------- 3 files changed, 31 insertions(+), 70 deletions(-) diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java index 00782964f27..797644e2fca 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java @@ -87,7 +87,7 @@ public static Document createDocument( .build(); OperationFuture response = documentsClient.createDocumentAsync(createDocumentRequest); - Document createdDocument = response.get(120, TimeUnit.SECONDS); + Document createdDocument = response.get(180, TimeUnit.SECONDS); System.out.format("Created Document:\n"); System.out.format(" - Display Name: %s\n", createdDocument.getDisplayName()); System.out.format(" - Knowledge ID: %s\n", createdDocument.getName()); diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java index 94450da5e52..571f3aa1bbd 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java @@ -16,14 +16,12 @@ package com.example.dialogflow; -import static org.junit.Assert.assertThat; +import static com.google.common.truth.Truth.assertThat; import java.io.ByteArrayOutputStream; -import java.io.IOException; import java.io.PrintStream; import java.util.UUID; -import org.hamcrest.CoreMatchers; import org.junit.After; import org.junit.Before; import org.junit.Test; @@ -58,14 +56,11 @@ public void tearDown() { @Test public void testStreamingDetectIntentCallable() { DetectIntentStream.detectIntentStream( - PROJECT_ID, audioFilePath, SESSION_ID); + PROJECT_ID, audioFilePath, SESSION_ID); String output = bout.toString(); - assertThat(output, CoreMatchers.containsString( - "Intent Display Name: room.reservation")); - - assertThat(output, CoreMatchers.containsString( - "book")); + assertThat(output).contains("Intent Display Name: room.reservation"); + assertThat(output).contains("book"); } } diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java index 8b2956d67aa..d38474673c4 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java @@ -19,21 +19,18 @@ import static com.google.common.truth.Truth.assertThat; import static org.junit.Assert.assertEquals; -import com.google.cloud.dialogflow.v2beta1.DeleteDocumentRequest; import com.google.cloud.dialogflow.v2beta1.Document; import com.google.cloud.dialogflow.v2beta1.DocumentName; -import com.google.cloud.dialogflow.v2beta1.DocumentsClient; import com.google.cloud.dialogflow.v2beta1.KnowledgeAnswers; import com.google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer; import com.google.cloud.dialogflow.v2beta1.KnowledgeBase; import com.google.cloud.dialogflow.v2beta1.KnowledgeBaseName; -import com.google.cloud.dialogflow.v2beta1.KnowledgeBasesClient; -import com.google.cloud.dialogflow.v2beta1.ProjectName; import com.google.common.collect.ImmutableList; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.List; import java.util.Map; +import java.util.UUID; import org.junit.After; import org.junit.Before; @@ -51,66 +48,40 @@ public class KnowledgeBaseManagementIT { private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); private static String TEST_KNOWLEDGE_BASE_ID = "MTA4MzE0ODY5NTczMTQzNzU2ODA"; private static String TEST_DOCUMENT_ID = "MTUwNjk0ODg1NTU4NzkzMDExMg"; - private static String SESSION_ID = "fake_session_for_testing"; + private static String SESSION_ID = UUID.randomUUID().toString(); private static String LANGUAGE_CODE = "en-US"; - private static String KNOWLEDGE_BASE_NAME = "fake_knowledge_base_name"; - private static String DOCUMENT_BASE_NAME = "fake_document_name"; + private static String KNOWLEDGE_BASE_NAME = UUID.randomUUID().toString(); + private static String DOCUMENT_BASE_NAME = UUID.randomUUID().toString(); private static List TEXTS = ImmutableList - .of("How do I sign up?", "Is my data redundant?", "Where can I find pricing information?", - "Where is my data stored?", "What are my support options?", - "How can I maximize the availability of my data?"); + .of("How do I sign up?", "Is my data redundant?", "Where can I find pricing information?", + "Where is my data stored?", "What are my support options?", + "How can I maximize the availability of my data?"); @Before public void setUp() { System.setOut(new PrintStream(new ByteArrayOutputStream())); } - // If any knowledge base/documents remain after test complete, delete them. @After - public void tearDown() throws Exception { - try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) { - try (DocumentsClient documentsClient = DocumentsClient.create()) { - ProjectName projectName = ProjectName.of(PROJECT_ID); - for (KnowledgeBase knowledgeBase : - knowledgeBasesClient.listKnowledgeBases(projectName).iterateAll()) { - // DO NOT DELETE THE TEST KNOWLEDGE BASE - if (!knowledgeBase.getName().contains(TEST_KNOWLEDGE_BASE_ID)) { - // Delete any documents in the knowledge base. - for (Document document : documentsClient.listDocuments( - knowledgeBase.getName()).iterateAll()) { - // DO NOT DELETE THE TEST DOCUMENT - if (!document.getName().contains(TEST_DOCUMENT_ID)) { - documentsClient.deleteDocumentCallable().call( - DeleteDocumentRequest.newBuilder().setName(document.getName()).build()); - } - } - knowledgeBasesClient.deleteKnowledgeBase(knowledgeBase.getName()); - } - } - } - } + public void tearDown() { System.setOut(null); } @Test public void testKnowledgeBase() throws Exception { - // Check the knowledge base does not yet exist - List knowledgeBases = KnowledgeBaseManagement.listKnowledgeBases(PROJECT_ID); - assertEquals(1, knowledgeBases.size()); - // Create a Knowledge Base KnowledgeBase knowledgeBase = - KnowledgeBaseManagement.createKnowledgeBase(PROJECT_ID, KNOWLEDGE_BASE_NAME); - assertEquals(knowledgeBase.getDisplayName(), KNOWLEDGE_BASE_NAME); + KnowledgeBaseManagement.createKnowledgeBase(PROJECT_ID, KNOWLEDGE_BASE_NAME); + assertThat(knowledgeBase.getDisplayName()).contains(KNOWLEDGE_BASE_NAME); // Get KnowledgeBase knowledgeBase = KnowledgeBaseManagement.getKnowledgeBase(knowledgeBase.getName()); - assertEquals(knowledgeBase.getDisplayName(), KNOWLEDGE_BASE_NAME); + assertThat(knowledgeBase.getDisplayName()).contains(KNOWLEDGE_BASE_NAME); // List Knowledge Bases - knowledgeBases = KnowledgeBaseManagement.listKnowledgeBases(PROJECT_ID); - assertEquals(2, knowledgeBases.size()); + List knowledgeBases = KnowledgeBaseManagement.listKnowledgeBases(PROJECT_ID); + assertThat(knowledgeBases.size()).isAtLeast(2); int found = 0; for (KnowledgeBase knowledgeBase1 : knowledgeBases) { @@ -118,47 +89,42 @@ public void testKnowledgeBase() throws Exception { found += 1; } } - assertEquals(1, found); + assertThat(found).isEqualTo(1); // Delete the Knowledge Base KnowledgeBaseManagement.deleteKnowledgeBase(knowledgeBase.getName()); - - // List Knowledge Bases (ensure delete success) - knowledgeBases = KnowledgeBaseManagement.listKnowledgeBases(PROJECT_ID); - assertEquals(1, knowledgeBases.size()); } @Test public void testDocumentManagement() throws Exception { // Create a Knowledge Base KnowledgeBase knowledgeBase = - KnowledgeBaseManagement.createKnowledgeBase(PROJECT_ID, KNOWLEDGE_BASE_NAME); + KnowledgeBaseManagement.createKnowledgeBase(PROJECT_ID, KNOWLEDGE_BASE_NAME); String knowledgeBaseName = knowledgeBase.getName(); // Create a Document Document document = DocumentManagement.createDocument( - knowledgeBaseName, - DOCUMENT_BASE_NAME, - "text/html", - "FAQ", - "https://cloud.google.com/storage/docs/faq"); - assertEquals(DOCUMENT_BASE_NAME, document.getDisplayName()); + knowledgeBaseName, + DOCUMENT_BASE_NAME, + "text/html", + "FAQ", + "https://cloud.google.com/storage/docs/faq"); + assertThat(document.getDisplayName()).contains(DOCUMENT_BASE_NAME); // List the Documents List documents = DocumentManagement.listDocuments(knowledgeBaseName); - assertEquals(1, documents.size()); - assertEquals(DOCUMENT_BASE_NAME, documents.get(0).getDisplayName()); + assertThat(documents.size()).isEqualTo(1); + assertThat(documents.get(0).getDisplayName()).contains(DOCUMENT_BASE_NAME); // Get the Document document = DocumentManagement.getDocument(document.getName()); - assertEquals(DOCUMENT_BASE_NAME, document.getDisplayName()); + assertThat(document.getDisplayName()).contains(DOCUMENT_BASE_NAME); // Delete the Document DocumentManagement.deleteDocument(document.getName()); - // List the Document - documents = DocumentManagement.listDocuments(knowledgeBaseName); - assertEquals(0, documents.size()); + // Delete the Knowledge Base + KnowledgeBaseManagement.deleteKnowledgeBase(knowledgeBase.getName()); } @Test From 9ae210924c89eb28dca8e0a37e5e4a2d9afdba74 Mon Sep 17 00:00:00 2001 From: Averi Kitsch Date: Fri, 27 Mar 2020 12:00:25 -0700 Subject: [PATCH 035/178] samples: update shared config (#2443) * update shared config * Update to 1.0.13 * lint * Fix linting * lint * fix imports Co-authored-by: Les Vogel --- .../main/java/com/example/dialogflow/ContextManagement.java | 1 - .../main/java/com/example/dialogflow/DetectIntentAudio.java | 1 - .../java/com/example/dialogflow/DetectIntentKnowledge.java | 1 - .../main/java/com/example/dialogflow/DetectIntentTexts.java | 1 - .../example/dialogflow/DetectIntentWithModelSelection.java | 1 - .../example/dialogflow/DetectIntentWithSentimentAnalysis.java | 1 - .../dialogflow/DetectIntentWithTextToSpeechResponse.java | 1 - .../main/java/com/example/dialogflow/DocumentManagement.java | 1 - .../main/java/com/example/dialogflow/EntityManagement.java | 1 - .../java/com/example/dialogflow/EntityTypeManagement.java | 1 - .../main/java/com/example/dialogflow/IntentManagement.java | 1 - .../java/com/example/dialogflow/KnowledgeBaseManagement.java | 1 - .../com/example/dialogflow/SessionEntityTypeManagement.java | 1 - .../test/java/com/example/dialogflow/ContextManagementIT.java | 2 -- .../java/com/example/dialogflow/DetectIntentStreamIT.java | 1 - .../dialogflow/DetectIntentWithAudioAndModelSelectionIT.java | 2 -- .../DetectIntentWithSentimentAndTextToSpeechIT.java | 4 +--- .../test/java/com/example/dialogflow/EntityManagementIT.java | 2 -- .../test/java/com/example/dialogflow/IntentManagementIT.java | 2 -- .../com/example/dialogflow/KnowledgeBaseManagementIT.java | 1 - .../com/example/dialogflow/SessionEntityTypeManagementIT.java | 2 -- 21 files changed, 1 insertion(+), 28 deletions(-) diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/ContextManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/ContextManagement.java index a1658629208..c9d8175bae8 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/ContextManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/ContextManagement.java @@ -24,7 +24,6 @@ import com.google.cloud.dialogflow.v2.SessionName; import com.google.common.collect.Lists; import com.google.protobuf.Value; - import java.util.List; import java.util.Map.Entry; diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentAudio.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentAudio.java index 6e3efd9d632..f996f1ef7e0 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentAudio.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentAudio.java @@ -27,7 +27,6 @@ import com.google.cloud.dialogflow.v2.SessionName; import com.google.cloud.dialogflow.v2.SessionsClient; import com.google.protobuf.ByteString; - import java.nio.file.Files; import java.nio.file.Paths; diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java index 5205337bcb7..35307f6c127 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java @@ -30,7 +30,6 @@ import com.google.cloud.dialogflow.v2beta1.TextInput; import com.google.cloud.dialogflow.v2beta1.TextInput.Builder; import com.google.common.collect.Maps; - import java.util.List; import java.util.Map; diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java index 19cad13bb3e..b29c65d9352 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java @@ -26,7 +26,6 @@ import com.google.cloud.dialogflow.v2.TextInput; import com.google.cloud.dialogflow.v2.TextInput.Builder; import com.google.common.collect.Maps; - import java.util.List; import java.util.Map; diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithModelSelection.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithModelSelection.java index f7dd04657ae..ded2e6242db 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithModelSelection.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithModelSelection.java @@ -25,7 +25,6 @@ import com.google.cloud.dialogflow.v2beta1.SessionName; import com.google.cloud.dialogflow.v2beta1.SessionsClient; import com.google.protobuf.ByteString; - import java.nio.file.Files; import java.nio.file.Paths; diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java index 3005847a1a5..482692f50d9 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java @@ -27,7 +27,6 @@ import com.google.cloud.dialogflow.v2.TextInput; import com.google.cloud.dialogflow.v2.TextInput.Builder; import com.google.common.collect.Maps; - import java.util.List; import java.util.Map; diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java index c7387364334..912b221791d 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java @@ -27,7 +27,6 @@ import com.google.cloud.dialogflow.v2.TextInput; import com.google.cloud.dialogflow.v2.TextInput.Builder; import com.google.common.collect.Maps; - import java.util.List; import java.util.Map; diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java index 797644e2fca..76e5c956938 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java @@ -23,7 +23,6 @@ import com.google.cloud.dialogflow.v2beta1.DocumentsClient; import com.google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata; import com.google.common.collect.Lists; - import java.util.List; import java.util.concurrent.TimeUnit; diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityManagement.java index 0d982693e0d..5ebdd0e96d5 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityManagement.java @@ -23,7 +23,6 @@ import com.google.cloud.dialogflow.v2.EntityTypeName; import com.google.cloud.dialogflow.v2.EntityTypesClient; import com.google.protobuf.Empty; - import java.util.Collections; import java.util.List; diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityTypeManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityTypeManagement.java index 04740c40b42..dd7f9cfa186 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityTypeManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityTypeManagement.java @@ -24,7 +24,6 @@ import com.google.cloud.dialogflow.v2.EntityTypesClient; import com.google.cloud.dialogflow.v2.ProjectAgentName; import com.google.common.collect.Lists; - import java.util.ArrayList; import java.util.List; diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/IntentManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/IntentManagement.java index 0e1bbc8e8ee..e7a19579ee8 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/IntentManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/IntentManagement.java @@ -28,7 +28,6 @@ import com.google.cloud.dialogflow.v2.IntentsClient; import com.google.cloud.dialogflow.v2.ProjectAgentName; import com.google.common.collect.Lists; - import java.util.ArrayList; import java.util.List; diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java index 1fee645e10e..607f48238f2 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java @@ -20,7 +20,6 @@ import com.google.cloud.dialogflow.v2beta1.KnowledgeBasesClient; import com.google.cloud.dialogflow.v2beta1.ProjectName; import com.google.common.collect.Lists; - import java.util.List; public class KnowledgeBaseManagement { diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/SessionEntityTypeManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/SessionEntityTypeManagement.java index aeb28f9f21f..150ae594ab5 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/SessionEntityTypeManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/SessionEntityTypeManagement.java @@ -25,7 +25,6 @@ import com.google.cloud.dialogflow.v2.SessionEntityTypesClient; import com.google.cloud.dialogflow.v2.SessionName; import com.google.common.collect.Lists; - import java.util.ArrayList; import java.util.List; diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/ContextManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/ContextManagementIT.java index 71026e7410e..9d5ab42c2c6 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/ContextManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/ContextManagementIT.java @@ -23,12 +23,10 @@ import com.google.cloud.dialogflow.v2.Context; import com.google.cloud.dialogflow.v2.ContextName; import com.google.cloud.dialogflow.v2.ContextsClient; - import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.List; import java.util.UUID; - import org.junit.After; import org.junit.Before; import org.junit.Test; diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java index 571f3aa1bbd..cc1063f9703 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java @@ -21,7 +21,6 @@ import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.UUID; - import org.junit.After; import org.junit.Before; import org.junit.Test; diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioAndModelSelectionIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioAndModelSelectionIT.java index 415f36b35aa..3f70a08d192 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioAndModelSelectionIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioAndModelSelectionIT.java @@ -24,13 +24,11 @@ import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Lists; - import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.List; import java.util.Map; import java.util.UUID; - import org.junit.After; import org.junit.Before; import org.junit.Test; diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java index 9e6a9ef77d6..1f7c9ddd55d 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java @@ -20,14 +20,12 @@ import static org.junit.Assert.assertTrue; import com.google.cloud.dialogflow.v2.QueryResult; - import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.UUID; - import org.junit.After; import org.junit.Before; import org.junit.Test; @@ -92,4 +90,4 @@ private void assertResults(Map queryResults) { assertTrue(finalResult.getAllRequiredParamsPresent()); assertEquals("All set!", finalResult.getFulfillmentText()); } -} \ No newline at end of file +} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/EntityManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/EntityManagementIT.java index 44cfdbc69e7..6e2001b679d 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/EntityManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/EntityManagementIT.java @@ -22,14 +22,12 @@ import com.google.cloud.dialogflow.v2.EntityType; import com.google.cloud.dialogflow.v2.EntityType.Entity; import com.google.protobuf.ProtocolStringList; - import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.UUID; - import org.junit.After; import org.junit.Before; import org.junit.FixMethodOrder; diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/IntentManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/IntentManagementIT.java index 6ada72cb460..1826f3d45ef 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/IntentManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/IntentManagementIT.java @@ -24,13 +24,11 @@ import com.google.cloud.dialogflow.v2.Intent; import com.google.cloud.dialogflow.v2.IntentsClient; import com.google.cloud.dialogflow.v2.ProjectAgentName; - import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.Arrays; import java.util.List; import java.util.UUID; - import org.junit.After; import org.junit.Before; import org.junit.Test; diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java index d38474673c4..2f8415b4792 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java @@ -31,7 +31,6 @@ import java.util.List; import java.util.Map; import java.util.UUID; - import org.junit.After; import org.junit.Before; import org.junit.Test; diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/SessionEntityTypeManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/SessionEntityTypeManagementIT.java index bcf6d0fb520..de838752315 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/SessionEntityTypeManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/SessionEntityTypeManagementIT.java @@ -25,13 +25,11 @@ import com.google.cloud.dialogflow.v2.SessionEntityType; import com.google.cloud.dialogflow.v2.SessionEntityTypesClient; import com.google.cloud.dialogflow.v2.SessionName; - import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.Arrays; import java.util.List; import java.util.UUID; - import org.junit.After; import org.junit.Before; import org.junit.Test; From 5e0dbda0de5a2b1263da1e782c7c247c1e3ecabd Mon Sep 17 00:00:00 2001 From: Noah Negrey Date: Fri, 10 Apr 2020 09:54:42 -0600 Subject: [PATCH 036/178] samples: dialogflow: delete samples that are not in docs (#2602) * dialogflow: delete samples that are not in docs and fix the tests that are broken after the deletions * update README --- .../example/dialogflow/ContextManagement.java | 131 ---------------- .../dialogflow/DetectIntentKnowledge.java | 4 +- .../example/dialogflow/DetectIntentTexts.java | 4 +- .../DetectIntentWithModelSelection.java | 100 ------------- .../DetectIntentWithSentimentAnalysis.java | 4 +- .../DetectIntentWithTextToSpeechResponse.java | 4 +- .../dialogflow/DocumentManagement.java | 66 -------- .../example/dialogflow/EntityManagement.java | 122 --------------- .../dialogflow/EntityTypeManagement.java | 132 ---------------- .../dialogflow/KnowledgeBaseManagement.java | 59 +------- .../SessionEntityTypeManagement.java | 141 ------------------ .../dialogflow/ContextManagementIT.java | 84 ----------- .../dialogflow/CreateDocumentTest.java | 100 +++++++++++++ .../dialogflow/CreateKnowledgeBaseTest.java | 84 +++++++++++ ...IT.java => DetectIntentKnowledgeTest.java} | 69 +-------- ...IT.java => DetectIntentWithAudioTest.java} | 26 +--- .../dialogflow/EntityManagementIT.java | 129 ---------------- .../SessionEntityTypeManagementIT.java | 109 -------------- 18 files changed, 196 insertions(+), 1172 deletions(-) delete mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/ContextManagement.java delete mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithModelSelection.java delete mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/EntityManagement.java delete mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/EntityTypeManagement.java delete mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/SessionEntityTypeManagement.java delete mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/ContextManagementIT.java create mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDocumentTest.java create mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/CreateKnowledgeBaseTest.java rename dialogflow/snippets/src/test/java/com/example/dialogflow/{KnowledgeBaseManagementIT.java => DetectIntentKnowledgeTest.java} (56%) rename dialogflow/snippets/src/test/java/com/example/dialogflow/{DetectIntentWithAudioAndModelSelectionIT.java => DetectIntentWithAudioTest.java} (73%) delete mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/EntityManagementIT.java delete mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/SessionEntityTypeManagementIT.java diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/ContextManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/ContextManagement.java deleted file mode 100644 index c9d8175bae8..00000000000 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/ContextManagement.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.example.dialogflow; - -// Imports the Google Cloud client library - -import com.google.cloud.dialogflow.v2.Context; -import com.google.cloud.dialogflow.v2.ContextName; -import com.google.cloud.dialogflow.v2.ContextsClient; -import com.google.cloud.dialogflow.v2.SessionName; -import com.google.common.collect.Lists; -import com.google.protobuf.Value; -import java.util.List; -import java.util.Map.Entry; - -/** - * DialogFlow API Context sample. - */ -public class ContextManagement { - // [START dialogflow_list_contexts] - - /** - * Lists contexts - * - * @param sessionId Identifier of the DetectIntent session. - * @param projectId Project/Agent Id. - * @return List of Contexts found. - */ - public static List listContexts(String sessionId, String projectId) throws Exception { - List contexts = Lists.newArrayList(); - // Instantiates a client - try (ContextsClient contextsClient = ContextsClient.create()) { - // Set the session name using the sessionId (UUID) and projectId (my-project-id) - SessionName session = SessionName.of(projectId, sessionId); - - // Performs the list contexts request - for (Context context : contextsClient.listContexts(session).iterateAll()) { - System.out.format("Context name: %s\n", context.getName()); - System.out.format("Lifespan Count: %d\n", context.getLifespanCount()); - System.out.format("Fields:\n"); - for (Entry entry : context.getParameters().getFieldsMap().entrySet()) { - if (entry.getValue().hasStructValue()) { - System.out.format("\t%s: %s\n", entry.getKey(), entry.getValue()); - } - } - - contexts.add(context); - } - } - return contexts; - } - // [END dialogflow_list_contexts] - - // [START dialogflow_create_context] - - /** - * Create an entity type with the given display name - * - * @param contextId The Id of the context. - * @param sessionId Identifier of the DetectIntent session. - * @param lifespanCount The lifespan count of the context. - * @param projectId Project/Agent Id. - * @return The new Context. - */ - public static Context createContext( - String contextId, - String sessionId, - String projectId, - int lifespanCount) throws Exception { - // Instantiates a client - try (ContextsClient contextsClient = ContextsClient.create()) { - // Set the session name using the sessionId (UUID) and projectID (my-project-id) - SessionName session = SessionName.of(projectId, sessionId); - - // Create the context name with the projectId, sessionId, and contextId - ContextName contextName = ContextName.newBuilder() - .setProject(projectId) - .setSession(sessionId) - .setContext(contextId) - .build(); - - // Create the context with the context name and lifespan count - Context context = Context.newBuilder() - .setName(contextName.toString()) // The unique identifier of the context - .setLifespanCount(lifespanCount) // Number of query requests before the context expires. - .build(); - - // Performs the create context request - Context response = contextsClient.createContext(session, context); - System.out.format("Context created: %s\n", response); - - return response; - } - } - // [END dialogflow_create_context] - - // [START dialogflow_delete_context] - - /** - * Delete entity type with the given entity type name - * - * @param contextId The Id of the context. - * @param sessionId Identifier of the DetectIntent session. - * @param projectId Project/Agent Id. - */ - public static void deleteContext(String contextId, String sessionId, String projectId) - throws Exception { - // Instantiates a client - try (ContextsClient contextsClient = ContextsClient.create()) { - // Create the context name with the projectId, sessionId, and contextId - ContextName contextName = ContextName.of(projectId, sessionId, contextId); - // Performs the delete context request - contextsClient.deleteContext(contextName); - } - } - // [END dialogflow_delete_context] -} diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java index 35307f6c127..96a04fa6e26 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java @@ -28,7 +28,6 @@ import com.google.cloud.dialogflow.v2beta1.SessionName; import com.google.cloud.dialogflow.v2beta1.SessionsClient; import com.google.cloud.dialogflow.v2beta1.TextInput; -import com.google.cloud.dialogflow.v2beta1.TextInput.Builder; import com.google.common.collect.Maps; import java.util.List; import java.util.Map; @@ -67,7 +66,8 @@ public static Map detectIntentKnowledge( // Detect intents for each text input for (String text : texts) { // Set the text and language code (en-US) for the query - Builder textInput = TextInput.newBuilder().setText(text).setLanguageCode(languageCode); + TextInput.Builder textInput = + TextInput.newBuilder().setText(text).setLanguageCode(languageCode); // Build the query with the TextInput QueryInput queryInput = QueryInput.newBuilder().setText(textInput).build(); diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java index b29c65d9352..83e6a813910 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java @@ -24,7 +24,6 @@ import com.google.cloud.dialogflow.v2.SessionName; import com.google.cloud.dialogflow.v2.SessionsClient; import com.google.cloud.dialogflow.v2.TextInput; -import com.google.cloud.dialogflow.v2.TextInput.Builder; import com.google.common.collect.Maps; import java.util.List; import java.util.Map; @@ -61,7 +60,8 @@ public static Map detectIntentTexts( // Detect intents for each text input for (String text : texts) { // Set the text (hello) and language code (en-US) for the query - Builder textInput = TextInput.newBuilder().setText(text).setLanguageCode(languageCode); + TextInput.Builder textInput = + TextInput.newBuilder().setText(text).setLanguageCode(languageCode); // Build the query with the TextInput QueryInput queryInput = QueryInput.newBuilder().setText(textInput).build(); diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithModelSelection.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithModelSelection.java deleted file mode 100644 index ded2e6242db..00000000000 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithModelSelection.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.example.dialogflow; - -import com.google.cloud.dialogflow.v2beta1.AudioEncoding; -import com.google.cloud.dialogflow.v2beta1.DetectIntentRequest; -import com.google.cloud.dialogflow.v2beta1.DetectIntentResponse; -import com.google.cloud.dialogflow.v2beta1.InputAudioConfig; -import com.google.cloud.dialogflow.v2beta1.QueryInput; -import com.google.cloud.dialogflow.v2beta1.QueryResult; -import com.google.cloud.dialogflow.v2beta1.SessionName; -import com.google.cloud.dialogflow.v2beta1.SessionsClient; -import com.google.protobuf.ByteString; -import java.nio.file.Files; -import java.nio.file.Paths; - -public class DetectIntentWithModelSelection { - // [START dialogflow_detect_intent_with_model_selection] - - /** - * Returns the result of detect intent with an audio file as input. - * - *

Using the same `session_id` between requests allows continuation of the conversation. - * - * @param projectId Project/Agent Id. - * @param audioFilePath Path to the audio file. - * @param sessionId Identifier of the DetectIntent session. - * @param languageCode Language code of the query. - * @return The QueryResult for the audio query. - */ - public static QueryResult detectIntentWithModelSelection( - String projectId, - String audioFilePath, - String sessionId, - String languageCode) throws Exception { - // Instantiates a client - try (SessionsClient sessionsClient = SessionsClient.create()) { - // Set the session name using the sessionId (UUID) and projectID (my-project-id) - SessionName session = SessionName.of(projectId, sessionId); - System.out.println("Session Path: " + session.toString()); - - // Note: hard coding audioEncoding and sampleRateHertz for simplicity. - // Audio encoding of the audio content sent in the query request. - AudioEncoding audioEncoding = AudioEncoding.AUDIO_ENCODING_LINEAR_16; - int sampleRateHertz = 16000; - - // Instructs the speech recognizer how to process the audio content. - InputAudioConfig inputAudioConfig = - InputAudioConfig.newBuilder() - .setAudioEncoding( - audioEncoding) // audioEncoding = AudioEncoding.AUDIO_ENCODING_LINEAR_16 - .setLanguageCode(languageCode) // languageCode = "en-US" - .setSampleRateHertz(sampleRateHertz) // sampleRateHertz = 16000 - .setModel("phone_call") // model = phone call - .build(); - - // Build the query with the InputAudioConfig - QueryInput queryInput = QueryInput.newBuilder().setAudioConfig(inputAudioConfig).build(); - - // Read the bytes from the audio file - byte[] inputAudio = Files.readAllBytes(Paths.get(audioFilePath)); - - // Build the DetectIntentRequest - DetectIntentRequest request = - DetectIntentRequest.newBuilder() - .setSession(session.toString()) - .setQueryInput(queryInput) - .setInputAudio(ByteString.copyFrom(inputAudio)) - .build(); - // Performs the detect intent request - DetectIntentResponse response = sessionsClient.detectIntent(request); - - // Display the query result - QueryResult queryResult = response.getQueryResult(); - System.out.println("===================="); - System.out.format("Query Text: '%s'\n", queryResult.getQueryText()); - System.out.format( - "Detected Intent: %s (confidence: %f)\n", - queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); - System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); - - return queryResult; - } - } - // [END dialogflow_detect_intent_with_model_selection] -} diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java index 482692f50d9..4f3dce487ac 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java @@ -25,7 +25,6 @@ import com.google.cloud.dialogflow.v2.SessionName; import com.google.cloud.dialogflow.v2.SessionsClient; import com.google.cloud.dialogflow.v2.TextInput; -import com.google.cloud.dialogflow.v2.TextInput.Builder; import com.google.common.collect.Maps; import java.util.List; import java.util.Map; @@ -59,7 +58,8 @@ public static Map detectIntentSentimentAnalysis( // Detect intents for each text input for (String text : texts) { // Set the text (hello) and language code (en-US) for the query - Builder textInput = TextInput.newBuilder().setText(text).setLanguageCode(languageCode); + TextInput.Builder textInput = + TextInput.newBuilder().setText(text).setLanguageCode(languageCode); // Build the query with the TextInput QueryInput queryInput = QueryInput.newBuilder().setText(textInput).build(); diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java index 912b221791d..933adf88558 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java @@ -25,7 +25,6 @@ import com.google.cloud.dialogflow.v2.SessionName; import com.google.cloud.dialogflow.v2.SessionsClient; import com.google.cloud.dialogflow.v2.TextInput; -import com.google.cloud.dialogflow.v2.TextInput.Builder; import com.google.common.collect.Maps; import java.util.List; import java.util.Map; @@ -59,7 +58,8 @@ public static Map detectIntentWithTexttoSpeech( // Detect intents for each text input for (String text : texts) { // Set the text (hello) and language code (en-US) for the query - Builder textInput = TextInput.newBuilder().setText(text).setLanguageCode(languageCode); + TextInput.Builder textInput = + TextInput.newBuilder().setText(text).setLanguageCode(languageCode); // Build the query with the TextInput QueryInput queryInput = QueryInput.newBuilder().setText(textInput).build(); diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java index 76e5c956938..8666e86cb0f 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java @@ -22,37 +22,9 @@ import com.google.cloud.dialogflow.v2beta1.Document.KnowledgeType; import com.google.cloud.dialogflow.v2beta1.DocumentsClient; import com.google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata; -import com.google.common.collect.Lists; -import java.util.List; import java.util.concurrent.TimeUnit; public class DocumentManagement { - // [START dialogflow_list_document] - - /** - * @param knowledgeBaseName Knowledge Base id. - */ - public static List listDocuments(String knowledgeBaseName) throws Exception { - List documents = Lists.newArrayList(); - // Instantiates a client - try (DocumentsClient documentsClient = DocumentsClient.create()) { - for (Document document : documentsClient.listDocuments(knowledgeBaseName).iterateAll()) { - System.out.format(" - Display Name: %s\n", document.getDisplayName()); - System.out.format(" - Knowledge ID: %s\n", document.getName()); - System.out.format(" - MIME Type: %s\n", document.getMimeType()); - System.out.format(" - Knowledge Types:\n"); - for (KnowledgeType knowledgeTypeId : document.getKnowledgeTypesList()) { - System.out.format(" - %s \n", knowledgeTypeId.getValueDescriptor()); - } - System.out.format(" - Source: %s \n", document.getContentUri()); - - documents.add(document); - } - } - return documents; - } - // [END dialogflow_list_document] - // [START dialogflow_create_document] /** @@ -100,42 +72,4 @@ public static Document createDocument( } } // [END dialogflow_create_document] - - // [START dialogflow_get_document] - - /** - * @param documentName Document Id. - * @return The requested document. - */ - public static Document getDocument(String documentName) throws Exception { - // Instantiates a client - try (DocumentsClient documentsClient = DocumentsClient.create()) { - Document response = documentsClient.getDocument(documentName); - System.out.format("Got Document: \n"); - System.out.format(" - Display Name: %s\n", response.getDisplayName()); - System.out.format(" - Knowledge ID: %s\n", response.getName()); - System.out.format(" - MIME Type: %s\n", response.getMimeType()); - System.out.format(" - Knowledge Types:\n"); - for (KnowledgeType knowledgeTypeId : response.getKnowledgeTypesList()) { - System.out.format(" - %s \n", knowledgeTypeId.getValueDescriptor()); - } - System.out.format(" - Source: %s \n", response.getContentUri()); - - return response; - } - } - // [END dialogflow_get_document] - - // [START dialogflow_delete_document] - - /** - * @param documentName Document Id. - */ - public static void deleteDocument(String documentName) throws Exception { - // Instantiates a client - try (DocumentsClient documentsClient = DocumentsClient.create()) { - documentsClient.deleteDocumentAsync(documentName).get(); - System.out.format("The document has been deleted."); - } - } } diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityManagement.java deleted file mode 100644 index 5ebdd0e96d5..00000000000 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityManagement.java +++ /dev/null @@ -1,122 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.example.dialogflow; - -// Imports the Google Cloud client library - -import com.google.cloud.dialogflow.v2.EntityType; -import com.google.cloud.dialogflow.v2.EntityType.Entity; -import com.google.cloud.dialogflow.v2.EntityTypeName; -import com.google.cloud.dialogflow.v2.EntityTypesClient; -import com.google.protobuf.Empty; -import java.util.Collections; -import java.util.List; - -/** - * DialogFlow API Entity sample. - */ -public class EntityManagement { - // [START dialogflow_list_entities] - - /** - * List entities - * - * @param projectId Project/agent id. - * @param entityTypeId The id of the entity_type. - * @return List of found entities. - */ - public static List listEntities(String projectId, String entityTypeId) throws Exception { - // Instantiates a client - try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { - // Set the entity type name using the projectID (my-project-id) and entityTypeId (KIND_LIST) - EntityTypeName name = EntityTypeName.of(projectId, entityTypeId); - - // Performs the get entity type request - EntityType entityType = entityTypesClient.getEntityType(name); - List entities = entityType.getEntitiesList(); - for (Entity entity : entities) { - System.out.format("Entity value: %s\n", entity.getValue()); - System.out.format("Entity synonyms: %s\n", entity.getSynonymsList().toString()); - } - return entities; - } - } - // [END dialogflow_list_entities] - - // [START dialogflow_create_entity] - - /** - * Create an entity of the given entity type - * - * @param projectId Project/agent id. - * @param entityTypeId The id of the entity_type. - * @param entityValue The entity value to be added. - * @param synonyms The synonyms that will map to the provided entity value. - */ - public static void createEntity( - String projectId, - String entityTypeId, - String entityValue, - List synonyms) throws Exception { - // Note: synonyms must be exactly [entityValue] if the - // entityTypeId's kind is KIND_LIST - if (synonyms.size() == 0) { - synonyms.add(entityValue); - } - - // Instantiates a client - try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { - // Set the entity type name using the projectID (my-project-id) and entityTypeId (KINDS_LIST) - EntityTypeName name = EntityTypeName.of(projectId, entityTypeId); - - // Build the entity - Entity entity = Entity.newBuilder() - .setValue(entityValue) - .addAllSynonyms(synonyms) - .build(); - - // Performs the create entity type request - Empty response = entityTypesClient.batchCreateEntitiesAsync(name, - Collections.singletonList(entity)).get(); - System.out.println("Entity created: " + response); - } - } - // [END dialogflow_create_entity] - - // [START dialogflow_delete_entity] - - /** - * Delete entity with the given entity type and entity value - * - * @param projectId Project/agent id. - * @param entityTypeId The id of the entity_type. - * @param entityValue The value of the entity to delete. - */ - public static void deleteEntity(String projectId, String entityTypeId, String entityValue) - throws Exception { - // Instantiates a client - try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { - // Set the entity type name using the projectID (my-project-id) and entityTypeId (KINDS_LIST) - EntityTypeName name = EntityTypeName.of(projectId, entityTypeId); - - // Performs the delete entity type request - entityTypesClient.batchDeleteEntitiesAsync(name, Collections.singletonList(entityValue)) - .getInitialFuture().get(); - } - } - // [END dialogflow_delete_entity] -} diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityTypeManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityTypeManagement.java deleted file mode 100644 index dd7f9cfa186..00000000000 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/EntityTypeManagement.java +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.example.dialogflow; - -// Imports the Google Cloud client library - -import com.google.cloud.dialogflow.v2.EntityType; -import com.google.cloud.dialogflow.v2.EntityType.Kind; -import com.google.cloud.dialogflow.v2.EntityTypeName; -import com.google.cloud.dialogflow.v2.EntityTypesClient; -import com.google.cloud.dialogflow.v2.ProjectAgentName; -import com.google.common.collect.Lists; -import java.util.ArrayList; -import java.util.List; - -/** - * DialogFlow API EntityType sample. - */ -public class EntityTypeManagement { - // [START dialogflow_list_entity_types] - - /** - * List entity types - * - * @param projectId Project/agent id. - * @return The EntityTypes found. - */ - public static List listEntityTypes(String projectId) throws Exception { - List entityTypes = Lists.newArrayList(); - // Instantiates a client - try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { - // Set the project agent name using the projectID (my-project-id) - ProjectAgentName parent = ProjectAgentName.of(projectId); - - // Performs the list entity types request - for (EntityType entityType : entityTypesClient.listEntityTypes(parent).iterateAll()) { - System.out.format("Entity type name %s\n", entityType.getName()); - System.out.format("Entity type display name: %s\n", entityType.getDisplayName()); - System.out.format("Number of entities: %d\n", entityType.getEntitiesCount()); - - entityTypes.add(entityType); - } - } - return entityTypes; - } - // [END dialogflow_list_entity_types] - - // [START dialogflow_create_entity_type] - - /** - * Create an entity type with the given display name - * - * @param displayName The display name of the entity. - * @param projectId Project/agent id. - * @param kind The kind of entity. KIND_MAP (default) or KIND_LIST. - * @return The created EntityType. - */ - public static EntityType createEntityType(String displayName, String projectId, String kind) - throws Exception { - // Instantiates a client - try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { - // Set the project agent name using the projectID (my-project-id) - ProjectAgentName parent = ProjectAgentName.of(projectId); - - // Entity types serve as a tool for extracting parameter values from natural language queries. - EntityType entityType = EntityType.newBuilder() - .setDisplayName(displayName) - .setKind(Kind.valueOf(kind)) - .build(); - - // Performs the create entity type request - EntityType response = entityTypesClient.createEntityType(parent, entityType); - System.out.println("Entity type created: " + response); - return response; - } - } - // [END dialogflow_create_entity_type] - - // [START dialogflow_delete_entity_type] - - /** - * Delete entity type with the given entity type name - * - * @param entityTypeId The id of the entity_type. - * @param projectId Project/agent id. - */ - public static void deleteEntityType(String entityTypeId, String projectId) throws Exception { - // Instantiates a client - try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { - // Set the entity type name using the projectID (my-project-id) and entityTypeId (KIND_LIST) - EntityTypeName name = EntityTypeName.of(projectId, entityTypeId); - - // Performs the delete entity type request - entityTypesClient.deleteEntityType(name); - } - } - // [END dialogflow_delete_entity_type] - - /** - * Helper method for testing to get entityTypeId from displayName. - */ - public static List getEntityTypeIds(String displayName, String projectId) - throws Exception { - List entityTypesIds = new ArrayList<>(); - - try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { - ProjectAgentName parent = ProjectAgentName.of(projectId); - // Performs the list entity types request - for (EntityType entityType : entityTypesClient.listEntityTypes(parent).iterateAll()) { - if (entityType.getDisplayName().equals(displayName)) { - String[] splitName = entityType.getName().split("/"); - entityTypesIds.add(splitName[splitName.length - 1]); - } - } - } - return entityTypesIds; - } -} diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java index 607f48238f2..506ae1982f4 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java @@ -19,35 +19,9 @@ import com.google.cloud.dialogflow.v2beta1.KnowledgeBase; import com.google.cloud.dialogflow.v2beta1.KnowledgeBasesClient; import com.google.cloud.dialogflow.v2beta1.ProjectName; -import com.google.common.collect.Lists; -import java.util.List; -public class KnowledgeBaseManagement { - // [START dialogflow_list_knowledge_base] - - /** - * List Knowledge bases - * - * @param projectId Project/agent id. - * @return The KnowledgeBases found in projectId. - */ - public static List listKnowledgeBases(String projectId) throws Exception { - List knowledgeBases = Lists.newArrayList(); - // Instantiates a client - try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) { - // Set the entity type name using the projectID (my-project-id) and entityTypeId (KIND_LIST) - ProjectName projectName = ProjectName.of(projectId); - for (KnowledgeBase knowledgeBase : - knowledgeBasesClient.listKnowledgeBases(projectName).iterateAll()) { - System.out.format(" - Display Name: %s\n", knowledgeBase.getDisplayName()); - System.out.format(" - Knowledge ID: %s\n", knowledgeBase.getName()); - knowledgeBases.add(knowledgeBase); - } - } - return knowledgeBases; - } - // [END dialogflow_list_knowledge_base] +public class KnowledgeBaseManagement { // [START dialogflow_create_knowledge_base] /** @@ -73,35 +47,4 @@ public static KnowledgeBase createKnowledgeBase(String projectId, String display } // [END dialogflow_create_knowledge_base] - // [START dialogflow_get_knowledge_base] - - /** - * @param knowledgeBaseName Knowledge base id. - * @return The retrieved KnowledgeBase. - */ - public static KnowledgeBase getKnowledgeBase(String knowledgeBaseName) throws Exception { - // Instantiates a client - try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) { - KnowledgeBase response = knowledgeBasesClient.getKnowledgeBase(knowledgeBaseName); - System.out.format("Got Knowledge Base:\n"); - System.out.format(" - Display Name: %s\n", response.getDisplayName()); - System.out.format(" - Knowledge ID: %s\n", response.getName()); - return response; - } - } - // [END dialogflow_get_knowledge_base] - - // [START dialogflow_delete_knowledge_base] - - /** - * @param knowledgeBaseName Knowledge base id. - */ - public static void deleteKnowledgeBase(String knowledgeBaseName) throws Exception { - // Instantiates a client - try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) { - knowledgeBasesClient.deleteKnowledgeBase(knowledgeBaseName); - System.out.format("KnowledgeBase has been deleted.\n"); - } - } - // [END dialogflow_delete_knowledge_base] } diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/SessionEntityTypeManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/SessionEntityTypeManagement.java deleted file mode 100644 index 150ae594ab5..00000000000 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/SessionEntityTypeManagement.java +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.example.dialogflow; - -// Imports the Google Cloud client library - -import com.google.cloud.dialogflow.v2.EntityType.Entity; -import com.google.cloud.dialogflow.v2.SessionEntityType; -import com.google.cloud.dialogflow.v2.SessionEntityType.EntityOverrideMode; -import com.google.cloud.dialogflow.v2.SessionEntityTypeName; -import com.google.cloud.dialogflow.v2.SessionEntityTypesClient; -import com.google.cloud.dialogflow.v2.SessionName; -import com.google.common.collect.Lists; -import java.util.ArrayList; -import java.util.List; - -/** - * DialogFlow API SessionEntityType sample. - */ -public class SessionEntityTypeManagement { - // [START dialogflow_list_session_entity_types] - - /** - * List session entity types - * - * @param projectId Project/Agent Id. - * @param sessionId Identifier of the DetectIntent session. - * @return SessionEntityTypes found. - */ - public static List listSessionEntityTypes(String projectId, String sessionId) - throws Exception { - List sessionEntityTypes = Lists.newArrayList(); - // Instantiates a client - try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) { - // Set the session name using the sessionId (UUID) and projectID (my-project-id) - SessionName session = SessionName.of(projectId, sessionId); - - System.out.format("SessionEntityTypes for session %s:\n", session.toString()); - // Performs the list session entity types request - for (SessionEntityType sessionEntityType : - sessionEntityTypesClient.listSessionEntityTypes(session).iterateAll()) { - System.out.format("\tSessionEntityType name: %s\n", sessionEntityType.getName()); - System.out.format("\tNumber of entities: %d\n", sessionEntityType.getEntitiesCount()); - - sessionEntityTypes.add(sessionEntityType); - } - } - return sessionEntityTypes; - } - // [END dialogflow_list_session_entity_types] - - // [START dialogflow_create_session_entity_type] - - /** - * Create an entity type with the given display name - * - * @param projectId Project/Agent Id. - * @param sessionId Identifier of the DetectIntent session. - * @param entityValues The entity values of the session entity type. - * @param entityTypeDisplayName DISPLAY NAME of the entity type to be overridden in the session. - * @param entityOverrideMode ENTITY_OVERRIDE_MODE_OVERRIDE (default) or - * ENTITY_OVERRIDE_MODE_SUPPLEMENT - * @return Created SessionEntityType. - */ - public static SessionEntityType createSessionEntityType( - String projectId, - String sessionId, - List entityValues, - String entityTypeDisplayName, - int entityOverrideMode) throws Exception { - // Instantiates a client - try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) { - // Set the session name using the sessionId (UUID) and projectID (my-project-id) - SessionName session = SessionName.of(projectId, sessionId); - SessionEntityTypeName name = SessionEntityTypeName.of( - projectId, sessionId, entityTypeDisplayName); - - List entities = new ArrayList<>(); - for (String entityValue : entityValues) { - entities.add(Entity.newBuilder() - .setValue(entityValue) - .addSynonyms(entityValue) - .build()); - } - - // Extends or replaces a developer entity type at the user session level (we refer to the - // entity types defined at the agent level as "developer entity types"). - SessionEntityType sessionEntityType = SessionEntityType.newBuilder() - .setName(name.toString()) - .addAllEntities(entities) - .setEntityOverrideMode(EntityOverrideMode.forNumber(entityOverrideMode)) - .build(); - - // Performs the create session entity type request - SessionEntityType response = sessionEntityTypesClient.createSessionEntityType(session, - sessionEntityType); - System.out.format("SessionEntityType created: %s\n", response); - - return response; - } - } - // [END dialogflow_create_session_entity_type] - - // [START dialogflow_delete_session_entity_type] - - /** - * Delete entity type with the given entity type name - * - * @param projectId Project/Agent Id. - * @param sessionId Identifier of the DetectIntent session. - * @param entityTypeDisplayName DISPLAY NAME of the entity type to be overridden in the session. - */ - public static void deleteSessionEntityType( - String projectId, - String sessionId, - String entityTypeDisplayName) throws Exception { - // Instantiates a client - try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) { - SessionEntityTypeName name = SessionEntityTypeName.of(projectId, sessionId, - entityTypeDisplayName); - - // Performs the delete session entity type request - sessionEntityTypesClient.deleteSessionEntityType(name); - } - } - // [END dialogflow_delete_session_entity_type] -} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/ContextManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/ContextManagementIT.java deleted file mode 100644 index 9d5ab42c2c6..00000000000 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/ContextManagementIT.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.example.dialogflow; - -import static com.google.common.truth.Truth.assertThat; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; - -import com.google.cloud.dialogflow.v2.Context; -import com.google.cloud.dialogflow.v2.ContextName; -import com.google.cloud.dialogflow.v2.ContextsClient; -import java.io.ByteArrayOutputStream; -import java.io.PrintStream; -import java.util.List; -import java.util.UUID; -import org.junit.After; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; - -/** - * Integration (system) tests for {@link ContextManagement}. - */ -@RunWith(JUnit4.class) -@SuppressWarnings("checkstyle:abbreviationaswordinname") -public class ContextManagementIT { - private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); - private static String SESSION_ID = UUID.randomUUID().toString(); - private static String CONTEXT_ID = UUID.randomUUID().toString(); - - @Before - public void setUp() { - System.setOut(new PrintStream(new ByteArrayOutputStream())); - } - - @After - public void tearDown() throws Exception { - try (ContextsClient contextsClient = ContextsClient.create()) { - // If the Context still exists, delete it. - try { - ContextName contextName = ContextName.of(PROJECT_ID, SESSION_ID, CONTEXT_ID); - Context existing = contextsClient.getContext(contextName); - contextsClient.deleteContext(existing.getName()); - } catch (Exception e) { - // Context doesn't exist, nothing to do. - } - } - System.setOut(null); - } - - @Test - public void testCreateDeleteContext() throws Exception { - // Create the context - Context context = ContextManagement.createContext(CONTEXT_ID, SESSION_ID, PROJECT_ID, 1); - assertThat(context.getName()).contains(CONTEXT_ID); - assertEquals(1, context.getLifespanCount()); - - List contexts = ContextManagement.listContexts(SESSION_ID, PROJECT_ID); - assertTrue(contexts.size() > 0); - assertTrue(contexts.stream().anyMatch(c -> c.getName().contains(SESSION_ID) - && c.getName().contains(CONTEXT_ID))); - - // Delete the context - ContextManagement.deleteContext(CONTEXT_ID, SESSION_ID, PROJECT_ID); - int numContexts = contexts.size(); - contexts = ContextManagement.listContexts(SESSION_ID, PROJECT_ID); - assertEquals(numContexts - 1, contexts.size()); - } -} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDocumentTest.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDocumentTest.java new file mode 100644 index 00000000000..e75405a0b6f --- /dev/null +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDocumentTest.java @@ -0,0 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import static com.google.common.truth.Truth.assertThat; +import static junit.framework.TestCase.assertNotNull; + +import com.google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest; +import com.google.cloud.dialogflow.v2beta1.KnowledgeBase; +import com.google.cloud.dialogflow.v2beta1.KnowledgeBasesClient; +import com.google.cloud.dialogflow.v2beta1.ProjectName; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.PrintStream; +import java.util.UUID; +import org.junit.After; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +@RunWith(JUnit4.class) +@SuppressWarnings("checkstyle:abbreviationaswordinname") +public class CreateDocumentTest { + + private static final String PROJECT_ID = System.getenv("GOOGLE_CLOUD_PROJECT"); + private static String KNOWLEDGE_DISPLAY_NAME = UUID.randomUUID().toString(); + private static String DOCUMENT_DISPLAY_NAME = UUID.randomUUID().toString(); + private ByteArrayOutputStream bout; + private PrintStream out; + private String knowledgeBaseName; + + private static void requireEnvVar(String varName) { + assertNotNull( + "Environment variable '%s' is required to perform these tests.".format(varName), + String.format(varName)); + } + + @BeforeClass + public static void checkRequirements() { + requireEnvVar("GOOGLE_APPLICATION_CREDENTIALS"); + requireEnvVar("GOOGLE_CLOUD_PROJECT"); + } + + @Before + public void setUp() throws IOException { + // Create a knowledge base for the document + try (KnowledgeBasesClient client = KnowledgeBasesClient.create()) { + KnowledgeBase knowledgeBase = + KnowledgeBase.newBuilder().setDisplayName(KNOWLEDGE_DISPLAY_NAME).build(); + ProjectName projectName = ProjectName.of(PROJECT_ID); + KnowledgeBase response = client.createKnowledgeBase(projectName, knowledgeBase); + // Save the full name for deletion + knowledgeBaseName = response.getName(); + } + + bout = new ByteArrayOutputStream(); + out = new PrintStream(bout); + System.setOut(out); + } + + @After + public void tearDown() throws IOException { + // Delete the created knowledge base + try (KnowledgeBasesClient client = KnowledgeBasesClient.create()) { + DeleteKnowledgeBaseRequest request = + DeleteKnowledgeBaseRequest.newBuilder().setName(knowledgeBaseName).setForce(true).build(); + client.deleteKnowledgeBase(request); + } + + System.setOut(null); + } + + @Test + public void testCreateDocument() throws Exception { + DocumentManagement.createDocument( + knowledgeBaseName, + DOCUMENT_DISPLAY_NAME, + "text/html", + "FAQ", + "https://cloud.google.com/storage/docs/faq"); + String got = bout.toString(); + assertThat(got).contains(DOCUMENT_DISPLAY_NAME); + } +} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateKnowledgeBaseTest.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateKnowledgeBaseTest.java new file mode 100644 index 00000000000..5581868f1a7 --- /dev/null +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateKnowledgeBaseTest.java @@ -0,0 +1,84 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import static com.google.common.truth.Truth.assertThat; +import static junit.framework.TestCase.assertNotNull; + +import com.google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest; +import com.google.cloud.dialogflow.v2beta1.KnowledgeBase; +import com.google.cloud.dialogflow.v2beta1.KnowledgeBasesClient; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.PrintStream; +import java.util.UUID; +import org.junit.After; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +@RunWith(JUnit4.class) +@SuppressWarnings("checkstyle:abbreviationaswordinname") +public class CreateKnowledgeBaseTest { + + private static final String PROJECT_ID = System.getenv("GOOGLE_CLOUD_PROJECT"); + private static String KNOWLEDGE_DISPLAY_NAME = UUID.randomUUID().toString(); + private ByteArrayOutputStream bout; + private PrintStream out; + private String knowledgeBaseName; + + private static void requireEnvVar(String varName) { + assertNotNull( + "Environment variable '%s' is required to perform these tests.".format(varName), + String.format(varName)); + } + + @BeforeClass + public static void checkRequirements() { + requireEnvVar("GOOGLE_APPLICATION_CREDENTIALS"); + requireEnvVar("GOOGLE_CLOUD_PROJECT"); + } + + @Before + public void setUp() { + bout = new ByteArrayOutputStream(); + out = new PrintStream(bout); + System.setOut(out); + } + + @After + public void tearDown() throws IOException { + // Delete the created knowledge base + try (KnowledgeBasesClient client = KnowledgeBasesClient.create()) { + DeleteKnowledgeBaseRequest request = + DeleteKnowledgeBaseRequest.newBuilder().setName(knowledgeBaseName).setForce(true).build(); + client.deleteKnowledgeBase(request); + } + System.setOut(null); + } + + @Test + public void testCreateKnowledgeBase() throws Exception { + KnowledgeBase knowledgeBase = + KnowledgeBaseManagement.createKnowledgeBase(PROJECT_ID, KNOWLEDGE_DISPLAY_NAME); + knowledgeBaseName = knowledgeBase.getName(); + String got = bout.toString(); + assertThat(got).contains(KNOWLEDGE_DISPLAY_NAME); + } +} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentKnowledgeTest.java similarity index 56% rename from dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java rename to dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentKnowledgeTest.java index 2f8415b4792..fb940c31383 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/KnowledgeBaseManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentKnowledgeTest.java @@ -19,11 +19,9 @@ import static com.google.common.truth.Truth.assertThat; import static org.junit.Assert.assertEquals; -import com.google.cloud.dialogflow.v2beta1.Document; import com.google.cloud.dialogflow.v2beta1.DocumentName; import com.google.cloud.dialogflow.v2beta1.KnowledgeAnswers; import com.google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer; -import com.google.cloud.dialogflow.v2beta1.KnowledgeBase; import com.google.cloud.dialogflow.v2beta1.KnowledgeBaseName; import com.google.common.collect.ImmutableList; import java.io.ByteArrayOutputStream; @@ -37,20 +35,16 @@ import org.junit.runner.RunWith; import org.junit.runners.JUnit4; -/** - * Integration (system) tests for {DetectIntentKnowledge, KnowledgeManagement, DocumentManagement}. - */ + @RunWith(JUnit4.class) @SuppressWarnings("checkstyle:abbreviationaswordinname") -public class KnowledgeBaseManagementIT { +public class DetectIntentKnowledgeTest { private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); private static String TEST_KNOWLEDGE_BASE_ID = "MTA4MzE0ODY5NTczMTQzNzU2ODA"; private static String TEST_DOCUMENT_ID = "MTUwNjk0ODg1NTU4NzkzMDExMg"; private static String SESSION_ID = UUID.randomUUID().toString(); private static String LANGUAGE_CODE = "en-US"; - private static String KNOWLEDGE_BASE_NAME = UUID.randomUUID().toString(); - private static String DOCUMENT_BASE_NAME = UUID.randomUUID().toString(); private static List TEXTS = ImmutableList .of("How do I sign up?", "Is my data redundant?", "Where can I find pricing information?", @@ -67,65 +61,6 @@ public void tearDown() { System.setOut(null); } - @Test - public void testKnowledgeBase() throws Exception { - // Create a Knowledge Base - KnowledgeBase knowledgeBase = - KnowledgeBaseManagement.createKnowledgeBase(PROJECT_ID, KNOWLEDGE_BASE_NAME); - assertThat(knowledgeBase.getDisplayName()).contains(KNOWLEDGE_BASE_NAME); - - // Get KnowledgeBase - knowledgeBase = KnowledgeBaseManagement.getKnowledgeBase(knowledgeBase.getName()); - assertThat(knowledgeBase.getDisplayName()).contains(KNOWLEDGE_BASE_NAME); - - // List Knowledge Bases - List knowledgeBases = KnowledgeBaseManagement.listKnowledgeBases(PROJECT_ID); - assertThat(knowledgeBases.size()).isAtLeast(2); - - int found = 0; - for (KnowledgeBase knowledgeBase1 : knowledgeBases) { - if (knowledgeBase1.getDisplayName().equals(KNOWLEDGE_BASE_NAME)) { - found += 1; - } - } - assertThat(found).isEqualTo(1); - - // Delete the Knowledge Base - KnowledgeBaseManagement.deleteKnowledgeBase(knowledgeBase.getName()); - } - - @Test - public void testDocumentManagement() throws Exception { - // Create a Knowledge Base - KnowledgeBase knowledgeBase = - KnowledgeBaseManagement.createKnowledgeBase(PROJECT_ID, KNOWLEDGE_BASE_NAME); - String knowledgeBaseName = knowledgeBase.getName(); - - // Create a Document - Document document = DocumentManagement.createDocument( - knowledgeBaseName, - DOCUMENT_BASE_NAME, - "text/html", - "FAQ", - "https://cloud.google.com/storage/docs/faq"); - assertThat(document.getDisplayName()).contains(DOCUMENT_BASE_NAME); - - // List the Documents - List documents = DocumentManagement.listDocuments(knowledgeBaseName); - assertThat(documents.size()).isEqualTo(1); - assertThat(documents.get(0).getDisplayName()).contains(DOCUMENT_BASE_NAME); - - // Get the Document - document = DocumentManagement.getDocument(document.getName()); - assertThat(document.getDisplayName()).contains(DOCUMENT_BASE_NAME); - - // Delete the Document - DocumentManagement.deleteDocument(document.getName()); - - // Delete the Knowledge Base - KnowledgeBaseManagement.deleteKnowledgeBase(knowledgeBase.getName()); - } - @Test public void testDetectIntentKnowledge() throws Exception { KnowledgeBaseName knowledgeBaseName = KnowledgeBaseName.newBuilder() diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioAndModelSelectionIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioTest.java similarity index 73% rename from dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioAndModelSelectionIT.java rename to dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioTest.java index 3f70a08d192..20d1ca187cd 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioAndModelSelectionIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioTest.java @@ -20,7 +20,6 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; -import com.google.cloud.dialogflow.v2beta1.QueryResult; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Lists; @@ -35,12 +34,9 @@ import org.junit.runner.RunWith; import org.junit.runners.JUnit4; -/** - * Integration (system) tests for {@link DetectIntentWithModelSelection}. - */ @RunWith(JUnit4.class) @SuppressWarnings("checkstyle:abbreviationaswordinname") -public class DetectIntentWithAudioAndModelSelectionIT { +public class DetectIntentWithAudioTest { protected static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); protected static String SESSION_ID = UUID.randomUUID().toString(); protected static String LANGUAGE_CODE = "en-US"; @@ -87,24 +83,4 @@ public void testDetectIntentAudio() throws Exception { assertTrue(result.getAllRequiredParamsPresent()); assertEquals("Choose a room please.", fulfillmentText); } - - @Test - public void testDetectIntentWithModelSelection() throws Exception { - List askedQuestions = Lists.newArrayList(); - QueryResult result = DetectIntentWithModelSelection.detectIntentWithModelSelection( - PROJECT_ID, "resources/book_a_room.wav", SESSION_ID, LANGUAGE_CODE); - String fulfillmentText = result.getFulfillmentText(); - while (!result.getAllRequiredParamsPresent() - && ANSWERS.containsKey(fulfillmentText) - && !askedQuestions.contains(fulfillmentText)) { - askedQuestions.add(result.getFulfillmentText()); - assertEquals("room.reservation", result.getAction()); - assertThat(QUESTIONS).contains(fulfillmentText); - result = DetectIntentWithModelSelection.detectIntentWithModelSelection( - PROJECT_ID, ANSWERS.get(fulfillmentText), SESSION_ID, LANGUAGE_CODE); - fulfillmentText = result.getFulfillmentText(); - } - assertTrue(result.getAllRequiredParamsPresent()); - assertEquals("Choose a room please.", fulfillmentText); - } } diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/EntityManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/EntityManagementIT.java deleted file mode 100644 index 6e2001b679d..00000000000 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/EntityManagementIT.java +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.example.dialogflow; - -import static com.google.common.truth.Truth.assertThat; -import static org.junit.Assert.assertEquals; - -import com.google.cloud.dialogflow.v2.EntityType; -import com.google.cloud.dialogflow.v2.EntityType.Entity; -import com.google.protobuf.ProtocolStringList; -import java.io.ByteArrayOutputStream; -import java.io.PrintStream; -import java.util.Arrays; -import java.util.Collections; -import java.util.List; -import java.util.UUID; -import org.junit.After; -import org.junit.Before; -import org.junit.FixMethodOrder; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; -import org.junit.runners.MethodSorters; - -/** - * Integration (system) tests for {@link EntityManagement} and {@link EntityTypeManagement}. - */ -@RunWith(JUnit4.class) -@FixMethodOrder(MethodSorters.NAME_ASCENDING) -@SuppressWarnings("checkstyle:abbreviationaswordinname") -public class EntityManagementIT { - private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); - private static String ENTITY_TYPE_DISPLAY_NAME = - "entity_" + UUID.randomUUID().toString().substring(0, 23); - private static String ENTITY_VALUE_1 = UUID.randomUUID().toString(); - private static String ENTITY_VALUE_2 = UUID.randomUUID().toString(); - private static List SYNONYMS = Arrays.asList("fake_synonym_for_testing_1", - "fake_synonym_for_testing_2"); - - @Before - public void setUp() { - System.setOut(new PrintStream(new ByteArrayOutputStream())); - } - - @After - public void tearDown() { - System.setOut(null); - } - - @Test - public void testCreateEntityType() throws Exception { - List entityTypeIds = EntityTypeManagement.getEntityTypeIds( - ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID); - - assertThat(entityTypeIds.size()).isEqualTo(0); - - EntityType entityType = EntityTypeManagement.createEntityType( - ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID, "KIND_MAP"); - assertEquals(ENTITY_TYPE_DISPLAY_NAME, entityType.getDisplayName()); - - entityTypeIds = EntityTypeManagement.getEntityTypeIds( - ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID); - - assertThat(entityTypeIds.size()).isEqualTo(1); - } - - @Test - public void testCreateEntityWithCreatedEntityType() throws Exception { - List entityTypeIds = EntityTypeManagement.getEntityTypeIds(ENTITY_TYPE_DISPLAY_NAME, - PROJECT_ID); - - EntityManagement.createEntity( - PROJECT_ID, entityTypeIds.get(0), ENTITY_VALUE_1, Collections.singletonList("")); - EntityManagement.createEntity( - PROJECT_ID, entityTypeIds.get(0), ENTITY_VALUE_2, SYNONYMS); - - List entities = EntityManagement.listEntities(PROJECT_ID, entityTypeIds.get(0)); - assertEquals(2, entities.size()); - - int entityOneInd = entities.get(0).getValue().equals(ENTITY_VALUE_1) ? 0 : 1; - int entityTwoInd = entityOneInd == 0 ? 1 : 0; - assertEquals(ENTITY_VALUE_1, entities.get(entityOneInd).getValue()); - assertEquals(ENTITY_VALUE_2, entities.get(entityTwoInd).getValue()); - ProtocolStringList synonyms = entities.get(entityTwoInd).getSynonymsList(); - assertEquals(2, synonyms.size()); - for (String synonym : SYNONYMS) { - assertThat(synonyms).contains(synonym); - } - } - - @Test - public void testDeleteEntity() throws Exception { - List entityTypeIds = EntityTypeManagement.getEntityTypeIds( - ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID); - - EntityManagement.deleteEntity(PROJECT_ID, entityTypeIds.get(0), ENTITY_VALUE_1); - EntityManagement.deleteEntity(PROJECT_ID, entityTypeIds.get(0), ENTITY_VALUE_2); - - List entities = EntityManagement.listEntities(PROJECT_ID, entityTypeIds.get(0)); - assertEquals(0, entities.size()); - } - - @Test - public void testDeleteEntityType() throws Exception { - List entityTypeIds = EntityTypeManagement.getEntityTypeIds( - ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID); - - for (String entityTypeId : entityTypeIds) { - EntityTypeManagement.deleteEntityType(entityTypeId, PROJECT_ID); - } - - entityTypeIds = EntityTypeManagement.getEntityTypeIds(ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID); - assertThat(entityTypeIds.size()).isEqualTo(0); - } -} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/SessionEntityTypeManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/SessionEntityTypeManagementIT.java deleted file mode 100644 index de838752315..00000000000 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/SessionEntityTypeManagementIT.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.example.dialogflow; - -import static com.google.common.truth.Truth.assertThat; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; - -import com.google.cloud.dialogflow.v2.EntityType; -import com.google.cloud.dialogflow.v2.EntityType.Kind; -import com.google.cloud.dialogflow.v2.SessionEntityType; -import com.google.cloud.dialogflow.v2.SessionEntityTypesClient; -import com.google.cloud.dialogflow.v2.SessionName; -import java.io.ByteArrayOutputStream; -import java.io.PrintStream; -import java.util.Arrays; -import java.util.List; -import java.util.UUID; -import org.junit.After; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; - -/** - * Integration (system) tests for {@link SessionEntityTypeManagement}. - */ -@RunWith(JUnit4.class) -@SuppressWarnings("checkstyle:abbreviationaswordinname") -public class SessionEntityTypeManagementIT { - private static String SESSION_ID = "fake_session_for_testing"; - private static String ENTITY_TYPE_DISPLAY_NAME = - "entity_" + UUID.randomUUID().toString().substring(0, 23); - private static List ENTITY_VALUES = Arrays.asList("fake_entity_value_1", - "fake_entity_value_2"); - private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); - - @Before - public void setUp() { - System.setOut(new PrintStream(new ByteArrayOutputStream())); - } - - @After - public void tearDown() throws Exception { - try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) { - SessionName session = SessionName.of(PROJECT_ID, SESSION_ID); - - // Performs the list session entity types request - for (SessionEntityType sessionEntityType : - sessionEntityTypesClient.listSessionEntityTypes(session).iterateAll()) { - if (sessionEntityType.getName().equals(ENTITY_TYPE_DISPLAY_NAME)) { - sessionEntityTypesClient.deleteSessionEntityType(sessionEntityType.getName()); - } - } - } - System.setOut(null); - } - - @Test - public void testCreateDeleteSessionEntityType() throws Exception { - // Create session entity type - EntityType entityType = EntityTypeManagement - .createEntityType(ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID, "KIND_MAP"); - assertEquals(Kind.valueOf("KIND_MAP"), entityType.getKind()); - - SessionEntityTypeManagement.createSessionEntityType( - PROJECT_ID, SESSION_ID, ENTITY_VALUES, ENTITY_TYPE_DISPLAY_NAME, 1); - - List sessionEntityTypes = SessionEntityTypeManagement - .listSessionEntityTypes(PROJECT_ID, SESSION_ID); - assertEquals(1, sessionEntityTypes.size()); - SessionEntityType sessionEntityType = sessionEntityTypes.get(0); - assertThat(sessionEntityType.getName()).contains(SESSION_ID); - assertThat(sessionEntityType.getName()).contains(ENTITY_TYPE_DISPLAY_NAME); - - for (String entityValue : ENTITY_VALUES) { - assertTrue(sessionEntityType - .getEntitiesList().stream().anyMatch(e -> e.getValue().equals(entityValue))); - } - - // Delete session entity type - SessionEntityTypeManagement.deleteSessionEntityType( - PROJECT_ID, SESSION_ID, ENTITY_TYPE_DISPLAY_NAME); - - sessionEntityTypes = SessionEntityTypeManagement.listSessionEntityTypes(PROJECT_ID, SESSION_ID); - assertEquals(0, sessionEntityTypes.size()); - - List entityTypesIds = EntityTypeManagement.getEntityTypeIds( - ENTITY_TYPE_DISPLAY_NAME, PROJECT_ID); - - for (String entityTypeId : entityTypesIds) { - EntityTypeManagement.deleteEntityType(entityTypeId, PROJECT_ID); - } - } -} From 62de669edbdb8dc4d3c24850e0ed44cbf4fe4942 Mon Sep 17 00:00:00 2001 From: Mike <45373284+munkhuushmgl@users.noreply.github.com> Date: Tue, 30 Jun 2020 15:33:54 -0700 Subject: [PATCH 037/178] samples: samples: refactor dialogflow for 2.1.0 (#3283) * samples: refactor dialogflow for 2.1.0 * formatted code * made requested changes * fixed compilation error * fixed lint on tests * lint issue --- .../example/dialogflow/DetectIntentAudio.java | 56 +++++++----------- .../dialogflow/DetectIntentKnowledge.java | 30 +++------- .../dialogflow/DetectIntentStream.java | 36 +++++------ .../example/dialogflow/DetectIntentTexts.java | 31 +++------- .../DetectIntentWithSentimentAnalysis.java | 26 +++----- .../DetectIntentWithTextToSpeechResponse.java | 24 +++----- .../dialogflow/DocumentManagement.java | 19 +++--- .../example/dialogflow/IntentManagement.java | 59 +++++++++---------- .../dialogflow/KnowledgeBaseManagement.java | 19 +++--- .../dialogflow/CreateDocumentTest.java | 4 +- .../dialogflow/CreateKnowledgeBaseTest.java | 4 +- .../dialogflow/DetectIntentKnowledgeTest.java | 28 +++++---- .../dialogflow/DetectIntentStreamIT.java | 13 ++-- .../dialogflow/DetectIntentWithAudioTest.java | 42 +++++++------ ...tIntentWithSentimentAndTextToSpeechIT.java | 37 ++++++------ .../dialogflow/IntentManagementIT.java | 28 ++++----- 16 files changed, 198 insertions(+), 258 deletions(-) diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentAudio.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentAudio.java index f996f1ef7e0..38f319a9885 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentAudio.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentAudio.java @@ -16,8 +16,9 @@ package com.example.dialogflow; -// Imports the Google Cloud client library +// [START dialogflow_detect_intent_audio] +import com.google.api.gax.rpc.ApiException; import com.google.cloud.dialogflow.v2.AudioEncoding; import com.google.cloud.dialogflow.v2.DetectIntentRequest; import com.google.cloud.dialogflow.v2.DetectIntentResponse; @@ -27,33 +28,16 @@ import com.google.cloud.dialogflow.v2.SessionName; import com.google.cloud.dialogflow.v2.SessionsClient; import com.google.protobuf.ByteString; +import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; - -/** - * DialogFlow API Detect Intent sample with audio files. - */ public class DetectIntentAudio { - // [START dialogflow_detect_intent_audio] - /** - * Returns the result of detect intent with an audio file as input. - * - * Using the same `session_id` between requests allows continuation of the conversation. - * - * @param projectId Project/Agent Id. - * @param audioFilePath Path to the audio file. - * @param sessionId Identifier of the DetectIntent session. - * @param languageCode Language code of the query. - * @return QueryResult for the request. - */ + // DialogFlow API Detect Intent sample with audio files. public static QueryResult detectIntentAudio( - String projectId, - String audioFilePath, - String sessionId, - String languageCode) - throws Exception { + String projectId, String audioFilePath, String sessionId, String languageCode) + throws IOException, ApiException { // Instantiates a client try (SessionsClient sessionsClient = SessionsClient.create()) { // Set the session name using the sessionId (UUID) and projectID (my-project-id) @@ -66,11 +50,13 @@ public static QueryResult detectIntentAudio( int sampleRateHertz = 16000; // Instructs the speech recognizer how to process the audio content. - InputAudioConfig inputAudioConfig = InputAudioConfig.newBuilder() - .setAudioEncoding(audioEncoding) // audioEncoding = AudioEncoding.AUDIO_ENCODING_LINEAR_16 - .setLanguageCode(languageCode) // languageCode = "en-US" - .setSampleRateHertz(sampleRateHertz) // sampleRateHertz = 16000 - .build(); + InputAudioConfig inputAudioConfig = + InputAudioConfig.newBuilder() + .setAudioEncoding( + audioEncoding) // audioEncoding = AudioEncoding.AUDIO_ENCODING_LINEAR_16 + .setLanguageCode(languageCode) // languageCode = "en-US" + .setSampleRateHertz(sampleRateHertz) // sampleRateHertz = 16000 + .build(); // Build the query with the InputAudioConfig QueryInput queryInput = QueryInput.newBuilder().setAudioConfig(inputAudioConfig).build(); @@ -79,11 +65,12 @@ public static QueryResult detectIntentAudio( byte[] inputAudio = Files.readAllBytes(Paths.get(audioFilePath)); // Build the DetectIntentRequest - DetectIntentRequest request = DetectIntentRequest.newBuilder() - .setSession(session.toString()) - .setQueryInput(queryInput) - .setInputAudio(ByteString.copyFrom(inputAudio)) - .build(); + DetectIntentRequest request = + DetectIntentRequest.newBuilder() + .setSession(session.toString()) + .setQueryInput(queryInput) + .setInputAudio(ByteString.copyFrom(inputAudio)) + .build(); // Performs the detect intent request DetectIntentResponse response = sessionsClient.detectIntent(request); @@ -92,12 +79,13 @@ public static QueryResult detectIntentAudio( QueryResult queryResult = response.getQueryResult(); System.out.println("===================="); System.out.format("Query Text: '%s'\n", queryResult.getQueryText()); - System.out.format("Detected Intent: %s (confidence: %f)\n", + System.out.format( + "Detected Intent: %s (confidence: %f)\n", queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); return queryResult; } } - // [END dialogflow_detect_intent_audio] } +// [END dialogflow_detect_intent_audio] diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java index 96a04fa6e26..4fc3243ef57 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java @@ -16,8 +16,9 @@ package com.example.dialogflow; -// Imports the Google Cloud client library +// [START dialogflow_detect_intent_knowledge] +import com.google.api.gax.rpc.ApiException; import com.google.cloud.dialogflow.v2beta1.DetectIntentRequest; import com.google.cloud.dialogflow.v2beta1.DetectIntentResponse; import com.google.cloud.dialogflow.v2beta1.KnowledgeAnswers; @@ -29,33 +30,20 @@ import com.google.cloud.dialogflow.v2beta1.SessionsClient; import com.google.cloud.dialogflow.v2beta1.TextInput; import com.google.common.collect.Maps; +import java.io.IOException; import java.util.List; import java.util.Map; -/** - * DialogFlow API Detect Intent sample with querying knowledge connector. - */ public class DetectIntentKnowledge { - // [START dialogflow_detect_intent_knowledge] - /** - * Returns the result of detect intent with text as input. - * - *

Using the same `session_id` between requests allows continuation of the conversation. - * - * @param projectId Project/Agent Id. - * @param knowledgeBaseName Knowledge base Id. - * @param sessionId Identifier of the DetectIntent session. - * @param languageCode Language code of the query. - * @param texts The texts to be processed. - * @return The KnowledgeAnswers found for each text. - */ + // DialogFlow API Detect Intent sample with querying knowledge connector. public static Map detectIntentKnowledge( String projectId, String knowledgeBaseName, String sessionId, String languageCode, - List texts) throws Exception { + List texts) + throws IOException, ApiException { // Instantiates a client Map allKnowledgeAnswers = Maps.newHashMap(); try (SessionsClient sessionsClient = SessionsClient.create()) { @@ -72,9 +60,7 @@ public static Map detectIntentKnowledge( QueryInput queryInput = QueryInput.newBuilder().setText(textInput).build(); QueryParameters queryParameters = - QueryParameters.newBuilder() - .addKnowledgeBaseNames(knowledgeBaseName) - .build(); + QueryParameters.newBuilder().addKnowledgeBaseNames(knowledgeBaseName).build(); DetectIntentRequest detectIntentRequest = DetectIntentRequest.newBuilder() @@ -107,5 +93,5 @@ public static Map detectIntentKnowledge( } return allKnowledgeAnswers; } - // [END dialogflow_detect_intent_knowledge] } +// [END dialogflow_detect_intent_knowledge] diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentStream.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentStream.java index 94a7d4df8d8..ffeffcd4dce 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentStream.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentStream.java @@ -17,7 +17,8 @@ package com.example.dialogflow; // [START dialogflow_detect_intent_streaming] -// Imports the Google Cloud client library + +import com.google.api.gax.rpc.ApiException; import com.google.api.gax.rpc.BidiStream; import com.google.cloud.dialogflow.v2.AudioEncoding; import com.google.cloud.dialogflow.v2.InputAudioConfig; @@ -31,12 +32,11 @@ import java.io.FileInputStream; import java.io.IOException; -/** - * DialogFlow API Detect Intent sample with audio files processes as an audio stream. - */ class DetectIntentStream { - static void detectIntentStream(String projectId, String audioFilePath, String sessionId) { + // DialogFlow API Detect Intent sample with audio files processes as an audio stream. + static void detectIntentStream(String projectId, String audioFilePath, String sessionId) + throws IOException, ApiException { // String projectId = "YOUR_PROJECT_ID"; // String audioFilePath = "path_to_your_audio_file"; // Using the same `sessionId` between requests allows continuation of the conversation. @@ -50,11 +50,12 @@ static void detectIntentStream(String projectId, String audioFilePath, String se // Instructs the speech recognizer how to process the audio content. // Note: hard coding audioEncoding and sampleRateHertz for simplicity. // Audio encoding of the audio content sent in the query request. - InputAudioConfig inputAudioConfig = InputAudioConfig.newBuilder() - .setAudioEncoding(AudioEncoding.AUDIO_ENCODING_LINEAR_16) - .setLanguageCode("en-US") // languageCode = "en-US" - .setSampleRateHertz(16000) // sampleRateHertz = 16000 - .build(); + InputAudioConfig inputAudioConfig = + InputAudioConfig.newBuilder() + .setAudioEncoding(AudioEncoding.AUDIO_ENCODING_LINEAR_16) + .setLanguageCode("en-US") // languageCode = "en-US" + .setSampleRateHertz(16000) // sampleRateHertz = 16000 + .build(); // Build the query with the InputAudioConfig QueryInput queryInput = QueryInput.newBuilder().setAudioConfig(inputAudioConfig).build(); @@ -64,10 +65,11 @@ static void detectIntentStream(String projectId, String audioFilePath, String se sessionsClient.streamingDetectIntentCallable().call(); // The first request must **only** contain the audio configuration: - bidiStream.send(StreamingDetectIntentRequest.newBuilder() - .setSession(session.toString()) - .setQueryInput(queryInput) - .build()); + bidiStream.send( + StreamingDetectIntentRequest.newBuilder() + .setSession(session.toString()) + .setQueryInput(queryInput) + .build()); try (FileInputStream audioStream = new FileInputStream(audioFilePath)) { // Subsequent requests must **only** contain the audio data. @@ -91,13 +93,11 @@ static void detectIntentStream(String projectId, String audioFilePath, String se System.out.println("===================="); System.out.format("Intent Display Name: %s\n", queryResult.getIntent().getDisplayName()); System.out.format("Query Text: '%s'\n", queryResult.getQueryText()); - System.out.format("Detected Intent: %s (confidence: %f)\n", + System.out.format( + "Detected Intent: %s (confidence: %f)\n", queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); - } - } catch (IOException e) { - e.printStackTrace(); } } } diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java index 83e6a813910..89d21562313 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java @@ -16,8 +16,9 @@ package com.example.dialogflow; -// Imports the Google Cloud client library +// [START dialogflow_detect_intent_text] +import com.google.api.gax.rpc.ApiException; import com.google.cloud.dialogflow.v2.DetectIntentResponse; import com.google.cloud.dialogflow.v2.QueryInput; import com.google.cloud.dialogflow.v2.QueryResult; @@ -25,31 +26,16 @@ import com.google.cloud.dialogflow.v2.SessionsClient; import com.google.cloud.dialogflow.v2.TextInput; import com.google.common.collect.Maps; +import java.io.IOException; import java.util.List; import java.util.Map; -/** - * DialogFlow API Detect Intent sample with text inputs. - */ public class DetectIntentTexts { - // [START dialogflow_detect_intent_text] - /** - * Returns the result of detect intent with texts as inputs. - * - * Using the same `session_id` between requests allows continuation of the conversation. - * - * @param projectId Project/Agent Id. - * @param texts The text intents to be detected based on what a user says. - * @param sessionId Identifier of the DetectIntent session. - * @param languageCode Language code of the query. - * @return The QueryResult for each input text. - */ + // DialogFlow API Detect Intent sample with text inputs. public static Map detectIntentTexts( - String projectId, - List texts, - String sessionId, - String languageCode) throws Exception { + String projectId, List texts, String sessionId, String languageCode) + throws IOException, ApiException { Map queryResults = Maps.newHashMap(); // Instantiates a client try (SessionsClient sessionsClient = SessionsClient.create()) { @@ -74,7 +60,8 @@ public static Map detectIntentTexts( System.out.println("===================="); System.out.format("Query Text: '%s'\n", queryResult.getQueryText()); - System.out.format("Detected Intent: %s (confidence: %f)\n", + System.out.format( + "Detected Intent: %s (confidence: %f)\n", queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); @@ -83,5 +70,5 @@ public static Map detectIntentTexts( } return queryResults; } - // [END dialogflow_detect_intent_text] } +// [END dialogflow_detect_intent_text] diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java index 4f3dce487ac..136590c9346 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java @@ -16,6 +16,9 @@ package com.example.dialogflow; +// [START dialogflow_detect_intent_with_sentiment_analysis] + +import com.google.api.gax.rpc.ApiException; import com.google.cloud.dialogflow.v2.DetectIntentRequest; import com.google.cloud.dialogflow.v2.DetectIntentResponse; import com.google.cloud.dialogflow.v2.QueryInput; @@ -26,28 +29,15 @@ import com.google.cloud.dialogflow.v2.SessionsClient; import com.google.cloud.dialogflow.v2.TextInput; import com.google.common.collect.Maps; +import java.io.IOException; import java.util.List; import java.util.Map; public class DetectIntentWithSentimentAnalysis { - // [START dialogflow_detect_intent_with_sentiment_analysis] - /** - * Returns the result of detect intent with texts as inputs. - * - *

Using the same `session_id` between requests allows continuation of the conversation. - * - * @param projectId Project/Agent Id. - * @param texts The text intents to be detected based on what a user says. - * @param sessionId Identifier of the DetectIntent session. - * @param languageCode Language code of the query. - * @return The QueryResult for each text in query. - */ - public static Map detectIntentSentimentAnalysis( - String projectId, - List texts, - String sessionId, - String languageCode) throws Exception { + public static Map detectIntentSentimentAnalysis( + String projectId, List texts, String sessionId, String languageCode) + throws IOException, ApiException { Map queryResults = Maps.newHashMap(); // Instantiates a client try (SessionsClient sessionsClient = SessionsClient.create()) { @@ -100,5 +90,5 @@ public static Map detectIntentSentimentAnalysis( } return queryResults; } - // [END dialogflow_detect_intent_with_sentiment_analysis] } +// [END dialogflow_detect_intent_with_sentiment_analysis] diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java index 933adf88558..3a40384c28d 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java @@ -16,6 +16,9 @@ package com.example.dialogflow; +// [START dialogflow_detect_intent_with_texttospeech_response] + +import com.google.api.gax.rpc.ApiException; import com.google.cloud.dialogflow.v2.DetectIntentRequest; import com.google.cloud.dialogflow.v2.DetectIntentResponse; import com.google.cloud.dialogflow.v2.OutputAudioConfig; @@ -26,28 +29,15 @@ import com.google.cloud.dialogflow.v2.SessionsClient; import com.google.cloud.dialogflow.v2.TextInput; import com.google.common.collect.Maps; +import java.io.IOException; import java.util.List; import java.util.Map; public class DetectIntentWithTextToSpeechResponse { - // [START dialogflow_detect_intent_with_texttospeech_response] - /** - * Returns the result of detect intent with texts as inputs. - * - *

Using the same `session_id` between requests allows continuation of the conversation. - * - * @param projectId Project/Agent Id. - * @param texts The text intents to be detected based on what a user says. - * @param sessionId Identifier of the DetectIntent session. - * @param languageCode Language code of the query. - * @return The QueryResult for each input text. - */ public static Map detectIntentWithTexttoSpeech( - String projectId, - List texts, - String sessionId, - String languageCode) throws Exception { + String projectId, List texts, String sessionId, String languageCode) + throws IOException, ApiException { Map queryResults = Maps.newHashMap(); // Instantiates a client try (SessionsClient sessionsClient = SessionsClient.create()) { @@ -98,5 +88,5 @@ public static Map detectIntentWithTexttoSpeech( } return queryResults; } - // [END dialogflow_detect_intent_with_texttospeech_response] } +// [END dialogflow_detect_intent_with_texttospeech_response] diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java index 8666e86cb0f..a78e7ae058b 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java @@ -16,32 +16,29 @@ package com.example.dialogflow; +// [START dialogflow_create_document] + import com.google.api.gax.longrunning.OperationFuture; +import com.google.api.gax.rpc.ApiException; import com.google.cloud.dialogflow.v2beta1.CreateDocumentRequest; import com.google.cloud.dialogflow.v2beta1.Document; import com.google.cloud.dialogflow.v2beta1.Document.KnowledgeType; import com.google.cloud.dialogflow.v2beta1.DocumentsClient; import com.google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata; +import java.io.IOException; +import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; public class DocumentManagement { - // [START dialogflow_create_document] - /** - * @param knowledgeBaseName Knowledge Base id. - * @param displayName display name of the Document. - * @param mimeType MIME type of the Document. e.g. text/csv, text/html - * @param knowledgeType Knowledge Type of the Document. e.g. FAQ, EXTRACTIVE_QA - * @param contentUri Uri of the Document. e.g. gs://path/mydoc.csv, http://mypage.com/faq.html - * @return The created document. - */ public static Document createDocument( String knowledgeBaseName, String displayName, String mimeType, String knowledgeType, String contentUri) - throws Exception { + throws IOException, ApiException, InterruptedException, ExecutionException, TimeoutException { // Instantiates a client try (DocumentsClient documentsClient = DocumentsClient.create()) { Document document = @@ -71,5 +68,5 @@ public static Document createDocument( return createdDocument; } } - // [END dialogflow_create_document] } +// [END dialogflow_create_document] diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/IntentManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/IntentManagement.java index e7a19579ee8..a9ed0f51880 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/IntentManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/IntentManagement.java @@ -18,6 +18,8 @@ // Imports the Google Cloud client library +import com.google.api.gax.rpc.ApiException; +import com.google.cloud.dialogflow.v2.AgentName; import com.google.cloud.dialogflow.v2.Context; import com.google.cloud.dialogflow.v2.Intent; import com.google.cloud.dialogflow.v2.Intent.Message; @@ -26,14 +28,12 @@ import com.google.cloud.dialogflow.v2.Intent.TrainingPhrase.Part; import com.google.cloud.dialogflow.v2.IntentName; import com.google.cloud.dialogflow.v2.IntentsClient; -import com.google.cloud.dialogflow.v2.ProjectAgentName; import com.google.common.collect.Lists; +import java.io.IOException; import java.util.ArrayList; import java.util.List; -/** - * DialogFlow API Intent sample. - */ +/** DialogFlow API Intent sample. */ public class IntentManagement { // [START dialogflow_list_intents] @@ -43,12 +43,12 @@ public class IntentManagement { * @param projectId Project/Agent Id. * @return Intents found. */ - public static List listIntents(String projectId) throws Exception { + public static List listIntents(String projectId) throws ApiException, IOException { List intents = Lists.newArrayList(); // Instantiates a client try (IntentsClient intentsClient = IntentsClient.create()) { // Set the project agent name using the projectID (my-project-id) - ProjectAgentName parent = ProjectAgentName.of(projectId); + AgentName parent = AgentName.of(projectId); // Performs the list intents request for (Intent intent : intentsClient.listIntents(parent).iterateAll()) { @@ -80,44 +80,43 @@ public static List listIntents(String projectId) throws Exception { /** * Create an intent of the given intent type * - * @param displayName The display name of the intent. - * @param projectId Project/Agent Id. + * @param displayName The display name of the intent. + * @param projectId Project/Agent Id. * @param trainingPhrasesParts Training phrases. - * @param messageTexts Message texts for the agent's response when the intent is detected. + * @param messageTexts Message texts for the agent's response when the intent is detected. * @return The created Intent. */ public static Intent createIntent( String displayName, String projectId, List trainingPhrasesParts, - List messageTexts) throws Exception { + List messageTexts) + throws ApiException, IOException { // Instantiates a client try (IntentsClient intentsClient = IntentsClient.create()) { // Set the project agent name using the projectID (my-project-id) - ProjectAgentName parent = ProjectAgentName.of(projectId); + AgentName parent = AgentName.of(projectId); // Build the trainingPhrases from the trainingPhrasesParts List trainingPhrases = new ArrayList<>(); for (String trainingPhrase : trainingPhrasesParts) { trainingPhrases.add( - TrainingPhrase.newBuilder().addParts( - Part.newBuilder().setText(trainingPhrase).build()) + TrainingPhrase.newBuilder() + .addParts(Part.newBuilder().setText(trainingPhrase).build()) .build()); } // Build the message texts for the agent's response - Message message = Message.newBuilder() - .setText( - Text.newBuilder() - .addAllText(messageTexts).build() - ).build(); + Message message = + Message.newBuilder().setText(Text.newBuilder().addAllText(messageTexts).build()).build(); // Build the intent - Intent intent = Intent.newBuilder() - .setDisplayName(displayName) - .addMessages(message) - .addAllTrainingPhrases(trainingPhrases) - .build(); + Intent intent = + Intent.newBuilder() + .setDisplayName(displayName) + .addMessages(message) + .addAllTrainingPhrases(trainingPhrases) + .build(); // Performs the create intent request Intent response = intentsClient.createIntent(parent, intent); @@ -133,10 +132,11 @@ public static Intent createIntent( /** * Delete intent with the given intent type and intent value * - * @param intentId The id of the intent. + * @param intentId The id of the intent. * @param projectId Project/Agent Id. */ - public static void deleteIntent(String intentId, String projectId) throws Exception { + public static void deleteIntent(String intentId, String projectId) + throws ApiException, IOException { // Instantiates a client try (IntentsClient intentsClient = IntentsClient.create()) { IntentName name = IntentName.of(projectId, intentId); @@ -146,15 +146,14 @@ public static void deleteIntent(String intentId, String projectId) throws Except } // [END dialogflow_delete_intent] - /** - * Helper method for testing to get intentIds from displayName. - */ - public static List getIntentIds(String displayName, String projectId) throws Exception { + /** Helper method for testing to get intentIds from displayName. */ + public static List getIntentIds(String displayName, String projectId) + throws ApiException, IOException { List intentIds = new ArrayList<>(); // Instantiates a client try (IntentsClient intentsClient = IntentsClient.create()) { - ProjectAgentName parent = ProjectAgentName.of(projectId); + AgentName parent = AgentName.of(projectId); for (Intent intent : intentsClient.listIntents(parent).iterateAll()) { if (intent.getDisplayName().equals(displayName)) { String[] splitName = intent.getName().split("/"); diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java index 506ae1982f4..c64b2609681 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java @@ -16,23 +16,19 @@ package com.example.dialogflow; +// [START dialogflow_create_knowledge_base] + +import com.google.api.gax.rpc.ApiException; import com.google.cloud.dialogflow.v2beta1.KnowledgeBase; import com.google.cloud.dialogflow.v2beta1.KnowledgeBasesClient; import com.google.cloud.dialogflow.v2beta1.ProjectName; - +import java.io.IOException; public class KnowledgeBaseManagement { - // [START dialogflow_create_knowledge_base] - /** - * Create a Knowledge base - * - * @param projectId Project/agent id. - * @param displayName Name of the knowledge base. - * @return The created KnowledgeBase. - */ + // Create a Knowledge base public static KnowledgeBase createKnowledgeBase(String projectId, String displayName) - throws Exception { + throws ApiException, IOException { // Instantiates a client try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) { KnowledgeBase knowledgeBase = KnowledgeBase.newBuilder().setDisplayName(displayName).build(); @@ -45,6 +41,5 @@ public static KnowledgeBase createKnowledgeBase(String projectId, String display return response; } } - // [END dialogflow_create_knowledge_base] - } +// [END dialogflow_create_knowledge_base] diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDocumentTest.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDocumentTest.java index e75405a0b6f..8aaa3830053 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDocumentTest.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDocumentTest.java @@ -46,9 +46,7 @@ public class CreateDocumentTest { private String knowledgeBaseName; private static void requireEnvVar(String varName) { - assertNotNull( - "Environment variable '%s' is required to perform these tests.".format(varName), - String.format(varName)); + assertNotNull(String.format(varName), String.format(varName)); } @BeforeClass diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateKnowledgeBaseTest.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateKnowledgeBaseTest.java index 5581868f1a7..7f5a6395877 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateKnowledgeBaseTest.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateKnowledgeBaseTest.java @@ -44,9 +44,7 @@ public class CreateKnowledgeBaseTest { private String knowledgeBaseName; private static void requireEnvVar(String varName) { - assertNotNull( - "Environment variable '%s' is required to perform these tests.".format(varName), - String.format(varName)); + assertNotNull(String.format(varName), String.format(varName)); } @BeforeClass diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentKnowledgeTest.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentKnowledgeTest.java index fb940c31383..0f1aa54d880 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentKnowledgeTest.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentKnowledgeTest.java @@ -35,7 +35,6 @@ import org.junit.runner.RunWith; import org.junit.runners.JUnit4; - @RunWith(JUnit4.class) @SuppressWarnings("checkstyle:abbreviationaswordinname") public class DetectIntentKnowledgeTest { @@ -46,10 +45,14 @@ public class DetectIntentKnowledgeTest { private static String SESSION_ID = UUID.randomUUID().toString(); private static String LANGUAGE_CODE = "en-US"; - private static List TEXTS = ImmutableList - .of("How do I sign up?", "Is my data redundant?", "Where can I find pricing information?", - "Where is my data stored?", "What are my support options?", - "How can I maximize the availability of my data?"); + private static List TEXTS = + ImmutableList.of( + "How do I sign up?", + "Is my data redundant?", + "Where can I find pricing information?", + "Where is my data stored?", + "What are my support options?", + "How can I maximize the availability of my data?"); @Before public void setUp() { @@ -63,16 +66,21 @@ public void tearDown() { @Test public void testDetectIntentKnowledge() throws Exception { - KnowledgeBaseName knowledgeBaseName = KnowledgeBaseName.newBuilder() - .setProject(PROJECT_ID).setKnowledgeBase(TEST_KNOWLEDGE_BASE_ID).build(); + KnowledgeBaseName knowledgeBaseName = + KnowledgeBaseName.newBuilder() + .setProject(PROJECT_ID) + .setKnowledgeBase(TEST_KNOWLEDGE_BASE_ID) + .build(); - DocumentName documentName = DocumentName.newBuilder() + DocumentName documentName = + DocumentName.newBuilder() .setProject(PROJECT_ID) .setKnowledgeBase(TEST_KNOWLEDGE_BASE_ID) .setDocument(TEST_DOCUMENT_ID) .build(); - Map allAnswers = DetectIntentKnowledge.detectIntentKnowledge( + Map allAnswers = + DetectIntentKnowledge.detectIntentKnowledge( PROJECT_ID, knowledgeBaseName.toString(), SESSION_ID, LANGUAGE_CODE, TEXTS); assertEquals(TEXTS.size(), allAnswers.size()); int answersFound = 0; @@ -81,7 +89,7 @@ public void testDetectIntentKnowledge() throws Exception { if (knowledgeAnswers.getAnswersCount() > 0) { Answer answer = knowledgeAnswers.getAnswers(0); if (text.equals(answer.getFaqQuestion()) - && documentName.toString().equals(answer.getSource())) { + && documentName.toString().equals(answer.getSource())) { answersFound++; } } diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java index cc1063f9703..a29f03be3a8 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentStreamIT.java @@ -19,6 +19,7 @@ import static com.google.common.truth.Truth.assertThat; import java.io.ByteArrayOutputStream; +import java.io.IOException; import java.io.PrintStream; import java.util.UUID; import org.junit.After; @@ -27,18 +28,15 @@ import org.junit.runner.RunWith; import org.junit.runners.JUnit4; -/** - * Integration (system) tests for {@link DetectIntentStream}. - */ +/** Integration (system) tests for {@link DetectIntentStream}. */ @RunWith(JUnit4.class) @SuppressWarnings("checkstyle:abbreviationaswordinname") public class DetectIntentStreamIT { - private ByteArrayOutputStream bout; - private static String audioFilePath = "resources/book_a_room.wav"; private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); private static String SESSION_ID = UUID.randomUUID().toString(); + private ByteArrayOutputStream bout; @Before public void setUp() { @@ -53,9 +51,8 @@ public void tearDown() { } @Test - public void testStreamingDetectIntentCallable() { - DetectIntentStream.detectIntentStream( - PROJECT_ID, audioFilePath, SESSION_ID); + public void testStreamingDetectIntentCallable() throws IOException { + DetectIntentStream.detectIntentStream(PROJECT_ID, audioFilePath, SESSION_ID); String output = bout.toString(); diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioTest.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioTest.java index 20d1ca187cd..51649607304 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioTest.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithAudioTest.java @@ -40,19 +40,25 @@ public class DetectIntentWithAudioTest { protected static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); protected static String SESSION_ID = UUID.randomUUID().toString(); protected static String LANGUAGE_CODE = "en-US"; - protected static List QUESTIONS = ImmutableList.of( - "What date?", - "What time will the meeting start?", - "How long will it last?", - "Thanks. How many people are attending?", - "I can help with that. Where would you like to reserve a room?"); - protected static Map ANSWERS = ImmutableMap.of( - "I can help with that. Where would you like to reserve a room?", - "resources/mountain_view.wav", - "What date?", "resources/today.wav", - "What time will the meeting start?", "resources/230pm.wav", - "How long will it last?", "resources/half_an_hour.wav", - "Thanks. How many people are attending?", "resources/two_people.wav"); + protected static List QUESTIONS = + ImmutableList.of( + "What date?", + "What time will the meeting start?", + "How long will it last?", + "Thanks. How many people are attending?", + "I can help with that. Where would you like to reserve a room?"); + protected static Map ANSWERS = + ImmutableMap.of( + "I can help with that. Where would you like to reserve a room?", + "resources/mountain_view.wav", + "What date?", + "resources/today.wav", + "What time will the meeting start?", + "resources/230pm.wav", + "How long will it last?", + "resources/half_an_hour.wav", + "Thanks. How many people are attending?", + "resources/two_people.wav"); @Before public void setUp() { @@ -67,8 +73,9 @@ public void tearDown() { @Test public void testDetectIntentAudio() throws Exception { List askedQuestions = Lists.newArrayList(); - com.google.cloud.dialogflow.v2.QueryResult result = DetectIntentAudio.detectIntentAudio( - PROJECT_ID, "resources/book_a_room.wav", SESSION_ID, LANGUAGE_CODE); + com.google.cloud.dialogflow.v2.QueryResult result = + DetectIntentAudio.detectIntentAudio( + PROJECT_ID, "resources/book_a_room.wav", SESSION_ID, LANGUAGE_CODE); String fulfillmentText = result.getFulfillmentText(); while (!result.getAllRequiredParamsPresent() && ANSWERS.containsKey(fulfillmentText) @@ -76,8 +83,9 @@ public void testDetectIntentAudio() throws Exception { askedQuestions.add(result.getFulfillmentText()); assertEquals("room.reservation", result.getAction()); assertThat(QUESTIONS).contains(fulfillmentText); - result = DetectIntentAudio.detectIntentAudio( - PROJECT_ID, ANSWERS.get(fulfillmentText), SESSION_ID, LANGUAGE_CODE); + result = + DetectIntentAudio.detectIntentAudio( + PROJECT_ID, ANSWERS.get(fulfillmentText), SESSION_ID, LANGUAGE_CODE); fulfillmentText = result.getFulfillmentText(); } assertTrue(result.getAllRequiredParamsPresent()); diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java index 1f7c9ddd55d..0e902d6c497 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java @@ -32,9 +32,7 @@ import org.junit.runner.RunWith; import org.junit.runners.JUnit4; -/** - * Integration (system) tests for {@link DetectIntentWithSentimentAnalysis}. - */ +/** Integration (system) tests for {@link DetectIntentWithSentimentAnalysis}. */ @RunWith(JUnit4.class) @SuppressWarnings("checkstyle:abbreviationaswordinname") public class DetectIntentWithSentimentAndTextToSpeechIT { @@ -42,16 +40,17 @@ public class DetectIntentWithSentimentAndTextToSpeechIT { private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); private static String SESSION_ID = UUID.randomUUID().toString(); private static String LANGUAGE_CODE = "en-US"; - private static List TEXTS = Arrays.asList( - "hello", - "book a meeting room", - "Mountain View", - "tomorrow", - "10 am", - "2 hours", - "10 people", - "A", - "yes"); + private static List TEXTS = + Arrays.asList( + "hello", + "book a meeting room", + "Mountain View", + "tomorrow", + "10 am", + "2 hours", + "10 people", + "A", + "yes"); @Before public void setUp() { @@ -65,7 +64,7 @@ public void tearDown() { @Test public void testDetectIntentTexts() throws Exception { - Map queryResults = + Map queryResults = DetectIntentTexts.detectIntentTexts(PROJECT_ID, TEXTS, SESSION_ID, LANGUAGE_CODE); com.google.cloud.dialogflow.v2.QueryResult finalResult = queryResults.get(TEXTS.get(TEXTS.size() - 1)); @@ -75,14 +74,16 @@ public void testDetectIntentTexts() throws Exception { @Test public void testDetectIntentWithSentimentAnalysis() throws Exception { - assertResults(DetectIntentWithSentimentAnalysis - .detectIntentSentimentAnalysis(PROJECT_ID, TEXTS, SESSION_ID, LANGUAGE_CODE)); + assertResults( + DetectIntentWithSentimentAnalysis.detectIntentSentimentAnalysis( + PROJECT_ID, TEXTS, SESSION_ID, LANGUAGE_CODE)); } @Test public void testDetectIntentTextToSpeech() throws Exception { - assertResults(DetectIntentWithTextToSpeechResponse - .detectIntentWithTexttoSpeech(PROJECT_ID, TEXTS, SESSION_ID, LANGUAGE_CODE)); + assertResults( + DetectIntentWithTextToSpeechResponse.detectIntentWithTexttoSpeech( + PROJECT_ID, TEXTS, SESSION_ID, LANGUAGE_CODE)); } private void assertResults(Map queryResults) { diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/IntentManagementIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/IntentManagementIT.java index 1826f3d45ef..09bdf8299dc 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/IntentManagementIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/IntentManagementIT.java @@ -21,9 +21,9 @@ import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; +import com.google.cloud.dialogflow.v2.AgentName; import com.google.cloud.dialogflow.v2.Intent; import com.google.cloud.dialogflow.v2.IntentsClient; -import com.google.cloud.dialogflow.v2.ProjectAgentName; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.Arrays; @@ -35,19 +35,15 @@ import org.junit.runner.RunWith; import org.junit.runners.JUnit4; -/** - * Integration (system) tests for {@link IntentManagement}. - */ +/** Integration (system) tests for {@link IntentManagement}. */ @RunWith(JUnit4.class) @SuppressWarnings("checkstyle:abbreviationaswordinname") public class IntentManagementIT { private static String INTENT_DISPLAY_NAME = UUID.randomUUID().toString(); - private static List MESSAGE_TEXTS = Arrays.asList( - "fake_message_text_for_testing_1", - "fake_message_text_for_testing_2"); - private static List TRAINING_PHRASE_PARTS = Arrays.asList( - "fake_training_phrase_part_1", - "fake_training_phrase_part_2"); + private static List MESSAGE_TEXTS = + Arrays.asList("fake_message_text_for_testing_1", "fake_message_text_for_testing_2"); + private static List TRAINING_PHRASE_PARTS = + Arrays.asList("fake_training_phrase_part_1", "fake_training_phrase_part_2"); private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); @Before @@ -59,7 +55,7 @@ public void setUp() { public void tearDown() throws Exception { try (IntentsClient intentsClient = IntentsClient.create()) { // Set the project agent name using the projectID (my-project-id) - ProjectAgentName parent = ProjectAgentName.of(PROJECT_ID); + AgentName parent = AgentName.of(PROJECT_ID); // Performs the list intents request for (Intent intent : intentsClient.listIntents(parent).iterateAll()) { @@ -74,8 +70,9 @@ public void tearDown() throws Exception { @Test public void testCreateIntent() throws Exception { // Create the intent - Intent intent = IntentManagement.createIntent( - INTENT_DISPLAY_NAME, PROJECT_ID, TRAINING_PHRASE_PARTS, MESSAGE_TEXTS); + Intent intent = + IntentManagement.createIntent( + INTENT_DISPLAY_NAME, PROJECT_ID, TRAINING_PHRASE_PARTS, MESSAGE_TEXTS); assertNotNull(intent); List intentIds = IntentManagement.getIntentIds(intent.getDisplayName(), PROJECT_ID); @@ -85,8 +82,9 @@ public void testCreateIntent() throws Exception { assertTrue(intents.size() > 0); assertThat(intents).contains(intent); for (String messageText : MESSAGE_TEXTS) { - assertTrue(intent.getMessagesList() - .stream().anyMatch(message -> message.getText().toString().contains(messageText))); + assertTrue( + intent.getMessagesList().stream() + .anyMatch(message -> message.getText().toString().contains(messageText))); } for (String intentId : intentIds) { From e1ef34bf49eb645280fa5fdafe661ecda1c5258e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 14 Aug 2020 04:33:35 +0200 Subject: [PATCH 038/178] chore(deps): update dependency com.google.cloud:libraries-bom to v9 --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index fa506b565b5..40741ee3352 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 8.1.0 + 9.0.0 pom import From 876f63d29f841fb05ea2762814205006e7389fac Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Aug 2020 00:04:13 +0200 Subject: [PATCH 039/178] chore(deps): update dependency com.google.cloud:libraries-bom to v9.1.0 --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 40741ee3352..1564c4ce8f3 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 9.0.0 + 9.1.0 pom import From 242cf886161cc60d755daecb8c7b34b2d277904b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 22 Sep 2020 22:40:56 +0200 Subject: [PATCH 040/178] chore(deps): update dependency com.google.cloud:libraries-bom to v10 (#270) --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 1564c4ce8f3..fecc147747b 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 9.1.0 + 10.1.0 pom import From b61f24d0771e174eca3d05855e7c1d2f7241f3ba Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 24 Sep 2020 20:56:45 +0200 Subject: [PATCH 041/178] chore(deps): update dependency com.google.cloud:libraries-bom to v11 --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index fecc147747b..7caad1acd19 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 10.1.0 + 11.0.0 pom import From 9f32c7a76c96138b120d5be25545f880eac217e3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 2 Oct 2020 18:52:10 +0200 Subject: [PATCH 042/178] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.21 (#303) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud.samples:shared-configuration](com/google/cloud/samples/shared-configuration) | patch | `1.0.18` -> `1.0.21` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 7caad1acd19..5c6dce126bb 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.18 + 1.0.21 From fc327634d7749091c0d2586ff36f09c7d719d254 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 5 Oct 2020 17:46:37 +0200 Subject: [PATCH 043/178] chore(deps): update dependency com.google.cloud:libraries-bom to v11.1.0 (#307) --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 5c6dce126bb..fe5f9d23d9f 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 11.0.0 + 11.1.0 pom import From 06e93534d4bb4fa0ba460ae9a6d04d616a3a9056 Mon Sep 17 00:00:00 2001 From: Ye Yuan <10695116+martini9393@users.noreply.github.com> Date: Mon, 5 Oct 2020 21:02:05 -0700 Subject: [PATCH 044/178] samples: add sample code to query regional Dialogflow agent (#310) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-dialogflow/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) Fixes # ☕️ --- .../dialogflow/DetectIntentWithLocation.java | 79 +++++++++++++++++++ ...tIntentWithSentimentAndTextToSpeechIT.java | 16 +++- 2 files changed, 94 insertions(+), 1 deletion(-) create mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithLocation.java diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithLocation.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithLocation.java new file mode 100644 index 00000000000..5ef3237b6dd --- /dev/null +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithLocation.java @@ -0,0 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +// [START dialogflow_detect_intent_with_location] + +import com.google.api.gax.rpc.ApiException; +import com.google.cloud.dialogflow.v2beta1.DetectIntentResponse; +import com.google.cloud.dialogflow.v2beta1.QueryInput; +import com.google.cloud.dialogflow.v2beta1.QueryResult; +import com.google.cloud.dialogflow.v2beta1.SessionName; +import com.google.cloud.dialogflow.v2beta1.SessionsClient; +import com.google.cloud.dialogflow.v2beta1.SessionsSettings; +import com.google.cloud.dialogflow.v2beta1.TextInput; +import com.google.common.collect.Maps; +import java.io.IOException; +import java.util.List; +import java.util.Map; + +public class DetectIntentWithLocation { + + // DialogFlow API Detect Intent sample with text inputs. + public static Map detectIntentWithLocation( + String projectId, String locationId, List texts, String sessionId, + String languageCode) + throws IOException, ApiException { + SessionsSettings sessionsSettings = SessionsSettings.newBuilder() + .setEndpoint(locationId + "-dialogflow.googleapis.com:443").build(); + Map queryResults = Maps.newHashMap(); + // Instantiates a client + try (SessionsClient sessionsClient = SessionsClient.create(sessionsSettings)) { + // Set the session name using the projectId (my-project-id), locationId and sessionId (UUID) + SessionName session = SessionName + .ofProjectLocationSessionName(projectId, locationId, sessionId); + System.out.println("Session Path: " + session.toString()); + + // Detect intents for each text input + for (String text : texts) { + // Set the text (hello) and language code (en-US) for the query + TextInput.Builder textInput = + TextInput.newBuilder().setText(text).setLanguageCode(languageCode); + + // Build the query with the TextInput + QueryInput queryInput = QueryInput.newBuilder().setText(textInput).build(); + + // Performs the detect intent request + DetectIntentResponse response = sessionsClient.detectIntent(session, queryInput); + + // Display the query result + QueryResult queryResult = response.getQueryResult(); + + System.out.println("===================="); + System.out.format("Query Text: '%s'\n", queryResult.getQueryText()); + System.out.format( + "Detected Intent: %s (confidence: %f)\n", + queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); + System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); + + queryResults.put(text, queryResult); + } + } + return queryResults; + } +} +// [END dialogflow_detect_intent_with_location] diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java index 0e902d6c497..c0584150efc 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java @@ -32,12 +32,15 @@ import org.junit.runner.RunWith; import org.junit.runners.JUnit4; -/** Integration (system) tests for {@link DetectIntentWithSentimentAnalysis}. */ +/** + * Integration (system) tests for {@link DetectIntentWithSentimentAnalysis}. + */ @RunWith(JUnit4.class) @SuppressWarnings("checkstyle:abbreviationaswordinname") public class DetectIntentWithSentimentAndTextToSpeechIT { private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); + private static String LOCATION_ID = "asia-northeast1"; private static String SESSION_ID = UUID.randomUUID().toString(); private static String LANGUAGE_CODE = "en-US"; private static List TEXTS = @@ -72,6 +75,17 @@ public void testDetectIntentTexts() throws Exception { assertEquals("All set!", finalResult.getFulfillmentText()); } + @Test + public void testDetectIntentTextsWithLocation() throws Exception { + Map queryResults = + DetectIntentWithLocation + .detectIntentWithLocation(PROJECT_ID, LOCATION_ID, TEXTS, SESSION_ID, LANGUAGE_CODE); + com.google.cloud.dialogflow.v2beta1.QueryResult finalResult = + queryResults.get(TEXTS.get(TEXTS.size() - 1)); + assertTrue(finalResult.getAllRequiredParamsPresent()); + assertEquals("All set!", finalResult.getFulfillmentText()); + } + @Test public void testDetectIntentWithSentimentAnalysis() throws Exception { assertResults( From 47b4698e76a5e7eaec5563f33c309df307319fd4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 6 Oct 2020 22:08:29 +0200 Subject: [PATCH 045/178] chore(deps): update dependency com.google.cloud:libraries-bom to v12 (#311) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | major | `11.1.0` -> `12.0.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index fe5f9d23d9f..d84270d0079 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 11.1.0 + 12.0.0 pom import From 3109e54184f542ed3a8e313148197462d3b4c632 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 12 Oct 2020 18:59:30 +0200 Subject: [PATCH 046/178] test(deps): update dependency junit:junit to v4.13.1 --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index d84270d0079..45fd531cbc1 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ junit junit - 4.13 + 4.13.1 test From 182381432fbba8d0d6061caa31a60199e134c14a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 16 Oct 2020 00:46:20 +0200 Subject: [PATCH 047/178] chore(deps): update dependency com.google.cloud:libraries-bom to v12.1.0 (#321) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `12.0.0` -> `12.1.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 45fd531cbc1..d76b1a676c9 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 12.0.0 + 12.1.0 pom import From e319ad4db09ab793c971eac51c360967d3ce1288 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 21 Oct 2020 00:52:39 +0200 Subject: [PATCH 048/178] chore(deps): update dependency com.google.cloud:libraries-bom to v13 (#327) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | major | `12.1.0` -> `13.0.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index d76b1a676c9..ba533cb437d 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 12.1.0 + 13.0.0 pom import From 7f2ab5719e9b5f8e39faeb9466ebfd4331277e91 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 21 Oct 2020 20:30:13 +0200 Subject: [PATCH 049/178] chore(deps): update dependency com.google.cloud:libraries-bom to v13.1.0 (#331) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `13.0.0` -> `13.1.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index ba533cb437d..5b2939a776b 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 13.0.0 + 13.1.0 pom import From 7534a0a28d29fbf6189a3897566544475d4ae068 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 22 Oct 2020 21:36:22 +0200 Subject: [PATCH 050/178] test(deps): update dependency com.google.truth:truth to v1.1 (#328) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.truth:truth](com/google/truth/truth) | minor | `1.0.1` -> `1.1` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 5b2939a776b..e8c24a95a3b 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -53,7 +53,7 @@ com.google.truth truth - 1.0.1 + 1.1 test From 6bd8b2504f39d8a5cbb51b1f046a6573c4ce2436 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 23 Oct 2020 19:58:48 +0200 Subject: [PATCH 051/178] chore(deps): update dependency com.google.cloud:libraries-bom to v13.2.0 (#335) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `13.1.0` -> `13.2.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index e8c24a95a3b..481bf16cc1b 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 13.1.0 + 13.2.0 pom import From 3aa59e7461a00331c295e38eceac32e22ee55b06 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 27 Oct 2020 01:00:08 +0100 Subject: [PATCH 052/178] chore(deps): update dependency com.google.cloud:libraries-bom to v13.3.0 (#337) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `13.2.0` -> `13.3.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 481bf16cc1b..e2b184f2aac 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 13.2.0 + 13.3.0 pom import From 94a9efa004579518e67f00bd26bb8cf5f899704b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 31 Oct 2020 00:34:06 +0100 Subject: [PATCH 053/178] chore(deps): update dependency com.google.cloud:libraries-bom to v13.4.0 (#344) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `13.3.0` -> `13.4.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index e2b184f2aac..dc658d6bf7b 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 13.3.0 + 13.4.0 pom import From 5d9e040511e8078b4bdc552c46afe887b90f0776 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 4 Nov 2020 01:30:12 +0100 Subject: [PATCH 054/178] chore(deps): update dependency com.google.cloud:libraries-bom to v14 (#354) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | major | `13.4.0` -> `14.4.1` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index dc658d6bf7b..ed5ac09575b 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 13.4.0 + 14.4.1 pom import From cc363258c73f2b67b23012011b79b6fd0b9c4feb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 6 Nov 2020 00:02:08 +0100 Subject: [PATCH 055/178] chore(deps): update dependency com.google.cloud:libraries-bom to v15 (#356) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | major | `14.4.1` -> `15.0.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index ed5ac09575b..bd2c2f74c6e 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 14.4.1 + 15.0.0 pom import From beaff347bf672380e898e3a0e3a256eb4473c986 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 19 Nov 2020 17:58:39 +0100 Subject: [PATCH 056/178] chore(deps): update dependency com.google.cloud:libraries-bom to v16 (#375) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | major | `15.0.0` -> `16.1.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index bd2c2f74c6e..8278c6ca682 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 15.0.0 + 16.1.0 pom import From 4f67205d16d1bcd07f0f13a8c57fffd9bd861893 Mon Sep 17 00:00:00 2001 From: Mike <45373284+munkhuushmgl@users.noreply.github.com> Date: Fri, 11 Dec 2020 10:32:32 -0800 Subject: [PATCH 057/178] chore: added retry for flaky test (#391) * chore: added retry for flaky test * lint * added missing dependency --- dialogflow/snippets/pom.xml | 9 +++++++++ .../java/com/example/dialogflow/CreateDocumentTest.java | 5 +++++ 2 files changed, 14 insertions(+) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 8278c6ca682..25d49bbf777 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -44,6 +44,15 @@ + + com.google.cloud + google-cloud-core + 1.94.0 + test + tests + + + junit junit diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDocumentTest.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDocumentTest.java index 8aaa3830053..dc9c0d4ef89 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDocumentTest.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDocumentTest.java @@ -23,6 +23,7 @@ import com.google.cloud.dialogflow.v2beta1.KnowledgeBase; import com.google.cloud.dialogflow.v2beta1.KnowledgeBasesClient; import com.google.cloud.dialogflow.v2beta1.ProjectName; +import com.google.cloud.testing.junit4.MultipleAttemptsRule; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.PrintStream; @@ -30,6 +31,7 @@ import org.junit.After; import org.junit.Before; import org.junit.BeforeClass; +import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -84,6 +86,9 @@ public void tearDown() throws IOException { System.setOut(null); } + @Rule + public MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(3); + @Test public void testCreateDocument() throws Exception { DocumentManagement.createDocument( From e982cb4d2de8aea6f586e73f001dca5fe9b5b132 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 15 Dec 2020 23:30:29 +0100 Subject: [PATCH 058/178] chore(deps): update dependency com.google.cloud:libraries-bom to v16.2.0 (#402) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `16.1.0` -> `16.2.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 25d49bbf777..b922dd5b312 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 16.1.0 + 16.2.0 pom import From 0fd4438122d3d83bd65e3d83cbcbbf99ac10a278 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 10 Feb 2021 17:06:16 +0100 Subject: [PATCH 059/178] chore(deps): update dependency com.google.cloud:libraries-bom to v16.4.0 (#409) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `16.2.0` -> `16.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/16.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/16.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/16.4.0/compatibility-slim/16.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/16.4.0/confidence-slim/16.2.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index b922dd5b312..c88f0c82cfe 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 16.2.0 + 16.4.0 pom import From 0f37854474ac2b96bb6a175bc3754e446eddee9b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Feb 2021 19:04:34 +0100 Subject: [PATCH 060/178] test(deps): update dependency junit:junit to v4.13.2 (#432) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [junit:junit](http://junit.org) ([source](https://togithub.com/junit-team/junit4)) | `4.13.1` -> `4.13.2` | [![age](https://badges.renovateapi.com/packages/maven/junit:junit/4.13.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/junit:junit/4.13.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/junit:junit/4.13.2/compatibility-slim/4.13.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/junit:junit/4.13.2/confidence-slim/4.13.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index c88f0c82cfe..fdbd209cc13 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -56,7 +56,7 @@ junit junit - 4.13.1 + 4.13.2 test From 0beeda3bf853c942b5970b300177e73d325bfe6e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Feb 2021 23:22:17 +0100 Subject: [PATCH 061/178] test(deps): update dependency com.google.truth:truth to v1.1.2 (#414) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.truth:truth](com/google/truth/truth) | `1.1` -> `1.1.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.2/compatibility-slim/1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.2/confidence-slim/1.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index fdbd209cc13..6d42a0e3ae2 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -62,7 +62,7 @@ com.google.truth truth - 1.1 + 1.1.2 test From 42d91517224ee52591262951d2d71622db436306 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 17 Feb 2021 00:50:45 +0100 Subject: [PATCH 062/178] samples(deps): update dependency com.google.cloud:google-cloud-core to v1.94.1 (#429) --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 6d42a0e3ae2..45ec03d401d 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 1.94.0 + 1.94.1 test tests From 0afce5dd2923ac4de18956414dea213b2ad0e803 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 24 Feb 2021 20:36:11 +0100 Subject: [PATCH 063/178] chore(deps): update dependency com.google.cloud:libraries-bom to v17 (#446) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `16.4.0` -> `17.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/17.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/17.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/17.0.0/compatibility-slim/16.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/17.0.0/confidence-slim/16.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 45ec03d401d..5553c06f54d 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 16.4.0 + 17.0.0 pom import From 6ae5a523362a5060405df501df22c14da11afe43 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 25 Feb 2021 16:08:11 +0100 Subject: [PATCH 064/178] chore(deps): update dependency com.google.cloud:libraries-bom to v18 (#449) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `17.0.0` -> `18.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/18.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/18.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/18.0.0/compatibility-slim/17.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/18.0.0/confidence-slim/17.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 5553c06f54d..9109c8af4c8 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 17.0.0 + 18.0.0 pom import From 04d0d88bade9639604600d478147915c27fa436a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 3 Mar 2021 20:36:25 +0100 Subject: [PATCH 065/178] chore(deps): update dependency com.google.cloud:libraries-bom to v18.1.0 (#460) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `18.0.0` -> `18.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/18.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/18.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/18.1.0/compatibility-slim/18.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/18.1.0/confidence-slim/18.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 9109c8af4c8..dc2099c1e9f 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 18.0.0 + 18.1.0 pom import From 65afb75d9c052597407b615ed72fbd870a852887 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 4 Mar 2021 20:36:25 +0100 Subject: [PATCH 066/178] chore(deps): update dependency com.google.cloud:libraries-bom to v19 (#464) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `18.1.0` -> `19.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.0.0/compatibility-slim/18.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.0.0/confidence-slim/18.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index dc2099c1e9f..6a106b497cd 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 18.1.0 + 19.0.0 pom import From ff3536a3e5aba47cb00979268da5ce93031c7c98 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 9 Mar 2021 00:41:47 +0100 Subject: [PATCH 067/178] samples(deps): update dependency com.google.cloud:google-cloud-core to v1.94.3 (#458) --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 6a106b497cd..5b355357156 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 1.94.1 + 1.94.3 test tests From 9c06b72127a54d66654541d74e938e39a140df4c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 15 Mar 2021 21:13:25 +0100 Subject: [PATCH 068/178] deps: update dependency com.google.cloud:google-cloud-core to v1.94.4 (#477) --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 5b355357156..0e5d86864d6 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 1.94.3 + 1.94.4 test tests From 3ffc691805b5686be35717e2b793145b4dd42955 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 17 Mar 2021 21:08:17 +0100 Subject: [PATCH 069/178] chore(deps): update dependency com.google.cloud:libraries-bom to v19.1.0 (#484) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `19.0.0` -> `19.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.1.0/compatibility-slim/19.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.1.0/confidence-slim/19.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 0e5d86864d6..72288c4eba4 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 19.0.0 + 19.1.0 pom import From 4bb2745a81843e8bca444c8ce34372c1a68c8d49 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 19 Mar 2021 19:04:14 +0100 Subject: [PATCH 070/178] chore(deps): update dependency com.google.cloud:libraries-bom to v19.2.1 (#486) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `19.1.0` -> `19.2.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.2.1/compatibility-slim/19.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.2.1/confidence-slim/19.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 72288c4eba4..46141d7e3ff 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 19.1.0 + 19.2.1 pom import From 29e8670879b6ab0c97f986a8b6e22cfbee4ebfd4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 6 Apr 2021 18:25:25 +0200 Subject: [PATCH 071/178] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.22 (#498) --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 46141d7e3ff..f64e1ea3ce3 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.21 + 1.0.22 From 9b1b7f86b0f8e6f30440c8e4cf902cbc6d437402 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 9 Apr 2021 21:16:06 +0200 Subject: [PATCH 072/178] deps: update dependency com.google.cloud:google-cloud-core to v1.94.6 (#501) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `1.94.4` -> `1.94.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.6/compatibility-slim/1.94.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.6/confidence-slim/1.94.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes

googleapis/java-core ### [`v1.94.6`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​1946-httpswwwgithubcomgoogleapisjava-corecomparev1945v1946-2021-04-09) [Compare Source](https://togithub.com/googleapis/java-core/compare/v1.94.5...v1.94.6) ### [`v1.94.5`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​1945-httpswwwgithubcomgoogleapisjava-corecomparev1944v1945-2021-04-08) [Compare Source](https://togithub.com/googleapis/java-core/compare/v1.94.4...v1.94.5)
--- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index f64e1ea3ce3..e888a197e06 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 1.94.4 + 1.94.6 test tests From 17e909fb22e54e5a1b6d52927919e94d5b17e9c2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 12 Apr 2021 17:28:12 +0200 Subject: [PATCH 073/178] chore(deps): update dependency com.google.cloud:libraries-bom to v20 (#510) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `19.2.1` -> `20.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.0.0/compatibility-slim/19.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.0.0/confidence-slim/19.2.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index e888a197e06..99fd344ce26 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 19.2.1 + 20.0.0 pom import From fd7b3851b30616c6401be5ee47324aef87476bec Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 12 Apr 2021 17:34:45 +0200 Subject: [PATCH 074/178] deps: update dependency com.google.cloud:google-cloud-core to v1.94.7 (#508) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `1.94.6` -> `1.94.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.7/compatibility-slim/1.94.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.7/confidence-slim/1.94.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v1.94.7`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​1947-httpswwwgithubcomgoogleapisjava-corecomparev1946v1947-2021-04-12) [Compare Source](https://togithub.com/googleapis/java-core/compare/v1.94.6...v1.94.7)
--- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 99fd344ce26..58710378e3b 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 1.94.6 + 1.94.7 test tests From 01b3bf382232659d389ff8952311cb2fc0b31a47 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 19 Apr 2021 16:46:09 +0200 Subject: [PATCH 075/178] chore(deps): update dependency com.google.cloud:libraries-bom to v20.1.0 (#519) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.0.0` -> `20.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.1.0/compatibility-slim/20.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.1.0/confidence-slim/20.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 58710378e3b..f09d6d41048 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 20.0.0 + 20.1.0 pom import From 9960c20405a7b93881a07d48b70cd3a9b415a6ab Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 23 Apr 2021 04:00:06 +0200 Subject: [PATCH 076/178] deps: update dependency com.google.cloud:google-cloud-core to v1.94.8 (#528) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `1.94.7` -> `1.94.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.8/compatibility-slim/1.94.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.8/confidence-slim/1.94.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v1.94.8`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​1948-httpswwwgithubcomgoogleapisjava-corecomparev1947v1948-2021-04-23) [Compare Source](https://togithub.com/googleapis/java-core/compare/v1.94.7...v1.94.8)
--- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index f09d6d41048..7056fba1e58 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 1.94.7 + 1.94.8 test tests From 852fee043716daf57274f7f7953acb6b831becf5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Apr 2021 16:42:15 +0200 Subject: [PATCH 077/178] chore(deps): update dependency com.google.cloud:libraries-bom to v20.2.0 (#535) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.1.0` -> `20.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.2.0/compatibility-slim/20.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.2.0/confidence-slim/20.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 7056fba1e58..32ba7140de5 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 20.1.0 + 20.2.0 pom import From 028fdaa201cd6b6272720ffc9eba1a0faa04d7d1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 13 May 2021 15:58:21 +0200 Subject: [PATCH 078/178] chore(deps): update dependency com.google.cloud:libraries-bom to v20.3.0 (#547) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.2.0` -> `20.3.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.3.0/compatibility-slim/20.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.3.0/confidence-slim/20.2.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 32ba7140de5..7279cd0afa2 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 20.2.0 + 20.3.0 pom import From b491441d46bff4ff77fb2a19923d6e9c785c379f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 17 May 2021 03:46:09 +0200 Subject: [PATCH 079/178] chore(deps): update dependency com.google.cloud:libraries-bom to v20.4.0 (#556) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.3.0` -> `20.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.4.0/compatibility-slim/20.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.4.0/confidence-slim/20.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 7279cd0afa2..03cb1239165 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 20.3.0 + 20.4.0 pom import From 6e401a89029359a305dc3fb68242ea5d3ab76a81 Mon Sep 17 00:00:00 2001 From: Franklin Nunez <69214580+b-loved-dreamer@users.noreply.github.com> Date: Mon, 24 May 2021 14:52:39 -0700 Subject: [PATCH 080/178] samples: updated legacy field (#493) --- .../example/dialogflow/DetectIntentStream.java | 6 +++++- .../dialogflow/DetectIntentWithLocation.java | 15 ++++++++++----- .../example/dialogflow/CreateDocumentTest.java | 3 +-- ...etectIntentWithSentimentAndTextToSpeechIT.java | 8 +++----- 4 files changed, 19 insertions(+), 13 deletions(-) diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentStream.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentStream.java index ffeffcd4dce..27febe126a7 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentStream.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentStream.java @@ -96,7 +96,11 @@ static void detectIntentStream(String projectId, String audioFilePath, String se System.out.format( "Detected Intent: %s (confidence: %f)\n", queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); - System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); + System.out.format( + "Fulfillment Text: '%s'\n", + queryResult.getFulfillmentMessagesCount() > 0 + ? queryResult.getFulfillmentMessages(0).getText() + : "Triggered Default Fallback Intent"); } } } diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithLocation.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithLocation.java index 5ef3237b6dd..9c6e943dcd4 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithLocation.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithLocation.java @@ -35,17 +35,22 @@ public class DetectIntentWithLocation { // DialogFlow API Detect Intent sample with text inputs. public static Map detectIntentWithLocation( - String projectId, String locationId, List texts, String sessionId, + String projectId, + String locationId, + List texts, + String sessionId, String languageCode) throws IOException, ApiException { - SessionsSettings sessionsSettings = SessionsSettings.newBuilder() - .setEndpoint(locationId + "-dialogflow.googleapis.com:443").build(); + SessionsSettings sessionsSettings = + SessionsSettings.newBuilder() + .setEndpoint(locationId + "-dialogflow.googleapis.com:443") + .build(); Map queryResults = Maps.newHashMap(); // Instantiates a client try (SessionsClient sessionsClient = SessionsClient.create(sessionsSettings)) { // Set the session name using the projectId (my-project-id), locationId and sessionId (UUID) - SessionName session = SessionName - .ofProjectLocationSessionName(projectId, locationId, sessionId); + SessionName session = + SessionName.ofProjectLocationSessionName(projectId, locationId, sessionId); System.out.println("Session Path: " + session.toString()); // Detect intents for each text input diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDocumentTest.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDocumentTest.java index dc9c0d4ef89..41c8d17e8b5 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDocumentTest.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDocumentTest.java @@ -86,8 +86,7 @@ public void tearDown() throws IOException { System.setOut(null); } - @Rule - public MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(3); + @Rule public MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(3); @Test public void testCreateDocument() throws Exception { diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java index c0584150efc..64962cc77de 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/DetectIntentWithSentimentAndTextToSpeechIT.java @@ -32,9 +32,7 @@ import org.junit.runner.RunWith; import org.junit.runners.JUnit4; -/** - * Integration (system) tests for {@link DetectIntentWithSentimentAnalysis}. - */ +/** Integration (system) tests for {@link DetectIntentWithSentimentAnalysis}. */ @RunWith(JUnit4.class) @SuppressWarnings("checkstyle:abbreviationaswordinname") public class DetectIntentWithSentimentAndTextToSpeechIT { @@ -78,8 +76,8 @@ public void testDetectIntentTexts() throws Exception { @Test public void testDetectIntentTextsWithLocation() throws Exception { Map queryResults = - DetectIntentWithLocation - .detectIntentWithLocation(PROJECT_ID, LOCATION_ID, TEXTS, SESSION_ID, LANGUAGE_CODE); + DetectIntentWithLocation.detectIntentWithLocation( + PROJECT_ID, LOCATION_ID, TEXTS, SESSION_ID, LANGUAGE_CODE); com.google.cloud.dialogflow.v2beta1.QueryResult finalResult = queryResults.get(TEXTS.get(TEXTS.size() - 1)); assertTrue(finalResult.getAllRequiredParamsPresent()); From dc0045c75ac748da15f41a6da615f4428b19fef2 Mon Sep 17 00:00:00 2001 From: Franklin Nunez <69214580+b-loved-dreamer@users.noreply.github.com> Date: Mon, 24 May 2021 15:22:54 -0700 Subject: [PATCH 081/178] samples: updated legacy field in detectintentknoledge (#569) --- .../java/com/example/dialogflow/DetectIntentKnowledge.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java index 4fc3243ef57..04484eb50df 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentKnowledge.java @@ -80,7 +80,11 @@ public static Map detectIntentKnowledge( System.out.format( "Detected Intent: %s (confidence: %f)\n", queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); - System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); + System.out.format( + "Fulfillment Text: '%s'\n", + queryResult.getFulfillmentMessagesCount() > 0 + ? queryResult.getFulfillmentMessages(0).getText() + : "Triggered Default Fallback Intent"); KnowledgeAnswers knowledgeAnswers = queryResult.getKnowledgeAnswers(); for (Answer answer : knowledgeAnswers.getAnswersList()) { System.out.format(" - Answer: '%s'\n", answer.getAnswer()); From 436bd5c508ba5e6808dead0a1fd2cdb683a6248a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 25 May 2021 18:45:36 +0200 Subject: [PATCH 082/178] chore(deps): update dependency com.google.cloud:libraries-bom to v20.5.0 (#567) --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 03cb1239165..653211f4a64 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 20.4.0 + 20.5.0 pom import From 1113c8296facefac2c816de1362e81f493fcf902 Mon Sep 17 00:00:00 2001 From: Franklin Nunez <69214580+b-loved-dreamer@users.noreply.github.com> Date: Tue, 25 May 2021 12:19:48 -0700 Subject: [PATCH 083/178] samples: updated legacy field in detectintentaudio (#571) --- .../main/java/com/example/dialogflow/DetectIntentAudio.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentAudio.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentAudio.java index 38f319a9885..0d3a6955a4a 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentAudio.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentAudio.java @@ -82,7 +82,11 @@ public static QueryResult detectIntentAudio( System.out.format( "Detected Intent: %s (confidence: %f)\n", queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); - System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); + System.out.format( + "Fulfillment Text: '%s'\n", + queryResult.getFulfillmentMessagesCount() > 0 + ? queryResult.getFulfillmentMessages(0).getText() + : "Triggered Default Fallback Intent"); return queryResult; } From ac3e452a01dce538bbe63f9c694081bf16e47439 Mon Sep 17 00:00:00 2001 From: Franklin Nunez <69214580+b-loved-dreamer@users.noreply.github.com> Date: Tue, 25 May 2021 15:02:51 -0700 Subject: [PATCH 084/178] samples: updated legacy field in detectintenttexts (#572) --- .../main/java/com/example/dialogflow/DetectIntentTexts.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java index 89d21562313..0eb5b415bdb 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentTexts.java @@ -63,7 +63,11 @@ public static Map detectIntentTexts( System.out.format( "Detected Intent: %s (confidence: %f)\n", queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); - System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); + System.out.format( + "Fulfillment Text: '%s'\n", + queryResult.getFulfillmentMessagesCount() > 0 + ? queryResult.getFulfillmentMessages(0).getText() + : "Triggered Default Fallback Intent"); queryResults.put(text, queryResult); } From 553febe70d3b8ce26c6de8ffcddf3ec21167de8c Mon Sep 17 00:00:00 2001 From: Franklin Nunez <69214580+b-loved-dreamer@users.noreply.github.com> Date: Wed, 26 May 2021 12:55:24 -0700 Subject: [PATCH 085/178] samples: updated legacy field in detect intent samples (#575) --- .../com/example/dialogflow/DetectIntentWithLocation.java | 6 +++++- .../dialogflow/DetectIntentWithSentimentAnalysis.java | 6 +++++- .../dialogflow/DetectIntentWithTextToSpeechResponse.java | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithLocation.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithLocation.java index 9c6e943dcd4..6c825812577 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithLocation.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithLocation.java @@ -73,7 +73,11 @@ public static Map detectIntentWithLocation( System.out.format( "Detected Intent: %s (confidence: %f)\n", queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); - System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); + System.out.format( + "Fulfillment Text: '%s'\n", + queryResult.getFulfillmentMessagesCount() > 0 + ? queryResult.getFulfillmentMessages(0).getText() + : "Triggered Default Fallback Intent"); queryResults.put(text, queryResult); } diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java index 136590c9346..4a9133a3e50 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithSentimentAnalysis.java @@ -80,7 +80,11 @@ public static Map detectIntentSentimentAnalysis( System.out.format( "Detected Intent: %s (confidence: %f)\n", queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); - System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); + System.out.format( + "Fulfillment Text: '%s'\n", + queryResult.getFulfillmentMessagesCount() > 0 + ? queryResult.getFulfillmentMessages(0).getText() + : "Triggered Default Fallback Intent"); System.out.format( "Sentiment Score: '%s'\n", queryResult.getSentimentAnalysisResult().getQueryTextSentiment().getScore()); diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java index 3a40384c28d..fbe97131846 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DetectIntentWithTextToSpeechResponse.java @@ -81,7 +81,11 @@ public static Map detectIntentWithTexttoSpeech( System.out.format( "Detected Intent: %s (confidence: %f)\n", queryResult.getIntent().getDisplayName(), queryResult.getIntentDetectionConfidence()); - System.out.format("Fulfillment Text: '%s'\n", queryResult.getFulfillmentText()); + System.out.format( + "Fulfillment Text: '%s'\n", + queryResult.getFulfillmentMessagesCount() > 0 + ? queryResult.getFulfillmentMessages(0).getText() + : "Triggered Default Fallback Intent"); queryResults.put(text, queryResult); } From a78c2ac036755e357de5d90a72dfe200ea13886a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 26 May 2021 22:56:14 +0200 Subject: [PATCH 086/178] test(deps): update dependency com.google.truth:truth to v1.1.3 (#573) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | com.google.truth:truth | `1.1.2` -> `1.1.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.3/compatibility-slim/1.1.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.3/confidence-slim/1.1.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 653211f4a64..7f4a3a76ad9 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -62,7 +62,7 @@ com.google.truth truth - 1.1.2 + 1.1.3 test From f1dcb8788ccd3b503bdaf2f38c81529b21ec1438 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 7 Jun 2021 21:00:10 +0200 Subject: [PATCH 087/178] chore(deps): update dependency com.google.cloud:libraries-bom to v20.6.0 (#584) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.5.0` -> `20.6.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.6.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.6.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.6.0/compatibility-slim/20.5.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.6.0/confidence-slim/20.5.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 7f4a3a76ad9..46a9915f136 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 20.5.0 + 20.6.0 pom import From c27d16e95c5455d5bb2398a3cec8585b84d571be Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 8 Jun 2021 00:32:05 +0200 Subject: [PATCH 088/178] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.23 (#583) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | com.google.cloud.samples:shared-configuration | `1.0.22` -> `1.0.23` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud.samples:shared-configuration/1.0.23/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud.samples:shared-configuration/1.0.23/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud.samples:shared-configuration/1.0.23/compatibility-slim/1.0.22)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud.samples:shared-configuration/1.0.23/confidence-slim/1.0.22)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 46a9915f136..efa5c3e8c2e 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.22 + 1.0.23 From a41be65ebcae573f4b6ea776f455253b1d96823f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 9 Jun 2021 21:11:58 +0200 Subject: [PATCH 089/178] deps: update dependency com.google.cloud:google-cloud-core to v1.95.1 (#580) --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index efa5c3e8c2e..1dc858e13cb 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 1.94.8 + 1.95.1 test tests From 6e505267c4b57f5c084453d6568124759612c746 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 15 Jun 2021 23:12:06 +0200 Subject: [PATCH 090/178] deps: update dependency com.google.cloud:google-cloud-core to v1.95.2 (#590) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `1.95.1` -> `1.95.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.95.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.95.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.95.2/compatibility-slim/1.95.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.95.2/confidence-slim/1.95.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v1.95.2`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​1952-httpswwwgithubcomgoogleapisjava-corecomparev1951v1952-2021-06-09) [Compare Source](https://togithub.com/googleapis/java-core/compare/v1.95.1...v1.95.2)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 1dc858e13cb..78660094282 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 1.95.1 + 1.95.2 test tests From a8f6fd3e7294bf3f83fa314cc1726ee37a600d5c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 23 Jun 2021 21:08:47 +0200 Subject: [PATCH 091/178] chore(deps): update dependency com.google.cloud:libraries-bom to v20.7.0 (#604) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.6.0` -> `20.7.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.7.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.7.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.7.0/compatibility-slim/20.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.7.0/confidence-slim/20.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 78660094282..5b0cd3654b4 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 20.6.0 + 20.7.0 pom import From 3286a5ae35279a85e83cbb95667c0ea7590d5520 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 25 Jun 2021 18:15:46 +0200 Subject: [PATCH 092/178] deps: update dependency com.google.cloud:google-cloud-core to v1.95.3 (#603) --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 5b0cd3654b4..e991d0db1d9 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 1.95.2 + 1.95.3 test tests From 05718f6541eb1bfc473f6c5a138e6b0408221dea Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 2 Jul 2021 22:36:30 +0200 Subject: [PATCH 093/178] deps: update dependency com.google.cloud:google-cloud-core to v1.95.4 (#607) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `1.95.3` -> `1.95.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.95.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.95.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.95.4/compatibility-slim/1.95.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.95.4/confidence-slim/1.95.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v1.95.4`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​1954-httpswwwgithubcomgoogleapisjava-corecomparev1953v1954-2021-06-25) [Compare Source](https://togithub.com/googleapis/java-core/compare/v1.95.3...v1.95.4)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index e991d0db1d9..0e469da4ad6 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 1.95.3 + 1.95.4 test tests From f512a39ba30505be93e16d563cad18c98f209ec3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 9 Jul 2021 16:38:38 +0200 Subject: [PATCH 094/178] chore(deps): update dependency com.google.cloud:libraries-bom to v20.8.0 (#615) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.7.0` -> `20.8.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.8.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.8.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.8.0/compatibility-slim/20.7.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.8.0/confidence-slim/20.7.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 0e469da4ad6..a9019ad7761 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 20.7.0 + 20.8.0 pom import From 7d4b529ef34be21660a733e45e4f64be1ff0a365 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Jul 2021 01:16:21 +0200 Subject: [PATCH 095/178] chore(deps): update dependency com.google.cloud:libraries-bom to v20.9.0 (#624) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.8.0` -> `20.9.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.9.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.9.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.9.0/compatibility-slim/20.8.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.9.0/confidence-slim/20.8.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index a9019ad7761..5ec2c4defec 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 20.8.0 + 20.9.0 pom import From 2a03b195ef575e1cdcb1964d194ced6f348eee77 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 9 Aug 2021 22:39:23 +0200 Subject: [PATCH 096/178] deps: update dependency com.google.cloud:google-cloud-core to v2 (#634) --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 5ec2c4defec..b0e215433e9 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 1.95.4 + 2.0.2 test tests From 6d79f300c08d957ce23584a0ee6b223a9db716e0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 11 Aug 2021 04:52:32 +0200 Subject: [PATCH 097/178] deps: update dependency com.google.cloud:google-cloud-core to v2.0.3 (#647) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.0.2` -> `2.0.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.0.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.0.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.0.3/compatibility-slim/2.0.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.0.3/confidence-slim/2.0.2)](https://docs.renovatebot.com/merge-confidence/) | *** ### Release Notes
googleapis/java-core ### [`v2.0.3`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​203-httpswwwgithubcomgoogleapisjava-corecomparev202v203-2021-08-10) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.0.2...v2.0.3)
*** ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. *** * \[ ] If you want to rebase/retry this PR, check this box. *** This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index b0e215433e9..55636afe509 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.0.2 + 2.0.3 test tests From b4c46f5fed0c4698b85a0d0236b8f9f5b7cbd5ed Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 12 Aug 2021 19:30:35 +0200 Subject: [PATCH 098/178] deps: update dependency com.google.cloud:google-cloud-core to v2.0.5 (#649) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.0.3` -> `2.0.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.0.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.0.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.0.5/compatibility-slim/2.0.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.0.5/confidence-slim/2.0.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.0.5`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​205-httpswwwgithubcomgoogleapisjava-corecomparev204v205-2021-08-11) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.0.4...v2.0.5) ### [`v2.0.4`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​204-httpswwwgithubcomgoogleapisjava-corecomparev203v204-2021-08-11) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.0.3...v2.0.4)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 55636afe509..751ecfedfbf 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.0.3 + 2.0.5 test tests From 341fdb569a6e80fef6ead433ca21a5facfaff84c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 17 Aug 2021 16:56:31 +0200 Subject: [PATCH 099/178] chore(deps): update dependency com.google.cloud:libraries-bom to v21 (#655) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.9.0` -> `21.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/21.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/21.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/21.0.0/compatibility-slim/20.9.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/21.0.0/confidence-slim/20.9.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 751ecfedfbf..a227374519a 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 20.9.0 + 21.0.0 pom import From 5a8f3ab1ba1505dd919384d08acc892e814f247e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 24 Aug 2021 19:12:21 +0200 Subject: [PATCH 100/178] deps: update dependency com.google.cloud:google-cloud-core to v2.1.0 (#661) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.0.5` -> `2.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.0/compatibility-slim/2.0.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.0/confidence-slim/2.0.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.1.0`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​210-httpswwwgithubcomgoogleapisjava-corecomparev205v210-2021-08-23) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.0.5...v2.1.0) ##### Features - support downloading an emulator from an access controlled URL ([#​513](https://www.togithub.com/googleapis/java-core/issues/513)) ([f42a707](https://www.github.com/googleapis/java-core/commit/f42a7078522461018da96196a67657809d28b15b)) ##### Dependencies - update dependency com.google.api:gax-bom to v2.3.0 ([#​523](https://www.togithub.com/googleapis/java-core/issues/523)) ([6fa1d96](https://www.github.com/googleapis/java-core/commit/6fa1d96d07a7d255e7564407364216436cad6ca3)) - update dependency com.google.auth:google-auth-library-bom to v1.1.0 ([#​526](https://www.togithub.com/googleapis/java-core/issues/526)) ([0fc1532](https://www.github.com/googleapis/java-core/commit/0fc1532183148d09c3005a68e528c6c438cb6ddd)) - update dependency com.google.code.gson:gson to v2.8.8 ([#​529](https://www.togithub.com/googleapis/java-core/issues/529)) ([92b7f97](https://www.github.com/googleapis/java-core/commit/92b7f9715eeab0a07b64437a62dd47e5eed006de)) - update dependency com.google.errorprone:error_prone_annotations to v2.9.0 ([#​528](https://www.togithub.com/googleapis/java-core/issues/528)) ([5ecba07](https://www.github.com/googleapis/java-core/commit/5ecba07336499fc6fddae4cfdc2bc12105ec9b66)) - update dependency io.grpc:grpc-bom to v1.40.0 ([#​525](https://www.togithub.com/googleapis/java-core/issues/525)) ([a1e81f7](https://www.github.com/googleapis/java-core/commit/a1e81f73a4cc29e7186adf37f1cb718c1a88f41e)) ##### [2.0.5](https://www.github.com/googleapis/java-core/compare/v2.0.4...v2.0.5) (2021-08-11) ##### Dependencies - update dependency com.google.api:gax-bom to v2.1.0 ([#​519](https://www.togithub.com/googleapis/java-core/issues/519)) ([266e2f7](https://www.github.com/googleapis/java-core/commit/266e2f75e83fe1fd635a1528deb38131b8bfc742)) ##### [2.0.4](https://www.github.com/googleapis/java-core/compare/v2.0.3...v2.0.4) (2021-08-11) ##### Dependencies - update dependency com.google.api:api-common to v2.0.1 ([#​516](https://www.togithub.com/googleapis/java-core/issues/516)) ([aa6abf3](https://www.github.com/googleapis/java-core/commit/aa6abf3cc458ca117ec009fb29a14fd4f5409ef3)) ##### [2.0.3](https://www.github.com/googleapis/java-core/compare/v2.0.2...v2.0.3) (2021-08-10) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.8.1 ([#​512](https://www.togithub.com/googleapis/java-core/issues/512)) ([6127b8f](https://www.github.com/googleapis/java-core/commit/6127b8f23ec267a4cf8daa794b88a5cd97f054e3)) ##### [2.0.2](https://www.github.com/googleapis/java-core/compare/v2.0.1...v2.0.2) (2021-08-03) ##### Features - release 2.0.2 ([#​509](https://www.togithub.com/googleapis/java-core/issues/509)) ([afbb532](https://www.github.com/googleapis/java-core/commit/afbb532965a9ab6f9e3eafbf9d5d8502dd29d1bb)) ##### [2.0.1](https://www.github.com/googleapis/java-core/compare/v2.0.0...v2.0.1) (2021-08-03) ##### Dependencies - update dependency com.google.api:gax-bom to v2 ([#​506](https://www.togithub.com/googleapis/java-core/issues/506)) ([a0c49a2](https://www.github.com/googleapis/java-core/commit/a0c49a2eb2579df78afccc6db021e78c3bd58493))
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index a227374519a..85e759f4908 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.0.5 + 2.1.0 test tests From 5933e18078d7150d13015c14239e6585e99e76d4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 25 Aug 2021 01:10:11 +0200 Subject: [PATCH 101/178] deps: update dependency com.google.cloud:google-cloud-core to v2.1.1 (#664) --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 85e759f4908..954110b5eb3 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.1.0 + 2.1.1 test tests From d61a43a781cd2c7c7748859d030e6900c4e8a314 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 27 Aug 2021 18:42:27 +0200 Subject: [PATCH 102/178] chore(deps): update dependency com.google.cloud:libraries-bom to v22 (#673) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `21.0.0` -> `22.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/22.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/22.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/22.0.0/compatibility-slim/21.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/22.0.0/confidence-slim/21.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 954110b5eb3..10e921b0a99 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 21.0.0 + 22.0.0 pom import From 263bb5240eab07780d710f966644bd84609664b8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 31 Aug 2021 21:50:29 +0200 Subject: [PATCH 103/178] deps: update dependency com.google.cloud:google-cloud-core to v2.1.2 (#680) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.1.1` -> `2.1.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.2/compatibility-slim/2.1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.2/confidence-slim/2.1.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.1.2`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​212-httpswwwgithubcomgoogleapisjava-corecomparev211v212-2021-08-31) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.1.1...v2.1.2)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 10e921b0a99..7110a3603cc 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.1.1 + 2.1.2 test tests From 244ada0a3794a88d686ad748bdc3eaa58034d4e8 Mon Sep 17 00:00:00 2001 From: Gal Zahavi <38544478+galz10@users.noreply.github.com> Date: Tue, 31 Aug 2021 16:28:47 -0700 Subject: [PATCH 104/178] samples: add update intent code sample (#639) * Added Fieldmask snippet * Update lint * Fixed lint issue * Rename updateIntentTest.java to UpdateIntentTest.java * Lint Fix * Lint fix * Fixed spacing * Update Testing * Added missing imports * Added Missing Imports * Added Missing Imports * delete intent after testing * change name of test * Updated Code and Test * lint fix * Fix test * Fixed test * Test fix * Update failing test * Lint fix * lint fix * lint fix * Fixed failing test * Corrected intent path * Revised code per comments * lint fix * lint fix * failing test fix --- .../com/example/dialogflow/UpdateIntent.java | 73 ++++++++++++++++ .../example/dialogflow/UpdateIntentIT.java | 86 +++++++++++++++++++ 2 files changed, 159 insertions(+) create mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/UpdateIntent.java create mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/UpdateIntentIT.java diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/UpdateIntent.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/UpdateIntent.java new file mode 100644 index 00000000000..1034db70af8 --- /dev/null +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/UpdateIntent.java @@ -0,0 +1,73 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +// [START dialogflow_es_update_intent] +import com.google.cloud.dialogflow.v2.Intent; +import com.google.cloud.dialogflow.v2.Intent.Builder; +import com.google.cloud.dialogflow.v2.IntentsClient; +import com.google.cloud.dialogflow.v2.UpdateIntentRequest; +import com.google.protobuf.FieldMask; +import java.io.IOException; + + +public class UpdateIntent { + + public static void main(String[] args) throws IOException { + // TODO(developer): Replace these variables before running the sample. + String projectId = "my-project-id"; + String intentId = "my-intent-id"; + String location = "my-location"; + String displayName = "my-display-name"; + updateIntent(projectId, intentId, location, displayName); + } + + // DialogFlow API Update Intent sample. + public static void updateIntent( + String projectId, String intentId, String location, String displayName) + throws IOException { + try (IntentsClient client = IntentsClient.create()) { + String intentPath = + "projects/" + + projectId + + "/locations/" + + location + + "/agent/intents/" + + intentId; + + Builder intentBuilder = client.getIntent(intentPath).toBuilder(); + + intentBuilder.setDisplayName(displayName); + FieldMask fieldMask = FieldMask.newBuilder() + .addPaths("display_name") + .build(); + + Intent intent = intentBuilder.build(); + UpdateIntentRequest request = + UpdateIntentRequest.newBuilder() + .setIntent(intent) + .setLanguageCode("en") + .setUpdateMask(fieldMask) + .build(); + + // Make API request to update intent using fieldmask + Intent response = client.updateIntent(request); + System.out.println(response); + } + } +} +// [END dialogflow_es_update_intent] \ No newline at end of file diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/UpdateIntentIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/UpdateIntentIT.java new file mode 100644 index 00000000000..c7f3ba0f52f --- /dev/null +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/UpdateIntentIT.java @@ -0,0 +1,86 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import static com.google.common.truth.Truth.assertThat; + +import com.google.cloud.dialogflow.v2.Agent; +import com.google.cloud.dialogflow.v2.Agent.Builder; +import com.google.cloud.dialogflow.v2.AgentsClient; +import com.google.cloud.dialogflow.v2.AgentsSettings; +import com.google.cloud.dialogflow.v2.Intent; +import com.google.cloud.dialogflow.v2.IntentsClient; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.PrintStream; +import java.util.UUID; +import org.junit.After; +import org.junit.Before; +import org.junit.Test; + +public class UpdateIntentIT { + + private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); + + private static String parent = "projects/" + PROJECT_ID + "/locations/global/agent"; + private static String intentID = ""; + private static String intentPath = ""; + + private ByteArrayOutputStream stdOut; + + @Before + public void setUp() throws IOException { + + stdOut = new ByteArrayOutputStream(); + System.setOut(new PrintStream(stdOut)); + + try (IntentsClient intentsClient = IntentsClient.create()) { + com.google.cloud.dialogflow.v2.Intent.Builder intent = Intent.newBuilder(); + intent.setDisplayName("temp_intent_" + UUID.randomUUID().toString()); + + UpdateIntentIT.intentPath = intentsClient.createIntent(parent, intent.build()).getName(); + UpdateIntentIT.intentID = UpdateIntentIT.intentPath.split("/")[6]; + } + } + + @After + public void tearDown() throws IOException { + stdOut = null; + System.setOut(null); + + IntentsClient client = IntentsClient.create(); + + String intentPath = + "projects/" + + PROJECT_ID + + "/locations/global/agent/intents/" + + UpdateIntentIT.intentID; + + client.deleteIntent(intentPath); + } + + @Test + public void testUpdateIntent() throws IOException { + + String fakeIntent = "fake_intent_" + UUID.randomUUID().toString(); + + UpdateIntent.updateIntent( + PROJECT_ID, UpdateIntentIT.intentID, "global", fakeIntent); + + assertThat(stdOut.toString()).contains(fakeIntent); + } +} \ No newline at end of file From dbcd39944462c92688ae99128ea479796d5d9ce7 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 3 Sep 2021 18:18:15 +0000 Subject: [PATCH 105/178] chore(java): install maven 3.8.1 at runtime (#1202) (#689) --- .../com/example/dialogflow/UpdateIntent.java | 17 ++++------------- .../com/example/dialogflow/UpdateIntentIT.java | 16 ++++------------ 2 files changed, 8 insertions(+), 25 deletions(-) diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/UpdateIntent.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/UpdateIntent.java index 1034db70af8..8b18afe7e75 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/UpdateIntent.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/UpdateIntent.java @@ -24,7 +24,6 @@ import com.google.protobuf.FieldMask; import java.io.IOException; - public class UpdateIntent { public static void main(String[] args) throws IOException { @@ -38,23 +37,15 @@ public static void main(String[] args) throws IOException { // DialogFlow API Update Intent sample. public static void updateIntent( - String projectId, String intentId, String location, String displayName) - throws IOException { + String projectId, String intentId, String location, String displayName) throws IOException { try (IntentsClient client = IntentsClient.create()) { String intentPath = - "projects/" - + projectId - + "/locations/" - + location - + "/agent/intents/" - + intentId; + "projects/" + projectId + "/locations/" + location + "/agent/intents/" + intentId; Builder intentBuilder = client.getIntent(intentPath).toBuilder(); intentBuilder.setDisplayName(displayName); - FieldMask fieldMask = FieldMask.newBuilder() - .addPaths("display_name") - .build(); + FieldMask fieldMask = FieldMask.newBuilder().addPaths("display_name").build(); Intent intent = intentBuilder.build(); UpdateIntentRequest request = @@ -70,4 +61,4 @@ public static void updateIntent( } } } -// [END dialogflow_es_update_intent] \ No newline at end of file +// [END dialogflow_es_update_intent] diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/UpdateIntentIT.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/UpdateIntentIT.java index c7f3ba0f52f..84d9cfb08fd 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/UpdateIntentIT.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/UpdateIntentIT.java @@ -18,10 +18,6 @@ import static com.google.common.truth.Truth.assertThat; -import com.google.cloud.dialogflow.v2.Agent; -import com.google.cloud.dialogflow.v2.Agent.Builder; -import com.google.cloud.dialogflow.v2.AgentsClient; -import com.google.cloud.dialogflow.v2.AgentsSettings; import com.google.cloud.dialogflow.v2.Intent; import com.google.cloud.dialogflow.v2.IntentsClient; import java.io.ByteArrayOutputStream; @@ -64,11 +60,8 @@ public void tearDown() throws IOException { IntentsClient client = IntentsClient.create(); - String intentPath = - "projects/" - + PROJECT_ID - + "/locations/global/agent/intents/" - + UpdateIntentIT.intentID; + String intentPath = + "projects/" + PROJECT_ID + "/locations/global/agent/intents/" + UpdateIntentIT.intentID; client.deleteIntent(intentPath); } @@ -78,9 +71,8 @@ public void testUpdateIntent() throws IOException { String fakeIntent = "fake_intent_" + UUID.randomUUID().toString(); - UpdateIntent.updateIntent( - PROJECT_ID, UpdateIntentIT.intentID, "global", fakeIntent); + UpdateIntent.updateIntent(PROJECT_ID, UpdateIntentIT.intentID, "global", fakeIntent); assertThat(stdOut.toString()).contains(fakeIntent); } -} \ No newline at end of file +} From 98a4fa151d9d2d49c42d7e39e72209403ead6014 Mon Sep 17 00:00:00 2001 From: Gal Zahavi <38544478+galz10@users.noreply.github.com> Date: Wed, 8 Sep 2021 13:10:07 -0700 Subject: [PATCH 106/178] samples: set agent code sample (#660) * samples: set agent code sample * Lint fix * Update samples/snippets/src/test/java/com/example/dialogflow/SetAgentIT.java Co-authored-by: Jeff Ching * Update samples/snippets/src/main/java/com/example/dialogflow/SetAgent.java Co-authored-by: Jeff Ching * Update samples/snippets/src/main/java/com/example/dialogflow/SetAgent.java Co-authored-by: Jeff Ching * Update samples/snippets/src/main/java/com/example/dialogflow/SetAgent.java Co-authored-by: Jeff Ching * updated tests * Test and lint fix * Lint fix * Changed package name * revised code Co-authored-by: Jeff Ching --- .../src/main/dialogflow/SetAgent.java | 57 +++++++++++++++++++ .../src/test/dialogflow/SetAgentIT.java | 33 +++++++++++ 2 files changed, 90 insertions(+) create mode 100644 dialogflow/snippets/src/main/dialogflow/SetAgent.java create mode 100644 dialogflow/snippets/src/test/dialogflow/SetAgentIT.java diff --git a/dialogflow/snippets/src/main/dialogflow/SetAgent.java b/dialogflow/snippets/src/main/dialogflow/SetAgent.java new file mode 100644 index 00000000000..cfa73edf26d --- /dev/null +++ b/dialogflow/snippets/src/main/dialogflow/SetAgent.java @@ -0,0 +1,57 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package dialogflow; + +// [START dialogflow_es_create_agent] + +import com.google.cloud.dialogflow.v2.Agent; +import com.google.cloud.dialogflow.v2.Agent.Builder; +import com.google.cloud.dialogflow.v2.AgentsClient; +import com.google.cloud.dialogflow.v2.AgentsSettings; +import java.io.IOException; + +public class SetAgent { + + public static void main(String[] args) throws IOException { + String projectId = "my-project-id"; + + // The display name will set the name of your agent + String displayName = "my-display-name"; + + setAgent(projectId, displayName); + } + + public static Agent setAgent(String parent, String displayName) throws IOException { + + AgentsSettings agentsSettings = AgentsSettings.newBuilder().build(); + try (AgentsClient client = AgentsClient.create(agentsSettings)) { + // Set the details of the Agent to create + Builder build = Agent.newBuilder(); + + build.setDefaultLanguageCode("en"); + build.setDisplayName(displayName); + + Agent agent = build.build(); + + // Make API request to create agent + Agent response = client.setAgent(agent); + System.out.println(response); + return response; + } + } +} +// [END dialogflow_es_create_agent] diff --git a/dialogflow/snippets/src/test/dialogflow/SetAgentIT.java b/dialogflow/snippets/src/test/dialogflow/SetAgentIT.java new file mode 100644 index 00000000000..146ce24c7bd --- /dev/null +++ b/dialogflow/snippets/src/test/dialogflow/SetAgentIT.java @@ -0,0 +1,33 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package dialogflow; + +import org.junit.Assert; +import org.junit.Test; + +public class SetAgentIT { + + + /* + * We cannot test setAgent because Dialogflow ES can only have one agent + * and if we create a agent it will delete the exisitng testing agent and + * would cause all tests to fail + */ + @Test + public void testCreateAgent() { + Assert.assertTrue(true); +} From 404c102c2b2e105d3f7fc5b430ddddd5ffea2b6f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 8 Sep 2021 23:16:28 +0200 Subject: [PATCH 107/178] chore(deps): update dependency com.google.cloud:libraries-bom to v23 (#694) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `22.0.0` -> `23.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/23.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/23.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/23.0.0/compatibility-slim/22.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/23.0.0/confidence-slim/22.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 7110a3603cc..6eafda4d109 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 22.0.0 + 23.0.0 pom import From 7ce43970e672141bbceec283f30b88f01d1ea7ae Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 13 Sep 2021 21:42:53 +0200 Subject: [PATCH 108/178] deps: update dependency com.google.cloud:google-cloud-core to v2.1.3 (#702) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.1.2` -> `2.1.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.3/compatibility-slim/2.1.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.3/confidence-slim/2.1.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.1.3`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​213-httpswwwgithubcomgoogleapisjava-corecomparev212v213-2021-09-10) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.1.2...v2.1.3)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 6eafda4d109..3d0b38fb24e 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.1.2 + 2.1.3 test tests From dcd8cbd5e4fac14688969b9824c16779446bdb49 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 17 Sep 2021 00:06:24 +0200 Subject: [PATCH 109/178] deps: update dependency com.google.cloud:google-cloud-core to v2.1.4 (#711) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.1.3` -> `2.1.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.4/compatibility-slim/2.1.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.4/confidence-slim/2.1.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.1.4`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​214-httpswwwgithubcomgoogleapisjava-corecomparev213v214-2021-09-15) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.1.3...v2.1.4)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 3d0b38fb24e..26efcab2520 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.1.3 + 2.1.4 test tests From 294dd547c3df51c749192a8843579ec6d49dd88e Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Tue, 21 Sep 2021 16:42:14 -0400 Subject: [PATCH 110/178] chore: remove dependency dashboard labels (#715) https://github.com/renovatebot/renovate/discussions/11802 --- .../snippets/src/test/dialogflow/SetAgentIT.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dialogflow/snippets/src/test/dialogflow/SetAgentIT.java b/dialogflow/snippets/src/test/dialogflow/SetAgentIT.java index 146ce24c7bd..a3ba3d3818e 100644 --- a/dialogflow/snippets/src/test/dialogflow/SetAgentIT.java +++ b/dialogflow/snippets/src/test/dialogflow/SetAgentIT.java @@ -21,13 +21,13 @@ public class SetAgentIT { - /* - * We cannot test setAgent because Dialogflow ES can only have one agent - * and if we create a agent it will delete the exisitng testing agent and - * would cause all tests to fail - */ + * We cannot test setAgent because Dialogflow ES can only have one agent + * and if we create a agent it will delete the exisitng testing agent and + * would cause all tests to fail + */ @Test - public void testCreateAgent() { + public void testCreateAgent() { Assert.assertTrue(true); + } } From dedc15f370edb8825177cf88447946f873ee2da9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 22 Sep 2021 20:20:40 +0200 Subject: [PATCH 111/178] deps: update dependency com.google.cloud:google-cloud-core to v2.1.6 (#718) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.1.4` -> `2.1.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.6/compatibility-slim/2.1.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.6/confidence-slim/2.1.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.1.6`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​216-httpswwwgithubcomgoogleapisjava-corecomparev215v216-2021-09-21) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.1.5...v2.1.6) ### [`v2.1.5`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​215-httpswwwgithubcomgoogleapisjava-corecomparev214v215-2021-09-21) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.1.4...v2.1.5)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 26efcab2520..75d4c288360 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.1.4 + 2.1.6 test tests From 17b9448dfba40e0a7aab189a34001e4ae0472f53 Mon Sep 17 00:00:00 2001 From: Gal Zahavi <38544478+galz10@users.noreply.github.com> Date: Wed, 29 Sep 2021 13:29:48 -0700 Subject: [PATCH 112/178] samples: add webhook sample (#730) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * samples:add webhook sample * Revised Code * Changed class name to match cloud function * Revised code * Changed Test * Fixed test * Test Fix * changed json " to ' * added bracket * lint fix * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../snippets/src/main/dialogflow/Example.java | 48 +++++++++++++ .../src/test/dialogflow/ExampleIT.java | 70 +++++++++++++++++++ .../src/test/dialogflow/SetAgentIT.java | 1 - 3 files changed, 118 insertions(+), 1 deletion(-) create mode 100644 dialogflow/snippets/src/main/dialogflow/Example.java create mode 100644 dialogflow/snippets/src/test/dialogflow/ExampleIT.java diff --git a/dialogflow/snippets/src/main/dialogflow/Example.java b/dialogflow/snippets/src/main/dialogflow/Example.java new file mode 100644 index 00000000000..97772cb34a1 --- /dev/null +++ b/dialogflow/snippets/src/main/dialogflow/Example.java @@ -0,0 +1,48 @@ +package com.example; + +import com.google.cloud.functions.HttpFunction; +import com.google.cloud.functions.HttpRequest; +import com.google.cloud.functions.HttpResponse; +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonObject; +import com.google.gson.JsonParser; +import java.io.BufferedWriter; + +public class Example implements HttpFunction { + + public void service(HttpRequest request, HttpResponse response) throws Exception { + JsonParser parser = new JsonParser(); + Gson gson = new GsonBuilder().create(); + + JsonObject job = gson.fromJson(request.getReader(), JsonObject.class); + String str = + job.getAsJsonObject("queryResult") + .getAsJsonObject("intent") + .getAsJsonPrimitive("displayName") + .toString(); + JsonObject o = null; + String a = '"' + "Default Welcome Intent" + '"'; + String b = '"' + "get-agent-name" + '"'; + String responseText = ""; + + if (str.equals(a)) { + responseText = '"' + "Hello from a Java GCF Webhook" + '"'; + } else if (str.equals(b)) { + responseText = '"' + "My name is Flowhook" + '"'; + } else { + responseText = '"' + "Sorry I didn't get that" + '"'; + } + + o = + parser + .parse( + "{\"fulfillmentMessages\": [ { \"text\": { \"text\": [ " + + responseText + + " ] } } ] }") + .getAsJsonObject(); + + BufferedWriter writer = response.getWriter(); + writer.write(o.toString()); + } +} diff --git a/dialogflow/snippets/src/test/dialogflow/ExampleIT.java b/dialogflow/snippets/src/test/dialogflow/ExampleIT.java new file mode 100644 index 00000000000..66efd7783be --- /dev/null +++ b/dialogflow/snippets/src/test/dialogflow/ExampleIT.java @@ -0,0 +1,70 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package dialogflow.cx; + +import static com.google.common.truth.Truth.assertThat; +import static org.mockito.Mockito.when; + +import com.google.cloud.functions.HttpRequest; +import com.google.cloud.functions.HttpResponse; +import com.google.gson.Gson; +import java.io.BufferedReader; +import java.io.BufferedWriter; +import java.io.IOException; +import java.io.StringReader; +import java.io.StringWriter; +import org.junit.Before; +import org.junit.Test; +import org.mockito.Mock; +import org.mockito.MockitoAnnotations; + +public class ExampleIT { + @Mock private HttpRequest request; + @Mock private HttpResponse response; + + private BufferedWriter writerOut; + private StringWriter responseOut; + private static final Gson gson = new Gson(); + + @Before + public void beforeTest() throws IOException { + MockitoAnnotations.initMocks(this); + + // use an empty string as the default request content + BufferedReader reader = new BufferedReader(new StringReader("")); + when(request.getReader()).thenReturn(reader); + + responseOut = new StringWriter(); + writerOut = new BufferedWriter(responseOut); + when(response.getWriter()).thenReturn(writerOut); + } + + @Test + public void helloHttp_bodyParamsPost() throws IOException { + BufferedReader jsonReader = + new BufferedReader( + new StringReader( + "{'queryResult': { 'intent': { 'name': 'projects', 'displayName': 'Default Welcome Intent' } } })")); + + when(request.getReader()).thenReturn(jsonReader); + + new Webhook().service(request, response); + writerOut.flush(); + + assertThat(responseOut.toString()).contains("Hello from a Java GCF Webhook"); + } +} diff --git a/dialogflow/snippets/src/test/dialogflow/SetAgentIT.java b/dialogflow/snippets/src/test/dialogflow/SetAgentIT.java index a3ba3d3818e..cf7417ca263 100644 --- a/dialogflow/snippets/src/test/dialogflow/SetAgentIT.java +++ b/dialogflow/snippets/src/test/dialogflow/SetAgentIT.java @@ -20,7 +20,6 @@ import org.junit.Test; public class SetAgentIT { - /* * We cannot test setAgent because Dialogflow ES can only have one agent * and if we create a agent it will delete the exisitng testing agent and From 2f0b8e2a0d182c4a45e5040670757baa019c3c8c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 1 Oct 2021 16:12:28 +0200 Subject: [PATCH 113/178] chore(deps): update dependency com.google.cloud:libraries-bom to v23.1.0 (#737) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `23.0.0` -> `23.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/23.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/23.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/23.1.0/compatibility-slim/23.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/23.1.0/confidence-slim/23.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 75d4c288360..65b68616626 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 23.0.0 + 23.1.0 pom import From 3b317cbf5e582f445cb649f8845e3735f3353a42 Mon Sep 17 00:00:00 2001 From: Gal Zahavi <38544478+galz10@users.noreply.github.com> Date: Mon, 4 Oct 2021 16:05:13 -0700 Subject: [PATCH 114/178] samples: added region tags (#738) * Tag fix * rerun conventional commit --- .../snippets/src/main/dialogflow/Example.java | 21 ++++++++++++++++++- .../src/test/dialogflow/ExampleIT.java | 2 +- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/dialogflow/snippets/src/main/dialogflow/Example.java b/dialogflow/snippets/src/main/dialogflow/Example.java index 97772cb34a1..2e14911ec02 100644 --- a/dialogflow/snippets/src/main/dialogflow/Example.java +++ b/dialogflow/snippets/src/main/dialogflow/Example.java @@ -1,4 +1,22 @@ -package com.example; +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package dialogflow; + +// [START dialogflow_webhook] import com.google.cloud.functions.HttpFunction; import com.google.cloud.functions.HttpRequest; @@ -46,3 +64,4 @@ public void service(HttpRequest request, HttpResponse response) throws Exception writer.write(o.toString()); } } +// [END dialogflow_webhook] diff --git a/dialogflow/snippets/src/test/dialogflow/ExampleIT.java b/dialogflow/snippets/src/test/dialogflow/ExampleIT.java index 66efd7783be..3a64c266070 100644 --- a/dialogflow/snippets/src/test/dialogflow/ExampleIT.java +++ b/dialogflow/snippets/src/test/dialogflow/ExampleIT.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package dialogflow.cx; +package dialogflow; import static com.google.common.truth.Truth.assertThat; import static org.mockito.Mockito.when; From b38cc4278d4485b203d467762dce36a0510ed0ca Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 6 Oct 2021 03:04:34 +0200 Subject: [PATCH 115/178] deps: update dependency com.google.cloud:google-cloud-core to v2.1.7 (#728) --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 65b68616626..4aec48dc8b2 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.1.6 + 2.1.7 test tests From 23e645be9ae0ffdabfbd83945e986fd2c757e1a5 Mon Sep 17 00:00:00 2001 From: Franklin Nunez <69214580+b-loved-dreamer@users.noreply.github.com> Date: Mon, 11 Oct 2021 11:51:03 -0700 Subject: [PATCH 116/178] docs(sample): adds new list training phrases sample (#742) --- .../dialogflow/ListTrainingPhrases.java | 65 +++++++++++++++++++ .../dialogflow/ListTrainingPhrasesTest.java | 51 +++++++++++++++ 2 files changed, 116 insertions(+) create mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/ListTrainingPhrases.java create mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/ListTrainingPhrasesTest.java diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/ListTrainingPhrases.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/ListTrainingPhrases.java new file mode 100644 index 00000000000..09993446d1a --- /dev/null +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/ListTrainingPhrases.java @@ -0,0 +1,65 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +// [START dialogflow_list_training_phrases] +import com.google.cloud.dialogflow.v2.GetIntentRequest; +import com.google.cloud.dialogflow.v2.Intent; +import com.google.cloud.dialogflow.v2.IntentName; +import com.google.cloud.dialogflow.v2.IntentView; +import com.google.cloud.dialogflow.v2.IntentsClient; +import java.io.IOException; +import java.util.List; + +public class ListTrainingPhrases { + public static void main(String[] args) throws IOException { + // TODO(developer): Replace these variables before running the sample. + String projectId = "my-project-id"; + String intentId = "my-intent-id"; + + listTrainingPhrases(projectId, intentId); + } + + // DialogFlow API List Training Phrases sample. + public static void listTrainingPhrases(String projectId, String intentId) throws IOException { + try (IntentsClient client = IntentsClient.create()) { + // Set the intent name + IntentName name = IntentName.of(projectId, intentId); + + // Compose the get-intent request + GetIntentRequest request = + GetIntentRequest.newBuilder() + .setName(name.toString()) + .setIntentView(IntentView.INTENT_VIEW_FULL) + .build(); + + // Make API request to update intent + Intent response = client.getIntent(request); + + // Loop through the results + for (Intent.TrainingPhrase phrase : response.getTrainingPhrasesList()) { + System.out.println("***********************************************"); + System.out.println(String.format("Phrase ID: %s", phrase.getName())); + List parts = phrase.getPartsList(); + for (Intent.TrainingPhrase.Part part : parts) { + System.out.println(String.format("Training Phrase: %s", part.getText())); + } + } + } + } +} +// [END dialogflow_list_training_phrases] diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/ListTrainingPhrasesTest.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/ListTrainingPhrasesTest.java new file mode 100644 index 00000000000..7db1444d150 --- /dev/null +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/ListTrainingPhrasesTest.java @@ -0,0 +1,51 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import static com.google.common.truth.Truth.assertThat; + +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.PrintStream; +import org.junit.After; +import org.junit.Before; +import org.junit.Test; + +public class ListTrainingPhrasesTest { + private static String PROJECT_ID = System.getenv().get("GOOGLE_CLOUD_PROJECT"); + private static String intentID = "875138fa-991f-4c2b-b58c-dcbad1638556"; + + private ByteArrayOutputStream stdOut; + + @Before + public void setUp() throws IOException { + stdOut = new ByteArrayOutputStream(); + System.setOut(new PrintStream(stdOut)); + } + + @After + public void tearDown() throws IOException { + stdOut = null; + System.setOut(null); + } + + @Test + public void testListTrainingPhrases() throws IOException { + ListTrainingPhrases.listTrainingPhrases(PROJECT_ID, intentID); + assertThat(stdOut.toString()).contains("What date?"); + } +} From 299c46f90a7df0677fdad173dff0ed8a9e267fc5 Mon Sep 17 00:00:00 2001 From: Gal Zahavi <38544478+galz10@users.noreply.github.com> Date: Fri, 15 Oct 2021 11:39:13 -0700 Subject: [PATCH 117/178] samples: Added comments (#748) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added Comments * Comment Fix * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- dialogflow/snippets/src/main/dialogflow/Example.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dialogflow/snippets/src/main/dialogflow/Example.java b/dialogflow/snippets/src/main/dialogflow/Example.java index 2e14911ec02..24f5aaeba19 100644 --- a/dialogflow/snippets/src/main/dialogflow/Example.java +++ b/dialogflow/snippets/src/main/dialogflow/Example.java @@ -18,6 +18,11 @@ // [START dialogflow_webhook] +// TODO: add GSON dependency to Pom file +// (https://mvnrepository.com/artifact/com.google.code.gson/gson/2.8.5) +// TODO: Uncomment the line bellow before running cloud function +// package com.example; + import com.google.cloud.functions.HttpFunction; import com.google.cloud.functions.HttpRequest; import com.google.cloud.functions.HttpResponse; From f18b5cf500a3ccb6f07c48fd716294e291586d24 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 18 Oct 2021 23:56:30 +0200 Subject: [PATCH 118/178] deps: update dependency com.google.cloud:google-cloud-core to v2.1.8 (#749) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.1.7` -> `2.1.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.8/compatibility-slim/2.1.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.1.8/confidence-slim/2.1.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.1.8`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​218-httpswwwgithubcomgoogleapisjava-corecomparev217v218-2021-10-15) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.1.7...v2.1.8)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 4aec48dc8b2..749bc5b0a9f 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.1.7 + 2.1.8 test tests From 7764cdef44734bb291d0d9aab871788a8dd3d231 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 20 Oct 2021 17:18:45 +0200 Subject: [PATCH 119/178] deps: update dependency com.google.cloud:google-cloud-core to v2.2.0 (#751) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.1.8` -> `2.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.2.0/compatibility-slim/2.1.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.2.0/confidence-slim/2.1.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.2.0`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​220-httpswwwgithubcomgoogleapisjava-corecomparev218v220-2021-10-18) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.1.8...v2.2.0) ##### Features - next release from main branch is 2.2.0 ([#​596](https://www.togithub.com/googleapis/java-core/issues/596)) ([cca72b8](https://www.github.com/googleapis/java-core/commit/cca72b82b45e01207bd45c6a2b988981c213c6fd)) ##### Dependencies - update dependency com.google.api:gax-bom to v2.6.1 ([#​600](https://www.togithub.com/googleapis/java-core/issues/600)) ([a0cff6a](https://www.github.com/googleapis/java-core/commit/a0cff6a83506d1da3a8aacd6eafc39ff1ab11583)) ##### [2.1.8](https://www.github.com/googleapis/java-core/compare/v2.1.7...v2.1.8) (2021-10-15) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.32.2 ([#​593](https://www.togithub.com/googleapis/java-core/issues/593)) ([644fc6f](https://www.github.com/googleapis/java-core/commit/644fc6f728b0791c61d85f34c535c09dff862c1d)) - update dependency com.google.api:api-common to v2.0.4 ([#​585](https://www.togithub.com/googleapis/java-core/issues/585)) ([ad4e4b7](https://www.github.com/googleapis/java-core/commit/ad4e4b7e076d8bd52bf621615301ec810917db43)) - update dependency com.google.api:api-common to v2.0.5 ([#​589](https://www.togithub.com/googleapis/java-core/issues/589)) ([c30cc40](https://www.github.com/googleapis/java-core/commit/c30cc40cd8687f79c7154503ee1f602089d62f2d)) - update dependency com.google.api:gax-bom to v2.6.0 ([#​594](https://www.togithub.com/googleapis/java-core/issues/594)) ([710cbe6](https://www.github.com/googleapis/java-core/commit/710cbe6e5121f118a5f4be327e8eeeceddfa04fb)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.6.0 ([#​578](https://www.togithub.com/googleapis/java-core/issues/578)) ([113b686](https://www.github.com/googleapis/java-core/commit/113b6868f98caa64d713f02729c3f16d878252ff)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.3 ([#​574](https://www.togithub.com/googleapis/java-core/issues/574)) ([338444b](https://www.github.com/googleapis/java-core/commit/338444bd4d169bb7fd41242e790c74596948178b)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.4 ([#​584](https://www.togithub.com/googleapis/java-core/issues/584)) ([57211ce](https://www.github.com/googleapis/java-core/commit/57211ce15e9b1a4c1b7468fed217e4ab46ec0a5d)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.5 ([#​587](https://www.togithub.com/googleapis/java-core/issues/587)) ([55f9f4e](https://www.github.com/googleapis/java-core/commit/55f9f4e084defaf8a243bf21afd67302be802b25)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.6 ([#​590](https://www.togithub.com/googleapis/java-core/issues/590)) ([f534c46](https://www.github.com/googleapis/java-core/commit/f534c462fadb479c6fd934c24ac8cd24e06e2698)) - update dependency com.google.auth:google-auth-library-bom to v1.2.0 ([#​581](https://www.togithub.com/googleapis/java-core/issues/581)) ([c32d2c5](https://www.github.com/googleapis/java-core/commit/c32d2c552dfa04b8e5eab27a115ac10832898473)) - update dependency com.google.auth:google-auth-library-bom to v1.2.1 ([#​591](https://www.togithub.com/googleapis/java-core/issues/591)) ([046f95d](https://www.github.com/googleapis/java-core/commit/046f95d8ed0811dd278c40fcfeb2c042e6535996)) - update dependency com.google.guava:guava-bom to v31 ([#​577](https://www.togithub.com/googleapis/java-core/issues/577)) ([4a987fb](https://www.github.com/googleapis/java-core/commit/4a987fbd3f1bd69b0b923fc9a691fc60908ad1cc)) - update dependency com.google.http-client:google-http-client-bom to v1.40.1 ([#​588](https://www.togithub.com/googleapis/java-core/issues/588)) ([3d36d77](https://www.github.com/googleapis/java-core/commit/3d36d77e6db9856c276d6263036764c60f32b7b3)) - update dependency com.google.protobuf:protobuf-bom to v3.18.1 ([#​583](https://www.togithub.com/googleapis/java-core/issues/583)) ([47da21c](https://www.github.com/googleapis/java-core/commit/47da21c793be9477323a234f7e3beaf6b705cd7d)) ##### [2.1.7](https://www.github.com/googleapis/java-core/compare/v2.1.6...v2.1.7) (2021-09-23) ##### Dependencies - update dependency io.grpc:grpc-bom to v1.41.0 ([#​569](https://www.togithub.com/googleapis/java-core/issues/569)) ([36703e9](https://www.github.com/googleapis/java-core/commit/36703e9a1f2d97d465a13220027a27f813da14a8)) ##### [2.1.6](https://www.github.com/googleapis/java-core/compare/v2.1.5...v2.1.6) (2021-09-21) ##### Dependencies - update dependency com.google.api:gax-bom to v2.5.0 ([#​565](https://www.togithub.com/googleapis/java-core/issues/565)) ([3ce8e28](https://www.github.com/googleapis/java-core/commit/3ce8e28813858ea932dc5c54324441f2f0c52d46)) ##### [2.1.5](https://www.github.com/googleapis/java-core/compare/v2.1.4...v2.1.5) (2021-09-21) ##### Dependencies - downgrading protobuf to 3.17.3 ([#​562](https://www.togithub.com/googleapis/java-core/issues/562)) ([5711b83](https://www.github.com/googleapis/java-core/commit/5711b835a19238df1bfa1f2e4dfc115495a55c9b)) ##### [2.1.4](https://www.github.com/googleapis/java-core/compare/v2.1.3...v2.1.4) (2021-09-15) ##### Dependencies - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.1 ([#​556](https://www.togithub.com/googleapis/java-core/issues/556)) ([095efa1](https://www.github.com/googleapis/java-core/commit/095efa1fc1fffde34c6c38a88fee8f91bd495bfc)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.2 ([#​559](https://www.togithub.com/googleapis/java-core/issues/559)) ([3cda672](https://www.github.com/googleapis/java-core/commit/3cda672059727642d1b90f8bcc6bb34546f6893d)) - update dependency com.google.protobuf:protobuf-bom to v3.18.0 ([#​558](https://www.togithub.com/googleapis/java-core/issues/558)) ([85766e6](https://www.github.com/googleapis/java-core/commit/85766e67f0a9f381593ea2d6e9c8f30fc0ba2993)) ##### [2.1.3](https://www.github.com/googleapis/java-core/compare/v2.1.2...v2.1.3) (2021-09-10) ##### Dependencies - update dependency com.google.api:gax-bom to v2.4.1 ([#​549](https://www.togithub.com/googleapis/java-core/issues/549)) ([0b4be35](https://www.github.com/googleapis/java-core/commit/0b4be350d47cab58f3bb4e53d34e913e736a522b)) ##### [2.1.2](https://www.github.com/googleapis/java-core/compare/v2.1.1...v2.1.2) (2021-08-31) ##### Dependencies - update dependency com.google.api:api-common to v2.0.2 ([#​534](https://www.togithub.com/googleapis/java-core/issues/534)) ([1883c81](https://www.github.com/googleapis/java-core/commit/1883c81cb0fdf2f4b34a3a3a17987206d8c452aa)) - update dependency com.google.api:gax-bom to v2.4.0 ([#​540](https://www.togithub.com/googleapis/java-core/issues/540)) ([06b0d6e](https://www.github.com/googleapis/java-core/commit/06b0d6e3ff3c3b6e2aa440a9f893f9b27e0d66d1)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.5.0 ([#​539](https://www.togithub.com/googleapis/java-core/issues/539)) ([9d5a0b0](https://www.github.com/googleapis/java-core/commit/9d5a0b0918f6a1ab264f1ba272dcd8f22b670a7f)) - update dependency com.google.http-client:google-http-client-bom to v1.40.0 ([#​538](https://www.togithub.com/googleapis/java-core/issues/538)) ([150e07d](https://www.github.com/googleapis/java-core/commit/150e07ddb884d163d0efbcf786f04a713d29ed81)) - update dependency io.grpc:grpc-bom to v1.40.1 ([#​535](https://www.togithub.com/googleapis/java-core/issues/535)) ([3cd48a9](https://www.github.com/googleapis/java-core/commit/3cd48a902691ddddb9df9f74517648ca35b5bfd7)) ##### [2.1.1](https://www.github.com/googleapis/java-core/compare/v2.1.0...v2.1.1) (2021-08-24) ##### Dependencies - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.0 ([#​531](https://www.togithub.com/googleapis/java-core/issues/531)) ([1b27f8c](https://www.github.com/googleapis/java-core/commit/1b27f8cbfaffcc9b19103b471db237f2448d7cb8))
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 749bc5b0a9f..2d3c4cc28b7 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.1.8 + 2.2.0 test tests From da7c392eef3e489d9074eb7f833ac6ad9ca7f99f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 27 Oct 2021 18:18:42 +0200 Subject: [PATCH 120/178] chore(deps): update dependency com.google.cloud:libraries-bom to v24 (#760) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `23.1.0` -> `24.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.0.0/compatibility-slim/23.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.0.0/confidence-slim/23.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 2d3c4cc28b7..440be91d1b1 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 23.1.0 + 24.0.0 pom import From 35a65510ce1203858d56dcf05c59af10ebb5087c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 15 Nov 2021 17:02:15 +0100 Subject: [PATCH 121/178] deps: update dependency com.google.cloud:google-cloud-core to v2.3.0 (#770) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.2.0` -> `2.3.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.0/compatibility-slim/2.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.0/confidence-slim/2.2.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.3.0`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​230-httpswwwgithubcomgoogleapisjava-corecomparev220v230-2021-11-11) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.2.0...v2.3.0) ##### Features - next release from main branch is 2.3.0 ([#​602](https://www.togithub.com/googleapis/java-core/issues/602)) ([34fa5f1](https://www.github.com/googleapis/java-core/commit/34fa5f1e750629d4431d5f97eb8b09ee65ebc016)) ##### Bug Fixes - **java:** java 17 dependency arguments ([#​1266](https://www.togithub.com/googleapis/java-core/issues/1266)) ([#​612](https://www.togithub.com/googleapis/java-core/issues/612)) ([5be3eff](https://www.github.com/googleapis/java-core/commit/5be3eff4041ca39d513979b948afe99f27bb1d20)) ##### Dependencies - update dependency com.google.api:api-common to v2.1.0 ([#​613](https://www.togithub.com/googleapis/java-core/issues/613)) ([62d6ab8](https://www.github.com/googleapis/java-core/commit/62d6ab8b5a7c5edb4482d7afda5b87f4832226ca)) - update dependency com.google.api:gax-bom to v2.7.0 ([#​626](https://www.togithub.com/googleapis/java-core/issues/626)) ([4a1e965](https://www.github.com/googleapis/java-core/commit/4a1e96551e16a5abc5d8f71f9e096a284fc59528)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.7 ([#​604](https://www.togithub.com/googleapis/java-core/issues/604)) ([0d36d59](https://www.github.com/googleapis/java-core/commit/0d36d59e4ff8817ba5984579188bfc6d7745348d)) - update dependency com.google.auth:google-auth-library-bom to v1.2.2 ([#​610](https://www.togithub.com/googleapis/java-core/issues/610)) ([c5e33d8](https://www.github.com/googleapis/java-core/commit/c5e33d87d211c22a93ea2e0de1776e7f2fbf6ef7)) - update dependency com.google.auth:google-auth-library-bom to v1.3.0 ([#​627](https://www.togithub.com/googleapis/java-core/issues/627)) ([f4403b2](https://www.github.com/googleapis/java-core/commit/f4403b2af856cc6ce45e2aab277d7e78baa6ecfe)) - update dependency com.google.code.gson:gson to v2.8.9 ([#​615](https://www.togithub.com/googleapis/java-core/issues/615)) ([ec0e387](https://www.github.com/googleapis/java-core/commit/ec0e387d3c96467218406ef4c5da5e59a11e8b7a)) - update dependency com.google.errorprone:error_prone_annotations to v2.10.0 ([#​618](https://www.togithub.com/googleapis/java-core/issues/618)) ([21139a8](https://www.github.com/googleapis/java-core/commit/21139a83821b12b5312e470c61b45ca76a0b921a)) - update dependency com.google.protobuf:protobuf-bom to v3.19.1 ([#​609](https://www.togithub.com/googleapis/java-core/issues/609)) ([28e6333](https://www.github.com/googleapis/java-core/commit/28e6333080fbe10ad8ecdfeef12d80af204f71fd)) - update dependency io.grpc:grpc-bom to v1.42.0 ([#​619](https://www.togithub.com/googleapis/java-core/issues/619)) ([da4cbd5](https://www.github.com/googleapis/java-core/commit/da4cbd5ccc54a81f89635435a2045cfa0de8d722)) - update dependency org.threeten:threetenbp to v1.5.2 ([#​624](https://www.togithub.com/googleapis/java-core/issues/624)) ([91eec9d](https://www.github.com/googleapis/java-core/commit/91eec9d83285e10cd9ecf3e75cb99b9a9d40cb89))
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 440be91d1b1..1b8dcb329a5 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.2.0 + 2.3.0 test tests From e643ab19170ab881aec8de2d5a93c3a4c2c26498 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Nov 2021 18:59:56 +0100 Subject: [PATCH 122/178] deps: update dependency com.google.cloud:google-cloud-core to v2.3.1 (#772) --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 1b8dcb329a5..41b348fb9fc 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.3.0 + 2.3.1 test tests From 99cd3d30232186098d59f4ed2a49b9ea584a6474 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 3 Dec 2021 21:10:13 +0100 Subject: [PATCH 123/178] deps: update dependency com.google.cloud:google-cloud-core to v2.3.2 (#780) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.3.1` -> `2.3.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.2/compatibility-slim/2.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.2/confidence-slim/2.3.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.3.2`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​232-httpswwwgithubcomgoogleapisjava-corecomparev231v232-2021-12-02) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.3.1...v2.3.2)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 41b348fb9fc..84f1e2bb85d 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.3.1 + 2.3.2 test tests From ef18bea9ef6bce4a38fb82de324d73dac596d3a9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sun, 5 Dec 2021 06:30:24 +0100 Subject: [PATCH 124/178] deps: update dependency com.google.cloud:google-cloud-core to v2.3.3 (#784) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.3.2` -> `2.3.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.3/compatibility-slim/2.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.3/confidence-slim/2.3.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.3.3`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​233-httpswwwgithubcomgoogleapisjava-corecomparev232v233-2021-12-02) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.3.2...v2.3.3)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 84f1e2bb85d..cb441fc3862 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.3.2 + 2.3.3 test tests From e5e4a44a47a51d45ac5d71a4288c2f967985b68b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 9 Dec 2021 00:10:19 +0100 Subject: [PATCH 125/178] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.2.0 (#779) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud.samples:shared-configuration](https://togithub.com/GoogleCloudPlatform/java-repo-tools) | `1.0.23` -> `1.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud.samples:shared-configuration/1.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud.samples:shared-configuration/1.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud.samples:shared-configuration/1.2.0/compatibility-slim/1.0.23)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud.samples:shared-configuration/1.2.0/confidence-slim/1.0.23)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
GoogleCloudPlatform/java-repo-tools ### [`v1.2.0`](https://togithub.com/GoogleCloudPlatform/java-repo-tools/compare/v1.0.24...v1.2.0) [Compare Source](https://togithub.com/GoogleCloudPlatform/java-repo-tools/compare/v1.0.24...v1.2.0) ### [`v1.0.24`](https://togithub.com/GoogleCloudPlatform/java-repo-tools/compare/v1.0.23...v1.0.24) [Compare Source](https://togithub.com/GoogleCloudPlatform/java-repo-tools/compare/v1.0.23...v1.0.24)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index cb441fc3862..d1439f4b0ac 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.23 + 1.2.0 From 9df8ec5068ad79561f6bd8f0d5e94e136742bea3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 9 Dec 2021 00:12:28 +0100 Subject: [PATCH 126/178] chore(deps): update dependency com.google.cloud:libraries-bom to v24.1.0 (#796) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `24.0.0` -> `24.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.1.0/compatibility-slim/24.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.1.0/confidence-slim/24.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index d1439f4b0ac..a36d9cc11d6 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 24.0.0 + 24.1.0 pom import From 45973facf4bd84823a280b19fe64cbc908426719 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 28 Dec 2021 22:12:14 +0100 Subject: [PATCH 127/178] chore(deps): update dependency com.google.cloud:libraries-bom to v24.1.1 (#801) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `24.1.0` -> `24.1.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.1.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.1.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.1.1/compatibility-slim/24.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.1.1/confidence-slim/24.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index a36d9cc11d6..2303a9bcb19 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 24.1.0 + 24.1.1 pom import From 3ecaffd81113ec66277cf50a0840bfa67ad8efd8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 7 Jan 2022 04:28:27 +0100 Subject: [PATCH 128/178] chore(deps): update dependency com.google.cloud:libraries-bom to v24.1.2 (#807) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `24.1.1` -> `24.1.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.1.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.1.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.1.2/compatibility-slim/24.1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.1.2/confidence-slim/24.1.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 2303a9bcb19..39350b400c6 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 24.1.1 + 24.1.2 pom import From 65a5c700cb89cbce8bed2d66a391e75d3fb71b8a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 7 Jan 2022 04:32:25 +0100 Subject: [PATCH 129/178] deps: update dependency com.google.cloud:google-cloud-core to v2.3.4 (#809) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.3.3` -> `2.3.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.4/compatibility-slim/2.3.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.4/confidence-slim/2.3.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.3.4`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​234-httpswwwgithubcomgoogleapisjava-corecomparev233v234-2022-01-06) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.3.3...v2.3.4)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 39350b400c6..dd2a70ca97f 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.3.3 + 2.3.4 test tests From f958f603617e081ffcce5e7af9734ce0510429fe Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 7 Jan 2022 19:28:24 +0100 Subject: [PATCH 130/178] deps: update dependency com.google.cloud:google-cloud-core to v2.3.5 (#811) --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index dd2a70ca97f..28b65ba8766 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.3.4 + 2.3.5 test tests From 666e816de457a472f066a55051ab63563927031c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 12 Jan 2022 17:58:14 +0100 Subject: [PATCH 131/178] chore(deps): update dependency com.google.cloud:libraries-bom to v24.2.0 (#819) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `24.1.2` -> `24.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.2.0/compatibility-slim/24.1.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.2.0/confidence-slim/24.1.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 28b65ba8766..3c1c69f4d37 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 24.1.2 + 24.2.0 pom import From da325c4851cf383b90c21134c8dff97a24a671a5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Feb 2022 05:48:36 +0100 Subject: [PATCH 132/178] deps: update dependency com.google.cloud:google-cloud-core to v2.4.0 (#833) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.3.5` -> `2.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.4.0/compatibility-slim/2.3.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.4.0/confidence-slim/2.3.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.4.0`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​240-httpsgithubcomgoogleapisjava-corecomparev235v240-2022-01-28) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.3.5...v2.4.0) ##### Features - **java:** Add native-image support classes to java-core module ([#​637](https://togithub.com/googleapis/java-core/issues/637)) ([154bc18](https://togithub.com/googleapis/java-core/commit/154bc18ba86328d29665c502db1d35e265c92bbf)) ##### Bug Fixes - **java:** initialize LoggerFactory at build time ([#​685](https://togithub.com/googleapis/java-core/issues/685)) ([eb3aba2](https://togithub.com/googleapis/java-core/commit/eb3aba2455a0ab6ffec2c6beb3f3cbb4bcb6008d)) ##### Dependencies - **java:** update actions/github-script action to v5 ([#​1339](https://togithub.com/googleapis/java-core/issues/1339)) ([#​689](https://togithub.com/googleapis/java-core/issues/689)) ([eb462c7](https://togithub.com/googleapis/java-core/commit/eb462c7b1a005ce37d1be58900a244f6b807e5d5)) - update dependency com.google.api-client:google-api-client-bom to v1.33.1 ([#​684](https://togithub.com/googleapis/java-core/issues/684)) ([9ff47e6](https://togithub.com/googleapis/java-core/commit/9ff47e68d0c435d7636d89b03369aabbdfe3663b)) - update dependency com.google.api:api-common to v2.1.3 ([#​694](https://togithub.com/googleapis/java-core/issues/694)) ([684ae80](https://togithub.com/googleapis/java-core/commit/684ae805b8d25747830ce9266fd51a287c018cc9)) - update dependency com.google.api:gax-bom to v2.11.0 ([#​677](https://togithub.com/googleapis/java-core/issues/677)) ([1a578bd](https://togithub.com/googleapis/java-core/commit/1a578bdee2fa229ffbdd8fdde3d66d7e29dedf98)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.7.2 ([#​695](https://togithub.com/googleapis/java-core/issues/695)) ([1085d2c](https://togithub.com/googleapis/java-core/commit/1085d2cb1d7e8391f981d1f4b97c7724b0107e94)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.1 ([#​667](https://togithub.com/googleapis/java-core/issues/667)) ([b57ec04](https://togithub.com/googleapis/java-core/commit/b57ec047234a1a044458980a8cf7de6a3156bf41)) - update dependency com.google.auth:google-auth-library-bom to v1.4.0 ([#​681](https://togithub.com/googleapis/java-core/issues/681)) ([3273b1e](https://togithub.com/googleapis/java-core/commit/3273b1ed0b1db610790e7832a6c92797a341cc7d)) - update dependency com.google.errorprone:error_prone_annotations to v2.11.0 ([#​687](https://togithub.com/googleapis/java-core/issues/687)) ([dc4d18d](https://togithub.com/googleapis/java-core/commit/dc4d18de86695fddbcb9d221cc53fdca3faf09f5)) - update dependency com.google.http-client:google-http-client-bom to v1.41.1 ([#​683](https://togithub.com/googleapis/java-core/issues/683)) ([45cb753](https://togithub.com/googleapis/java-core/commit/45cb7535151cfcffa282b4c8d9cd56265cca2ece)) - update dependency com.google.http-client:google-http-client-bom to v1.41.2 ([#​696](https://togithub.com/googleapis/java-core/issues/696)) ([f4875c0](https://togithub.com/googleapis/java-core/commit/f4875c0deecfea3728925e5ee0ef95ee90852301)) - update dependency com.google.protobuf:protobuf-bom to v3.19.3 ([#​674](https://togithub.com/googleapis/java-core/issues/674)) ([c54f997](https://togithub.com/googleapis/java-core/commit/c54f9973b71c91c1fde0a1d128957cd022a27902)) - update dependency io.grpc:grpc-bom to v1.43.2 ([#​665](https://togithub.com/googleapis/java-core/issues/665)) ([752ba6e](https://togithub.com/googleapis/java-core/commit/752ba6e384c382d0e39d8335640eaaea2beee9e1)) - update dependency io.grpc:grpc-bom to v1.44.0 ([#​693](https://togithub.com/googleapis/java-core/issues/693)) ([ed85045](https://togithub.com/googleapis/java-core/commit/ed850455995fc5b5c2dae3595116721316f63698)) - update dependency org.easymock:easymock to v4 ([#​668](https://togithub.com/googleapis/java-core/issues/668)) ([c36e976](https://togithub.com/googleapis/java-core/commit/c36e976c0379c1119dfe643dc3131f2e52130c5c)) - update dependency org.graalvm.sdk:graal-sdk to v22 ([#​680](https://togithub.com/googleapis/java-core/issues/680)) ([0f535f8](https://togithub.com/googleapis/java-core/commit/0f535f869f7ce68192f821d0f3361634676dddf7)) - update graalvm.version to v21.3.1 ([#​679](https://togithub.com/googleapis/java-core/issues/679)) ([dfb305a](https://togithub.com/googleapis/java-core/commit/dfb305acaf9d6db91727e42509fc6b043f07a5ce)) - update graalvm.version to v22.0.0.2 ([#​691](https://togithub.com/googleapis/java-core/issues/691)) ([780b734](https://togithub.com/googleapis/java-core/commit/780b734bb4f26fab49065f303d102033b2c3a3d0)) - update opencensus.version to v0.30.0 ([#​646](https://togithub.com/googleapis/java-core/issues/646)) ([c2caaa7](https://togithub.com/googleapis/java-core/commit/c2caaa7cb2c094318e611ba2c082a8a31fee21ea)) - update opencensus.version to v0.31.0 ([#​692](https://togithub.com/googleapis/java-core/issues/692)) ([bdf7d4e](https://togithub.com/googleapis/java-core/commit/bdf7d4ec05c5314e5f2667287ed3e7cb83667c35)) ##### [2.3.5](https://www.github.com/googleapis/java-core/compare/v2.3.4...v2.3.5) (2022-01-06) ##### Dependencies - update dependency com.google.api:api-common to v2.1.2 ([#​661](https://www.togithub.com/googleapis/java-core/issues/661)) ([0a136d8](https://www.github.com/googleapis/java-core/commit/0a136d8122f6c5042808cbfee9e58dc53e368da6)) - update gax.version to v2.8.1 ([#​663](https://www.togithub.com/googleapis/java-core/issues/663)) ([7c09aa5](https://www.github.com/googleapis/java-core/commit/7c09aa5729408a395f1a8fae94744f9d33638b1a)) ##### [2.3.4](https://www.github.com/googleapis/java-core/compare/v2.3.3...v2.3.4) (2022-01-06) ##### Bug Fixes - fixed compilation warnings from error prone ([e6e7040](https://www.github.com/googleapis/java-core/commit/e6e7040305b19ec9d5468f4cd44d7a29d0d5e470)) - **java:** add -ntp flag to native image testing command ([#​1299](https://www.togithub.com/googleapis/java-core/issues/1299)) ([#​643](https://www.togithub.com/googleapis/java-core/issues/643)) ([0f4c1db](https://www.github.com/googleapis/java-core/commit/0f4c1dbbd89d82f5cc86c2b684d6645699b835b3)) - **java:** run Maven in plain console-friendly mode ([#​1301](https://www.togithub.com/googleapis/java-core/issues/1301)) ([#​652](https://www.togithub.com/googleapis/java-core/issues/652)) ([ab2fa93](https://www.github.com/googleapis/java-core/commit/ab2fa93ba0434f593abb063afad44dc923bf462a)) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.33.0 ([#​658](https://www.togithub.com/googleapis/java-core/issues/658)) ([d417ebd](https://www.github.com/googleapis/java-core/commit/d417ebd7bedc9d4e983f32c87a8d61163502cf1d)) - update dependency com.google.api:gax-bom to v2.8.0 ([#​659](https://www.togithub.com/googleapis/java-core/issues/659)) ([91717ab](https://www.github.com/googleapis/java-core/commit/91717ab9361a31976727b26d08837e8b3838bdb4)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.7.1 ([#​656](https://www.togithub.com/googleapis/java-core/issues/656)) ([ecfbdc1](https://www.github.com/googleapis/java-core/commit/ecfbdc181087d37d38f7911b9962953f5d246434)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.0 ([#​645](https://www.togithub.com/googleapis/java-core/issues/645)) ([3926b54](https://www.github.com/googleapis/java-core/commit/3926b5423893635dd709b8fc6037fb896396ff13)) - update dependency com.google.http-client:google-http-client-bom to v1.41.0 ([#​657](https://www.togithub.com/googleapis/java-core/issues/657)) ([41a5120](https://www.github.com/googleapis/java-core/commit/41a51201a3712f71f6cf3be3c29db68360b2405f)) - update dependency com.google.protobuf:protobuf-bom to v3.19.2 ([#​655](https://www.togithub.com/googleapis/java-core/issues/655)) ([eb6c037](https://www.github.com/googleapis/java-core/commit/eb6c03729af41e6d7bd9db80644b8ddfd22e78ec)) - update dependency io.grpc:grpc-bom to v1.43.1 ([#​647](https://www.togithub.com/googleapis/java-core/issues/647)) ([275b882](https://www.github.com/googleapis/java-core/commit/275b882918f7625daeb3e98ab26b7b0a2f2cdb7b)) ##### [2.3.3](https://www.github.com/googleapis/java-core/compare/v2.3.2...v2.3.3) (2021-12-02) ##### Dependencies - update dependency com.google.api:gax-bom to v2.7.1 ([#​640](https://www.togithub.com/googleapis/java-core/issues/640)) ([18e033b](https://www.github.com/googleapis/java-core/commit/18e033bdafe536a42ada9f93b0a2b502caea0bcf)) ##### [2.3.2](https://www.github.com/googleapis/java-core/compare/v2.3.1...v2.3.2) (2021-12-02) ##### Dependencies - update dependency com.google.api:api-common to v2.1.1 ([#​632](https://www.togithub.com/googleapis/java-core/issues/632)) ([b9bb47a](https://www.github.com/googleapis/java-core/commit/b9bb47a0b0a6b132c516361d23750a92a32e53be)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.7.0 ([#​638](https://www.togithub.com/googleapis/java-core/issues/638)) ([74862a8](https://www.github.com/googleapis/java-core/commit/74862a8864eb7bffe6659d1e2a261dd5b934d6ff)) ##### [2.3.1](https://www.github.com/googleapis/java-core/compare/v2.3.0...v2.3.1) (2021-11-15) ##### Dependencies - update dependency io.grpc:grpc-bom to v1.42.1 ([#​629](https://www.togithub.com/googleapis/java-core/issues/629)) ([85fcd99](https://www.github.com/googleapis/java-core/commit/85fcd99237d7526b1b373d07204c4114c49b08b8))
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 3c1c69f4d37..3b70d6e1a4f 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.3.5 + 2.4.0 test tests From 7e4ba5ede08c4111345de5c92736865a05aa12ef Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 8 Feb 2022 23:08:56 +0100 Subject: [PATCH 133/178] chore(deps): update dependency com.google.cloud:libraries-bom to v24.3.0 (#843) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java)) | `24.2.0` -> `24.3.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.3.0/compatibility-slim/24.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.3.0/confidence-slim/24.2.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 3b70d6e1a4f..bdbbc251399 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 24.2.0 + 24.3.0 pom import From 26f79f9ed00baf05bdeac871e1553ebf2a759283 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 9 Feb 2022 20:32:37 +0100 Subject: [PATCH 134/178] deps: update dependency com.google.cloud:google-cloud-core to v2.5.0 (#838) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * deps: update dependency com.google.cloud:google-cloud-core to v2.5.0 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index bdbbc251399..c9644b2ddef 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.4.0 + 2.5.0 test tests From 12f028045da2b3c6d654a5577c1f5ed0d32f71a0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 10 Feb 2022 17:48:41 +0100 Subject: [PATCH 135/178] deps: update dependency com.google.cloud:google-cloud-core to v2.5.1 (#845) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.5.0` -> `2.5.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.1/compatibility-slim/2.5.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.1/confidence-slim/2.5.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.5.1`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​251-httpsgithubcomgoogleapisjava-corecomparev250v251-2022-02-08) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.5.0...v2.5.1)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index c9644b2ddef..8a57fde741c 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.5.0 + 2.5.1 test tests From 81f8346c6bcfb18934439803f84a307806914362 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 11 Feb 2022 20:41:14 +0100 Subject: [PATCH 136/178] deps: update dependency com.google.cloud:google-cloud-core to v2.5.3 (#847) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.5.1` -> `2.5.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.3/compatibility-slim/2.5.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.3/confidence-slim/2.5.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.5.3`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​253-httpsgithubcomgoogleapisjava-corecomparev252v253-2022-02-10) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.5.2...v2.5.3) ### [`v2.5.2`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​252-httpsgithubcomgoogleapisjava-corecomparev251v252-2022-02-09) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.5.1...v2.5.2)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 8a57fde741c..95da64b17e7 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.5.1 + 2.5.3 test tests From 0678682d9abee66ced5776787fcbd8370680f4f3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 15 Feb 2022 19:52:52 +0100 Subject: [PATCH 137/178] deps: update dependency com.google.cloud:google-cloud-core to v2.5.4 (#854) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.5.3` -> `2.5.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.4/compatibility-slim/2.5.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.4/confidence-slim/2.5.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.5.4`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​254-httpsgithubcomgoogleapisjava-corecomparev253v254-2022-02-11) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.5.3...v2.5.4)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 95da64b17e7..02a976f304f 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.5.3 + 2.5.4 test tests From 5071cb527287a5141b7e36a2f8571f6176176588 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 1 Mar 2022 03:42:26 +0100 Subject: [PATCH 138/178] deps: update dependency com.google.cloud:google-cloud-core to v2.5.5 (#867) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.5.4` -> `2.5.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.5/compatibility-slim/2.5.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.5/confidence-slim/2.5.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.5.5`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​255-httpsgithubcomgoogleapisjava-corecomparev254v255-2022-02-28) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.5.4...v2.5.5)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 02a976f304f..16202c8a2d5 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.5.4 + 2.5.5 test tests From ada10841848e4659746021886715df3a7282eba8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 3 Mar 2022 02:40:35 +0100 Subject: [PATCH 139/178] chore(deps): update dependency com.google.cloud:libraries-bom to v24.4.0 (#874) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java)) | `24.3.0` -> `24.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.4.0/compatibility-slim/24.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.4.0/confidence-slim/24.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 16202c8a2d5..5ec57bfd4d1 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 24.3.0 + 24.4.0 pom import From 99f089862ba22a27342bb7f9b42f9762c6f948d1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 3 Mar 2022 19:34:36 +0100 Subject: [PATCH 140/178] deps: update dependency com.google.cloud:google-cloud-core to v2.5.6 (#872) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.5.5` -> `2.5.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.6/compatibility-slim/2.5.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.6/confidence-slim/2.5.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.5.6`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​256-httpsgithubcomgoogleapisjava-corecomparev255v256-2022-03-01) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.5.5...v2.5.6)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 5ec57bfd4d1..eb8f8364d7d 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.5.5 + 2.5.6 test tests From 15cf7fb6c5a616445c217b19161bdbc3042534d3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 9 Mar 2022 18:30:25 +0100 Subject: [PATCH 141/178] deps: update dependency com.google.cloud:google-cloud-core to v2.5.8 (#883) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.5.6` -> `2.5.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.8/compatibility-slim/2.5.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.8/confidence-slim/2.5.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.5.8`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​258-httpsgithubcomgoogleapisjava-corecomparev257v258-2022-03-08) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.5.7...v2.5.8) ### [`v2.5.7`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​257-httpsgithubcomgoogleapisjava-corecomparev256v257-2022-03-08) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.5.6...v2.5.7)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index eb8f8364d7d..167cdbfe018 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.5.6 + 2.5.8 test tests From 086842ef47eb28f7e55be376acb841fb4bddb5d9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 10 Mar 2022 23:26:30 +0100 Subject: [PATCH 142/178] deps: update dependency com.google.cloud:google-cloud-core to v2.5.9 (#886) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.5.8` -> `2.5.9` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.9/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.9/compatibility-slim/2.5.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.9/confidence-slim/2.5.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.5.9`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​259-httpsgithubcomgoogleapisjava-corecomparev258v259-2022-03-09) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.5.8...v2.5.9)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 167cdbfe018..92d1295a185 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.5.8 + 2.5.9 test tests From e463aaf44d867d84c3aa3c4b686acebeb0fcf810 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 14 Mar 2022 20:04:27 +0100 Subject: [PATCH 143/178] chore(deps): update dependency com.google.cloud:libraries-bom to v25 (#892) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java)) | `24.4.0` -> `25.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.0.0/compatibility-slim/24.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.0.0/confidence-slim/24.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 92d1295a185..e42e936aa96 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 24.4.0 + 25.0.0 pom import From fe8eb7d352334fc12bff96ab3598fb9dc42f58eb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 14 Mar 2022 20:06:19 +0100 Subject: [PATCH 144/178] deps: update dependency com.google.cloud:google-cloud-core to v2.5.10 (#891) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.5.9` -> `2.5.10` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.10/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.10/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.10/compatibility-slim/2.5.9)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.10/confidence-slim/2.5.9)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.5.10`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​2510-httpsgithubcomgoogleapisjava-corecomparev259v2510-2022-03-10) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.5.9...v2.5.10)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index e42e936aa96..878deb2dec7 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.5.9 + 2.5.10 test tests From c3f1176d4fb25c184aa2bfc88038ef1c6a24b1b9 Mon Sep 17 00:00:00 2001 From: Jiaqi Liu Date: Thu, 17 Mar 2022 10:10:30 -0700 Subject: [PATCH 145/178] samples: add sample code for ConversationProfile, Conversation and Participant (#832) Co-authored-by: Owl Bot Co-authored-by: Les Vogel --- .../dialogflow/ConversationManagement.java | 68 +++++++++ .../ConversationProfileManagement.java | 134 ++++++++++++++++++ .../dialogflow/ParticipantManagement.java | 62 ++++++++ .../CreateConversationProfileTest.java | 109 ++++++++++++++ .../dialogflow/CreateConversationTest.java | 104 ++++++++++++++ .../dialogflow/CreateParticipantTest.java | 107 ++++++++++++++ 6 files changed, 584 insertions(+) create mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/ConversationManagement.java create mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/ConversationProfileManagement.java create mode 100644 dialogflow/snippets/src/main/java/com/example/dialogflow/ParticipantManagement.java create mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/CreateConversationProfileTest.java create mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/CreateConversationTest.java create mode 100644 dialogflow/snippets/src/test/java/com/example/dialogflow/CreateParticipantTest.java diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/ConversationManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/ConversationManagement.java new file mode 100644 index 00000000000..fd58b4122e0 --- /dev/null +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/ConversationManagement.java @@ -0,0 +1,68 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +// [START dialogflow_create_conversation] + +import com.google.api.gax.rpc.ApiException; +import com.google.cloud.dialogflow.v2.Conversation; +import com.google.cloud.dialogflow.v2.ConversationProfileName; +import com.google.cloud.dialogflow.v2.ConversationsClient; +import com.google.cloud.dialogflow.v2.LocationName; +import java.io.IOException; + +public class ConversationManagement { + + public static void main(String[] args) throws IOException { + // TODO(developer): Replace these variables before running the sample. + String projectId = "my-project-id"; + String location = "my-location"; + + // Set conversation profile id for the new conversation. + // See com.example.dialogflow.ConversationProfileManagement sample code for how to create a + // conversation profile. You can also create a conversation profile using Agent Assist console, + // https://cloud.google.com/agent-assist/docs/conversation-profile. + String conversationProfileId = "my-conversation-profile-id"; + + // Create a conversation + createConversation(projectId, location, conversationProfileId); + } + + public static void createConversation( + String projectId, String location, String conversationProfileId) + throws ApiException, IOException { + try (ConversationsClient conversationsClient = ConversationsClient.create()) { + LocationName locationName = LocationName.of(projectId, location); + ConversationProfileName conversationProfileName = + ConversationProfileName.ofProjectLocationConversationProfileName( + projectId, location, conversationProfileId); + Conversation conversation = + Conversation.newBuilder() + .setConversationProfile(conversationProfileName.toString()) + .build(); + Conversation newConversation = + conversationsClient.createConversation(locationName, conversation); + System.out.println("===================="); + System.out.println("Conversation Created:"); + System.out.format("Life Cycle State: %s\n", newConversation.getLifecycleState()); + System.out.format( + "Conversation Profile Name: %s\n", newConversation.getConversationProfile()); + System.out.format("Name: %s\n", newConversation.getName()); + } + } +} +// [END dialogflow_create_conversation] diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/ConversationProfileManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/ConversationProfileManagement.java new file mode 100644 index 00000000000..54a025a16a5 --- /dev/null +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/ConversationProfileManagement.java @@ -0,0 +1,134 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +// [START dialogflow_create_conversation_profile_article_suggestion] + +import com.google.api.gax.rpc.ApiException; +import com.google.cloud.dialogflow.v2.ConversationProfile; +import com.google.cloud.dialogflow.v2.ConversationProfilesClient; +import com.google.cloud.dialogflow.v2.CreateConversationProfileRequest; +import com.google.cloud.dialogflow.v2.HumanAgentAssistantConfig; +import com.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig; +import com.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig; +import com.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig; +import com.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource; +import com.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionTriggerSettings; +import com.google.cloud.dialogflow.v2.KnowledgeBaseName; +import com.google.cloud.dialogflow.v2.LocationName; +import com.google.cloud.dialogflow.v2.SuggestionFeature; +import com.google.cloud.dialogflow.v2.SuggestionFeature.Type; +import java.io.IOException; +import java.util.Optional; + +public class ConversationProfileManagement { + + public static void main(String[] args) throws IOException { + // TODO(developer): Replace these variables before running the sample. + String projectId = "my-project-id"; + String location = "my-location"; + + // Set display name of the new conversation profile + String conversationProfileDisplayName = "my-conversation-profile-display-name"; + + // Set knowledge base id for Article Suggestion feature. + // See details about how to create a knowledge base here, + // https://cloud.google.com/agent-assist/docs/article-suggestion. + String articleSuggestionKnowledgeBaseId = "my-article-suggestion-knowledge-base-id"; + + // Create a conversation profile + createConversationProfileArticleSuggestion( + projectId, + conversationProfileDisplayName, + location, + Optional.of(articleSuggestionKnowledgeBaseId)); + } + + // Set suggestion trigger with no_smalltalk and only_send_user both true, which means that + // the suggestion is not triggered if last utterance is small talk and is only triggered + // if participant role of last utterance is END_USER. + public static SuggestionTriggerSettings buildSuggestionTriggerSettings() { + return SuggestionTriggerSettings.newBuilder().setNoSmalltalk(true).setOnlyEndUser(true).build(); + } + + // Set the configuration for suggestion query, including the knowledge base query source + // and maximum number of results to return. + public static SuggestionQueryConfig buildSuggestionQueryConfig( + KnowledgeBaseName knowledgeBaseName) { + return SuggestionQueryConfig.newBuilder() + .setKnowledgeBaseQuerySource( + KnowledgeBaseQuerySource.newBuilder().addKnowledgeBases(knowledgeBaseName.toString())) + .setMaxResults(3) + .build(); + } + + // Create a conversation profile with given values about Article Suggestion. + public static void createConversationProfileArticleSuggestion( + String projectId, + String displayName, + String location, + Optional articleSuggestionKnowledgeBaseId) + throws ApiException, IOException { + try (ConversationProfilesClient conversationProfilesClient = + ConversationProfilesClient.create()) { + // Create a builder for agent assistance configuration + SuggestionConfig.Builder suggestionConfigBuilder = SuggestionConfig.newBuilder(); + + // Add knowledge base for Article Suggestion feature + if (articleSuggestionKnowledgeBaseId.isPresent()) { + KnowledgeBaseName articleSuggestionKbName = + KnowledgeBaseName.of(projectId, articleSuggestionKnowledgeBaseId.get()); + + // Build configuration for Article Suggestion feature + SuggestionFeatureConfig articleSuggestionFeatureConfig = + SuggestionFeatureConfig.newBuilder() + .setSuggestionFeature( + SuggestionFeature.newBuilder().setType(Type.ARTICLE_SUGGESTION).build()) + .setSuggestionTriggerSettings(buildSuggestionTriggerSettings()) + .setQueryConfig(buildSuggestionQueryConfig(articleSuggestionKbName)) + .build(); + + // Add Article Suggestion feature to agent assistance configuration + suggestionConfigBuilder.addFeatureConfigs(articleSuggestionFeatureConfig); + } + + LocationName locationName = LocationName.of(projectId, location); + // Set a conversation profile with target configurations + ConversationProfile targetConversationProfile = + ConversationProfile.newBuilder() + .setDisplayName(displayName) + .setLanguageCode("en-US") + .setHumanAgentAssistantConfig( + HumanAgentAssistantConfig.newBuilder() + .setHumanAgentSuggestionConfig(suggestionConfigBuilder.build())) + .build(); + + // Create a conversation profile + ConversationProfile createdConversationProfile = + conversationProfilesClient.createConversationProfile( + CreateConversationProfileRequest.newBuilder() + .setParent(locationName.toString()) + .setConversationProfile(targetConversationProfile) + .build()); + System.out.println("===================="); + System.out.println("Conversation Profile created:"); + System.out.format("Display name: %s\n", createdConversationProfile.getDisplayName()); + System.out.format("Name: %s\n", createdConversationProfile.getName()); + } + } +} +// [END dialogflow_create_conversation_profile_article_suggestion] diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/ParticipantManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/ParticipantManagement.java new file mode 100644 index 00000000000..2592d705d9f --- /dev/null +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/ParticipantManagement.java @@ -0,0 +1,62 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +// [START dialogflow_create_participant] + +import com.google.api.gax.rpc.ApiException; +import com.google.cloud.dialogflow.v2.ConversationName; +import com.google.cloud.dialogflow.v2.Participant; +import com.google.cloud.dialogflow.v2.Participant.Role; +import com.google.cloud.dialogflow.v2.ParticipantsClient; +import java.io.IOException; + +public class ParticipantManagement { + + public static void main(String[] args) throws IOException { + // TODO(developer): Replace these variables before running the sample. + String projectId = "my-project-id"; + String location = "my-location"; + + // Set conversation id for the new participant, + // See com.example.dialogflow.ConversationManagement sample code + // for how to create a conversation. + String conversationId = "my-conversation-id"; + Role role = Role.END_USER; + + // Create a participant + createParticipant(projectId, location, conversationId, role); + } + + // Create a participant with given role + public static void createParticipant( + String projectId, String location, String conversationId, Role role) + throws ApiException, IOException { + try (ParticipantsClient participantsClient = ParticipantsClient.create()) { + ConversationName conversationName = + ConversationName.ofProjectLocationConversationName(projectId, location, conversationId); + Participant participant = Participant.newBuilder().setRole(role).build(); + Participant newParticipant = + participantsClient.createParticipant(conversationName, participant); + System.out.println("===================="); + System.out.println("Participant Created:"); + System.out.format("Role: %s\n", newParticipant.getRole()); + System.out.format("Name: %s\n", newParticipant.getName()); + } + } +} +// [END dialogflow_create_participant] diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateConversationProfileTest.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateConversationProfileTest.java new file mode 100644 index 00000000000..8c4a2e734a7 --- /dev/null +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateConversationProfileTest.java @@ -0,0 +1,109 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import static com.google.common.truth.Truth.assertThat; +import static org.junit.Assert.assertNotNull; + +import com.google.cloud.dialogflow.v2.ConversationProfilesClient; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.PrintStream; +import java.util.Optional; +import java.util.UUID; +import org.junit.After; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +@RunWith(JUnit4.class) +@SuppressWarnings("checkstyle:abbreviationaswordinname") +public class CreateConversationProfileTest { + + private static final String PROJECT_ID = System.getenv("GOOGLE_CLOUD_PROJECT"); + private static final String LOCATION = "global"; + private static final String NAME_PREFIX_IN_OUTPUT = "Name: "; + private static String conversationProfileNameToDelete = null; + private ByteArrayOutputStream bout; + private PrintStream newOutputStream; + private PrintStream originalOutputStream; + + private static void requireEnvVar(String varName) { + assertNotNull(System.getenv(varName)); + } + + // Extract the name of a newly created resource from latest "Name: %s\n" in sample code output + private static String getResourceNameFromOutputString(String output) { + return output.substring( + output.lastIndexOf(NAME_PREFIX_IN_OUTPUT) + NAME_PREFIX_IN_OUTPUT.length(), + output.length() - 1); + } + + private static void deleteConversationProfile(String conversationProfileName) throws IOException { + try (ConversationProfilesClient conversationProfilesClient = + ConversationProfilesClient.create()) { + conversationProfilesClient.deleteConversationProfile(conversationProfileName); + } + } + + @BeforeClass + public static void checkRequirements() { + requireEnvVar("GOOGLE_APPLICATION_CREDENTIALS"); + requireEnvVar("GOOGLE_CLOUD_PROJECT"); + } + + @Before + public void setUp() { + originalOutputStream = System.out; + bout = new ByteArrayOutputStream(); + newOutputStream = new PrintStream(bout); + System.setOut(newOutputStream); + } + + @After + public void tearDown() throws IOException { + if (conversationProfileNameToDelete != null) { + deleteConversationProfile(conversationProfileNameToDelete); + conversationProfileNameToDelete = null; + } + + System.setOut(originalOutputStream); + } + + @Test + public void testCreateConversationProfileArticleSuggestion() throws IOException { + String conversationProfileDisplayName = UUID.randomUUID().toString(); + + // Create a conversation profile + String articleSuggestionKnowledgeBaseId = UUID.randomUUID().toString(); + ConversationProfileManagement.createConversationProfileArticleSuggestion( + PROJECT_ID, + conversationProfileDisplayName, + LOCATION, + Optional.of(articleSuggestionKnowledgeBaseId)); + + String output = bout.toString(); + conversationProfileNameToDelete = getResourceNameFromOutputString(output); + assertThat(output).contains(conversationProfileDisplayName); + + // Delete the conversation profile + deleteConversationProfile(conversationProfileNameToDelete); + conversationProfileNameToDelete = null; + } +} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateConversationTest.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateConversationTest.java new file mode 100644 index 00000000000..d172084eb98 --- /dev/null +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateConversationTest.java @@ -0,0 +1,104 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import static com.google.common.truth.Truth.assertThat; +import static org.junit.Assert.assertNotNull; + +import com.google.api.gax.rpc.ApiException; +import com.google.cloud.dialogflow.v2.ConversationProfileName; +import com.google.cloud.dialogflow.v2.ConversationProfilesClient; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.PrintStream; +import java.util.Optional; +import java.util.UUID; +import org.junit.After; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +@RunWith(JUnit4.class) +@SuppressWarnings("checkstyle:abbreviationaswordinname") +public class CreateConversationTest { + private static final String PROJECT_ID = System.getenv("GOOGLE_CLOUD_PROJECT"); + private static final String CONVERSATION_PROFILE_DISPLAY_NAME = UUID.randomUUID().toString(); + private static final String LOCATION = "global"; + private static final String NAME_PREFIX_IN_OUTPUT = "Name: "; + private ConversationProfileName conversationProfileName; + private ByteArrayOutputStream bout; + private PrintStream newOutputStream; + private PrintStream originalOutputStream; + + private static void requireEnvVar(String varName) { + assertNotNull(System.getenv(varName)); + } + + // Extract the name of a newly created resource from latest "Name: %s\n" in sample code output + private static String getResourceNameFromOutputString(String output) { + return output.substring( + output.lastIndexOf(NAME_PREFIX_IN_OUTPUT) + NAME_PREFIX_IN_OUTPUT.length(), + output.length() - 1); + } + + @BeforeClass + public static void checkRequirements() { + requireEnvVar("GOOGLE_APPLICATION_CREDENTIALS"); + requireEnvVar("GOOGLE_CLOUD_PROJECT"); + } + + @Before + public void setUp() throws IOException { + originalOutputStream = System.out; + bout = new ByteArrayOutputStream(); + newOutputStream = new PrintStream(bout); + System.setOut(newOutputStream); + + // Create a conversation profile + ConversationProfileManagement.createConversationProfileArticleSuggestion( + PROJECT_ID, CONVERSATION_PROFILE_DISPLAY_NAME, LOCATION, Optional.empty()); + String output = bout.toString(); + assertThat(output).contains(NAME_PREFIX_IN_OUTPUT); + conversationProfileName = + ConversationProfileName.parse(getResourceNameFromOutputString(output)); + } + + @After + public void tearDown() throws IOException { + // Delete the created conversation profile + try (ConversationProfilesClient conversationProfilesClient = + ConversationProfilesClient.create()) { + conversationProfilesClient.deleteConversationProfile(conversationProfileName.toString()); + } + + System.setOut(originalOutputStream); + } + + @Test + public void testCreateConversation() throws ApiException, IOException { + String conversationProfileId = conversationProfileName.getConversationProfile(); + ConversationManagement.createConversation(PROJECT_ID, LOCATION, conversationProfileId); + + String output = bout.toString(); + assertThat(output).contains("Life Cycle State: IN_PROGRESS"); + assertThat(output) + .contains( + String.format("Conversation Profile Name: %s", conversationProfileName.toString())); + } +} diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateParticipantTest.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateParticipantTest.java new file mode 100644 index 00000000000..1c5a92a4747 --- /dev/null +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateParticipantTest.java @@ -0,0 +1,107 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.dialogflow; + +import static com.google.common.truth.Truth.assertThat; +import static org.junit.Assert.assertNotNull; + +import com.google.cloud.dialogflow.v2.ConversationName; +import com.google.cloud.dialogflow.v2.ConversationProfileName; +import com.google.cloud.dialogflow.v2.ConversationProfilesClient; +import com.google.cloud.dialogflow.v2.Participant.Role; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.PrintStream; +import java.util.Optional; +import java.util.UUID; +import org.junit.After; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +@RunWith(JUnit4.class) +@SuppressWarnings("checkstyle:abbreviationaswordinname") +public class CreateParticipantTest { + private static final String PROJECT_ID = System.getenv("GOOGLE_CLOUD_PROJECT"); + private static final String CONVERSATION_PROFILE_DISPLAY_NAME = UUID.randomUUID().toString(); + private static final String LOCATION = "global"; + private static final String NAME_PREFIX_IN_OUTPUT = "Name: "; + private ConversationProfileName conversationProfileName; + private ByteArrayOutputStream bout; + private PrintStream newOutputStream; + private PrintStream originalOutputStream; + + private static void requireEnvVar(String varName) { + assertNotNull(System.getenv(varName)); + } + + // Extract the name of a newly created resource from latest "Name: %s\n" in sample code output + private static String getResourceNameFromOutputString(String output) { + return output.substring( + output.lastIndexOf(NAME_PREFIX_IN_OUTPUT) + NAME_PREFIX_IN_OUTPUT.length(), + output.length() - 1); + } + + @BeforeClass + public static void checkRequirements() { + requireEnvVar("GOOGLE_APPLICATION_CREDENTIALS"); + requireEnvVar("GOOGLE_CLOUD_PROJECT"); + } + + @Before + public void setUp() throws IOException { + originalOutputStream = System.out; + bout = new ByteArrayOutputStream(); + newOutputStream = new PrintStream(bout); + System.setOut(newOutputStream); + + // Create a conversation profile + ConversationProfileManagement.createConversationProfileArticleSuggestion( + PROJECT_ID, CONVERSATION_PROFILE_DISPLAY_NAME, LOCATION, Optional.empty()); + String output = bout.toString(); + assertThat(output).contains(NAME_PREFIX_IN_OUTPUT); + conversationProfileName = + ConversationProfileName.parse(getResourceNameFromOutputString(output)); + } + + @After + public void tearDown() throws IOException { + // Delete the created conversation profile + try (ConversationProfilesClient conversationProfilesClient = + ConversationProfilesClient.create()) { + conversationProfilesClient.deleteConversationProfile(conversationProfileName.toString()); + } + + System.setOut(originalOutputStream); + } + + @Test + public void testCreateParticipant() throws IOException { + // Create a conversation + ConversationManagement.createConversation( + PROJECT_ID, LOCATION, conversationProfileName.getConversationProfile()); + ConversationName conversationName = + ConversationName.parse(getResourceNameFromOutputString(bout.toString())); + + // Create a participant + ParticipantManagement.createParticipant( + PROJECT_ID, LOCATION, conversationName.getConversation(), Role.END_USER); + assertThat(bout.toString()).contains("Role: END_USER"); + } +} From 5f057a8d1482ee7433038905fbff37b53e6c1160 Mon Sep 17 00:00:00 2001 From: Jiaqi Liu Date: Fri, 25 Mar 2022 12:03:34 -0700 Subject: [PATCH 146/178] samples: update sample code for knowledge base (#898) * update sample code for knowledge base * chore: revert the nightly integration test project to gcloud-devel (#899) Fixes #880 Fixes #881 * sample: minor change for consistent output format * revert license year to 2018 Co-authored-by: Neenu Shaji --- .../ConversationProfileManagement.java | 2 +- .../dialogflow/KnowledgeBaseManagement.java | 35 +++++++++++----- .../dialogflow/CreateKnowledgeBaseTest.java | 40 ++++++++++++------- 3 files changed, 51 insertions(+), 26 deletions(-) diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/ConversationProfileManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/ConversationProfileManagement.java index 54a025a16a5..f3f218263b1 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/ConversationProfileManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/ConversationProfileManagement.java @@ -125,7 +125,7 @@ public static void createConversationProfileArticleSuggestion( .setConversationProfile(targetConversationProfile) .build()); System.out.println("===================="); - System.out.println("Conversation Profile created:"); + System.out.println("Conversation Profile created:\n"); System.out.format("Display name: %s\n", createdConversationProfile.getDisplayName()); System.out.format("Name: %s\n", createdConversationProfile.getName()); } diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java index c64b2609681..e3d30664a6c 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/KnowledgeBaseManagement.java @@ -19,26 +19,39 @@ // [START dialogflow_create_knowledge_base] import com.google.api.gax.rpc.ApiException; -import com.google.cloud.dialogflow.v2beta1.KnowledgeBase; -import com.google.cloud.dialogflow.v2beta1.KnowledgeBasesClient; -import com.google.cloud.dialogflow.v2beta1.ProjectName; +import com.google.cloud.dialogflow.v2.KnowledgeBase; +import com.google.cloud.dialogflow.v2.KnowledgeBasesClient; +import com.google.cloud.dialogflow.v2.LocationName; import java.io.IOException; public class KnowledgeBaseManagement { + public static void main(String[] args) throws ApiException, IOException { + // TODO(developer): Replace these variables before running the sample. + String projectId = "my-project-id"; + String location = "my-location"; + + // Set display name of the new knowledge base + String knowledgeBaseDisplayName = "my-knowledge-base-display-name"; + + // Create a knowledge base + createKnowledgeBase(projectId, location, knowledgeBaseDisplayName); + } + // Create a Knowledge base - public static KnowledgeBase createKnowledgeBase(String projectId, String displayName) + public static void createKnowledgeBase(String projectId, String location, String displayName) throws ApiException, IOException { // Instantiates a client try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) { - KnowledgeBase knowledgeBase = KnowledgeBase.newBuilder().setDisplayName(displayName).build(); - ProjectName projectName = ProjectName.of(projectId); - KnowledgeBase response = knowledgeBasesClient.createKnowledgeBase(projectName, knowledgeBase); + KnowledgeBase targetKnowledgeBase = + KnowledgeBase.newBuilder().setDisplayName(displayName).build(); + LocationName parent = LocationName.of(projectId, location); + KnowledgeBase createdKnowledgeBase = + knowledgeBasesClient.createKnowledgeBase(parent, targetKnowledgeBase); + System.out.println("===================="); System.out.format("Knowledgebase created:\n"); - System.out.format("Display Name: %s \n", response.getDisplayName()); - System.out.format("Knowledge ID: %s \n", response.getName()); - - return response; + System.out.format("Display Name: %s\n", createdKnowledgeBase.getDisplayName()); + System.out.format("Name: %s\n", createdKnowledgeBase.getName()); } } } diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateKnowledgeBaseTest.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateKnowledgeBaseTest.java index 7f5a6395877..a8e00f5e9e7 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateKnowledgeBaseTest.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateKnowledgeBaseTest.java @@ -19,9 +19,8 @@ import static com.google.common.truth.Truth.assertThat; import static junit.framework.TestCase.assertNotNull; -import com.google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest; -import com.google.cloud.dialogflow.v2beta1.KnowledgeBase; -import com.google.cloud.dialogflow.v2beta1.KnowledgeBasesClient; +import com.google.cloud.dialogflow.v2.DeleteKnowledgeBaseRequest; +import com.google.cloud.dialogflow.v2.KnowledgeBasesClient; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.PrintStream; @@ -38,13 +37,23 @@ public class CreateKnowledgeBaseTest { private static final String PROJECT_ID = System.getenv("GOOGLE_CLOUD_PROJECT"); + private static final String LOCATION = "global"; + private static final String ID_PREFIX_IN_OUTPUT = "Name: "; private static String KNOWLEDGE_DISPLAY_NAME = UUID.randomUUID().toString(); - private ByteArrayOutputStream bout; - private PrintStream out; private String knowledgeBaseName; + private ByteArrayOutputStream bout; + private PrintStream newOutputStream; + private PrintStream originalOutputStream; private static void requireEnvVar(String varName) { - assertNotNull(String.format(varName), String.format(varName)); + assertNotNull(System.getenv(varName)); + } + + // Extract the name of created resource from "Name: %s\n" in sample code output + private static String getResourceNameFromOutputString(String output) { + return output.substring( + output.lastIndexOf(ID_PREFIX_IN_OUTPUT) + ID_PREFIX_IN_OUTPUT.length(), + output.length() - 1); } @BeforeClass @@ -56,27 +65,30 @@ public static void checkRequirements() { @Before public void setUp() { bout = new ByteArrayOutputStream(); - out = new PrintStream(bout); - System.setOut(out); + newOutputStream = new PrintStream(bout); + System.setOut(newOutputStream); } @After public void tearDown() throws IOException { + if (knowledgeBaseName == null) { + return; + } + // Delete the created knowledge base try (KnowledgeBasesClient client = KnowledgeBasesClient.create()) { DeleteKnowledgeBaseRequest request = DeleteKnowledgeBaseRequest.newBuilder().setName(knowledgeBaseName).setForce(true).build(); client.deleteKnowledgeBase(request); } - System.setOut(null); + System.setOut(originalOutputStream); } @Test public void testCreateKnowledgeBase() throws Exception { - KnowledgeBase knowledgeBase = - KnowledgeBaseManagement.createKnowledgeBase(PROJECT_ID, KNOWLEDGE_DISPLAY_NAME); - knowledgeBaseName = knowledgeBase.getName(); - String got = bout.toString(); - assertThat(got).contains(KNOWLEDGE_DISPLAY_NAME); + KnowledgeBaseManagement.createKnowledgeBase(PROJECT_ID, LOCATION, KNOWLEDGE_DISPLAY_NAME); + String output = bout.toString(); + assertThat(output).contains(KNOWLEDGE_DISPLAY_NAME); + knowledgeBaseName = getResourceNameFromOutputString(output); } } From 0a9716614a72f91c42fd922202b0f1779e14c0a6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 30 Mar 2022 01:30:24 +0200 Subject: [PATCH 147/178] deps: update dependency com.google.cloud:google-cloud-core to v2.5.11 (#902) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.5.10` -> `2.5.11` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.11/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.11/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.11/compatibility-slim/2.5.10)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.11/confidence-slim/2.5.10)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.5.11`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​2511-httpsgithubcomgoogleapisjava-corecomparev2510v2511-2022-03-28) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.5.10...v2.5.11)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 878deb2dec7..e497ae04b14 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.5.10 + 2.5.11 test tests From 8b3ad8886c1094bd3948614acfd0e599bf13fea9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 1 Apr 2022 19:00:18 +0200 Subject: [PATCH 148/178] chore(deps): update dependency com.google.cloud:libraries-bom to v25.1.0 (#907) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java)) | `25.0.0` -> `25.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.1.0/compatibility-slim/25.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.1.0/confidence-slim/25.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index e497ae04b14..b3b2d9c0970 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 25.0.0 + 25.1.0 pom import From 13616c1b012c6d95728fa54b1574fab3598d7f4e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 15 Apr 2022 21:26:31 +0200 Subject: [PATCH 149/178] deps: update dependency com.google.cloud:google-cloud-core to v2.6.1 (#909) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.5.11` -> `2.6.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.6.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.6.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.6.1/compatibility-slim/2.5.11)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.6.1/confidence-slim/2.5.11)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.6.1`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​261-httpsgithubcomgoogleapisjava-corecomparev260v261-2022-04-14) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.6.0...v2.6.1) ### [`v2.6.0`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​260-httpsgithubcomgoogleapisjava-corecomparev2511v260-2022-04-14) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.5.11...v2.6.0) ##### Features - **java:** remove GoogleJsonClentFeature and OpenCensusFeature after relocation ([#​793](https://togithub.com/googleapis/java-core/issues/793)) ([2880112](https://togithub.com/googleapis/java-core/commit/28801121a50583118286419ac91332a201285c4c)) - **java:** remove Netty Native Image configuration after relocation to gax ([#​771](https://togithub.com/googleapis/java-core/issues/771)) ([9ba04f9](https://togithub.com/googleapis/java-core/commit/9ba04f9f135e1ff7344bb45eeb5796154616ef20)) - **java:** remove protobuf Native Image configuration ([#​784](https://togithub.com/googleapis/java-core/issues/784)) ([0bc8549](https://togithub.com/googleapis/java-core/commit/0bc8549d3364ac169f21cc00c00497cd59998106)) - remove native-image.properties settings after relocation ([#​794](https://togithub.com/googleapis/java-core/issues/794)) ([e24bfdd](https://togithub.com/googleapis/java-core/commit/e24bfddbb9f588fbf69cdc0022cdf67f2c628278)) - remove resource-config after relocation ([#​795](https://togithub.com/googleapis/java-core/issues/795)) ([87e2973](https://togithub.com/googleapis/java-core/commit/87e29733c3714b39000e5fa3d232c35ce69955a2)) - remove substitutions after relocation to gax ([#​789](https://togithub.com/googleapis/java-core/issues/789)) ([29291e9](https://togithub.com/googleapis/java-core/commit/29291e9f50e4500ef5d5c1fe30098d025b216f9a)) ##### Bug Fixes - **java:** register test class for reflection to fix native image test ([#​766](https://togithub.com/googleapis/java-core/issues/766)) ([6fe52c3](https://togithub.com/googleapis/java-core/commit/6fe52c3424546cad7b8158668d3f8a655b56af41)) ##### Dependencies - revert protobuf to 3.19 and common-protos 2.8.3 ([#​798](https://togithub.com/googleapis/java-core/issues/798)) ([0f36a84](https://togithub.com/googleapis/java-core/commit/0f36a848a03c50d5d0187241bccd66fdb0cea862)) - update dependency com.google.api-client:google-api-client-bom to v1.34.0 ([#​800](https://togithub.com/googleapis/java-core/issues/800)) ([8430aee](https://togithub.com/googleapis/java-core/commit/8430aee231100ef13296f22f09265589b2aa0252)) - update dependency com.google.api:gax-bom to v2.16.0 ([#​785](https://togithub.com/googleapis/java-core/issues/785)) ([fd435b0](https://togithub.com/googleapis/java-core/commit/fd435b00f01fac1dc96b5f401b403d67809fa1eb)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.8.1 ([#​792](https://togithub.com/googleapis/java-core/issues/792)) ([4d201ac](https://togithub.com/googleapis/java-core/commit/4d201ac5dc694c9e4a4f06c5580a0c707ea68b87)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.8.2 ([#​796](https://togithub.com/googleapis/java-core/issues/796)) ([dc28a0f](https://togithub.com/googleapis/java-core/commit/dc28a0f2d58bcf4eb3c9b9f129ce8d88470e94e6)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.0 ([#​783](https://togithub.com/googleapis/java-core/issues/783)) ([4ed5ba4](https://togithub.com/googleapis/java-core/commit/4ed5ba4d096cb19f60186cbcfc789f5b058b07f8)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.1 ([#​799](https://togithub.com/googleapis/java-core/issues/799)) ([fce5315](https://togithub.com/googleapis/java-core/commit/fce531519184225e103a8faad54e81ae9232210a)) - update dependency com.google.errorprone:error_prone_annotations to v2.12.1 ([#​788](https://togithub.com/googleapis/java-core/issues/788)) ([4e71f68](https://togithub.com/googleapis/java-core/commit/4e71f680142bf8cffaa519dcb0fd2916458674e2)) - update dependency com.google.http-client:google-http-client-bom to v1.41.6 ([#​791](https://togithub.com/googleapis/java-core/issues/791)) ([fe006c6](https://togithub.com/googleapis/java-core/commit/fe006c60e6cbaff8127a9f6f6792c6a6ce9ff26b)) - update dependency com.google.http-client:google-http-client-bom to v1.41.7 ([#​797](https://togithub.com/googleapis/java-core/issues/797)) ([570f8d5](https://togithub.com/googleapis/java-core/commit/570f8d5870044d1f3026b4aec49a6800d904f1be)) - update dependency com.google.protobuf:protobuf-bom to v3.20.0 ([#​787](https://togithub.com/googleapis/java-core/issues/787)) ([19202bc](https://togithub.com/googleapis/java-core/commit/19202bcb76e28977e0f2c9b02c75c83644bfb438)) - update dependency io.grpc:grpc-bom to v1.45.1 ([#​780](https://togithub.com/googleapis/java-core/issues/780)) ([6e3bf35](https://togithub.com/googleapis/java-core/commit/6e3bf35c501028ac293a401f55c14f1d97fa3953)) ##### [2.5.11](https://togithub.com/googleapis/java-core/compare/v2.5.10...v2.5.11) (2022-03-28) ##### Bug Fixes - **java:** Register Spanner classes for reflection to fix Native Image tests ([#​760](https://togithub.com/googleapis/java-core/issues/760)) ([257de0f](https://togithub.com/googleapis/java-core/commit/257de0f71963550ce11aca608fdf9a99672ff19a)) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.33.4 ([#​776](https://togithub.com/googleapis/java-core/issues/776)) ([1b6fb2a](https://togithub.com/googleapis/java-core/commit/1b6fb2a5b9602f5ff8375deb15f5121851b09bd1)) - update dependency com.google.api:api-common to v2.1.5 ([#​768](https://togithub.com/googleapis/java-core/issues/768)) ([c76c332](https://togithub.com/googleapis/java-core/commit/c76c332b5676bffad2a1e75b094790c9b0488447)) - update dependency com.google.api:gax-bom to v2.13.0 ([#​774](https://togithub.com/googleapis/java-core/issues/774)) ([8075c54](https://togithub.com/googleapis/java-core/commit/8075c54a127496a5330671652678b03f5abdd5c9)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.8.0 ([#​770](https://togithub.com/googleapis/java-core/issues/770)) ([6809477](https://togithub.com/googleapis/java-core/commit/680947779ac9bc58f60c6c18750aac6b756e73b2)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.10 ([#​763](https://togithub.com/googleapis/java-core/issues/763)) ([9f2eb5f](https://togithub.com/googleapis/java-core/commit/9f2eb5fed5d9dc91ee01068a2c4eec9acef38c86)) - update dependency com.google.auth:google-auth-library-bom to v1.6.0 ([#​765](https://togithub.com/googleapis/java-core/issues/765)) ([2eb1924](https://togithub.com/googleapis/java-core/commit/2eb19241f119f39de7d07ee863c9c78a3e7f11a4)) - update dependency com.google.guava:guava to 31.1-jre ([#​772](https://togithub.com/googleapis/java-core/issues/772)) ([060adf3](https://togithub.com/googleapis/java-core/commit/060adf35bf6afdd4b31d790e5484f63eac777a11)) - update dependency com.google.http-client:google-http-client-bom to v1.41.5 ([#​769](https://togithub.com/googleapis/java-core/issues/769)) ([999be7a](https://togithub.com/googleapis/java-core/commit/999be7ab10459b33ab001b5bd84d650aeb13313f)) - update dependency org.threeten:threetenbp to v1.6.0 ([#​767](https://togithub.com/googleapis/java-core/issues/767)) ([9a4a438](https://togithub.com/googleapis/java-core/commit/9a4a438e04acfd0ec15cdfac5da3610223fe0071)) ##### [2.5.10](https://togithub.com/googleapis/java-core/compare/v2.5.9...v2.5.10) (2022-03-10) ##### Dependencies - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.9 ([#​759](https://togithub.com/googleapis/java-core/issues/759)) ([9585d4e](https://togithub.com/googleapis/java-core/commit/9585d4ea8377c087b33e63e46672a79d52e04a4b)) ##### [2.5.9](https://togithub.com/googleapis/java-core/compare/v2.5.8...v2.5.9) (2022-03-09) ##### Dependencies - update dependency io.grpc:grpc-bom to v1.45.0 ([#​756](https://togithub.com/googleapis/java-core/issues/756)) ([403b10a](https://togithub.com/googleapis/java-core/commit/403b10accfe2694dc2a5fac63a374d00585df5bb)) ##### [2.5.8](https://togithub.com/googleapis/java-core/compare/v2.5.7...v2.5.8) (2022-03-08) ##### Dependencies - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.8 ([#​753](https://togithub.com/googleapis/java-core/issues/753)) ([6866b84](https://togithub.com/googleapis/java-core/commit/6866b8407162ecbff7ed5a6eec5e3e4d130fcfa7)) ##### [2.5.7](https://togithub.com/googleapis/java-core/compare/v2.5.6...v2.5.7) (2022-03-08) ##### Dependencies - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.7 ([#​748](https://togithub.com/googleapis/java-core/issues/748)) ([91cc595](https://togithub.com/googleapis/java-core/commit/91cc595c7df73af8e71e4feeb663c973e6bcc8e5)) ##### [2.5.6](https://togithub.com/googleapis/java-core/compare/v2.5.5...v2.5.6) (2022-03-01) ##### Dependencies - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.6 ([#​742](https://togithub.com/googleapis/java-core/issues/742)) ([474e56c](https://togithub.com/googleapis/java-core/commit/474e56cca19f9d7b61f62585ee06f1fbdba0ae46)) ##### [2.5.5](https://togithub.com/googleapis/java-core/compare/v2.5.4...v2.5.5) (2022-02-28) ##### Bug Fixes - **java:** initialize spanner test environment class at build-time ([#​734](https://togithub.com/googleapis/java-core/issues/734)) ([684934e](https://togithub.com/googleapis/java-core/commit/684934efb28e4ed5f5f975aab91adad25bf1ab52)) - **java:** initialize TestTag at build time ([#​732](https://togithub.com/googleapis/java-core/issues/732)) ([a5f1dc2](https://togithub.com/googleapis/java-core/commit/a5f1dc2ed3d71404d699830ba4bea8824e67d0e8)) ##### Dependencies - update actions/setup-java action to v3 ([#​739](https://togithub.com/googleapis/java-core/issues/739)) ([46322e3](https://togithub.com/googleapis/java-core/commit/46322e3a9929195c223fc6399860c1cab4d81eb5)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.7.4 ([#​728](https://togithub.com/googleapis/java-core/issues/728)) ([3b83bd7](https://togithub.com/googleapis/java-core/commit/3b83bd7dce6a369c6668f0967572ae08df1b77d8)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.4 ([#​729](https://togithub.com/googleapis/java-core/issues/729)) ([0759c2b](https://togithub.com/googleapis/java-core/commit/0759c2b8163d45bf87692e2f131df76dac5f178e)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.5 ([#​735](https://togithub.com/googleapis/java-core/issues/735)) ([cefbf97](https://togithub.com/googleapis/java-core/commit/cefbf978ac21f00b3c4558ebc40ef1f6355ea156)) - update dependency com.google.auth:google-auth-library-bom to v1.5.3 ([#​737](https://togithub.com/googleapis/java-core/issues/737)) ([a1cb8d8](https://togithub.com/googleapis/java-core/commit/a1cb8d81db34142937c85be5c4502036a4b7939d)) - update dependency com.google.code.gson:gson to v2.9.0 ([#​727](https://togithub.com/googleapis/java-core/issues/727)) ([faf8a44](https://togithub.com/googleapis/java-core/commit/faf8a44e8823ecae44d543e6f5c2a9d8598f04fe)) - update dependency com.google.http-client:google-http-client-bom to v1.41.4 ([#​730](https://togithub.com/googleapis/java-core/issues/730)) ([1975b61](https://togithub.com/googleapis/java-core/commit/1975b617e23f7dd0b263e9acb4010b3126e5d7e7)) - update dependency io.grpc:grpc-bom to v1.44.1 ([#​736](https://togithub.com/googleapis/java-core/issues/736)) ([4ca315c](https://togithub.com/googleapis/java-core/commit/4ca315ca400e020badbdf27bb92d1b67680a2e73)) ##### [2.5.4](https://togithub.com/googleapis/java-core/compare/v2.5.3...v2.5.4) (2022-02-11) ##### Dependencies - update actions/github-script action to v6 ([#​724](https://togithub.com/googleapis/java-core/issues/724)) ([b8673d3](https://togithub.com/googleapis/java-core/commit/b8673d3b3ae08cbfed135cd7ff9d891c04e90611)) ##### [2.5.3](https://togithub.com/googleapis/java-core/compare/v2.5.2...v2.5.3) (2022-02-10) ##### Dependencies - update dependency com.google.api:gax-bom to v2.12.2 ([#​719](https://togithub.com/googleapis/java-core/issues/719)) ([4de90d0](https://togithub.com/googleapis/java-core/commit/4de90d05c152c21a1ebb98f6cbff0f9b9c39e5d2)) - update dependency com.google.http-client:google-http-client-bom to v1.41.3 ([#​720](https://togithub.com/googleapis/java-core/issues/720)) ([d2a5b4f](https://togithub.com/googleapis/java-core/commit/d2a5b4ffa598f232b84655a7ac146bfa2e1f24c9)) ##### [2.5.2](https://togithub.com/googleapis/java-core/compare/v2.5.1...v2.5.2) (2022-02-09) ##### Dependencies - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.3 ([#​716](https://togithub.com/googleapis/java-core/issues/716)) ([100e41e](https://togithub.com/googleapis/java-core/commit/100e41e092f35f6e6d187de45bb6dc3e4e760052)) ##### [2.5.1](https://togithub.com/googleapis/java-core/compare/v2.5.0...v2.5.1) (2022-02-08) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.33.2 ([#​709](https://togithub.com/googleapis/java-core/issues/709)) ([de08f4e](https://togithub.com/googleapis/java-core/commit/de08f4eea6cf4e7813c8da1f6adb28e1e56fd1cd)) - update dependency com.google.api:api-common to v2.1.4 ([#​712](https://togithub.com/googleapis/java-core/issues/712)) ([9cc49de](https://togithub.com/googleapis/java-core/commit/9cc49de654d57e8efdb97c8e3c7f9d8723e79eb9)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.7.3 ([#​710](https://togithub.com/googleapis/java-core/issues/710)) ([a5f1991](https://togithub.com/googleapis/java-core/commit/a5f199157319dfb82cbb24d1b4249d924118de84)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.2 ([#​705](https://togithub.com/googleapis/java-core/issues/705)) ([b8722b9](https://togithub.com/googleapis/java-core/commit/b8722b998966b21cd2d9e6208627c34ff046accf))
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index b3b2d9c0970..bb842bb0268 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.5.11 + 2.6.1 test tests From 267f4047aad8fe3af4ae7811bfe0f3c7fa6875ab Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 27 Apr 2022 17:36:15 +0200 Subject: [PATCH 150/178] chore(deps): update dependency com.google.cloud:libraries-bom to v25.2.0 (#920) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java)) | `25.1.0` -> `25.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.2.0/compatibility-slim/25.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.2.0/confidence-slim/25.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index bb842bb0268..0445c28e167 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 25.1.0 + 25.2.0 pom import From 3bc7cdfd3771608b07fedbb03fd7425232432600 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 16 May 2022 19:36:33 +0200 Subject: [PATCH 151/178] chore(deps): update dependency com.google.cloud:libraries-bom to v25.3.0 (#926) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java)) | `25.2.0` -> `25.3.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.3.0/compatibility-slim/25.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.3.0/confidence-slim/25.2.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 0445c28e167..64ebd745c29 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 25.2.0 + 25.3.0 pom import From 6e349d5bee62db05f631c0bc0758ea0be676e93d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 20 May 2022 01:54:15 +0200 Subject: [PATCH 152/178] deps: update dependency com.google.cloud:google-cloud-core to v2.7.1 (#927) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.6.1` -> `2.7.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.7.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.7.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.7.1/compatibility-slim/2.6.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.7.1/confidence-slim/2.6.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.7.1`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​271-httpsgithubcomgoogleapisjava-corecomparev270v271-2022-05-19) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.7.0...v2.7.1) ### [`v2.7.0`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​270-httpsgithubcomgoogleapisjava-corecomparev261v270-2022-05-18) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.6.1...v2.7.0) ##### Features - **java:** remove native-image-support module ([#​820](https://togithub.com/googleapis/java-core/issues/820)) ([a53ef6d](https://togithub.com/googleapis/java-core/commit/a53ef6d7ba05eeba82998378455f0aea58f24381)) - next release from main branch is 2.7.0 ([#​807](https://togithub.com/googleapis/java-core/issues/807)) ([5a2c608](https://togithub.com/googleapis/java-core/commit/5a2c608e375d15ec83ca71232627bce1f167e750)) ##### Bug Fixes - remove native-image-support module from version.txt ([#​822](https://togithub.com/googleapis/java-core/issues/822)) ([92e7efc](https://togithub.com/googleapis/java-core/commit/92e7efc4974911f7ce30021a280c9002a44dab47)) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.34.1 ([#​823](https://togithub.com/googleapis/java-core/issues/823)) ([71105c6](https://togithub.com/googleapis/java-core/commit/71105c64918d6444e321fa3de5fc402e577ebc7d)) - update dependency com.google.api:api-common to v2.2.0 ([#​827](https://togithub.com/googleapis/java-core/issues/827)) ([05a02d6](https://togithub.com/googleapis/java-core/commit/05a02d6b16cb06b9f1dea0814912e5a32913fca8)) - update dependency com.google.api:gax-bom to v2.17.0 ([#​826](https://togithub.com/googleapis/java-core/issues/826)) ([c90188e](https://togithub.com/googleapis/java-core/commit/c90188e9a94ae71d71105d908173f1bd7e77c1cb)) - update dependency com.google.api:gax-bom to v2.18.0 ([#​829](https://togithub.com/googleapis/java-core/issues/829)) ([5537e7f](https://togithub.com/googleapis/java-core/commit/5537e7f80d5db94038b24a393e310120fab62e8c)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.2 ([#​805](https://togithub.com/googleapis/java-core/issues/805)) ([493ac03](https://togithub.com/googleapis/java-core/commit/493ac038d3ca9f603cd47969fde0da68a1f9bfd0)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.3 ([#​814](https://togithub.com/googleapis/java-core/issues/814)) ([e809baa](https://togithub.com/googleapis/java-core/commit/e809baa69672d3eca2dc348f55615dc072a8fbe3)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.4 ([#​825](https://togithub.com/googleapis/java-core/issues/825)) ([5ce12ee](https://togithub.com/googleapis/java-core/commit/5ce12ee0c10e2bdb5981e6ca02966d7eb802ca6c)) - update dependency com.google.auth:google-auth-library-bom to v1.7.0 ([#​828](https://togithub.com/googleapis/java-core/issues/828)) ([2abca2c](https://togithub.com/googleapis/java-core/commit/2abca2c135ba2337d546d5c97bcdd5901e91301a)) - update dependency com.google.cloud:native-image-support to v0.14.0 ([#​824](https://togithub.com/googleapis/java-core/issues/824)) ([997a34a](https://togithub.com/googleapis/java-core/commit/997a34a15a59bb1818fff3d1fbce195a05d12da3)) - update dependency com.google.errorprone:error_prone_annotations to v2.13.1 ([#​806](https://togithub.com/googleapis/java-core/issues/806)) ([9fc5811](https://togithub.com/googleapis/java-core/commit/9fc5811eae52288acd9fb0b967e5737848fe7c5e)) - update dependency com.google.http-client:google-http-client-bom to v1.41.8 ([#​821](https://togithub.com/googleapis/java-core/issues/821)) ([c7e3d6e](https://togithub.com/googleapis/java-core/commit/c7e3d6ef437d9f85dab450b54d63f7218b89788b)) - update dependency com.google.protobuf:protobuf-bom to v3.20.1 ([#​813](https://togithub.com/googleapis/java-core/issues/813)) ([a9c8c92](https://togithub.com/googleapis/java-core/commit/a9c8c92086c0266e14f86a957944c0cc4ab26ee6)) - update dependency io.grpc:grpc-bom to v1.46.0 ([#​815](https://togithub.com/googleapis/java-core/issues/815)) ([03c9bfe](https://togithub.com/googleapis/java-core/commit/03c9bfe4210a6c3995adf89be28b7c8aab402fb3)) - update opencensus.version to v0.31.1 ([#​819](https://togithub.com/googleapis/java-core/issues/819)) ([1800d3a](https://togithub.com/googleapis/java-core/commit/1800d3aa3ff7315947681b648f822f2cf9656a3b)) ##### [2.6.1](https://togithub.com/googleapis/java-core/compare/v2.6.0...v2.6.1) (2022-04-14) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.13.0 ([#​802](https://togithub.com/googleapis/java-core/issues/802)) ([042b08e](https://togithub.com/googleapis/java-core/commit/042b08e3cf05dba7e006f802dbc60f95b6da99ef))
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 64ebd745c29..a25b43da00b 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.6.1 + 2.7.1 test tests From 984700726dfe68e7596d2328c83b2878e7633cf0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Jun 2022 19:16:28 +0200 Subject: [PATCH 153/178] chore(deps): update dependency com.google.cloud:libraries-bom to v25.4.0 (#934) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java)) | `25.3.0` -> `25.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.4.0/compatibility-slim/25.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.4.0/confidence-slim/25.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index a25b43da00b..ce794ed26ae 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 25.3.0 + 25.4.0 pom import From b6325488e6425cac8f89eae45381404095e9e73b Mon Sep 17 00:00:00 2001 From: Jiaqi Liu Date: Fri, 17 Jun 2022 17:45:02 -0700 Subject: [PATCH 154/178] samples: update sample code for document (#938) * update dialogflow to V2 for document sample code * update code style * add location for document sample code --- .../dialogflow/DocumentManagement.java | 15 ++++---- .../dialogflow/CreateDocumentTest.java | 35 +++++++++++-------- 2 files changed, 28 insertions(+), 22 deletions(-) diff --git a/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java b/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java index a78e7ae058b..08431689008 100644 --- a/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java +++ b/dialogflow/snippets/src/main/java/com/example/dialogflow/DocumentManagement.java @@ -20,11 +20,11 @@ import com.google.api.gax.longrunning.OperationFuture; import com.google.api.gax.rpc.ApiException; -import com.google.cloud.dialogflow.v2beta1.CreateDocumentRequest; -import com.google.cloud.dialogflow.v2beta1.Document; -import com.google.cloud.dialogflow.v2beta1.Document.KnowledgeType; -import com.google.cloud.dialogflow.v2beta1.DocumentsClient; -import com.google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata; +import com.google.cloud.dialogflow.v2.CreateDocumentRequest; +import com.google.cloud.dialogflow.v2.Document; +import com.google.cloud.dialogflow.v2.Document.KnowledgeType; +import com.google.cloud.dialogflow.v2.DocumentsClient; +import com.google.cloud.dialogflow.v2.KnowledgeOperationMetadata; import java.io.IOException; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; @@ -32,7 +32,7 @@ public class DocumentManagement { - public static Document createDocument( + public static void createDocument( String knowledgeBaseName, String displayName, String mimeType, @@ -58,14 +58,13 @@ public static Document createDocument( Document createdDocument = response.get(180, TimeUnit.SECONDS); System.out.format("Created Document:\n"); System.out.format(" - Display Name: %s\n", createdDocument.getDisplayName()); - System.out.format(" - Knowledge ID: %s\n", createdDocument.getName()); + System.out.format(" - Document Name: %s\n", createdDocument.getName()); System.out.format(" - MIME Type: %s\n", createdDocument.getMimeType()); System.out.format(" - Knowledge Types:\n"); for (KnowledgeType knowledgeTypeId : document.getKnowledgeTypesList()) { System.out.format(" - %s \n", knowledgeTypeId.getValueDescriptor()); } System.out.format(" - Source: %s \n", document.getContentUri()); - return createdDocument; } } } diff --git a/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDocumentTest.java b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDocumentTest.java index 41c8d17e8b5..e59508a521e 100644 --- a/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDocumentTest.java +++ b/dialogflow/snippets/src/test/java/com/example/dialogflow/CreateDocumentTest.java @@ -19,10 +19,10 @@ import static com.google.common.truth.Truth.assertThat; import static junit.framework.TestCase.assertNotNull; -import com.google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest; -import com.google.cloud.dialogflow.v2beta1.KnowledgeBase; -import com.google.cloud.dialogflow.v2beta1.KnowledgeBasesClient; -import com.google.cloud.dialogflow.v2beta1.ProjectName; +import com.google.cloud.dialogflow.v2.DeleteKnowledgeBaseRequest; +import com.google.cloud.dialogflow.v2.KnowledgeBase; +import com.google.cloud.dialogflow.v2.KnowledgeBasesClient; +import com.google.cloud.dialogflow.v2.LocationName; import com.google.cloud.testing.junit4.MultipleAttemptsRule; import java.io.ByteArrayOutputStream; import java.io.IOException; @@ -41,14 +41,16 @@ public class CreateDocumentTest { private static final String PROJECT_ID = System.getenv("GOOGLE_CLOUD_PROJECT"); + private static final String LOCATION = "global"; private static String KNOWLEDGE_DISPLAY_NAME = UUID.randomUUID().toString(); private static String DOCUMENT_DISPLAY_NAME = UUID.randomUUID().toString(); - private ByteArrayOutputStream bout; - private PrintStream out; private String knowledgeBaseName; + private ByteArrayOutputStream bout; + private PrintStream newOutputStream; + private PrintStream originalOutputStream; private static void requireEnvVar(String varName) { - assertNotNull(String.format(varName), String.format(varName)); + assertNotNull(String.format(varName)); } @BeforeClass @@ -59,23 +61,28 @@ public static void checkRequirements() { @Before public void setUp() throws IOException { + originalOutputStream = System.out; + bout = new ByteArrayOutputStream(); + newOutputStream = new PrintStream(bout); + System.setOut(newOutputStream); + // Create a knowledge base for the document try (KnowledgeBasesClient client = KnowledgeBasesClient.create()) { KnowledgeBase knowledgeBase = KnowledgeBase.newBuilder().setDisplayName(KNOWLEDGE_DISPLAY_NAME).build(); - ProjectName projectName = ProjectName.of(PROJECT_ID); - KnowledgeBase response = client.createKnowledgeBase(projectName, knowledgeBase); + LocationName parent = LocationName.of(PROJECT_ID, LOCATION); + KnowledgeBase response = client.createKnowledgeBase(parent, knowledgeBase); // Save the full name for deletion knowledgeBaseName = response.getName(); } - - bout = new ByteArrayOutputStream(); - out = new PrintStream(bout); - System.setOut(out); } @After public void tearDown() throws IOException { + if (knowledgeBaseName == null) { + return; + } + // Delete the created knowledge base try (KnowledgeBasesClient client = KnowledgeBasesClient.create()) { DeleteKnowledgeBaseRequest request = @@ -83,7 +90,7 @@ public void tearDown() throws IOException { client.deleteKnowledgeBase(request); } - System.setOut(null); + System.setOut(originalOutputStream); } @Rule public MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(3); From 1b6bf9b8619c2b95e86ad465de0ccdd680b2d3b8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 22 Jun 2022 02:46:20 +0200 Subject: [PATCH 155/178] deps: update dependency com.google.cloud:google-cloud-core to v2.8.0 (#939) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.7.1` -> `2.8.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.0/compatibility-slim/2.7.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.0/confidence-slim/2.7.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.8.0`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​280-httpsgithubcomgoogleapisjava-corecomparev271v280-2022-06-21) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.7.1...v2.8.0) ##### Features - add build scripts for native image testing in Java 17 ([#​1440](https://togithub.com/googleapis/java-core/issues/1440)) ([#​836](https://togithub.com/googleapis/java-core/issues/836)) ([8826d9b](https://togithub.com/googleapis/java-core/commit/8826d9bc05eb9e4a54c40e8578de85ed79c50e99)) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.35.1 ([#​843](https://togithub.com/googleapis/java-core/issues/843)) ([9ffe0c5](https://togithub.com/googleapis/java-core/commit/9ffe0c5b25761abf7ff1bea091aa1db057dff2d0)) - update dependency com.google.api:api-common to v2.2.1 ([#​844](https://togithub.com/googleapis/java-core/issues/844)) ([69dde56](https://togithub.com/googleapis/java-core/commit/69dde5641546b678a385b1ed3a2c7a020f81d285)) - update dependency com.google.api:gax-bom to v2.18.2 ([#​849](https://togithub.com/googleapis/java-core/issues/849)) ([11764b0](https://togithub.com/googleapis/java-core/commit/11764b04629c5bfbc9b0d68174782cc126dc1646)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.9.0 ([#​846](https://togithub.com/googleapis/java-core/issues/846)) ([5dced6d](https://togithub.com/googleapis/java-core/commit/5dced6d25ce0f3e7587d7ac1f6f3713f3b2a18c2)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.4.0 ([#​838](https://togithub.com/googleapis/java-core/issues/838)) ([b0a7afe](https://togithub.com/googleapis/java-core/commit/b0a7afe342a5e15436d439b9cc1e3c58f894ab66)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.4.1 ([#​848](https://togithub.com/googleapis/java-core/issues/848)) ([8260997](https://togithub.com/googleapis/java-core/commit/826099767b0aabe0db26eff2f612f0847b451366)) - update dependency com.google.errorprone:error_prone_annotations to v2.14.0 ([#​839](https://togithub.com/googleapis/java-core/issues/839)) ([3459fb6](https://togithub.com/googleapis/java-core/commit/3459fb668557b982cef5682ce47d3c978b83d69c)) - update dependency com.google.http-client:google-http-client-bom to v1.42.0 ([#​845](https://togithub.com/googleapis/java-core/issues/845)) ([2d2c873](https://togithub.com/googleapis/java-core/commit/2d2c873e274b26f4687d569cc3b8ae58c3c5ed54)) - update dependency com.google.protobuf:protobuf-bom to v3.21.0 ([#​840](https://togithub.com/googleapis/java-core/issues/840)) ([037da15](https://togithub.com/googleapis/java-core/commit/037da15b2aed1719e768ba5b4e001caf25952adc)) - update dependency com.google.protobuf:protobuf-bom to v3.21.1 ([#​841](https://togithub.com/googleapis/java-core/issues/841)) ([04b8862](https://togithub.com/googleapis/java-core/commit/04b886224128f1525ad8398815dc62dac87680af)) - update dependency io.grpc:grpc-bom to v1.47.0 ([#​842](https://togithub.com/googleapis/java-core/issues/842)) ([40984e2](https://togithub.com/googleapis/java-core/commit/40984e23242ba954b6ca741ca3f02ec89e92ae57)) ##### [2.7.1](https://togithub.com/googleapis/java-core/compare/v2.7.0...v2.7.1) (2022-05-19) ##### Dependencies - update dependency com.google.api:gax-bom to v2.18.1 ([#​833](https://togithub.com/googleapis/java-core/issues/833)) ([7541115](https://togithub.com/googleapis/java-core/commit/7541115095e0ae28d938a4c9621fd0f82892fe55))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index ce794ed26ae..58a8a85318d 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.7.1 + 2.8.0 test tests From 770be14e8919f3072dcdf8c6a4304dee40b7f5e2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 1 Jul 2022 23:04:34 +0200 Subject: [PATCH 156/178] deps: update dependency com.google.cloud:google-cloud-core to v2.8.1 (#945) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.0` -> `2.8.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.1/compatibility-slim/2.8.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.1/confidence-slim/2.8.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.8.1`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​281-httpsgithubcomgoogleapisjava-corecomparev280v281-2022-06-27) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.0...v2.8.1) ##### Dependencies - update dependency com.google.protobuf:protobuf-bom to v3.21.2 ([#​851](https://togithub.com/googleapis/java-core/issues/851)) ([c0f09f0](https://togithub.com/googleapis/java-core/commit/c0f09f0fcd57a2d90e0a99b17c9e346df8651d65))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 58a8a85318d..6c98c21019c 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.8.0 + 2.8.1 test tests From f83c5bcd81f37971283957b954ec878ed54ad597 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 11 Jul 2022 23:07:56 +0200 Subject: [PATCH 157/178] chore(deps): update dependency com.google.cloud:libraries-bom to v26 (#956) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update dependency com.google.cloud:libraries-bom to v26 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 6c98c21019c..2c7b78d4458 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 25.4.0 + 26.0.0 pom import From 12cb70e3b4affdc17b0da2070169640c0fc75a5e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 27 Jul 2022 21:06:13 +0200 Subject: [PATCH 158/178] deps: update dependency com.google.cloud:google-cloud-core to v2.8.3 (#963) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.1` -> `2.8.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.3/compatibility-slim/2.8.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.3/confidence-slim/2.8.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.8.3`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​283-httpsgithubcomgoogleapisjava-corecomparev282v283-2022-07-26) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.1...v2.8.3) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v2 ([#​868](https://togithub.com/googleapis/java-core/issues/868)) ([e117c40](https://togithub.com/googleapis/java-core/commit/e117c40f31acf16a45bdbeeb727ba26d80eb6a51)) - update dependency com.google.api:gax-bom to v2.18.4 ([#​864](https://togithub.com/googleapis/java-core/issues/864)) ([bd40b1d](https://togithub.com/googleapis/java-core/commit/bd40b1d1b36cdcfa833047609e2488594b112be1)) - update dependency com.google.api:gax-bom to v2.18.5 ([#​876](https://togithub.com/googleapis/java-core/issues/876)) ([d8dc7fb](https://togithub.com/googleapis/java-core/commit/d8dc7fbdb0d65e493ca4154658c63e80d89ab600)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.9.2 ([#​870](https://togithub.com/googleapis/java-core/issues/870)) ([7e961e9](https://togithub.com/googleapis/java-core/commit/7e961e945d5e049a1a1bb2592e9c155b5937e33b)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.5.2 ([#​865](https://togithub.com/googleapis/java-core/issues/865)) ([fe7b974](https://togithub.com/googleapis/java-core/commit/fe7b974a0eae82711ca96edf412944309d5d6202)) - update dependency com.google.auth:google-auth-library-bom to v1.8.1 ([#​856](https://togithub.com/googleapis/java-core/issues/856)) ([92df5d3](https://togithub.com/googleapis/java-core/commit/92df5d3c248214970d38432e8c264d151298d1e6)) - update dependency com.google.http-client:google-http-client-bom to v1.42.2 ([#​871](https://togithub.com/googleapis/java-core/issues/871)) ([1972e8e](https://togithub.com/googleapis/java-core/commit/1972e8e45e11597e56609aa5fcd44e61958d5857)) - update dependency com.google.protobuf:protobuf-bom to v3.21.3 ([#​874](https://togithub.com/googleapis/java-core/issues/874)) ([1e18977](https://togithub.com/googleapis/java-core/commit/1e18977820ac766157156fb6246bd318d207971c)) - update dependency com.google.protobuf:protobuf-bom to v3.21.4 ([#​877](https://togithub.com/googleapis/java-core/issues/877)) ([d12fb5e](https://togithub.com/googleapis/java-core/commit/d12fb5e4eb8aa42015df84abf31f56408c8b64d8)) - update dependency io.grpc:grpc-bom to v1.48.0 ([#​873](https://togithub.com/googleapis/java-core/issues/873)) ([a45b075](https://togithub.com/googleapis/java-core/commit/a45b075e414049550c51ff0097337e45128fc499))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 2c7b78d4458..935a1349c72 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.8.1 + 2.8.3 test tests From d46acd91faa2be11b21ac74cc74983ac952ea6a5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 29 Jul 2022 23:54:17 +0200 Subject: [PATCH 159/178] deps: update dependency com.google.cloud:google-cloud-core to v2.8.4 (#966) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.3` -> `2.8.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.5/compatibility-slim/2.8.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.5/confidence-slim/2.8.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 935a1349c72..60c63454495 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.8.3 + 2.8.4 test tests From 6dbbf5e5e2b30a24100ff8160b2956aefcecdb65 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 3 Aug 2022 20:04:13 +0200 Subject: [PATCH 160/178] deps: update dependency com.google.cloud:google-cloud-core to v2.8.5 (#972) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.4` -> `2.8.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.7/compatibility-slim/2.8.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.7/confidence-slim/2.8.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 60c63454495..34d1e3b17c8 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.8.4 + 2.8.5 test tests From f076ec4bfd22e7a94f67be6d14619c4fa8359bfb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 3 Aug 2022 21:40:29 +0200 Subject: [PATCH 161/178] deps: update dependency com.google.cloud:google-cloud-core to v2.8.7 (#975) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.5` -> `2.8.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.7/compatibility-slim/2.8.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.7/confidence-slim/2.8.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.8.7`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​287-httpsgithubcomgoogleapisjava-corecomparev286v287-2022-08-03) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.6...v2.8.7) ##### Dependencies - update dependency com.google.auth:google-auth-library-bom to v1.9.0 ([#​894](https://togithub.com/googleapis/java-core/issues/894)) ([82aaa16](https://togithub.com/googleapis/java-core/commit/82aaa16cd9813984a0c92d944eb1ad956759a8e5)) - update dependency io.grpc:grpc-bom to v1.48.1 ([#​891](https://togithub.com/googleapis/java-core/issues/891)) ([0b0f9b8](https://togithub.com/googleapis/java-core/commit/0b0f9b89757b801e8334c764644d7b66032d36d1)) ### [`v2.8.6`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​286-httpsgithubcomgoogleapisjava-corecomparev285v286-2022-08-02) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.5...v2.8.6) ##### Dependencies - update dependency com.google.api:gax-bom to v2.18.7 ([#​890](https://togithub.com/googleapis/java-core/issues/890)) ([c67bed5](https://togithub.com/googleapis/java-core/commit/c67bed5281b458e78780cdd918235b5d073917c7)) - update dependency com.google.code.gson:gson to v2.9.1 ([#​888](https://togithub.com/googleapis/java-core/issues/888)) ([7b799c6](https://togithub.com/googleapis/java-core/commit/7b799c66f4aaf057242e9a231b920e49a7c964e9))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 34d1e3b17c8..958aa7dc0bf 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.8.5 + 2.8.7 test tests From 558ffe4fd66dfa0723eb3ca7d4d870f0523adaad Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 4 Aug 2022 19:10:20 +0200 Subject: [PATCH 162/178] deps: update dependency com.google.cloud:google-cloud-core to v2.8.8 (#979) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.7` -> `2.8.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.8/compatibility-slim/2.8.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.8/confidence-slim/2.8.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.8.8`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​288-httpsgithubcomgoogleapisjava-corecomparev287v288-2022-08-04) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.7...v2.8.8) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#​897](https://togithub.com/googleapis/java-core/issues/897)) ([29e4fc9](https://togithub.com/googleapis/java-core/commit/29e4fc93d5d4d50f7de85eae7a8150314cca6f43))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 958aa7dc0bf..3603d1b3b46 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.8.7 + 2.8.8 test tests From 5a5109939f9702b02a40e223ed52cbdb18ca2021 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 18:08:19 +0200 Subject: [PATCH 163/178] chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.0 (#983) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.0.0` -> `26.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/compatibility-slim/26.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/confidence-slim/26.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 3603d1b3b46..9c2b420d5a7 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 26.0.0 + 26.1.0 pom import From 6fa8505cf2e9fdf3930e8c25ef129c3244d995c5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 17 Aug 2022 15:44:18 +0200 Subject: [PATCH 164/178] deps: update dependency com.google.cloud:google-cloud-core to v2.8.9 (#987) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.8` -> `2.8.9` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.9/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.9/compatibility-slim/2.8.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.9/confidence-slim/2.8.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.8.9`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​289-httpsgithubcomgoogleapisjava-corecomparev288v289-2022-08-16) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.8...v2.8.9) ##### Dependencies - update dependency com.google.auth:google-auth-library-bom to v1.10.0 ([#​900](https://togithub.com/googleapis/java-core/issues/900)) ([c01b47a](https://togithub.com/googleapis/java-core/commit/c01b47a122a9036f8c594cb583dab3512a257597)) - update dependency com.google.protobuf:protobuf-bom to v3.21.5 ([#​901](https://togithub.com/googleapis/java-core/issues/901)) ([13e2fd6](https://togithub.com/googleapis/java-core/commit/13e2fd6fbae1d34385ec500aaf4a2b38e19dd6de)) - update dependency org.threeten:threetenbp to v1.6.1 ([#​902](https://togithub.com/googleapis/java-core/issues/902)) ([02dac62](https://togithub.com/googleapis/java-core/commit/02dac62784a6614291836917b022a32745312157))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 9c2b420d5a7..3bfb0c73c22 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.8.8 + 2.8.9 test tests From d0de1651dd0f8ce627cb45d8503dc4cc7759f0a4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 25 Aug 2022 17:02:31 +0200 Subject: [PATCH 165/178] deps: update dependency com.google.cloud:google-cloud-core to v2.8.10 (#988) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.9` -> `2.8.10` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.10/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.10/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.10/compatibility-slim/2.8.9)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.10/confidence-slim/2.8.9)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.8.10`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​2810-httpsgithubcomgoogleapisjava-corecomparev289v2810-2022-08-24) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.9...v2.8.10) ##### Dependencies - update dependency com.google.api:gax-bom to v2.19.0 ([#​907](https://togithub.com/googleapis/java-core/issues/907)) ([51b824c](https://togithub.com/googleapis/java-core/commit/51b824c225fd7095138e1ec2b6d47af4e2a34352)) - update dependency io.grpc:grpc-bom to v1.49.0 ([#​908](https://togithub.com/googleapis/java-core/issues/908)) ([fbccd2d](https://togithub.com/googleapis/java-core/commit/fbccd2daceb0984c7cb95f84f89a116e54bf4ddc))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 3bfb0c73c22..21f8cdfea77 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.8.9 + 2.8.10 test tests From 7aa3d282f173501714bac77fc39e766bce22393e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 31 Aug 2022 22:46:12 +0200 Subject: [PATCH 166/178] chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.1 (#990) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.1.0` -> `26.1.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/compatibility-slim/26.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/confidence-slim/26.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 21f8cdfea77..38fb3f5011e 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 26.1.0 + 26.1.1 pom import From 1adc92136fac9227a2bc9aa3e549c791730fd1dd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Sep 2022 16:04:30 +0200 Subject: [PATCH 167/178] deps: update dependency com.google.cloud:google-cloud-core to v2.8.12 (#995) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.10` -> `2.8.12` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.12/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.12/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.12/compatibility-slim/2.8.10)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.12/confidence-slim/2.8.10)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.8.12`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​2812-httpsgithubcomgoogleapisjava-corecomparev2811v2812-2022-09-14) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.11...v2.8.12) ##### Dependencies - Update dependency com.google.api:gax-bom to v2.19.1 ([#​915](https://togithub.com/googleapis/java-core/issues/915)) ([2647fde](https://togithub.com/googleapis/java-core/commit/2647fdee8e2b168f3364af8e76abfe2903578b29)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.6 ([#​916](https://togithub.com/googleapis/java-core/issues/916)) ([a7db234](https://togithub.com/googleapis/java-core/commit/a7db234800481ffba71d3222542971dbcd212d8e)) ### [`v2.8.11`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​2811-httpsgithubcomgoogleapisjava-corecomparev2810v2811-2022-09-08) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.10...v2.8.11) ##### Dependencies - Update dependency com.google.auth:google-auth-library-bom to v1.11.0 ([#​911](https://togithub.com/googleapis/java-core/issues/911)) ([4656905](https://togithub.com/googleapis/java-core/commit/4656905956504e4bc4fe224d1f8cd70bbab614d8))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 38fb3f5011e..601cda60850 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.8.10 + 2.8.12 test tests From c4c2149130f510b50a4171b20950e6f46054bdce Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Sep 2022 17:32:40 +0200 Subject: [PATCH 168/178] chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.2 (#1002) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.1.1` -> `26.1.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.2/compatibility-slim/26.1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.2/confidence-slim/26.1.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 601cda60850..5d405c9cfa4 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 26.1.1 + 26.1.2 pom import From 8ecd59aad5fb92139d6aa8359f9cbe72b499c4bd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Sep 2022 22:10:32 +0200 Subject: [PATCH 169/178] deps: update dependency com.google.cloud:google-cloud-core to v2.8.13 (#1006) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.12` -> `2.8.13` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.13/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.13/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.13/compatibility-slim/2.8.12)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.13/confidence-slim/2.8.12)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 5d405c9cfa4..cb7f320ea5a 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.8.12 + 2.8.13 test tests From dc4ce5b6f13edbdd737216566be812c64bb8f1ca Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 21 Sep 2022 16:20:32 +0200 Subject: [PATCH 170/178] deps: update dependency com.google.cloud:google-cloud-core to v2.8.14 (#1010) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.13` -> `2.8.14` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.14/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.14/compatibility-slim/2.8.13)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.14/confidence-slim/2.8.13)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index cb7f320ea5a..a281de0f468 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.8.13 + 2.8.14 test tests From 58d9301b201c6fc6f8598c937d345ff412faeab3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 26 Sep 2022 16:30:36 +0200 Subject: [PATCH 171/178] deps: update dependency com.google.cloud:google-cloud-core to v2.8.15 (#1014) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.14` -> `2.8.15` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.15/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.15/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.15/compatibility-slim/2.8.14)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.15/confidence-slim/2.8.14)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.8.15`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​2815-httpsgithubcomgoogleapisjava-corecomparev2814v2815-2022-09-23) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.14...v2.8.15) ##### Dependencies - Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.0 ([#​925](https://togithub.com/googleapis/java-core/issues/925)) ([a5475c5](https://togithub.com/googleapis/java-core/commit/a5475c5333ca97392c9e64a883826ea1bd976a01)) - Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.1 ([#​926](https://togithub.com/googleapis/java-core/issues/926)) ([3bc96fb](https://togithub.com/googleapis/java-core/commit/3bc96fbba4907d4ac3d24915870132fed596c0d3))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index a281de0f468..760f9d91de3 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.8.14 + 2.8.15 test tests From 799fcc44a250f0e0f7b3ca442c859369846397f8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 27 Sep 2022 17:25:55 +0200 Subject: [PATCH 172/178] deps: update dependency com.google.cloud:google-cloud-core to v2.8.16 (#1021) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.15` -> `2.8.16` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.16/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.16/compatibility-slim/2.8.15)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.16/confidence-slim/2.8.15)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 760f9d91de3..66b02334527 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.8.15 + 2.8.16 test tests From 284ed36139ec03ff16c045f14fd7d96d82ac49ab Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 30 Sep 2022 23:56:47 +0200 Subject: [PATCH 173/178] deps: update dependency com.google.cloud:google-cloud-core to v2.8.18 (#1027) --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 66b02334527..29e0dffa525 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.8.16 + 2.8.18 test tests From 82bf83d61661f0b351ed5f27a488bb6994592a11 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sun, 2 Oct 2022 23:26:33 +0200 Subject: [PATCH 174/178] deps: update dependency com.google.cloud:google-cloud-core to v2.8.19 (#1029) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.18` -> `2.8.19` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.19/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.19/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.19/compatibility-slim/2.8.18)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.19/confidence-slim/2.8.18)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.8.19`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​2819-httpsgithubcomgoogleapisjava-corecomparev2818v2819-2022-09-30) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.18...v2.8.19) ##### Dependencies - Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.5 ([#​963](https://togithub.com/googleapis/java-core/issues/963)) ([1ee2f9a](https://togithub.com/googleapis/java-core/commit/1ee2f9acd3968b21974a550b6732fe68b18085f4))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index 29e0dffa525..bdd68afd270 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.8.18 + 2.8.19 test tests From 9a1bc5e2e9ca7f34ccc71c1d8a6eeaded52ccc6e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Oct 2022 03:34:22 +0200 Subject: [PATCH 175/178] deps: update dependency com.google.cloud:google-cloud-core to v2.8.20 (#1030) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.19` -> `2.8.20` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.20/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.20/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.20/compatibility-slim/2.8.19)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.20/confidence-slim/2.8.19)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-core ### [`v2.8.20`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​2820-httpsgithubcomgoogleapisjava-corecomparev2819v2820-2022-10-02) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.19...v2.8.20) ##### Dependencies - Update dependency com.google.api:gax-bom to v2.19.2 ([#​969](https://togithub.com/googleapis/java-core/issues/969)) ([1151449](https://togithub.com/googleapis/java-core/commit/1151449c061ab51c45982444db5f9da9d2ce4fb7)) - Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.6 ([#​967](https://togithub.com/googleapis/java-core/issues/967)) ([4a7b524](https://togithub.com/googleapis/java-core/commit/4a7b524fa366484825bedbc0a4f86d4551a6a0e8)) - Update dependency io.grpc:grpc-bom to v1.49.2 ([#​966](https://togithub.com/googleapis/java-core/issues/966)) ([b7738aa](https://togithub.com/googleapis/java-core/commit/b7738aa71fb9cf0994e4ad1dae4bae433754cda0))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index bdd68afd270..e260acf38cd 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -47,7 +47,7 @@ com.google.cloud google-cloud-core - 2.8.19 + 2.8.20 test tests From 85879a26e4f1bfe9c678108d460b7a4a395dc86d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 7 Oct 2022 20:04:19 +0200 Subject: [PATCH 176/178] chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.3 (#1037) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.1.2` -> `26.1.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/compatibility-slim/26.1.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/confidence-slim/26.1.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). --- dialogflow/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index e260acf38cd..fbab5837acf 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 26.1.2 + 26.1.3 pom import From 4abef203d084d719f36a58fa3fde2d385eb4b353 Mon Sep 17 00:00:00 2001 From: shabirmean Date: Mon, 14 Nov 2022 19:04:36 -0500 Subject: [PATCH 177/178] chore: post migration updates - groupId, artifact url, repo references --- dialogflow/snippets/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dialogflow/snippets/pom.xml b/dialogflow/snippets/pom.xml index fbab5837acf..0d7425bc6d1 100644 --- a/dialogflow/snippets/pom.xml +++ b/dialogflow/snippets/pom.xml @@ -1,11 +1,11 @@ 4.0.0 - com.google.cloud + com.example.dialogflow dialogflow-snippets jar Google Dialogflow API Snippets - https://github.com/googleapis/java-dialogflow + https://github.com/GoogleCloudPlatform/java-docs-samples/tree/main/dialogflow