diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/resources/META-INF/native-image/com.google.cloud.dialogflow.v2/reflect-config.json b/java-dialogflow/google-cloud-dialogflow/src/main/resources/META-INF/native-image/com.google.cloud.dialogflow.v2/reflect-config.json index 7078612f4fb8..97c77e432a0e 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/resources/META-INF/native-image/com.google.cloud.dialogflow.v2/reflect-config.json +++ b/java-dialogflow/google-cloud-dialogflow/src/main/resources/META-INF/native-image/com.google.cloud.dialogflow.v2/reflect-config.json @@ -7253,6 +7253,132 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.dialogflow.v2.ResponseMessage", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.v2.ResponseMessage$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.v2.ResponseMessage$EndInteraction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.v2.ResponseMessage$EndInteraction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.v2.ResponseMessage$LiveAgentHandoff", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.v2.ResponseMessage$LiveAgentHandoff$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.v2.ResponseMessage$MixedAudio", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.v2.ResponseMessage$MixedAudio$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.v2.ResponseMessage$MixedAudio$Segment", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.v2.ResponseMessage$MixedAudio$Segment$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.v2.ResponseMessage$TelephonyTransferCall", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.v2.ResponseMessage$TelephonyTransferCall$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.v2.ResponseMessage$Text", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.v2.ResponseMessage$Text$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.dialogflow.v2.RestoreAgentRequest", "queryAllDeclaredConstructors": true, diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioConfigProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioConfigProto.java index 0e2923af1360..d9282ba2d829 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioConfigProto.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioConfigProto.java @@ -102,7 +102,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014start_offset\030\001 \001(\0132\031.google.protobuf.Duration\022-\n\n" + "end_offset\030\002 \001(\0132\031.google.protobuf.Duration\022\022\n" + "\n" - + "confidence\030\004 \001(\002\"\374\005\n" + + "confidence\030\004 \001(\002\"\330\006\n" + "\020InputAudioConfig\022G\n" + "\016audio_encoding\030\001" + " \001(\0162).google.cloud.dialogflow.v2.AudioEncodingB\004\342A\001\002\022\037\n" @@ -125,8 +125,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "!opt_out_conformer_model_migration\030\032 \001(\010\022_\n" + "\021gemini_asr_config\030\036 \001(\0132>.google.cloud.dial" + "ogflow.v2.SpeechToTextConfig.GeminiAsrConfigB\004\342A\001\001\022!\n" - + "\016use_gemini_asr\030\037 \001(\010B\004\342A\001\001H\000\210\001\001B\021\n" - + "\017_use_gemini_asr\"r\n" + + "\016use_gemini_asr\030\037 \001(\010B\004\342A\001\001H\000\210\001\001\0224\n" + + "!disable_interim_input_transcripts\030 " + + " \001(\010B\004\342A\001\001H\001\210\001\001B\021\n" + + "\017_use_gemini_asrB$\n" + + "\"_disable_interim_input_transcripts\"r\n" + "\024VoiceSelectionParams\022\022\n" + "\004name\030\001 \001(\tB\004\342A\001\001\022F\n" + "\013ssml_gender\030\002" @@ -136,14 +139,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005pitch\030\002 \001(\001B\004\342A\001\001\022\034\n" + "\016volume_gain_db\030\003 \001(\001B\004\342A\001\001\022 \n" + "\022effects_profile_id\030\005 \003(\tB\004\342A\001\001\022E\n" - + "\005voice\030\004" - + " \001(\01320.google.cloud.dialogflow.v2.VoiceSelectionParamsB\004\342A\001\001\022S\n" - + "\016pronunciations\030\006 \003(\01325.google.cloud.dialogfl" - + "ow.v2.CustomPronunciationParamsB\004\342A\001\001\"\226\002\n" + + "\005voice\030\004 \001(\01320.google.cl" + + "oud.dialogflow.v2.VoiceSelectionParamsB\004\342A\001\001\022S\n" + + "\016pronunciations\030\006 \003(\01325.google.cl" + + "oud.dialogflow.v2.CustomPronunciationParamsB\004\342A\001\001\"\226\002\n" + "\031CustomPronunciationParams\022\016\n" + "\006phrase\030\001 \001(\t\022a\n" - + "\021phonetic_encoding\030\002 \001(\0162F.google." - + "cloud.dialogflow.v2.CustomPronunciationParams.PhoneticEncoding\022\025\n\r" + + "\021phonetic_encoding\030\002 \001" + + "(\0162F.google.cloud.dialogflow.v2.CustomPronunciationParams.PhoneticEncoding\022\025\n\r" + "pronunciation\030\003 \001(\t\"o\n" + "\020PhoneticEncoding\022!\n" + "\035PHONETIC_ENCODING_UNSPECIFIED\020\000\022\031\n" @@ -153,14 +156,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016audio_encoding\030\001" + " \001(\0162/.google.cloud.dialogflow.v2.OutputAudioEncodingB\004\342A\001\002\022\031\n" + "\021sample_rate_hertz\030\002 \001(\005\022T\n" - + "\030synthesize_speech_config\030\003 \001(\013" - + "22.google.cloud.dialogflow.v2.SynthesizeSpeechConfig\"U\n" + + "\030synthesize_speech_config\030\003" + + " \001(\01322.google.cloud.dialogflow.v2.SynthesizeSpeechConfig\"U\n" + "\023TelephonyDtmfEvents\022>\n" + "\013dtmf_events\030\001" - + " \003(\0162).google.cloud.dialogflow.v2.TelephonyDtmf\"\231\010\n" + + " \003(\0162).google.cloud.dialogflow.v2.TelephonyDtmf\"\335\010\n" + "\022SpeechToTextConfig\022L\n" - + "\024speech_model_variant\030\001 \001(\0162..googl" - + "e.cloud.dialogflow.v2.SpeechModelVariant\022\r\n" + + "\024speech_model_variant\030\001" + + " \001(\0162..google.cloud.dialogflow.v2.SpeechModelVariant\022\r\n" + "\005model\030\002 \001(\t\0229\n" + "\013phrase_sets\030\004 \003(\tB$\372A!\n" + "\037speech.googleapis.com/PhraseSet\022A\n" @@ -170,17 +173,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "language_code\030\010 \001(\t\022\030\n" + "\020enable_word_info\030\t \001(\010\022%\n" + "\035use_timeout_based_endpointing\030\013 \001(\010\022_\n" - + "\021gemini_asr_config\030\017 " - + "\001(\0132>.google.cloud.dialogflow.v2.SpeechToTextConfig.GeminiAsrConfigB\004\342A\001\001\022\034\n" - + "\016use_gemini_asr\030\020 \001(\010B\004\342A\001\001\032\265\004\n" - + "\017GeminiAsrConfig\022\026\n" - + "\010model_id\030\001 \001(\tB\004\342A\001\001\022!\n" + + "\021gemini_asr_config\030\017 \001(\0132>.google.cloud.dialogflo" + + "w.v2.SpeechToTextConfig.GeminiAsrConfigB\004\342A\001\001\022\034\n" + + "\016use_gemini_asr\030\020 \001(\010B\004\342A\001\001\0224\n" + + "!disable_interim_input_transcripts\030\021" + + " \001(\010B\004\342A\001\001H\000\210\001\001\032\235\004\n" + + "\017GeminiAsrConfig\022!\n" + "\023silence_duration_ms\030\002 \001(\005B\004\342A\001\001\022\037\n" + "\021prefix_padding_ms\030\003 \001(\005B\004\342A\001\001\022z\n" - + "\033start_of_speech_sensitivity\030\004 \001(\0162O.google.cloud.dialogflow.v" - + "2.SpeechToTextConfig.GeminiAsrConfig.StartSensitivityB\004\342A\001\001\022v\n" - + "\031end_of_speech_sensitivity\030\005 \001(\0162M.google.cloud.dialogflow" - + ".v2.SpeechToTextConfig.GeminiAsrConfig.EndSensitivityB\004\342A\001\001\"l\n" + + "\033start_of_speech_sensitivity\030\004 \001(\0162O.google.cloud.dialogflow" + + ".v2.SpeechToTextConfig.GeminiAsrConfig.StartSensitivityB\004\342A\001\001\022v\n" + + "\031end_of_speech_sensitivity\030\005 \001(\0162M.google.cloud.dialogfl" + + "ow.v2.SpeechToTextConfig.GeminiAsrConfig.EndSensitivityB\004\342A\001\001\"l\n" + "\020StartSensitivity\022!\n" + "\035START_SENSITIVITY_UNSPECIFIED\020\000\022\032\n" + "\026START_SENSITIVITY_HIGH\020\001\022\031\n" @@ -188,7 +192,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016EndSensitivity\022\037\n" + "\033END_SENSITIVITY_UNSPECIFIED\020\000\022\030\n" + "\024END_SENSITIVITY_HIGH\020\001\022\027\n" - + "\023END_SENSITIVITY_LOW\020\002*\224\002\n\r" + + "\023END_SENSITIVITY_LOW\020\002B$\n" + + "\"_disable_interim_input_transcripts*\224\002\n\r" + "TelephonyDtmf\022\036\n" + "\032TELEPHONY_DTMF_UNSPECIFIED\020\000\022\014\n" + "\010DTMF_ONE\020\001\022\014\n" @@ -291,6 +296,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptOutConformerModelMigration", "GeminiAsrConfig", "UseGeminiAsr", + "DisableInterimInputTranscripts", }); internal_static_google_cloud_dialogflow_v2_VoiceSelectionParams_descriptor = getDescriptor().getMessageType(3); @@ -353,6 +359,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "UseTimeoutBasedEndpointing", "GeminiAsrConfig", "UseGeminiAsr", + "DisableInterimInputTranscripts", }); internal_static_google_cloud_dialogflow_v2_SpeechToTextConfig_GeminiAsrConfig_descriptor = internal_static_google_cloud_dialogflow_v2_SpeechToTextConfig_descriptor.getNestedType(0); @@ -360,7 +367,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_dialogflow_v2_SpeechToTextConfig_GeminiAsrConfig_descriptor, new java.lang.String[] { - "ModelId", "SilenceDurationMs", "PrefixPaddingMs", "StartOfSpeechSensitivity", diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AutomatedAgentReply.java b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AutomatedAgentReply.java index ae89c3576045..ddc0502b7380 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AutomatedAgentReply.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AutomatedAgentReply.java @@ -52,8 +52,12 @@ private AutomatedAgentReply(com.google.protobuf.GeneratedMessage.Builder buil } private AutomatedAgentReply() { + responseMessages_ = java.util.Collections.emptyList(); + intent_ = ""; + event_ = ""; automatedAgentReplyType_ = 0; cxCurrentPage_ = ""; + callCompanionAuthCode_ = com.google.protobuf.ByteString.EMPTY; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @@ -310,6 +314,270 @@ public com.google.cloud.dialogflow.v2.DetectIntentResponse getDetectIntentRespon : detectIntentResponse_; } + public static final int RESPONSE_MESSAGES_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private java.util.List responseMessages_; + + /** + * + * + *
+   * Response messages from the automated agent.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + @java.lang.Override + public java.util.List getResponseMessagesList() { + return responseMessages_; + } + + /** + * + * + *
+   * Response messages from the automated agent.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + @java.lang.Override + public java.util.List + getResponseMessagesOrBuilderList() { + return responseMessages_; + } + + /** + * + * + *
+   * Response messages from the automated agent.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + @java.lang.Override + public int getResponseMessagesCount() { + return responseMessages_.size(); + } + + /** + * + * + *
+   * Response messages from the automated agent.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage getResponseMessages(int index) { + return responseMessages_.get(index); + } + + /** + * + * + *
+   * Response messages from the automated agent.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessageOrBuilder getResponseMessagesOrBuilder( + int index) { + return responseMessages_.get(index); + } + + public static final int INTENT_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object intent_ = ""; + + /** + * + * + *
+   * Name of the intent if an intent is matched for the query.
+   * For a V2 query, the value format is `projects/<Project ID>/locations/
+   * <Location ID>/agent/intents/<Intent ID>`.
+   * For a V3 query, the value format is `projects/<Project ID>/locations/
+   * <Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
+   * 
+ * + * string intent = 4 [(.google.api.resource_reference) = { ... } + * + * @return The intent. + */ + @java.lang.Override + public java.lang.String getIntent() { + java.lang.Object ref = intent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + intent_ = s; + return s; + } + } + + /** + * + * + *
+   * Name of the intent if an intent is matched for the query.
+   * For a V2 query, the value format is `projects/<Project ID>/locations/
+   * <Location ID>/agent/intents/<Intent ID>`.
+   * For a V3 query, the value format is `projects/<Project ID>/locations/
+   * <Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
+   * 
+ * + * string intent = 4 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for intent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIntentBytes() { + java.lang.Object ref = intent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + intent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EVENT_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private volatile java.lang.Object event_ = ""; + + /** + * + * + *
+   * Event name if an event is triggered for the query.
+   * 
+ * + * string event = 5; + * + * @return The event. + */ + @java.lang.Override + public java.lang.String getEvent() { + java.lang.Object ref = event_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + event_ = s; + return s; + } + } + + /** + * + * + *
+   * Event name if an event is triggered for the query.
+   * 
+ * + * string event = 5; + * + * @return The bytes for event. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEventBytes() { + java.lang.Object ref = event_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + event_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MATCH_CONFIDENCE_FIELD_NUMBER = 9; + private float matchConfidence_ = 0F; + + /** + * + * + *
+   * The confidence of the match. Values range from 0.0 (completely uncertain)
+   * to 1.0 (completely certain).
+   * This value is for informational purpose only and is only used to help match
+   * the best intent within the classification threshold. This value may change
+   * for the same end-user expression at any time due to a model retraining or
+   * change in implementation.
+   * 
+ * + * float match_confidence = 9; + * + * @return The matchConfidence. + */ + @java.lang.Override + public float getMatchConfidence() { + return matchConfidence_; + } + + public static final int PARAMETERS_FIELD_NUMBER = 10; + private com.google.protobuf.Struct parameters_; + + /** + * + * + *
+   * The collection of current parameters at the time of this response.
+   * 
+ * + * .google.protobuf.Struct parameters = 10; + * + * @return Whether the parameters field is set. + */ + @java.lang.Override + public boolean hasParameters() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * The collection of current parameters at the time of this response.
+   * 
+ * + * .google.protobuf.Struct parameters = 10; + * + * @return The parameters. + */ + @java.lang.Override + public com.google.protobuf.Struct getParameters() { + return parameters_ == null ? com.google.protobuf.Struct.getDefaultInstance() : parameters_; + } + + /** + * + * + *
+   * The collection of current parameters at the time of this response.
+   * 
+ * + * .google.protobuf.Struct parameters = 10; + */ + @java.lang.Override + public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { + return parameters_ == null ? com.google.protobuf.Struct.getDefaultInstance() : parameters_; + } + public static final int AUTOMATED_AGENT_REPLY_TYPE_FIELD_NUMBER = 7; private int automatedAgentReplyType_ = 0; @@ -433,6 +701,26 @@ public com.google.protobuf.ByteString getCxCurrentPageBytes() { } } + public static final int CALL_COMPANION_AUTH_CODE_FIELD_NUMBER = 12; + private com.google.protobuf.ByteString callCompanionAuthCode_ = + com.google.protobuf.ByteString.EMPTY; + + /** + * + * + *
+   * The auth code for accessing Call Companion UI.
+   * 
+ * + * bytes call_companion_auth_code = 12; + * + * @return The callCompanionAuthCode. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCallCompanionAuthCode() { + return callCompanionAuthCode_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -450,6 +738,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getDetectIntentResponse()); } + for (int i = 0; i < responseMessages_.size(); i++) { + output.writeMessage(3, responseMessages_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(intent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, intent_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(event_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, event_); + } if (automatedAgentReplyType_ != com.google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType .AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED @@ -459,9 +756,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (allowCancellation_ != false) { output.writeBool(8, allowCancellation_); } + if (java.lang.Float.floatToRawIntBits(matchConfidence_) != 0) { + output.writeFloat(9, matchConfidence_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(10, getParameters()); + } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(cxCurrentPage_)) { com.google.protobuf.GeneratedMessage.writeString(output, 11, cxCurrentPage_); } + if (!callCompanionAuthCode_.isEmpty()) { + output.writeBytes(12, callCompanionAuthCode_); + } getUnknownFields().writeTo(output); } @@ -475,6 +781,15 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDetectIntentResponse()); } + for (int i = 0; i < responseMessages_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, responseMessages_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(intent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, intent_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(event_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, event_); + } if (automatedAgentReplyType_ != com.google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType .AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED @@ -484,9 +799,18 @@ public int getSerializedSize() { if (allowCancellation_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, allowCancellation_); } + if (java.lang.Float.floatToRawIntBits(matchConfidence_) != 0) { + size += com.google.protobuf.CodedOutputStream.computeFloatSize(9, matchConfidence_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getParameters()); + } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(cxCurrentPage_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(11, cxCurrentPage_); } + if (!callCompanionAuthCode_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream.computeBytesSize(12, callCompanionAuthCode_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -507,9 +831,19 @@ public boolean equals(final java.lang.Object obj) { if (hasDetectIntentResponse()) { if (!getDetectIntentResponse().equals(other.getDetectIntentResponse())) return false; } + if (!getResponseMessagesList().equals(other.getResponseMessagesList())) return false; + if (!getIntent().equals(other.getIntent())) return false; + if (!getEvent().equals(other.getEvent())) return false; + if (java.lang.Float.floatToIntBits(getMatchConfidence()) + != java.lang.Float.floatToIntBits(other.getMatchConfidence())) return false; + if (hasParameters() != other.hasParameters()) return false; + if (hasParameters()) { + if (!getParameters().equals(other.getParameters())) return false; + } if (automatedAgentReplyType_ != other.automatedAgentReplyType_) return false; if (getAllowCancellation() != other.getAllowCancellation()) return false; if (!getCxCurrentPage().equals(other.getCxCurrentPage())) return false; + if (!getCallCompanionAuthCode().equals(other.getCallCompanionAuthCode())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -525,12 +859,28 @@ public int hashCode() { hash = (37 * hash) + DETECT_INTENT_RESPONSE_FIELD_NUMBER; hash = (53 * hash) + getDetectIntentResponse().hashCode(); } + if (getResponseMessagesCount() > 0) { + hash = (37 * hash) + RESPONSE_MESSAGES_FIELD_NUMBER; + hash = (53 * hash) + getResponseMessagesList().hashCode(); + } + hash = (37 * hash) + INTENT_FIELD_NUMBER; + hash = (53 * hash) + getIntent().hashCode(); + hash = (37 * hash) + EVENT_FIELD_NUMBER; + hash = (53 * hash) + getEvent().hashCode(); + hash = (37 * hash) + MATCH_CONFIDENCE_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits(getMatchConfidence()); + if (hasParameters()) { + hash = (37 * hash) + PARAMETERS_FIELD_NUMBER; + hash = (53 * hash) + getParameters().hashCode(); + } hash = (37 * hash) + AUTOMATED_AGENT_REPLY_TYPE_FIELD_NUMBER; hash = (53 * hash) + automatedAgentReplyType_; hash = (37 * hash) + ALLOW_CANCELLATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowCancellation()); hash = (37 * hash) + CX_CURRENT_PAGE_FIELD_NUMBER; hash = (53 * hash) + getCxCurrentPage().hashCode(); + hash = (37 * hash) + CALL_COMPANION_AUTH_CODE_FIELD_NUMBER; + hash = (53 * hash) + getCallCompanionAuthCode().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -673,6 +1023,8 @@ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { internalGetDetectIntentResponseFieldBuilder(); + internalGetResponseMessagesFieldBuilder(); + internalGetParametersFieldBuilder(); } } @@ -685,9 +1037,25 @@ public Builder clear() { detectIntentResponseBuilder_.dispose(); detectIntentResponseBuilder_ = null; } + if (responseMessagesBuilder_ == null) { + responseMessages_ = java.util.Collections.emptyList(); + } else { + responseMessages_ = null; + responseMessagesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + intent_ = ""; + event_ = ""; + matchConfidence_ = 0F; + parameters_ = null; + if (parametersBuilder_ != null) { + parametersBuilder_.dispose(); + parametersBuilder_ = null; + } automatedAgentReplyType_ = 0; allowCancellation_ = false; cxCurrentPage_ = ""; + callCompanionAuthCode_ = com.google.protobuf.ByteString.EMPTY; return this; } @@ -715,6 +1083,7 @@ public com.google.cloud.dialogflow.v2.AutomatedAgentReply build() { public com.google.cloud.dialogflow.v2.AutomatedAgentReply buildPartial() { com.google.cloud.dialogflow.v2.AutomatedAgentReply result = new com.google.cloud.dialogflow.v2.AutomatedAgentReply(this); + buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -722,6 +1091,19 @@ public com.google.cloud.dialogflow.v2.AutomatedAgentReply buildPartial() { return result; } + private void buildPartialRepeatedFields( + com.google.cloud.dialogflow.v2.AutomatedAgentReply result) { + if (responseMessagesBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + responseMessages_ = java.util.Collections.unmodifiableList(responseMessages_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.responseMessages_ = responseMessages_; + } else { + result.responseMessages_ = responseMessagesBuilder_.build(); + } + } + private void buildPartial0(com.google.cloud.dialogflow.v2.AutomatedAgentReply result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; @@ -732,15 +1114,31 @@ private void buildPartial0(com.google.cloud.dialogflow.v2.AutomatedAgentReply re : detectIntentResponseBuilder_.build(); to_bitField0_ |= 0x00000001; } - if (((from_bitField0_ & 0x00000002) != 0)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.intent_ = intent_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.event_ = event_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.matchConfidence_ = matchConfidence_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.parameters_ = parametersBuilder_ == null ? parameters_ : parametersBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000040) != 0)) { result.automatedAgentReplyType_ = automatedAgentReplyType_; } - if (((from_bitField0_ & 0x00000004) != 0)) { + if (((from_bitField0_ & 0x00000080) != 0)) { result.allowCancellation_ = allowCancellation_; } - if (((from_bitField0_ & 0x00000008) != 0)) { + if (((from_bitField0_ & 0x00000100) != 0)) { result.cxCurrentPage_ = cxCurrentPage_; } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.callCompanionAuthCode_ = callCompanionAuthCode_; + } result.bitField0_ |= to_bitField0_; } @@ -760,6 +1158,49 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.AutomatedAgentReply othe if (other.hasDetectIntentResponse()) { mergeDetectIntentResponse(other.getDetectIntentResponse()); } + if (responseMessagesBuilder_ == null) { + if (!other.responseMessages_.isEmpty()) { + if (responseMessages_.isEmpty()) { + responseMessages_ = other.responseMessages_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureResponseMessagesIsMutable(); + responseMessages_.addAll(other.responseMessages_); + } + onChanged(); + } + } else { + if (!other.responseMessages_.isEmpty()) { + if (responseMessagesBuilder_.isEmpty()) { + responseMessagesBuilder_.dispose(); + responseMessagesBuilder_ = null; + responseMessages_ = other.responseMessages_; + bitField0_ = (bitField0_ & ~0x00000002); + responseMessagesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetResponseMessagesFieldBuilder() + : null; + } else { + responseMessagesBuilder_.addAllMessages(other.responseMessages_); + } + } + } + if (!other.getIntent().isEmpty()) { + intent_ = other.intent_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getEvent().isEmpty()) { + event_ = other.event_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (java.lang.Float.floatToRawIntBits(other.getMatchConfidence()) != 0) { + setMatchConfidence(other.getMatchConfidence()); + } + if (other.hasParameters()) { + mergeParameters(other.getParameters()); + } if (other.automatedAgentReplyType_ != 0) { setAutomatedAgentReplyTypeValue(other.getAutomatedAgentReplyTypeValue()); } @@ -768,9 +1209,12 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.AutomatedAgentReply othe } if (!other.getCxCurrentPage().isEmpty()) { cxCurrentPage_ = other.cxCurrentPage_; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000100; onChanged(); } + if (!other.getCallCompanionAuthCode().isEmpty()) { + setCallCompanionAuthCode(other.getCallCompanionAuthCode()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -804,24 +1248,68 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; break; } // case 10 + case 26: + { + com.google.cloud.dialogflow.v2.ResponseMessage m = + input.readMessage( + com.google.cloud.dialogflow.v2.ResponseMessage.parser(), extensionRegistry); + if (responseMessagesBuilder_ == null) { + ensureResponseMessagesIsMutable(); + responseMessages_.add(m); + } else { + responseMessagesBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: + { + intent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 34 + case 42: + { + event_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 42 case 56: { automatedAgentReplyType_ = input.readEnum(); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000040; break; } // case 56 case 64: { allowCancellation_ = input.readBool(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000080; break; } // case 64 + case 77: + { + matchConfidence_ = input.readFloat(); + bitField0_ |= 0x00000010; + break; + } // case 77 + case 82: + { + input.readMessage( + internalGetParametersFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 82 case 90: { cxCurrentPage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000100; break; } // case 90 + case 98: + { + callCompanionAuthCode_ = input.readBytes(); + bitField0_ |= 0x00000200; + break; + } // case 98 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1059,9 +1547,890 @@ public Builder clearDetectIntentResponse() { return detectIntentResponseBuilder_; } - private int automatedAgentReplyType_ = 0; + private java.util.List responseMessages_ = + java.util.Collections.emptyList(); - /** + private void ensureResponseMessagesIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + responseMessages_ = + new java.util.ArrayList( + responseMessages_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage, + com.google.cloud.dialogflow.v2.ResponseMessage.Builder, + com.google.cloud.dialogflow.v2.ResponseMessageOrBuilder> + responseMessagesBuilder_; + + /** + * + * + *
+     * Response messages from the automated agent.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + public java.util.List + getResponseMessagesList() { + if (responseMessagesBuilder_ == null) { + return java.util.Collections.unmodifiableList(responseMessages_); + } else { + return responseMessagesBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * Response messages from the automated agent.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + public int getResponseMessagesCount() { + if (responseMessagesBuilder_ == null) { + return responseMessages_.size(); + } else { + return responseMessagesBuilder_.getCount(); + } + } + + /** + * + * + *
+     * Response messages from the automated agent.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + public com.google.cloud.dialogflow.v2.ResponseMessage getResponseMessages(int index) { + if (responseMessagesBuilder_ == null) { + return responseMessages_.get(index); + } else { + return responseMessagesBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * Response messages from the automated agent.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + public Builder setResponseMessages( + int index, com.google.cloud.dialogflow.v2.ResponseMessage value) { + if (responseMessagesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureResponseMessagesIsMutable(); + responseMessages_.set(index, value); + onChanged(); + } else { + responseMessagesBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Response messages from the automated agent.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + public Builder setResponseMessages( + int index, com.google.cloud.dialogflow.v2.ResponseMessage.Builder builderForValue) { + if (responseMessagesBuilder_ == null) { + ensureResponseMessagesIsMutable(); + responseMessages_.set(index, builderForValue.build()); + onChanged(); + } else { + responseMessagesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Response messages from the automated agent.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + public Builder addResponseMessages(com.google.cloud.dialogflow.v2.ResponseMessage value) { + if (responseMessagesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureResponseMessagesIsMutable(); + responseMessages_.add(value); + onChanged(); + } else { + responseMessagesBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * Response messages from the automated agent.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + public Builder addResponseMessages( + int index, com.google.cloud.dialogflow.v2.ResponseMessage value) { + if (responseMessagesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureResponseMessagesIsMutable(); + responseMessages_.add(index, value); + onChanged(); + } else { + responseMessagesBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Response messages from the automated agent.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + public Builder addResponseMessages( + com.google.cloud.dialogflow.v2.ResponseMessage.Builder builderForValue) { + if (responseMessagesBuilder_ == null) { + ensureResponseMessagesIsMutable(); + responseMessages_.add(builderForValue.build()); + onChanged(); + } else { + responseMessagesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Response messages from the automated agent.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + public Builder addResponseMessages( + int index, com.google.cloud.dialogflow.v2.ResponseMessage.Builder builderForValue) { + if (responseMessagesBuilder_ == null) { + ensureResponseMessagesIsMutable(); + responseMessages_.add(index, builderForValue.build()); + onChanged(); + } else { + responseMessagesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Response messages from the automated agent.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + public Builder addAllResponseMessages( + java.lang.Iterable values) { + if (responseMessagesBuilder_ == null) { + ensureResponseMessagesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, responseMessages_); + onChanged(); + } else { + responseMessagesBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * Response messages from the automated agent.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + public Builder clearResponseMessages() { + if (responseMessagesBuilder_ == null) { + responseMessages_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + responseMessagesBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Response messages from the automated agent.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + public Builder removeResponseMessages(int index) { + if (responseMessagesBuilder_ == null) { + ensureResponseMessagesIsMutable(); + responseMessages_.remove(index); + onChanged(); + } else { + responseMessagesBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * Response messages from the automated agent.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + public com.google.cloud.dialogflow.v2.ResponseMessage.Builder getResponseMessagesBuilder( + int index) { + return internalGetResponseMessagesFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * Response messages from the automated agent.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + public com.google.cloud.dialogflow.v2.ResponseMessageOrBuilder getResponseMessagesOrBuilder( + int index) { + if (responseMessagesBuilder_ == null) { + return responseMessages_.get(index); + } else { + return responseMessagesBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * Response messages from the automated agent.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + public java.util.List + getResponseMessagesOrBuilderList() { + if (responseMessagesBuilder_ != null) { + return responseMessagesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(responseMessages_); + } + } + + /** + * + * + *
+     * Response messages from the automated agent.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + public com.google.cloud.dialogflow.v2.ResponseMessage.Builder addResponseMessagesBuilder() { + return internalGetResponseMessagesFieldBuilder() + .addBuilder(com.google.cloud.dialogflow.v2.ResponseMessage.getDefaultInstance()); + } + + /** + * + * + *
+     * Response messages from the automated agent.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + public com.google.cloud.dialogflow.v2.ResponseMessage.Builder addResponseMessagesBuilder( + int index) { + return internalGetResponseMessagesFieldBuilder() + .addBuilder(index, com.google.cloud.dialogflow.v2.ResponseMessage.getDefaultInstance()); + } + + /** + * + * + *
+     * Response messages from the automated agent.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + public java.util.List + getResponseMessagesBuilderList() { + return internalGetResponseMessagesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage, + com.google.cloud.dialogflow.v2.ResponseMessage.Builder, + com.google.cloud.dialogflow.v2.ResponseMessageOrBuilder> + internalGetResponseMessagesFieldBuilder() { + if (responseMessagesBuilder_ == null) { + responseMessagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage, + com.google.cloud.dialogflow.v2.ResponseMessage.Builder, + com.google.cloud.dialogflow.v2.ResponseMessageOrBuilder>( + responseMessages_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + responseMessages_ = null; + } + return responseMessagesBuilder_; + } + + private java.lang.Object intent_ = ""; + + /** + * + * + *
+     * Name of the intent if an intent is matched for the query.
+     * For a V2 query, the value format is `projects/<Project ID>/locations/
+     * <Location ID>/agent/intents/<Intent ID>`.
+     * For a V3 query, the value format is `projects/<Project ID>/locations/
+     * <Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
+     * 
+ * + * string intent = 4 [(.google.api.resource_reference) = { ... } + * + * @return The intent. + */ + public java.lang.String getIntent() { + java.lang.Object ref = intent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + intent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Name of the intent if an intent is matched for the query.
+     * For a V2 query, the value format is `projects/<Project ID>/locations/
+     * <Location ID>/agent/intents/<Intent ID>`.
+     * For a V3 query, the value format is `projects/<Project ID>/locations/
+     * <Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
+     * 
+ * + * string intent = 4 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for intent. + */ + public com.google.protobuf.ByteString getIntentBytes() { + java.lang.Object ref = intent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + intent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Name of the intent if an intent is matched for the query.
+     * For a V2 query, the value format is `projects/<Project ID>/locations/
+     * <Location ID>/agent/intents/<Intent ID>`.
+     * For a V3 query, the value format is `projects/<Project ID>/locations/
+     * <Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
+     * 
+ * + * string intent = 4 [(.google.api.resource_reference) = { ... } + * + * @param value The intent to set. + * @return This builder for chaining. + */ + public Builder setIntent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + intent_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Name of the intent if an intent is matched for the query.
+     * For a V2 query, the value format is `projects/<Project ID>/locations/
+     * <Location ID>/agent/intents/<Intent ID>`.
+     * For a V3 query, the value format is `projects/<Project ID>/locations/
+     * <Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
+     * 
+ * + * string intent = 4 [(.google.api.resource_reference) = { ... } + * + * @return This builder for chaining. + */ + public Builder clearIntent() { + intent_ = getDefaultInstance().getIntent(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Name of the intent if an intent is matched for the query.
+     * For a V2 query, the value format is `projects/<Project ID>/locations/
+     * <Location ID>/agent/intents/<Intent ID>`.
+     * For a V3 query, the value format is `projects/<Project ID>/locations/
+     * <Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
+     * 
+ * + * string intent = 4 [(.google.api.resource_reference) = { ... } + * + * @param value The bytes for intent to set. + * @return This builder for chaining. + */ + public Builder setIntentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + intent_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object event_ = ""; + + /** + * + * + *
+     * Event name if an event is triggered for the query.
+     * 
+ * + * string event = 5; + * + * @return The event. + */ + public java.lang.String getEvent() { + java.lang.Object ref = event_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + event_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Event name if an event is triggered for the query.
+     * 
+ * + * string event = 5; + * + * @return The bytes for event. + */ + public com.google.protobuf.ByteString getEventBytes() { + java.lang.Object ref = event_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + event_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Event name if an event is triggered for the query.
+     * 
+ * + * string event = 5; + * + * @param value The event to set. + * @return This builder for chaining. + */ + public Builder setEvent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + event_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Event name if an event is triggered for the query.
+     * 
+ * + * string event = 5; + * + * @return This builder for chaining. + */ + public Builder clearEvent() { + event_ = getDefaultInstance().getEvent(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * Event name if an event is triggered for the query.
+     * 
+ * + * string event = 5; + * + * @param value The bytes for event to set. + * @return This builder for chaining. + */ + public Builder setEventBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + event_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private float matchConfidence_; + + /** + * + * + *
+     * The confidence of the match. Values range from 0.0 (completely uncertain)
+     * to 1.0 (completely certain).
+     * This value is for informational purpose only and is only used to help match
+     * the best intent within the classification threshold. This value may change
+     * for the same end-user expression at any time due to a model retraining or
+     * change in implementation.
+     * 
+ * + * float match_confidence = 9; + * + * @return The matchConfidence. + */ + @java.lang.Override + public float getMatchConfidence() { + return matchConfidence_; + } + + /** + * + * + *
+     * The confidence of the match. Values range from 0.0 (completely uncertain)
+     * to 1.0 (completely certain).
+     * This value is for informational purpose only and is only used to help match
+     * the best intent within the classification threshold. This value may change
+     * for the same end-user expression at any time due to a model retraining or
+     * change in implementation.
+     * 
+ * + * float match_confidence = 9; + * + * @param value The matchConfidence to set. + * @return This builder for chaining. + */ + public Builder setMatchConfidence(float value) { + + matchConfidence_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * The confidence of the match. Values range from 0.0 (completely uncertain)
+     * to 1.0 (completely certain).
+     * This value is for informational purpose only and is only used to help match
+     * the best intent within the classification threshold. This value may change
+     * for the same end-user expression at any time due to a model retraining or
+     * change in implementation.
+     * 
+ * + * float match_confidence = 9; + * + * @return This builder for chaining. + */ + public Builder clearMatchConfidence() { + bitField0_ = (bitField0_ & ~0x00000010); + matchConfidence_ = 0F; + onChanged(); + return this; + } + + private com.google.protobuf.Struct parameters_; + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + parametersBuilder_; + + /** + * + * + *
+     * The collection of current parameters at the time of this response.
+     * 
+ * + * .google.protobuf.Struct parameters = 10; + * + * @return Whether the parameters field is set. + */ + public boolean hasParameters() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * + * + *
+     * The collection of current parameters at the time of this response.
+     * 
+ * + * .google.protobuf.Struct parameters = 10; + * + * @return The parameters. + */ + public com.google.protobuf.Struct getParameters() { + if (parametersBuilder_ == null) { + return parameters_ == null ? com.google.protobuf.Struct.getDefaultInstance() : parameters_; + } else { + return parametersBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * The collection of current parameters at the time of this response.
+     * 
+ * + * .google.protobuf.Struct parameters = 10; + */ + public Builder setParameters(com.google.protobuf.Struct value) { + if (parametersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + parameters_ = value; + } else { + parametersBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * The collection of current parameters at the time of this response.
+     * 
+ * + * .google.protobuf.Struct parameters = 10; + */ + public Builder setParameters(com.google.protobuf.Struct.Builder builderForValue) { + if (parametersBuilder_ == null) { + parameters_ = builderForValue.build(); + } else { + parametersBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * The collection of current parameters at the time of this response.
+     * 
+ * + * .google.protobuf.Struct parameters = 10; + */ + public Builder mergeParameters(com.google.protobuf.Struct value) { + if (parametersBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) + && parameters_ != null + && parameters_ != com.google.protobuf.Struct.getDefaultInstance()) { + getParametersBuilder().mergeFrom(value); + } else { + parameters_ = value; + } + } else { + parametersBuilder_.mergeFrom(value); + } + if (parameters_ != null) { + bitField0_ |= 0x00000020; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * The collection of current parameters at the time of this response.
+     * 
+ * + * .google.protobuf.Struct parameters = 10; + */ + public Builder clearParameters() { + bitField0_ = (bitField0_ & ~0x00000020); + parameters_ = null; + if (parametersBuilder_ != null) { + parametersBuilder_.dispose(); + parametersBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * The collection of current parameters at the time of this response.
+     * 
+ * + * .google.protobuf.Struct parameters = 10; + */ + public com.google.protobuf.Struct.Builder getParametersBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return internalGetParametersFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * The collection of current parameters at the time of this response.
+     * 
+ * + * .google.protobuf.Struct parameters = 10; + */ + public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { + if (parametersBuilder_ != null) { + return parametersBuilder_.getMessageOrBuilder(); + } else { + return parameters_ == null ? com.google.protobuf.Struct.getDefaultInstance() : parameters_; + } + } + + /** + * + * + *
+     * The collection of current parameters at the time of this response.
+     * 
+ * + * .google.protobuf.Struct parameters = 10; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + internalGetParametersFieldBuilder() { + if (parametersBuilder_ == null) { + parametersBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder>( + getParameters(), getParentForChildren(), isClean()); + parameters_ = null; + } + return parametersBuilder_; + } + + private int automatedAgentReplyType_ = 0; + + /** * * *
@@ -1095,7 +2464,7 @@ public int getAutomatedAgentReplyTypeValue() {
      */
     public Builder setAutomatedAgentReplyTypeValue(int value) {
       automatedAgentReplyType_ = value;
-      bitField0_ |= 0x00000002;
+      bitField0_ |= 0x00000040;
       onChanged();
       return this;
     }
@@ -1143,7 +2512,7 @@ public Builder setAutomatedAgentReplyType(
       if (value == null) {
         throw new NullPointerException();
       }
-      bitField0_ |= 0x00000002;
+      bitField0_ |= 0x00000040;
       automatedAgentReplyType_ = value.getNumber();
       onChanged();
       return this;
@@ -1163,7 +2532,7 @@ public Builder setAutomatedAgentReplyType(
      * @return This builder for chaining.
      */
     public Builder clearAutomatedAgentReplyType() {
-      bitField0_ = (bitField0_ & ~0x00000002);
+      bitField0_ = (bitField0_ & ~0x00000040);
       automatedAgentReplyType_ = 0;
       onChanged();
       return this;
@@ -1206,7 +2575,7 @@ public boolean getAllowCancellation() {
     public Builder setAllowCancellation(boolean value) {
 
       allowCancellation_ = value;
-      bitField0_ |= 0x00000004;
+      bitField0_ |= 0x00000080;
       onChanged();
       return this;
     }
@@ -1225,7 +2594,7 @@ public Builder setAllowCancellation(boolean value) {
      * @return This builder for chaining.
      */
     public Builder clearAllowCancellation() {
-      bitField0_ = (bitField0_ & ~0x00000004);
+      bitField0_ = (bitField0_ & ~0x00000080);
       allowCancellation_ = false;
       onChanged();
       return this;
@@ -1302,7 +2671,7 @@ public Builder setCxCurrentPage(java.lang.String value) {
         throw new NullPointerException();
       }
       cxCurrentPage_ = value;
-      bitField0_ |= 0x00000008;
+      bitField0_ |= 0x00000100;
       onChanged();
       return this;
     }
@@ -1322,7 +2691,7 @@ public Builder setCxCurrentPage(java.lang.String value) {
      */
     public Builder clearCxCurrentPage() {
       cxCurrentPage_ = getDefaultInstance().getCxCurrentPage();
-      bitField0_ = (bitField0_ & ~0x00000008);
+      bitField0_ = (bitField0_ & ~0x00000100);
       onChanged();
       return this;
     }
@@ -1347,7 +2716,66 @@ public Builder setCxCurrentPageBytes(com.google.protobuf.ByteString value) {
       }
       checkByteStringIsUtf8(value);
       cxCurrentPage_ = value;
-      bitField0_ |= 0x00000008;
+      bitField0_ |= 0x00000100;
+      onChanged();
+      return this;
+    }
+
+    private com.google.protobuf.ByteString callCompanionAuthCode_ =
+        com.google.protobuf.ByteString.EMPTY;
+
+    /**
+     *
+     *
+     * 
+     * The auth code for accessing Call Companion UI.
+     * 
+ * + * bytes call_companion_auth_code = 12; + * + * @return The callCompanionAuthCode. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCallCompanionAuthCode() { + return callCompanionAuthCode_; + } + + /** + * + * + *
+     * The auth code for accessing Call Companion UI.
+     * 
+ * + * bytes call_companion_auth_code = 12; + * + * @param value The callCompanionAuthCode to set. + * @return This builder for chaining. + */ + public Builder setCallCompanionAuthCode(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + callCompanionAuthCode_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + + /** + * + * + *
+     * The auth code for accessing Call Companion UI.
+     * 
+ * + * bytes call_companion_auth_code = 12; + * + * @return This builder for chaining. + */ + public Builder clearCallCompanionAuthCode() { + bitField0_ = (bitField0_ & ~0x00000200); + callCompanionAuthCode_ = getDefaultInstance().getCallCompanionAuthCode(); onChanged(); return this; } diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AutomatedAgentReplyOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AutomatedAgentReplyOrBuilder.java index dd33331ae118..4eccb31cfde6 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AutomatedAgentReplyOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AutomatedAgentReplyOrBuilder.java @@ -69,6 +69,177 @@ public interface AutomatedAgentReplyOrBuilder */ com.google.cloud.dialogflow.v2.DetectIntentResponseOrBuilder getDetectIntentResponseOrBuilder(); + /** + * + * + *
+   * Response messages from the automated agent.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + java.util.List getResponseMessagesList(); + + /** + * + * + *
+   * Response messages from the automated agent.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + com.google.cloud.dialogflow.v2.ResponseMessage getResponseMessages(int index); + + /** + * + * + *
+   * Response messages from the automated agent.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + int getResponseMessagesCount(); + + /** + * + * + *
+   * Response messages from the automated agent.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + java.util.List + getResponseMessagesOrBuilderList(); + + /** + * + * + *
+   * Response messages from the automated agent.
+   * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 3; + */ + com.google.cloud.dialogflow.v2.ResponseMessageOrBuilder getResponseMessagesOrBuilder(int index); + + /** + * + * + *
+   * Name of the intent if an intent is matched for the query.
+   * For a V2 query, the value format is `projects/<Project ID>/locations/
+   * <Location ID>/agent/intents/<Intent ID>`.
+   * For a V3 query, the value format is `projects/<Project ID>/locations/
+   * <Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
+   * 
+ * + * string intent = 4 [(.google.api.resource_reference) = { ... } + * + * @return The intent. + */ + java.lang.String getIntent(); + + /** + * + * + *
+   * Name of the intent if an intent is matched for the query.
+   * For a V2 query, the value format is `projects/<Project ID>/locations/
+   * <Location ID>/agent/intents/<Intent ID>`.
+   * For a V3 query, the value format is `projects/<Project ID>/locations/
+   * <Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
+   * 
+ * + * string intent = 4 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for intent. + */ + com.google.protobuf.ByteString getIntentBytes(); + + /** + * + * + *
+   * Event name if an event is triggered for the query.
+   * 
+ * + * string event = 5; + * + * @return The event. + */ + java.lang.String getEvent(); + + /** + * + * + *
+   * Event name if an event is triggered for the query.
+   * 
+ * + * string event = 5; + * + * @return The bytes for event. + */ + com.google.protobuf.ByteString getEventBytes(); + + /** + * + * + *
+   * The confidence of the match. Values range from 0.0 (completely uncertain)
+   * to 1.0 (completely certain).
+   * This value is for informational purpose only and is only used to help match
+   * the best intent within the classification threshold. This value may change
+   * for the same end-user expression at any time due to a model retraining or
+   * change in implementation.
+   * 
+ * + * float match_confidence = 9; + * + * @return The matchConfidence. + */ + float getMatchConfidence(); + + /** + * + * + *
+   * The collection of current parameters at the time of this response.
+   * 
+ * + * .google.protobuf.Struct parameters = 10; + * + * @return Whether the parameters field is set. + */ + boolean hasParameters(); + + /** + * + * + *
+   * The collection of current parameters at the time of this response.
+   * 
+ * + * .google.protobuf.Struct parameters = 10; + * + * @return The parameters. + */ + com.google.protobuf.Struct getParameters(); + + /** + * + * + *
+   * The collection of current parameters at the time of this response.
+   * 
+ * + * .google.protobuf.Struct parameters = 10; + */ + com.google.protobuf.StructOrBuilder getParametersOrBuilder(); + /** * * @@ -144,4 +315,17 @@ public interface AutomatedAgentReplyOrBuilder * @return The bytes for cxCurrentPage. */ com.google.protobuf.ByteString getCxCurrentPageBytes(); + + /** + * + * + *
+   * The auth code for accessing Call Companion UI.
+   * 
+ * + * bytes call_companion_auth_code = 12; + * + * @return The callCompanionAuthCode. + */ + com.google.protobuf.ByteString getCallCompanionAuthCode(); } diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BidiStreamingAnalyzeContentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BidiStreamingAnalyzeContentRequest.java index b1b1450dfa26..4d750b1f11b1 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BidiStreamingAnalyzeContentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BidiStreamingAnalyzeContentRequest.java @@ -497,6 +497,38 @@ public interface VoiceSessionConfigOrBuilder * @return The useGeminiAsr. */ boolean getUseGeminiAsr(); + + /** + * + * + *
+       * Optional. Disables emission of interim input transcriptions when set to
+       * `true`.
+       * 
+ * + * + * optional bool disable_interim_input_transcripts = 26 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the disableInterimInputTranscripts field is set. + */ + boolean hasDisableInterimInputTranscripts(); + + /** + * + * + *
+       * Optional. Disables emission of interim input transcriptions when set to
+       * `true`.
+       * 
+ * + * + * optional bool disable_interim_input_transcripts = 26 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The disableInterimInputTranscripts. + */ + boolean getDisableInterimInputTranscripts(); } /** @@ -824,6 +856,47 @@ public boolean getUseGeminiAsr() { return useGeminiAsr_; } + public static final int DISABLE_INTERIM_INPUT_TRANSCRIPTS_FIELD_NUMBER = 26; + private boolean disableInterimInputTranscripts_ = false; + + /** + * + * + *
+       * Optional. Disables emission of interim input transcriptions when set to
+       * `true`.
+       * 
+ * + * + * optional bool disable_interim_input_transcripts = 26 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the disableInterimInputTranscripts field is set. + */ + @java.lang.Override + public boolean hasDisableInterimInputTranscripts() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+       * Optional. Disables emission of interim input transcriptions when set to
+       * `true`.
+       * 
+ * + * + * optional bool disable_interim_input_transcripts = 26 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The disableInterimInputTranscripts. + */ + @java.lang.Override + public boolean getDisableInterimInputTranscripts() { + return disableInterimInputTranscripts_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -866,6 +939,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(25, useGeminiAsr_); } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeBool(26, disableInterimInputTranscripts_); + } getUnknownFields().writeTo(output); } @@ -910,6 +986,11 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(25, useGeminiAsr_); } + if (((bitField0_ & 0x00000004) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 26, disableInterimInputTranscripts_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -947,6 +1028,12 @@ public boolean equals(final java.lang.Object obj) { if (hasUseGeminiAsr()) { if (getUseGeminiAsr() != other.getUseGeminiAsr()) return false; } + if (hasDisableInterimInputTranscripts() != other.hasDisableInterimInputTranscripts()) + return false; + if (hasDisableInterimInputTranscripts()) { + if (getDisableInterimInputTranscripts() != other.getDisableInterimInputTranscripts()) + return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -981,6 +1068,12 @@ public int hashCode() { hash = (37 * hash) + USE_GEMINI_ASR_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseGeminiAsr()); } + if (hasDisableInterimInputTranscripts()) { + hash = (37 * hash) + DISABLE_INTERIM_INPUT_TRANSCRIPTS_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getDisableInterimInputTranscripts()); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -1172,6 +1265,7 @@ public Builder clear() { geminiAsrConfigBuilder_ = null; } useGeminiAsr_ = false; + disableInterimInputTranscripts_ = false; return this; } @@ -1253,6 +1347,10 @@ private void buildPartial0( result.useGeminiAsr_ = useGeminiAsr_; to_bitField0_ |= 0x00000002; } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.disableInterimInputTranscripts_ = disableInterimInputTranscripts_; + to_bitField0_ |= 0x00000004; + } result.bitField0_ |= to_bitField0_; } @@ -1303,6 +1401,9 @@ public Builder mergeFrom( if (other.hasUseGeminiAsr()) { setUseGeminiAsr(other.getUseGeminiAsr()); } + if (other.hasDisableInterimInputTranscripts()) { + setDisableInterimInputTranscripts(other.getDisableInterimInputTranscripts()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1378,6 +1479,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000080; break; } // case 200 + case 208: + { + disableInterimInputTranscripts_ = input.readBool(); + bitField0_ |= 0x00000100; + break; + } // case 208 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2172,6 +2279,90 @@ public Builder clearUseGeminiAsr() { return this; } + private boolean disableInterimInputTranscripts_; + + /** + * + * + *
+         * Optional. Disables emission of interim input transcriptions when set to
+         * `true`.
+         * 
+ * + * + * optional bool disable_interim_input_transcripts = 26 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the disableInterimInputTranscripts field is set. + */ + @java.lang.Override + public boolean hasDisableInterimInputTranscripts() { + return ((bitField0_ & 0x00000100) != 0); + } + + /** + * + * + *
+         * Optional. Disables emission of interim input transcriptions when set to
+         * `true`.
+         * 
+ * + * + * optional bool disable_interim_input_transcripts = 26 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The disableInterimInputTranscripts. + */ + @java.lang.Override + public boolean getDisableInterimInputTranscripts() { + return disableInterimInputTranscripts_; + } + + /** + * + * + *
+         * Optional. Disables emission of interim input transcriptions when set to
+         * `true`.
+         * 
+ * + * + * optional bool disable_interim_input_transcripts = 26 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The disableInterimInputTranscripts to set. + * @return This builder for chaining. + */ + public Builder setDisableInterimInputTranscripts(boolean value) { + + disableInterimInputTranscripts_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + /** + * + * + *
+         * Optional. Disables emission of interim input transcriptions when set to
+         * `true`.
+         * 
+ * + * + * optional bool disable_interim_input_transcripts = 26 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearDisableInterimInputTranscripts() { + bitField0_ = (bitField0_ & ~0x00000100); + disableInterimInputTranscripts_ = false; + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.v2.BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig) } diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/HumanAgentAssistantConfig.java b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/HumanAgentAssistantConfig.java index 7290988eb616..f4b90dd89a43 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/HumanAgentAssistantConfig.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/HumanAgentAssistantConfig.java @@ -12188,9 +12188,10 @@ public enum SectionType implements com.google.protobuf.ProtocolMessageEnum { * * *
-         * "Unsatisfied" or "Satisfied" depending on the customer's feelings at
-         * the end of the conversation.
-         * Section name: "customer_satisfaction".
+         * Customer satisfaction derived from the text transcript only (not
+         * audio). Categorized based on customer statements by the end of the
+         * conversation. `D` for dissatisfied and `N` for neutral or satisfied
+         * (default). Section name: `customer_satisfaction`.
          * 
* * CUSTOMER_SATISFACTION = 5; @@ -12286,9 +12287,10 @@ public enum SectionType implements com.google.protobuf.ProtocolMessageEnum { * * *
-         * "Unsatisfied" or "Satisfied" depending on the customer's feelings at
-         * the end of the conversation.
-         * Section name: "customer_satisfaction".
+         * Customer satisfaction derived from the text transcript only (not
+         * audio). Categorized based on customer statements by the end of the
+         * conversation. `D` for dissatisfied and `N` for neutral or satisfied
+         * (default). Section name: `customer_satisfaction`.
          * 
* * CUSTOMER_SATISFACTION = 5; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java index 64764d517d0a..c91bae77e102 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java @@ -822,6 +822,47 @@ public boolean getUseGeminiAsr() { return useGeminiAsr_; } + public static final int DISABLE_INTERIM_INPUT_TRANSCRIPTS_FIELD_NUMBER = 32; + private boolean disableInterimInputTranscripts_ = false; + + /** + * + * + *
+   * Optional. Disables emission of interim input transcriptions when set to
+   * `true`.
+   * 
+ * + * + * optional bool disable_interim_input_transcripts = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the disableInterimInputTranscripts field is set. + */ + @java.lang.Override + public boolean hasDisableInterimInputTranscripts() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+   * Optional. Disables emission of interim input transcriptions when set to
+   * `true`.
+   * 
+ * + * + * optional bool disable_interim_input_transcripts = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The disableInterimInputTranscripts. + */ + @java.lang.Override + public boolean getDisableInterimInputTranscripts() { + return disableInterimInputTranscripts_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -887,6 +928,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(31, useGeminiAsr_); } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeBool(32, disableInterimInputTranscripts_); + } getUnknownFields().writeTo(output); } @@ -961,6 +1005,11 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(31, useGeminiAsr_); } + if (((bitField0_ & 0x00000004) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 32, disableInterimInputTranscripts_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -1001,6 +1050,12 @@ public boolean equals(final java.lang.Object obj) { if (hasUseGeminiAsr()) { if (getUseGeminiAsr() != other.getUseGeminiAsr()) return false; } + if (hasDisableInterimInputTranscripts() != other.hasDisableInterimInputTranscripts()) + return false; + if (hasDisableInterimInputTranscripts()) { + if (getDisableInterimInputTranscripts() != other.getDisableInterimInputTranscripts()) + return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1056,6 +1111,12 @@ public int hashCode() { hash = (37 * hash) + USE_GEMINI_ASR_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseGeminiAsr()); } + if (hasDisableInterimInputTranscripts()) { + hash = (37 * hash) + DISABLE_INTERIM_INPUT_TRANSCRIPTS_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getDisableInterimInputTranscripts()); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -1232,6 +1293,7 @@ public Builder clear() { geminiAsrConfigBuilder_ = null; } useGeminiAsr_ = false; + disableInterimInputTranscripts_ = false; return this; } @@ -1333,6 +1395,10 @@ private void buildPartial0(com.google.cloud.dialogflow.v2.InputAudioConfig resul result.useGeminiAsr_ = useGeminiAsr_; to_bitField0_ |= 0x00000002; } + if (((from_bitField0_ & 0x00010000) != 0)) { + result.disableInterimInputTranscripts_ = disableInterimInputTranscripts_; + to_bitField0_ |= 0x00000004; + } result.bitField0_ |= to_bitField0_; } @@ -1439,6 +1505,9 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.InputAudioConfig other) if (other.hasUseGeminiAsr()) { setUseGeminiAsr(other.getUseGeminiAsr()); } + if (other.hasDisableInterimInputTranscripts()) { + setDisableInterimInputTranscripts(other.getDisableInterimInputTranscripts()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1571,6 +1640,12 @@ public Builder mergeFrom( bitField0_ |= 0x00008000; break; } // case 248 + case 256: + { + disableInterimInputTranscripts_ = input.readBool(); + bitField0_ |= 0x00010000; + break; + } // case 256 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -3765,6 +3840,90 @@ public Builder clearUseGeminiAsr() { return this; } + private boolean disableInterimInputTranscripts_; + + /** + * + * + *
+     * Optional. Disables emission of interim input transcriptions when set to
+     * `true`.
+     * 
+ * + * + * optional bool disable_interim_input_transcripts = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the disableInterimInputTranscripts field is set. + */ + @java.lang.Override + public boolean hasDisableInterimInputTranscripts() { + return ((bitField0_ & 0x00010000) != 0); + } + + /** + * + * + *
+     * Optional. Disables emission of interim input transcriptions when set to
+     * `true`.
+     * 
+ * + * + * optional bool disable_interim_input_transcripts = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The disableInterimInputTranscripts. + */ + @java.lang.Override + public boolean getDisableInterimInputTranscripts() { + return disableInterimInputTranscripts_; + } + + /** + * + * + *
+     * Optional. Disables emission of interim input transcriptions when set to
+     * `true`.
+     * 
+ * + * + * optional bool disable_interim_input_transcripts = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The disableInterimInputTranscripts to set. + * @return This builder for chaining. + */ + public Builder setDisableInterimInputTranscripts(boolean value) { + + disableInterimInputTranscripts_ = value; + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Disables emission of interim input transcriptions when set to
+     * `true`.
+     * 
+ * + * + * optional bool disable_interim_input_transcripts = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearDisableInterimInputTranscripts() { + bitField0_ = (bitField0_ & ~0x00010000); + disableInterimInputTranscripts_ = false; + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.v2.InputAudioConfig) } diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfigOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfigOrBuilder.java index 2f9801fc33ec..463f016e8344 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfigOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfigOrBuilder.java @@ -578,4 +578,36 @@ public interface InputAudioConfigOrBuilder * @return The useGeminiAsr. */ boolean getUseGeminiAsr(); + + /** + * + * + *
+   * Optional. Disables emission of interim input transcriptions when set to
+   * `true`.
+   * 
+ * + * + * optional bool disable_interim_input_transcripts = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the disableInterimInputTranscripts field is set. + */ + boolean hasDisableInterimInputTranscripts(); + + /** + * + * + *
+   * Optional. Disables emission of interim input transcriptions when set to
+   * `true`.
+   * 
+ * + * + * optional bool disable_interim_input_transcripts = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The disableInterimInputTranscripts. + */ + boolean getDisableInterimInputTranscripts(); } diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Message.java b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Message.java index ce51e7994a21..09531552ce15 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Message.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Message.java @@ -54,6 +54,7 @@ private Message(com.google.protobuf.GeneratedMessage.Builder builder) { private Message() { name_ = ""; content_ = ""; + responseMessages_ = java.util.Collections.emptyList(); languageCode_ = ""; participant_ = ""; participantRole_ = 0; @@ -187,6 +188,93 @@ public com.google.protobuf.ByteString getContentBytes() { } } + public static final int RESPONSE_MESSAGES_FIELD_NUMBER = 11; + + @SuppressWarnings("serial") + private java.util.List responseMessages_; + + /** + * + * + *
+   * Optional. Automated agent responses.
+   * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List getResponseMessagesList() { + return responseMessages_; + } + + /** + * + * + *
+   * Optional. Automated agent responses.
+   * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List + getResponseMessagesOrBuilderList() { + return responseMessages_; + } + + /** + * + * + *
+   * Optional. Automated agent responses.
+   * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public int getResponseMessagesCount() { + return responseMessages_.size(); + } + + /** + * + * + *
+   * Optional. Automated agent responses.
+   * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage getResponseMessages(int index) { + return responseMessages_.get(index); + } + + /** + * + * + *
+   * Optional. Automated agent responses.
+   * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessageOrBuilder getResponseMessagesOrBuilder( + int index) { + return responseMessages_.get(index); + } + public static final int LANGUAGE_CODE_FIELD_NUMBER = 3; @SuppressWarnings("serial") @@ -606,6 +694,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(9, getSendTime()); } + for (int i = 0; i < responseMessages_.size(); i++) { + output.writeMessage(11, responseMessages_.get(i)); + } getUnknownFields().writeTo(output); } @@ -643,6 +734,10 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getSendTime()); } + for (int i = 0; i < responseMessages_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(11, responseMessages_.get(i)); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -660,6 +755,7 @@ public boolean equals(final java.lang.Object obj) { if (!getName().equals(other.getName())) return false; if (!getContent().equals(other.getContent())) return false; + if (!getResponseMessagesList().equals(other.getResponseMessagesList())) return false; if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (!getParticipant().equals(other.getParticipant())) return false; if (participantRole_ != other.participantRole_) return false; @@ -694,6 +790,10 @@ public int hashCode() { hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + CONTENT_FIELD_NUMBER; hash = (53 * hash) + getContent().hashCode(); + if (getResponseMessagesCount() > 0) { + hash = (37 * hash) + RESPONSE_MESSAGES_FIELD_NUMBER; + hash = (53 * hash) + getResponseMessagesList().hashCode(); + } hash = (37 * hash) + LANGUAGE_CODE_FIELD_NUMBER; hash = (53 * hash) + getLanguageCode().hashCode(); hash = (37 * hash) + PARTICIPANT_FIELD_NUMBER; @@ -857,6 +957,7 @@ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetResponseMessagesFieldBuilder(); internalGetCreateTimeFieldBuilder(); internalGetSendTimeFieldBuilder(); internalGetMessageAnnotationFieldBuilder(); @@ -870,6 +971,13 @@ public Builder clear() { bitField0_ = 0; name_ = ""; content_ = ""; + if (responseMessagesBuilder_ == null) { + responseMessages_ = java.util.Collections.emptyList(); + } else { + responseMessages_ = null; + responseMessagesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); languageCode_ = ""; participant_ = ""; participantRole_ = 0; @@ -920,6 +1028,7 @@ public com.google.cloud.dialogflow.v2.Message build() { public com.google.cloud.dialogflow.v2.Message buildPartial() { com.google.cloud.dialogflow.v2.Message result = new com.google.cloud.dialogflow.v2.Message(this); + buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -927,6 +1036,18 @@ public com.google.cloud.dialogflow.v2.Message buildPartial() { return result; } + private void buildPartialRepeatedFields(com.google.cloud.dialogflow.v2.Message result) { + if (responseMessagesBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + responseMessages_ = java.util.Collections.unmodifiableList(responseMessages_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.responseMessages_ = responseMessages_; + } else { + result.responseMessages_ = responseMessagesBuilder_.build(); + } + } + private void buildPartial0(com.google.cloud.dialogflow.v2.Message result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -935,32 +1056,32 @@ private void buildPartial0(com.google.cloud.dialogflow.v2.Message result) { if (((from_bitField0_ & 0x00000002) != 0)) { result.content_ = content_; } - if (((from_bitField0_ & 0x00000004) != 0)) { + if (((from_bitField0_ & 0x00000008) != 0)) { result.languageCode_ = languageCode_; } - if (((from_bitField0_ & 0x00000008) != 0)) { + if (((from_bitField0_ & 0x00000010) != 0)) { result.participant_ = participant_; } - if (((from_bitField0_ & 0x00000010) != 0)) { + if (((from_bitField0_ & 0x00000020) != 0)) { result.participantRole_ = participantRole_; } int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000020) != 0)) { + if (((from_bitField0_ & 0x00000040) != 0)) { result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } - if (((from_bitField0_ & 0x00000040) != 0)) { + if (((from_bitField0_ & 0x00000080) != 0)) { result.sendTime_ = sendTimeBuilder_ == null ? sendTime_ : sendTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } - if (((from_bitField0_ & 0x00000080) != 0)) { + if (((from_bitField0_ & 0x00000100) != 0)) { result.messageAnnotation_ = messageAnnotationBuilder_ == null ? messageAnnotation_ : messageAnnotationBuilder_.build(); to_bitField0_ |= 0x00000004; } - if (((from_bitField0_ & 0x00000100) != 0)) { + if (((from_bitField0_ & 0x00000200) != 0)) { result.sentimentAnalysis_ = sentimentAnalysisBuilder_ == null ? sentimentAnalysis_ @@ -992,14 +1113,41 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.Message other) { bitField0_ |= 0x00000002; onChanged(); } + if (responseMessagesBuilder_ == null) { + if (!other.responseMessages_.isEmpty()) { + if (responseMessages_.isEmpty()) { + responseMessages_ = other.responseMessages_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureResponseMessagesIsMutable(); + responseMessages_.addAll(other.responseMessages_); + } + onChanged(); + } + } else { + if (!other.responseMessages_.isEmpty()) { + if (responseMessagesBuilder_.isEmpty()) { + responseMessagesBuilder_.dispose(); + responseMessagesBuilder_ = null; + responseMessages_ = other.responseMessages_; + bitField0_ = (bitField0_ & ~0x00000004); + responseMessagesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetResponseMessagesFieldBuilder() + : null; + } else { + responseMessagesBuilder_.addAllMessages(other.responseMessages_); + } + } + } if (!other.getLanguageCode().isEmpty()) { languageCode_ = other.languageCode_; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); } if (!other.getParticipant().isEmpty()) { participant_ = other.participant_; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); } if (other.participantRole_ != 0) { @@ -1058,49 +1206,62 @@ public Builder mergeFrom( case 26: { languageCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; break; } // case 26 case 34: { participant_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; break; } // case 34 case 40: { participantRole_ = input.readEnum(); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; break; } // case 40 case 50: { input.readMessage( internalGetCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; break; } // case 50 case 58: { input.readMessage( internalGetMessageAnnotationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; break; } // case 58 case 66: { input.readMessage( internalGetSentimentAnalysisFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; break; } // case 66 case 74: { input.readMessage( internalGetSendTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; break; } // case 74 + case 90: + { + com.google.cloud.dialogflow.v2.ResponseMessage m = + input.readMessage( + com.google.cloud.dialogflow.v2.ResponseMessage.parser(), extensionRegistry); + if (responseMessagesBuilder_ == null) { + ensureResponseMessagesIsMutable(); + responseMessages_.add(m); + } else { + responseMessagesBuilder_.addMessage(m); + } + break; + } // case 90 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1357,6 +1518,420 @@ public Builder setContentBytes(com.google.protobuf.ByteString value) { return this; } + private java.util.List responseMessages_ = + java.util.Collections.emptyList(); + + private void ensureResponseMessagesIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + responseMessages_ = + new java.util.ArrayList( + responseMessages_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage, + com.google.cloud.dialogflow.v2.ResponseMessage.Builder, + com.google.cloud.dialogflow.v2.ResponseMessageOrBuilder> + responseMessagesBuilder_; + + /** + * + * + *
+     * Optional. Automated agent responses.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getResponseMessagesList() { + if (responseMessagesBuilder_ == null) { + return java.util.Collections.unmodifiableList(responseMessages_); + } else { + return responseMessagesBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * Optional. Automated agent responses.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public int getResponseMessagesCount() { + if (responseMessagesBuilder_ == null) { + return responseMessages_.size(); + } else { + return responseMessagesBuilder_.getCount(); + } + } + + /** + * + * + *
+     * Optional. Automated agent responses.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.dialogflow.v2.ResponseMessage getResponseMessages(int index) { + if (responseMessagesBuilder_ == null) { + return responseMessages_.get(index); + } else { + return responseMessagesBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * Optional. Automated agent responses.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setResponseMessages( + int index, com.google.cloud.dialogflow.v2.ResponseMessage value) { + if (responseMessagesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureResponseMessagesIsMutable(); + responseMessages_.set(index, value); + onChanged(); + } else { + responseMessagesBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Optional. Automated agent responses.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setResponseMessages( + int index, com.google.cloud.dialogflow.v2.ResponseMessage.Builder builderForValue) { + if (responseMessagesBuilder_ == null) { + ensureResponseMessagesIsMutable(); + responseMessages_.set(index, builderForValue.build()); + onChanged(); + } else { + responseMessagesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. Automated agent responses.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addResponseMessages(com.google.cloud.dialogflow.v2.ResponseMessage value) { + if (responseMessagesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureResponseMessagesIsMutable(); + responseMessages_.add(value); + onChanged(); + } else { + responseMessagesBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * Optional. Automated agent responses.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addResponseMessages( + int index, com.google.cloud.dialogflow.v2.ResponseMessage value) { + if (responseMessagesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureResponseMessagesIsMutable(); + responseMessages_.add(index, value); + onChanged(); + } else { + responseMessagesBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Optional. Automated agent responses.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addResponseMessages( + com.google.cloud.dialogflow.v2.ResponseMessage.Builder builderForValue) { + if (responseMessagesBuilder_ == null) { + ensureResponseMessagesIsMutable(); + responseMessages_.add(builderForValue.build()); + onChanged(); + } else { + responseMessagesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. Automated agent responses.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addResponseMessages( + int index, com.google.cloud.dialogflow.v2.ResponseMessage.Builder builderForValue) { + if (responseMessagesBuilder_ == null) { + ensureResponseMessagesIsMutable(); + responseMessages_.add(index, builderForValue.build()); + onChanged(); + } else { + responseMessagesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. Automated agent responses.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addAllResponseMessages( + java.lang.Iterable values) { + if (responseMessagesBuilder_ == null) { + ensureResponseMessagesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, responseMessages_); + onChanged(); + } else { + responseMessagesBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * Optional. Automated agent responses.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearResponseMessages() { + if (responseMessagesBuilder_ == null) { + responseMessages_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + responseMessagesBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Optional. Automated agent responses.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder removeResponseMessages(int index) { + if (responseMessagesBuilder_ == null) { + ensureResponseMessagesIsMutable(); + responseMessages_.remove(index); + onChanged(); + } else { + responseMessagesBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * Optional. Automated agent responses.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.dialogflow.v2.ResponseMessage.Builder getResponseMessagesBuilder( + int index) { + return internalGetResponseMessagesFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * Optional. Automated agent responses.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.dialogflow.v2.ResponseMessageOrBuilder getResponseMessagesOrBuilder( + int index) { + if (responseMessagesBuilder_ == null) { + return responseMessages_.get(index); + } else { + return responseMessagesBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * Optional. Automated agent responses.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getResponseMessagesOrBuilderList() { + if (responseMessagesBuilder_ != null) { + return responseMessagesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(responseMessages_); + } + } + + /** + * + * + *
+     * Optional. Automated agent responses.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.dialogflow.v2.ResponseMessage.Builder addResponseMessagesBuilder() { + return internalGetResponseMessagesFieldBuilder() + .addBuilder(com.google.cloud.dialogflow.v2.ResponseMessage.getDefaultInstance()); + } + + /** + * + * + *
+     * Optional. Automated agent responses.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.dialogflow.v2.ResponseMessage.Builder addResponseMessagesBuilder( + int index) { + return internalGetResponseMessagesFieldBuilder() + .addBuilder(index, com.google.cloud.dialogflow.v2.ResponseMessage.getDefaultInstance()); + } + + /** + * + * + *
+     * Optional. Automated agent responses.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getResponseMessagesBuilderList() { + return internalGetResponseMessagesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage, + com.google.cloud.dialogflow.v2.ResponseMessage.Builder, + com.google.cloud.dialogflow.v2.ResponseMessageOrBuilder> + internalGetResponseMessagesFieldBuilder() { + if (responseMessagesBuilder_ == null) { + responseMessagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage, + com.google.cloud.dialogflow.v2.ResponseMessage.Builder, + com.google.cloud.dialogflow.v2.ResponseMessageOrBuilder>( + responseMessages_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + responseMessages_ = null; + } + return responseMessagesBuilder_; + } + private java.lang.Object languageCode_ = ""; /** @@ -1428,7 +2003,7 @@ public Builder setLanguageCode(java.lang.String value) { throw new NullPointerException(); } languageCode_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1448,7 +2023,7 @@ public Builder setLanguageCode(java.lang.String value) { */ public Builder clearLanguageCode() { languageCode_ = getDefaultInstance().getLanguageCode(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -1473,7 +2048,7 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); languageCode_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1543,7 +2118,7 @@ public Builder setParticipant(java.lang.String value) { throw new NullPointerException(); } participant_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -1561,7 +2136,7 @@ public Builder setParticipant(java.lang.String value) { */ public Builder clearParticipant() { participant_ = getDefaultInstance().getParticipant(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } @@ -1584,7 +2159,7 @@ public Builder setParticipantBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); participant_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -1625,7 +2200,7 @@ public int getParticipantRoleValue() { */ public Builder setParticipantRoleValue(int value) { participantRole_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -1668,7 +2243,7 @@ public Builder setParticipantRole(com.google.cloud.dialogflow.v2.Participant.Rol if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; participantRole_ = value.getNumber(); onChanged(); return this; @@ -1688,7 +2263,7 @@ public Builder setParticipantRole(com.google.cloud.dialogflow.v2.Participant.Rol * @return This builder for chaining. */ public Builder clearParticipantRole() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); participantRole_ = 0; onChanged(); return this; @@ -1715,7 +2290,7 @@ public Builder clearParticipantRole() { * @return Whether the createTime field is set. */ public boolean hasCreateTime() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** @@ -1761,7 +2336,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { } else { createTimeBuilder_.setMessage(value); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -1783,7 +2358,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal } else { createTimeBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -1801,7 +2376,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) + if (((bitField0_ & 0x00000040) != 0) && createTime_ != null && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); @@ -1812,7 +2387,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { createTimeBuilder_.mergeFrom(value); } if (createTime_ != null) { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); } return this; @@ -1830,7 +2405,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * */ public Builder clearCreateTime() { - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); createTime_ = null; if (createTimeBuilder_ != null) { createTimeBuilder_.dispose(); @@ -1852,7 +2427,7 @@ public Builder clearCreateTime() { * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return internalGetCreateTimeFieldBuilder().getBuilder(); } @@ -1927,7 +2502,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * @return Whether the sendTime field is set. */ public boolean hasSendTime() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** @@ -1971,7 +2546,7 @@ public Builder setSendTime(com.google.protobuf.Timestamp value) { } else { sendTimeBuilder_.setMessage(value); } - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -1993,7 +2568,7 @@ public Builder setSendTime(com.google.protobuf.Timestamp.Builder builderForValue } else { sendTimeBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -2011,7 +2586,7 @@ public Builder setSendTime(com.google.protobuf.Timestamp.Builder builderForValue */ public Builder mergeSendTime(com.google.protobuf.Timestamp value) { if (sendTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) + if (((bitField0_ & 0x00000080) != 0) && sendTime_ != null && sendTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getSendTimeBuilder().mergeFrom(value); @@ -2022,7 +2597,7 @@ public Builder mergeSendTime(com.google.protobuf.Timestamp value) { sendTimeBuilder_.mergeFrom(value); } if (sendTime_ != null) { - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); } return this; @@ -2040,7 +2615,7 @@ public Builder mergeSendTime(com.google.protobuf.Timestamp value) { * */ public Builder clearSendTime() { - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); sendTime_ = null; if (sendTimeBuilder_ != null) { sendTimeBuilder_.dispose(); @@ -2062,7 +2637,7 @@ public Builder clearSendTime() { * */ public com.google.protobuf.Timestamp.Builder getSendTimeBuilder() { - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return internalGetSendTimeFieldBuilder().getBuilder(); } @@ -2135,7 +2710,7 @@ public com.google.protobuf.TimestampOrBuilder getSendTimeOrBuilder() { * @return Whether the messageAnnotation field is set. */ public boolean hasMessageAnnotation() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** @@ -2181,7 +2756,7 @@ public Builder setMessageAnnotation(com.google.cloud.dialogflow.v2.MessageAnnota } else { messageAnnotationBuilder_.setMessage(value); } - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -2204,7 +2779,7 @@ public Builder setMessageAnnotation( } else { messageAnnotationBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -2222,7 +2797,7 @@ public Builder setMessageAnnotation( */ public Builder mergeMessageAnnotation(com.google.cloud.dialogflow.v2.MessageAnnotation value) { if (messageAnnotationBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) + if (((bitField0_ & 0x00000100) != 0) && messageAnnotation_ != null && messageAnnotation_ != com.google.cloud.dialogflow.v2.MessageAnnotation.getDefaultInstance()) { @@ -2234,7 +2809,7 @@ public Builder mergeMessageAnnotation(com.google.cloud.dialogflow.v2.MessageAnno messageAnnotationBuilder_.mergeFrom(value); } if (messageAnnotation_ != null) { - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); } return this; @@ -2252,7 +2827,7 @@ public Builder mergeMessageAnnotation(com.google.cloud.dialogflow.v2.MessageAnno * */ public Builder clearMessageAnnotation() { - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000100); messageAnnotation_ = null; if (messageAnnotationBuilder_ != null) { messageAnnotationBuilder_.dispose(); @@ -2274,7 +2849,7 @@ public Builder clearMessageAnnotation() { * */ public com.google.cloud.dialogflow.v2.MessageAnnotation.Builder getMessageAnnotationBuilder() { - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return internalGetMessageAnnotationFieldBuilder().getBuilder(); } @@ -2350,7 +2925,7 @@ public com.google.cloud.dialogflow.v2.MessageAnnotation.Builder getMessageAnnota * @return Whether the sentimentAnalysis field is set. */ public boolean hasSentimentAnalysis() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** @@ -2397,7 +2972,7 @@ public Builder setSentimentAnalysis( } else { sentimentAnalysisBuilder_.setMessage(value); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -2420,7 +2995,7 @@ public Builder setSentimentAnalysis( } else { sentimentAnalysisBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -2439,7 +3014,7 @@ public Builder setSentimentAnalysis( public Builder mergeSentimentAnalysis( com.google.cloud.dialogflow.v2.SentimentAnalysisResult value) { if (sentimentAnalysisBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) + if (((bitField0_ & 0x00000200) != 0) && sentimentAnalysis_ != null && sentimentAnalysis_ != com.google.cloud.dialogflow.v2.SentimentAnalysisResult.getDefaultInstance()) { @@ -2451,7 +3026,7 @@ public Builder mergeSentimentAnalysis( sentimentAnalysisBuilder_.mergeFrom(value); } if (sentimentAnalysis_ != null) { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); } return this; @@ -2469,7 +3044,7 @@ public Builder mergeSentimentAnalysis( * */ public Builder clearSentimentAnalysis() { - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); sentimentAnalysis_ = null; if (sentimentAnalysisBuilder_ != null) { sentimentAnalysisBuilder_.dispose(); @@ -2492,7 +3067,7 @@ public Builder clearSentimentAnalysis() { */ public com.google.cloud.dialogflow.v2.SentimentAnalysisResult.Builder getSentimentAnalysisBuilder() { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return internalGetSentimentAnalysisFieldBuilder().getBuilder(); } diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/MessageOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/MessageOrBuilder.java index ffa5d4c8def8..3ef5f72261e7 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/MessageOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/MessageOrBuilder.java @@ -84,6 +84,72 @@ public interface MessageOrBuilder */ com.google.protobuf.ByteString getContentBytes(); + /** + * + * + *
+   * Optional. Automated agent responses.
+   * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List getResponseMessagesList(); + + /** + * + * + *
+   * Optional. Automated agent responses.
+   * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.dialogflow.v2.ResponseMessage getResponseMessages(int index); + + /** + * + * + *
+   * Optional. Automated agent responses.
+   * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + int getResponseMessagesCount(); + + /** + * + * + *
+   * Optional. Automated agent responses.
+   * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List + getResponseMessagesOrBuilderList(); + + /** + * + * + *
+   * Optional. Automated agent responses.
+   * 
+ * + * + * repeated .google.cloud.dialogflow.v2.ResponseMessage response_messages = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.dialogflow.v2.ResponseMessageOrBuilder getResponseMessagesOrBuilder(int index); + /** * * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ParticipantProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ParticipantProto.java index d34f4d4d677f..428dcf61ba9b 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ParticipantProto.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ParticipantProto.java @@ -216,6 +216,34 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_dialogflow_v2_AssistQueryParameters_DocumentsMetadataFiltersEntry_descriptor; static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_dialogflow_v2_AssistQueryParameters_DocumentsMetadataFiltersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_v2_ResponseMessage_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_dialogflow_v2_ResponseMessage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_v2_ResponseMessage_Text_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_dialogflow_v2_ResponseMessage_Text_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_v2_ResponseMessage_LiveAgentHandoff_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_dialogflow_v2_ResponseMessage_LiveAgentHandoff_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_v2_ResponseMessage_EndInteraction_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_dialogflow_v2_ResponseMessage_EndInteraction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_Segment_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_Segment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_v2_ResponseMessage_TelephonyTransferCall_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_dialogflow_v2_ResponseMessage_TelephonyTransferCall_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_dialogflow_v2_SuggestKnowledgeAssistRequest_descriptor; static final com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -384,10 +412,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005OTHER\020\010:\330\001\352A\324\001\n" + "%dialogflow.googleapis.com/Participant\022Jprojects/{projec" + "t}/conversations/{conversation}/participants/{participant}\022_projects/{project}/l" - + "ocations/{location}/conversations/{conversation}/participants/{participant}\"\225\005\n" + + "ocations/{location}/conversations/{conversation}/participants/{participant}\"\343\005\n" + "\007Message\022\022\n" + "\004name\030\001 \001(\tB\004\342A\001\001\022\025\n" - + "\007content\030\002 \001(\tB\004\342A\001\001\022\033\n\r" + + "\007content\030\002 \001(\tB\004\342A\001\001\022L\n" + + "\021response_messages\030\013 \003(\0132+." + + "google.cloud.dialogflow.v2.ResponseMessageB\004\342A\001\001\022\033\n\r" + "language_code\030\003 \001(\tB\004\342A\001\001\022\031\n" + "\013participant\030\004 \001(\tB\004\342A\001\003\022L\n" + "\020participant_role\030\005" @@ -395,13 +425,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013create_time\030\006" + " \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0223\n" + "\tsend_time\030\t \001(\0132\032.google.protobuf.TimestampB\004\342A\001\001\022O\n" - + "\022message_annotation\030\007 \001(\013" - + "2-.google.cloud.dialogflow.v2.MessageAnnotationB\004\342A\001\003\022U\n" - + "\022sentiment_analysis\030\010 \001(" - + "\01323.google.cloud.dialogflow.v2.SentimentAnalysisResultB\004\342A\001\003:\304\001\352A\300\001\n" - + "!dialogflow.googleapis.com/Message\022Bprojects/{projec" - + "t}/conversations/{conversation}/messages/{message}\022Wprojects/{project}/locations" - + "/{location}/conversations/{conversation}/messages/{message}\"\236\001\n" + + "\022message_annotation\030\007 \001(\0132-" + + ".google.cloud.dialogflow.v2.MessageAnnotationB\004\342A\001\003\022U\n" + + "\022sentiment_analysis\030\010 \001(\0132" + + "3.google.cloud.dialogflow.v2.SentimentAnalysisResultB\004\342A\001\003:\304\001\352A\300\001\n" + + "!dialogflow.googleapis.com/Message\022Bprojects/{project}" + + "/conversations/{conversation}/messages/{message}\022Wprojects/{project}/locations/{" + + "location}/conversations/{conversation}/messages/{message}\"\236\001\n" + "\030CreateParticipantRequest\022>\n" + "\006parent\030\001 \001(" + "\tB.\342A\001\002\372A\'\022%dialogflow.googleapis.com/Participant\022B\n" @@ -411,8 +441,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004name\030\001 \001(\tB.\342A\001\002\372A\'\n" + "%dialogflow.googleapis.com/Participant\"\214\001\n" + "\027ListParticipantsRequest\022>\n" - + "\006parent\030\001 \001(\tB.\342A\001\002\372A\'" - + "\022%dialogflow.googleapis.com/Participant\022\027\n" + + "\006parent\030\001 \001(" + + "\tB.\342A\001\002\372A\'\022%dialogflow.googleapis.com/Participant\022\027\n" + "\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\n" + "page_token\030\003 \001(\tB\004\342A\001\001\"r\n" + "\030ListParticipantsResponse\022=\n" @@ -434,8 +464,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022reply_audio_config\030\005" + " \001(\0132-.google.cloud.dialogflow.v2.OutputAudioConfig\022A\n" + "\014query_params\030\t \001(\0132+.google.cloud.dialogflow.v2.QueryParameters\022N\n" - + "\023assist_query_params\030\016" - + " \001(\01321.google.cloud.dialogflow.v2.AssistQueryParameters\022.\n\r" + + "\023assist_query_params\030\016 \001" + + "(\01321.google.cloud.dialogflow.v2.AssistQueryParameters\022.\n\r" + "cx_parameters\030\022 \001(\0132\027.google.protobuf.Struct\022\022\n\n" + "request_id\030\013 \001(\tB\007\n" + "\005input\",\n" @@ -444,8 +474,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\026AnalyzeContentResponse\022\022\n\n" + "reply_text\030\001 \001(\t\022<\n" + "\013reply_audio\030\002 \001(\0132\'.google.cloud.dialogflow.v2.OutputAudio\022N\n" - + "\025automated_agent_reply\030\003 \001(\0132/" - + ".google.cloud.dialogflow.v2.AutomatedAgentReply\0224\n" + + "\025automated_agent_reply\030\003 \001(\0132/.g" + + "oogle.cloud.dialogflow.v2.AutomatedAgentReply\0224\n" + "\007message\030\005 \001(\0132#.google.cloud.dialogflow.v2.Message\022T\n" + "\036human_agent_suggestion_results\030\006" + " \003(\0132,.google.cloud.dialogflow.v2.SuggestionResult\022Q\n" @@ -462,15 +492,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132+.google.cloud.dialogflow.v2.InputTextConfigH\000\022I\n" + "\022reply_audio_config\030\004" + " \001(\0132-.google.cloud.dialogflow.v2.OutputAudioConfig\022\025\n" - + "\013input_audio\030\005 \001(\014H\001\022\024\n\n" + + "\013input_audio\030\005 \001(\014H\001\022\024\n" + + "\n" + "input_text\030\006 \001(\tH\001\022E\n\n" - + "input_dtmf\030\t \001(" - + "\0132/.google.cloud.dialogflow.v2.TelephonyDtmfEventsH\001\022M\n" - + "\020suggestion_input\030\033 \001(\0132+" - + ".google.cloud.dialogflow.v2.SuggestionInputB\004\342A\001\001H\001\022A\n" + + "input_dtmf\030\t \001(\0132" + + "/.google.cloud.dialogflow.v2.TelephonyDtmfEventsH\001\022M\n" + + "\020suggestion_input\030\033 \001(\0132+.g" + + "oogle.cloud.dialogflow.v2.SuggestionInputB\004\342A\001\001H\001\022A\n" + "\014query_params\030\007 \001(\0132+.google.cloud.dialogflow.v2.QueryParameters\022N\n" - + "\023assist_query_params\030\010 \001(\01321.google.clo" - + "ud.dialogflow.v2.AssistQueryParameters\022.\n\r" + + "\023assist_query_params\030\010" + + " \001(\01321.google.cloud.dialogflow.v2.AssistQueryParameters\022.\n\r" + "cx_parameters\030\r" + " \001(\0132\027.google.protobuf.Struct\022\'\n" + "\031enable_extended_streaming\030\013 \001(\010B\004\342A\001\001\0222\n" @@ -493,8 +524,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \003(\0132,.google.cloud.dialogflow.v2.SuggestionResult\022C\n" + "\017dtmf_parameters\030\n" + " \001(\0132*.google.cloud.dialogflow.v2.DtmfParameters\022R\n" - + "\016debugging_info\030\013 \001(\0132:.google.c" - + "loud.dialogflow.v2.CloudConversationDebuggingInfo\022\024\n" + + "\016debugging_info\030\013 \001(\0132:.google.clo" + + "ud.dialogflow.v2.CloudConversationDebuggingInfo\022\024\n" + "\014speech_model\030\r" + " \001(\t\"\210\002\n" + "\026SuggestArticlesRequest\022>\n" @@ -523,39 +554,38 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016latest_message\030\002 \001(\t\022\024\n" + "\014context_size\030\003 \001(\005\"\241\003\n" + "\033GenerateSuggestionsResponse\022w\n" - + "\034generator_suggestion_answers\030\001 \003(\0132Q.go" - + "ogle.cloud.dialogflow.v2.GenerateSuggestionsResponse.GeneratorSuggestionAnswer\022>\n" + + "\034generator_suggestion_answers\030\001 \003(\0132Q.goog" + + "le.cloud.dialogflow.v2.GenerateSuggestionsResponse.GeneratorSuggestionAnswer\022>\n" + "\016latest_message\030\002 \001(\tB&\372A#\n" + "!dialogflow.googleapis.com/Message\032\310\001\n" + "\031GeneratorSuggestionAnswer\022M\n" - + "\024generator_suggestion\030\001 \001" - + "(\0132/.google.cloud.dialogflow.v2.GeneratorSuggestion\022\030\n" - + "\020source_generator\030\002 \001(\t\022B\n" - + "\r" + + "\024generator_suggestion\030\001 \001(\013" + + "2/.google.cloud.dialogflow.v2.GeneratorSuggestion\022\030\n" + + "\020source_generator\030\002 \001(\t\022B\n\r" + "answer_record\030\003 \001(\tB+\372A(\n" + "&dialogflow.googleapis.com/AnswerRecord\"\213\001\n" + "\022ToolCallSuggestion\022Z\n" - + "\016tool_call_info\030\001 \001(\0132<.googl" - + "e.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfoB\004\342A\001\001\022\031\n" + + "\016tool_call_info\030\001 \001(\0132<.google." + + "cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfoB\004\342A\001\001\022\031\n" + "\013text_update\030\002 \001(\tB\004\342A\001\001\"e\n" + "\016ToolCallEvents\022S\n" + "\025tool_call_suggestions\030\001" + " \003(\0132..google.cloud.dialogflow.v2.ToolCallSuggestionB\004\342A\001\001\"\362\005\n" + "\023CompanionSuggestion\022K\n" - + "\tguidances\030\001 \003(\01328.goog" - + "le.cloud.dialogflow.v2.CompanionSuggestion.Guidance\032\215\005\n" + + "\tguidances\030\001 \003(\01328.google" + + ".cloud.dialogflow.v2.CompanionSuggestion.Guidance\032\215\005\n" + "\010Guidance\022\027\n" + "\017suggested_reply\030\001 \001(\t\022\030\n" + "\020suggested_action\030\002 \001(\t\022K\n" + "\022instruction_source\030\003" + " \001(\0132/.google.cloud.dialogflow.v2.GuidanceInstruction\022c\n" - + "\021knowledge_sources\030\004 \003(\0132H.google.cloud.dialo" - + "gflow.v2.CompanionSuggestion.Guidance.KnowledgeSource\022\031\n" + + "\021knowledge_sources\030\004 \003(\0132H.google.cloud.dialogf" + + "low.v2.CompanionSuggestion.Guidance.KnowledgeSource\022\031\n" + "\013explanation\030\014 \001(\tB\004\342A\001\001\022T\n" - + "\022grounding_metadata\030\006 \001(\0132-.google.cl" - + "oud.dialogflow.v2.GroundingMetadataB\004\342A\001\001H\000\210\001\001\022H\n\n" - + "tool_calls\030\007 \003(\0132..google.clou" - + "d.dialogflow.v2.ToolCallSuggestionB\004\342A\001\001\022\\\n" + + "\022grounding_metadata\030\006 \001(\0132-.google.clou" + + "d.dialogflow.v2.GroundingMetadataB\004\342A\001\001H\000\210\001\001\022H\n\n" + + "tool_calls\030\007 \003(\0132..google.cloud." + + "dialogflow.v2.ToolCallSuggestionB\004\342A\001\001\022\\\n" + "#triggering_tool_call_answer_records\030\013 \003(\tB/\342A\001\001\372A(\n" + "&dialogflow.googleapis.com/AnswerRecord\032l\n" + "\017KnowledgeSource\022\035\n" @@ -584,19 +614,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "!dialogflow.googleapis.com/Message\022\024\n" + "\014context_size\030\003 \001(\005\"e\n\n" + "AudioInput\022B\n" - + "\006config\030\001 \001(\0132,.google.cl" - + "oud.dialogflow.v2.InputAudioConfigB\004\342A\001\002\022\023\n" + + "\006config\030\001 \001(\0132,.google.clou" + + "d.dialogflow.v2.InputAudioConfigB\004\342A\001\002\022\023\n" + "\005audio\030\002 \001(\014B\004\342A\001\002\"[\n" + "\013OutputAudio\022=\n" + "\006config\030\001 \001(\0132-.google.cloud.dialogflow.v2.OutputAudioConfig\022\r\n" - + "\005audio\030\002 \001(\014\"\350\002\n" + + "\005audio\030\002 \001(\014\"\337\004\n" + "\023AutomatedAgentReply\022P\n" + "\026detect_intent_response\030\001" - + " \001(\01320.google.cloud.dialogflow.v2.DetectIntentResponse\022k\n" - + "\032automated_agent_reply_type\030\007 \001(\0162G.google.cloud.dialogfl" - + "ow.v2.AutomatedAgentReply.AutomatedAgentReplyType\022\032\n" + + " \001(\01320.google.cloud.dialogflow.v2.DetectIntentResponse\022F\n" + + "\021response_messages\030\003" + + " \003(\0132+.google.cloud.dialogflow.v2.ResponseMessage\0225\n" + + "\006intent\030\004 \001(\tB%\372A\"\n" + + " dialogflow.googleapis.com/Intent\022\r\n" + + "\005event\030\005 \001(\t\022\030\n" + + "\020match_confidence\030\t \001(\002\022+\n\n" + + "parameters\030\n" + + " \001(\0132\027.google.protobuf.Struct\022k\n" + + "\032automated_agent_reply_type\030\007 \001(\0162G.google.clo" + + "ud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType\022\032\n" + "\022allow_cancellation\030\010 \001(\010\022\027\n" - + "\017cx_current_page\030\013 \001(\t\"]\n" + + "\017cx_current_page\030\013 \001(\t\022 \n" + + "\030call_companion_auth_code\030\014 \001(\014\"]\n" + "\027AutomatedAgentReplyType\022*\n" + "&AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED\020\000\022\013\n" + "\007PARTIAL\020\001\022\t\n" @@ -606,8 +645,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003uri\030\002 \001(\t\022\020\n" + "\010snippets\030\003 \003(\t\022\022\n\n" + "confidence\030\004 \001(\002\022I\n" - + "\010metadata\030\005" - + " \003(\01327.google.cloud.dialogflow.v2.ArticleAnswer.MetadataEntry\022\025\n\r" + + "\010metadata\030\005 \003(\01327.google.cloud." + + "dialogflow.v2.ArticleAnswer.MetadataEntry\022\025\n\r" + "answer_record\030\006 \001(\t\032/\n\r" + "MetadataEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" @@ -634,27 +673,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013description\030\005 \001(\tB\010\n" + "\006intent\"\305\001\n" + "\026DialogflowAssistAnswer\022?\n" - + "\014query_result\030\001 \001(" - + "\0132\'.google.cloud.dialogflow.v2.QueryResultH\000\022I\n" - + "\021intent_suggestion\030\005 \001(\0132,.google" - + ".cloud.dialogflow.v2.IntentSuggestionH\000\022\025\n\r" + + "\014query_result\030\001" + + " \001(\0132\'.google.cloud.dialogflow.v2.QueryResultH\000\022I\n" + + "\021intent_suggestion\030\005 \001(\0132,.g" + + "oogle.cloud.dialogflow.v2.IntentSuggestionH\000\022\025\n\r" + "answer_record\030\002 \001(\tB\010\n" + "\006result\"\252\005\n" + "\020SuggestionResult\022#\n" + "\005error\030\001 \001(\0132\022.google.rpc.StatusH\000\022X\n" + "\031suggest_articles_response\030\002" + " \001(\01323.google.cloud.dialogflow.v2.SuggestArticlesResponseH\000\022g\n" - + "!suggest_knowledge_assist_response\030\010 \001(\0132:.google.cloud.d" - + "ialogflow.v2.SuggestKnowledgeAssistResponseH\000\022]\n" - + "\034suggest_faq_answers_response\030\003 " - + "\001(\01325.google.cloud.dialogflow.v2.SuggestFaqAnswersResponseH\000\022a\n" - + "\036suggest_smart_replies_response\030\004 \001(\01327.google.cloud.dial" - + "ogflow.v2.SuggestSmartRepliesResponseH\000\022`\n" - + "\035generate_suggestions_response\030\t \001(\01327" - + ".google.cloud.dialogflow.v2.GenerateSuggestionsResponseH\000\022s\n" + + "!suggest_knowledge_assist_response\030\010 \001(\0132:.google.cl" + + "oud.dialogflow.v2.SuggestKnowledgeAssistResponseH\000\022]\n" + + "\034suggest_faq_answers_response\030\003" + + " \001(\01325.google.cloud.dialogflow.v2.SuggestFaqAnswersResponseH\000\022a\n" + + "\036suggest_smart_replies_response\030\004 \001(\01327.google.cloud" + + ".dialogflow.v2.SuggestSmartRepliesResponseH\000\022`\n" + + "\035generate_suggestions_response\030\t " + + "\001(\01327.google.cloud.dialogflow.v2.GenerateSuggestionsResponseH\000\022s\n" + "\'generate_companion_suggestions_response\030\n" - + " \001(\0132@.google.clou" - + "d.dialogflow.v2.GenerateCompanionSuggestionsResponseH\000B\025\n" + + " \001(\0132@.google" + + ".cloud.dialogflow.v2.GenerateCompanionSuggestionsResponseH\000B\025\n" + "\023suggestion_response\".\n" + "\017InputTextConfig\022\033\n\r" + "language_code\030\001 \001(\tB\004\342A\001\002\"j\n" @@ -663,14 +702,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013entity_type\030\002 \001(\t\022/\n" + "\017formatted_value\030\003 \001(\0132\026.google.protobuf.Value\"n\n" + "\021MessageAnnotation\022?\n" - + "\005parts\030\001 \003(\01320.google.c" - + "loud.dialogflow.v2.AnnotatedMessagePart\022\030\n" + + "\005parts\030\001 \003(\01320.goo" + + "gle.cloud.dialogflow.v2.AnnotatedMessagePart\022\030\n" + "\020contain_entities\030\002 \001(\010\"\247\002\n" + "\017SuggestionInput\022\033\n\r" + "answer_record\030\001 \001(\tB\004\342A\001\002\0221\n\n" + "parameters\030\004 \001(\0132\027.google.protobuf.StructB\004\342A\001\001\022H\n" - + "\006action\030\005 \001(\01622.google.cloud.dia" - + "logflow.v2.SuggestionInput.ActionB\004\342A\001\001\0223\n" + + "\006action\030\005 \001(\01622.google.clou" + + "d.dialogflow.v2.SuggestionInput.ActionB\004\342A\001\001\0223\n" + "\tsend_time\030\007 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\001\"E\n" + "\006Action\022\026\n" + "\022ACTION_UNSPECIFIED\020\000\022\n\n" @@ -678,11 +717,41 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006REVISE\020\002\022\013\n" + "\007CONFIRM\020\003\"\315\001\n" + "\025AssistQueryParameters\022s\n" - + "\032documents_metadata_filters\030\001 \003(\0132O.google.cloud" - + ".dialogflow.v2.AssistQueryParameters.DocumentsMetadataFiltersEntry\032?\n" + + "\032documents_metadata_filters\030\001 \003(\0132O.google." + + "cloud.dialogflow.v2.AssistQueryParameters.DocumentsMetadataFiltersEntry\032?\n" + "\035DocumentsMetadataFiltersEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001\"\347\001\n" + + "\005value\030\002 \001(\t:\0028\001\"\345\006\n" + + "\017ResponseMessage\022@\n" + + "\004text\030\001" + + " \001(\01320.google.cloud.dialogflow.v2.ResponseMessage.TextH\000\022*\n" + + "\007payload\030\002 \001(\0132\027.google.protobuf.StructH\000\022Z\n" + + "\022live_agent_handoff\030\003 \001(\0132<.google.cloud.dialogflow" + + ".v2.ResponseMessage.LiveAgentHandoffH\000\022U\n" + + "\017end_interaction\030\004 \001(\0132:.google.cloud.d" + + "ialogflow.v2.ResponseMessage.EndInteractionH\000\022M\n" + + "\013mixed_audio\030\005 \001(\01326.google.clou" + + "d.dialogflow.v2.ResponseMessage.MixedAudioH\000\022d\n" + + "\027telephony_transfer_call\030\006 \001(\0132A." + + "google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCallH\000\032\024\n" + + "\004Text\022\014\n" + + "\004text\030\001 \003(\t\032=\n" + + "\020LiveAgentHandoff\022)\n" + + "\010metadata\030\001 \001(\0132\027.google.protobuf.Struct\032\020\n" + + "\016EndInteraction\032\271\001\n\n" + + "MixedAudio\022P\n" + + "\010segments\030\001 \003" + + "(\0132>.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment\032Y\n" + + "\007Segment\022\017\n" + + "\005audio\030\001 \001(\014H\000\022\r\n" + + "\003uri\030\002 \001(\tH\000\022#\n" + + "\033allow_playback_interruption\030\003 \001(\010B\t\n" + + "\007content\032N\n" + + "\025TelephonyTransferCall\022\026\n" + + "\014phone_number\030\001 \001(\tH\000\022\021\n" + + "\007sip_uri\030\002 \001(\tH\000B\n\n" + + "\010endpointB\t\n" + + "\007message\"\347\001\n" + "\035SuggestKnowledgeAssistRequest\022>\n" + "\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n" + "%dialogflow.googleapis.com/Participant\022B\n" @@ -691,22 +760,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014context_size\030\003 \001(\005B\004\342A\001\001\022&\n" + "\030previous_suggested_query\030\004 \001(\tB\004\342A\001\001\"\255\002\n" + "\036SuggestKnowledgeAssistResponse\022X\n" - + "\027knowledge_assist_answer\030\001 \001(\01321.goog" - + "le.cloud.dialogflow.v2.KnowledgeAssistAnswerB\004\342A\001\003\022\026\n" + + "\027knowledge_assist_answer\030\001 \001(\01321.google." + + "cloud.dialogflow.v2.KnowledgeAssistAnswerB\004\342A\001\003\022\026\n" + "\016latest_message\030\002 \001(\t\022\024\n" + "\014context_size\030\003 \001(\005\022\202\001\n" - + "\"additional_suggested_query_results\030\004 \003(\0132P.google.cloud.dia" - + "logflow.v2.KnowledgeAssistAnswer.AdditionalSuggestedQueryResultB\004\342A\001\001\"\271\005\n" + + "\"additional_suggested_query_results\030\004 \003(\0132P.google.cloud.dialog" + + "flow.v2.KnowledgeAssistAnswer.AdditionalSuggestedQueryResultB\004\342A\001\001\"\271\005\n" + "!IngestedContextReferenceDebugInfo\022\037\n" + "\027project_not_allowlisted\030\001 \001(\010\022#\n" + "\033context_reference_retrieved\030\002 \001(\010\022\200\001\n" - + "\036ingested_parameters_debug_info\030\003 \003(\0132X.google.cloud.dialog" - + "flow.v2.IngestedContextReferenceDebugInfo.IngestedParameterDebugInfo\032\312\003\n" + + "\036ingested_parameters_debug_info\030\003 \003(\0132X.google.cloud.dialogflo" + + "w.v2.IngestedContextReferenceDebugInfo.IngestedParameterDebugInfo\032\312\003\n" + "\032IngestedParameterDebugInfo\022\021\n" + "\tparameter\030\001 \001(\t\022\202\001\n" - + "\020ingestion_status\030\002 \001(\0162h.google.cloud" - + ".dialogflow.v2.IngestedContextReferenceD" - + "ebugInfo.IngestedParameterDebugInfo.IngestionStatus\"\223\002\n" + + "\020ingestion_status\030\002 \001(\0162h.google.cloud.di" + + "alogflow.v2.IngestedContextReferenceDebu" + + "gInfo.IngestedParameterDebugInfo.IngestionStatus\"\223\002\n" + "\017IngestionStatus\022 \n" + "\034INGESTION_STATUS_UNSPECIFIED\020\000\022\036\n" + "\032INGESTION_STATUS_SUCCEEDED\020\001\022*\n" @@ -716,29 +785,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\037INGESTION_STATUS_INVALID_FORMAT\020\005\022&\n" + "\"INGESTION_STATUS_LANGUAGE_MISMATCH\020\006\"\227\002\n" + "\016ServiceLatency\022e\n" - + "\032internal_service_latencies\030\001 \003(\0132A.google.cloud." - + "dialogflow.v2.ServiceLatency.InternalServiceLatency\032\235\001\n" + + "\032internal_service_latencies\030\001 \003(\0132A.google.cloud.dia" + + "logflow.v2.ServiceLatency.InternalServiceLatency\032\235\001\n" + "\026InternalServiceLatency\022\014\n" + "\004step\030\001 \001(\t\022\022\n\n" + "latency_ms\030\002 \001(\002\022.\n\n" - + "start_time\030\003 \001(\0132\032.google.protobuf.Timestamp\0221\n\r" + + "start_time\030\003 \001(\0132\032.google.protobuf.Timestamp\0221\n" + + "\r" + "complete_time\030\004 \001(\0132\032.google.protobuf.Timestamp\"\223\023\n" + "\030KnowledgeAssistDebugInfo\022z\n" - + "\037query_generation_failure_reason\030\001 \001(" - + "\0162Q.google.cloud.dialogflow.v2.Knowledge" - + "AssistDebugInfo.QueryGenerationFailureReason\022\202\001\n" - + "#query_categorization_failure_reason\030\002 \001(\0162U.google.cloud.dialogflow.v2." - + "KnowledgeAssistDebugInfo.QueryCategorizationFailureReason\022V\n" + + "\037query_generation_failure_reason\030\001 \001(\0162Q" + + ".google.cloud.dialogflow.v2.KnowledgeAss" + + "istDebugInfo.QueryGenerationFailureReason\022\202\001\n" + + "#query_categorization_failure_reason\030\002" + + " \001(\0162U.google.cloud.dialogflow.v2.Kno" + + "wledgeAssistDebugInfo.QueryCategorizationFailureReason\022V\n" + "\031datastore_response_reason\030\003" + " \001(\01623.google.cloud.dialogflow.v2.DatastoreResponseReason\022o\n" - + "\031knowledge_assist_behavior\030\004 \001(\0132L.google.cloud.dial" - + "ogflow.v2.KnowledgeAssistDebugInfo.KnowledgeAssistBehavior\022l\n" - + "%ingested_context_reference_debug_info\030\005 \001(\0132=.google.cloud" - + ".dialogflow.v2.IngestedContextReferenceDebugInfo\022C\n" + + "\031knowledge_assist_behavior\030\004 \001(\0132L.google.cloud.dialogf" + + "low.v2.KnowledgeAssistDebugInfo.KnowledgeAssistBehavior\022l\n" + + "%ingested_context_reference_debug_info\030\005 \001(\0132=.google.cloud.di" + + "alogflow.v2.IngestedContextReferenceDebugInfo\022C\n" + "\017service_latency\030\006" + " \001(\0132*.google.cloud.dialogflow.v2.ServiceLatency\022r\n" - + "\033query_generation_debug_info\030\007 \001(\0132M.goo" - + "gle.cloud.dialogflow.v2.KnowledgeAssistDebugInfo.QueryGenerationDebugInfo\022/\n" + + "\033query_generation_debug_info\030\007 \001(\0132M.google" + + ".cloud.dialogflow.v2.KnowledgeAssistDebugInfo.QueryGenerationDebugInfo\022/\n" + "\016ces_debug_info\030\010 \001(\0132\027.google.protobuf.Struct\032\271\005\n" + "\027KnowledgeAssistBehavior\022%\n" + "\035answer_generation_rewriter_on\030\001 \001(\010\022\"\n" @@ -772,7 +843,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "+QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED\020\000\022!\n" + "\035QUERY_GENERATION_OUT_OF_QUOTA\020\001\022\033\n" + "\027QUERY_GENERATION_FAILED\020\002\022\'\n" - + "#QUERY_GENERATION_NO_QUERY_GENERATED\020\003\022\037\n" + + "#QUERY_GENERATION_NO_Q", + "UERY_GENERATED\020\003\022\037\n" + "\033QUERY_GENERATION_RAI_FAILED\020\004\022\024\n" + "\020NOT_IN_ALLOWLIST\020\005\022#\n" + "\037QUERY_GENERATION_QUERY_REDACTED\020\006\022.\n" @@ -788,41 +860,40 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "%QUERY_CATEGORIZATION_RESULT_NOT_FOUND\020\002\022\037\n" + "\033QUERY_CATEGORIZATION_FAILED\020\003\"\306\014\n" + "\025KnowledgeAssistAnswer\022Y\n" - + "\017suggested_query\030\001 \001(\0132@.g" - + "oogle.cloud.dialogflow.v2.KnowledgeAssistAnswer.SuggestedQuery\022a\n" - + "\026suggested_query_answer\030\002 \001(\0132A.google.cloud.dialogflow" - + ".v2.KnowledgeAssistAnswer.KnowledgeAnswer\022\025\n\r" + + "\017suggested_query\030\001 \001(\0132@.goog" + + "le.cloud.dialogflow.v2.KnowledgeAssistAnswer.SuggestedQuery\022a\n" + + "\026suggested_query_answer\030\002 \001(\0132A.google.cloud.dialogflow.v2" + + ".KnowledgeAssistAnswer.KnowledgeAnswer\022\025\n\r" + "answer_record\030\003 \001(\t\022Y\n" + "\033knowledge_assist_debug_info\030\007" + " \001(\01324.google.cloud.dialogflow.v2.KnowledgeAssistDebugInfo\032\314\001\n" + "\016SuggestedQuery\022\022\n\n" + "query_text\030\001 \001(\t\022m\n" - + "\017search_contexts\030\004 \003(\0132N.google.cloud.dialo" - + "gflow.v2.KnowledgeAssistAnswer.SuggestedQuery.SearchContextB\004\342A\001\001\0327\n\r" + + "\017search_contexts\030\004 \003(\0132N.google.cloud.dialogfl" + + "ow.v2.KnowledgeAssistAnswer.SuggestedQuery.SearchContextB\004\342A\001\001\0327\n\r" + "SearchContext\022\021\n" + "\003key\030\001 \001(\tB\004\342A\001\001\022\023\n" + "\005value\030\002 \001(\tB\004\342A\001\001\032\311\001\n" + "\036AdditionalSuggestedQueryResult\022_\n" - + "\017suggested_query\030\001 \001(\0132@.google.cloud.di" - + "alogflow.v2.KnowledgeAssistAnswer.SuggestedQueryB\004\342A\001\003\022F\n\r" - + "answer_record\030\005 \001(\tB/\342", - "A\001\003\372A(\n" + + "\017suggested_query\030\001 \001(\0132@.google.cloud.dialo" + + "gflow.v2.KnowledgeAssistAnswer.SuggestedQueryB\004\342A\001\003\022F\n\r" + + "answer_record\030\005 \001(\tB/\342A\001\003\372A(\n" + "&dialogflow.googleapis.com/AnswerRecord\032\341\006\n" + "\017KnowledgeAnswer\022\023\n" + "\013answer_text\030\001 \001(\t\022a\n\n" - + "faq_source\030\003 \001(\0132K.google.clo" - + "ud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.FaqSourceH\000\022o\n" - + "\021generative_source\030\004 \001(\0132R.google.cloud.dialogflow." - + "v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSourceH\000\022m\n" - + "\017playbook_source\030\007 \001(\0132R.google.cloud.dialogflow.v2.Knowle" - + "dgeAssistAnswer.KnowledgeAnswer.GenerativeSourceH\000\022e\n" - + "\014event_source\030\010 \001(\0132M.googl" - + "e.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.EventSourceH\000\032\035\n" + + "faq_source\030\003 \001(\0132K.google.cloud." + + "dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.FaqSourceH\000\022o\n" + + "\021generative_source\030\004 \001(\0132R.google.cloud.dialogflow.v2." + + "KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSourceH\000\022m\n" + + "\017playbook_source\030\007 \001(\0132R.google.cloud.dialogflow.v2.Knowledge" + + "AssistAnswer.KnowledgeAnswer.GenerativeSourceH\000\022e\n" + + "\014event_source\030\010 \001(\0132M.google.c" + + "loud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.EventSourceH\000\032\035\n" + "\tFaqSource\022\020\n" + "\010question\030\002 \001(\t\032\340\001\n" + "\020GenerativeSource\022l\n" - + "\010snippets\030\001 \003(\0132Z.google.cloud.d" - + "ialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet\032^\n" + + "\010snippets\030\001 \003(\0132Z.google.cloud.dial" + + "ogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet\032^\n" + "\007Snippet\022\013\n" + "\003uri\030\002 \001(\t\022\014\n" + "\004text\030\003 \001(\t\022\r\n" @@ -830,29 +901,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010metadata\030\005 \001(\0132\027.google.protobuf.Struct\032\202\001\n" + "\013EventSource\022\r\n" + "\005event\030\001 \001(\t\022d\n" - + "\010snippets\030\002 \001(\0132R.google.cloud.dial" - + "ogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSourceB\010\n" + + "\010snippets\030\002 \001(\0132R.google.cloud.dialogf" + + "low.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSourceB\010\n" + "\006source\"\245\002\n" + ",StreamingReactiveCompanionSuggestionsRequest\022C\n" + "\013participant\030\001 \001(\tB.\342A\001\002\372A\'\n" + "%dialogflow.googleapis.com/Participant\022\024\n\n" + "text_input\030\002 \001(\tH\000\022H\n" - + "\025cancel_reactive_query\030\003" - + " \001(\0132\'.google.cloud.dialogflow.v2.CancelQueryH\000\022G\n" - + "\020suggestion_input\030\005 \001(\0132+.goo" - + "gle.cloud.dialogflow.v2.SuggestionInputH\000B\007\n" + + "\025cancel_reactive_query\030\003 \001" + + "(\0132\'.google.cloud.dialogflow.v2.CancelQueryH\000\022G\n" + + "\020suggestion_input\030\005 \001(\0132+.google" + + ".cloud.dialogflow.v2.SuggestionInputH\000B\007\n" + "\005input\"\r\n" + "\013CancelQuery\"\337\005\n" + "-StreamingReactiveCompanionSuggestionsResponse\022\030\n" + "\016response_chunk\030\001 \001(\tH\000\022$\n" + "\006status\030\003 \001(\0132\022.google.rpc.StatusH\000\022\214\001\n" - + "\034reactive_mode_final_response\030\006 \001(\0132^.google.cloud.dialog" - + "flow.v2.StreamingReactiveCompanionSugges" - + "tionsResponse.ReactiveModeResponseB\004\342A\001\003H\000\022Y\n" - + "\035intermediate_tool_call_events\030\007 \001(" - + "\0132*.google.cloud.dialogflow.v2.ToolCallEventsB\004\342A\001\003H\000\022\026\n" - + "\010is_final\030\004 \001(\010B\004\342A\001\003\022F\n" - + "\r" + + "\034reactive_mode_final_response\030\006 \001(\0132^.google.cloud.dialogflo" + + "w.v2.StreamingReactiveCompanionSuggestio" + + "nsResponse.ReactiveModeResponseB\004\342A\001\003H\000\022Y\n" + + "\035intermediate_tool_call_events\030\007 \001(\0132*" + + ".google.cloud.dialogflow.v2.ToolCallEventsB\004\342A\001\003H\000\022\026\n" + + "\010is_final\030\004 \001(\010B\004\342A\001\003\022F\n\r" + "answer_record\030\005 \001(\tB/\342A\001\003\372A(\n" + "&dialogflow.googleapis.com/AnswerRecord\022\035\n" + "\017text_message_id\030\010 \001(\tB\004\342A\001\002\022-\n" @@ -860,38 +930,40 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\024ReactiveModeResponse\022\026\n" + "\010response\030\001 \001(\tB\004\342A\001\001\022O\n" + "\022grounding_metadata\030\002" - + " \001(\0132-.google.cloud.dialogflow.v2.GroundingMetadataB\004\342A\001\001\022H\n" - + "\n" + + " \001(\0132-.google.cloud.dialogflow.v2.GroundingMetadataB\004\342A\001\001\022H\n\n" + "tool_calls\030\003" + " \003(\0132..google.cloud.dialogflow.v2.ToolCallSuggestionB\004\342A\001\001B\n\n" - + "\010response\"\251\014\n" + + "\010response\"\205\r\n" + "\"BidiStreamingAnalyzeContentRequest\022W\n" - + "\006config\030\001 \001(\0132E.google.cloud.dialog" - + "flow.v2.BidiStreamingAnalyzeContentRequest.ConfigH\000\022U\n" - + "\005input\030\002 \001(\0132D.google.clou" - + "d.dialogflow.v2.BidiStreamingAnalyzeContentRequest.InputH\000\032\200\007\n" + + "\006config\030\001 \001(\0132E.google.cloud.dialogflo" + + "w.v2.BidiStreamingAnalyzeContentRequest.ConfigH\000\022U\n" + + "\005input\030\002 \001(\0132D.google.cloud.d" + + "ialogflow.v2.BidiStreamingAnalyzeContentRequest.InputH\000\032\334\007\n" + "\006Config\022C\n" + "\013participant\030\001 \001(\tB.\342A\001\002\372A\'\n" + "%dialogflow.googleapis.com/Participant\022x\n" - + "\024voice_session_config\030\002 \001(\0132X.google.cloud.dialogflow.v2.Bi" - + "diStreamingAnalyzeContentRequest.Config.VoiceSessionConfigH\000\022G\n" + + "\024voice_session_config\030\002 \001(\0132X.google.cloud.dialogflow.v2.BidiS" + + "treamingAnalyzeContentRequest.Config.VoiceSessionConfigH\000\022G\n" + " initial_virtual_agent_parameters\030\003" + " \001(\0132\027.google.protobuf.StructB\004\342A\001\001\022]\n" + "\"initial_virtual_agent_query_params\030\004" - + " \001(\0132+.google.cloud.dialogflow.v2.QueryParametersB\004\342A\001\001\032\204\004\n" + + " \001(\0132+.google.cloud.dialogflow.v2.QueryParametersB\004\342A\001\001\032\340\004\n" + "\022VoiceSessionConfig\022M\n" - + "\024input_audio_encoding\030\001 \001(" - + "\0162).google.cloud.dialogflow.v2.AudioEncodingB\004\342A\001\002\022+\n" + + "\024input_audio_encoding\030\001 \001(\0162)" + + ".google.cloud.dialogflow.v2.AudioEncodingB\004\342A\001\002\022+\n" + "\035input_audio_sample_rate_hertz\030\002 \001(\005B\004\342A\001\002\022T\n" - + "\025output_audio_encoding\030\003" - + " \001(\0162/.google.cloud.dialogflow.v2.OutputAudioEncodingB\004\342A\001\002\022,\n" + + "\025output_audio_encoding\030\003 " + + "\001(\0162/.google.cloud.dialogflow.v2.OutputAudioEncodingB\004\342A\001\002\022,\n" + "\036output_audio_sample_rate_hertz\030\004 \001(\005B\004\342A\001\002\022,\n" + "\036enable_cx_proactive_processing\030\005 \001(\010B\004\342A\001\001\022)\n" + "\033enable_streaming_synthesize\030\027 \001(\010B\004\342A\001\001\022_\n" - + "\021gemini_asr_config\030\030 \001(\0132>.google.cloud.d" - + "ialogflow.v2.SpeechToTextConfig.GeminiAsrConfigB\004\342A\001\001\022!\n" - + "\016use_gemini_asr\030\031 \001(\010B\004\342A\001\001H\000\210\001\001B\021\n" - + "\017_use_gemini_asrB\010\n" + + "\021gemini_asr_config\030\030 \001(\0132>.google.cloud.dial" + + "ogflow.v2.SpeechToTextConfig.GeminiAsrConfigB\004\342A\001\001\022!\n" + + "\016use_gemini_asr\030\031 \001(\010B\004\342A\001\001H\000\210\001\001\0224\n" + + "!disable_interim_input_transcripts\030\032" + + " \001(\010B\004\342A\001\001H\001\210\001\001B\021\n" + + "\017_use_gemini_asrB$\n" + + "\"_disable_interim_input_transcriptsB\010\n" + "\006config\032\205\002\n" + "\tTurnInput\022\016\n" + "\004text\030\001 \001(\tH\000\0227\n" @@ -905,21 +977,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014main_content\032\274\001\n" + "\005Input\022\017\n" + "\005audio\030\001 \001(\014H\000\022?\n" - + "\004dtmf\030\002" - + " \001(\0132/.google.cloud.dialogflow.v2.TelephonyDtmfEventsH\000\022X\n" - + "\004turn\030\003 \001(\0132H.google.cloud.dialogflow.v2.Bid" - + "iStreamingAnalyzeContentRequest.TurnInputH\000B\007\n" + + "\004dtmf\030\002 \001(\0132/.google" + + ".cloud.dialogflow.v2.TelephonyDtmfEventsH\000\022X\n" + + "\004turn\030\003 \001(\0132H.google.cloud.dialogfl" + + "ow.v2.BidiStreamingAnalyzeContentRequest.TurnInputH\000B\007\n" + "\005inputB\t\n" + "\007request\"\321\003\n" + "#BidiStreamingAnalyzeContentResponse\022T\n" - + "\022recognition_result\030\001" - + " \001(\01326.google.cloud.dialogflow.v2.StreamingRecognitionResultH\000\022h\n" - + "\017barge_in_signal\030\002 \001(\0132M.google.cloud.dialogflow" - + ".v2.BidiStreamingAnalyzeContentResponse.BargeInSignalH\000\022V\n" + + "\022recognition_result\030\001 \001(\01326.google.cloud.dial" + + "ogflow.v2.StreamingRecognitionResultH\000\022h\n" + + "\017barge_in_signal\030\002 \001(\0132M.google.cloud.d" + + "ialogflow.v2.BidiStreamingAnalyzeContentResponse.BargeInSignalH\000\022V\n" + "\030analyze_content_response\030\003" + " \001(\01322.google.cloud.dialogflow.v2.AnalyzeContentResponseH\000\022e\n\r" - + "turn_complete\030\004 \001(\0132L.google.cloud.dialogflow.v2.Bidi" - + "StreamingAnalyzeContentResponse.TurnCompleteH\000\032\017\n\r" + + "turn_complete\030\004 \001(\0132L.google.cloud.dialogflo" + + "w.v2.BidiStreamingAnalyzeContentResponse.TurnCompleteH\000\032\017\n\r" + "BargeInSignal\032\016\n" + "\014TurnCompleteB\n\n" + "\010response*\326\002\n" @@ -935,76 +1007,77 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\034ANSWER_GENERATION_RAI_FAILED\020\010\022\"\n" + "\036ANSWER_GENERATION_NOT_GROUNDED\020\t2\346\033\n" + "\014Participants\022\245\002\n" - + "\021CreateParticipant\0224.google.cloud.dialogflow.v2.CreateParticipa" - + "ntRequest\032\'.google.cloud.dialogflow.v2.P" - + "articipant\"\260\001\332A\022parent,participant\202\323\344\223\002\224" - + "\001\"4/v2/{parent=projects/*/conversations/" - + "*}/participants:\013participantZO\"@/v2/{par" - + "ent=projects/*/locations/*/conversations/*}/participants:\013participant\022\366\001\n" - + "\016GetParticipant\0221.google.cloud.dialogflow.v2.Ge" - + "tParticipantRequest\032\'.google.cloud.dialo" - + "gflow.v2.Participant\"\207\001\332A\004name\202\323\344\223\002z\0224/v" - + "2/{name=projects/*/conversations/*/participants/*}ZB\022@/v2/{name=projects/*/locat" - + "ions/*/conversations/*/participants/*}\022\211\002\n" - + "\020ListParticipants\0223.google.cloud.dialo" - + "gflow.v2.ListParticipantsRequest\0324.google.cloud.dialogflow.v2.ListParticipantsRe" - + "sponse\"\211\001\332A\006parent\202\323\344\223\002z\0224/v2/{parent=pr" - + "ojects/*/conversations/*}/participantsZB" - + "\022@/v2/{parent=projects/*/locations/*/conversations/*}/participants\022\302\002\n" - + "\021UpdateParticipant\0224.google.cloud.dialogflow.v2.Up" - + "dateParticipantRequest\032\'.google.cloud.di" - + "alogflow.v2.Participant\"\315\001\332A\027participant" - + ",update_mask\202\323\344\223\002\254\0012@/v2/{participant.na" - + "me=projects/*/conversations/*/participants/*}:\013participantZ[2L/v2/{participant.n" - + "ame=projects/*/locations/*/conversations/*/participants/*}:\013participant\022\372\002\n" - + "\016AnalyzeContent\0221.google.cloud.dialogflow.v2." - + "AnalyzeContentRequest\0322.google.cloud.dia" - + "logflow.v2.AnalyzeContentResponse\"\200\002\332A\026p" - + "articipant,text_input\332A\027participant,even" - + "t_input\332A\027participant,audio_input\202\323\344\223\002\254\001" - + "\"J/v2/{participant=projects/*/conversations/*/participants/*}:analyzeContent:\001*Z" - + "[\"V/v2/{participant=projects/*/locations" - + "/*/conversations/*/participants/*}:analyzeContent:\001*\022\230\001\n" - + "\027StreamingAnalyzeContent\022:.google.cloud.dialogflow.v2.StreamingA" - + "nalyzeContentRequest\032;.google.cloud.dial" - + "ogflow.v2.StreamingAnalyzeContentResponse\"\000(\0010\001\022\244\001\n" - + "\033BidiStreamingAnalyzeContent\022>.google.cloud.dialogflow.v2.BidiStreami" - + "ngAnalyzeContentRequest\032?.google.cloud.d" - + "ialogflow.v2.BidiStreamingAnalyzeContentResponse\"\000(\0010\001\022\302\001\n" - + "%StreamingReactiveCompanionSuggestions\022H.google.cloud.dialogfl" - + "ow.v2.StreamingReactiveCompanionSuggestionsRequest\032I.google.cloud.dialogflow.v2." - + "StreamingReactiveCompanionSuggestionsResponse\"\000(\0010\001\022\311\002\n" - + "\017SuggestArticles\0222.google.cloud.dialogflow.v2.SuggestArticlesRequ" - + "est\0323.google.cloud.dialogflow.v2.Suggest" - + "ArticlesResponse\"\314\001\332A\006parent\202\323\344\223\002\274\001\"R/v2" - + "/{parent=projects/*/conversations/*/participants/*}/suggestions:suggestArticles:" - + "\001*Zc\"^/v2/{parent=projects/*/locations/*" - + "/conversations/*/participants/*}/suggestions:suggestArticles:\001*\022\323\002\n" - + "\021SuggestFaqAnswers\0224.google.cloud.dialogflow.v2.Sugge" - + "stFaqAnswersRequest\0325.google.cloud.dialo" - + "gflow.v2.SuggestFaqAnswersResponse\"\320\001\332A\006" - + "parent\202\323\344\223\002\300\001\"T/v2/{parent=projects/*/co" - + "nversations/*/participants/*}/suggestions:suggestFaqAnswers:\001*Ze\"`/v2/{parent=pr" - + "ojects/*/locations/*/conversations/*/par" - + "ticipants/*}/suggestions:suggestFaqAnswers:\001*\022\335\002\n" - + "\023SuggestSmartReplies\0226.google.cloud.dialogflow.v2.SuggestSmartRepliesRe" - + "quest\0327.google.cloud.dialogflow.v2.Sugge" - + "stSmartRepliesResponse\"\324\001\332A\006parent\202\323\344\223\002\304" - + "\001\"V/v2/{parent=projects/*/conversations/*/participants/*}/suggestions:suggestSma" - + "rtReplies:\001*Zg\"b/v2/{parent=projects/*/locations/*/conversations/*/participants/" - + "*}/suggestions:suggestSmartReplies:\001*\022\343\002\n" - + "\026SuggestKnowledgeAssist\0229.google.cloud.dialogflow.v2.SuggestKnowledgeAssistRequ" - + "est\032:.google.cloud.dialogflow.v2.Suggest" - + "KnowledgeAssistResponse\"\321\001\202\323\344\223\002\312\001\"Y/v2/{" - + "parent=projects/*/conversations/*/participants/*}/suggestions:suggestKnowledgeAs" - + "sist:\001*Zj\"e/v2/{parent=projects/*/locations/*/conversations/*/participants/*}/su" - + "ggestions:suggestKnowledgeAssist:\001*\032x\312A\031" - + "dialogflow.googleapis.com\322AYhttps://www.googleapis.com/auth/cloud-platform,https" - + "://www.googleapis.com/auth/dialogflowB\226\001\n" - + "\036com.google.cloud.dialogflow.v2B\020Partic" - + "ipantProtoP\001Z>cloud.google.com/go/dialog" - + "flow/apiv2/dialogflowpb;dialogflowpb\242\002\002D" - + "F\252\002\032Google.Cloud.Dialogflow.V2b\006proto3" + + "\021CreateParticipant\0224.google.cloud.dialogflow.v2.Create" + + "ParticipantRequest\032\'.google.cloud.dialog" + + "flow.v2.Participant\"\260\001\332A\022parent,particip" + + "ant\202\323\344\223\002\224\001\"4/v2/{parent=projects/*/conve" + + "rsations/*}/participants:\013participantZO\"@/v2/{parent=projects/*/locations/*/conv" + + "ersations/*}/participants:\013participant\022\366\001\n" + + "\016GetParticipant\0221.google.cloud.dialogf" + + "low.v2.GetParticipantRequest\032\'.google.cl" + + "oud.dialogflow.v2.Participant\"\207\001\332A\004name\202" + + "\323\344\223\002z\0224/v2/{name=projects/*/conversation" + + "s/*/participants/*}ZB\022@/v2/{name=project" + + "s/*/locations/*/conversations/*/participants/*}\022\211\002\n" + + "\020ListParticipants\0223.google.cloud.dialogflow.v2.ListParticipantsReques" + + "t\0324.google.cloud.dialogflow.v2.ListParti" + + "cipantsResponse\"\211\001\332A\006parent\202\323\344\223\002z\0224/v2/{" + + "parent=projects/*/conversations/*}/parti" + + "cipantsZB\022@/v2/{parent=projects/*/locations/*/conversations/*}/participants\022\302\002\n" + + "\021UpdateParticipant\0224.google.cloud.dialogf" + + "low.v2.UpdateParticipantRequest\032\'.google" + + ".cloud.dialogflow.v2.Participant\"\315\001\332A\027pa" + + "rticipant,update_mask\202\323\344\223\002\254\0012@/v2/{parti" + + "cipant.name=projects/*/conversations/*/participants/*}:\013participantZ[2L/v2/{part" + + "icipant.name=projects/*/locations/*/conv" + + "ersations/*/participants/*}:\013participant\022\372\002\n" + + "\016AnalyzeContent\0221.google.cloud.dialogflow.v2.AnalyzeContentRequest\0322.google." + + "cloud.dialogflow.v2.AnalyzeContentRespon" + + "se\"\200\002\332A\026participant,text_input\332A\027partici" + + "pant,event_input\332A\027participant,audio_inp" + + "ut\202\323\344\223\002\254\001\"J/v2/{participant=projects/*/c" + + "onversations/*/participants/*}:analyzeContent:\001*Z[\"V/v2/{participant=projects/*/" + + "locations/*/conversations/*/participants/*}:analyzeContent:\001*\022\230\001\n" + + "\027StreamingAnalyzeContent\022:.google.cloud.dialogflow.v2.S" + + "treamingAnalyzeContentRequest\032;.google.c" + + "loud.dialogflow.v2.StreamingAnalyzeContentResponse\"\000(\0010\001\022\244\001\n" + + "\033BidiStreamingAnalyzeContent\022>.google.cloud.dialogflow.v2.Bi" + + "diStreamingAnalyzeContentRequest\032?.googl" + + "e.cloud.dialogflow.v2.BidiStreamingAnalyzeContentResponse\"\000(\0010\001\022\302\001\n" + + "%StreamingReactiveCompanionSuggestions\022H.google.cloud" + + ".dialogflow.v2.StreamingReactiveCompanionSuggestionsRequest\032I.google.cloud.dialo" + + "gflow.v2.StreamingReactiveCompanionSuggestionsResponse\"\000(\0010\001\022\311\002\n" + + "\017SuggestArticles\0222.google.cloud.dialogflow.v2.SuggestArt" + + "iclesRequest\0323.google.cloud.dialogflow.v" + + "2.SuggestArticlesResponse\"\314\001\332A\006parent\202\323\344" + + "\223\002\274\001\"R/v2/{parent=projects/*/conversatio" + + "ns/*/participants/*}/suggestions:suggestArticles:\001*Zc\"^/v2/{parent=projects/*/lo" + + "cations/*/conversations/*/participants/*}/suggestions:suggestArticles:\001*\022\323\002\n" + + "\021SuggestFaqAnswers\0224.google.cloud.dialogflow" + + ".v2.SuggestFaqAnswersRequest\0325.google.cloud.dialogflow.v2.SuggestFaqAnswersRespo" + + "nse\"\320\001\332A\006parent\202\323\344\223\002\300\001\"T/v2/{parent=proj" + + "ects/*/conversations/*/participants/*}/suggestions:suggestFaqAnswers:\001*Ze\"`/v2/{" + + "parent=projects/*/locations/*/conversati" + + "ons/*/participants/*}/suggestions:suggestFaqAnswers:\001*\022\335\002\n" + + "\023SuggestSmartReplies\0226.google.cloud.dialogflow.v2.SuggestSmart" + + "RepliesRequest\0327.google.cloud.dialogflow" + + ".v2.SuggestSmartRepliesResponse\"\324\001\332A\006par" + + "ent\202\323\344\223\002\304\001\"V/v2/{parent=projects/*/conve" + + "rsations/*/participants/*}/suggestions:suggestSmartReplies:\001*Zg\"b/v2/{parent=pro" + + "jects/*/locations/*/conversations/*/part" + + "icipants/*}/suggestions:suggestSmartReplies:\001*\022\343\002\n" + + "\026SuggestKnowledgeAssist\0229.google.cloud.dialogflow.v2.SuggestKnowledgeA" + + "ssistRequest\032:.google.cloud.dialogflow.v" + + "2.SuggestKnowledgeAssistResponse\"\321\001\202\323\344\223\002" + + "\312\001\"Y/v2/{parent=projects/*/conversations" + + "/*/participants/*}/suggestions:suggestKnowledgeAssist:\001*Zj\"e/v2/{parent=projects" + + "/*/locations/*/conversations/*/participants/*}/suggestions:suggestKnowledgeAssis" + + "t:\001*\032x\312A\031dialogflow.googleapis.com\322AYhtt" + + "ps://www.googleapis.com/auth/cloud-platf" + + "orm,https://www.googleapis.com/auth/dialogflowB\226\001\n" + + "\036com.google.cloud.dialogflow.v2B\020ParticipantProtoP\001Z>cloud.google.com/" + + "go/dialogflow/apiv2/dialogflowpb;dialogf" + + "lowpb\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -1053,6 +1126,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Name", "Content", + "ResponseMessages", "LanguageCode", "Participant", "ParticipantRole", @@ -1326,9 +1400,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_dialogflow_v2_AutomatedAgentReply_descriptor, new java.lang.String[] { "DetectIntentResponse", + "ResponseMessages", + "Intent", + "Event", + "MatchConfidence", + "Parameters", "AutomatedAgentReplyType", "AllowCancellation", "CxCurrentPage", + "CallCompanionAuthCode", }); internal_static_google_cloud_dialogflow_v2_ArticleAnswer_descriptor = getDescriptor().getMessageType(26); @@ -1450,8 +1530,69 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dialogflow_v2_SuggestKnowledgeAssistRequest_descriptor = + internal_static_google_cloud_dialogflow_v2_ResponseMessage_descriptor = getDescriptor().getMessageType(37); + internal_static_google_cloud_dialogflow_v2_ResponseMessage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_dialogflow_v2_ResponseMessage_descriptor, + new java.lang.String[] { + "Text", + "Payload", + "LiveAgentHandoff", + "EndInteraction", + "MixedAudio", + "TelephonyTransferCall", + "Message", + }); + internal_static_google_cloud_dialogflow_v2_ResponseMessage_Text_descriptor = + internal_static_google_cloud_dialogflow_v2_ResponseMessage_descriptor.getNestedType(0); + internal_static_google_cloud_dialogflow_v2_ResponseMessage_Text_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_dialogflow_v2_ResponseMessage_Text_descriptor, + new java.lang.String[] { + "Text", + }); + internal_static_google_cloud_dialogflow_v2_ResponseMessage_LiveAgentHandoff_descriptor = + internal_static_google_cloud_dialogflow_v2_ResponseMessage_descriptor.getNestedType(1); + internal_static_google_cloud_dialogflow_v2_ResponseMessage_LiveAgentHandoff_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_dialogflow_v2_ResponseMessage_LiveAgentHandoff_descriptor, + new java.lang.String[] { + "Metadata", + }); + internal_static_google_cloud_dialogflow_v2_ResponseMessage_EndInteraction_descriptor = + internal_static_google_cloud_dialogflow_v2_ResponseMessage_descriptor.getNestedType(2); + internal_static_google_cloud_dialogflow_v2_ResponseMessage_EndInteraction_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_dialogflow_v2_ResponseMessage_EndInteraction_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_descriptor = + internal_static_google_cloud_dialogflow_v2_ResponseMessage_descriptor.getNestedType(3); + internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_descriptor, + new java.lang.String[] { + "Segments", + }); + internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_Segment_descriptor = + internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_descriptor + .getNestedType(0); + internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_Segment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_Segment_descriptor, + new java.lang.String[] { + "Audio", "Uri", "AllowPlaybackInterruption", "Content", + }); + internal_static_google_cloud_dialogflow_v2_ResponseMessage_TelephonyTransferCall_descriptor = + internal_static_google_cloud_dialogflow_v2_ResponseMessage_descriptor.getNestedType(4); + internal_static_google_cloud_dialogflow_v2_ResponseMessage_TelephonyTransferCall_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_dialogflow_v2_ResponseMessage_TelephonyTransferCall_descriptor, + new java.lang.String[] { + "PhoneNumber", "SipUri", "Endpoint", + }); + internal_static_google_cloud_dialogflow_v2_SuggestKnowledgeAssistRequest_descriptor = + getDescriptor().getMessageType(38); internal_static_google_cloud_dialogflow_v2_SuggestKnowledgeAssistRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_dialogflow_v2_SuggestKnowledgeAssistRequest_descriptor, @@ -1459,7 +1600,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "LatestMessage", "ContextSize", "PreviousSuggestedQuery", }); internal_static_google_cloud_dialogflow_v2_SuggestKnowledgeAssistResponse_descriptor = - getDescriptor().getMessageType(38); + getDescriptor().getMessageType(39); internal_static_google_cloud_dialogflow_v2_SuggestKnowledgeAssistResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_dialogflow_v2_SuggestKnowledgeAssistResponse_descriptor, @@ -1470,7 +1611,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AdditionalSuggestedQueryResults", }); internal_static_google_cloud_dialogflow_v2_IngestedContextReferenceDebugInfo_descriptor = - getDescriptor().getMessageType(39); + getDescriptor().getMessageType(40); internal_static_google_cloud_dialogflow_v2_IngestedContextReferenceDebugInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_dialogflow_v2_IngestedContextReferenceDebugInfo_descriptor, @@ -1487,7 +1628,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parameter", "IngestionStatus", }); internal_static_google_cloud_dialogflow_v2_ServiceLatency_descriptor = - getDescriptor().getMessageType(40); + getDescriptor().getMessageType(41); internal_static_google_cloud_dialogflow_v2_ServiceLatency_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_dialogflow_v2_ServiceLatency_descriptor, @@ -1503,7 +1644,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Step", "LatencyMs", "StartTime", "CompleteTime", }); internal_static_google_cloud_dialogflow_v2_KnowledgeAssistDebugInfo_descriptor = - getDescriptor().getMessageType(41); + getDescriptor().getMessageType(42); internal_static_google_cloud_dialogflow_v2_KnowledgeAssistDebugInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_dialogflow_v2_KnowledgeAssistDebugInfo_descriptor, @@ -1558,7 +1699,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SimilarityToLastQueryThreshold", }); internal_static_google_cloud_dialogflow_v2_KnowledgeAssistAnswer_descriptor = - getDescriptor().getMessageType(42); + getDescriptor().getMessageType(43); internal_static_google_cloud_dialogflow_v2_KnowledgeAssistAnswer_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_dialogflow_v2_KnowledgeAssistAnswer_descriptor, @@ -1643,7 +1784,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Event", "Snippets", }); internal_static_google_cloud_dialogflow_v2_StreamingReactiveCompanionSuggestionsRequest_descriptor = - getDescriptor().getMessageType(43); + getDescriptor().getMessageType(44); internal_static_google_cloud_dialogflow_v2_StreamingReactiveCompanionSuggestionsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_dialogflow_v2_StreamingReactiveCompanionSuggestionsRequest_descriptor, @@ -1651,13 +1792,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Participant", "TextInput", "CancelReactiveQuery", "SuggestionInput", "Input", }); internal_static_google_cloud_dialogflow_v2_CancelQuery_descriptor = - getDescriptor().getMessageType(44); + getDescriptor().getMessageType(45); internal_static_google_cloud_dialogflow_v2_CancelQuery_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_dialogflow_v2_CancelQuery_descriptor, new java.lang.String[] {}); internal_static_google_cloud_dialogflow_v2_StreamingReactiveCompanionSuggestionsResponse_descriptor = - getDescriptor().getMessageType(45); + getDescriptor().getMessageType(46); internal_static_google_cloud_dialogflow_v2_StreamingReactiveCompanionSuggestionsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_dialogflow_v2_StreamingReactiveCompanionSuggestionsResponse_descriptor, @@ -1682,7 +1823,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Response", "GroundingMetadata", "ToolCalls", }); internal_static_google_cloud_dialogflow_v2_BidiStreamingAnalyzeContentRequest_descriptor = - getDescriptor().getMessageType(46); + getDescriptor().getMessageType(47); internal_static_google_cloud_dialogflow_v2_BidiStreamingAnalyzeContentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_dialogflow_v2_BidiStreamingAnalyzeContentRequest_descriptor, @@ -1717,6 +1858,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "EnableStreamingSynthesize", "GeminiAsrConfig", "UseGeminiAsr", + "DisableInterimInputTranscripts", }); internal_static_google_cloud_dialogflow_v2_BidiStreamingAnalyzeContentRequest_TurnInput_descriptor = internal_static_google_cloud_dialogflow_v2_BidiStreamingAnalyzeContentRequest_descriptor @@ -1737,7 +1879,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Audio", "Dtmf", "Turn", "Input", }); internal_static_google_cloud_dialogflow_v2_BidiStreamingAnalyzeContentResponse_descriptor = - getDescriptor().getMessageType(47); + getDescriptor().getMessageType(48); internal_static_google_cloud_dialogflow_v2_BidiStreamingAnalyzeContentResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_dialogflow_v2_BidiStreamingAnalyzeContentResponse_descriptor, diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ResponseMessage.java b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ResponseMessage.java new file mode 100644 index 000000000000..1210b8e10a23 --- /dev/null +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ResponseMessage.java @@ -0,0 +1,7520 @@ +/* + * Copyright 2026 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 + * + * https://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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/dialogflow/v2/participant.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.dialogflow.v2; + +/** + * + * + *
+ * Response messages from an automated agent.
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2.ResponseMessage} + */ +@com.google.protobuf.Generated +public final class ResponseMessage extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.v2.ResponseMessage) + ResponseMessageOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ResponseMessage"); + } + + // Use ResponseMessage.newBuilder() to construct. + private ResponseMessage(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ResponseMessage() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2.ResponseMessage.class, + com.google.cloud.dialogflow.v2.ResponseMessage.Builder.class); + } + + public interface TextOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.ResponseMessage.Text) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * A collection of text response variants. If multiple variants are
+     * defined, only one text response variant is returned at runtime.
+     * 
+ * + * repeated string text = 1; + * + * @return A list containing the text. + */ + java.util.List getTextList(); + + /** + * + * + *
+     * A collection of text response variants. If multiple variants are
+     * defined, only one text response variant is returned at runtime.
+     * 
+ * + * repeated string text = 1; + * + * @return The count of text. + */ + int getTextCount(); + + /** + * + * + *
+     * A collection of text response variants. If multiple variants are
+     * defined, only one text response variant is returned at runtime.
+     * 
+ * + * repeated string text = 1; + * + * @param index The index of the element to return. + * @return The text at the given index. + */ + java.lang.String getText(int index); + + /** + * + * + *
+     * A collection of text response variants. If multiple variants are
+     * defined, only one text response variant is returned at runtime.
+     * 
+ * + * repeated string text = 1; + * + * @param index The index of the value to return. + * @return The bytes of the text at the given index. + */ + com.google.protobuf.ByteString getTextBytes(int index); + } + + /** + * + * + *
+   * The text response message.
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2.ResponseMessage.Text} + */ + public static final class Text extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.v2.ResponseMessage.Text) + TextOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "Text"); + } + + // Use Text.newBuilder() to construct. + private Text(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private Text() { + text_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_Text_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_Text_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2.ResponseMessage.Text.class, + com.google.cloud.dialogflow.v2.ResponseMessage.Text.Builder.class); + } + + public static final int TEXT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList text_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
+     * A collection of text response variants. If multiple variants are
+     * defined, only one text response variant is returned at runtime.
+     * 
+ * + * repeated string text = 1; + * + * @return A list containing the text. + */ + public com.google.protobuf.ProtocolStringList getTextList() { + return text_; + } + + /** + * + * + *
+     * A collection of text response variants. If multiple variants are
+     * defined, only one text response variant is returned at runtime.
+     * 
+ * + * repeated string text = 1; + * + * @return The count of text. + */ + public int getTextCount() { + return text_.size(); + } + + /** + * + * + *
+     * A collection of text response variants. If multiple variants are
+     * defined, only one text response variant is returned at runtime.
+     * 
+ * + * repeated string text = 1; + * + * @param index The index of the element to return. + * @return The text at the given index. + */ + public java.lang.String getText(int index) { + return text_.get(index); + } + + /** + * + * + *
+     * A collection of text response variants. If multiple variants are
+     * defined, only one text response variant is returned at runtime.
+     * 
+ * + * repeated string text = 1; + * + * @param index The index of the value to return. + * @return The bytes of the text at the given index. + */ + public com.google.protobuf.ByteString getTextBytes(int index) { + return text_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < text_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, text_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < text_.size(); i++) { + dataSize += computeStringSizeNoTag(text_.getRaw(i)); + } + size += dataSize; + size += 1 * getTextList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.v2.ResponseMessage.Text)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.v2.ResponseMessage.Text other = + (com.google.cloud.dialogflow.v2.ResponseMessage.Text) obj; + + if (!getTextList().equals(other.getTextList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getTextCount() > 0) { + hash = (37 * hash) + TEXT_FIELD_NUMBER; + hash = (53 * hash) + getTextList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.Text parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.Text parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.Text parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.Text parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.Text parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.Text parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.Text parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.Text parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.Text parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.Text parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.Text parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.Text parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.v2.ResponseMessage.Text prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * The text response message.
+     * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2.ResponseMessage.Text} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.v2.ResponseMessage.Text) + com.google.cloud.dialogflow.v2.ResponseMessage.TextOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_Text_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_Text_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2.ResponseMessage.Text.class, + com.google.cloud.dialogflow.v2.ResponseMessage.Text.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.v2.ResponseMessage.Text.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + text_ = com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_Text_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.Text getDefaultInstanceForType() { + return com.google.cloud.dialogflow.v2.ResponseMessage.Text.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.Text build() { + com.google.cloud.dialogflow.v2.ResponseMessage.Text result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.Text buildPartial() { + com.google.cloud.dialogflow.v2.ResponseMessage.Text result = + new com.google.cloud.dialogflow.v2.ResponseMessage.Text(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.dialogflow.v2.ResponseMessage.Text result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + text_.makeImmutable(); + result.text_ = text_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.v2.ResponseMessage.Text) { + return mergeFrom((com.google.cloud.dialogflow.v2.ResponseMessage.Text) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.v2.ResponseMessage.Text other) { + if (other == com.google.cloud.dialogflow.v2.ResponseMessage.Text.getDefaultInstance()) + return this; + if (!other.text_.isEmpty()) { + if (text_.isEmpty()) { + text_ = other.text_; + bitField0_ |= 0x00000001; + } else { + ensureTextIsMutable(); + text_.addAll(other.text_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureTextIsMutable(); + text_.add(s); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList text_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureTextIsMutable() { + if (!text_.isModifiable()) { + text_ = new com.google.protobuf.LazyStringArrayList(text_); + } + bitField0_ |= 0x00000001; + } + + /** + * + * + *
+       * A collection of text response variants. If multiple variants are
+       * defined, only one text response variant is returned at runtime.
+       * 
+ * + * repeated string text = 1; + * + * @return A list containing the text. + */ + public com.google.protobuf.ProtocolStringList getTextList() { + text_.makeImmutable(); + return text_; + } + + /** + * + * + *
+       * A collection of text response variants. If multiple variants are
+       * defined, only one text response variant is returned at runtime.
+       * 
+ * + * repeated string text = 1; + * + * @return The count of text. + */ + public int getTextCount() { + return text_.size(); + } + + /** + * + * + *
+       * A collection of text response variants. If multiple variants are
+       * defined, only one text response variant is returned at runtime.
+       * 
+ * + * repeated string text = 1; + * + * @param index The index of the element to return. + * @return The text at the given index. + */ + public java.lang.String getText(int index) { + return text_.get(index); + } + + /** + * + * + *
+       * A collection of text response variants. If multiple variants are
+       * defined, only one text response variant is returned at runtime.
+       * 
+ * + * repeated string text = 1; + * + * @param index The index of the value to return. + * @return The bytes of the text at the given index. + */ + public com.google.protobuf.ByteString getTextBytes(int index) { + return text_.getByteString(index); + } + + /** + * + * + *
+       * A collection of text response variants. If multiple variants are
+       * defined, only one text response variant is returned at runtime.
+       * 
+ * + * repeated string text = 1; + * + * @param index The index to set the value at. + * @param value The text to set. + * @return This builder for chaining. + */ + public Builder setText(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTextIsMutable(); + text_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * A collection of text response variants. If multiple variants are
+       * defined, only one text response variant is returned at runtime.
+       * 
+ * + * repeated string text = 1; + * + * @param value The text to add. + * @return This builder for chaining. + */ + public Builder addText(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTextIsMutable(); + text_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * A collection of text response variants. If multiple variants are
+       * defined, only one text response variant is returned at runtime.
+       * 
+ * + * repeated string text = 1; + * + * @param values The text to add. + * @return This builder for chaining. + */ + public Builder addAllText(java.lang.Iterable values) { + ensureTextIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, text_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * A collection of text response variants. If multiple variants are
+       * defined, only one text response variant is returned at runtime.
+       * 
+ * + * repeated string text = 1; + * + * @return This builder for chaining. + */ + public Builder clearText() { + text_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; + onChanged(); + return this; + } + + /** + * + * + *
+       * A collection of text response variants. If multiple variants are
+       * defined, only one text response variant is returned at runtime.
+       * 
+ * + * repeated string text = 1; + * + * @param value The bytes of the text to add. + * @return This builder for chaining. + */ + public Builder addTextBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureTextIsMutable(); + text_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.v2.ResponseMessage.Text) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.ResponseMessage.Text) + private static final com.google.cloud.dialogflow.v2.ResponseMessage.Text DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.v2.ResponseMessage.Text(); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.Text getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Text parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.Text getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface LiveAgentHandoffOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Custom metadata for your handoff procedure. Dialogflow doesn't impose
+     * any structure on this.
+     * 
+ * + * .google.protobuf.Struct metadata = 1; + * + * @return Whether the metadata field is set. + */ + boolean hasMetadata(); + + /** + * + * + *
+     * Custom metadata for your handoff procedure. Dialogflow doesn't impose
+     * any structure on this.
+     * 
+ * + * .google.protobuf.Struct metadata = 1; + * + * @return The metadata. + */ + com.google.protobuf.Struct getMetadata(); + + /** + * + * + *
+     * Custom metadata for your handoff procedure. Dialogflow doesn't impose
+     * any structure on this.
+     * 
+ * + * .google.protobuf.Struct metadata = 1; + */ + com.google.protobuf.StructOrBuilder getMetadataOrBuilder(); + } + + /** + * + * + *
+   * Indicates that the conversation should be handed off to a human agent.
+   *
+   * Dialogflow only uses this to determine which conversations were handed off
+   * to a human agent for measurement purposes. What else to do with this signal
+   * is up to you and your handoff procedures.
+   *
+   * You may set this, for example:
+   *
+   * * In the entry fulfillment of a CX Page if entering the page indicates
+   * something went extremely wrong in the conversation.
+   * * In a webhook response when you determine that the customer issue can only
+   * be handled by a human.
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff} + */ + public static final class LiveAgentHandoff extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff) + LiveAgentHandoffOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "LiveAgentHandoff"); + } + + // Use LiveAgentHandoff.newBuilder() to construct. + private LiveAgentHandoff(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private LiveAgentHandoff() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_LiveAgentHandoff_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_LiveAgentHandoff_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff.class, + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff.Builder.class); + } + + private int bitField0_; + public static final int METADATA_FIELD_NUMBER = 1; + private com.google.protobuf.Struct metadata_; + + /** + * + * + *
+     * Custom metadata for your handoff procedure. Dialogflow doesn't impose
+     * any structure on this.
+     * 
+ * + * .google.protobuf.Struct metadata = 1; + * + * @return Whether the metadata field is set. + */ + @java.lang.Override + public boolean hasMetadata() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Custom metadata for your handoff procedure. Dialogflow doesn't impose
+     * any structure on this.
+     * 
+ * + * .google.protobuf.Struct metadata = 1; + * + * @return The metadata. + */ + @java.lang.Override + public com.google.protobuf.Struct getMetadata() { + return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; + } + + /** + * + * + *
+     * Custom metadata for your handoff procedure. Dialogflow doesn't impose
+     * any structure on this.
+     * 
+ * + * .google.protobuf.Struct metadata = 1; + */ + @java.lang.Override + public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { + return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getMetadata()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMetadata()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff other = + (com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff) obj; + + if (hasMetadata() != other.hasMetadata()) return false; + if (hasMetadata()) { + if (!getMetadata().equals(other.getMetadata())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasMetadata()) { + hash = (37 * hash) + METADATA_FIELD_NUMBER; + hash = (53 * hash) + getMetadata().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Indicates that the conversation should be handed off to a human agent.
+     *
+     * Dialogflow only uses this to determine which conversations were handed off
+     * to a human agent for measurement purposes. What else to do with this signal
+     * is up to you and your handoff procedures.
+     *
+     * You may set this, for example:
+     *
+     * * In the entry fulfillment of a CX Page if entering the page indicates
+     * something went extremely wrong in the conversation.
+     * * In a webhook response when you determine that the customer issue can only
+     * be handled by a human.
+     * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff) + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoffOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_LiveAgentHandoff_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_LiveAgentHandoff_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff.class, + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff.Builder.class); + } + + // Construct using + // com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetMetadataFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + metadata_ = null; + if (metadataBuilder_ != null) { + metadataBuilder_.dispose(); + metadataBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_LiveAgentHandoff_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff build() { + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff buildPartial() { + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff result = + new com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff) { + return mergeFrom((com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff other) { + if (other + == com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff.getDefaultInstance()) + return this; + if (other.hasMetadata()) { + mergeMetadata(other.getMetadata()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetMetadataFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.protobuf.Struct metadata_; + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + metadataBuilder_; + + /** + * + * + *
+       * Custom metadata for your handoff procedure. Dialogflow doesn't impose
+       * any structure on this.
+       * 
+ * + * .google.protobuf.Struct metadata = 1; + * + * @return Whether the metadata field is set. + */ + public boolean hasMetadata() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+       * Custom metadata for your handoff procedure. Dialogflow doesn't impose
+       * any structure on this.
+       * 
+ * + * .google.protobuf.Struct metadata = 1; + * + * @return The metadata. + */ + public com.google.protobuf.Struct getMetadata() { + if (metadataBuilder_ == null) { + return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; + } else { + return metadataBuilder_.getMessage(); + } + } + + /** + * + * + *
+       * Custom metadata for your handoff procedure. Dialogflow doesn't impose
+       * any structure on this.
+       * 
+ * + * .google.protobuf.Struct metadata = 1; + */ + public Builder setMetadata(com.google.protobuf.Struct value) { + if (metadataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + metadata_ = value; + } else { + metadataBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * Custom metadata for your handoff procedure. Dialogflow doesn't impose
+       * any structure on this.
+       * 
+ * + * .google.protobuf.Struct metadata = 1; + */ + public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { + if (metadataBuilder_ == null) { + metadata_ = builderForValue.build(); + } else { + metadataBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * Custom metadata for your handoff procedure. Dialogflow doesn't impose
+       * any structure on this.
+       * 
+ * + * .google.protobuf.Struct metadata = 1; + */ + public Builder mergeMetadata(com.google.protobuf.Struct value) { + if (metadataBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && metadata_ != null + && metadata_ != com.google.protobuf.Struct.getDefaultInstance()) { + getMetadataBuilder().mergeFrom(value); + } else { + metadata_ = value; + } + } else { + metadataBuilder_.mergeFrom(value); + } + if (metadata_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+       * Custom metadata for your handoff procedure. Dialogflow doesn't impose
+       * any structure on this.
+       * 
+ * + * .google.protobuf.Struct metadata = 1; + */ + public Builder clearMetadata() { + bitField0_ = (bitField0_ & ~0x00000001); + metadata_ = null; + if (metadataBuilder_ != null) { + metadataBuilder_.dispose(); + metadataBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+       * Custom metadata for your handoff procedure. Dialogflow doesn't impose
+       * any structure on this.
+       * 
+ * + * .google.protobuf.Struct metadata = 1; + */ + public com.google.protobuf.Struct.Builder getMetadataBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetMetadataFieldBuilder().getBuilder(); + } + + /** + * + * + *
+       * Custom metadata for your handoff procedure. Dialogflow doesn't impose
+       * any structure on this.
+       * 
+ * + * .google.protobuf.Struct metadata = 1; + */ + public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { + if (metadataBuilder_ != null) { + return metadataBuilder_.getMessageOrBuilder(); + } else { + return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; + } + } + + /** + * + * + *
+       * Custom metadata for your handoff procedure. Dialogflow doesn't impose
+       * any structure on this.
+       * 
+ * + * .google.protobuf.Struct metadata = 1; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + internalGetMetadataFieldBuilder() { + if (metadataBuilder_ == null) { + metadataBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder>( + getMetadata(), getParentForChildren(), isClean()); + metadata_ = null; + } + return metadataBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff) + private static final com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff(); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LiveAgentHandoff parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface EndInteractionOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.ResponseMessage.EndInteraction) + com.google.protobuf.MessageOrBuilder {} + + /** + * + * + *
+   * Indicates that interaction with the Dialogflow agent has ended.
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2.ResponseMessage.EndInteraction} + */ + public static final class EndInteraction extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.v2.ResponseMessage.EndInteraction) + EndInteractionOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "EndInteraction"); + } + + // Use EndInteraction.newBuilder() to construct. + private EndInteraction(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private EndInteraction() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_EndInteraction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_EndInteraction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction.class, + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction other = + (com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Indicates that interaction with the Dialogflow agent has ended.
+     * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2.ResponseMessage.EndInteraction} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.v2.ResponseMessage.EndInteraction) + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteractionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_EndInteraction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_EndInteraction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction.class, + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_EndInteraction_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction build() { + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction buildPartial() { + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction result = + new com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction) { + return mergeFrom((com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction other) { + if (other + == com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction.getDefaultInstance()) + return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.v2.ResponseMessage.EndInteraction) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.ResponseMessage.EndInteraction) + private static final com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction(); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EndInteraction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface MixedAudioOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.ResponseMessage.MixedAudio) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + java.util.List + getSegmentsList(); + + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment getSegments(int index); + + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + int getSegmentsCount(); + + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + java.util.List< + ? extends com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.SegmentOrBuilder> + getSegmentsOrBuilderList(); + + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.SegmentOrBuilder getSegmentsOrBuilder( + int index); + } + + /** + * + * + *
+   * Represents an audio message that is composed of both segments
+   * synthesized from the Dialogflow agent prompts and ones hosted externally
+   * at the specified URIs.
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2.ResponseMessage.MixedAudio} + */ + public static final class MixedAudio extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.v2.ResponseMessage.MixedAudio) + MixedAudioOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "MixedAudio"); + } + + // Use MixedAudio.newBuilder() to construct. + private MixedAudio(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private MixedAudio() { + segments_ = java.util.Collections.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.class, + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Builder.class); + } + + public interface SegmentOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Raw audio synthesized from the Dialogflow agent's response using
+       * the output config specified in the request.
+       * 
+ * + * bytes audio = 1; + * + * @return Whether the audio field is set. + */ + boolean hasAudio(); + + /** + * + * + *
+       * Raw audio synthesized from the Dialogflow agent's response using
+       * the output config specified in the request.
+       * 
+ * + * bytes audio = 1; + * + * @return The audio. + */ + com.google.protobuf.ByteString getAudio(); + + /** + * + * + *
+       * Client-specific URI that points to an audio clip accessible to the
+       * client.
+       * 
+ * + * string uri = 2; + * + * @return Whether the uri field is set. + */ + boolean hasUri(); + + /** + * + * + *
+       * Client-specific URI that points to an audio clip accessible to the
+       * client.
+       * 
+ * + * string uri = 2; + * + * @return The uri. + */ + java.lang.String getUri(); + + /** + * + * + *
+       * Client-specific URI that points to an audio clip accessible to the
+       * client.
+       * 
+ * + * string uri = 2; + * + * @return The bytes for uri. + */ + com.google.protobuf.ByteString getUriBytes(); + + /** + * + * + *
+       * Whether the playback of this segment can be interrupted by the end
+       * user's speech and the client should then start the next Dialogflow
+       * request.
+       * 
+ * + * bool allow_playback_interruption = 3; + * + * @return The allowPlaybackInterruption. + */ + boolean getAllowPlaybackInterruption(); + + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment.ContentCase + getContentCase(); + } + + /** + * + * + *
+     * Represents one segment of audio.
+     * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment} + */ + public static final class Segment extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment) + SegmentOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "Segment"); + } + + // Use Segment.newBuilder() to construct. + private Segment(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private Segment() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_Segment_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_Segment_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment.class, + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment.Builder.class); + } + + private int contentCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object content_; + + public enum ContentCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + AUDIO(1), + URI(2), + CONTENT_NOT_SET(0); + private final int value; + + private ContentCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ContentCase valueOf(int value) { + return forNumber(value); + } + + public static ContentCase forNumber(int value) { + switch (value) { + case 1: + return AUDIO; + case 2: + return URI; + case 0: + return CONTENT_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ContentCase getContentCase() { + return ContentCase.forNumber(contentCase_); + } + + public static final int AUDIO_FIELD_NUMBER = 1; + + /** + * + * + *
+       * Raw audio synthesized from the Dialogflow agent's response using
+       * the output config specified in the request.
+       * 
+ * + * bytes audio = 1; + * + * @return Whether the audio field is set. + */ + @java.lang.Override + public boolean hasAudio() { + return contentCase_ == 1; + } + + /** + * + * + *
+       * Raw audio synthesized from the Dialogflow agent's response using
+       * the output config specified in the request.
+       * 
+ * + * bytes audio = 1; + * + * @return The audio. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAudio() { + if (contentCase_ == 1) { + return (com.google.protobuf.ByteString) content_; + } + return com.google.protobuf.ByteString.EMPTY; + } + + public static final int URI_FIELD_NUMBER = 2; + + /** + * + * + *
+       * Client-specific URI that points to an audio clip accessible to the
+       * client.
+       * 
+ * + * string uri = 2; + * + * @return Whether the uri field is set. + */ + public boolean hasUri() { + return contentCase_ == 2; + } + + /** + * + * + *
+       * Client-specific URI that points to an audio clip accessible to the
+       * client.
+       * 
+ * + * string uri = 2; + * + * @return The uri. + */ + public java.lang.String getUri() { + java.lang.Object ref = ""; + if (contentCase_ == 2) { + ref = content_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (contentCase_ == 2) { + content_ = s; + } + return s; + } + } + + /** + * + * + *
+       * Client-specific URI that points to an audio clip accessible to the
+       * client.
+       * 
+ * + * string uri = 2; + * + * @return The bytes for uri. + */ + public com.google.protobuf.ByteString getUriBytes() { + java.lang.Object ref = ""; + if (contentCase_ == 2) { + ref = content_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (contentCase_ == 2) { + content_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER = 3; + private boolean allowPlaybackInterruption_ = false; + + /** + * + * + *
+       * Whether the playback of this segment can be interrupted by the end
+       * user's speech and the client should then start the next Dialogflow
+       * request.
+       * 
+ * + * bool allow_playback_interruption = 3; + * + * @return The allowPlaybackInterruption. + */ + @java.lang.Override + public boolean getAllowPlaybackInterruption() { + return allowPlaybackInterruption_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (contentCase_ == 1) { + output.writeBytes(1, (com.google.protobuf.ByteString) content_); + } + if (contentCase_ == 2) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, content_); + } + if (allowPlaybackInterruption_ != false) { + output.writeBool(3, allowPlaybackInterruption_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (contentCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 1, (com.google.protobuf.ByteString) content_); + } + if (contentCase_ == 2) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, content_); + } + if (allowPlaybackInterruption_ != false) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowPlaybackInterruption_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment other = + (com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment) obj; + + if (getAllowPlaybackInterruption() != other.getAllowPlaybackInterruption()) return false; + if (!getContentCase().equals(other.getContentCase())) return false; + switch (contentCase_) { + case 1: + if (!getAudio().equals(other.getAudio())) return false; + break; + case 2: + if (!getUri().equals(other.getUri())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER; + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowPlaybackInterruption()); + switch (contentCase_) { + case 1: + hash = (37 * hash) + AUDIO_FIELD_NUMBER; + hash = (53 * hash) + getAudio().hashCode(); + break; + case 2: + hash = (37 * hash) + URI_FIELD_NUMBER; + hash = (53 * hash) + getUri().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+       * Represents one segment of audio.
+       * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment) + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.SegmentOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_Segment_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_Segment_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment.class, + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment.Builder.class); + } + + // Construct using + // com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + allowPlaybackInterruption_ = false; + contentCase_ = 0; + content_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_Segment_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment build() { + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment buildPartial() { + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment result = + new com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.allowPlaybackInterruption_ = allowPlaybackInterruption_; + } + } + + private void buildPartialOneofs( + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment result) { + result.contentCase_ = contentCase_; + result.content_ = this.content_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment) { + return mergeFrom( + (com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment other) { + if (other + == com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment + .getDefaultInstance()) return this; + if (other.getAllowPlaybackInterruption() != false) { + setAllowPlaybackInterruption(other.getAllowPlaybackInterruption()); + } + switch (other.getContentCase()) { + case AUDIO: + { + setAudio(other.getAudio()); + break; + } + case URI: + { + contentCase_ = 2; + content_ = other.content_; + onChanged(); + break; + } + case CONTENT_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + content_ = input.readBytes(); + contentCase_ = 1; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + contentCase_ = 2; + content_ = s; + break; + } // case 18 + case 24: + { + allowPlaybackInterruption_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int contentCase_ = 0; + private java.lang.Object content_; + + public ContentCase getContentCase() { + return ContentCase.forNumber(contentCase_); + } + + public Builder clearContent() { + contentCase_ = 0; + content_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + /** + * + * + *
+         * Raw audio synthesized from the Dialogflow agent's response using
+         * the output config specified in the request.
+         * 
+ * + * bytes audio = 1; + * + * @return Whether the audio field is set. + */ + public boolean hasAudio() { + return contentCase_ == 1; + } + + /** + * + * + *
+         * Raw audio synthesized from the Dialogflow agent's response using
+         * the output config specified in the request.
+         * 
+ * + * bytes audio = 1; + * + * @return The audio. + */ + public com.google.protobuf.ByteString getAudio() { + if (contentCase_ == 1) { + return (com.google.protobuf.ByteString) content_; + } + return com.google.protobuf.ByteString.EMPTY; + } + + /** + * + * + *
+         * Raw audio synthesized from the Dialogflow agent's response using
+         * the output config specified in the request.
+         * 
+ * + * bytes audio = 1; + * + * @param value The audio to set. + * @return This builder for chaining. + */ + public Builder setAudio(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + contentCase_ = 1; + content_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+         * Raw audio synthesized from the Dialogflow agent's response using
+         * the output config specified in the request.
+         * 
+ * + * bytes audio = 1; + * + * @return This builder for chaining. + */ + public Builder clearAudio() { + if (contentCase_ == 1) { + contentCase_ = 0; + content_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+         * Client-specific URI that points to an audio clip accessible to the
+         * client.
+         * 
+ * + * string uri = 2; + * + * @return Whether the uri field is set. + */ + @java.lang.Override + public boolean hasUri() { + return contentCase_ == 2; + } + + /** + * + * + *
+         * Client-specific URI that points to an audio clip accessible to the
+         * client.
+         * 
+ * + * string uri = 2; + * + * @return The uri. + */ + @java.lang.Override + public java.lang.String getUri() { + java.lang.Object ref = ""; + if (contentCase_ == 2) { + ref = content_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (contentCase_ == 2) { + content_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+         * Client-specific URI that points to an audio clip accessible to the
+         * client.
+         * 
+ * + * string uri = 2; + * + * @return The bytes for uri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUriBytes() { + java.lang.Object ref = ""; + if (contentCase_ == 2) { + ref = content_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (contentCase_ == 2) { + content_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+         * Client-specific URI that points to an audio clip accessible to the
+         * client.
+         * 
+ * + * string uri = 2; + * + * @param value The uri to set. + * @return This builder for chaining. + */ + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + contentCase_ = 2; + content_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+         * Client-specific URI that points to an audio clip accessible to the
+         * client.
+         * 
+ * + * string uri = 2; + * + * @return This builder for chaining. + */ + public Builder clearUri() { + if (contentCase_ == 2) { + contentCase_ = 0; + content_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+         * Client-specific URI that points to an audio clip accessible to the
+         * client.
+         * 
+ * + * string uri = 2; + * + * @param value The bytes for uri to set. + * @return This builder for chaining. + */ + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + contentCase_ = 2; + content_ = value; + onChanged(); + return this; + } + + private boolean allowPlaybackInterruption_; + + /** + * + * + *
+         * Whether the playback of this segment can be interrupted by the end
+         * user's speech and the client should then start the next Dialogflow
+         * request.
+         * 
+ * + * bool allow_playback_interruption = 3; + * + * @return The allowPlaybackInterruption. + */ + @java.lang.Override + public boolean getAllowPlaybackInterruption() { + return allowPlaybackInterruption_; + } + + /** + * + * + *
+         * Whether the playback of this segment can be interrupted by the end
+         * user's speech and the client should then start the next Dialogflow
+         * request.
+         * 
+ * + * bool allow_playback_interruption = 3; + * + * @param value The allowPlaybackInterruption to set. + * @return This builder for chaining. + */ + public Builder setAllowPlaybackInterruption(boolean value) { + + allowPlaybackInterruption_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+         * Whether the playback of this segment can be interrupted by the end
+         * user's speech and the client should then start the next Dialogflow
+         * request.
+         * 
+ * + * bool allow_playback_interruption = 3; + * + * @return This builder for chaining. + */ + public Builder clearAllowPlaybackInterruption() { + bitField0_ = (bitField0_ & ~0x00000004); + allowPlaybackInterruption_ = false; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment) + private static final com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment(); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Segment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public static final int SEGMENTS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List + segments_; + + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + @java.lang.Override + public java.util.List + getSegmentsList() { + return segments_; + } + + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.SegmentOrBuilder> + getSegmentsOrBuilderList() { + return segments_; + } + + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + @java.lang.Override + public int getSegmentsCount() { + return segments_.size(); + } + + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment getSegments( + int index) { + return segments_.get(index); + } + + /** + * + * + *
+     * Segments this audio response is composed of.
+     * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.SegmentOrBuilder + getSegmentsOrBuilder(int index) { + return segments_.get(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < segments_.size(); i++) { + output.writeMessage(1, segments_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < segments_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, segments_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio other = + (com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio) obj; + + if (!getSegmentsList().equals(other.getSegmentsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getSegmentsCount() > 0) { + hash = (37 * hash) + SEGMENTS_FIELD_NUMBER; + hash = (53 * hash) + getSegmentsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Represents an audio message that is composed of both segments
+     * synthesized from the Dialogflow agent prompts and ones hosted externally
+     * at the specified URIs.
+     * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2.ResponseMessage.MixedAudio} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.v2.ResponseMessage.MixedAudio) + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudioOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.class, + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (segmentsBuilder_ == null) { + segments_ = java.util.Collections.emptyList(); + } else { + segments_ = null; + segmentsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_MixedAudio_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio getDefaultInstanceForType() { + return com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio build() { + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio buildPartial() { + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio result = + new com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio result) { + if (segmentsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + segments_ = java.util.Collections.unmodifiableList(segments_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.segments_ = segments_; + } else { + result.segments_ = segmentsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio) { + return mergeFrom((com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio other) { + if (other == com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.getDefaultInstance()) + return this; + if (segmentsBuilder_ == null) { + if (!other.segments_.isEmpty()) { + if (segments_.isEmpty()) { + segments_ = other.segments_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSegmentsIsMutable(); + segments_.addAll(other.segments_); + } + onChanged(); + } + } else { + if (!other.segments_.isEmpty()) { + if (segmentsBuilder_.isEmpty()) { + segmentsBuilder_.dispose(); + segmentsBuilder_ = null; + segments_ = other.segments_; + bitField0_ = (bitField0_ & ~0x00000001); + segmentsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetSegmentsFieldBuilder() + : null; + } else { + segmentsBuilder_.addAllMessages(other.segments_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment m = + input.readMessage( + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment + .parser(), + extensionRegistry); + if (segmentsBuilder_ == null) { + ensureSegmentsIsMutable(); + segments_.add(m); + } else { + segmentsBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.util.List + segments_ = java.util.Collections.emptyList(); + + private void ensureSegmentsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + segments_ = + new java.util.ArrayList< + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment>(segments_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment, + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment.Builder, + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.SegmentOrBuilder> + segmentsBuilder_; + + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public java.util.List + getSegmentsList() { + if (segmentsBuilder_ == null) { + return java.util.Collections.unmodifiableList(segments_); + } else { + return segmentsBuilder_.getMessageList(); + } + } + + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public int getSegmentsCount() { + if (segmentsBuilder_ == null) { + return segments_.size(); + } else { + return segmentsBuilder_.getCount(); + } + } + + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment getSegments( + int index) { + if (segmentsBuilder_ == null) { + return segments_.get(index); + } else { + return segmentsBuilder_.getMessage(index); + } + } + + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder setSegments( + int index, com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment value) { + if (segmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSegmentsIsMutable(); + segments_.set(index, value); + onChanged(); + } else { + segmentsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder setSegments( + int index, + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment.Builder + builderForValue) { + if (segmentsBuilder_ == null) { + ensureSegmentsIsMutable(); + segments_.set(index, builderForValue.build()); + onChanged(); + } else { + segmentsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder addSegments( + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment value) { + if (segmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSegmentsIsMutable(); + segments_.add(value); + onChanged(); + } else { + segmentsBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder addSegments( + int index, com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment value) { + if (segmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSegmentsIsMutable(); + segments_.add(index, value); + onChanged(); + } else { + segmentsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder addSegments( + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment.Builder + builderForValue) { + if (segmentsBuilder_ == null) { + ensureSegmentsIsMutable(); + segments_.add(builderForValue.build()); + onChanged(); + } else { + segmentsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder addSegments( + int index, + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment.Builder + builderForValue) { + if (segmentsBuilder_ == null) { + ensureSegmentsIsMutable(); + segments_.add(index, builderForValue.build()); + onChanged(); + } else { + segmentsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder addAllSegments( + java.lang.Iterable< + ? extends com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment> + values) { + if (segmentsBuilder_ == null) { + ensureSegmentsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); + onChanged(); + } else { + segmentsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder clearSegments() { + if (segmentsBuilder_ == null) { + segments_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + segmentsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public Builder removeSegments(int index) { + if (segmentsBuilder_ == null) { + ensureSegmentsIsMutable(); + segments_.remove(index); + onChanged(); + } else { + segmentsBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment.Builder + getSegmentsBuilder(int index) { + return internalGetSegmentsFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.SegmentOrBuilder + getSegmentsOrBuilder(int index) { + if (segmentsBuilder_ == null) { + return segments_.get(index); + } else { + return segmentsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public java.util.List< + ? extends com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.SegmentOrBuilder> + getSegmentsOrBuilderList() { + if (segmentsBuilder_ != null) { + return segmentsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(segments_); + } + } + + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment.Builder + addSegmentsBuilder() { + return internalGetSegmentsFieldBuilder() + .addBuilder( + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment + .getDefaultInstance()); + } + + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment.Builder + addSegmentsBuilder(int index) { + return internalGetSegmentsFieldBuilder() + .addBuilder( + index, + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment + .getDefaultInstance()); + } + + /** + * + * + *
+       * Segments this audio response is composed of.
+       * 
+ * + * repeated .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment segments = 1; + * + */ + public java.util.List< + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment.Builder> + getSegmentsBuilderList() { + return internalGetSegmentsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment, + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment.Builder, + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.SegmentOrBuilder> + internalGetSegmentsFieldBuilder() { + if (segmentsBuilder_ == null) { + segmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment, + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Segment.Builder, + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.SegmentOrBuilder>( + segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + segments_ = null; + } + return segmentsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.v2.ResponseMessage.MixedAudio) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.ResponseMessage.MixedAudio) + private static final com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio(); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MixedAudio parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface TelephonyTransferCallOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Transfer the call to a phone number
+     * in [E.164 format](https://en.wikipedia.org/wiki/E.164).
+     * 
+ * + * string phone_number = 1; + * + * @return Whether the phoneNumber field is set. + */ + boolean hasPhoneNumber(); + + /** + * + * + *
+     * Transfer the call to a phone number
+     * in [E.164 format](https://en.wikipedia.org/wiki/E.164).
+     * 
+ * + * string phone_number = 1; + * + * @return The phoneNumber. + */ + java.lang.String getPhoneNumber(); + + /** + * + * + *
+     * Transfer the call to a phone number
+     * in [E.164 format](https://en.wikipedia.org/wiki/E.164).
+     * 
+ * + * string phone_number = 1; + * + * @return The bytes for phoneNumber. + */ + com.google.protobuf.ByteString getPhoneNumberBytes(); + + /** + * + * + *
+     * Transfer the call to a SIP endpoint.
+     * 
+ * + * string sip_uri = 2; + * + * @return Whether the sipUri field is set. + */ + boolean hasSipUri(); + + /** + * + * + *
+     * Transfer the call to a SIP endpoint.
+     * 
+ * + * string sip_uri = 2; + * + * @return The sipUri. + */ + java.lang.String getSipUri(); + + /** + * + * + *
+     * Transfer the call to a SIP endpoint.
+     * 
+ * + * string sip_uri = 2; + * + * @return The bytes for sipUri. + */ + com.google.protobuf.ByteString getSipUriBytes(); + + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall.EndpointCase + getEndpointCase(); + } + + /** + * + * + *
+   * Represents the signal that telles the client to transfer the phone call
+   * connected to the agent to a third-party endpoint.
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall} + */ + public static final class TelephonyTransferCall extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall) + TelephonyTransferCallOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "TelephonyTransferCall"); + } + + // Use TelephonyTransferCall.newBuilder() to construct. + private TelephonyTransferCall(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private TelephonyTransferCall() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_TelephonyTransferCall_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_TelephonyTransferCall_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall.class, + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall.Builder.class); + } + + private int endpointCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object endpoint_; + + public enum EndpointCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + PHONE_NUMBER(1), + SIP_URI(2), + ENDPOINT_NOT_SET(0); + private final int value; + + private EndpointCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static EndpointCase valueOf(int value) { + return forNumber(value); + } + + public static EndpointCase forNumber(int value) { + switch (value) { + case 1: + return PHONE_NUMBER; + case 2: + return SIP_URI; + case 0: + return ENDPOINT_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public EndpointCase getEndpointCase() { + return EndpointCase.forNumber(endpointCase_); + } + + public static final int PHONE_NUMBER_FIELD_NUMBER = 1; + + /** + * + * + *
+     * Transfer the call to a phone number
+     * in [E.164 format](https://en.wikipedia.org/wiki/E.164).
+     * 
+ * + * string phone_number = 1; + * + * @return Whether the phoneNumber field is set. + */ + public boolean hasPhoneNumber() { + return endpointCase_ == 1; + } + + /** + * + * + *
+     * Transfer the call to a phone number
+     * in [E.164 format](https://en.wikipedia.org/wiki/E.164).
+     * 
+ * + * string phone_number = 1; + * + * @return The phoneNumber. + */ + public java.lang.String getPhoneNumber() { + java.lang.Object ref = ""; + if (endpointCase_ == 1) { + ref = endpoint_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (endpointCase_ == 1) { + endpoint_ = s; + } + return s; + } + } + + /** + * + * + *
+     * Transfer the call to a phone number
+     * in [E.164 format](https://en.wikipedia.org/wiki/E.164).
+     * 
+ * + * string phone_number = 1; + * + * @return The bytes for phoneNumber. + */ + public com.google.protobuf.ByteString getPhoneNumberBytes() { + java.lang.Object ref = ""; + if (endpointCase_ == 1) { + ref = endpoint_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (endpointCase_ == 1) { + endpoint_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SIP_URI_FIELD_NUMBER = 2; + + /** + * + * + *
+     * Transfer the call to a SIP endpoint.
+     * 
+ * + * string sip_uri = 2; + * + * @return Whether the sipUri field is set. + */ + public boolean hasSipUri() { + return endpointCase_ == 2; + } + + /** + * + * + *
+     * Transfer the call to a SIP endpoint.
+     * 
+ * + * string sip_uri = 2; + * + * @return The sipUri. + */ + public java.lang.String getSipUri() { + java.lang.Object ref = ""; + if (endpointCase_ == 2) { + ref = endpoint_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (endpointCase_ == 2) { + endpoint_ = s; + } + return s; + } + } + + /** + * + * + *
+     * Transfer the call to a SIP endpoint.
+     * 
+ * + * string sip_uri = 2; + * + * @return The bytes for sipUri. + */ + public com.google.protobuf.ByteString getSipUriBytes() { + java.lang.Object ref = ""; + if (endpointCase_ == 2) { + ref = endpoint_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (endpointCase_ == 2) { + endpoint_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (endpointCase_ == 1) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, endpoint_); + } + if (endpointCase_ == 2) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, endpoint_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (endpointCase_ == 1) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, endpoint_); + } + if (endpointCase_ == 2) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, endpoint_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall other = + (com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall) obj; + + if (!getEndpointCase().equals(other.getEndpointCase())) return false; + switch (endpointCase_) { + case 1: + if (!getPhoneNumber().equals(other.getPhoneNumber())) return false; + break; + case 2: + if (!getSipUri().equals(other.getSipUri())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (endpointCase_) { + case 1: + hash = (37 * hash) + PHONE_NUMBER_FIELD_NUMBER; + hash = (53 * hash) + getPhoneNumber().hashCode(); + break; + case 2: + hash = (37 * hash) + SIP_URI_FIELD_NUMBER; + hash = (53 * hash) + getSipUri().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Represents the signal that telles the client to transfer the phone call
+     * connected to the agent to a third-party endpoint.
+     * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall) + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCallOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_TelephonyTransferCall_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_TelephonyTransferCall_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall.class, + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall.Builder.class); + } + + // Construct using + // com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + endpointCase_ = 0; + endpoint_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_TelephonyTransferCall_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall build() { + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall buildPartial() { + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall result = + new com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs( + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall result) { + result.endpointCase_ = endpointCase_; + result.endpoint_ = this.endpoint_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall) { + return mergeFrom( + (com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall other) { + if (other + == com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall + .getDefaultInstance()) return this; + switch (other.getEndpointCase()) { + case PHONE_NUMBER: + { + endpointCase_ = 1; + endpoint_ = other.endpoint_; + onChanged(); + break; + } + case SIP_URI: + { + endpointCase_ = 2; + endpoint_ = other.endpoint_; + onChanged(); + break; + } + case ENDPOINT_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + endpointCase_ = 1; + endpoint_ = s; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + endpointCase_ = 2; + endpoint_ = s; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int endpointCase_ = 0; + private java.lang.Object endpoint_; + + public EndpointCase getEndpointCase() { + return EndpointCase.forNumber(endpointCase_); + } + + public Builder clearEndpoint() { + endpointCase_ = 0; + endpoint_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + /** + * + * + *
+       * Transfer the call to a phone number
+       * in [E.164 format](https://en.wikipedia.org/wiki/E.164).
+       * 
+ * + * string phone_number = 1; + * + * @return Whether the phoneNumber field is set. + */ + @java.lang.Override + public boolean hasPhoneNumber() { + return endpointCase_ == 1; + } + + /** + * + * + *
+       * Transfer the call to a phone number
+       * in [E.164 format](https://en.wikipedia.org/wiki/E.164).
+       * 
+ * + * string phone_number = 1; + * + * @return The phoneNumber. + */ + @java.lang.Override + public java.lang.String getPhoneNumber() { + java.lang.Object ref = ""; + if (endpointCase_ == 1) { + ref = endpoint_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (endpointCase_ == 1) { + endpoint_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * Transfer the call to a phone number
+       * in [E.164 format](https://en.wikipedia.org/wiki/E.164).
+       * 
+ * + * string phone_number = 1; + * + * @return The bytes for phoneNumber. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPhoneNumberBytes() { + java.lang.Object ref = ""; + if (endpointCase_ == 1) { + ref = endpoint_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (endpointCase_ == 1) { + endpoint_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * Transfer the call to a phone number
+       * in [E.164 format](https://en.wikipedia.org/wiki/E.164).
+       * 
+ * + * string phone_number = 1; + * + * @param value The phoneNumber to set. + * @return This builder for chaining. + */ + public Builder setPhoneNumber(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + endpointCase_ = 1; + endpoint_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+       * Transfer the call to a phone number
+       * in [E.164 format](https://en.wikipedia.org/wiki/E.164).
+       * 
+ * + * string phone_number = 1; + * + * @return This builder for chaining. + */ + public Builder clearPhoneNumber() { + if (endpointCase_ == 1) { + endpointCase_ = 0; + endpoint_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+       * Transfer the call to a phone number
+       * in [E.164 format](https://en.wikipedia.org/wiki/E.164).
+       * 
+ * + * string phone_number = 1; + * + * @param value The bytes for phoneNumber to set. + * @return This builder for chaining. + */ + public Builder setPhoneNumberBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpointCase_ = 1; + endpoint_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+       * Transfer the call to a SIP endpoint.
+       * 
+ * + * string sip_uri = 2; + * + * @return Whether the sipUri field is set. + */ + @java.lang.Override + public boolean hasSipUri() { + return endpointCase_ == 2; + } + + /** + * + * + *
+       * Transfer the call to a SIP endpoint.
+       * 
+ * + * string sip_uri = 2; + * + * @return The sipUri. + */ + @java.lang.Override + public java.lang.String getSipUri() { + java.lang.Object ref = ""; + if (endpointCase_ == 2) { + ref = endpoint_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (endpointCase_ == 2) { + endpoint_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * Transfer the call to a SIP endpoint.
+       * 
+ * + * string sip_uri = 2; + * + * @return The bytes for sipUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSipUriBytes() { + java.lang.Object ref = ""; + if (endpointCase_ == 2) { + ref = endpoint_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (endpointCase_ == 2) { + endpoint_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * Transfer the call to a SIP endpoint.
+       * 
+ * + * string sip_uri = 2; + * + * @param value The sipUri to set. + * @return This builder for chaining. + */ + public Builder setSipUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + endpointCase_ = 2; + endpoint_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+       * Transfer the call to a SIP endpoint.
+       * 
+ * + * string sip_uri = 2; + * + * @return This builder for chaining. + */ + public Builder clearSipUri() { + if (endpointCase_ == 2) { + endpointCase_ = 0; + endpoint_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+       * Transfer the call to a SIP endpoint.
+       * 
+ * + * string sip_uri = 2; + * + * @param value The bytes for sipUri to set. + * @return This builder for chaining. + */ + public Builder setSipUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpointCase_ = 2; + endpoint_ = value; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall) + private static final com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall(); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TelephonyTransferCall parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int messageCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object message_; + + public enum MessageCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + TEXT(1), + PAYLOAD(2), + LIVE_AGENT_HANDOFF(3), + END_INTERACTION(4), + MIXED_AUDIO(5), + TELEPHONY_TRANSFER_CALL(6), + MESSAGE_NOT_SET(0); + private final int value; + + private MessageCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static MessageCase valueOf(int value) { + return forNumber(value); + } + + public static MessageCase forNumber(int value) { + switch (value) { + case 1: + return TEXT; + case 2: + return PAYLOAD; + case 3: + return LIVE_AGENT_HANDOFF; + case 4: + return END_INTERACTION; + case 5: + return MIXED_AUDIO; + case 6: + return TELEPHONY_TRANSFER_CALL; + case 0: + return MESSAGE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public MessageCase getMessageCase() { + return MessageCase.forNumber(messageCase_); + } + + public static final int TEXT_FIELD_NUMBER = 1; + + /** + * + * + *
+   * Returns a text response.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.Text text = 1; + * + * @return Whether the text field is set. + */ + @java.lang.Override + public boolean hasText() { + return messageCase_ == 1; + } + + /** + * + * + *
+   * Returns a text response.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.Text text = 1; + * + * @return The text. + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.Text getText() { + if (messageCase_ == 1) { + return (com.google.cloud.dialogflow.v2.ResponseMessage.Text) message_; + } + return com.google.cloud.dialogflow.v2.ResponseMessage.Text.getDefaultInstance(); + } + + /** + * + * + *
+   * Returns a text response.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.Text text = 1; + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.TextOrBuilder getTextOrBuilder() { + if (messageCase_ == 1) { + return (com.google.cloud.dialogflow.v2.ResponseMessage.Text) message_; + } + return com.google.cloud.dialogflow.v2.ResponseMessage.Text.getDefaultInstance(); + } + + public static final int PAYLOAD_FIELD_NUMBER = 2; + + /** + * + * + *
+   * Returns a response containing a custom, platform-specific payload.
+   * 
+ * + * .google.protobuf.Struct payload = 2; + * + * @return Whether the payload field is set. + */ + @java.lang.Override + public boolean hasPayload() { + return messageCase_ == 2; + } + + /** + * + * + *
+   * Returns a response containing a custom, platform-specific payload.
+   * 
+ * + * .google.protobuf.Struct payload = 2; + * + * @return The payload. + */ + @java.lang.Override + public com.google.protobuf.Struct getPayload() { + if (messageCase_ == 2) { + return (com.google.protobuf.Struct) message_; + } + return com.google.protobuf.Struct.getDefaultInstance(); + } + + /** + * + * + *
+   * Returns a response containing a custom, platform-specific payload.
+   * 
+ * + * .google.protobuf.Struct payload = 2; + */ + @java.lang.Override + public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() { + if (messageCase_ == 2) { + return (com.google.protobuf.Struct) message_; + } + return com.google.protobuf.Struct.getDefaultInstance(); + } + + public static final int LIVE_AGENT_HANDOFF_FIELD_NUMBER = 3; + + /** + * + * + *
+   * Hands off conversation to a live agent.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3; + * + * + * @return Whether the liveAgentHandoff field is set. + */ + @java.lang.Override + public boolean hasLiveAgentHandoff() { + return messageCase_ == 3; + } + + /** + * + * + *
+   * Hands off conversation to a live agent.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3; + * + * + * @return The liveAgentHandoff. + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff getLiveAgentHandoff() { + if (messageCase_ == 3) { + return (com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff) message_; + } + return com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff.getDefaultInstance(); + } + + /** + * + * + *
+   * Hands off conversation to a live agent.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3; + * + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoffOrBuilder + getLiveAgentHandoffOrBuilder() { + if (messageCase_ == 3) { + return (com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff) message_; + } + return com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff.getDefaultInstance(); + } + + public static final int END_INTERACTION_FIELD_NUMBER = 4; + + /** + * + * + *
+   * A signal that indicates the interaction with the Dialogflow agent has
+   * ended.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.EndInteraction end_interaction = 4; + * + * @return Whether the endInteraction field is set. + */ + @java.lang.Override + public boolean hasEndInteraction() { + return messageCase_ == 4; + } + + /** + * + * + *
+   * A signal that indicates the interaction with the Dialogflow agent has
+   * ended.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.EndInteraction end_interaction = 4; + * + * @return The endInteraction. + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction getEndInteraction() { + if (messageCase_ == 4) { + return (com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction) message_; + } + return com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction.getDefaultInstance(); + } + + /** + * + * + *
+   * A signal that indicates the interaction with the Dialogflow agent has
+   * ended.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.EndInteraction end_interaction = 4; + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.EndInteractionOrBuilder + getEndInteractionOrBuilder() { + if (messageCase_ == 4) { + return (com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction) message_; + } + return com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction.getDefaultInstance(); + } + + public static final int MIXED_AUDIO_FIELD_NUMBER = 5; + + /** + * + * + *
+   * An audio response message composed of both the synthesized Dialogflow
+   * agent responses and the audios hosted in places known to the client.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio mixed_audio = 5; + * + * @return Whether the mixedAudio field is set. + */ + @java.lang.Override + public boolean hasMixedAudio() { + return messageCase_ == 5; + } + + /** + * + * + *
+   * An audio response message composed of both the synthesized Dialogflow
+   * agent responses and the audios hosted in places known to the client.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio mixed_audio = 5; + * + * @return The mixedAudio. + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio getMixedAudio() { + if (messageCase_ == 5) { + return (com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio) message_; + } + return com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.getDefaultInstance(); + } + + /** + * + * + *
+   * An audio response message composed of both the synthesized Dialogflow
+   * agent responses and the audios hosted in places known to the client.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio mixed_audio = 5; + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudioOrBuilder + getMixedAudioOrBuilder() { + if (messageCase_ == 5) { + return (com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio) message_; + } + return com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.getDefaultInstance(); + } + + public static final int TELEPHONY_TRANSFER_CALL_FIELD_NUMBER = 6; + + /** + * + * + *
+   * A signal that the client should transfer the phone call connected to
+   * this agent to a third-party endpoint.
+   * 
+ * + * + * .google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6; + * + * + * @return Whether the telephonyTransferCall field is set. + */ + @java.lang.Override + public boolean hasTelephonyTransferCall() { + return messageCase_ == 6; + } + + /** + * + * + *
+   * A signal that the client should transfer the phone call connected to
+   * this agent to a third-party endpoint.
+   * 
+ * + * + * .google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6; + * + * + * @return The telephonyTransferCall. + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall + getTelephonyTransferCall() { + if (messageCase_ == 6) { + return (com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall) message_; + } + return com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall + .getDefaultInstance(); + } + + /** + * + * + *
+   * A signal that the client should transfer the phone call connected to
+   * this agent to a third-party endpoint.
+   * 
+ * + * + * .google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6; + * + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCallOrBuilder + getTelephonyTransferCallOrBuilder() { + if (messageCase_ == 6) { + return (com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall) message_; + } + return com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall + .getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (messageCase_ == 1) { + output.writeMessage(1, (com.google.cloud.dialogflow.v2.ResponseMessage.Text) message_); + } + if (messageCase_ == 2) { + output.writeMessage(2, (com.google.protobuf.Struct) message_); + } + if (messageCase_ == 3) { + output.writeMessage( + 3, (com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff) message_); + } + if (messageCase_ == 4) { + output.writeMessage( + 4, (com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction) message_); + } + if (messageCase_ == 5) { + output.writeMessage(5, (com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio) message_); + } + if (messageCase_ == 6) { + output.writeMessage( + 6, (com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall) message_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (messageCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.dialogflow.v2.ResponseMessage.Text) message_); + } + if (messageCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.protobuf.Struct) message_); + } + if (messageCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff) message_); + } + if (messageCase_ == 4) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction) message_); + } + if (messageCase_ == 5) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio) message_); + } + if (messageCase_ == 6) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall) message_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.v2.ResponseMessage)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.v2.ResponseMessage other = + (com.google.cloud.dialogflow.v2.ResponseMessage) obj; + + if (!getMessageCase().equals(other.getMessageCase())) return false; + switch (messageCase_) { + case 1: + if (!getText().equals(other.getText())) return false; + break; + case 2: + if (!getPayload().equals(other.getPayload())) return false; + break; + case 3: + if (!getLiveAgentHandoff().equals(other.getLiveAgentHandoff())) return false; + break; + case 4: + if (!getEndInteraction().equals(other.getEndInteraction())) return false; + break; + case 5: + if (!getMixedAudio().equals(other.getMixedAudio())) return false; + break; + case 6: + if (!getTelephonyTransferCall().equals(other.getTelephonyTransferCall())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (messageCase_) { + case 1: + hash = (37 * hash) + TEXT_FIELD_NUMBER; + hash = (53 * hash) + getText().hashCode(); + break; + case 2: + hash = (37 * hash) + PAYLOAD_FIELD_NUMBER; + hash = (53 * hash) + getPayload().hashCode(); + break; + case 3: + hash = (37 * hash) + LIVE_AGENT_HANDOFF_FIELD_NUMBER; + hash = (53 * hash) + getLiveAgentHandoff().hashCode(); + break; + case 4: + hash = (37 * hash) + END_INTERACTION_FIELD_NUMBER; + hash = (53 * hash) + getEndInteraction().hashCode(); + break; + case 5: + hash = (37 * hash) + MIXED_AUDIO_FIELD_NUMBER; + hash = (53 * hash) + getMixedAudio().hashCode(); + break; + case 6: + hash = (37 * hash) + TELEPHONY_TRANSFER_CALL_FIELD_NUMBER; + hash = (53 * hash) + getTelephonyTransferCall().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.dialogflow.v2.ResponseMessage prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Response messages from an automated agent.
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.v2.ResponseMessage} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.v2.ResponseMessage) + com.google.cloud.dialogflow.v2.ResponseMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.v2.ResponseMessage.class, + com.google.cloud.dialogflow.v2.ResponseMessage.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.v2.ResponseMessage.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (textBuilder_ != null) { + textBuilder_.clear(); + } + if (payloadBuilder_ != null) { + payloadBuilder_.clear(); + } + if (liveAgentHandoffBuilder_ != null) { + liveAgentHandoffBuilder_.clear(); + } + if (endInteractionBuilder_ != null) { + endInteractionBuilder_.clear(); + } + if (mixedAudioBuilder_ != null) { + mixedAudioBuilder_.clear(); + } + if (telephonyTransferCallBuilder_ != null) { + telephonyTransferCallBuilder_.clear(); + } + messageCase_ = 0; + message_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.v2.ParticipantProto + .internal_static_google_cloud_dialogflow_v2_ResponseMessage_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage getDefaultInstanceForType() { + return com.google.cloud.dialogflow.v2.ResponseMessage.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage build() { + com.google.cloud.dialogflow.v2.ResponseMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage buildPartial() { + com.google.cloud.dialogflow.v2.ResponseMessage result = + new com.google.cloud.dialogflow.v2.ResponseMessage(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.dialogflow.v2.ResponseMessage result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs(com.google.cloud.dialogflow.v2.ResponseMessage result) { + result.messageCase_ = messageCase_; + result.message_ = this.message_; + if (messageCase_ == 1 && textBuilder_ != null) { + result.message_ = textBuilder_.build(); + } + if (messageCase_ == 2 && payloadBuilder_ != null) { + result.message_ = payloadBuilder_.build(); + } + if (messageCase_ == 3 && liveAgentHandoffBuilder_ != null) { + result.message_ = liveAgentHandoffBuilder_.build(); + } + if (messageCase_ == 4 && endInteractionBuilder_ != null) { + result.message_ = endInteractionBuilder_.build(); + } + if (messageCase_ == 5 && mixedAudioBuilder_ != null) { + result.message_ = mixedAudioBuilder_.build(); + } + if (messageCase_ == 6 && telephonyTransferCallBuilder_ != null) { + result.message_ = telephonyTransferCallBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.v2.ResponseMessage) { + return mergeFrom((com.google.cloud.dialogflow.v2.ResponseMessage) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.v2.ResponseMessage other) { + if (other == com.google.cloud.dialogflow.v2.ResponseMessage.getDefaultInstance()) return this; + switch (other.getMessageCase()) { + case TEXT: + { + mergeText(other.getText()); + break; + } + case PAYLOAD: + { + mergePayload(other.getPayload()); + break; + } + case LIVE_AGENT_HANDOFF: + { + mergeLiveAgentHandoff(other.getLiveAgentHandoff()); + break; + } + case END_INTERACTION: + { + mergeEndInteraction(other.getEndInteraction()); + break; + } + case MIXED_AUDIO: + { + mergeMixedAudio(other.getMixedAudio()); + break; + } + case TELEPHONY_TRANSFER_CALL: + { + mergeTelephonyTransferCall(other.getTelephonyTransferCall()); + break; + } + case MESSAGE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage(internalGetTextFieldBuilder().getBuilder(), extensionRegistry); + messageCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage(internalGetPayloadFieldBuilder().getBuilder(), extensionRegistry); + messageCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage( + internalGetLiveAgentHandoffFieldBuilder().getBuilder(), extensionRegistry); + messageCase_ = 3; + break; + } // case 26 + case 34: + { + input.readMessage( + internalGetEndInteractionFieldBuilder().getBuilder(), extensionRegistry); + messageCase_ = 4; + break; + } // case 34 + case 42: + { + input.readMessage( + internalGetMixedAudioFieldBuilder().getBuilder(), extensionRegistry); + messageCase_ = 5; + break; + } // case 42 + case 50: + { + input.readMessage( + internalGetTelephonyTransferCallFieldBuilder().getBuilder(), extensionRegistry); + messageCase_ = 6; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int messageCase_ = 0; + private java.lang.Object message_; + + public MessageCase getMessageCase() { + return MessageCase.forNumber(messageCase_); + } + + public Builder clearMessage() { + messageCase_ = 0; + message_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage.Text, + com.google.cloud.dialogflow.v2.ResponseMessage.Text.Builder, + com.google.cloud.dialogflow.v2.ResponseMessage.TextOrBuilder> + textBuilder_; + + /** + * + * + *
+     * Returns a text response.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.Text text = 1; + * + * @return Whether the text field is set. + */ + @java.lang.Override + public boolean hasText() { + return messageCase_ == 1; + } + + /** + * + * + *
+     * Returns a text response.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.Text text = 1; + * + * @return The text. + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.Text getText() { + if (textBuilder_ == null) { + if (messageCase_ == 1) { + return (com.google.cloud.dialogflow.v2.ResponseMessage.Text) message_; + } + return com.google.cloud.dialogflow.v2.ResponseMessage.Text.getDefaultInstance(); + } else { + if (messageCase_ == 1) { + return textBuilder_.getMessage(); + } + return com.google.cloud.dialogflow.v2.ResponseMessage.Text.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Returns a text response.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.Text text = 1; + */ + public Builder setText(com.google.cloud.dialogflow.v2.ResponseMessage.Text value) { + if (textBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + message_ = value; + onChanged(); + } else { + textBuilder_.setMessage(value); + } + messageCase_ = 1; + return this; + } + + /** + * + * + *
+     * Returns a text response.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.Text text = 1; + */ + public Builder setText( + com.google.cloud.dialogflow.v2.ResponseMessage.Text.Builder builderForValue) { + if (textBuilder_ == null) { + message_ = builderForValue.build(); + onChanged(); + } else { + textBuilder_.setMessage(builderForValue.build()); + } + messageCase_ = 1; + return this; + } + + /** + * + * + *
+     * Returns a text response.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.Text text = 1; + */ + public Builder mergeText(com.google.cloud.dialogflow.v2.ResponseMessage.Text value) { + if (textBuilder_ == null) { + if (messageCase_ == 1 + && message_ + != com.google.cloud.dialogflow.v2.ResponseMessage.Text.getDefaultInstance()) { + message_ = + com.google.cloud.dialogflow.v2.ResponseMessage.Text.newBuilder( + (com.google.cloud.dialogflow.v2.ResponseMessage.Text) message_) + .mergeFrom(value) + .buildPartial(); + } else { + message_ = value; + } + onChanged(); + } else { + if (messageCase_ == 1) { + textBuilder_.mergeFrom(value); + } else { + textBuilder_.setMessage(value); + } + } + messageCase_ = 1; + return this; + } + + /** + * + * + *
+     * Returns a text response.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.Text text = 1; + */ + public Builder clearText() { + if (textBuilder_ == null) { + if (messageCase_ == 1) { + messageCase_ = 0; + message_ = null; + onChanged(); + } + } else { + if (messageCase_ == 1) { + messageCase_ = 0; + message_ = null; + } + textBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Returns a text response.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.Text text = 1; + */ + public com.google.cloud.dialogflow.v2.ResponseMessage.Text.Builder getTextBuilder() { + return internalGetTextFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Returns a text response.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.Text text = 1; + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.TextOrBuilder getTextOrBuilder() { + if ((messageCase_ == 1) && (textBuilder_ != null)) { + return textBuilder_.getMessageOrBuilder(); + } else { + if (messageCase_ == 1) { + return (com.google.cloud.dialogflow.v2.ResponseMessage.Text) message_; + } + return com.google.cloud.dialogflow.v2.ResponseMessage.Text.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Returns a text response.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.Text text = 1; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage.Text, + com.google.cloud.dialogflow.v2.ResponseMessage.Text.Builder, + com.google.cloud.dialogflow.v2.ResponseMessage.TextOrBuilder> + internalGetTextFieldBuilder() { + if (textBuilder_ == null) { + if (!(messageCase_ == 1)) { + message_ = com.google.cloud.dialogflow.v2.ResponseMessage.Text.getDefaultInstance(); + } + textBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage.Text, + com.google.cloud.dialogflow.v2.ResponseMessage.Text.Builder, + com.google.cloud.dialogflow.v2.ResponseMessage.TextOrBuilder>( + (com.google.cloud.dialogflow.v2.ResponseMessage.Text) message_, + getParentForChildren(), + isClean()); + message_ = null; + } + messageCase_ = 1; + onChanged(); + return textBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + payloadBuilder_; + + /** + * + * + *
+     * Returns a response containing a custom, platform-specific payload.
+     * 
+ * + * .google.protobuf.Struct payload = 2; + * + * @return Whether the payload field is set. + */ + @java.lang.Override + public boolean hasPayload() { + return messageCase_ == 2; + } + + /** + * + * + *
+     * Returns a response containing a custom, platform-specific payload.
+     * 
+ * + * .google.protobuf.Struct payload = 2; + * + * @return The payload. + */ + @java.lang.Override + public com.google.protobuf.Struct getPayload() { + if (payloadBuilder_ == null) { + if (messageCase_ == 2) { + return (com.google.protobuf.Struct) message_; + } + return com.google.protobuf.Struct.getDefaultInstance(); + } else { + if (messageCase_ == 2) { + return payloadBuilder_.getMessage(); + } + return com.google.protobuf.Struct.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Returns a response containing a custom, platform-specific payload.
+     * 
+ * + * .google.protobuf.Struct payload = 2; + */ + public Builder setPayload(com.google.protobuf.Struct value) { + if (payloadBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + message_ = value; + onChanged(); + } else { + payloadBuilder_.setMessage(value); + } + messageCase_ = 2; + return this; + } + + /** + * + * + *
+     * Returns a response containing a custom, platform-specific payload.
+     * 
+ * + * .google.protobuf.Struct payload = 2; + */ + public Builder setPayload(com.google.protobuf.Struct.Builder builderForValue) { + if (payloadBuilder_ == null) { + message_ = builderForValue.build(); + onChanged(); + } else { + payloadBuilder_.setMessage(builderForValue.build()); + } + messageCase_ = 2; + return this; + } + + /** + * + * + *
+     * Returns a response containing a custom, platform-specific payload.
+     * 
+ * + * .google.protobuf.Struct payload = 2; + */ + public Builder mergePayload(com.google.protobuf.Struct value) { + if (payloadBuilder_ == null) { + if (messageCase_ == 2 && message_ != com.google.protobuf.Struct.getDefaultInstance()) { + message_ = + com.google.protobuf.Struct.newBuilder((com.google.protobuf.Struct) message_) + .mergeFrom(value) + .buildPartial(); + } else { + message_ = value; + } + onChanged(); + } else { + if (messageCase_ == 2) { + payloadBuilder_.mergeFrom(value); + } else { + payloadBuilder_.setMessage(value); + } + } + messageCase_ = 2; + return this; + } + + /** + * + * + *
+     * Returns a response containing a custom, platform-specific payload.
+     * 
+ * + * .google.protobuf.Struct payload = 2; + */ + public Builder clearPayload() { + if (payloadBuilder_ == null) { + if (messageCase_ == 2) { + messageCase_ = 0; + message_ = null; + onChanged(); + } + } else { + if (messageCase_ == 2) { + messageCase_ = 0; + message_ = null; + } + payloadBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Returns a response containing a custom, platform-specific payload.
+     * 
+ * + * .google.protobuf.Struct payload = 2; + */ + public com.google.protobuf.Struct.Builder getPayloadBuilder() { + return internalGetPayloadFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Returns a response containing a custom, platform-specific payload.
+     * 
+ * + * .google.protobuf.Struct payload = 2; + */ + @java.lang.Override + public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() { + if ((messageCase_ == 2) && (payloadBuilder_ != null)) { + return payloadBuilder_.getMessageOrBuilder(); + } else { + if (messageCase_ == 2) { + return (com.google.protobuf.Struct) message_; + } + return com.google.protobuf.Struct.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Returns a response containing a custom, platform-specific payload.
+     * 
+ * + * .google.protobuf.Struct payload = 2; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + internalGetPayloadFieldBuilder() { + if (payloadBuilder_ == null) { + if (!(messageCase_ == 2)) { + message_ = com.google.protobuf.Struct.getDefaultInstance(); + } + payloadBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder>( + (com.google.protobuf.Struct) message_, getParentForChildren(), isClean()); + message_ = null; + } + messageCase_ = 2; + onChanged(); + return payloadBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff, + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff.Builder, + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoffOrBuilder> + liveAgentHandoffBuilder_; + + /** + * + * + *
+     * Hands off conversation to a live agent.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3; + * + * + * @return Whether the liveAgentHandoff field is set. + */ + @java.lang.Override + public boolean hasLiveAgentHandoff() { + return messageCase_ == 3; + } + + /** + * + * + *
+     * Hands off conversation to a live agent.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3; + * + * + * @return The liveAgentHandoff. + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff getLiveAgentHandoff() { + if (liveAgentHandoffBuilder_ == null) { + if (messageCase_ == 3) { + return (com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff) message_; + } + return com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff.getDefaultInstance(); + } else { + if (messageCase_ == 3) { + return liveAgentHandoffBuilder_.getMessage(); + } + return com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Hands off conversation to a live agent.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3; + * + */ + public Builder setLiveAgentHandoff( + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff value) { + if (liveAgentHandoffBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + message_ = value; + onChanged(); + } else { + liveAgentHandoffBuilder_.setMessage(value); + } + messageCase_ = 3; + return this; + } + + /** + * + * + *
+     * Hands off conversation to a live agent.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3; + * + */ + public Builder setLiveAgentHandoff( + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff.Builder builderForValue) { + if (liveAgentHandoffBuilder_ == null) { + message_ = builderForValue.build(); + onChanged(); + } else { + liveAgentHandoffBuilder_.setMessage(builderForValue.build()); + } + messageCase_ = 3; + return this; + } + + /** + * + * + *
+     * Hands off conversation to a live agent.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3; + * + */ + public Builder mergeLiveAgentHandoff( + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff value) { + if (liveAgentHandoffBuilder_ == null) { + if (messageCase_ == 3 + && message_ + != com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff + .getDefaultInstance()) { + message_ = + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff.newBuilder( + (com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff) message_) + .mergeFrom(value) + .buildPartial(); + } else { + message_ = value; + } + onChanged(); + } else { + if (messageCase_ == 3) { + liveAgentHandoffBuilder_.mergeFrom(value); + } else { + liveAgentHandoffBuilder_.setMessage(value); + } + } + messageCase_ = 3; + return this; + } + + /** + * + * + *
+     * Hands off conversation to a live agent.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3; + * + */ + public Builder clearLiveAgentHandoff() { + if (liveAgentHandoffBuilder_ == null) { + if (messageCase_ == 3) { + messageCase_ = 0; + message_ = null; + onChanged(); + } + } else { + if (messageCase_ == 3) { + messageCase_ = 0; + message_ = null; + } + liveAgentHandoffBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Hands off conversation to a live agent.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3; + * + */ + public com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff.Builder + getLiveAgentHandoffBuilder() { + return internalGetLiveAgentHandoffFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Hands off conversation to a live agent.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3; + * + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoffOrBuilder + getLiveAgentHandoffOrBuilder() { + if ((messageCase_ == 3) && (liveAgentHandoffBuilder_ != null)) { + return liveAgentHandoffBuilder_.getMessageOrBuilder(); + } else { + if (messageCase_ == 3) { + return (com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff) message_; + } + return com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Hands off conversation to a live agent.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff, + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff.Builder, + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoffOrBuilder> + internalGetLiveAgentHandoffFieldBuilder() { + if (liveAgentHandoffBuilder_ == null) { + if (!(messageCase_ == 3)) { + message_ = + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff.getDefaultInstance(); + } + liveAgentHandoffBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff, + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff.Builder, + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoffOrBuilder>( + (com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff) message_, + getParentForChildren(), + isClean()); + message_ = null; + } + messageCase_ = 3; + onChanged(); + return liveAgentHandoffBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction, + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction.Builder, + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteractionOrBuilder> + endInteractionBuilder_; + + /** + * + * + *
+     * A signal that indicates the interaction with the Dialogflow agent has
+     * ended.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.EndInteraction end_interaction = 4; + * + * @return Whether the endInteraction field is set. + */ + @java.lang.Override + public boolean hasEndInteraction() { + return messageCase_ == 4; + } + + /** + * + * + *
+     * A signal that indicates the interaction with the Dialogflow agent has
+     * ended.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.EndInteraction end_interaction = 4; + * + * @return The endInteraction. + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction getEndInteraction() { + if (endInteractionBuilder_ == null) { + if (messageCase_ == 4) { + return (com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction) message_; + } + return com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction.getDefaultInstance(); + } else { + if (messageCase_ == 4) { + return endInteractionBuilder_.getMessage(); + } + return com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction.getDefaultInstance(); + } + } + + /** + * + * + *
+     * A signal that indicates the interaction with the Dialogflow agent has
+     * ended.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.EndInteraction end_interaction = 4; + */ + public Builder setEndInteraction( + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction value) { + if (endInteractionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + message_ = value; + onChanged(); + } else { + endInteractionBuilder_.setMessage(value); + } + messageCase_ = 4; + return this; + } + + /** + * + * + *
+     * A signal that indicates the interaction with the Dialogflow agent has
+     * ended.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.EndInteraction end_interaction = 4; + */ + public Builder setEndInteraction( + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction.Builder builderForValue) { + if (endInteractionBuilder_ == null) { + message_ = builderForValue.build(); + onChanged(); + } else { + endInteractionBuilder_.setMessage(builderForValue.build()); + } + messageCase_ = 4; + return this; + } + + /** + * + * + *
+     * A signal that indicates the interaction with the Dialogflow agent has
+     * ended.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.EndInteraction end_interaction = 4; + */ + public Builder mergeEndInteraction( + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction value) { + if (endInteractionBuilder_ == null) { + if (messageCase_ == 4 + && message_ + != com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction + .getDefaultInstance()) { + message_ = + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction.newBuilder( + (com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction) message_) + .mergeFrom(value) + .buildPartial(); + } else { + message_ = value; + } + onChanged(); + } else { + if (messageCase_ == 4) { + endInteractionBuilder_.mergeFrom(value); + } else { + endInteractionBuilder_.setMessage(value); + } + } + messageCase_ = 4; + return this; + } + + /** + * + * + *
+     * A signal that indicates the interaction with the Dialogflow agent has
+     * ended.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.EndInteraction end_interaction = 4; + */ + public Builder clearEndInteraction() { + if (endInteractionBuilder_ == null) { + if (messageCase_ == 4) { + messageCase_ = 0; + message_ = null; + onChanged(); + } + } else { + if (messageCase_ == 4) { + messageCase_ = 0; + message_ = null; + } + endInteractionBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * A signal that indicates the interaction with the Dialogflow agent has
+     * ended.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.EndInteraction end_interaction = 4; + */ + public com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction.Builder + getEndInteractionBuilder() { + return internalGetEndInteractionFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * A signal that indicates the interaction with the Dialogflow agent has
+     * ended.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.EndInteraction end_interaction = 4; + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.EndInteractionOrBuilder + getEndInteractionOrBuilder() { + if ((messageCase_ == 4) && (endInteractionBuilder_ != null)) { + return endInteractionBuilder_.getMessageOrBuilder(); + } else { + if (messageCase_ == 4) { + return (com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction) message_; + } + return com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction.getDefaultInstance(); + } + } + + /** + * + * + *
+     * A signal that indicates the interaction with the Dialogflow agent has
+     * ended.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.EndInteraction end_interaction = 4; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction, + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction.Builder, + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteractionOrBuilder> + internalGetEndInteractionFieldBuilder() { + if (endInteractionBuilder_ == null) { + if (!(messageCase_ == 4)) { + message_ = + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction.getDefaultInstance(); + } + endInteractionBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction, + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction.Builder, + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteractionOrBuilder>( + (com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction) message_, + getParentForChildren(), + isClean()); + message_ = null; + } + messageCase_ = 4; + onChanged(); + return endInteractionBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio, + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Builder, + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudioOrBuilder> + mixedAudioBuilder_; + + /** + * + * + *
+     * An audio response message composed of both the synthesized Dialogflow
+     * agent responses and the audios hosted in places known to the client.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio mixed_audio = 5; + * + * @return Whether the mixedAudio field is set. + */ + @java.lang.Override + public boolean hasMixedAudio() { + return messageCase_ == 5; + } + + /** + * + * + *
+     * An audio response message composed of both the synthesized Dialogflow
+     * agent responses and the audios hosted in places known to the client.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio mixed_audio = 5; + * + * @return The mixedAudio. + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio getMixedAudio() { + if (mixedAudioBuilder_ == null) { + if (messageCase_ == 5) { + return (com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio) message_; + } + return com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.getDefaultInstance(); + } else { + if (messageCase_ == 5) { + return mixedAudioBuilder_.getMessage(); + } + return com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.getDefaultInstance(); + } + } + + /** + * + * + *
+     * An audio response message composed of both the synthesized Dialogflow
+     * agent responses and the audios hosted in places known to the client.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio mixed_audio = 5; + */ + public Builder setMixedAudio(com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio value) { + if (mixedAudioBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + message_ = value; + onChanged(); + } else { + mixedAudioBuilder_.setMessage(value); + } + messageCase_ = 5; + return this; + } + + /** + * + * + *
+     * An audio response message composed of both the synthesized Dialogflow
+     * agent responses and the audios hosted in places known to the client.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio mixed_audio = 5; + */ + public Builder setMixedAudio( + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Builder builderForValue) { + if (mixedAudioBuilder_ == null) { + message_ = builderForValue.build(); + onChanged(); + } else { + mixedAudioBuilder_.setMessage(builderForValue.build()); + } + messageCase_ = 5; + return this; + } + + /** + * + * + *
+     * An audio response message composed of both the synthesized Dialogflow
+     * agent responses and the audios hosted in places known to the client.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio mixed_audio = 5; + */ + public Builder mergeMixedAudio( + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio value) { + if (mixedAudioBuilder_ == null) { + if (messageCase_ == 5 + && message_ + != com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.getDefaultInstance()) { + message_ = + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.newBuilder( + (com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio) message_) + .mergeFrom(value) + .buildPartial(); + } else { + message_ = value; + } + onChanged(); + } else { + if (messageCase_ == 5) { + mixedAudioBuilder_.mergeFrom(value); + } else { + mixedAudioBuilder_.setMessage(value); + } + } + messageCase_ = 5; + return this; + } + + /** + * + * + *
+     * An audio response message composed of both the synthesized Dialogflow
+     * agent responses and the audios hosted in places known to the client.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio mixed_audio = 5; + */ + public Builder clearMixedAudio() { + if (mixedAudioBuilder_ == null) { + if (messageCase_ == 5) { + messageCase_ = 0; + message_ = null; + onChanged(); + } + } else { + if (messageCase_ == 5) { + messageCase_ = 0; + message_ = null; + } + mixedAudioBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * An audio response message composed of both the synthesized Dialogflow
+     * agent responses and the audios hosted in places known to the client.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio mixed_audio = 5; + */ + public com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Builder + getMixedAudioBuilder() { + return internalGetMixedAudioFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * An audio response message composed of both the synthesized Dialogflow
+     * agent responses and the audios hosted in places known to the client.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio mixed_audio = 5; + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudioOrBuilder + getMixedAudioOrBuilder() { + if ((messageCase_ == 5) && (mixedAudioBuilder_ != null)) { + return mixedAudioBuilder_.getMessageOrBuilder(); + } else { + if (messageCase_ == 5) { + return (com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio) message_; + } + return com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.getDefaultInstance(); + } + } + + /** + * + * + *
+     * An audio response message composed of both the synthesized Dialogflow
+     * agent responses and the audios hosted in places known to the client.
+     * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio mixed_audio = 5; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio, + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Builder, + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudioOrBuilder> + internalGetMixedAudioFieldBuilder() { + if (mixedAudioBuilder_ == null) { + if (!(messageCase_ == 5)) { + message_ = com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.getDefaultInstance(); + } + mixedAudioBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio, + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio.Builder, + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudioOrBuilder>( + (com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio) message_, + getParentForChildren(), + isClean()); + message_ = null; + } + messageCase_ = 5; + onChanged(); + return mixedAudioBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall, + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall.Builder, + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCallOrBuilder> + telephonyTransferCallBuilder_; + + /** + * + * + *
+     * A signal that the client should transfer the phone call connected to
+     * this agent to a third-party endpoint.
+     * 
+ * + * + * .google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6; + * + * + * @return Whether the telephonyTransferCall field is set. + */ + @java.lang.Override + public boolean hasTelephonyTransferCall() { + return messageCase_ == 6; + } + + /** + * + * + *
+     * A signal that the client should transfer the phone call connected to
+     * this agent to a third-party endpoint.
+     * 
+ * + * + * .google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6; + * + * + * @return The telephonyTransferCall. + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall + getTelephonyTransferCall() { + if (telephonyTransferCallBuilder_ == null) { + if (messageCase_ == 6) { + return (com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall) message_; + } + return com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall + .getDefaultInstance(); + } else { + if (messageCase_ == 6) { + return telephonyTransferCallBuilder_.getMessage(); + } + return com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * A signal that the client should transfer the phone call connected to
+     * this agent to a third-party endpoint.
+     * 
+ * + * + * .google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6; + * + */ + public Builder setTelephonyTransferCall( + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall value) { + if (telephonyTransferCallBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + message_ = value; + onChanged(); + } else { + telephonyTransferCallBuilder_.setMessage(value); + } + messageCase_ = 6; + return this; + } + + /** + * + * + *
+     * A signal that the client should transfer the phone call connected to
+     * this agent to a third-party endpoint.
+     * 
+ * + * + * .google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6; + * + */ + public Builder setTelephonyTransferCall( + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall.Builder + builderForValue) { + if (telephonyTransferCallBuilder_ == null) { + message_ = builderForValue.build(); + onChanged(); + } else { + telephonyTransferCallBuilder_.setMessage(builderForValue.build()); + } + messageCase_ = 6; + return this; + } + + /** + * + * + *
+     * A signal that the client should transfer the phone call connected to
+     * this agent to a third-party endpoint.
+     * 
+ * + * + * .google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6; + * + */ + public Builder mergeTelephonyTransferCall( + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall value) { + if (telephonyTransferCallBuilder_ == null) { + if (messageCase_ == 6 + && message_ + != com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall + .getDefaultInstance()) { + message_ = + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall.newBuilder( + (com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall) + message_) + .mergeFrom(value) + .buildPartial(); + } else { + message_ = value; + } + onChanged(); + } else { + if (messageCase_ == 6) { + telephonyTransferCallBuilder_.mergeFrom(value); + } else { + telephonyTransferCallBuilder_.setMessage(value); + } + } + messageCase_ = 6; + return this; + } + + /** + * + * + *
+     * A signal that the client should transfer the phone call connected to
+     * this agent to a third-party endpoint.
+     * 
+ * + * + * .google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6; + * + */ + public Builder clearTelephonyTransferCall() { + if (telephonyTransferCallBuilder_ == null) { + if (messageCase_ == 6) { + messageCase_ = 0; + message_ = null; + onChanged(); + } + } else { + if (messageCase_ == 6) { + messageCase_ = 0; + message_ = null; + } + telephonyTransferCallBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * A signal that the client should transfer the phone call connected to
+     * this agent to a third-party endpoint.
+     * 
+ * + * + * .google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6; + * + */ + public com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall.Builder + getTelephonyTransferCallBuilder() { + return internalGetTelephonyTransferCallFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * A signal that the client should transfer the phone call connected to
+     * this agent to a third-party endpoint.
+     * 
+ * + * + * .google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6; + * + */ + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCallOrBuilder + getTelephonyTransferCallOrBuilder() { + if ((messageCase_ == 6) && (telephonyTransferCallBuilder_ != null)) { + return telephonyTransferCallBuilder_.getMessageOrBuilder(); + } else { + if (messageCase_ == 6) { + return (com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall) message_; + } + return com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * A signal that the client should transfer the phone call connected to
+     * this agent to a third-party endpoint.
+     * 
+ * + * + * .google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall, + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall.Builder, + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCallOrBuilder> + internalGetTelephonyTransferCallFieldBuilder() { + if (telephonyTransferCallBuilder_ == null) { + if (!(messageCase_ == 6)) { + message_ = + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall + .getDefaultInstance(); + } + telephonyTransferCallBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall, + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall.Builder, + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCallOrBuilder>( + (com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall) message_, + getParentForChildren(), + isClean()); + message_ = null; + } + messageCase_ = 6; + onChanged(); + return telephonyTransferCallBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.v2.ResponseMessage) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.ResponseMessage) + private static final com.google.cloud.dialogflow.v2.ResponseMessage DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.v2.ResponseMessage(); + } + + public static com.google.cloud.dialogflow.v2.ResponseMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResponseMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.v2.ResponseMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ResponseMessageOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ResponseMessageOrBuilder.java new file mode 100644 index 000000000000..9876272b802b --- /dev/null +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ResponseMessageOrBuilder.java @@ -0,0 +1,273 @@ +/* + * Copyright 2026 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 + * + * https://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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/dialogflow/v2/participant.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.dialogflow.v2; + +@com.google.protobuf.Generated +public interface ResponseMessageOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.ResponseMessage) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Returns a text response.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.Text text = 1; + * + * @return Whether the text field is set. + */ + boolean hasText(); + + /** + * + * + *
+   * Returns a text response.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.Text text = 1; + * + * @return The text. + */ + com.google.cloud.dialogflow.v2.ResponseMessage.Text getText(); + + /** + * + * + *
+   * Returns a text response.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.Text text = 1; + */ + com.google.cloud.dialogflow.v2.ResponseMessage.TextOrBuilder getTextOrBuilder(); + + /** + * + * + *
+   * Returns a response containing a custom, platform-specific payload.
+   * 
+ * + * .google.protobuf.Struct payload = 2; + * + * @return Whether the payload field is set. + */ + boolean hasPayload(); + + /** + * + * + *
+   * Returns a response containing a custom, platform-specific payload.
+   * 
+ * + * .google.protobuf.Struct payload = 2; + * + * @return The payload. + */ + com.google.protobuf.Struct getPayload(); + + /** + * + * + *
+   * Returns a response containing a custom, platform-specific payload.
+   * 
+ * + * .google.protobuf.Struct payload = 2; + */ + com.google.protobuf.StructOrBuilder getPayloadOrBuilder(); + + /** + * + * + *
+   * Hands off conversation to a live agent.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3; + * + * + * @return Whether the liveAgentHandoff field is set. + */ + boolean hasLiveAgentHandoff(); + + /** + * + * + *
+   * Hands off conversation to a live agent.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3; + * + * + * @return The liveAgentHandoff. + */ + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff getLiveAgentHandoff(); + + /** + * + * + *
+   * Hands off conversation to a live agent.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3; + * + */ + com.google.cloud.dialogflow.v2.ResponseMessage.LiveAgentHandoffOrBuilder + getLiveAgentHandoffOrBuilder(); + + /** + * + * + *
+   * A signal that indicates the interaction with the Dialogflow agent has
+   * ended.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.EndInteraction end_interaction = 4; + * + * @return Whether the endInteraction field is set. + */ + boolean hasEndInteraction(); + + /** + * + * + *
+   * A signal that indicates the interaction with the Dialogflow agent has
+   * ended.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.EndInteraction end_interaction = 4; + * + * @return The endInteraction. + */ + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteraction getEndInteraction(); + + /** + * + * + *
+   * A signal that indicates the interaction with the Dialogflow agent has
+   * ended.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.EndInteraction end_interaction = 4; + */ + com.google.cloud.dialogflow.v2.ResponseMessage.EndInteractionOrBuilder + getEndInteractionOrBuilder(); + + /** + * + * + *
+   * An audio response message composed of both the synthesized Dialogflow
+   * agent responses and the audios hosted in places known to the client.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio mixed_audio = 5; + * + * @return Whether the mixedAudio field is set. + */ + boolean hasMixedAudio(); + + /** + * + * + *
+   * An audio response message composed of both the synthesized Dialogflow
+   * agent responses and the audios hosted in places known to the client.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio mixed_audio = 5; + * + * @return The mixedAudio. + */ + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudio getMixedAudio(); + + /** + * + * + *
+   * An audio response message composed of both the synthesized Dialogflow
+   * agent responses and the audios hosted in places known to the client.
+   * 
+ * + * .google.cloud.dialogflow.v2.ResponseMessage.MixedAudio mixed_audio = 5; + */ + com.google.cloud.dialogflow.v2.ResponseMessage.MixedAudioOrBuilder getMixedAudioOrBuilder(); + + /** + * + * + *
+   * A signal that the client should transfer the phone call connected to
+   * this agent to a third-party endpoint.
+   * 
+ * + * + * .google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6; + * + * + * @return Whether the telephonyTransferCall field is set. + */ + boolean hasTelephonyTransferCall(); + + /** + * + * + *
+   * A signal that the client should transfer the phone call connected to
+   * this agent to a third-party endpoint.
+   * 
+ * + * + * .google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6; + * + * + * @return The telephonyTransferCall. + */ + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall getTelephonyTransferCall(); + + /** + * + * + *
+   * A signal that the client should transfer the phone call connected to
+   * this agent to a third-party endpoint.
+   * 
+ * + * + * .google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6; + * + */ + com.google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCallOrBuilder + getTelephonyTransferCallOrBuilder(); + + com.google.cloud.dialogflow.v2.ResponseMessage.MessageCase getMessageCase(); +} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisResult.java b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisResult.java index 50d509ebbcd0..0c0544a09b05 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisResult.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisResult.java @@ -134,6 +134,61 @@ public com.google.cloud.dialogflow.v2.SentimentOrBuilder getQueryTextSentimentOr : queryTextSentiment_; } + public static final int STATUS_FIELD_NUMBER = 3; + private com.google.rpc.Status status_; + + /** + * + * + *
+   * Output only. The status of the sentiment analysis operation.
+   * If the operation failed, this field will contain the error details.
+   * For example, it might indicate a quota issue (RESOURCE_EXHAUSTED).
+   * 
+ * + * .google.rpc.Status status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the status field is set. + */ + @java.lang.Override + public boolean hasStatus() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * Output only. The status of the sentiment analysis operation.
+   * If the operation failed, this field will contain the error details.
+   * For example, it might indicate a quota issue (RESOURCE_EXHAUSTED).
+   * 
+ * + * .google.rpc.Status status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The status. + */ + @java.lang.Override + public com.google.rpc.Status getStatus() { + return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + } + + /** + * + * + *
+   * Output only. The status of the sentiment analysis operation.
+   * If the operation failed, this field will contain the error details.
+   * For example, it might indicate a quota issue (RESOURCE_EXHAUSTED).
+   * 
+ * + * .google.rpc.Status status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { + return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -151,6 +206,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getQueryTextSentiment()); } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(3, getStatus()); + } getUnknownFields().writeTo(output); } @@ -163,6 +221,9 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueryTextSentiment()); } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStatus()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -183,6 +244,10 @@ public boolean equals(final java.lang.Object obj) { if (hasQueryTextSentiment()) { if (!getQueryTextSentiment().equals(other.getQueryTextSentiment())) return false; } + if (hasStatus() != other.hasStatus()) return false; + if (hasStatus()) { + if (!getStatus().equals(other.getStatus())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -198,6 +263,10 @@ public int hashCode() { hash = (37 * hash) + QUERY_TEXT_SENTIMENT_FIELD_NUMBER; hash = (53 * hash) + getQueryTextSentiment().hashCode(); } + if (hasStatus()) { + hash = (37 * hash) + STATUS_FIELD_NUMBER; + hash = (53 * hash) + getStatus().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -353,6 +422,7 @@ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { internalGetQueryTextSentimentFieldBuilder(); + internalGetStatusFieldBuilder(); } } @@ -365,6 +435,11 @@ public Builder clear() { queryTextSentimentBuilder_.dispose(); queryTextSentimentBuilder_ = null; } + status_ = null; + if (statusBuilder_ != null) { + statusBuilder_.dispose(); + statusBuilder_ = null; + } return this; } @@ -409,6 +484,10 @@ private void buildPartial0(com.google.cloud.dialogflow.v2.SentimentAnalysisResul : queryTextSentimentBuilder_.build(); to_bitField0_ |= 0x00000001; } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build(); + to_bitField0_ |= 0x00000002; + } result.bitField0_ |= to_bitField0_; } @@ -428,6 +507,9 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.SentimentAnalysisResult if (other.hasQueryTextSentiment()) { mergeQueryTextSentiment(other.getQueryTextSentiment()); } + if (other.hasStatus()) { + mergeStatus(other.getStatus()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -461,6 +543,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; break; } // case 10 + case 26: + { + input.readMessage(internalGetStatusFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -676,6 +764,209 @@ public com.google.cloud.dialogflow.v2.SentimentOrBuilder getQueryTextSentimentOr return queryTextSentimentBuilder_; } + private com.google.rpc.Status status_; + private com.google.protobuf.SingleFieldBuilder< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + statusBuilder_; + + /** + * + * + *
+     * Output only. The status of the sentiment analysis operation.
+     * If the operation failed, this field will contain the error details.
+     * For example, it might indicate a quota issue (RESOURCE_EXHAUSTED).
+     * 
+ * + * .google.rpc.Status status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the status field is set. + */ + public boolean hasStatus() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Output only. The status of the sentiment analysis operation.
+     * If the operation failed, this field will contain the error details.
+     * For example, it might indicate a quota issue (RESOURCE_EXHAUSTED).
+     * 
+ * + * .google.rpc.Status status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The status. + */ + public com.google.rpc.Status getStatus() { + if (statusBuilder_ == null) { + return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + } else { + return statusBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Output only. The status of the sentiment analysis operation.
+     * If the operation failed, this field will contain the error details.
+     * For example, it might indicate a quota issue (RESOURCE_EXHAUSTED).
+     * 
+ * + * .google.rpc.Status status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setStatus(com.google.rpc.Status value) { + if (statusBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + status_ = value; + } else { + statusBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The status of the sentiment analysis operation.
+     * If the operation failed, this field will contain the error details.
+     * For example, it might indicate a quota issue (RESOURCE_EXHAUSTED).
+     * 
+ * + * .google.rpc.Status status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { + if (statusBuilder_ == null) { + status_ = builderForValue.build(); + } else { + statusBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The status of the sentiment analysis operation.
+     * If the operation failed, this field will contain the error details.
+     * For example, it might indicate a quota issue (RESOURCE_EXHAUSTED).
+     * 
+ * + * .google.rpc.Status status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeStatus(com.google.rpc.Status value) { + if (statusBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && status_ != null + && status_ != com.google.rpc.Status.getDefaultInstance()) { + getStatusBuilder().mergeFrom(value); + } else { + status_ = value; + } + } else { + statusBuilder_.mergeFrom(value); + } + if (status_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Output only. The status of the sentiment analysis operation.
+     * If the operation failed, this field will contain the error details.
+     * For example, it might indicate a quota issue (RESOURCE_EXHAUSTED).
+     * 
+ * + * .google.rpc.Status status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearStatus() { + bitField0_ = (bitField0_ & ~0x00000002); + status_ = null; + if (statusBuilder_ != null) { + statusBuilder_.dispose(); + statusBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The status of the sentiment analysis operation.
+     * If the operation failed, this field will contain the error details.
+     * For example, it might indicate a quota issue (RESOURCE_EXHAUSTED).
+     * 
+ * + * .google.rpc.Status status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.rpc.Status.Builder getStatusBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetStatusFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Output only. The status of the sentiment analysis operation.
+     * If the operation failed, this field will contain the error details.
+     * For example, it might indicate a quota issue (RESOURCE_EXHAUSTED).
+     * 
+ * + * .google.rpc.Status status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { + if (statusBuilder_ != null) { + return statusBuilder_.getMessageOrBuilder(); + } else { + return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + } + } + + /** + * + * + *
+     * Output only. The status of the sentiment analysis operation.
+     * If the operation failed, this field will contain the error details.
+     * For example, it might indicate a quota issue (RESOURCE_EXHAUSTED).
+     * 
+ * + * .google.rpc.Status status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + internalGetStatusFieldBuilder() { + if (statusBuilder_ == null) { + statusBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); + status_ = null; + } + return statusBuilder_; + } + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.v2.SentimentAnalysisResult) } diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisResultOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisResultOrBuilder.java index 3be930634f39..e58278c36cb8 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisResultOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SentimentAnalysisResultOrBuilder.java @@ -62,4 +62,47 @@ public interface SentimentAnalysisResultOrBuilder * .google.cloud.dialogflow.v2.Sentiment query_text_sentiment = 1; */ com.google.cloud.dialogflow.v2.SentimentOrBuilder getQueryTextSentimentOrBuilder(); + + /** + * + * + *
+   * Output only. The status of the sentiment analysis operation.
+   * If the operation failed, this field will contain the error details.
+   * For example, it might indicate a quota issue (RESOURCE_EXHAUSTED).
+   * 
+ * + * .google.rpc.Status status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the status field is set. + */ + boolean hasStatus(); + + /** + * + * + *
+   * Output only. The status of the sentiment analysis operation.
+   * If the operation failed, this field will contain the error details.
+   * For example, it might indicate a quota issue (RESOURCE_EXHAUSTED).
+   * 
+ * + * .google.rpc.Status status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The status. + */ + com.google.rpc.Status getStatus(); + + /** + * + * + *
+   * Output only. The status of the sentiment analysis operation.
+   * If the operation failed, this field will contain the error details.
+   * For example, it might indicate a quota issue (RESOURCE_EXHAUSTED).
+   * 
+ * + * .google.rpc.Status status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.rpc.StatusOrBuilder getStatusOrBuilder(); } diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java index e4e55d9aeb5c..50d84e52aed1 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionProto.java @@ -109,182 +109,171 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { - "\n" - + "(google/cloud/dialogflow/v2/session.pro" + "\n(google/cloud/dialogflow/v2/session.pro" + "to\022\032google.cloud.dialogflow.v2\032\034google/a" + "pi/annotations.proto\032\027google/api/client." + "proto\032\037google/api/field_behavior.proto\032\031" - + "google/api/resource.proto\032-google/cloud/dialogflow/v2/audio_config.proto\032(google" + + "google/api/resource.proto\032-google/cloud/" + + "dialogflow/v2/audio_config.proto\032(google" + "/cloud/dialogflow/v2/context.proto\032\'goog" - + "le/cloud/dialogflow/v2/intent.proto\0324google/cloud/dialogflow/v2/session_entity_t" - + "ype.proto\032\036google/protobuf/duration.proto\032" - + " google/protobuf/field_mask.proto\032\034goo" - + "gle/protobuf/struct.proto\032\027google/rpc/status.proto\032\030google/type/latlng.proto\"\367\002\n" - + "\023DetectIntentRequest\022;\n" - + "\007session\030\001 \001(\tB*\342A\001\002\372A#\n" - + "!dialogflow.googleapis.com/Session\022A\n" - + "\014query_params\030\002 \001(\0132+.google.cloud.dialogflow.v2.QueryParameters\022A\n" - + "\013query_input\030\003" - + " \001(\0132&.google.cloud.dialogflow.v2.QueryInputB\004\342A\001\002\022J\n" - + "\023output_audio_config\030\004" - + " \001(\0132-.google.cloud.dialogflow.v2.OutputAudioConfig\022<\n" - + "\030output_audio_config_mask\030\007" - + " \001(\0132\032.google.protobuf.FieldMask\022\023\n" - + "\013input_audio\030\005 \001(\014\"\370\001\n" - + "\024DetectIntentResponse\022\023\n" - + "\013response_id\030\001 \001(\t\022=\n" - + "\014query_result\030\002 \001(\0132\'.google.cloud.dialogflow.v2.QueryResult\022*\n" - + "\016webhook_status\030\003 \001(\0132\022.google.rpc.Status\022\024\n" - + "\014output_audio\030\004 \001(\014\022J\n" - + "\023output_audio_config\030\006" - + " \001(\0132-.google.cloud.dialogflow.v2.OutputAudioConfig\"\237\004\n" - + "\017QueryParameters\022\021\n" - + "\ttime_zone\030\001 \001(\t\022)\n" - + "\014geo_location\030\002 \001(\0132\023.google.type.LatLng\0225\n" - + "\010contexts\030\003 \003(\0132#.google.cloud.dialogflow.v2.Context\022\026\n" - + "\016reset_contexts\030\004 \001(\010\022K\n" - + "\024session_entity_types\030\005" - + " \003(\0132-.google.cloud.dialogflow.v2.SessionEntityType\022(\n" - + "\007payload\030\006 \001(\0132\027.google.protobuf.Struct\022e\n" - + "!sentiment_analysis_request_config\030\n" - + " \001(\0132:.google.cloud.dialogflow.v2.SentimentAnalysisRequestConfig\022X\n" - + "\017webhook_headers\030\016 \003(\0132?.goog" - + "le.cloud.dialogflow.v2.QueryParameters.WebhookHeadersEntry\022\020\n" - + "\010platform\030\022 \001(\t\0325\n" - + "\023WebhookHeadersEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001\"\313\001\n\n" - + "QueryInput\022D\n" - + "\014audio_config\030\001" - + " \001(\0132,.google.cloud.dialogflow.v2.InputAudioConfigH\000\0225\n" - + "\004text\030\002 \001(\0132%.google.cloud.dialogflow.v2.TextInputH\000\0227\n" - + "\005event\030\003 \001(\0132&.google.cloud.dialogflow.v2.EventInputH\000B\007\n" - + "\005input\"\256\005\n" - + "\013QueryResult\022\022\n\n" - + "query_text\030\001 \001(\t\022\025\n\r" - + "language_code\030\017 \001(\t\022%\n" - + "\035speech_recognition_confidence\030\002 \001(\002\022\016\n" - + "\006action\030\003 \001(\t\022+\n\n" - + "parameters\030\004 \001(\0132\027.google.protobuf.Struct\022#\n" - + "\033all_required_params_present\030\005 \001(\010\022\034\n" - + "\024cancels_slot_filling\030\025 \001(\010\022\030\n" - + "\020fulfillment_text\030\006 \001(\t\022H\n" - + "\024fulfillment_messages\030\007" - + " \003(\0132*.google.cloud.dialogflow.v2.Intent.Message\022\026\n" - + "\016webhook_source\030\010 \001(\t\0220\n" - + "\017webhook_payload\030\t \001(\0132\027.google.protobuf.Struct\022<\n" - + "\017output_contexts\030\n" - + " \003(\0132#.google.cloud.dialogflow.v2.Context\0222\n" - + "\006intent\030\013 \001(\0132\".google.cloud.dialogflow.v2.Intent\022#\n" - + "\033intent_detection_confidence\030\014 \001(\002\0220\n" - + "\017diagnostic_info\030\016 \001(\0132\027.google.protobuf.Struct\022V\n" - + "\031sentiment_analysis_result\030\021" - + " \001(\01323.google.cloud.dialogflow.v2.SentimentAnalysisResult\"\275\003\n" - + "\034StreamingDetectIntentRequest\022;\n" - + "\007session\030\001 \001(\tB*\342A\001\002\372A#\n" - + "!dialogflow.googleapis.com/Session\022A\n" - + "\014query_params\030\002 \001(\0132+.google.cloud.dialogflow.v2.QueryParameters\022A\n" - + "\013query_input\030\003" - + " \001(\0132&.google.cloud.dialogflow.v2.QueryInputB\004\342A\001\002\022\034\n" - + "\020single_utterance\030\004 \001(\010B\002\030\001\022J\n" - + "\023output_audio_config\030\005 \001(\0132-.goog" - + "le.cloud.dialogflow.v2.OutputAudioConfig\022<\n" - + "\030output_audio_config_mask\030\007" - + " \001(\0132\032.google.protobuf.FieldMask\022\023\n" - + "\013input_audio\030\006 \001(\014\022\035\n" - + "\025enable_debugging_info\030\010 \001(\010\"\260\007\n" - + "\036CloudConversationDebuggingInfo\022\031\n" - + "\021audio_data_chunks\030\001 \001(\005\0229\n" - + "\026result_end_time_offset\030\002 \001(\0132\031.google.protobuf.Duration\0227\n" - + "\024first_audio_duration\030\003 \001(\0132\031.google.protobuf.Duration\022\030\n" - + "\020single_utterance\030\005 \001(\010\022C\n" - + " speech_partial_results_end_times\030\006" - + " \003(\0132\031.google.protobuf.Duration\022A\n" - + "\036speech_final_results_end_times\030\007" - + " \003(\0132\031.google.protobuf.Duration\022\031\n" - + "\021partial_responses\030\010 \001(\005\022,\n" - + "$speaker_id_passive_latency_ms_offset\030\t \001(\005\022\037\n" - + "\027bargein_event_triggered\030\n" - + " \001(\010\022\037\n" - + "\027speech_single_utterance\030\013 \001(\010\022=\n" - + "\032dtmf_partial_results_times\030\014 \003(\0132\031.google.protobuf.Duration\022;\n" - + "\030dtmf_final_results_times\030\r" - + " \003(\0132\031.google.protobuf.Duration\022C\n" - + " single_utterance_end_time_offset\030\016" - + " \001(\0132\031.google.protobuf.Duration\0224\n" - + "\021no_speech_timeout\030\017 \001(\0132\031.google.protobuf.Duration\0226\n" - + "\023endpointing_timeout\030\023 \001(\0132\031.google.protobuf.Duration\022\025\n\r" - + "is_input_text\030\020 \001(\010\022@\n" - + "\035client_half_close_time_offset\030\021" - + " \001(\0132\031.google.protobuf.Duration\022J\n" - + "\'client_half_close_streaming_time_offset\030\022" - + " \001(\0132\031.google.protobuf.Duration\"\251\003\n" - + "\035StreamingDetectIntentResponse\022\023\n" - + "\013response_id\030\001 \001(\t\022R\n" - + "\022recognition_result\030\002 \001(\01326.google.cloud." - + "dialogflow.v2.StreamingRecognitionResult\022=\n" - + "\014query_result\030\003 \001(\0132\'.google.cloud.dialogflow.v2.QueryResult\022*\n" - + "\016webhook_status\030\004 \001(\0132\022.google.rpc.Status\022\024\n" - + "\014output_audio\030\005 \001(\014\022J\n" - + "\023output_audio_config\030\006 \001(\0132-" - + ".google.cloud.dialogflow.v2.OutputAudioConfig\022R\n" - + "\016debugging_info\030\010 \001(\0132:.google.c" - + "loud.dialogflow.v2.CloudConversationDebuggingInfo\"\374\003\n" - + "\032StreamingRecognitionResult\022X\n" - + "\014message_type\030\001 \001(\0162B.google.cloud.di" - + "alogflow.v2.StreamingRecognitionResult.MessageType\022\022\n\n" - + "transcript\030\002 \001(\t\022\020\n" - + "\010is_final\030\003 \001(\010\022\022\n\n" - + "confidence\030\004 \001(\002\022D\n" - + "\020speech_word_info\030\007" - + " \003(\0132*.google.cloud.dialogflow.v2.SpeechWordInfo\0224\n" - + "\021speech_end_offset\030\010 \001(\0132\031.google.protobuf.Duration\022\025\n\r" - + "language_code\030\n" - + " \001(\t\"\266\001\n" - + "\013MessageType\022\034\n" - + "\030MESSAGE_TYPE_UNSPECIFIED\020\000\022\016\n\n" - + "TRANSCRIPT\020\001\022\017\n" - + "\013DTMF_DIGITS\020\003\022\033\n" - + "\027END_OF_SINGLE_UTTERANCE\020\002\022\027\n" - + "\023PARTIAL_DTMF_DIGITS\020\004\022\031\n" - + "\025SPEECH_ACTIVITY_BEGIN\020\005\022\027\n" - + "\023SPEECH_ACTIVITY_END\020\006\"<\n" - + "\tTextInput\022\022\n" - + "\004text\030\001 \001(\tB\004\342A\001\001\022\033\n\r" - + "language_code\030\002 \001(\tB\004\342A\001\002\"j\n\n" - + "EventInput\022\022\n" - + "\004name\030\001 \001(\tB\004\342A\001\002\022+\n\n" - + "parameters\030\002 \001(\0132\027.google.protobuf.Struct\022\033\n\r" - + "language_code\030\003 \001(\tB\004\342A\001\002\"F\n" - + "\036SentimentAnalysisRequestConfig\022$\n" - + "\034analyze_query_text_sentiment\030\001 \001(\010\"^\n" - + "\027SentimentAnalysisResult\022C\n" - + "\024query_text_sentiment\030\001 \001(\0132%.google.cloud.dialogflow.v2.Sentiment\"-\n" - + "\tSentiment\022\r\n" - + "\005score\030\001 \001(\002\022\021\n" - + "\tmagnitude\030\002 \001(\0022\345\005\n" - + "\010Sessions\022\311\003\n" - + "\014DetectIntent\022/.google.cloud.dialogflo" - + "w.v2.DetectIntentRequest\0320.google.cloud." - + "dialogflow.v2.DetectIntentResponse\"\325\002\332A\023" - + "session,query_input\202\323\344\223\002\270\002\"6/v2/{session" - + "=projects/*/agent/sessions/*}:detectIntent:\001*ZR\"M/v2/{session=projects/*/agent/e" - + "nvironments/*/users/*/sessions/*}:detectIntent:\001*ZG\"B/v2/{session=projects/*/loc" - + "ations/*/agent/sessions/*}:detectIntent:\001*Z^\"Y/v2/{session=projects/*/locations/" - + "*/agent/environments/*/users/*/sessions/*}:detectIntent:\001*\022\222\001\n" - + "\025StreamingDetectIntent\0228.google.cloud.dialogflow.v2.Stream" - + "ingDetectIntentRequest\0329.google.cloud.dialogflow.v2.StreamingDetectIntentRespons" - + "e\"\000(\0010\001\032x\312A\031dialogflow.googleapis.com\322AY" - + "https://www.googleapis.com/auth/cloud-pl" - + "atform,https://www.googleapis.com/auth/dialogflowB\347\003\n" - + "\036com.google.cloud.dialogflow.v2B\014SessionProtoP\001Z>cloud.google.com/g" - + "o/dialogflow/apiv2/dialogflowpb;dialogfl" - + "owpb\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V2\352A\321\002\n" - + "!dialogflow.googleapis.com/Session\022+projects/{project}/agent/sessions/{sessio" - + "n}\022Sprojects/{project}/agent/environments/{environment}/users/{user}/sessions/{s" - + "ession}\022@projects/{project}/locations/{location}/agent/sessions/{session}\022hproje" - + "cts/{project}/locations/{location}/agent/environments/{environment}/users/{user}" - + "/sessions/{session}b\006proto3" + + "le/cloud/dialogflow/v2/intent.proto\0324goo" + + "gle/cloud/dialogflow/v2/session_entity_t" + + "ype.proto\032\036google/protobuf/duration.prot" + + "o\032 google/protobuf/field_mask.proto\032\034goo" + + "gle/protobuf/struct.proto\032\027google/rpc/st" + + "atus.proto\032\030google/type/latlng.proto\"\367\002\n" + + "\023DetectIntentRequest\022;\n\007session\030\001 \001(\tB*\342" + + "A\001\002\372A#\n!dialogflow.googleapis.com/Sessio" + + "n\022A\n\014query_params\030\002 \001(\0132+.google.cloud.d" + + "ialogflow.v2.QueryParameters\022A\n\013query_in" + + "put\030\003 \001(\0132&.google.cloud.dialogflow.v2.Q" + + "ueryInputB\004\342A\001\002\022J\n\023output_audio_config\030\004" + + " \001(\0132-.google.cloud.dialogflow.v2.Output" + + "AudioConfig\022<\n\030output_audio_config_mask\030" + + "\007 \001(\0132\032.google.protobuf.FieldMask\022\023\n\013inp" + + "ut_audio\030\005 \001(\014\"\370\001\n\024DetectIntentResponse\022" + + "\023\n\013response_id\030\001 \001(\t\022=\n\014query_result\030\002 \001" + + "(\0132\'.google.cloud.dialogflow.v2.QueryRes" + + "ult\022*\n\016webhook_status\030\003 \001(\0132\022.google.rpc" + + ".Status\022\024\n\014output_audio\030\004 \001(\014\022J\n\023output_" + + "audio_config\030\006 \001(\0132-.google.cloud.dialog" + + "flow.v2.OutputAudioConfig\"\237\004\n\017QueryParam" + + "eters\022\021\n\ttime_zone\030\001 \001(\t\022)\n\014geo_location" + + "\030\002 \001(\0132\023.google.type.LatLng\0225\n\010contexts\030" + + "\003 \003(\0132#.google.cloud.dialogflow.v2.Conte" + + "xt\022\026\n\016reset_contexts\030\004 \001(\010\022K\n\024session_en" + + "tity_types\030\005 \003(\0132-.google.cloud.dialogfl" + + "ow.v2.SessionEntityType\022(\n\007payload\030\006 \001(\013" + + "2\027.google.protobuf.Struct\022e\n!sentiment_a" + + "nalysis_request_config\030\n \001(\0132:.google.cl" + + "oud.dialogflow.v2.SentimentAnalysisReque" + + "stConfig\022X\n\017webhook_headers\030\016 \003(\0132?.goog" + + "le.cloud.dialogflow.v2.QueryParameters.W" + + "ebhookHeadersEntry\022\020\n\010platform\030\022 \001(\t\0325\n\023" + + "WebhookHeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + + "e\030\002 \001(\t:\0028\001\"\313\001\n\nQueryInput\022D\n\014audio_conf" + + "ig\030\001 \001(\0132,.google.cloud.dialogflow.v2.In" + + "putAudioConfigH\000\0225\n\004text\030\002 \001(\0132%.google." + + "cloud.dialogflow.v2.TextInputH\000\0227\n\005event" + + "\030\003 \001(\0132&.google.cloud.dialogflow.v2.Even" + + "tInputH\000B\007\n\005input\"\256\005\n\013QueryResult\022\022\n\nque" + + "ry_text\030\001 \001(\t\022\025\n\rlanguage_code\030\017 \001(\t\022%\n\035" + + "speech_recognition_confidence\030\002 \001(\002\022\016\n\006a" + + "ction\030\003 \001(\t\022+\n\nparameters\030\004 \001(\0132\027.google" + + ".protobuf.Struct\022#\n\033all_required_params_" + + "present\030\005 \001(\010\022\034\n\024cancels_slot_filling\030\025 " + + "\001(\010\022\030\n\020fulfillment_text\030\006 \001(\t\022H\n\024fulfill" + + "ment_messages\030\007 \003(\0132*.google.cloud.dialo" + + "gflow.v2.Intent.Message\022\026\n\016webhook_sourc" + + "e\030\010 \001(\t\0220\n\017webhook_payload\030\t \001(\0132\027.googl" + + "e.protobuf.Struct\022<\n\017output_contexts\030\n \003" + + "(\0132#.google.cloud.dialogflow.v2.Context\022" + + "2\n\006intent\030\013 \001(\0132\".google.cloud.dialogflo" + + "w.v2.Intent\022#\n\033intent_detection_confiden" + + "ce\030\014 \001(\002\0220\n\017diagnostic_info\030\016 \001(\0132\027.goog" + + "le.protobuf.Struct\022V\n\031sentiment_analysis" + + "_result\030\021 \001(\01323.google.cloud.dialogflow." + + "v2.SentimentAnalysisResult\"\275\003\n\034Streaming" + + "DetectIntentRequest\022;\n\007session\030\001 \001(\tB*\342A" + + "\001\002\372A#\n!dialogflow.googleapis.com/Session" + + "\022A\n\014query_params\030\002 \001(\0132+.google.cloud.di" + + "alogflow.v2.QueryParameters\022A\n\013query_inp" + + "ut\030\003 \001(\0132&.google.cloud.dialogflow.v2.Qu" + + "eryInputB\004\342A\001\002\022\034\n\020single_utterance\030\004 \001(\010" + + "B\002\030\001\022J\n\023output_audio_config\030\005 \001(\0132-.goog" + + "le.cloud.dialogflow.v2.OutputAudioConfig" + + "\022<\n\030output_audio_config_mask\030\007 \001(\0132\032.goo" + + "gle.protobuf.FieldMask\022\023\n\013input_audio\030\006 " + + "\001(\014\022\035\n\025enable_debugging_info\030\010 \001(\010\"\260\007\n\036C" + + "loudConversationDebuggingInfo\022\031\n\021audio_d" + + "ata_chunks\030\001 \001(\005\0229\n\026result_end_time_offs" + + "et\030\002 \001(\0132\031.google.protobuf.Duration\0227\n\024f" + + "irst_audio_duration\030\003 \001(\0132\031.google.proto" + + "buf.Duration\022\030\n\020single_utterance\030\005 \001(\010\022C" + + "\n speech_partial_results_end_times\030\006 \003(\013" + + "2\031.google.protobuf.Duration\022A\n\036speech_fi" + + "nal_results_end_times\030\007 \003(\0132\031.google.pro" + + "tobuf.Duration\022\031\n\021partial_responses\030\010 \001(" + + "\005\022,\n$speaker_id_passive_latency_ms_offse" + + "t\030\t \001(\005\022\037\n\027bargein_event_triggered\030\n \001(\010" + + "\022\037\n\027speech_single_utterance\030\013 \001(\010\022=\n\032dtm" + + "f_partial_results_times\030\014 \003(\0132\031.google.p" + + "rotobuf.Duration\022;\n\030dtmf_final_results_t" + + "imes\030\r \003(\0132\031.google.protobuf.Duration\022C\n" + + " single_utterance_end_time_offset\030\016 \001(\0132" + + "\031.google.protobuf.Duration\0224\n\021no_speech_" + + "timeout\030\017 \001(\0132\031.google.protobuf.Duration" + + "\0226\n\023endpointing_timeout\030\023 \001(\0132\031.google.p" + + "rotobuf.Duration\022\025\n\ris_input_text\030\020 \001(\010\022" + + "@\n\035client_half_close_time_offset\030\021 \001(\0132\031" + + ".google.protobuf.Duration\022J\n\'client_half" + + "_close_streaming_time_offset\030\022 \001(\0132\031.goo" + + "gle.protobuf.Duration\"\251\003\n\035StreamingDetec" + + "tIntentResponse\022\023\n\013response_id\030\001 \001(\t\022R\n\022" + + "recognition_result\030\002 \001(\01326.google.cloud." + + "dialogflow.v2.StreamingRecognitionResult" + + "\022=\n\014query_result\030\003 \001(\0132\'.google.cloud.di" + + "alogflow.v2.QueryResult\022*\n\016webhook_statu" + + "s\030\004 \001(\0132\022.google.rpc.Status\022\024\n\014output_au" + + "dio\030\005 \001(\014\022J\n\023output_audio_config\030\006 \001(\0132-" + + ".google.cloud.dialogflow.v2.OutputAudioC" + + "onfig\022R\n\016debugging_info\030\010 \001(\0132:.google.c" + + "loud.dialogflow.v2.CloudConversationDebu" + + "ggingInfo\"\374\003\n\032StreamingRecognitionResult" + + "\022X\n\014message_type\030\001 \001(\0162B.google.cloud.di" + + "alogflow.v2.StreamingRecognitionResult.M" + + "essageType\022\022\n\ntranscript\030\002 \001(\t\022\020\n\010is_fin" + + "al\030\003 \001(\010\022\022\n\nconfidence\030\004 \001(\002\022D\n\020speech_w" + + "ord_info\030\007 \003(\0132*.google.cloud.dialogflow" + + ".v2.SpeechWordInfo\0224\n\021speech_end_offset\030" + + "\010 \001(\0132\031.google.protobuf.Duration\022\025\n\rlang" + + "uage_code\030\n \001(\t\"\266\001\n\013MessageType\022\034\n\030MESSA" + + "GE_TYPE_UNSPECIFIED\020\000\022\016\n\nTRANSCRIPT\020\001\022\017\n" + + "\013DTMF_DIGITS\020\003\022\033\n\027END_OF_SINGLE_UTTERANC" + + "E\020\002\022\027\n\023PARTIAL_DTMF_DIGITS\020\004\022\031\n\025SPEECH_A" + + "CTIVITY_BEGIN\020\005\022\027\n\023SPEECH_ACTIVITY_END\020\006" + + "\"<\n\tTextInput\022\022\n\004text\030\001 \001(\tB\004\342A\001\001\022\033\n\rlan" + + "guage_code\030\002 \001(\tB\004\342A\001\002\"j\n\nEventInput\022\022\n\004" + + "name\030\001 \001(\tB\004\342A\001\002\022+\n\nparameters\030\002 \001(\0132\027.g" + + "oogle.protobuf.Struct\022\033\n\rlanguage_code\030\003" + + " \001(\tB\004\342A\001\002\"F\n\036SentimentAnalysisRequestCo" + + "nfig\022$\n\034analyze_query_text_sentiment\030\001 \001" + + "(\010\"\210\001\n\027SentimentAnalysisResult\022C\n\024query_" + + "text_sentiment\030\001 \001(\0132%.google.cloud.dial" + + "ogflow.v2.Sentiment\022(\n\006status\030\003 \001(\0132\022.go" + + "ogle.rpc.StatusB\004\342A\001\003\"-\n\tSentiment\022\r\n\005sc" + + "ore\030\001 \001(\002\022\021\n\tmagnitude\030\002 \001(\0022\345\005\n\010Session" + + "s\022\311\003\n\014DetectIntent\022/.google.cloud.dialog" + + "flow.v2.DetectIntentRequest\0320.google.clo" + + "ud.dialogflow.v2.DetectIntentResponse\"\325\002" + + "\332A\023session,query_input\202\323\344\223\002\270\002\"6/v2/{sess" + + "ion=projects/*/agent/sessions/*}:detectI" + + "ntent:\001*ZR\"M/v2/{session=projects/*/agen" + + "t/environments/*/users/*/sessions/*}:det" + + "ectIntent:\001*ZG\"B/v2/{session=projects/*/" + + "locations/*/agent/sessions/*}:detectInte" + + "nt:\001*Z^\"Y/v2/{session=projects/*/locatio" + + "ns/*/agent/environments/*/users/*/sessio" + + "ns/*}:detectIntent:\001*\022\222\001\n\025StreamingDetec" + + "tIntent\0228.google.cloud.dialogflow.v2.Str" + + "eamingDetectIntentRequest\0329.google.cloud" + + ".dialogflow.v2.StreamingDetectIntentResp" + + "onse\"\000(\0010\001\032x\312A\031dialogflow.googleapis.com" + + "\322AYhttps://www.googleapis.com/auth/cloud" + + "-platform,https://www.googleapis.com/aut" + + "h/dialogflowB\347\003\n\036com.google.cloud.dialog" + + "flow.v2B\014SessionProtoP\001Z>cloud.google.co" + + "m/go/dialogflow/apiv2/dialogflowpb;dialo" + + "gflowpb\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V" + + "2\352A\321\002\n!dialogflow.googleapis.com/Session" + + "\022+projects/{project}/agent/sessions/{ses" + + "sion}\022Sprojects/{project}/agent/environm" + + "ents/{environment}/users/{user}/sessions" + + "/{session}\022@projects/{project}/locations" + + "/{location}/agent/sessions/{session}\022hpr" + + "ojects/{project}/locations/{location}/ag" + + "ent/environments/{environment}/users/{us" + + "er}/sessions/{session}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -478,7 +467,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_dialogflow_v2_SentimentAnalysisResult_descriptor, new java.lang.String[] { - "QueryTextSentiment", + "QueryTextSentiment", "Status", }); internal_static_google_cloud_dialogflow_v2_Sentiment_descriptor = getDescriptor().getMessageType(13); diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechToTextConfig.java b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechToTextConfig.java index 89f7f39ddd75..c3d69418ecdf 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechToTextConfig.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechToTextConfig.java @@ -80,36 +80,6 @@ public interface GeminiAsrConfigOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.SpeechToTextConfig.GeminiAsrConfig) com.google.protobuf.MessageOrBuilder { - /** - * - * - *
-     * Optional. The Gemini ASR model ID used for transcription.
-     * This value overrides the default model ID configured on the server.
-     * Example: "gemini-3-flash-lite-asr-preview"
-     * 
- * - * string model_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The modelId. - */ - java.lang.String getModelId(); - - /** - * - * - *
-     * Optional. The Gemini ASR model ID used for transcription.
-     * This value overrides the default model ID configured on the server.
-     * Example: "gemini-3-flash-lite-asr-preview"
-     * 
- * - * string model_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for modelId. - */ - com.google.protobuf.ByteString getModelIdBytes(); - /** * * @@ -234,7 +204,6 @@ private GeminiAsrConfig(com.google.protobuf.GeneratedMessage.Builder builder) } private GeminiAsrConfig() { - modelId_ = ""; startOfSpeechSensitivity_ = 0; endOfSpeechSensitivity_ = 0; } @@ -603,63 +572,6 @@ private EndSensitivity(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dialogflow.v2.SpeechToTextConfig.GeminiAsrConfig.EndSensitivity) } - public static final int MODEL_ID_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object modelId_ = ""; - - /** - * - * - *
-     * Optional. The Gemini ASR model ID used for transcription.
-     * This value overrides the default model ID configured on the server.
-     * Example: "gemini-3-flash-lite-asr-preview"
-     * 
- * - * string model_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The modelId. - */ - @java.lang.Override - public java.lang.String getModelId() { - java.lang.Object ref = modelId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - modelId_ = s; - return s; - } - } - - /** - * - * - *
-     * Optional. The Gemini ASR model ID used for transcription.
-     * This value overrides the default model ID configured on the server.
-     * Example: "gemini-3-flash-lite-asr-preview"
-     * 
- * - * string model_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for modelId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getModelIdBytes() { - java.lang.Object ref = modelId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - modelId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - public static final int SILENCE_DURATION_MS_FIELD_NUMBER = 2; private int silenceDurationMs_ = 0; @@ -806,9 +718,6 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(modelId_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, modelId_); - } if (silenceDurationMs_ != 0) { output.writeInt32(2, silenceDurationMs_); } @@ -836,9 +745,6 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(modelId_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, modelId_); - } if (silenceDurationMs_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, silenceDurationMs_); } @@ -873,7 +779,6 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.dialogflow.v2.SpeechToTextConfig.GeminiAsrConfig other = (com.google.cloud.dialogflow.v2.SpeechToTextConfig.GeminiAsrConfig) obj; - if (!getModelId().equals(other.getModelId())) return false; if (getSilenceDurationMs() != other.getSilenceDurationMs()) return false; if (getPrefixPaddingMs() != other.getPrefixPaddingMs()) return false; if (startOfSpeechSensitivity_ != other.startOfSpeechSensitivity_) return false; @@ -889,8 +794,6 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + MODEL_ID_FIELD_NUMBER; - hash = (53 * hash) + getModelId().hashCode(); hash = (37 * hash) + SILENCE_DURATION_MS_FIELD_NUMBER; hash = (53 * hash) + getSilenceDurationMs(); hash = (37 * hash) + PREFIX_PADDING_MS_FIELD_NUMBER; @@ -1044,7 +947,6 @@ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { public Builder clear() { super.clear(); bitField0_ = 0; - modelId_ = ""; silenceDurationMs_ = 0; prefixPaddingMs_ = 0; startOfSpeechSensitivity_ = 0; @@ -1089,18 +991,15 @@ private void buildPartial0( com.google.cloud.dialogflow.v2.SpeechToTextConfig.GeminiAsrConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.modelId_ = modelId_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { result.silenceDurationMs_ = silenceDurationMs_; } - if (((from_bitField0_ & 0x00000004) != 0)) { + if (((from_bitField0_ & 0x00000002) != 0)) { result.prefixPaddingMs_ = prefixPaddingMs_; } - if (((from_bitField0_ & 0x00000008) != 0)) { + if (((from_bitField0_ & 0x00000004) != 0)) { result.startOfSpeechSensitivity_ = startOfSpeechSensitivity_; } - if (((from_bitField0_ & 0x00000010) != 0)) { + if (((from_bitField0_ & 0x00000008) != 0)) { result.endOfSpeechSensitivity_ = endOfSpeechSensitivity_; } } @@ -1121,11 +1020,6 @@ public Builder mergeFrom( if (other == com.google.cloud.dialogflow.v2.SpeechToTextConfig.GeminiAsrConfig .getDefaultInstance()) return this; - if (!other.getModelId().isEmpty()) { - modelId_ = other.modelId_; - bitField0_ |= 0x00000001; - onChanged(); - } if (other.getSilenceDurationMs() != 0) { setSilenceDurationMs(other.getSilenceDurationMs()); } @@ -1164,34 +1058,28 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - modelId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 case 16: { silenceDurationMs_ = input.readInt32(); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; break; } // case 16 case 24: { prefixPaddingMs_ = input.readInt32(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; break; } // case 24 case 32: { startOfSpeechSensitivity_ = input.readEnum(); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; break; } // case 32 case 40: { endOfSpeechSensitivity_ = input.readEnum(); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000008; break; } // case 40 default: @@ -1213,127 +1101,6 @@ public Builder mergeFrom( private int bitField0_; - private java.lang.Object modelId_ = ""; - - /** - * - * - *
-       * Optional. The Gemini ASR model ID used for transcription.
-       * This value overrides the default model ID configured on the server.
-       * Example: "gemini-3-flash-lite-asr-preview"
-       * 
- * - * string model_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The modelId. - */ - public java.lang.String getModelId() { - java.lang.Object ref = modelId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - modelId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-       * Optional. The Gemini ASR model ID used for transcription.
-       * This value overrides the default model ID configured on the server.
-       * Example: "gemini-3-flash-lite-asr-preview"
-       * 
- * - * string model_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for modelId. - */ - public com.google.protobuf.ByteString getModelIdBytes() { - java.lang.Object ref = modelId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - modelId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-       * Optional. The Gemini ASR model ID used for transcription.
-       * This value overrides the default model ID configured on the server.
-       * Example: "gemini-3-flash-lite-asr-preview"
-       * 
- * - * string model_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The modelId to set. - * @return This builder for chaining. - */ - public Builder setModelId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - modelId_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-       * Optional. The Gemini ASR model ID used for transcription.
-       * This value overrides the default model ID configured on the server.
-       * Example: "gemini-3-flash-lite-asr-preview"
-       * 
- * - * string model_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return This builder for chaining. - */ - public Builder clearModelId() { - modelId_ = getDefaultInstance().getModelId(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * - * - *
-       * Optional. The Gemini ASR model ID used for transcription.
-       * This value overrides the default model ID configured on the server.
-       * Example: "gemini-3-flash-lite-asr-preview"
-       * 
- * - * string model_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The bytes for modelId to set. - * @return This builder for chaining. - */ - public Builder setModelIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - modelId_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - private int silenceDurationMs_; /** @@ -1369,7 +1136,7 @@ public int getSilenceDurationMs() { public Builder setSilenceDurationMs(int value) { silenceDurationMs_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -1387,7 +1154,7 @@ public Builder setSilenceDurationMs(int value) { * @return This builder for chaining. */ public Builder clearSilenceDurationMs() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); silenceDurationMs_ = 0; onChanged(); return this; @@ -1428,7 +1195,7 @@ public int getPrefixPaddingMs() { public Builder setPrefixPaddingMs(int value) { prefixPaddingMs_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1446,7 +1213,7 @@ public Builder setPrefixPaddingMs(int value) { * @return This builder for chaining. */ public Builder clearPrefixPaddingMs() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); prefixPaddingMs_ = 0; onChanged(); return this; @@ -1488,7 +1255,7 @@ public int getStartOfSpeechSensitivityValue() { */ public Builder setStartOfSpeechSensitivityValue(int value) { startOfSpeechSensitivity_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -1538,7 +1305,7 @@ public Builder setStartOfSpeechSensitivity( if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; startOfSpeechSensitivity_ = value.getNumber(); onChanged(); return this; @@ -1558,7 +1325,7 @@ public Builder setStartOfSpeechSensitivity( * @return This builder for chaining. */ public Builder clearStartOfSpeechSensitivity() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); startOfSpeechSensitivity_ = 0; onChanged(); return this; @@ -1600,7 +1367,7 @@ public int getEndOfSpeechSensitivityValue() { */ public Builder setEndOfSpeechSensitivityValue(int value) { endOfSpeechSensitivity_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1649,7 +1416,7 @@ public Builder setEndOfSpeechSensitivity( if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000008; endOfSpeechSensitivity_ = value.getNumber(); onChanged(); return this; @@ -1669,7 +1436,7 @@ public Builder setEndOfSpeechSensitivity( * @return This builder for chaining. */ public Builder clearEndOfSpeechSensitivity() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); endOfSpeechSensitivity_ = 0; onChanged(); return this; @@ -2211,6 +1978,47 @@ public boolean getUseGeminiAsr() { return useGeminiAsr_; } + public static final int DISABLE_INTERIM_INPUT_TRANSCRIPTS_FIELD_NUMBER = 17; + private boolean disableInterimInputTranscripts_ = false; + + /** + * + * + *
+   * Optional. Disables emission of interim input transcriptions when set to
+   * `true`.
+   * 
+ * + * + * optional bool disable_interim_input_transcripts = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the disableInterimInputTranscripts field is set. + */ + @java.lang.Override + public boolean hasDisableInterimInputTranscripts() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * Optional. Disables emission of interim input transcriptions when set to
+   * `true`.
+   * 
+ * + * + * optional bool disable_interim_input_transcripts = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The disableInterimInputTranscripts. + */ + @java.lang.Override + public boolean getDisableInterimInputTranscripts() { + return disableInterimInputTranscripts_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -2258,6 +2066,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (useGeminiAsr_ != false) { output.writeBool(16, useGeminiAsr_); } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeBool(17, disableInterimInputTranscripts_); + } getUnknownFields().writeTo(output); } @@ -2306,6 +2117,11 @@ public int getSerializedSize() { if (useGeminiAsr_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, useGeminiAsr_); } + if (((bitField0_ & 0x00000002) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 17, disableInterimInputTranscripts_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -2335,6 +2151,12 @@ public boolean equals(final java.lang.Object obj) { if (!getGeminiAsrConfig().equals(other.getGeminiAsrConfig())) return false; } if (getUseGeminiAsr() != other.getUseGeminiAsr()) return false; + if (hasDisableInterimInputTranscripts() != other.hasDisableInterimInputTranscripts()) + return false; + if (hasDisableInterimInputTranscripts()) { + if (getDisableInterimInputTranscripts() != other.getDisableInterimInputTranscripts()) + return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2370,6 +2192,12 @@ public int hashCode() { } hash = (37 * hash) + USE_GEMINI_ASR_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseGeminiAsr()); + if (hasDisableInterimInputTranscripts()) { + hash = (37 * hash) + DISABLE_INTERIM_INPUT_TRANSCRIPTS_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getDisableInterimInputTranscripts()); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -2534,6 +2362,7 @@ public Builder clear() { geminiAsrConfigBuilder_ = null; } useGeminiAsr_ = false; + disableInterimInputTranscripts_ = false; return this; } @@ -2604,6 +2433,10 @@ private void buildPartial0(com.google.cloud.dialogflow.v2.SpeechToTextConfig res if (((from_bitField0_ & 0x00000200) != 0)) { result.useGeminiAsr_ = useGeminiAsr_; } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.disableInterimInputTranscripts_ = disableInterimInputTranscripts_; + to_bitField0_ |= 0x00000002; + } result.bitField0_ |= to_bitField0_; } @@ -2661,6 +2494,9 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.SpeechToTextConfig other if (other.getUseGeminiAsr() != false) { setUseGeminiAsr(other.getUseGeminiAsr()); } + if (other.hasDisableInterimInputTranscripts()) { + setDisableInterimInputTranscripts(other.getDisableInterimInputTranscripts()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -2749,6 +2585,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000200; break; } // case 128 + case 136: + { + disableInterimInputTranscripts_ = input.readBool(); + bitField0_ |= 0x00000400; + break; + } // case 136 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -4054,6 +3896,90 @@ public Builder clearUseGeminiAsr() { return this; } + private boolean disableInterimInputTranscripts_; + + /** + * + * + *
+     * Optional. Disables emission of interim input transcriptions when set to
+     * `true`.
+     * 
+ * + * + * optional bool disable_interim_input_transcripts = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the disableInterimInputTranscripts field is set. + */ + @java.lang.Override + public boolean hasDisableInterimInputTranscripts() { + return ((bitField0_ & 0x00000400) != 0); + } + + /** + * + * + *
+     * Optional. Disables emission of interim input transcriptions when set to
+     * `true`.
+     * 
+ * + * + * optional bool disable_interim_input_transcripts = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The disableInterimInputTranscripts. + */ + @java.lang.Override + public boolean getDisableInterimInputTranscripts() { + return disableInterimInputTranscripts_; + } + + /** + * + * + *
+     * Optional. Disables emission of interim input transcriptions when set to
+     * `true`.
+     * 
+ * + * + * optional bool disable_interim_input_transcripts = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The disableInterimInputTranscripts to set. + * @return This builder for chaining. + */ + public Builder setDisableInterimInputTranscripts(boolean value) { + + disableInterimInputTranscripts_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Disables emission of interim input transcriptions when set to
+     * `true`.
+     * 
+ * + * + * optional bool disable_interim_input_transcripts = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearDisableInterimInputTranscripts() { + bitField0_ = (bitField0_ & ~0x00000400); + disableInterimInputTranscripts_ = false; + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.v2.SpeechToTextConfig) } diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechToTextConfigOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechToTextConfigOrBuilder.java index 4586df2baaab..d947c258283e 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechToTextConfigOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SpeechToTextConfigOrBuilder.java @@ -375,4 +375,36 @@ public interface SpeechToTextConfigOrBuilder * @return The useGeminiAsr. */ boolean getUseGeminiAsr(); + + /** + * + * + *
+   * Optional. Disables emission of interim input transcriptions when set to
+   * `true`.
+   * 
+ * + * + * optional bool disable_interim_input_transcripts = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the disableInterimInputTranscripts field is set. + */ + boolean hasDisableInterimInputTranscripts(); + + /** + * + * + *
+   * Optional. Disables emission of interim input transcriptions when set to
+   * `true`.
+   * 
+ * + * + * optional bool disable_interim_input_transcripts = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The disableInterimInputTranscripts. + */ + boolean getDisableInterimInputTranscripts(); } diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SummarizationSection.java b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SummarizationSection.java index 3475ff57b8c4..62794a74c12c 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SummarizationSection.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SummarizationSection.java @@ -142,9 +142,10 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * "Unsatisfied" or "Satisfied" depending on the customer's feelings at
-     * the end of the conversation.
-     * Section name: "customer_satisfaction".
+     * Customer satisfaction derived from the text transcript only (not audio).
+     * Categorized based on customer statements by the end of the conversation.
+     * `D` for dissatisfied and `N` for neutral or satisfied (default).
+     * Section name: `customer_satisfaction`.
      * 
* * CUSTOMER_SATISFACTION = 5; @@ -272,9 +273,10 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * "Unsatisfied" or "Satisfied" depending on the customer's feelings at
-     * the end of the conversation.
-     * Section name: "customer_satisfaction".
+     * Customer satisfaction derived from the text transcript only (not audio).
+     * Categorized based on customer statements by the end of the conversation.
+     * `D` for dissatisfied and `N` for neutral or satisfied (default).
+     * Section name: `customer_satisfaction`.
      * 
* * CUSTOMER_SATISFACTION = 5; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/audio_config.proto b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/audio_config.proto index 7aa9b83d779c..9dd0129c7942 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/audio_config.proto +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/audio_config.proto @@ -195,6 +195,11 @@ message InputAudioConfig { // Cloud Speech-to-Text. If false, Cloud Speech-to-Text will be used. // If unset, this setting is inherited from the ConversationProfile. optional bool use_gemini_asr = 31 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Disables emission of interim input transcriptions when set to + // `true`. + optional bool disable_interim_input_transcripts = 32 + [(google.api.field_behavior) = OPTIONAL]; } // Description of which voice to use for speech synthesis. @@ -335,11 +340,6 @@ message SpeechToTextConfig { END_SENSITIVITY_LOW = 2; } - // Optional. The Gemini ASR model ID used for transcription. - // This value overrides the default model ID configured on the server. - // Example: "gemini-3-flash-lite-asr-preview" - string model_id = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The required duration of detected silence (or non-speech) // before end-of-speech is committed. int32 silence_duration_ms = 2 [(google.api.field_behavior) = OPTIONAL]; @@ -439,6 +439,11 @@ message SpeechToTextConfig { // Optional. If true, Gemini ASR will be used for transcription instead of // Cloud Speech-to-Text. bool use_gemini_asr = 16 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Disables emission of interim input transcriptions when set to + // `true`. + optional bool disable_interim_input_transcripts = 17 + [(google.api.field_behavior) = OPTIONAL]; } // [DTMF](https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling) diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/conversation_profile.proto b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/conversation_profile.proto index 281c0b052877..a31cc8ccfcc9 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/conversation_profile.proto +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/conversation_profile.proto @@ -689,9 +689,10 @@ message HumanAgentAssistantConfig { // Section name: "reason_for_cancellation". REASON_FOR_CANCELLATION = 4; - // "Unsatisfied" or "Satisfied" depending on the customer's feelings at - // the end of the conversation. - // Section name: "customer_satisfaction". + // Customer satisfaction derived from the text transcript only (not + // audio). Categorized based on customer statements by the end of the + // conversation. `D` for dissatisfied and `N` for neutral or satisfied + // (default). Section name: `customer_satisfaction`. CUSTOMER_SATISFACTION = 5; // Key entities extracted from the conversation, such as ticket number, diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/generator.proto b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/generator.proto index 6288ef8d1d13..a2088ecfc81b 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/generator.proto +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/generator.proto @@ -335,9 +335,10 @@ message SummarizationSection { // Section name: "reason_for_cancellation". REASON_FOR_CANCELLATION = 4; - // "Unsatisfied" or "Satisfied" depending on the customer's feelings at - // the end of the conversation. - // Section name: "customer_satisfaction". + // Customer satisfaction derived from the text transcript only (not audio). + // Categorized based on customer statements by the end of the conversation. + // `D` for dissatisfied and `N` for neutral or satisfied (default). + // Section name: `customer_satisfaction`. CUSTOMER_SATISFACTION = 5; // Key entities extracted from the conversation, such as ticket number, diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/participant.proto b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/participant.proto index b94a62faaeb1..1f90d6cd0d7f 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/participant.proto +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/participant.proto @@ -353,6 +353,10 @@ message Message { // Only one of `content` and `companion_query` should be set - not both. string content = 2 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Automated agent responses. + repeated ResponseMessage response_messages = 11 + [(google.api.field_behavior) = OPTIONAL]; + // Optional. The message language. // This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) // language tag. Example: "en-US". @@ -1150,6 +1154,32 @@ message AutomatedAgentReply { // call. DetectIntentResponse detect_intent_response = 1; + // Response messages from the automated agent. + repeated ResponseMessage response_messages = 3; + + // Name of the intent if an intent is matched for the query. + // For a V2 query, the value format is `projects//locations/ + // /agent/intents/`. + // For a V3 query, the value format is `projects//locations/ + // /agents//intents/`. + string intent = 4 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Intent" + }]; + + // Event name if an event is triggered for the query. + string event = 5; + + // The confidence of the match. Values range from 0.0 (completely uncertain) + // to 1.0 (completely certain). + // This value is for informational purpose only and is only used to help match + // the best intent within the classification threshold. This value may change + // for the same end-user expression at any time due to a model retraining or + // change in implementation. + float match_confidence = 9; + + // The collection of current parameters at the time of this response. + google.protobuf.Struct parameters = 10; + // AutomatedAgentReply type. AutomatedAgentReplyType automated_agent_reply_type = 7; @@ -1162,6 +1192,9 @@ message AutomatedAgentReply { // Format: `projects//locations//agents//flows//pages/`. string cx_current_page = 11; + + // The auth code for accessing Call Companion UI. + bytes call_companion_auth_code = 12; } // Represents article answer. @@ -1417,6 +1450,102 @@ message AssistQueryParameters { map documents_metadata_filters = 1; } +// Response messages from an automated agent. +message ResponseMessage { + // The text response message. + message Text { + // A collection of text response variants. If multiple variants are + // defined, only one text response variant is returned at runtime. + repeated string text = 1; + } + + // Indicates that the conversation should be handed off to a human agent. + // + // Dialogflow only uses this to determine which conversations were handed off + // to a human agent for measurement purposes. What else to do with this signal + // is up to you and your handoff procedures. + // + // You may set this, for example: + // + // * In the entry fulfillment of a CX Page if entering the page indicates + // something went extremely wrong in the conversation. + // * In a webhook response when you determine that the customer issue can only + // be handled by a human. + message LiveAgentHandoff { + // Custom metadata for your handoff procedure. Dialogflow doesn't impose + // any structure on this. + google.protobuf.Struct metadata = 1; + } + + // Indicates that interaction with the Dialogflow agent has ended. + message EndInteraction {} + + // Represents an audio message that is composed of both segments + // synthesized from the Dialogflow agent prompts and ones hosted externally + // at the specified URIs. + message MixedAudio { + // Represents one segment of audio. + message Segment { + // Content of the segment. + oneof content { + // Raw audio synthesized from the Dialogflow agent's response using + // the output config specified in the request. + bytes audio = 1; + + // Client-specific URI that points to an audio clip accessible to the + // client. + string uri = 2; + } + + // Whether the playback of this segment can be interrupted by the end + // user's speech and the client should then start the next Dialogflow + // request. + bool allow_playback_interruption = 3; + } + + // Segments this audio response is composed of. + repeated Segment segments = 1; + } + + // Represents the signal that telles the client to transfer the phone call + // connected to the agent to a third-party endpoint. + message TelephonyTransferCall { + // Endpoint to transfer the call to. + oneof endpoint { + // Transfer the call to a phone number + // in [E.164 format](https://en.wikipedia.org/wiki/E.164). + string phone_number = 1; + + // Transfer the call to a SIP endpoint. + string sip_uri = 2; + } + } + + // Required. The rich response message. + oneof message { + // Returns a text response. + Text text = 1; + + // Returns a response containing a custom, platform-specific payload. + google.protobuf.Struct payload = 2; + + // Hands off conversation to a live agent. + LiveAgentHandoff live_agent_handoff = 3; + + // A signal that indicates the interaction with the Dialogflow agent has + // ended. + EndInteraction end_interaction = 4; + + // An audio response message composed of both the synthesized Dialogflow + // agent responses and the audios hosted in places known to the client. + MixedAudio mixed_audio = 5; + + // A signal that the client should transfer the phone call connected to + // this agent to a third-party endpoint. + TelephonyTransferCall telephony_transfer_call = 6; + } +} + // The request message for // [Participants.SuggestKnowledgeAssist][google.cloud.dialogflow.v2.Participants.SuggestKnowledgeAssist]. message SuggestKnowledgeAssistRequest { @@ -2028,6 +2157,11 @@ message BidiStreamingAnalyzeContentRequest { // If unset, this setting is inherited from the ConversationProfile. optional bool use_gemini_asr = 25 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Disables emission of interim input transcriptions when set to + // `true`. + optional bool disable_interim_input_transcripts = 26 + [(google.api.field_behavior) = OPTIONAL]; } // Required. The name of the participant to fetch response for. diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session.proto b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session.proto index 025b28f6c153..8bb13132009f 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session.proto +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/proto/google/cloud/dialogflow/v2/session.proto @@ -801,6 +801,11 @@ message SentimentAnalysisRequestConfig { message SentimentAnalysisResult { // The sentiment analysis result for `query_text`. Sentiment query_text_sentiment = 1; + + // Output only. The status of the sentiment analysis operation. + // If the operation failed, this field will contain the error details. + // For example, it might indicate a quota issue (RESOURCE_EXHAUSTED). + google.rpc.Status status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } // The sentiment, such as positive/negative feeling or association, for a unit diff --git a/librarian.yaml b/librarian.yaml index 6331b586961a..6968e1fd852a 100644 --- a/librarian.yaml +++ b/librarian.yaml @@ -16,8 +16,8 @@ version: v0.48.0 repo: googleapis/google-cloud-java sources: googleapis: - commit: e7513c828b8db536fa12fc5493d541f323aedf90 - sha256: 2ef69787d1b7c2a60fdc8dae745435d115b95e45cc3262c050f4eccfd1889c27 + commit: ba591f1d7fdedc610639425448756cd8a64adc0f + sha256: 5780718b6fb8a126fd64e267401bdcc0b6a41a4e587a8a54cf195b6408235f1f showcase: commit: 5158967e8a41c751b15776142d190428ddb7e99f sha256: a31271ff2cdeb7cce91e93a4d58a66dcaaac574c51cc14bd74577ab1eafd3ccd @@ -58,7 +58,6 @@ libraries: - path: google/cloud/accessapproval/v1 java: api_description_override: enables controlling access to your organization's data by Google personnel. - released_version: 2.100.0 name_pretty_override: Access Approval product_documentation_override: https://cloud.google.com/access-approval/docs/ - name: accesscontextmanager @@ -75,7 +74,6 @@ libraries: java: api_description_override: n/a artifact_id: google-identity-accesscontextmanager - released_version: 1.100.0 name_pretty_override: Identity Access Context Manager product_documentation_override: n/a - name: admanager @@ -87,7 +85,6 @@ libraries: api_description_override: The Ad Manager API enables an app to integrate with Google Ad Manager. You can read Ad Manager data and run reports using the API. artifact_id: ad-manager client_documentation_override: https://cloud.google.com/java/docs/reference/ad-manager/latest/overview - released_version: 0.58.0 library_type_override: GAPIC_AUTO name_pretty_override: Google Ad Manager API product_documentation_override: https://developers.google.com/ad-manager/api/beta @@ -99,7 +96,6 @@ libraries: omit_common_resources: true java: api_description_override: An API for accessing Advisory Notifications in Google Cloud. - released_version: 0.88.0 name_pretty_override: Advisory Notifications API product_documentation_override: https://cloud.google.com/advisory-notifications/ - name: agentidentity @@ -115,8 +111,6 @@ libraries: additional_protos: - path: google/cloud/location/locations.proto - path: google/iam/v1/iam_policy.proto - java: - released_version: 0.5.0 - name: agentregistry version: 0.7.0-SNAPSHOT apis: @@ -124,8 +118,6 @@ libraries: java: additional_protos: - path: google/cloud/location/locations.proto - java: - released_version: 0.6.0 - name: aiplatform version: 3.101.0-SNAPSHOT apis: @@ -153,7 +145,6 @@ libraries: - google-cloud-aiplatform/src/test/java/com/google/iam/v1/MockIAMPolicyImpl.java java: api_description_override: is an integrated suite of machine learning tools and services for building and using ML models with AutoML or custom code. It offers both novices and experts the best workbench for the entire machine learning development lifecycle. - released_version: 3.100.0 name_pretty_override: Vertex AI product_documentation_override: https://cloud.google.com/vertex-ai/docs - name: alloydb @@ -176,7 +167,6 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: AlloyDB is a fully managed, PostgreSQL-compatible database service with industry-leading performance, availability, and scale. - released_version: 0.88.0 name_pretty_override: AlloyDB product_documentation_override: https://cloud.google.com/alloydb/ - name: alloydb-connectors @@ -206,7 +196,6 @@ libraries: java: api_id_override: connectors.googleapis.com api_description_override: AlloyDB is a fully-managed, PostgreSQL-compatible database for demanding transactional workloads. It provides enterprise-grade performance and availability while maintaining 100% compatibility with open-source PostgreSQL. - released_version: 0.77.0 name_pretty_override: AlloyDB connectors product_documentation_override: https://cloud.google.com/alloydb/docs transport_override: grpc @@ -219,7 +208,6 @@ libraries: api_description_override: allows you to manage Google Analytics accounts and properties. artifact_id: google-analytics-admin codeowner_team: '@googleapis/analytics-dpe' - released_version: 0.109.0 name_pretty_override: Analytics Admin product_documentation_override: https://developers.google.com/analytics - name: analytics-data @@ -232,7 +220,6 @@ libraries: api_description_override: provides programmatic methods to access report data in Google Analytics App+Web properties. artifact_id: google-analytics-data codeowner_team: '@googleapis/analytics-dpe' - released_version: 0.110.0 name_pretty_override: Analytics Data product_documentation_override: https://developers.google.com/analytics/trusted-testing/analytics-data - name: analyticshub @@ -241,7 +228,6 @@ libraries: - path: google/cloud/bigquery/analyticshub/v1 java: api_description_override: TBD - released_version: 0.96.0 name_pretty_override: Analytics Hub API product_documentation_override: https://cloud.google.com/bigquery/TBD - name: api-gateway @@ -251,7 +237,6 @@ libraries: java: api_id_override: apigateway.googleapis.com api_description_override: enables you to provide secure access to your backend services through a well-defined REST API that is consistent across all of your services, regardless of the service implementation. Clients consume your REST APIS to implement standalone apps for a mobile device or tablet, through apps running in a browser, or through any other type of app that can make a request to an HTTP endpoint. - released_version: 2.99.0 name_pretty_override: API Gateway product_documentation_override: https://cloud.google.com/api-gateway/docs - name: apigee-connect @@ -260,7 +245,6 @@ libraries: - path: google/cloud/apigeeconnect/v1 java: api_description_override: allows the Apigee hybrid management plane to connect securely to the MART service in the runtime plane without requiring you to expose the MART endpoint on the internet. - released_version: 2.99.0 name_pretty_override: Apigee Connect product_documentation_override: https://cloud.google.com/apigee/docs/hybrid/v1.3/apigee-connect/ - name: apihub @@ -274,7 +258,6 @@ libraries: api_id_override: apihub.googleapis.com api_description_override: API hub lets you consolidate and organize information about all of the APIs of interest to your organization. API hub lets you capture critical information about APIs that allows developers to discover and evaluate them easily and leverage the work of other teams wherever possible. API platform teams can use API hub to have visibility into and manage their portfolio of APIs. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-apihub/latest/overview - released_version: 0.52.0 library_type_override: GAPIC_AUTO name_pretty_override: API hub API product_documentation_override: https://cloud.google.com/apigee/docs/apihub/what-is-api-hub @@ -284,7 +267,6 @@ libraries: - path: google/api/apikeys/v2 java: api_description_override: API Keys lets you create and manage your API keys for your projects. - released_version: 0.97.0 name_pretty_override: API Keys API product_documentation_override: https://cloud.google.com/api-keys/ - name: appengine-admin @@ -294,7 +276,6 @@ libraries: java: api_description_override: you to manage your App Engine applications. codeowner_team: '@googleapis/aap-dpes' - released_version: 2.99.0 name_pretty_override: App Engine Admin API product_documentation_override: https://cloud.google.com/appengine/docs/admin-api/ - name: apphub @@ -307,7 +288,6 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: App Hub simplifies the process of building, running, and managing applications on Google Cloud. - released_version: 0.63.0 name_pretty_override: App Hub API product_documentation_override: https://cloud.google.com/app-hub/docs/overview - name: appoptimize @@ -321,7 +301,6 @@ libraries: api_id_override: appoptimize.googleapis.com api_description_override: The App Optimize API provides developers and platform teams with tools to monitor, analyze, and improve the performance and cost-efficiency of their cloud applications. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-appoptimize/latest/overview - released_version: 0.9.0 library_type_override: GAPIC_AUTO name_pretty_override: App Optimize API product_documentation_override: https://docs.cloud.google.com/app-optimize/overview @@ -332,8 +311,6 @@ libraries: java: additional_protos: - path: google/cloud/location/locations.proto - java: - released_version: 0.3.0 - name: area120-tables version: 0.104.0-SNAPSHOT apis: @@ -342,7 +319,6 @@ libraries: api_description_override: provides programmatic methods to the Area 120 Tables API. artifact_id: google-area120-tables group_id: com.google.area120 - released_version: 0.103.0 name_pretty_override: Area 120 Tables product_documentation_override: https://area120.google.com/ - name: artifact-registry @@ -359,7 +335,6 @@ libraries: java: api_description_override: provides a single place for your organization to manage container images and language packages (such as Maven and npm). It is fully integrated with Google Cloud's tooling and runtimes and comes with support for native artifact protocols. This makes it simple to integrate it with your CI/CD tooling to set up automated pipelines. codeowner_team: '@googleapis/aap-dpes' - released_version: 1.98.0 name_pretty_override: Artifact Registry product_documentation_override: https://cloud.google.com/artifact-registry - name: asset @@ -376,7 +351,6 @@ libraries: java: api_description_override: provides inventory services based on a time series database. This database keeps a five week history of Google Cloud asset metadata. The Cloud Asset Inventory export service allows you to export all asset metadata at a certain timestamp or export event change history during a timeframe. issue_tracker_override: https://issuetracker.google.com/issues/new?component=187210 - released_version: 3.103.0 name_pretty_override: Cloud Asset Inventory product_documentation_override: https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview - name: assured-workloads @@ -386,7 +360,6 @@ libraries: - path: google/cloud/assuredworkloads/v1beta1 java: api_description_override: allows you to secure your government workloads and accelerate your path to running compliant workloads on Google Cloud with Assured Workloads for Government. - released_version: 2.99.0 name_pretty_override: Assured Workloads for Government product_documentation_override: https://cloud.google.com/assured-workloads/ - name: auditmanager @@ -400,7 +373,6 @@ libraries: api_id_override: auditmanager.googleapis.com api_description_override: Lists information about the supported locations for this service. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-auditmanager/latest/overview - released_version: 0.17.0 library_type_override: GAPIC_AUTO name_pretty_override: Audit Manager API product_documentation_override: https://cloud.google.com/audit-manager/docs @@ -417,7 +389,6 @@ libraries: api_id_override: backstory.googleapis.com api_description_override: Common Universal Data Model (UDM) and Entity protos used by Chronicle. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-backstory/latest/overview - released_version: 0.7.0 library_type_override: GAPIC_AUTO name_pretty_override: Malachite Common Protos product_documentation_override: https://cloud.google.com/chronicle/docs/secops/secops-overview @@ -438,7 +409,6 @@ libraries: api_id_override: backupdr.googleapis.com api_description_override: 'Backup and DR Service is a powerful, centralized, cloud-first backup and disaster recovery solution for cloud-based and hybrid workloads. ' client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-backupdr/latest/overview - released_version: 0.58.0 library_type_override: GAPIC_AUTO name_pretty_override: Backup and DR Service API product_documentation_override: https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-dr @@ -452,7 +422,6 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: Bring your Oracle workloads to Google Cloud with Bare Metal Solution and jumpstart your cloud journey with minimal risk. - released_version: 0.99.0 name_pretty_override: Bare Metal Solution product_documentation_override: https://cloud.google.com/bare-metal/docs - name: batch @@ -469,7 +438,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: n/a - released_version: 0.99.0 name_pretty_override: Cloud Batch product_documentation_override: https://cloud.google.com/ - name: beyondcorp-appconnections @@ -483,7 +451,6 @@ libraries: java: api_description_override: is Google's implementation of the zero trust model. It builds upon a decade of experience at Google, combined with ideas and best practices from the community. By shifting access controls from the network perimeter to individual users, BeyondCorp enables secure work from virtually any location without the need for a traditional VPN. api_shortname_override: beyondcorp-appconnections - released_version: 0.97.0 name_pretty_override: BeyondCorp AppConnections product_documentation_override: https://cloud.google.com/beyondcorp-enterprise/ - name: beyondcorp-appconnectors @@ -497,7 +464,6 @@ libraries: java: api_description_override: provides methods to manage (create/read/update/delete) BeyondCorp AppConnectors. api_shortname_override: beyondcorp-appconnectors - released_version: 0.97.0 name_pretty_override: BeyondCorp AppConnectors product_documentation_override: cloud.google.com/beyondcorp-enterprise/ - name: beyondcorp-appgateways @@ -512,7 +478,6 @@ libraries: api_id_override: beyondcorp.googleapis.com api_description_override: A zero trust solution that enables secure access to applications and resources, and offers integrated threat and data protection. api_shortname_override: beyondcorp-appgateways - released_version: 0.97.0 name_pretty_override: BeyondCorp AppGateways product_documentation_override: https://cloud.google.com/beyondcorp-enterprise/ - name: beyondcorp-clientconnectorservices @@ -527,7 +492,6 @@ libraries: api_id_override: beyondcorp.googleapis.com api_description_override: A zero trust solution that enables secure access to applications and resources, and offers integrated threat and data protection. api_shortname_override: beyondcorp-clientconnectorservices - released_version: 0.97.0 name_pretty_override: BeyondCorp ClientConnectorServices product_documentation_override: https://cloud.google.com/beyondcorp-enterprise/ - name: beyondcorp-clientgateways @@ -542,7 +506,6 @@ libraries: api_id_override: beyondcorp.googleapis.com api_description_override: A zero trust solution that enables secure access to applications and resources, and offers integrated threat and data protection. api_shortname_override: beyondcorp-clientgateways - released_version: 0.97.0 name_pretty_override: BeyondCorp ClientGateways product_documentation_override: https://cloud.google.com/beyondcorp-enterprise/ - name: biglake @@ -554,15 +517,12 @@ libraries: - path: google/cloud/bigquery/biglake/v1alpha1 java: api_description_override: The BigLake API provides access to BigLake Metastore, a serverless, fully managed, and highly available metastore for open-source data that can be used for querying Apache Iceberg tables in BigQuery. - released_version: 0.87.0 name_pretty_override: BigLake product_documentation_override: https://cloud.google.com/biglake - name: biglake-hive version: 0.5.0-SNAPSHOT apis: - path: google/cloud/biglake/hive/v1 - java: - released_version: 0.4.0 - name: bigquery-data-exchange version: 2.95.0-SNAPSHOT apis: @@ -572,7 +532,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: is a data exchange that allows you to efficiently and securely exchange data assets across organizations to address challenges of data reliability and cost. - released_version: 2.94.0 name_pretty_override: Analytics Hub product_documentation_override: https://cloud.google.com/analytics-hub - name: bigqueryconnection @@ -583,7 +542,6 @@ libraries: java: api_description_override: allows users to manage BigQuery connections to external data sources. client_documentation_override: https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1beta1 - released_version: 2.101.0 name_pretty_override: Cloud BigQuery Connection product_documentation_override: https://cloud.google.com/bigquery/docs/reference/bigqueryconnection/rest - name: bigquerydatapolicy @@ -595,7 +553,6 @@ libraries: - path: google/cloud/bigquery/datapolicies/v1beta1 java: api_description_override: Allows users to manage BigQuery data policies. - released_version: 0.96.0 name_pretty_override: BigQuery DataPolicy API product_documentation_override: https://cloud.google.com/bigquery/docs/reference/datapolicy/ - name: bigquerydatatransfer @@ -629,7 +586,6 @@ libraries: func_name: public static List toStringList(List<@Nullable RunName> values) java: api_description_override: transfers data from partner SaaS applications to Google BigQuery on a scheduled, managed basis. - released_version: 2.99.0 name_pretty_override: BigQuery Data Transfer Service product_documentation_override: https://cloud.google.com/bigquery/transfer/ - name: bigquerymigration @@ -639,7 +595,6 @@ libraries: - path: google/cloud/bigquery/migration/v2alpha java: api_description_override: BigQuery Migration API - released_version: 0.102.0 name_pretty_override: BigQuery Migration product_documentation_override: https://cloud.google.com/bigquery/docs - name: bigqueryreservation @@ -648,7 +603,6 @@ libraries: - path: google/cloud/bigquery/reservation/v1 java: api_description_override: allows users to manage their flat-rate BigQuery reservations. - released_version: 2.100.0 name_pretty_override: Cloud BigQuery Reservation product_documentation_override: https://cloud.google.com/bigquery/docs/reference/reservations/rpc - name: bigquerystorage @@ -776,7 +730,6 @@ libraries: client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-bigquerystorage/latest/history codeowner_team: '@googleapis/bigquery-team' issue_tracker_override: https://issuetracker.google.com/savedsearches/559654 - released_version: 3.35.0 library_type_override: GAPIC_COMBO name_pretty_override: BigQuery Storage product_documentation_override: https://cloud.google.com/bigquery/docs/reference/storage/ @@ -872,7 +825,6 @@ libraries: excluded_poms: - google-cloud-bigtable-bom issue_tracker_override: https://issuetracker.google.com/savedsearches/559777 - released_version: 2.85.0 library_type_override: GAPIC_COMBO name_pretty_override: Cloud Bigtable product_documentation_override: https://cloud.google.com/bigtable @@ -888,7 +840,6 @@ libraries: java: api_description_override: allows developers to manage their billing accounts or browse the catalog of SKUs and pricing. issue_tracker_override: https://issuetracker.google.com/savedsearches/559770 - released_version: 2.99.0 name_pretty_override: Cloud Billing product_documentation_override: https://cloud.google.com/billing/docs - name: billingbudgets @@ -898,7 +849,6 @@ libraries: - path: google/cloud/billing/budgets/v1beta1 java: api_description_override: allows you to avoid surprises on your bill by creating budgets to monitor all your Google Cloud charges in one place. - released_version: 2.99.0 name_pretty_override: Cloud Billing Budgets product_documentation_override: https://cloud.google.com/billing/docs/how-to/budgets - name: binary-authorization @@ -910,7 +860,6 @@ libraries: api_id_override: binaryauthorization.googleapis.com api_description_override: ' is a service on Google Cloud that provides centralized software supply-chain security for applications that run on Google Kubernetes Engine (GKE) and Anthos clusters on VMware' codeowner_team: '@googleapis/aap-dpes' - released_version: 1.98.0 name_pretty_override: Binary Authorization product_documentation_override: https://cloud.google.com/binary-authorization/docs - name: capacityplanner @@ -921,7 +870,6 @@ libraries: api_id_override: capacityplanner.googleapis.com api_description_override: Provides programmatic access to Capacity Planner features. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-capacityplanner/latest/overview - released_version: 0.22.0 library_type_override: GAPIC_AUTO name_pretty_override: Capacity Planner API product_documentation_override: https://cloud.google.com/capacity-planner/docs @@ -935,7 +883,6 @@ libraries: java: api_id_override: certificatemanager.googleapis.com api_description_override: lets you acquire and manage TLS (SSL) certificates for use with Cloud Load Balancing. - released_version: 0.102.0 name_pretty_override: Certificate Manager product_documentation_override: https://cloud.google.com/certificate-manager/docs - name: ces @@ -953,7 +900,6 @@ libraries: api_id_override: ces.googleapis.com api_description_override: Customer Experience Agent Studio (CX Agent Studio) is a minimal code conversational agent builder. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-ces/latest/overview - released_version: 0.15.0 library_type_override: GAPIC_AUTO name_pretty_override: Gemini Enterprise for Customer Experience API product_documentation_override: https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps @@ -963,7 +909,6 @@ libraries: - path: google/cloud/channel/v1 java: api_description_override: With Channel Services, Google Cloud partners and resellers have a single unified resale platform, with a unified resale catalog, customer management, order management, billing management, policy and authorization management, and cost management. - released_version: 3.103.0 name_pretty_override: Channel Services product_documentation_override: https://cloud.google.com/channel/docs - name: chat @@ -972,7 +917,6 @@ libraries: - path: google/chat/v1 java: api_description_override: The Google Chat API lets you build Chat apps to integrate your services with Google Chat and manage Chat resources such as spaces, members, and messages. - released_version: 0.63.0 name_pretty_override: Google Chat API product_documentation_override: https://developers.google.com/chat/concepts - name: chronicle @@ -983,7 +927,6 @@ libraries: api_id_override: chronicle.googleapis.com api_description_override: The Google Cloud Security Operations API, popularly known as the Chronicle API, serves endpoints that enable security analysts to analyze and mitigate a security threat throughout its lifecycle client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-chronicle/latest/overview - released_version: 0.37.0 library_type_override: GAPIC_AUTO name_pretty_override: Chronicle API product_documentation_override: https://cloud.google.com/chronicle/docs/secops/secops-overview @@ -1002,7 +945,6 @@ libraries: api_id_override: cloudapiregistry.googleapis.com api_description_override: Cloud API Registry lets you discover, govern, use, and monitor Model Context Protocol (MCP) servers and tools provided by Google, or by your organization through Apigee API hub. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-cloudapiregistry/latest/overview - released_version: 0.18.0 library_type_override: GAPIC_AUTO name_pretty_override: Cloud API Registry API product_documentation_override: https://docs.cloud.google.com/api-registry/docs/overview @@ -1019,7 +961,6 @@ libraries: api_description_override: lets you build software quickly across all languages. Get complete control over defining custom workflows for building, testing, and deploying across multiple environments such as VMs, serverless, Kubernetes, or Firebase. artifact_id: google-cloud-build codeowner_team: '@googleapis/aap-dpes' - released_version: 3.101.0 name_pretty_override: Cloud Build product_documentation_override: https://cloud.google.com/cloud-build/ - name: cloudcommerceconsumerprocurement @@ -1029,7 +970,6 @@ libraries: - path: google/cloud/commerce/consumer/procurement/v1alpha1 java: api_description_override: Find top solutions integrated with Google Cloud to accelerate your digital transformation. Scale and simplify procurement for your organization with online discovery, flexible purchasing, and fulfillment of enterprise-grade cloud solutions. - released_version: 0.97.0 name_pretty_override: Cloud Commerce Consumer Procurement product_documentation_override: https://cloud.google.com/marketplace/ - name: cloudcontrolspartner @@ -1039,7 +979,6 @@ libraries: - path: google/cloud/cloudcontrolspartner/v1beta java: api_description_override: Provides insights about your customers and their Assured Workloads based on your Sovereign Controls by Partners offering. - released_version: 0.63.0 name_pretty_override: Cloud Controls Partner API product_documentation_override: https://cloud.google.com/sovereign-controls-by-partners/docs/sovereign-partners - name: cloudquotas @@ -1056,7 +995,6 @@ libraries: Cloud Quotas API provides GCP service consumers with management and observability for resource usage, quotas, and restrictions of the services they consume. - released_version: 0.67.0 name_pretty_override: Cloud Quotas API product_documentation_override: https://cloud.google.com/cloudquotas/docs/ - name: cloudsecuritycompliance @@ -1070,7 +1008,6 @@ libraries: api_id_override: cloudsecuritycompliance.googleapis.com api_description_override: Compliance Manager uses software-defined controls that let you assess support for multiple compliance programs and security requirements within a Google Cloud organization client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/overview - released_version: 0.26.0 library_type_override: GAPIC_AUTO name_pretty_override: Cloud Security Compliance API product_documentation_override: https://cloud.google.com/security-command-center/docs/compliance-manager-overview @@ -1081,7 +1018,6 @@ libraries: - path: google/cloud/support/v2beta java: api_description_override: Manages Google Cloud technical support cases for Customer Care support offerings. - released_version: 0.83.0 name_pretty_override: Google Cloud Support API product_documentation_override: https://cloud.google.com/support/docs/reference/support-api/ - name: commerceproducer @@ -1091,8 +1027,6 @@ libraries: java: additional_protos: - path: google/cloud/location/locations.proto - java: - released_version: 0.5.0 - name: common-protos version: 2.79.0-SNAPSHOT apis: @@ -1193,7 +1127,6 @@ libraries: - proto-google-common-protos-bom - proto-google-common-protos group_id: com.google.api.grpc - released_version: 2.78.0 library_type_override: OTHER name_pretty_override: Common Protos product_documentation_override: https://github.com/googleapis/api-common-protos @@ -1216,7 +1149,6 @@ libraries: api_description_override: 'delivers virtual machines running in Google''s innovative data centers and worldwide fiber network. Compute Engine''s tooling and workflow support enable scaling from single instances to global, load-balanced cloud computing. Compute Engine''s VMs boot quickly, come with persistent disk storage, deliver consistent performance and are available in many configurations. ' excluded_poms: - grpc-google-cloud-compute-v1 - released_version: 1.109.0 name_pretty_override: Compute Engine product_documentation_override: https://cloud.google.com/compute/ - name: confidentialcomputing @@ -1232,7 +1164,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: Protect data in-use with Confidential VMs, Confidential GKE, Confidential Dataproc, and Confidential Space. - released_version: 0.85.0 name_pretty_override: Confidential Computing API product_documentation_override: https://cloud.google.com/confidential-computing/ - name: configdelivery @@ -1250,7 +1181,6 @@ libraries: api_id_override: configdelivery.googleapis.com api_description_override: ConfigDelivery service manages the deployment of kubernetes configuration to a fleet of kubernetes clusters. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-configdelivery/latest/overview - released_version: 0.33.0 library_type_override: GAPIC_AUTO name_pretty_override: Config Delivery API product_documentation_override: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/concepts/fleet-packages @@ -1262,7 +1192,6 @@ libraries: api_id_override: connectgateway.googleapis.com api_description_override: The Connect Gateway service allows connectivity from external parties to connected Kubernetes clusters. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-connectgateway/latest/overview - released_version: 0.51.0 library_type_override: GAPIC_AUTO name_pretty_override: Connect Gateway API product_documentation_override: https://cloud.google.com/kubernetes-engine/enterprise/multicluster-management/gateway @@ -1273,7 +1202,6 @@ libraries: java: api_description_override: ' helps users detect and visualize patterns in their contact center data.' codeowner_team: '@googleapis/api-contact-center-insights' - released_version: 2.99.0 name_pretty_override: CCAI Insights product_documentation_override: https://cloud.google.com/dialogflow/priv/docs/insights/ - name: container @@ -1288,7 +1216,6 @@ libraries: api_description_override: is an enterprise-grade platform for containerized applications, including stateful and stateless, AI and ML, Linux and Windows, complex and simple web apps, API, and backend services. Leverage industry-first features like four-way auto-scaling and no-stress management. Optimize GPU and TPU provisioning, use integrated developer tools, and get multi-cluster support from SREs. codeowner_team: '@googleapis/cloud-sdk-java-team' issue_tracker_override: https://issuetracker.google.com/savedsearches/559777 - released_version: 2.102.0 name_pretty_override: Kubernetes Engine product_documentation_override: https://cloud.google.com/kubernetes-engine/ - name: containeranalysis @@ -1327,7 +1254,6 @@ libraries: java: api_description_override: is a service that provides vulnerability scanning and metadata storage for software artifacts. The service performs vulnerability scans on built software artifacts, such as the images in Container Registry, then stores the resulting metadata and makes it available for consumption through an API. The metadata may come from several sources, including vulnerability scanning, other Cloud services, and third-party providers. codeowner_team: '@googleapis/aap-dpes' - released_version: 2.100.0 name_pretty_override: Cloud Container Analysis product_documentation_override: https://cloud.google.com/container-registry/docs/container-analysis - name: contentwarehouse @@ -1336,7 +1262,6 @@ libraries: - path: google/cloud/contentwarehouse/v1 java: api_description_override: Document AI Warehouse is an integrated cloud-native GCP platform to store, search, organize, govern and analyze documents and their structured metadata. - released_version: 0.95.0 name_pretty_override: Document AI Warehouse product_documentation_override: https://cloud.google.com/document-warehouse/docs/overview - name: data-fusion @@ -1346,7 +1271,6 @@ libraries: - path: google/cloud/datafusion/v1beta1 java: api_description_override: is a fully managed, cloud-native, enterprise data integration service for quickly building and managing data pipelines. - released_version: 1.99.0 name_pretty_override: Cloud Data Fusion product_documentation_override: https://cloud.google.com/data-fusion/docs - name: databasecenter @@ -1357,7 +1281,6 @@ libraries: api_id_override: databasecenter.googleapis.com api_description_override: Database Center provides an organization-wide, cross-product fleet health platform to eliminate the overhead, complexity, and risk associated with aggregating and summarizing health signals through custom dashboards. Through Database Center's fleet health dashboard and API, database platform teams that are responsible for reliability, compliance, security, cost, and administration of database fleets will now have a single pane of glass that pinpoints issues relevant to each team. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/overview - released_version: 0.20.0 library_type_override: GAPIC_AUTO name_pretty_override: Database Center API product_documentation_override: https://cloud.google.com/database-center/docs/overview @@ -1367,7 +1290,6 @@ libraries: - path: google/dataflow/v1beta3 java: api_description_override: is a managed service for executing a wide variety of data processing patterns. - released_version: 0.103.0 name_pretty_override: Dataflow product_documentation_override: https://cloud.google.com/dataflow/docs - name: dataform @@ -1385,7 +1307,6 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: Help analytics teams manage data inside BigQuery using SQL. - released_version: 0.98.0 name_pretty_override: Cloud Dataform product_documentation_override: https://cloud.google.com/dataform/docs - name: datalineage @@ -1395,7 +1316,6 @@ libraries: - path: google/cloud/datacatalog/lineage/configmanagement/v1 java: api_description_override: Lineage is used to track data flows between assets over time. - released_version: 0.91.0 name_pretty_override: Data Lineage product_documentation_override: https://cloud.google.com/dataplex/docs/about-data-lineage - name: datamanager @@ -1407,7 +1327,6 @@ libraries: api_description_override: A unified ingestion API for data partners, agencies and advertisers to connect first-party data across Google advertising products. artifact_id: data-manager client_documentation_override: https://cloud.google.com/java/docs/reference/data-manager/latest/overview - released_version: 0.20.0 library_type_override: GAPIC_AUTO name_pretty_override: Data Manager API product_documentation_override: https://developers.google.com/data-manager @@ -1421,7 +1340,6 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: provides intelligent data fabric that enables organizations to centrally manage, monitor, and govern their data across data lakes, data warehouses, and data marts with consistent controls, providing access to trusted data and powering analytics at scale. - released_version: 1.97.0 name_pretty_override: Cloud Dataplex product_documentation_override: https://cloud.google.com/dataplex - name: dataproc @@ -1434,7 +1352,6 @@ libraries: java: api_description_override: is a faster, easier, more cost-effective way to run Apache Spark and Apache Hadoop. codeowner_team: '@googleapis/api-dataproc' - released_version: 4.96.0 name_pretty_override: Dataproc product_documentation_override: https://cloud.google.com/dataproc - name: dataproc-metastore @@ -1457,7 +1374,6 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: is a fully managed, highly available, autoscaled, autohealing, OSS-native metastore service that greatly simplifies technical metadata management. Dataproc Metastore service is based on Apache Hive metastore and serves as a critical component towards enterprise data lakes. - released_version: 2.100.0 name_pretty_override: Dataproc Metastore product_documentation_override: https://cloud.google.com/dataproc-metastore/docs - name: datastore @@ -1477,7 +1393,6 @@ libraries: client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-datastore/latest/history excluded_poms: - grpc-google-cloud-datastore-v1 - released_version: 3.7.0 library_type_override: GAPIC_COMBO name_pretty_override: Cloud Datastore product_documentation_override: https://cloud.google.com/datastore @@ -1493,7 +1408,6 @@ libraries: - path: google/cloud/datastream/v1alpha1 java: api_description_override: is a serverless and easy-to-use change data capture (CDC) and replication service. It allows you to synchronize data across heterogeneous databases and applications reliably, and with minimal latency and downtime. - released_version: 1.98.0 name_pretty_override: Datastream product_documentation_override: https://cloud.google.com/datastream/docs - name: deploy @@ -1507,7 +1421,6 @@ libraries: java: api_description_override: is a service that automates delivery of your applications to a series of target environments in a defined sequence codeowner_team: '@googleapis/aap-dpes' - released_version: 1.97.0 name_pretty_override: Google Cloud Deploy product_documentation_override: https://cloud.google.com/deploy/docs - name: developerconnect @@ -1521,7 +1434,6 @@ libraries: api_id_override: developerconnect.googleapis.com api_description_override: Connect third-party source code management to Google client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-developerconnect/latest/overview - released_version: 0.56.0 library_type_override: GAPIC_AUTO name_pretty_override: Developer Connect API product_documentation_override: https://cloud.google.com/developer-connect/docs/overview @@ -1534,7 +1446,6 @@ libraries: api_description_override: The Developer Knowledge API provides access to Google's developer knowledge artifact_id: google-cloud-developer-knowledge client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-developer-knowledge/latest/overview - released_version: 0.7.0 library_type_override: GAPIC_AUTO name_pretty_override: Developer Knowledge API product_documentation_override: https://developers.google.com/knowledge @@ -1546,7 +1457,6 @@ libraries: api_id_override: devicestreaming.googleapis.com api_description_override: The Cloud API for device streaming usage. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-devicestreaming/latest/overview - released_version: 0.39.0 library_type_override: GAPIC_AUTO name_pretty_override: Device Streaming API product_documentation_override: https://cloud.google.com/device-streaming/docs @@ -1622,7 +1532,6 @@ libraries: java: api_description_override: is an end-to-end, build-once deploy-everywhere development suite for creating conversational interfaces for websites, mobile applications, popular messaging platforms, and IoT devices. You can use it to build interfaces (such as chatbots and conversational IVR) that enable natural and rich interactions between your users and your business. Dialogflow Enterprise Edition users have access to Google Cloud Support and a service level agreement (SLA) for production deployments. issue_tracker_override: https://issuetracker.google.com/savedsearches/5300385 - released_version: 4.105.0 name_pretty_override: Dialogflow API product_documentation_override: https://cloud.google.com/dialogflow-enterprise/ - name: dialogflow-cx @@ -1639,7 +1548,6 @@ libraries: java: api_description_override: provides a new way of designing agents, taking a state machine approach to agent design. This gives you clear and explicit control over a conversation, a better end-user experience, and a better development workflow. api_shortname_override: dialogflow-cx - released_version: 0.110.0 name_pretty_override: Dialogflow CX product_documentation_override: https://cloud.google.com/dialogflow/cx/docs - name: discoveryengine @@ -1659,7 +1567,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: A Cloud API that offers search and recommendation discoverability for documents from different industry verticals (e.g. media, retail, etc.). - released_version: 0.95.0 name_pretty_override: Discovery Engine API product_documentation_override: https://cloud.google.com/discovery-engine/media/docs - name: distributedcloudedge @@ -1673,7 +1580,6 @@ libraries: api_id_override: edgecontainer.googleapis.com api_description_override: Google Distributed Cloud Edge allows you to run Kubernetes clusters on dedicated hardware provided and maintained by Google that is separate from the Google Cloud data center. api_shortname_override: distributedcloudedge - released_version: 0.96.0 name_pretty_override: Google Distributed Cloud Edge product_documentation_override: https://cloud.google.com/distributed-cloud/edge/latest/ - name: dlp @@ -1718,7 +1624,6 @@ libraries: java: api_description_override: provides programmatic access to a powerful detection engine for personally identifiable information and other privacy-sensitive data in unstructured data streams, like text blocks and images. issue_tracker_override: https://issuetracker.google.com/savedsearches/5548083 - released_version: 3.103.0 name_pretty_override: Cloud Data Loss Prevention product_documentation_override: https://cloud.google.com/dlp/docs/ - name: dms @@ -1728,7 +1633,6 @@ libraries: java: api_id_override: datamigration.googleapis.com api_description_override: makes it easier for you to migrate your data to Google Cloud. This service helps you lift and shift your MySQL and PostgreSQL workloads into Cloud SQL. - released_version: 2.98.0 name_pretty_override: Database Migration Service product_documentation_override: https://cloud.google.com/database-migration/docs - name: document-ai @@ -1745,7 +1649,6 @@ libraries: java: api_description_override: allows developers to unlock insights from your documents with machine learning. issue_tracker_override: https://issuetracker.google.com/savedsearches/559755 - released_version: 2.103.0 name_pretty_override: Document AI product_documentation_override: https://cloud.google.com/compute/docs/documentai/ - name: domains @@ -1756,7 +1659,6 @@ libraries: - path: google/cloud/domains/v1alpha2 java: api_description_override: allows you to register and manage domains by using Cloud Domains. - released_version: 1.96.0 name_pretty_override: Cloud Domains product_documentation_override: https://cloud.google.com/domains - name: edgenetwork @@ -1768,7 +1670,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: Network management API for Distributed Cloud Edge. - released_version: 0.67.0 name_pretty_override: Distributed Cloud Edge Network API product_documentation_override: https://cloud.google.com/distributed-cloud/edge/latest/docs/overview - name: enterpriseknowledgegraph @@ -1777,7 +1678,6 @@ libraries: - path: google/cloud/enterpriseknowledgegraph/v1 java: api_description_override: Enterprise Knowledge Graph organizes siloed information into organizational knowledge, which involves consolidating, standardizing, and reconciling data in an efficient and useful way. - released_version: 0.95.0 name_pretty_override: Enterprise Knowledge Graph product_documentation_override: https://cloud.google.com/enterprise-knowledge-graph/docs/overview - name: errorreporting @@ -1830,7 +1730,6 @@ libraries: } java: api_description_override: 'counts, analyzes, and aggregates the crashes in your running cloud services. A centralized error management interface displays the results with sorting and filtering capabilities. A dedicated view shows the error details: time chart, occurrences, affected user count, first- and last-seen dates and a cleaned exception stack trace. Opt in to receive email and mobile alerts on new errors.' - released_version: 0.220.0-beta name_pretty_override: Error Reporting product_documentation_override: https://cloud.google.com/error-reporting billing_not_required: true @@ -1840,7 +1739,6 @@ libraries: - path: google/cloud/essentialcontacts/v1 java: api_description_override: helps you customize who receives notifications by providing your own list of contacts in many Google Cloud services. - released_version: 2.99.0 name_pretty_override: Essential Contacts API product_documentation_override: https://cloud.google.com/resource-manager/docs/managing-notification-contacts/ - name: eventarc @@ -1854,7 +1752,6 @@ libraries: java: api_description_override: lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management, you can optimize productivity and costs while building a modern, event-driven solution. codeowner_team: '@googleapis/aap-dpes' - released_version: 1.99.0 name_pretty_override: Eventarc product_documentation_override: https://cloud.google.com/eventarc/docs - name: eventarc-publishing @@ -1864,7 +1761,6 @@ libraries: java: api_id_override: eventarc-publishing.googleapis.com api_description_override: lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. - released_version: 0.99.0 name_pretty_override: Eventarc Publishing product_documentation_override: https://cloud.google.com/eventarc/docs - name: filestore @@ -1882,7 +1778,6 @@ libraries: generate_proto_classes: true java: api_description_override: instances are fully managed NFS file servers on Google Cloud for use with applications running on Compute Engine virtual machines (VMs) instances or Google Kubernetes Engine clusters. - released_version: 1.100.0 name_pretty_override: Cloud Filestore API product_documentation_override: https://cloud.google.com/filestore/docs - name: financialservices @@ -1896,7 +1791,6 @@ libraries: api_id_override: financialservices.googleapis.com api_description_override: Google Cloud's Anti Money Laundering AI (AML AI) product is an API that scores AML risk. Use it to identify more risk, more defensibly, with fewer false positives and reduced time per review. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-financialservices/latest/overview - released_version: 0.40.0 library_type_override: GAPIC_AUTO name_pretty_override: Financial Services API product_documentation_override: https://cloud.google.com/financial-services/anti-money-laundering/docs/concepts/overview @@ -1959,7 +1853,6 @@ libraries: excluded_poms: - google-cloud-firestore - google-cloud-firestore-bom - released_version: 3.49.0 library_type_override: GAPIC_COMBO name_pretty_override: Cloud Firestore product_documentation_override: https://cloud.google.com/firestore @@ -1973,8 +1866,6 @@ libraries: java: additional_protos: - path: google/cloud/location/locations.proto - java: - released_version: 0.4.0 - name: functions version: 2.102.0-SNAPSHOT apis: @@ -2001,7 +1892,6 @@ libraries: java: api_description_override: is a scalable pay as you go Functions-as-a-Service (FaaS) to run your code with zero server management. codeowner_team: '@googleapis/aap-dpes' - released_version: 2.101.0 name_pretty_override: Cloud Functions product_documentation_override: https://cloud.google.com/functions - name: gdchardwaremanagement @@ -2015,7 +1905,6 @@ libraries: api_id_override: gdchardwaremanagement.googleapis.com api_description_override: Google Distributed Cloud connected allows you to run Kubernetes clusters on dedicated hardware provided and maintained by Google that is separate from the Google Cloud data center. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-gdchardwaremanagement/latest/overview - released_version: 0.54.0 library_type_override: GAPIC_AUTO name_pretty_override: GDC Hardware Management API product_documentation_override: https://cloud.google.com/distributed-cloud/edge/latest/docs @@ -2034,7 +1923,6 @@ libraries: api_id_override: geminidataanalytics.googleapis.com api_description_override: Use Conversational Analytics API to build an artificial intelligence (AI)-powered chat interface, or data agent, that answers questions about structured data using natural language. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-geminidataanalytics/latest/overview - released_version: 0.27.0 library_type_override: GAPIC_AUTO name_pretty_override: Data Analytics API with Gemini product_documentation_override: https://cloud.google.com/gemini/docs/conversational-analytics-api/overview @@ -2050,7 +1938,6 @@ libraries: api_id_override: gkebackup.googleapis.com api_description_override: is a service for backing up and restoring workloads in GKE. api_shortname_override: gke-backup - released_version: 0.98.0 name_pretty_override: Backup for GKE product_documentation_override: 'https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/concepts/backup-for-gke ' - name: gke-connect-gateway @@ -2059,7 +1946,6 @@ libraries: - path: google/cloud/gkeconnect/gateway/v1beta1 java: api_description_override: builds on the power of fleets to let Anthos users connect to and run commands against registered Anthos clusters in a simple, consistent, and secured way, whether the clusters are on Google Cloud, other public clouds, or on premises, and makes it easier to automate DevOps processes across all your clusters. - released_version: 0.100.0 name_pretty_override: Connect Gateway API product_documentation_override: https://cloud.google.com/anthos/multicluster-management/gateway/ - name: gke-multi-cloud @@ -2070,7 +1956,6 @@ libraries: api_id_override: gkemulticloud.googleapis.com api_description_override: enables you to provision and manage GKE clusters running on AWS and Azure infrastructure through a centralized Google Cloud backed control plane. api_shortname_override: gke-multi-cloud - released_version: 0.98.0 name_pretty_override: Anthos Multicloud product_documentation_override: https://cloud.google.com/anthos/clusters/docs/multi-cloud - name: gkehub @@ -2102,7 +1987,6 @@ libraries: samples: false java: api_description_override: provides a unified way to work with Kubernetes clusters as part of Anthos, extending GKE to work in multiple environments. You have consistent, unified, and secure infrastructure, cluster, and container management, whether you're using Anthos on Google Cloud (with traditional GKE), hybrid cloud, or multiple public clouds. - released_version: 1.99.0 name_pretty_override: GKE Hub API product_documentation_override: https://cloud.google.com/anthos/gke/docs/ - name: gkerecommender @@ -2113,20 +1997,15 @@ libraries: api_id_override: gkerecommender.googleapis.com api_description_override: lets you analyze the performance and cost-efficiency of your inference workloads, and make data-driven decisions about resource allocation and model deployment strategies. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-gkerecommender/latest/overview - released_version: 0.19.0 library_type_override: GAPIC_AUTO name_pretty_override: GKE Recommender API product_documentation_override: https://cloud.google.com/kubernetes-engine/docs/how-to/machine-learning/inference-quickstart - name: google-cloud-java version: 1.94.0-SNAPSHOT skip_generate: true - java: - released_version: 1.93.0 - name: google-cloud-pom-parent version: 1.94.0-SNAPSHOT skip_generate: true - java: - released_version: 1.93.0 - name: grafeas version: 2.101.0-SNAPSHOT apis: @@ -2152,7 +2031,6 @@ libraries: client_documentation_override: https://cloud.google.com/java/docs/reference/grafeas/latest/overview codeowner_team: '@googleapis/aap-dpes' group_id: io.grafeas - released_version: 2.100.0 name_pretty_override: Grafeas product_documentation_override: https://grafeas.io skip_pom_updates: true @@ -2210,7 +2088,6 @@ libraries: samples: false java: api_description_override: are customized applications that integrate with Google Workspace productivity applications. - released_version: 2.99.0 name_pretty_override: Google Workspace Add-ons API product_documentation_override: https://developers.google.com/workspace/add-ons/overview - name: health @@ -2222,7 +2099,6 @@ libraries: api_id_override: health.googleapis.com api_description_override: The Google Health API lets you view and manage health and fitness metrics and measurement data. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-health/latest/overview - released_version: 0.8.0 library_type_override: GAPIC_AUTO name_pretty_override: Google Health API product_documentation_override: https://developers.google.com/health/api @@ -2241,7 +2117,6 @@ libraries: api_id_override: hypercomputecluster.googleapis.com api_description_override: simplifies cluster management across compute, network, and storage client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-hypercomputecluster/latest/overview - released_version: 0.19.0 library_type_override: GAPIC_AUTO name_pretty_override: Cluster Director API product_documentation_override: https://cloud.google.com/blog/products/compute/managed-slurm-and-other-cluster-director-enhancements @@ -2295,7 +2170,6 @@ libraries: - google-iam-policy - proto-google-iam-v1 group_id: com.google.api.grpc - released_version: 1.73.0 library_type_override: OTHER name_pretty_override: IAM product_documentation_override: https://cloud.google.com/iam @@ -2309,7 +2183,6 @@ libraries: api_description_override: you to manage your Service Accounts and IAM bindings. api_shortname_override: iam-admin artifact_id: google-iam-admin - released_version: 3.94.0 name_pretty_override: IAM Admin API product_documentation_override: https://cloud.google.com/iam/docs/apis - name: iam-policy @@ -2353,7 +2226,6 @@ libraries: - proto-google-iam-v1-bom - google-iam-policy - proto-google-iam-v1 - released_version: 1.96.0 name_pretty_override: Cloud IAM Policy product_documentation_override: n/a - name: iamcredentials @@ -2363,7 +2235,6 @@ libraries: java: api_description_override: creates short-lived, limited-privilege credentials for IAM service accounts. issue_tracker_override: https://issuetracker.google.com/issues/new?component=187161 - released_version: 2.99.0 name_pretty_override: IAM Service Account Credentials API product_documentation_override: https://cloud.google.com/iam/credentials/reference/rest/ billing_not_required: true @@ -2375,7 +2246,6 @@ libraries: api_id_override: iap.googleapis.com api_description_override: Controls access to cloud applications running on Google Cloud Platform. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-iap/latest/overview - released_version: 0.55.0 library_type_override: GAPIC_AUTO name_pretty_override: Cloud Identity-Aware Proxy API product_documentation_override: https://cloud.google.com/iap @@ -2385,7 +2255,6 @@ libraries: - path: google/cloud/ids/v1 java: api_description_override: ' monitors your networks, and it alerts you when it detects malicious activity. Cloud IDS is powered by Palo Alto Networks.' - released_version: 1.98.0 name_pretty_override: Intrusion Detection System product_documentation_override: https://cloud.google.com/intrusion-detection-system/docs - name: infra-manager @@ -2399,7 +2268,6 @@ libraries: java: api_id_override: config.googleapis.com api_description_override: Creates and manages Google Cloud Platform resources and infrastructure. - released_version: 0.76.0 name_pretty_override: Infrastructure Manager API product_documentation_override: https://cloud.google.com/infrastructure-manager/docs/overview - name: iot @@ -2409,7 +2277,6 @@ libraries: java: api_description_override: is a complete set of tools to connect, process, store, and analyze data both at the edge and in the cloud. The platform consists of scalable, fully-managed cloud services; an integrated software stack for edge/on-premises computing with machine learning capabilities for all your IoT needs. issue_tracker_override: https://issuetracker.google.com/issues?q=status:open%20componentid:310170 - released_version: 2.99.0 name_pretty_override: Cloud Internet of Things (IoT) Core product_documentation_override: https://cloud.google.com/iot - name: kms @@ -2634,7 +2501,6 @@ libraries: } java: api_description_override: a cloud-hosted key management service that lets you manage cryptographic keys for your cloud services the same way you do on-premises. You can generate, use, rotate, and destroy AES256, RSA 2048, RSA 3072, RSA 4096, EC P256, and EC P384 cryptographic keys. Cloud KMS is integrated with Cloud IAM and Cloud Audit Logging so that you can manage permissions on individual keys and monitor how these are used. Use Cloud KMS to protect secrets and other sensitive data that you need to store in Google Cloud Platform. - released_version: 2.102.0 name_pretty_override: Cloud Key Management Service product_documentation_override: https://cloud.google.com/kms - name: kmsinventory @@ -2643,7 +2509,6 @@ libraries: - path: google/cloud/kms/inventory/v1 java: api_description_override: KMS Inventory API. - released_version: 0.88.0 name_pretty_override: KMS Inventory API product_documentation_override: https://cloud.google.com/kms/docs/ - name: language @@ -2654,7 +2519,6 @@ libraries: - path: google/cloud/language/v1beta2 java: api_description_override: provides natural language understanding technologies to developers, including sentiment analysis, entity analysis, entity sentiment analysis, content classification, and syntax analysis. This API is part of the larger Cloud Machine Learning API family. - released_version: 2.100.0 name_pretty_override: Natural Language product_documentation_override: https://cloud.google.com/natural-language/docs/ - name: licensemanager @@ -2668,7 +2532,6 @@ libraries: api_id_override: licensemanager.googleapis.com api_description_override: License Manager is a tool to manage and track third-party licenses on Google Cloud. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-licensemanager/latest/overview - released_version: 0.32.0 library_type_override: GAPIC_AUTO name_pretty_override: License Manager API product_documentation_override: https://cloud.google.com/compute/docs/instances/windows/ms-licensing @@ -2681,7 +2544,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: is a suite of services and tools for managing, processing, and transforming life sciences data. - released_version: 0.101.0 name_pretty_override: Cloud Life Sciences product_documentation_override: https://cloud.google.com/life-sciences/docs - name: locationfinder @@ -2692,7 +2554,6 @@ libraries: api_id_override: locationfinder.googleapis.com api_description_override: Cloud Location Finder is a public API that offers a repository of all Google Cloud and Google Distributed Cloud locations, as well as cloud locations for other cloud providers. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-locationfinder/latest/overview - released_version: 0.24.0 library_type_override: GAPIC_AUTO name_pretty_override: Cloud Location Finder API product_documentation_override: https://cloud.google.com/location-finder/docs/overview @@ -2854,7 +2715,6 @@ libraries: api_description_override: allows you to store, search, analyze, monitor, and alert on log data and events from Google Cloud and Amazon Web Services. Using the BindPlane service, you can also collect this data from over 150 common application components, on-premises systems, and hybrid cloud systems. BindPlane is included with your Google Cloud project at no additional cost. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-logging/latest/history codeowner_team: '@googleapis/cloud-sdk-java-team' - released_version: 3.40.0 library_type_override: GAPIC_COMBO name_pretty_override: Cloud Logging product_documentation_override: https://cloud.google.com/logging/docs @@ -2871,7 +2731,6 @@ libraries: api_id_override: lustre.googleapis.com api_description_override: Google Cloud Managed Lustre delivers a high-performance, fully managed parallel file system optimized for AI and HPC applications. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-lustre/latest/overview - released_version: 0.39.0 library_type_override: GAPIC_AUTO name_pretty_override: Google Cloud Managed Lustre API product_documentation_override: https://cloud.google.com/managed-lustre/docs @@ -2890,7 +2749,6 @@ libraries: api_id_override: maintenance.googleapis.com api_description_override: The Maintenance API provides a centralized view of planned disruptive maintenance events across supported Google Cloud products. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-maintenance/latest/overview - released_version: 0.33.0 library_type_override: GAPIC_AUTO name_pretty_override: Maintenance API product_documentation_override: https://cloud.google.com/unified-maintenance/docs/overview @@ -2901,7 +2759,6 @@ libraries: java: api_id_override: managedidentities.googleapis.com api_description_override: is a highly available, hardened Google Cloud service running actual Microsoft AD that enables you to manage authentication and authorization for your AD-dependent workloads, automate AD server maintenance and security configuration, and connect your on-premises AD domain to the cloud. - released_version: 1.97.0 name_pretty_override: Managed Service for Microsoft Active Directory product_documentation_override: https://cloud.google.com/managed-microsoft-ad/ - name: managedkafka @@ -2915,7 +2772,6 @@ libraries: api_id_override: managedkafka.googleapis.com api_description_override: Manage Apache Kafka clusters and resources. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-managedkafka/latest/overview - released_version: 0.55.0 library_type_override: GAPIC_AUTO name_pretty_override: Managed Service for Apache Kafka product_documentation_override: https://cloud.google.com/managed-kafka @@ -2928,7 +2784,6 @@ libraries: api_description_override: The Address Validation API allows developers to verify the accuracy of addresses. Given an address, it returns information about the correctness of the components of the parsed address, a geocode, and a verdict on the deliverability of the parsed address. api_shortname_override: maps-addressvalidation artifact_id: google-maps-addressvalidation - released_version: 0.93.0 name_pretty_override: Address Validation API product_documentation_override: https://developers.google.com/maps/documentation/address-validation/ - name: maps-area-insights @@ -2941,7 +2796,6 @@ libraries: api_shortname_override: maps-area-insights artifact_id: google-maps-area-insights client_documentation_override: https://cloud.google.com/java/docs/reference/google-maps-area-insights/latest/overview - released_version: 0.50.0 library_type_override: GAPIC_AUTO name_pretty_override: Places Insights API product_documentation_override: https://developers.google.com/maps/documentation/places-insights @@ -2955,7 +2809,6 @@ libraries: api_shortname_override: maps-fleetengine artifact_id: google-maps-fleetengine client_documentation_override: https://cloud.google.com/java/docs/reference/google-maps-fleetengine/latest/overview - released_version: 0.46.0 library_type_override: GAPIC_AUTO name_pretty_override: Local Rides and Deliveries API product_documentation_override: https://developers.google.com/maps/documentation/transportation-logistics/mobility @@ -2969,7 +2822,6 @@ libraries: api_shortname_override: maps-fleetengine-delivery artifact_id: google-maps-fleetengine-delivery client_documentation_override: https://cloud.google.com/java/docs/reference/google-maps-fleetengine-delivery/latest/overview - released_version: 0.46.0 library_type_override: GAPIC_AUTO name_pretty_override: Last Mile Fleet Solution Delivery API product_documentation_override: https://developers.google.com/maps/documentation/transportation-logistics/mobility @@ -2982,7 +2834,6 @@ libraries: api_description_override: The Geocoding API is a service that accepts a place as an address, latitude and longitude coordinates, or Place ID. artifact_id: google-maps-geocode client_documentation_override: https://cloud.google.com/java/docs/reference/google-maps-geocode/latest/overview - released_version: 0.11.0 library_type_override: GAPIC_AUTO name_pretty_override: Geocoding API product_documentation_override: https://developers.google.com/maps/documentation/geocoding/overview @@ -2993,7 +2844,6 @@ libraries: java: artifact_id: google-maps-isochrones group_id: com.google.maps - released_version: 0.5.0 - name: maps-mapmanagement version: 0.9.0-SNAPSHOT apis: @@ -3005,7 +2855,6 @@ libraries: artifact_id: google-maps-mapmanagement client_documentation_override: https://cloud.google.com/java/docs/reference/google-maps-mapmanagement/latest/overview group_id: com.google.maps - released_version: 0.8.0 library_type_override: GAPIC_AUTO name_pretty_override: Map Management API product_documentation_override: https://developers.google.com/maps/documentation/mapmanagement/overview @@ -3020,7 +2869,6 @@ libraries: that they can use to enrich their experience of Maps Platform solutions (e.g. styling, routing). api_shortname_override: maps-mapsplatformdatasets artifact_id: google-maps-mapsplatformdatasets - released_version: 0.88.0 name_pretty_override: Maps Platform Datasets API product_documentation_override: https://developers.google.com/maps/documentation - name: maps-navconnect @@ -3030,7 +2878,6 @@ libraries: java: artifact_id: google-maps-navconnect group_id: com.google.maps - released_version: 0.5.0 - name: maps-places version: 0.71.0-SNAPSHOT apis: @@ -3042,7 +2889,6 @@ libraries: api_description_override: The Places API allows developers to access a variety of search and retrieval endpoints for a Place. api_shortname_override: maps-places artifact_id: google-maps-places - released_version: 0.70.0 name_pretty_override: Places API (New) product_documentation_override: https://developers.google.com/maps/documentation/places/web-service/ - name: maps-routeoptimization @@ -3054,7 +2900,6 @@ libraries: api_description_override: The Route Optimization API assigns tasks and routes to a vehicle fleet, optimizing against the objectives and constraints that you supply for your transportation goals. artifact_id: google-maps-routeoptimization client_documentation_override: https://cloud.google.com/java/docs/reference/google-maps-routeoptimization/latest/overview - released_version: 0.57.0 library_type_override: GAPIC_AUTO name_pretty_override: Route Optimization API product_documentation_override: https://developers.google.com/maps/documentation/route-optimization @@ -3067,7 +2912,6 @@ libraries: api_description_override: Routes API is the next generation, performance optimized version of the existing Directions API and Distance Matrix API. It helps you find the ideal route from A to Z, calculates ETAs and distances for matrices of origin and destination locations, and also offers new features. api_shortname_override: maps-routing artifact_id: google-maps-routing - released_version: 1.84.0 name_pretty_override: Routes API product_documentation_override: https://developers.google.com/maps/documentation/routes - name: maps-solar @@ -3080,7 +2924,6 @@ libraries: api_shortname_override: maps-solar artifact_id: google-maps-solar client_documentation_override: https://cloud.google.com/java/docs/reference/google-maps-solar/latest/overview - released_version: 0.58.0 library_type_override: GAPIC_AUTO name_pretty_override: Solar API product_documentation_override: https://developers.google.com/maps/documentation/solar/overview @@ -3096,7 +2939,6 @@ libraries: artifact_id: admin client_documentation_override: https://cloud.google.com/java/docs/reference/admin/latest/overview group_id: com.google.ads-marketingplatform - released_version: 0.48.0 library_type_override: GAPIC_AUTO name_pretty_override: Google Marketing Platform Admin API product_documentation_override: https://developers.google.com/analytics/devguides/config/gmp/v1 @@ -3106,7 +2948,6 @@ libraries: - path: google/cloud/mediatranslation/v1beta1 java: api_description_override: provides enterprise quality translation from/to various media types. - released_version: 0.105.0 name_pretty_override: Media Translation API product_documentation_override: https://cloud.google.com/ billing_not_required: true @@ -3117,7 +2958,6 @@ libraries: - path: google/apps/meet/v2beta java: api_description_override: The Google Meet REST API lets you create and manage meetings for Google Meet and offers entry points to your users directly from your app - released_version: 0.66.0 name_pretty_override: Google Meet API product_documentation_override: https://developers.google.com/meet/api/guides/overview - name: memcache @@ -3133,7 +2973,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: is a fully-managed in-memory data store service for Memcache. - released_version: 2.99.0 name_pretty_override: Cloud Memcache product_documentation_override: https://cloud.google.com/memorystore/ billing_not_required: true @@ -3146,7 +2985,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: Google Cloud Migration Center is a unified platform that helps you accelerate your end-to-end cloud journey from your current on-premises or cloud environments to Google Cloud - released_version: 0.81.0 name_pretty_override: Migration Center API product_documentation_override: https://cloud.google.com/migration-center/docs/migration-center-overview - name: modelarmor @@ -3164,7 +3002,6 @@ libraries: api_id_override: modelarmor.googleapis.com api_description_override: Model Armor helps you protect against risks like prompt injection, harmful content, and data leakage in generative AI applications by letting you define policies that filter user prompts and model responses. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-modelarmor/latest/overview - released_version: 0.40.0 library_type_override: GAPIC_AUTO name_pretty_override: Model Armor API product_documentation_override: https://cloud.google.com/security-command-center/docs/model-armor-overview @@ -3214,7 +3051,6 @@ libraries: replacement: ResourceName java: api_description_override: collects metrics, events, and metadata from Google Cloud, Amazon Web Services (AWS), hosted uptime probes, and application instrumentation. Using the BindPlane service, you can also collect this data from over 150 common application components, on-premise systems, and hybrid cloud systems. Stackdriver ingests that data and generates insights via dashboards, charts, and alerts. BindPlane is included with your Google Cloud project at no additional cost. - released_version: 3.100.0 name_pretty_override: Stackdriver Monitoring product_documentation_override: https://cloud.google.com/monitoring/docs - name: monitoring-dashboards @@ -3230,7 +3066,6 @@ libraries: api_description_override: are one way for you to view and analyze metric data. The Cloud Console provides predefined dashboards that require no setup or configuration. You can also define custom dashboards. With custom dashboards, you have complete control over the charts that are displayed and their configuration. api_shortname_override: monitoring-dashboards artifact_id: google-cloud-monitoring-dashboard - released_version: 2.101.0 name_pretty_override: Monitoring Dashboards product_documentation_override: https://cloud.google.com/monitoring/charts/dashboards - name: monitoring-metricsscope @@ -3241,7 +3076,6 @@ libraries: api_id_override: monitoring.googleapis.com api_description_override: The metrics scope defines the set of Google Cloud projects whose metrics the current Google Cloud project can access. api_shortname_override: monitoring-metricsscope - released_version: 0.93.0 name_pretty_override: Monitoring Metrics Scopes product_documentation_override: https://cloud.google.com/monitoring/api/ref_v3/rest/v1/locations.global.metricsScopes - name: netapp @@ -3253,7 +3087,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: Google Cloud NetApp Volumes is a fully-managed, cloud-based data storage service that provides advanced data management capabilities and highly scalable performance with global availability. - released_version: 0.78.0 name_pretty_override: NetApp API product_documentation_override: https://cloud.google.com/netapp/volumes/docs/discover/overview - name: network-management @@ -3509,7 +3342,6 @@ libraries: public void testIamPermissionsTest() throws Exception { java: api_description_override: provides a collection of network performance monitoring and diagnostic capabilities. - released_version: 1.100.0 name_pretty_override: Network Management API product_documentation_override: https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/reference/networkmanagement/rest/ - name: network-security @@ -3527,7 +3359,6 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: n/a - released_version: 0.102.0 name_pretty_override: Network Security API product_documentation_override: https://cloud.google.com/traffic-director/docs/reference/network-security/rest - name: networkconnectivity @@ -3546,7 +3377,6 @@ libraries: - path: google/cloud/networkconnectivity/v1alpha1 java: api_description_override: Google's suite of products that provide enterprise connectivity from your on-premises network or from another cloud provider to your Virtual Private Cloud (VPC) network - released_version: 1.98.0 name_pretty_override: Network Connectivity Center product_documentation_override: https://cloud.google.com/network-connectivity/docs - name: networkservices @@ -3566,7 +3396,6 @@ libraries: api_id_override: networkservices.googleapis.com api_description_override: Google Cloud offers a broad portfolio of networking services built on top of planet-scale infrastructure that leverages automation, advanced AI, and programmability, enabling enterprises to connect, scale, secure, modernize and optimize their infrastructure. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-networkservices/latest/overview - released_version: 0.55.0 library_type_override: GAPIC_AUTO name_pretty_override: Network Services API product_documentation_override: https://cloud.google.com/products/networking @@ -3590,7 +3419,6 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: is a managed service that offers an integrated and secure JupyterLab environment for data scientists and machine learning developers to experiment, develop, and deploy models into production. Users can create instances running JupyterLab that come pre-installed with the latest data science and machine learning frameworks in a single click. - released_version: 1.97.0 name_pretty_override: AI Platform Notebooks product_documentation_override: https://cloud.google.com/ai-platform-notebooks - name: optimization @@ -3599,7 +3427,6 @@ libraries: - path: google/cloud/optimization/v1 java: api_description_override: is a managed routing service that takes your list of orders, vehicles, constraints, and objectives and returns the most efficient plan for your entire fleet in near real-time. - released_version: 1.97.0 name_pretty_override: Cloud Fleet Routing product_documentation_override: https://cloud.google.com/optimization/docs - name: oracledatabase @@ -3613,7 +3440,6 @@ libraries: api_id_override: oracledatabase.googleapis.com api_description_override: The Oracle Database@Google Cloud API provides a set of APIs to manage Oracle database services, such as Exadata and Autonomous Databases. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/overview - released_version: 0.48.0 library_type_override: GAPIC_AUTO name_pretty_override: Oracle Database@Google Cloud API product_documentation_override: https://cloud.google.com/oracle/database/docs @@ -3626,7 +3452,6 @@ libraries: api_id_override: composer.googleapis.com api_description_override: is a managed Apache Airflow service that helps you create, schedule, monitor and manage workflows. Cloud Composer automation helps you create Airflow environments quickly and use Airflow-native tools, such as the powerful Airflow web interface and command line tools, so you can focus on your workflows and not your infrastructure. api_shortname_override: orchestration-airflow - released_version: 1.99.0 name_pretty_override: Cloud Composer product_documentation_override: https://cloud.google.com/composer/docs - name: orgpolicy @@ -3642,7 +3467,6 @@ libraries: java: api_description_override: n/a client_documentation_override: https://cloud.google.com/java/docs/reference/proto-google-cloud-orgpolicy-v1/latest/overview - released_version: 2.99.0 name_pretty_override: Cloud Organization Policy product_documentation_override: n/a - name: os-config @@ -3654,7 +3478,6 @@ libraries: java: api_id_override: osconfig.googleapis.com api_description_override: provides OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances. - released_version: 2.101.0 name_pretty_override: OS Config API product_documentation_override: https://cloud.google.com/compute/docs/os-patch-management billing_not_required: true @@ -3730,7 +3553,6 @@ libraries: dst: proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UserName.java java: api_description_override: manages OS login configuration for Directory API users. - released_version: 2.98.0 name_pretty_override: Cloud OS Login product_documentation_override: https://cloud.google.com/compute/docs/oslogin/ - name: parallelstore @@ -3748,7 +3570,6 @@ libraries: api_id_override: parallelstore.googleapis.com api_description_override: 'Parallelstore is based on Intel DAOS and delivers up to 6.3x greater read throughput performance compared to competitive Lustre scratch offerings. ' client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-parallelstore/latest/overview - released_version: 0.62.0 library_type_override: GAPIC_AUTO name_pretty_override: Parallelstore API product_documentation_override: https://cloud/parallelstore?hl=en @@ -3763,7 +3584,6 @@ libraries: api_id_override: parametermanager.googleapis.com api_description_override: (Public Preview) Parameter Manager is a single source of truth to store, access and manage the lifecycle of your workload parameters. Parameter Manager aims to make management of sensitive application parameters effortless for customers without diminishing focus on security. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-parametermanager/latest/overview - released_version: 0.43.0 library_type_override: GAPIC_AUTO name_pretty_override: Parameter Manager API product_documentation_override: https://cloud.google.com/secret-manager/parameter-manager/docs/overview @@ -3773,7 +3593,6 @@ libraries: - path: google/cloud/phishingprotection/v1beta1 java: api_description_override: helps prevent users from accessing phishing sites by identifying various signals associated with malicious content, including the use of your brand assets, classifying malicious content that uses your brand and reporting the unsafe URLs to Google Safe Browsing. Once a site is propagated to Safe Browsing, users will see warnings across more than 4 billion devices. - released_version: 0.130.0 name_pretty_override: Phishing Protection product_documentation_override: https://cloud.google.com/phishing-protection/docs/ billing_not_required: true @@ -3785,7 +3604,6 @@ libraries: java: api_id_override: policytroubleshooter.googleapis.com api_description_override: makes it easier to understand why a user has access to a resource or doesn't have permission to call an API. Given an email, resource, and permission, Policy Troubleshooter examines all Identity and Access Management (IAM) policies that apply to the resource. It then reveals whether the member's roles include the permission on that resource and, if so, which policies bind the member to those roles. - released_version: 1.98.0 name_pretty_override: IAM Policy Troubleshooter API product_documentation_override: https://cloud.google.com/iam/docs/troubleshooting-access - name: policysimulator @@ -3794,7 +3612,6 @@ libraries: - path: google/cloud/policysimulator/v1 java: api_description_override: Policy Simulator is a collection of endpoints for creating, running, and viewing a Replay. - released_version: 0.78.0 name_pretty_override: Policy Simulator API product_documentation_override: https://cloud.google.com/policysimulator/docs/overview - name: private-catalog @@ -3804,7 +3621,6 @@ libraries: java: api_id_override: privatecatalog.googleapis.com api_description_override: allows developers and cloud admins to make their solutions discoverable to their internal enterprise users. Cloud admins can manage their solutions and ensure their users are always launching the latest versions. - released_version: 0.101.0 name_pretty_override: Private Catalog product_documentation_override: https://cloud.google.com/private-catalog/docs - name: privilegedaccessmanager @@ -3818,7 +3634,6 @@ libraries: api_id_override: privilegedaccessmanager.googleapis.com api_description_override: Privileged Access Manager (PAM) helps you on your journey towards least privilege and helps mitigate risks tied to privileged access misuse orabuse. PAM allows you to shift from always-on standing privileges towards on-demand access with just-in-time, time-bound, and approval-based access elevations. PAM allows IAM administrators to create entitlements that can grant just-in-time, temporary access to any resource scope. Requesters can explore eligible entitlements and request the access needed for their task. Approvers are notified when approvals await their decision. Streamlined workflows facilitated by using PAM can support various use cases, including emergency access for incident responders, time-boxed access for developers for critical deployment or maintenance, temporary access for operators for data ingestion and audits, JIT access to service accounts for automated tasks, and more. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-privilegedaccessmanager/latest/overview - released_version: 0.53.0 library_type_override: GAPIC_AUTO name_pretty_override: Privileged Access Manager API product_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-privilegedaccessmanager/latest/overview @@ -3826,8 +3641,6 @@ libraries: version: 0.6.0-SNAPSHOT apis: - path: google/cloud/productregistry/v1 - java: - released_version: 0.5.0 - name: profiler version: 2.100.0-SNAPSHOT apis: @@ -3835,7 +3648,6 @@ libraries: java: api_id_override: cloudprofiler.googleapis.com api_description_override: is a statistical, low-overhead profiler that continuously gathers CPU usage and memory-allocation information from your production applications. It attributes that information to the application's source code, helping you identify the parts of the application consuming the most resources, and otherwise illuminating the performance characteristics of the code. - released_version: 2.99.0 name_pretty_override: Cloud Profiler product_documentation_override: https://cloud.google.com/profiler/docs - name: publicca @@ -3845,7 +3657,6 @@ libraries: - path: google/cloud/security/publicca/v1beta1 java: api_description_override: The Public Certificate Authority API may be used to create and manage ACME external account binding keys associated with Google Trust Services' publicly trusted certificate authority. - released_version: 0.96.0 name_pretty_override: Public Certificate Authority API product_documentation_override: https://cloud.google.com/certificate-manager/docs/public-ca - name: pubsub @@ -5008,7 +4819,6 @@ libraries: client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/history codeowner_team: '@googleapis/pubsub-team' issue_tracker_override: https://issuetracker.google.com/savedsearches/559741 - released_version: 1.157.0 library_type_override: GAPIC_COMBO name_pretty_override: Cloud Pub/Sub product_documentation_override: https://cloud.google.com/pubsub/docs/ @@ -5022,7 +4832,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: Rapid Migration Assessment API - released_version: 0.82.0 name_pretty_override: Rapid Migration Assessment API product_documentation_override: https://cloud.google.com/migration-center/docs - name: recaptchaenterprise @@ -5032,7 +4841,6 @@ libraries: - path: google/cloud/recaptchaenterprise/v1beta1 java: api_description_override: is a service that protects your site from spam and abuse. - released_version: 3.96.0 name_pretty_override: reCAPTCHA Enterprise product_documentation_override: https://cloud.google.com/recaptcha-enterprise/docs/ billing_not_required: true @@ -5042,7 +4850,6 @@ libraries: - path: google/cloud/recommendationengine/v1beta1 java: api_description_override: delivers highly personalized product recommendations at scale. - released_version: 0.106.0 name_pretty_override: Recommendations AI product_documentation_override: https://cloud.google.com/recommendations-ai/ - name: recommender @@ -5052,7 +4859,6 @@ libraries: - path: google/cloud/recommender/v1beta1 java: api_description_override: delivers highly personalized product recommendations at scale. - released_version: 2.101.0 name_pretty_override: Recommender product_documentation_override: https://cloud.google.com/recommendations/ - name: redis @@ -5066,7 +4872,6 @@ libraries: java: api_description_override: is a fully managed Redis service for the Google Cloud. Applications running on Google Cloud can achieve extreme performance by leveraging the highly scalable, available, secure Redis service without the burden of managing complex Redis deployments. issue_tracker_override: https://issuetracker.google.com/savedsearches/5169231 - released_version: 2.102.0 name_pretty_override: Cloud Redis product_documentation_override: https://cloud.google.com/memorystore/docs/redis/ - name: redis-cluster @@ -5083,7 +4888,6 @@ libraries: java: api_description_override: Creates and manages Redis instances on the Google Cloud Platform. api_shortname_override: redis-cluster - released_version: 0.71.0 name_pretty_override: Google Cloud Memorystore for Redis API product_documentation_override: https://cloud.google.com/memorystore/docs/cluster - name: resourcemanager @@ -5094,7 +4898,6 @@ libraries: omit_common_resources: true java: api_description_override: enables you to programmatically manage resources by project, folder, and organization. - released_version: 1.101.0 name_pretty_override: Resource Manager API product_documentation_override: https://cloud.google.com/resource-manager billing_not_required: true @@ -5115,7 +4918,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: Retail solutions API. - released_version: 2.101.0 name_pretty_override: Cloud Retail product_documentation_override: https://cloud.google.com/solutions/retail - name: run @@ -5127,7 +4929,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: is a managed compute platform that enables you to run containers that are invocable via requests or events. - released_version: 0.99.0 name_pretty_override: Cloud Run product_documentation_override: https://cloud.google.com/run/docs - name: saasservicemgmt @@ -5141,7 +4942,6 @@ libraries: api_id_override: saasservicemgmt.googleapis.com api_description_override: "Model, deploy, and operate your SaaS at scale.\t" client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-saasservicemgmt/latest/overview - released_version: 0.29.0 library_type_override: GAPIC_AUTO name_pretty_override: App Lifecycle Manager product_documentation_override: https://cloud.google.com/saas-runtime/docs/overview @@ -5161,7 +4961,6 @@ libraries: - proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ProjectName.java java: api_description_override: lets you set up scheduled units of work to be executed at defined times or regular intervals. These work units are commonly known as cron jobs. Typical use cases might include sending out a report email on a daily basis, updating some cached data every 10 minutes, or updating some summary information once an hour. - released_version: 2.99.0 name_pretty_override: Google Cloud Scheduler product_documentation_override: https://cloud.google.com/scheduler/docs billing_not_required: true @@ -5179,7 +4978,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: allows you to encrypt, store, manage, and audit infrastructure and application-level secrets. - released_version: 2.99.0 name_pretty_override: Secret Management product_documentation_override: https://cloud.google.com/solutions/secrets-management/ billing_not_required: true @@ -5195,7 +4993,6 @@ libraries: api_description_override: |- Regionally deployed, single-tenant managed source code repository hosted on Google Cloud. - released_version: 0.69.0 name_pretty_override: Secure Source Manager API product_documentation_override: https://cloud.google.com/secure-source-manager/docs/overview - name: security-private-ca @@ -5210,7 +5007,6 @@ libraries: java: api_id_override: privateca.googleapis.com api_description_override: simplifies the deployment and management of private CAs without managing infrastructure. - released_version: 2.101.0 name_pretty_override: Certificate Authority Service product_documentation_override: https://cloud.google.com/certificate-authority-service/docs - name: securitycenter @@ -5229,7 +5025,6 @@ libraries: java: api_description_override: makes it easier for you to prevent, detect, and respond to threats. Identify security misconfigurations in virtual machines, networks, applications, and storage buckets from a centralized dashboard. Take action on them before they can potentially result in business damage or loss. Built-in capabilities can quickly surface suspicious activity in your Stackdriver security logs or indicate compromised virtual machines. Respond to threats by following actionable recommendations or exporting logs to your SIEM for further investigation. issue_tracker_override: https://issuetracker.google.com/savedsearches/559748 - released_version: 2.107.0 name_pretty_override: Security Command Center product_documentation_override: https://cloud.google.com/security-command-center billing_not_required: true @@ -5240,7 +5035,6 @@ libraries: java: api_id_override: securitycenter-settings.googleapis.com api_description_override: is the canonical security and data risk database for Google Cloud. Security Command Center enables you to understand your security and data attack surface by providing asset inventory, discovery, search, and management. - released_version: 0.102.0 name_pretty_override: Security Command Center Settings API product_documentation_override: https://cloud.google.com/security-command-center/ billing_not_required: true @@ -5253,7 +5047,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: Security Center Management API - released_version: 0.67.0 name_pretty_override: Security Center Management API product_documentation_override: https://cloud.google.com/securitycentermanagement/docs/overview - name: securityposture @@ -5265,7 +5058,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: Security Posture is a comprehensive framework of policy sets that empowers organizations to define, assess early, deploy, and monitor their security measures in a unified way and helps simplify governance and reduces administrative toil. - released_version: 0.64.0 name_pretty_override: Security Posture API product_documentation_override: https://cloud.google.com/security-command-center/docs/security-posture-overview - name: service-control @@ -5275,7 +5067,6 @@ libraries: - path: google/api/servicecontrol/v1 java: api_description_override: ' is a foundational platform for creating, managing, securing, and consuming APIs and services across organizations. It is used by Google APIs, Cloud APIs, Cloud Endpoints, and API Gateway.' - released_version: 1.99.0 name_pretty_override: Service Control API product_documentation_override: https://cloud.google.com/service-infrastructure/docs/overview/ - name: service-management @@ -5290,7 +5081,6 @@ libraries: java: api_id_override: servicemanagement.googleapis.com api_description_override: is a foundational platform for creating, managing, securing, and consuming APIs and services across organizations. It is used by Google APIs, Cloud APIs, Cloud Endpoints, and API Gateway. Service Infrastructure provides a wide range of features to service consumers and service producers, including authentication, authorization, auditing, rate limiting, analytics, billing, logging, and monitoring. - released_version: 3.97.0 name_pretty_override: Service Management API product_documentation_override: https://cloud.google.com/service-infrastructure/docs/overview/ - name: service-usage @@ -5300,7 +5090,6 @@ libraries: - path: google/api/serviceusage/v1beta1 java: api_description_override: is an infrastructure service of Google Cloud that lets you list and manage other APIs and services in your Cloud projects. - released_version: 2.99.0 name_pretty_override: Service Usage product_documentation_override: https://cloud.google.com/service-usage/docs/overview - name: servicedirectory @@ -5316,7 +5105,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: allows the registration and lookup of service endpoints. - released_version: 2.100.0 name_pretty_override: Service Directory product_documentation_override: https://cloud.google.com/service-directory/ billing_not_required: true @@ -5329,7 +5117,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: Personalized Service Health helps you gain visibility into disruptive events impacting Google Cloud products. - released_version: 0.66.0 name_pretty_override: Service Health API product_documentation_override: https://cloud.google.com/service-health/docs/overview - name: shell @@ -5339,7 +5126,6 @@ libraries: java: api_description_override: is an interactive shell environment for Google Cloud that makes it easy for you to learn and experiment with Google Cloud and manage your projects and resources from your web browser. codeowner_team: '@googleapis/aap-dpes' - released_version: 2.98.0 name_pretty_override: Cloud Shell product_documentation_override: https://cloud.google.com/shell/docs - name: shopping-css @@ -5349,7 +5135,6 @@ libraries: java: api_description_override: The CSS API is used to manage your CSS and control your CSS Products portfolio artifact_id: google-shopping-css - released_version: 0.67.0 name_pretty_override: CSS API product_documentation_override: https://developers.google.com/comparison-shopping-services/api - name: shopping-merchant-accounts @@ -5362,7 +5147,6 @@ libraries: api_description_override: Programmatically manage your Merchant Center accounts. artifact_id: google-shopping-merchant-accounts client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/overview - released_version: 1.27.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant API product_documentation_override: https://developers.google.com/merchant/api @@ -5377,7 +5161,6 @@ libraries: api_shortname_override: shopping-merchant-conversions artifact_id: google-shopping-merchant-conversions client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-conversions/latest/overview - released_version: 1.27.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant Conversions API product_documentation_override: https://developers.google.com/merchant/api @@ -5391,7 +5174,6 @@ libraries: api_description_override: Programmatically manage your Merchant Center accounts. artifact_id: google-shopping-merchant-datasources client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-datasources/latest/overview - released_version: 1.27.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant API product_documentation_override: https://developers.google.com/merchant/api @@ -5403,7 +5185,6 @@ libraries: java: api_description_override: Programmatically manage your Merchant Center accounts. artifact_id: google-shopping-merchant-inventories - released_version: 1.27.0 name_pretty_override: Merchant API product_documentation_override: https://developers.google.com/merchant/api - name: shopping-merchant-issue-resolution @@ -5416,7 +5197,6 @@ libraries: api_description_override: Programatically manage your Merchant Issues artifact_id: google-shopping-merchant-issue-resolution client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-issue-resolution/latest/overview - released_version: 1.27.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant Issue Resolution API product_documentation_override: https://developers.google.com/merchant/api @@ -5431,7 +5211,6 @@ libraries: api_shortname_override: shopping-merchant-lfp artifact_id: google-shopping-merchant-lfp client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-lfp/latest/overview - released_version: 1.27.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant LFP API product_documentation_override: https://developers.google.com/merchant/api @@ -5442,7 +5221,6 @@ libraries: java: artifact_id: google-shopping-merchant-loyaltycustomers group_id: com.google.shopping - released_version: 0.3.0 - name: shopping-merchant-notifications version: 1.28.0-SNAPSHOT apis: @@ -5454,7 +5232,6 @@ libraries: api_shortname_override: shopping-merchant-notifications artifact_id: google-shopping-merchant-notifications client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-notifications/latest/overview - released_version: 1.27.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant Notifications API product_documentation_override: https://developers.google.com/merchant/api @@ -5468,7 +5245,6 @@ libraries: api_description_override: Programmatically manage your Merchant Center Accounts artifact_id: google-shopping-merchant-order-tracking client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-order-tracking/latest/overview - released_version: 1.27.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant Order Tracking API product_documentation_override: https://developers.google.com/merchant/api @@ -5481,7 +5257,6 @@ libraries: api_description_override: Programmatically manage your products. artifact_id: google-shopping-merchant-productstudio client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-productstudio/latest/overview - released_version: 0.39.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant API product_documentation_override: https://developers.google.com/merchant/api @@ -5495,7 +5270,6 @@ libraries: api_description_override: Programmatically manage your Merchant Center accounts. artifact_id: google-shopping-merchant-products client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-products/latest/overview - released_version: 1.27.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant API product_documentation_override: https://developers.google.com/merchant/api @@ -5509,7 +5283,6 @@ libraries: api_description_override: Programmatically manage your Merchant Center accounts. artifact_id: google-shopping-merchant-promotions client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-promotions/latest/overview - released_version: 1.27.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant API product_documentation_override: https://developers.google.com/merchant/api @@ -5524,7 +5297,6 @@ libraries: api_shortname_override: shopping-merchant-quota artifact_id: google-shopping-merchant-quota client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-quota/latest/overview - released_version: 1.27.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant Quota API product_documentation_override: https://developers.google.com/merchant/api @@ -5537,7 +5309,6 @@ libraries: java: api_description_override: Programmatically manage your Merchant Center accounts. artifact_id: google-shopping-merchant-reports - released_version: 1.27.0 name_pretty_override: Merchant API product_documentation_override: https://developers.google.com/merchant/api - name: shopping-merchant-reviews @@ -5548,7 +5319,6 @@ libraries: api_description_override: Programmatically manage your Merchant Center Accounts. artifact_id: google-shopping-merchant-reviews client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-reviews/latest/overview - released_version: 0.45.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant API product_documentation_override: https://developers.google.com/merchant/api @@ -5614,7 +5384,6 @@ libraries: - google-cloud-spanner-bom - google-cloud-spanner issue_tracker_override: https://issuetracker.google.com/issues?q=componentid:190851%2B%20status:open - released_version: 6.124.0 library_type_override: GAPIC_COMBO name_pretty_override: Cloud Spanner product_documentation_override: https://cloud.google.com/spanner/docs/ @@ -5629,7 +5398,6 @@ libraries: api_description_override: The Cloud Spanner Adapter service allows native drivers of supported database dialects to interact directly with Cloud Spanner by wrapping the underlying wire protocol used by the driver in a gRPC stream. api_shortname_override: spanneradapter client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-spanneradapter/latest/overview - released_version: 0.35.0 library_type_override: GAPIC_AUTO name_pretty_override: Cloud Spanner Adapter API product_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-spanneradapter/latest/overview @@ -5649,7 +5417,6 @@ libraries: - google-cloud-speech/src/test/resources/hello.flac java: api_description_override: enables easy integration of Google speech recognition technologies into developer applications. Send audio and receive a text transcription from the Speech-to-Text API service. - released_version: 4.94.0 name_pretty_override: Cloud Speech product_documentation_override: https://cloud.google.com/speech-to-text/docs/ billing_not_required: true @@ -5665,8 +5432,6 @@ libraries: additional_protos: - path: google/cloud/location/locations.proto skip_generate: true - java: - released_version: 0.5.0 - name: storage version: 2.76.0-SNAPSHOT apis: @@ -5700,7 +5465,6 @@ libraries: - google-cloud-storage-bom - google-cloud-storage issue_tracker_override: https://issuetracker.google.com/savedsearches/559782 - released_version: 2.75.0 library_type_override: GAPIC_COMBO name_pretty_override: Cloud Storage product_documentation_override: https://cloud.google.com/storage @@ -5712,7 +5476,6 @@ libraries: - path: google/storagetransfer/v1 java: api_description_override: Secure, low-cost services for transferring data from cloud or on-premises sources. - released_version: 1.99.0 name_pretty_override: Storage Transfer Service product_documentation_override: https://cloud.google.com/storage-transfer-service - name: storagebatchoperations @@ -5726,7 +5489,6 @@ libraries: api_id_override: storagebatchoperations.googleapis.com api_description_override: Storage batch operations is a Cloud Storage management feature that performs operations on billions of Cloud Storage objects in a serverless manner. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-storagebatchoperations/latest/overview - released_version: 0.39.0 library_type_override: GAPIC_AUTO name_pretty_override: Storage Batch Operations API product_documentation_override: https://cloud.google.com/storage/docs/batch-operations/overview @@ -5739,7 +5501,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: Provides insights capability on Google Cloud Storage - released_version: 0.84.0 name_pretty_override: Storage Insights API product_documentation_override: https://cloud.google.com/storage/docs/insights/storage-insights/ - name: talent @@ -5749,7 +5510,6 @@ libraries: - path: google/cloud/talent/v4beta1 java: api_description_override: allows you to transform your job search and candidate matching capabilities with Cloud Talent Solution, designed to support enterprise talent acquisition technology and evolve with your growing needs. This AI solution includes features such as Job Search and Profile Search (Beta) to provide candidates and employers with an enhanced talent acquisition experience. Learn more about Cloud Talent Solution from the product overview page. - released_version: 2.100.0 name_pretty_override: Talent Solution product_documentation_override: https://cloud.google.com/solutions/talent-solution/ - name: tasks @@ -5861,7 +5621,6 @@ libraries: java: api_description_override: a fully managed service that allows you to manage the execution, dispatch and delivery of a large number of distributed tasks. You can asynchronously perform work outside of a user request. Your tasks can be executed on App Engine or any arbitrary HTTP endpoint. codeowner_team: '@googleapis/aap-dpes' - released_version: 2.99.0 name_pretty_override: Cloud Tasks product_documentation_override: https://cloud.google.com/tasks/docs/ - name: telcoautomation @@ -5877,7 +5636,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: APIs to automate 5G deployment and management of cloud infrastructure and network functions. - released_version: 0.69.0 name_pretty_override: Telco Automation API product_documentation_override: https://cloud.google.com/telecom-network-automation - name: texttospeech @@ -5890,7 +5648,6 @@ libraries: - google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechSmokeTest.java java: api_description_override: enables easy integration of Google text recognition technologies into developer applications. Send text and receive synthesized audio output from the Cloud Text-to-Speech API service. - released_version: 2.100.0 name_pretty_override: Cloud Text-to-Speech product_documentation_override: https://cloud.google.com/text-to-speech billing_not_required: true @@ -5911,7 +5668,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: are Google's custom-developed application-specific integrated circuits (ASICs) used to accelerate machine learning workloads. - released_version: 2.100.0 name_pretty_override: Cloud TPU product_documentation_override: https://cloud.google.com/tpu/docs - name: trace @@ -5924,7 +5680,6 @@ libraries: - google-cloud-trace/src/test/java/com/google/cloud/trace/v2/VPCServiceControlTest.java java: api_description_override: is a distributed tracing system that collects latency data from your applications and displays it in the Google Cloud Platform Console. You can track how requests propagate through your application and receive detailed near real-time performance insights. - released_version: 2.99.0 name_pretty_override: Stackdriver Trace product_documentation_override: https://cloud.google.com/trace/docs/ billing_not_required: true @@ -5936,7 +5691,6 @@ libraries: java: api_id_override: translate.googleapis.com api_description_override: can dynamically translate text between thousands of language pairs. Translation lets websites and programs programmatically integrate with the translation service. - released_version: 2.99.0 name_pretty_override: Cloud Translation product_documentation_override: https://cloud.google.com/translate/docs/ - name: valkey @@ -5954,7 +5708,6 @@ libraries: api_id_override: memorystore.googleapis.com api_description_override: Memorystore for Valkey is a fully managed Valkey Cluster service for Google Cloud. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-memorystore/latest/overview - released_version: 0.45.0 library_type_override: GAPIC_AUTO name_pretty_override: Memorystore API product_documentation_override: https://cloud.google.com/memorystore/docs/valkey @@ -5973,7 +5726,6 @@ libraries: api_id_override: vectorsearch.googleapis.com api_description_override: The Vector Search API provides a fully-managed, highly performant, and scalable vector database designed to power next-generation search, recommendation, and generative AI applications. It allows you to store, index, and query your data and its corresponding vector embeddings through a simple, intuitive interface. With Vector Search, you can define custom schemas for your data, insert objects with associated metadata, automatically generate embeddings from your data, and perform fast approximate nearest neighbor (ANN) searches to find semantically similar items at scale. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-vectorsearch/latest/overview - released_version: 0.21.0 library_type_override: GAPIC_AUTO name_pretty_override: Vector Search API product_documentation_override: https://docs.cloud.google.com/vertex-ai/docs/vector-search/overview @@ -5987,7 +5739,6 @@ libraries: - path: google/cloud/videointelligence/v1beta2 java: api_description_override: allows developers to use Google video analysis technology as part of their applications. - released_version: 2.98.0 name_pretty_override: Cloud Video Intelligence product_documentation_override: https://cloud.google.com/video-intelligence/docs/ - name: video-live-stream @@ -6000,7 +5751,6 @@ libraries: java: api_description_override: transcodes mezzanine live signals into direct-to-consumer streaming formats, including Dynamic Adaptive Streaming over HTTP (DASH/MPEG-DASH), and HTTP Live Streaming (HLS), for multiple device platforms. artifact_id: google-cloud-live-stream - released_version: 0.101.0 name_pretty_override: Live Stream API product_documentation_override: https://cloud.google.com/livestream/ - name: video-stitcher @@ -6009,7 +5759,6 @@ libraries: - path: google/cloud/video/stitcher/v1 java: api_description_override: allows you to manipulate video content to dynamically insert ads prior to delivery to client devices. - released_version: 0.99.0 name_pretty_override: Video Stitcher API product_documentation_override: https://cloud.google.com/video-stitcher/ - name: video-transcoder @@ -6019,7 +5768,6 @@ libraries: java: api_id_override: transcoder.googleapis.com api_description_override: allows you to transcode videos into a variety of formats. The Transcoder API benefits broadcasters, production companies, businesses, and individuals looking to transform their video content for use across a variety of user devices. - released_version: 1.98.0 name_pretty_override: Video Transcoder product_documentation_override: https://cloud.google.com/transcoder/docs - name: vision @@ -6042,7 +5790,6 @@ libraries: - proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ImageName.java java: api_description_override: allows developers to easily integrate vision detection features within applications, including image labeling, face and landmark detection, optical character recognition (OCR), and tagging of explicit content. - released_version: 3.97.0 name_pretty_override: Cloud Vision product_documentation_override: https://cloud.google.com/vision/docs/ - name: visionai @@ -6057,7 +5804,6 @@ libraries: api_id_override: visionai.googleapis.com api_description_override: Vertex AI Vision is an AI-powered platform to ingest, analyze and store video data. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-visionai/latest/overview - released_version: 0.56.0 library_type_override: GAPIC_AUTO name_pretty_override: Vision AI API product_documentation_override: https://cloud.google.com/vision-ai/docs @@ -6071,7 +5817,6 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: helps customers migrating VMs to GCP at no additional cost, as well as an extensive ecosystem of partners to help with discovery and assessment, planning, migration, special use cases, and more. - released_version: 1.99.0 name_pretty_override: VM Migration product_documentation_override: n/a - name: vmwareengine @@ -6084,7 +5829,6 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: Easily lift and shift your VMware-based applications to Google Cloud without changes to your apps, tools, or processes. - released_version: 0.93.0 name_pretty_override: Google Cloud VMware Engine product_documentation_override: https://cloud.google.com/vmware-engine/ - name: vpcaccess @@ -6096,7 +5840,6 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: enables you to connect from a serverless environment on Google Cloud directly to your VPC network. This connection makes it possible for your serverless environment to access resources in your VPC network via internal IP addresses. - released_version: 2.100.0 name_pretty_override: Serverless VPC Access product_documentation_override: https://cloud.google.com/vpc/docs/serverless-vpc-access - name: webrisk @@ -6106,7 +5849,6 @@ libraries: - path: google/cloud/webrisk/v1beta1 java: api_description_override: is a Google Cloud service that lets client applications check URLs against Google's constantly updated lists of unsafe web resources. Unsafe web resources include social engineering sites - such as phishing and deceptive sites - and sites that host malware or unwanted software. With the Web Risk API, you can quickly identify known bad sites, warn users before they click infected links, and prevent users from posting links to known infected pages from your site. The Web Risk API includes data on more than a million unsafe URLs and stays up to date by examining billions of URLs each day. - released_version: 2.98.0 name_pretty_override: Web Risk product_documentation_override: https://cloud.google.com/web-risk/docs/ billing_not_required: true @@ -6121,7 +5863,6 @@ libraries: - google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/it/v1beta/VPCServiceControlPositiveTest.java java: api_description_override: identifies security vulnerabilities in your App Engine, Compute Engine, and Google Kubernetes Engine web applications. It crawls your application, following all links within the scope of your starting URLs, and attempts to exercise as many user inputs and event handlers as possible. - released_version: 2.99.0 name_pretty_override: Cloud Security Scanner product_documentation_override: https://cloud.google.com/security-scanner/docs/ billing_not_required: true @@ -6133,7 +5874,6 @@ libraries: java: api_description_override: allows you to ochestrate and automate Google Cloud and HTTP-based API services with serverless workflows. codeowner_team: '@googleapis/aap-dpes' - released_version: 2.99.0 name_pretty_override: Cloud Workflow Executions product_documentation_override: https://cloud.google.com/workflows - name: workflows @@ -6150,7 +5890,6 @@ libraries: java: api_description_override: allows you to ochestrate and automate Google Cloud and HTTP-based API services with serverless workflows. codeowner_team: '@googleapis/aap-dpes' - released_version: 2.99.0 name_pretty_override: Cloud Workflows product_documentation_override: https://cloud.google.com/workflows - name: workloadidentity @@ -6160,8 +5899,6 @@ libraries: java: additional_protos: - path: google/cloud/location/locations.proto - java: - released_version: 0.4.0 - name: workloadmanager version: 0.16.0-SNAPSHOT apis: @@ -6173,7 +5910,6 @@ libraries: api_id_override: workloadmanager.googleapis.com api_description_override: Workload Manager is a service that provides tooling for enterprise workloads to automate the deployment and validation of your workloads against best practices and recommendations. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-workloadmanager/latest/overview - released_version: 0.15.0 library_type_override: GAPIC_AUTO name_pretty_override: Workload Manager API product_documentation_override: https://docs.cloud.google.com/workload-manager/docs @@ -6184,7 +5920,6 @@ libraries: - path: google/apps/events/subscriptions/v1beta java: api_description_override: The Google Workspace Events API lets you subscribe to events and manage change notifications across Google Workspace applications. - released_version: 0.63.0 name_pretty_override: Google Workspace Events API product_documentation_override: https://developers.google.com/workspace/events - name: workstations @@ -6202,6 +5937,5 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: Fully managed development environments built to meet the needs of security-sensitive enterprises. It enhances the security of development environments while accelerating developer onboarding and productivity. - released_version: 0.87.0 name_pretty_override: Cloud Workstations product_documentation_override: https://cloud.google.com/workstations