diff --git a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2/audio_config.proto b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2/audio_config.proto index 7e529798ded..93978cce1d3 100644 --- a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2/audio_config.proto +++ b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2/audio_config.proto @@ -418,6 +418,9 @@ enum AudioEncoding { // is replaced with a single byte containing the block length. Only Speex // wideband is supported. `sample_rate_hertz` must be 16000. AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7; + + // 8-bit samples that compand 13-bit audio samples using G.711 PCMU/a-law. + AUDIO_ENCODING_ALAW = 8; } // Variant of the specified [Speech @@ -504,4 +507,7 @@ enum OutputAudioEncoding { // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. OUTPUT_AUDIO_ENCODING_MULAW = 5; + + // 8-bit samples that compand 13-bit audio samples using G.711 PCMU/a-law. + OUTPUT_AUDIO_ENCODING_ALAW = 6; } diff --git a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2/conversation_dataset.proto b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2/conversation_dataset.proto index 0009330b50f..179e8a30bb1 100644 --- a/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2/conversation_dataset.proto +++ b/packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2/conversation_dataset.proto @@ -198,6 +198,14 @@ message ConversationDataset { // Output only. The number of conversations this conversation dataset // contains. int64 conversation_count = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. A read only boolean field reflecting Zone Isolation status of + // the dataset. + optional bool satisfies_pzi = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. A read only boolean field reflecting Zone Separation status of + // the dataset. + optional bool satisfies_pzs = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; } // The request message for diff --git a/packages/google-cloud-dialogflow/protos/protos.d.ts b/packages/google-cloud-dialogflow/protos/protos.d.ts index 33841a08456..a718709e76f 100644 --- a/packages/google-cloud-dialogflow/protos/protos.d.ts +++ b/packages/google-cloud-dialogflow/protos/protos.d.ts @@ -8678,7 +8678,8 @@ export namespace google { AUDIO_ENCODING_AMR = 4, AUDIO_ENCODING_AMR_WB = 5, AUDIO_ENCODING_OGG_OPUS = 6, - AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7 + AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7, + AUDIO_ENCODING_ALAW = 8 } /** SpeechModelVariant enum. */ @@ -8704,7 +8705,8 @@ export namespace google { OUTPUT_AUDIO_ENCODING_MP3 = 2, OUTPUT_AUDIO_ENCODING_MP3_64_KBPS = 4, OUTPUT_AUDIO_ENCODING_OGG_OPUS = 3, - OUTPUT_AUDIO_ENCODING_MULAW = 5 + OUTPUT_AUDIO_ENCODING_MULAW = 5, + OUTPUT_AUDIO_ENCODING_ALAW = 6 } /** Represents a Sessions */ @@ -28100,6 +28102,12 @@ export namespace google { /** ConversationDataset conversationCount */ conversationCount?: (number|Long|string|null); + + /** ConversationDataset satisfiesPzi */ + satisfiesPzi?: (boolean|null); + + /** ConversationDataset satisfiesPzs */ + satisfiesPzs?: (boolean|null); } /** Represents a ConversationDataset. */ @@ -28132,6 +28140,18 @@ export namespace google { /** ConversationDataset conversationCount. */ public conversationCount: (number|Long|string); + /** ConversationDataset satisfiesPzi. */ + public satisfiesPzi?: (boolean|null); + + /** ConversationDataset satisfiesPzs. */ + public satisfiesPzs?: (boolean|null); + + /** ConversationDataset _satisfiesPzi. */ + public _satisfiesPzi?: "satisfiesPzi"; + + /** ConversationDataset _satisfiesPzs. */ + public _satisfiesPzs?: "satisfiesPzs"; + /** * Creates a new ConversationDataset instance using the specified properties. * @param [properties] Properties to set diff --git a/packages/google-cloud-dialogflow/protos/protos.js b/packages/google-cloud-dialogflow/protos/protos.js index 25f08c67aa7..34593b07a3e 100644 --- a/packages/google-cloud-dialogflow/protos/protos.js +++ b/packages/google-cloud-dialogflow/protos/protos.js @@ -19755,6 +19755,7 @@ case 5: case 6: case 7: + case 8: break; } if (message.sampleRateHertz != null && message.hasOwnProperty("sampleRateHertz")) @@ -19861,6 +19862,10 @@ case 7: message.audioEncoding = 7; break; + case "AUDIO_ENCODING_ALAW": + case 8: + message.audioEncoding = 8; + break; } if (object.sampleRateHertz != null) message.sampleRateHertz = object.sampleRateHertz | 0; @@ -20758,6 +20763,7 @@ case 4: case 3: case 5: + case 6: break; } if (message.sampleRateHertz != null && message.hasOwnProperty("sampleRateHertz")) @@ -20814,6 +20820,10 @@ case 5: message.audioEncoding = 5; break; + case "OUTPUT_AUDIO_ENCODING_ALAW": + case 6: + message.audioEncoding = 6; + break; } if (object.sampleRateHertz != null) message.sampleRateHertz = object.sampleRateHertz | 0; @@ -21448,6 +21458,7 @@ case 5: case 6: case 7: + case 8: break; } if (message.sampleRateHertz != null && message.hasOwnProperty("sampleRateHertz")) @@ -21542,6 +21553,10 @@ case 7: message.audioEncoding = 7; break; + case "AUDIO_ENCODING_ALAW": + case 8: + message.audioEncoding = 8; + break; } if (object.sampleRateHertz != null) message.sampleRateHertz = object.sampleRateHertz | 0; @@ -21678,6 +21693,7 @@ * @property {number} AUDIO_ENCODING_AMR_WB=5 AUDIO_ENCODING_AMR_WB value * @property {number} AUDIO_ENCODING_OGG_OPUS=6 AUDIO_ENCODING_OGG_OPUS value * @property {number} AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE=7 AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE value + * @property {number} AUDIO_ENCODING_ALAW=8 AUDIO_ENCODING_ALAW value */ v2.AudioEncoding = (function() { var valuesById = {}, values = Object.create(valuesById); @@ -21689,6 +21705,7 @@ values[valuesById[5] = "AUDIO_ENCODING_AMR_WB"] = 5; values[valuesById[6] = "AUDIO_ENCODING_OGG_OPUS"] = 6; values[valuesById[7] = "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE"] = 7; + values[valuesById[8] = "AUDIO_ENCODING_ALAW"] = 8; return values; })(); @@ -21738,6 +21755,7 @@ * @property {number} OUTPUT_AUDIO_ENCODING_MP3_64_KBPS=4 OUTPUT_AUDIO_ENCODING_MP3_64_KBPS value * @property {number} OUTPUT_AUDIO_ENCODING_OGG_OPUS=3 OUTPUT_AUDIO_ENCODING_OGG_OPUS value * @property {number} OUTPUT_AUDIO_ENCODING_MULAW=5 OUTPUT_AUDIO_ENCODING_MULAW value + * @property {number} OUTPUT_AUDIO_ENCODING_ALAW=6 OUTPUT_AUDIO_ENCODING_ALAW value */ v2.OutputAudioEncoding = (function() { var valuesById = {}, values = Object.create(valuesById); @@ -21747,6 +21765,7 @@ values[valuesById[4] = "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS"] = 4; values[valuesById[3] = "OUTPUT_AUDIO_ENCODING_OGG_OPUS"] = 3; values[valuesById[5] = "OUTPUT_AUDIO_ENCODING_MULAW"] = 5; + values[valuesById[6] = "OUTPUT_AUDIO_ENCODING_ALAW"] = 6; return values; })(); @@ -68874,6 +68893,8 @@ * @property {google.cloud.dialogflow.v2.IInputConfig|null} [inputConfig] ConversationDataset inputConfig * @property {google.cloud.dialogflow.v2.IConversationInfo|null} [conversationInfo] ConversationDataset conversationInfo * @property {number|Long|null} [conversationCount] ConversationDataset conversationCount + * @property {boolean|null} [satisfiesPzi] ConversationDataset satisfiesPzi + * @property {boolean|null} [satisfiesPzs] ConversationDataset satisfiesPzs */ /** @@ -68947,6 +68968,47 @@ */ ConversationDataset.prototype.conversationCount = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + /** + * ConversationDataset satisfiesPzi. + * @member {boolean|null|undefined} satisfiesPzi + * @memberof google.cloud.dialogflow.v2.ConversationDataset + * @instance + */ + ConversationDataset.prototype.satisfiesPzi = null; + + /** + * ConversationDataset satisfiesPzs. + * @member {boolean|null|undefined} satisfiesPzs + * @memberof google.cloud.dialogflow.v2.ConversationDataset + * @instance + */ + ConversationDataset.prototype.satisfiesPzs = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * ConversationDataset _satisfiesPzi. + * @member {"satisfiesPzi"|undefined} _satisfiesPzi + * @memberof google.cloud.dialogflow.v2.ConversationDataset + * @instance + */ + Object.defineProperty(ConversationDataset.prototype, "_satisfiesPzi", { + get: $util.oneOfGetter($oneOfFields = ["satisfiesPzi"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * ConversationDataset _satisfiesPzs. + * @member {"satisfiesPzs"|undefined} _satisfiesPzs + * @memberof google.cloud.dialogflow.v2.ConversationDataset + * @instance + */ + Object.defineProperty(ConversationDataset.prototype, "_satisfiesPzs", { + get: $util.oneOfGetter($oneOfFields = ["satisfiesPzs"]), + set: $util.oneOfSetter($oneOfFields) + }); + /** * Creates a new ConversationDataset instance using the specified properties. * @function create @@ -68985,6 +69047,10 @@ $root.google.cloud.dialogflow.v2.ConversationInfo.encode(message.conversationInfo, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); if (message.conversationCount != null && Object.hasOwnProperty.call(message, "conversationCount")) writer.uint32(/* id 7, wireType 0 =*/56).int64(message.conversationCount); + if (message.satisfiesPzi != null && Object.hasOwnProperty.call(message, "satisfiesPzi")) + writer.uint32(/* id 8, wireType 0 =*/64).bool(message.satisfiesPzi); + if (message.satisfiesPzs != null && Object.hasOwnProperty.call(message, "satisfiesPzs")) + writer.uint32(/* id 9, wireType 0 =*/72).bool(message.satisfiesPzs); return writer; }; @@ -69047,6 +69113,14 @@ message.conversationCount = reader.int64(); break; } + case 8: { + message.satisfiesPzi = reader.bool(); + break; + } + case 9: { + message.satisfiesPzs = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -69082,6 +69156,7 @@ ConversationDataset.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + var properties = {}; if (message.name != null && message.hasOwnProperty("name")) if (!$util.isString(message.name)) return "name: string expected"; @@ -69109,6 +69184,16 @@ if (message.conversationCount != null && message.hasOwnProperty("conversationCount")) if (!$util.isInteger(message.conversationCount) && !(message.conversationCount && $util.isInteger(message.conversationCount.low) && $util.isInteger(message.conversationCount.high))) return "conversationCount: integer|Long expected"; + if (message.satisfiesPzi != null && message.hasOwnProperty("satisfiesPzi")) { + properties._satisfiesPzi = 1; + if (typeof message.satisfiesPzi !== "boolean") + return "satisfiesPzi: boolean expected"; + } + if (message.satisfiesPzs != null && message.hasOwnProperty("satisfiesPzs")) { + properties._satisfiesPzs = 1; + if (typeof message.satisfiesPzs !== "boolean") + return "satisfiesPzs: boolean expected"; + } return null; }; @@ -69154,6 +69239,10 @@ message.conversationCount = object.conversationCount; else if (typeof object.conversationCount === "object") message.conversationCount = new $util.LongBits(object.conversationCount.low >>> 0, object.conversationCount.high >>> 0).toNumber(); + if (object.satisfiesPzi != null) + message.satisfiesPzi = Boolean(object.satisfiesPzi); + if (object.satisfiesPzs != null) + message.satisfiesPzs = Boolean(object.satisfiesPzs); return message; }; @@ -69200,6 +69289,16 @@ object.conversationCount = options.longs === String ? String(message.conversationCount) : message.conversationCount; else object.conversationCount = options.longs === String ? $util.Long.prototype.toString.call(message.conversationCount) : options.longs === Number ? new $util.LongBits(message.conversationCount.low >>> 0, message.conversationCount.high >>> 0).toNumber() : message.conversationCount; + if (message.satisfiesPzi != null && message.hasOwnProperty("satisfiesPzi")) { + object.satisfiesPzi = message.satisfiesPzi; + if (options.oneofs) + object._satisfiesPzi = "satisfiesPzi"; + } + if (message.satisfiesPzs != null && message.hasOwnProperty("satisfiesPzs")) { + object.satisfiesPzs = message.satisfiesPzs; + if (options.oneofs) + object._satisfiesPzs = "satisfiesPzs"; + } return object; }; @@ -85835,6 +85934,7 @@ case 4: case 3: case 5: + case 6: break; } if (message.sampleRateHertz != null && message.hasOwnProperty("sampleRateHertz")) @@ -85898,6 +85998,10 @@ case 5: message.outputAudioEncoding = 5; break; + case "OUTPUT_AUDIO_ENCODING_ALAW": + case 6: + message.outputAudioEncoding = 6; + break; } if (object.sampleRateHertz != null) message.sampleRateHertz = object.sampleRateHertz | 0; diff --git a/packages/google-cloud-dialogflow/protos/protos.json b/packages/google-cloud-dialogflow/protos/protos.json index 4081d954abe..a3d5950b626 100644 --- a/packages/google-cloud-dialogflow/protos/protos.json +++ b/packages/google-cloud-dialogflow/protos/protos.json @@ -2453,7 +2453,8 @@ "AUDIO_ENCODING_AMR": 4, "AUDIO_ENCODING_AMR_WB": 5, "AUDIO_ENCODING_OGG_OPUS": 6, - "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE": 7 + "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE": 7, + "AUDIO_ENCODING_ALAW": 8 } }, "SpeechModelVariant": { @@ -2479,7 +2480,8 @@ "OUTPUT_AUDIO_ENCODING_MP3": 2, "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS": 4, "OUTPUT_AUDIO_ENCODING_OGG_OPUS": 3, - "OUTPUT_AUDIO_ENCODING_MULAW": 5 + "OUTPUT_AUDIO_ENCODING_MULAW": 5, + "OUTPUT_AUDIO_ENCODING_ALAW": 6 } }, "Sessions": { @@ -8257,6 +8259,18 @@ "(google.api.resource).type": "dialogflow.googleapis.com/ConversationDataset", "(google.api.resource).pattern": "projects/{project}/locations/{location}/conversationDatasets/{conversation_dataset}" }, + "oneofs": { + "_satisfiesPzi": { + "oneof": [ + "satisfiesPzi" + ] + }, + "_satisfiesPzs": { + "oneof": [ + "satisfiesPzs" + ] + } + }, "fields": { "name": { "type": "string", @@ -8306,6 +8320,22 @@ "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } + }, + "satisfiesPzi": { + "type": "bool", + "id": 8, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY", + "proto3_optional": true + } + }, + "satisfiesPzs": { + "type": "bool", + "id": 9, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY", + "proto3_optional": true + } } } },