Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit b7f5e1a

Browse files
feat: added audio_export_settings (#472)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 444644952 Source-Link: googleapis/googleapis@4bd299a Source-Link: https://github.com/googleapis/googleapis-gen/commit/cd15ee9b95feb65bd9fd31160c7d5f3cbdb35d40 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2QxNWVlOWI5NWZlYjY1YmQ5ZmQzMTE2MGM3ZDVmM2NiZGIzNWQ0MCJ9 chore(bazel): update version of Protobuf to v3.20.1 PiperOrigin-RevId: 444328399 Source-Link: googleapis/googleapis@c7ca416 Source-Link: https://github.com/googleapis/googleapis-gen/commit/d61705453a62b3ecda78aa30c192840ebc5a8a90 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDYxNzA1NDUzYTYyYjNlY2RhNzhhYTMwYzE5Mjg0MGViYzVhOGE5MCJ9
1 parent 11c48ad commit b7f5e1a

File tree

412 files changed

+3656
-369
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

412 files changed

+3656
-369
lines changed

google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3/SecuritySettingsServiceClientTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ public void createSecuritySettingsTest() throws Exception {
9393
.setInspectTemplate("inspectTemplate-2053620050")
9494
.setDeidentifyTemplate("deidentifyTemplate-2141929945")
9595
.addAllPurgeDataTypes(new ArrayList<SecuritySettings.PurgeDataType>())
96+
.setAudioExportSettings(SecuritySettings.AudioExportSettings.newBuilder().build())
9697
.setInsightsExportSettings(SecuritySettings.InsightsExportSettings.newBuilder().build())
9798
.build();
9899
mockSecuritySettingsService.addResponse(expectedResponse);
@@ -142,6 +143,7 @@ public void createSecuritySettingsTest2() throws Exception {
142143
.setInspectTemplate("inspectTemplate-2053620050")
143144
.setDeidentifyTemplate("deidentifyTemplate-2141929945")
144145
.addAllPurgeDataTypes(new ArrayList<SecuritySettings.PurgeDataType>())
146+
.setAudioExportSettings(SecuritySettings.AudioExportSettings.newBuilder().build())
145147
.setInsightsExportSettings(SecuritySettings.InsightsExportSettings.newBuilder().build())
146148
.build();
147149
mockSecuritySettingsService.addResponse(expectedResponse);
@@ -191,6 +193,7 @@ public void getSecuritySettingsTest() throws Exception {
191193
.setInspectTemplate("inspectTemplate-2053620050")
192194
.setDeidentifyTemplate("deidentifyTemplate-2141929945")
193195
.addAllPurgeDataTypes(new ArrayList<SecuritySettings.PurgeDataType>())
196+
.setAudioExportSettings(SecuritySettings.AudioExportSettings.newBuilder().build())
194197
.setInsightsExportSettings(SecuritySettings.InsightsExportSettings.newBuilder().build())
195198
.build();
196199
mockSecuritySettingsService.addResponse(expectedResponse);
@@ -238,6 +241,7 @@ public void getSecuritySettingsTest2() throws Exception {
238241
.setInspectTemplate("inspectTemplate-2053620050")
239242
.setDeidentifyTemplate("deidentifyTemplate-2141929945")
240243
.addAllPurgeDataTypes(new ArrayList<SecuritySettings.PurgeDataType>())
244+
.setAudioExportSettings(SecuritySettings.AudioExportSettings.newBuilder().build())
241245
.setInsightsExportSettings(SecuritySettings.InsightsExportSettings.newBuilder().build())
242246
.build();
243247
mockSecuritySettingsService.addResponse(expectedResponse);
@@ -283,6 +287,7 @@ public void updateSecuritySettingsTest() throws Exception {
283287
.setInspectTemplate("inspectTemplate-2053620050")
284288
.setDeidentifyTemplate("deidentifyTemplate-2141929945")
285289
.addAllPurgeDataTypes(new ArrayList<SecuritySettings.PurgeDataType>())
290+
.setAudioExportSettings(SecuritySettings.AudioExportSettings.newBuilder().build())
286291
.setInsightsExportSettings(SecuritySettings.InsightsExportSettings.newBuilder().build())
287292
.build();
288293
mockSecuritySettingsService.addResponse(expectedResponse);

proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AdvancedSettings.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ private AdvancedSettings(
100100
}
101101
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
102102
throw e.setUnfinishedMessage(this);
103+
} catch (com.google.protobuf.UninitializedMessageException e) {
104+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
103105
} catch (java.io.IOException e) {
104106
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
105107
} finally {
@@ -225,6 +227,8 @@ private LoggingSettings(
225227
}
226228
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
227229
throw e.setUnfinishedMessage(this);
230+
} catch (com.google.protobuf.UninitializedMessageException e) {
231+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
228232
} catch (java.io.IOException e) {
229233
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
230234
} finally {

proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Agent.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,8 @@ private Agent(
211211
}
212212
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
213213
throw e.setUnfinishedMessage(this);
214+
} catch (com.google.protobuf.UninitializedMessageException e) {
215+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
214216
} catch (java.io.IOException e) {
215217
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
216218
} finally {
@@ -802,6 +804,8 @@ public com.google.protobuf.ByteString getSecuritySettingsBytes() {
802804
*
803805
* <code>bool enable_stackdriver_logging = 18 [deprecated = true];</code>
804806
*
807+
* @deprecated google.cloud.dialogflow.cx.v3.Agent.enable_stackdriver_logging is deprecated. See
808+
* google/cloud/dialogflow/cx/v3/agent.proto;l=245
805809
* @return The enableStackdriverLogging.
806810
*/
807811
@java.lang.Override
@@ -2826,6 +2830,8 @@ public Builder setSecuritySettingsBytes(com.google.protobuf.ByteString value) {
28262830
*
28272831
* <code>bool enable_stackdriver_logging = 18 [deprecated = true];</code>
28282832
*
2833+
* @deprecated google.cloud.dialogflow.cx.v3.Agent.enable_stackdriver_logging is deprecated. See
2834+
* google/cloud/dialogflow/cx/v3/agent.proto;l=245
28292835
* @return The enableStackdriverLogging.
28302836
*/
28312837
@java.lang.Override
@@ -2844,6 +2850,8 @@ public boolean getEnableStackdriverLogging() {
28442850
*
28452851
* <code>bool enable_stackdriver_logging = 18 [deprecated = true];</code>
28462852
*
2853+
* @deprecated google.cloud.dialogflow.cx.v3.Agent.enable_stackdriver_logging is deprecated. See
2854+
* google/cloud/dialogflow/cx/v3/agent.proto;l=245
28472855
* @param value The enableStackdriverLogging to set.
28482856
* @return This builder for chaining.
28492857
*/
@@ -2865,6 +2873,8 @@ public Builder setEnableStackdriverLogging(boolean value) {
28652873
*
28662874
* <code>bool enable_stackdriver_logging = 18 [deprecated = true];</code>
28672875
*
2876+
* @deprecated google.cloud.dialogflow.cx.v3.Agent.enable_stackdriver_logging is deprecated. See
2877+
* google/cloud/dialogflow/cx/v3/agent.proto;l=245
28682878
* @return This builder for chaining.
28692879
*/
28702880
@java.lang.Deprecated

proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentOrBuilder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,8 @@ public interface AgentOrBuilder
371371
*
372372
* <code>bool enable_stackdriver_logging = 18 [deprecated = true];</code>
373373
*
374+
* @deprecated google.cloud.dialogflow.cx.v3.Agent.enable_stackdriver_logging is deprecated. See
375+
* google/cloud/dialogflow/cx/v3/agent.proto;l=245
374376
* @return The enableStackdriverLogging.
375377
*/
376378
@java.lang.Deprecated

proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentValidationResult.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ private AgentValidationResult(
104104
}
105105
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
106106
throw e.setUnfinishedMessage(this);
107+
} catch (com.google.protobuf.UninitializedMessageException e) {
108+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
107109
} catch (java.io.IOException e) {
108110
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
109111
} finally {

proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AudioInput.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ private AudioInput(
103103
}
104104
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
105105
throw e.setUnfinishedMessage(this);
106+
} catch (com.google.protobuf.UninitializedMessageException e) {
107+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
106108
} catch (java.io.IOException e) {
107109
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
108110
} finally {

proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/BatchDeleteTestCasesRequest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ private BatchDeleteTestCasesRequest(
100100
}
101101
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
102102
throw e.setUnfinishedMessage(this);
103+
} catch (com.google.protobuf.UninitializedMessageException e) {
104+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
103105
} catch (java.io.IOException e) {
104106
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
105107
} finally {

proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/BatchRunTestCasesMetadata.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ private BatchRunTestCasesMetadata(
9494
}
9595
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
9696
throw e.setUnfinishedMessage(this);
97+
} catch (com.google.protobuf.UninitializedMessageException e) {
98+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
9799
} catch (java.io.IOException e) {
98100
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
99101
} finally {

proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/BatchRunTestCasesRequest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ private BatchRunTestCasesRequest(
108108
}
109109
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
110110
throw e.setUnfinishedMessage(this);
111+
} catch (com.google.protobuf.UninitializedMessageException e) {
112+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
111113
} catch (java.io.IOException e) {
112114
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
113115
} finally {

proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/BatchRunTestCasesResponse.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ private BatchRunTestCasesResponse(
9595
}
9696
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
9797
throw e.setUnfinishedMessage(this);
98+
} catch (com.google.protobuf.UninitializedMessageException e) {
99+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
98100
} catch (java.io.IOException e) {
99101
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
100102
} finally {

0 commit comments

Comments
 (0)