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

Commit 17ff978

Browse files
feat: allow to disable webhook invocation per request (#156)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/20ff8108-4bb8-44d9-b386-bf2432a15754/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 359860671 Source-Link: googleapis/googleapis@718eadc PiperOrigin-RevId: 359781040 Source-Link: googleapis/googleapis@f6dd7e4
1 parent 2922b2b commit 17ff978

File tree

55 files changed

+2930
-156
lines changed

Some content is hidden

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

55 files changed

+2930
-156
lines changed

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

+66
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,22 @@ public com.google.cloud.dialogflow.cx.v3.FulfillmentOrBuilder getTriggerFulfillm
361361
}
362362

363363
public static final int TARGET_PAGE_FIELD_NUMBER = 2;
364+
/**
365+
*
366+
*
367+
* <pre>
368+
* The target page to transition to.
369+
* Format: `projects/&lt;Project ID&gt;/locations/&lt;Location ID&gt;/agents/&lt;Agent
370+
* ID&gt;/flows/&lt;Flow ID&gt;/pages/&lt;Page ID&gt;`.
371+
* </pre>
372+
*
373+
* <code>string target_page = 2 [(.google.api.resource_reference) = { ... }</code>
374+
*
375+
* @return Whether the targetPage field is set.
376+
*/
377+
public boolean hasTargetPage() {
378+
return targetCase_ == 2;
379+
}
364380
/**
365381
*
366382
*
@@ -421,6 +437,22 @@ public com.google.protobuf.ByteString getTargetPageBytes() {
421437
}
422438

423439
public static final int TARGET_FLOW_FIELD_NUMBER = 3;
440+
/**
441+
*
442+
*
443+
* <pre>
444+
* The target flow to transition to.
445+
* Format: `projects/&lt;Project ID&gt;/locations/&lt;Location ID&gt;/agents/&lt;Agent
446+
* ID&gt;/flows/&lt;Flow ID&gt;`.
447+
* </pre>
448+
*
449+
* <code>string target_flow = 3 [(.google.api.resource_reference) = { ... }</code>
450+
*
451+
* @return Whether the targetFlow field is set.
452+
*/
453+
public boolean hasTargetFlow() {
454+
return targetCase_ == 3;
455+
}
424456
/**
425457
*
426458
*
@@ -1352,6 +1384,23 @@ public com.google.cloud.dialogflow.cx.v3.FulfillmentOrBuilder getTriggerFulfillm
13521384
return triggerFulfillmentBuilder_;
13531385
}
13541386

1387+
/**
1388+
*
1389+
*
1390+
* <pre>
1391+
* The target page to transition to.
1392+
* Format: `projects/&lt;Project ID&gt;/locations/&lt;Location ID&gt;/agents/&lt;Agent
1393+
* ID&gt;/flows/&lt;Flow ID&gt;/pages/&lt;Page ID&gt;`.
1394+
* </pre>
1395+
*
1396+
* <code>string target_page = 2 [(.google.api.resource_reference) = { ... }</code>
1397+
*
1398+
* @return Whether the targetPage field is set.
1399+
*/
1400+
@java.lang.Override
1401+
public boolean hasTargetPage() {
1402+
return targetCase_ == 2;
1403+
}
13551404
/**
13561405
*
13571406
*
@@ -1481,6 +1530,23 @@ public Builder setTargetPageBytes(com.google.protobuf.ByteString value) {
14811530
return this;
14821531
}
14831532

1533+
/**
1534+
*
1535+
*
1536+
* <pre>
1537+
* The target flow to transition to.
1538+
* Format: `projects/&lt;Project ID&gt;/locations/&lt;Location ID&gt;/agents/&lt;Agent
1539+
* ID&gt;/flows/&lt;Flow ID&gt;`.
1540+
* </pre>
1541+
*
1542+
* <code>string target_flow = 3 [(.google.api.resource_reference) = { ... }</code>
1543+
*
1544+
* @return Whether the targetFlow field is set.
1545+
*/
1546+
@java.lang.Override
1547+
public boolean hasTargetFlow() {
1548+
return targetCase_ == 3;
1549+
}
14841550
/**
14851551
*
14861552
*

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

+28
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,20 @@ public interface EventHandlerOrBuilder
117117
*/
118118
com.google.cloud.dialogflow.cx.v3.FulfillmentOrBuilder getTriggerFulfillmentOrBuilder();
119119

