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

feat: allow to disable webhook invocation per request #156

Merged
merged 2 commits into from
Mar 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,22 @@ public com.google.cloud.dialogflow.cx.v3.FulfillmentOrBuilder getTriggerFulfillm
}

public static final int TARGET_PAGE_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* The target page to transition to.
* Format: `projects/&lt;Project ID&gt;/locations/&lt;Location ID&gt;/agents/&lt;Agent
* ID&gt;/flows/&lt;Flow ID&gt;/pages/&lt;Page ID&gt;`.
* </pre>
*
* <code>string target_page = 2 [(.google.api.resource_reference) = { ... }</code>
*
* @return Whether the targetPage field is set.
*/
public boolean hasTargetPage() {
return targetCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -421,6 +437,22 @@ public com.google.protobuf.ByteString getTargetPageBytes() {
}

public static final int TARGET_FLOW_FIELD_NUMBER = 3;
/**
*
*
* <pre>
* The target flow to transition to.
* Format: `projects/&lt;Project ID&gt;/locations/&lt;Location ID&gt;/agents/&lt;Agent
* ID&gt;/flows/&lt;Flow ID&gt;`.
* </pre>
*
* <code>string target_flow = 3 [(.google.api.resource_reference) = { ... }</code>
*
* @return Whether the targetFlow field is set.
*/
public boolean hasTargetFlow() {
return targetCase_ == 3;
}
/**
*
*
Expand Down Expand Up @@ -1352,6 +1384,23 @@ public com.google.cloud.dialogflow.cx.v3.FulfillmentOrBuilder getTriggerFulfillm
return triggerFulfillmentBuilder_;
}

/**
*
*
* <pre>
* The target page to transition to.
* Format: `projects/&lt;Project ID&gt;/locations/&lt;Location ID&gt;/agents/&lt;Agent
* ID&gt;/flows/&lt;Flow ID&gt;/pages/&lt;Page ID&gt;`.
* </pre>
*
* <code>string target_page = 2 [(.google.api.resource_reference) = { ... }</code>
*
* @return Whether the targetPage field is set.
*/
@java.lang.Override
public boolean hasTargetPage() {
return targetCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -1481,6 +1530,23 @@ public Builder setTargetPageBytes(com.google.protobuf.ByteString value) {
return this;
}

/**
*
*
* <pre>
* The target flow to transition to.
* Format: `projects/&lt;Project ID&gt;/locations/&lt;Location ID&gt;/agents/&lt;Agent
* ID&gt;/flows/&lt;Flow ID&gt;`.
* </pre>
*
* <code>string target_flow = 3 [(.google.api.resource_reference) = { ... }</code>
*
* @return Whether the targetFlow field is set.
*/
@java.lang.Override
public boolean hasTargetFlow() {
return targetCase_ == 3;
}
/**
*
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,20 @@ public interface EventHandlerOrBuilder
*/
com.google.cloud.dialogflow.cx.v3.FulfillmentOrBuilder getTriggerFulfillmentOrBuilder();

/**
*
*
* <pre>
* The target page to transition to.
* Format: `projects/&lt;Project ID&gt;/locations/&lt;Location ID&gt;/agents/&lt;Agent
* ID&gt;/flows/&lt;Flow ID&gt;/pages/&lt;Page ID&gt;`.
* </pre>
*
* <code>string target_page = 2 [(.google.api.resource_reference) = { ... }</code>
*
* @return Whether the targetPage field is set.
*/
boolean hasTargetPage();
/**
*
*
Expand Down Expand Up @@ -146,6 +160,20 @@ public interface EventHandlerOrBuilder
*/
com.google.protobuf.ByteString getTargetPageBytes();

/**
*
*
* <pre>
* The target flow to transition to.
* Format: `projects/&lt;Project ID&gt;/locations/&lt;Location ID&gt;/agents/&lt;Agent
* ID&gt;/flows/&lt;Flow ID&gt;`.
* </pre>
*
* <code>string target_flow = 3 [(.google.api.resource_reference) = { ... }</code>
*
* @return Whether the targetFlow field is set.
*/
boolean hasTargetFlow();
/**
*
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3153,6 +3153,18 @@ public interface MetricOrBuilder
*/
com.google.cloud.dialogflow.cx.v3.Experiment.Result.CountType getCountType();

/**
*
*
* <pre>
* Ratio value of a metric.
* </pre>
*
* <code>double ratio = 2;</code>
*
* @return Whether the ratio field is set.
*/
boolean hasRatio();
/**
*
*
Expand All @@ -3166,6 +3178,18 @@ public interface MetricOrBuilder
*/
double getRatio();

/**
*
*
* <pre>
* Count value of a metric.
* </pre>
*
* <code>double count = 4;</code>
*
* @return Whether the count field is set.
*/
boolean hasCount();
/**
*
*
Expand Down Expand Up @@ -3488,6 +3512,21 @@ public com.google.cloud.dialogflow.cx.v3.Experiment.Result.CountType getCountTyp
}

public static final int RATIO_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* Ratio value of a metric.
* </pre>
*
* <code>double ratio = 2;</code>
*
* @return Whether the ratio field is set.
*/
@java.lang.Override
public boolean hasRatio() {
return valueCase_ == 2;
}
/**
*
*
Expand All @@ -3508,6 +3547,21 @@ public double getRatio() {
}

public static final int COUNT_FIELD_NUMBER = 4;
/**
*
*
* <pre>
* Count value of a metric.
* </pre>
*
* <code>double count = 4;</code>
*
* @return Whether the count field is set.
*/
@java.lang.Override
public boolean hasCount() {
return valueCase_ == 4;
}
/**
*
*
Expand Down Expand Up @@ -4249,6 +4303,20 @@ public Builder clearCountType() {
return this;
}

/**
*
*
* <pre>
* Ratio value of a metric.
* </pre>
*
* <code>double ratio = 2;</code>
*
* @return Whether the ratio field is set.
*/
public boolean hasRatio() {
return valueCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -4304,6 +4372,20 @@ public Builder clearRatio() {
return this;
}

/**
*
*
* <pre>
* Count value of a metric.
* </pre>
*
* <code>double count = 4;</code>
*
* @return Whether the count field is set.
*/
public boolean hasCount() {
return valueCase_ == 4;
}
/**
*
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,21 @@ public AgentCase getAgentCase() {
}

public static final int AGENT_URI_FIELD_NUMBER = 1;
/**
*
*
* <pre>
* The URI to a file containing the exported agent. This field is populated
* only if `agent_uri` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3.ExportAgentRequest].
* </pre>
*
* <code>string agent_uri = 1;</code>
*
* @return Whether the agentUri field is set.
*/
public boolean hasAgentUri() {
return agentCase_ == 1;
}
/**
*
*
Expand Down Expand Up @@ -221,6 +236,21 @@ public com.google.protobuf.ByteString getAgentUriBytes() {
}

public static final int AGENT_CONTENT_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* Uncompressed raw byte content for agent.
* </pre>
*
* <code>bytes agent_content = 2;</code>
*
* @return Whether the agentContent field is set.
*/
@java.lang.Override
public boolean hasAgentContent() {
return agentCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -621,6 +651,22 @@ public Builder clearAgent() {
return this;
}

/**
*
*
* <pre>
* The URI to a file containing the exported agent. This field is populated
* only if `agent_uri` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3.ExportAgentRequest].
* </pre>
*
* <code>string agent_uri = 1;</code>
*
* @return Whether the agentUri field is set.
*/
@java.lang.Override
public boolean hasAgentUri() {
return agentCase_ == 1;
}
/**
*
*
Expand Down Expand Up @@ -745,6 +791,20 @@ public Builder setAgentUriBytes(com.google.protobuf.ByteString value) {
return this;
}

/**
*
*
* <pre>
* Uncompressed raw byte content for agent.
* </pre>
*
* <code>bytes agent_content = 2;</code>
*
* @return Whether the agentContent field is set.
*/
public boolean hasAgentContent() {
return agentCase_ == 2;
}
/**
*
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,19 @@ public interface ExportAgentResponseOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3.ExportAgentResponse)
com.google.protobuf.MessageOrBuilder {

/**
*
*
* <pre>
* The URI to a file containing the exported agent. This field is populated
* only if `agent_uri` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3.ExportAgentRequest].
* </pre>
*
* <code>string agent_uri = 1;</code>
*
* @return Whether the agentUri field is set.
*/
boolean hasAgentUri();
/**
*
*
Expand Down Expand Up @@ -50,6 +63,18 @@ public interface ExportAgentResponseOrBuilder
*/
com.google.protobuf.ByteString getAgentUriBytes();

/**
*
*
* <pre>
* Uncompressed raw byte content for agent.
* </pre>
*
* <code>bytes agent_content = 2;</code>
*
* @return Whether the agentContent field is set.
*/
boolean hasAgentContent();
/**
*
*
Expand Down
Loading