120+
/**
121+
*
122+
*
123+
* <pre>
124+
* The target page to transition to.
125+
* Format: `projects/&lt;Project ID&gt;/locations/&lt;Location ID&gt;/agents/&lt;Agent
126+
* ID&gt;/flows/&lt;Flow ID&gt;/pages/&lt;Page ID&gt;`.
127+
* </pre>
128+
*
129+
* <code>string target_page = 2 [(.google.api.resource_reference) = { ... }</code>
130+
*
131+
* @return Whether the targetPage field is set.
132+
*/
133+
boolean hasTargetPage();
120134
/**
121135
*
122136
*
@@ -146,6 +160,20 @@ public interface EventHandlerOrBuilder
146160
*/
147161
com.google.protobuf.ByteString getTargetPageBytes();
148162

163+
/**
164+
*
165+
*
166+
* <pre>
167+
* The target flow to transition to.
168+
* Format: `projects/&lt;Project ID&gt;/locations/&lt;Location ID&gt;/agents/&lt;Agent
169+
* ID&gt;/flows/&lt;Flow ID&gt;`.
170+
* </pre>
171+
*
172+
* <code>string target_flow = 3 [(.google.api.resource_reference) = { ... }</code>
173+
*
174+
* @return Whether the targetFlow field is set.
175+
*/
176+
boolean hasTargetFlow();
149177
/**
150178
*
151179
*

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

+82
Original file line numberDiff line numberDiff line change
@@ -3153,6 +3153,18 @@ public interface MetricOrBuilder
31533153
*/
31543154
com.google.cloud.dialogflow.cx.v3.Experiment.Result.CountType getCountType();
31553155

3156+
/**
3157+
*
3158+
*
3159+
* <pre>
3160+
* Ratio value of a metric.
3161+
* </pre>
3162+
*
3163+
* <code>double ratio = 2;</code>
3164+
*
3165+
* @return Whether the ratio field is set.
3166+
*/
3167+
boolean hasRatio();
31563168
/**
31573169
*
31583170
*
@@ -3166,6 +3178,18 @@ public interface MetricOrBuilder
31663178
*/
31673179
double getRatio();
31683180

3181+
/**
3182+
*
3183+
*
3184+
* <pre>
3185+
* Count value of a metric.
3186+
* </pre>
3187+
*
3188+
* <code>double count = 4;</code>
3189+
*
3190+
* @return Whether the count field is set.
3191+
*/
3192+
boolean hasCount();
31693193
/**
31703194
*
31713195
*
@@ -3488,6 +3512,21 @@ public com.google.cloud.dialogflow.cx.v3.Experiment.Result.CountType getCountTyp
34883512
}
34893513

34903514
public static final int RATIO_FIELD_NUMBER = 2;
3515+
/**
3516+
*
3517+
*
3518+
* <pre>
3519+
* Ratio value of a metric.
3520+
* </pre>
3521+
*
3522+
* <code>double ratio = 2;</code>
3523+
*
3524+
* @return Whether the ratio field is set.
3525+
*/
3526+
@java.lang.Override
3527+
public boolean hasRatio() {
3528+
return valueCase_ == 2;
3529+
}
34913530
/**
34923531
*
34933532
*
@@ -3508,6 +3547,21 @@ public double getRatio() {
35083547
}
35093548

35103549
public static final int COUNT_FIELD_NUMBER = 4;
3550+
/**
3551+
*
3552+
*
3553+
* <pre>
3554+
* Count value of a metric.
3555+
* </pre>
3556+
*
3557+
* <code>double count = 4;</code>
3558+
*
3559+
* @return Whether the count field is set.
3560+
*/
3561+
@java.lang.Override
3562+
public boolean hasCount() {
3563+
return valueCase_ == 4;
3564+
}
35113565
/**
35123566
*
35133567
*
@@ -4249,6 +4303,20 @@ public Builder clearCountType() {
42494303
return this;
42504304
}
42514305

4306+
/**
4307+
*
4308+
*
4309+
* <pre>
4310+
* Ratio value of a metric.
4311+
* </pre>
4312+
*
4313+
* <code>double ratio = 2;</code>
4314+
*
4315+
* @return Whether the ratio field is set.
4316+
*/
4317+
public boolean hasRatio() {
4318+
return valueCase_ == 2;
4319+
}
42524320
/**
42534321
*
42544322
*
@@ -4304,6 +4372,20 @@ public Builder clearRatio() {
43044372
return this;
43054373
}
43064374

4375+
/**
4376+
*
4377+
*
4378+
* <pre>
4379+
* Count value of a metric.
4380+
* </pre>
4381+
*
4382+
* <code>double count = 4;</code>
4383+
*
4384+
* @return Whether the count field is set.
4385+
*/
4386+
public boolean hasCount() {
4387+
return valueCase_ == 4;
4388+
}
43074389
/**
43084390
*
43094391
*

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

+60
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,21 @@ public AgentCase getAgentCase() {
163163
}
164164

165165
public static final int AGENT_URI_FIELD_NUMBER = 1;
166+
/**
167+
*
168+
*
169+
* <pre>
170+
* The URI to a file containing the exported agent. This field is populated
171+
* only if `agent_uri` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3.ExportAgentRequest].
172+
* </pre>
173+
*
174+
* <code>string agent_uri = 1;</code>
175+
*
176+
* @return Whether the agentUri field is set.
177+
*/
178+
public boolean hasAgentUri() {
179+
return agentCase_ == 1;
180+
}
166181
/**
167182
*
168183
*
@@ -221,6 +236,21 @@ public com.google.protobuf.ByteString getAgentUriBytes() {
221236
}
222237

223238
public static final int AGENT_CONTENT_FIELD_NUMBER = 2;
239+
/**
240+
*
241+
*
242+
* <pre>
243+
* Uncompressed raw byte content for agent.
244+
* </pre>
245+
*
246+
* <code>bytes agent_content = 2;</code>
247+
*
248+
* @return Whether the agentContent field is set.
249+
*/
250+
@java.lang.Override
251+
public boolean hasAgentContent() {
252+
return agentCase_ == 2;
253+
}
224254
/**
225255
*
226256
*
@@ -621,6 +651,22 @@ public Builder clearAgent() {
621651
return this;
622652
}
623653

654+
/**
655+
*
656+
*
657+
* <pre>
658+
* The URI to a file containing the exported agent. This field is populated
659+
* only if `agent_uri` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3.ExportAgentRequest].
660+
* </pre>
661+
*
662+
* <code>string agent_uri = 1;</code>
663+
*
664+
* @return Whether the agentUri field is set.
665+
*/
666+
@java.lang.Override
667+
public boolean hasAgentUri() {
668+
return agentCase_ == 1;
669+
}
624670
/**
625671
*
626672
*
@@ -745,6 +791,20 @@ public Builder setAgentUriBytes(com.google.protobuf.ByteString value) {
745791
return this;
746792
}
747793

794+
/**
795+
*
796+
*
797+
* <pre>
798+
* Uncompressed raw byte content for agent.
799+
* </pre>
800+
*
801+
* <code>bytes agent_content = 2;</code>
802+
*
803+
* @return Whether the agentContent field is set.
804+
*/
805+
public boolean hasAgentContent() {
806+
return agentCase_ == 2;
807+
}
748808
/**
749809
*
750810
*

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

+25
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,19 @@ public interface ExportAgentResponseOrBuilder
2323
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3.ExportAgentResponse)
2424
com.google.protobuf.MessageOrBuilder {
2525

26+
/**
27+
*
28+
*
29+
* <pre>
30+
* The URI to a file containing the exported agent. This field is populated
31+
* only if `agent_uri` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3.ExportAgentRequest].
32+
* </pre>
33+
*
34+
* <code>string agent_uri = 1;</code>
35+
*
36+
* @return Whether the agentUri field is set.
37+
*/
38+
boolean hasAgentUri();
2639
/**
2740
*
2841
*
@@ -50,6 +63,18 @@ public interface ExportAgentResponseOrBuilder
5063
*/
5164
com.google.protobuf.ByteString getAgentUriBytes();
5265

66+
/**
67+
*
68+
*
69+
* <pre>
70+
* Uncompressed raw byte content for agent.
71+
* </pre>
72+
*
73+
* <code>bytes agent_content = 2;</code>
74+
*
75+
* @return Whether the agentContent field is set.
76+
*/
77+
boolean hasAgentContent();
5378
/**
5479
*
5580
*

0 commit comments

Comments
 (0)