diff --git a/java-deploy/README.md b/java-deploy/README.md index 68f084c0229c..a6480a6a904a 100644 --- a/java-deploy/README.md +++ b/java-deploy/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-deploy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-deploy/1.30.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-deploy/1.31.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java index 3f7e944f14c8..e8c7af8999bf 100644 --- a/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java +++ b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java @@ -73,862 +73,863 @@ * threads. In the example above, try-with-resources is used, which automatically calls close(). * *
Method | *Description | *Method Variants | + *|
---|---|---|---|
ListDeliveryPipelines | + *ListDeliveryPipelines |
* Lists DeliveryPipelines in a given project and location. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
GetDeliveryPipeline | + *GetDeliveryPipeline |
* Gets details of a single DeliveryPipeline. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
CreateDeliveryPipeline | + *CreateDeliveryPipeline |
* Creates a new DeliveryPipeline in a given project and location. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
UpdateDeliveryPipeline | + *UpdateDeliveryPipeline |
* Updates the parameters of a single DeliveryPipeline. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
DeleteDeliveryPipeline | + *DeleteDeliveryPipeline |
* Deletes a single DeliveryPipeline. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
ListTargets | + *ListTargets |
* Lists Targets in a given project and location. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
RollbackTarget | + *RollbackTarget |
* Creates a `Rollout` to roll back the specified target. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
GetTarget | + *GetTarget |
* Gets details of a single Target. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
CreateTarget | + *CreateTarget |
* Creates a new Target in a given project and location. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
UpdateTarget | + *UpdateTarget |
* Updates the parameters of a single Target. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
DeleteTarget | + *DeleteTarget |
* Deletes a single Target. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
ListCustomTargetTypes | + *ListCustomTargetTypes |
* Lists CustomTargetTypes in a given project and location. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
GetCustomTargetType | + *GetCustomTargetType |
* Gets details of a single CustomTargetType. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
CreateCustomTargetType | + *CreateCustomTargetType |
* Creates a new CustomTargetType in a given project and location. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
UpdateCustomTargetType | + *UpdateCustomTargetType |
* Updates a single CustomTargetType. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
DeleteCustomTargetType | + *DeleteCustomTargetType |
* Deletes a single CustomTargetType. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
ListReleases | + *ListReleases |
* Lists Releases in a given project and location. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
GetRelease | + *GetRelease |
* Gets details of a single Release. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
CreateRelease | + *CreateRelease |
* Creates a new Release in a given project and location. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
AbandonRelease | + *AbandonRelease |
* Abandons a Release in the Delivery Pipeline. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
ApproveRollout | + *ApproveRollout |
* Approves a Rollout. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
AdvanceRollout | + *AdvanceRollout |
* Advances a Rollout in a given project and location. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
CancelRollout | + *CancelRollout |
* Cancels a Rollout in a given project and location. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
ListRollouts | + *ListRollouts |
* Lists Rollouts in a given project and location. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
GetRollout | + *GetRollout |
* Gets details of a single Rollout. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
CreateRollout | + *CreateRollout |
* Creates a new Rollout in a given project and location. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
IgnoreJob | + *IgnoreJob |
* Ignores the specified Job in a Rollout. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
RetryJob | + *RetryJob |
* Retries the specified Job in a Rollout. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
ListJobRuns | + *ListJobRuns |
* Lists JobRuns in a given project and location. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
GetJobRun | + *GetJobRun |
* Gets details of a single JobRun. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
TerminateJobRun | + *TerminateJobRun |
* Terminates a Job Run in a given project and location. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
GetConfig | + *GetConfig |
* Gets the configuration for a location. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
CreateAutomation | + *CreateAutomation |
* Creates a new Automation in a given project and location. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
UpdateAutomation | + *UpdateAutomation |
* Updates the parameters of a single Automation resource. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
DeleteAutomation | + *DeleteAutomation |
* Deletes a single Automation resource. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
GetAutomation | + *GetAutomation |
* Gets details of a single Automation. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
ListAutomations | + *ListAutomations |
* Lists Automations in a given project and location. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
GetAutomationRun | + *GetAutomationRun |
* Gets details of a single AutomationRun. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
ListAutomationRuns | + *ListAutomationRuns |
* Lists AutomationRuns in a given project and location. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
CancelAutomationRun | + *CancelAutomationRun |
* Cancels an AutomationRun. The `state` of the `AutomationRun` after cancelling is `CANCELLED`. `CancelAutomationRun` can be called on AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun in a different state returns an `FAILED_PRECONDITION` error. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
ListLocations | + *ListLocations |
* Lists information about the supported locations for this service. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
GetLocation | + *GetLocation |
* Gets information about a location. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
SetIamPolicy | + *SetIamPolicy |
* Sets the access control policy on the specified resource. Replacesany existing policy. * Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
GetIamPolicy | + *GetIamPolicy |
* Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
TestIamPermissions | + *TestIamPermissions |
* Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. * Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
See the individual methods for example code.
diff --git a/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java
index c133c7dacb4b..1e03bcca2ea2 100644
--- a/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java
+++ b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java
@@ -1164,6 +1164,15 @@ public CloudDeployStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -1740,7 +1749,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -1753,7 +1761,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -2723,6 +2730,15 @@ public UnaryCallSettings.Builder ListAgents Returns the list of all agents in the specified location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listAgents(ListAgentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listAgents(LocationName parent)
+ * listAgents(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listAgentsPagedCallable()
+ * listAgentsCallable()
* GetAgent Retrieves the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. getAgent(GetAgentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getAgent(AgentName name)
+ * getAgent(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getAgentCallable()
* CreateAgent Creates an agent in the specified location.
* Note: You should always train flows prior to sending them queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. createAgent(CreateAgentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createAgent(LocationName parent, Agent agent)
+ * createAgent(String parent, Agent agent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createAgentCallable()
* UpdateAgent Updates the specified agent.
* Note: You should always train flows prior to sending them queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. updateAgent(UpdateAgentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateAgent(Agent agent, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateAgentCallable()
* DeleteAgent Deletes the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteAgent(DeleteAgentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteAgent(AgentName name)
+ * deleteAgent(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteAgentCallable()
* ExportAgent Exports the specified agent to a binary file.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ExportAgentResponse][google.cloud.dialogflow.cx.v3.ExportAgentResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. exportAgentAsync(ExportAgentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. exportAgentOperationCallable()
+ * exportAgentCallable()
* RestoreAgent Restores the specified agent from a binary file.
* Replaces the current agent with a new one. Note that all existing resources in agent (e.g. intents, entity types, flows) will be removed.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
@@ -195,115 +197,114 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. restoreAgentAsync(RestoreAgentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. restoreAgentOperationCallable()
+ * restoreAgentCallable()
* ValidateAgent Validates the specified agent and creates or updates validation results. The agent in draft version is validated. Please call this API after the training is completed to get the complete validation results. Request object method variants only take one parameter, a request object, which must be constructed before the call. validateAgent(ValidateAgentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. validateAgentCallable()
* GetAgentValidationResult Gets the latest agent validation result. Agent validation is performed when ValidateAgent is called. Request object method variants only take one parameter, a request object, which must be constructed before the call. getAgentValidationResult(GetAgentValidationResultRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getAgentValidationResult(AgentValidationResultName name)
+ * getAgentValidationResult(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getAgentValidationResultCallable()
* GetGenerativeSettings Gets the generative settings for the agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. getGenerativeSettings(GetGenerativeSettingsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getGenerativeSettings(AgentGenerativeSettingsName name, String languageCode)
+ * getGenerativeSettings(String name, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getGenerativeSettingsCallable()
* UpdateGenerativeSettings Updates the generative settings for the agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateGenerativeSettings(UpdateGenerativeSettingsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateGenerativeSettings(GenerativeSettings generativeSettings, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateGenerativeSettingsCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/ChangelogsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/ChangelogsClient.java
index 75f314ee0a7e..6b2b843e1750 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/ChangelogsClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/ChangelogsClient.java
@@ -59,79 +59,80 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListChangelogs Returns the list of Changelogs. Request object method variants only take one parameter, a request object, which must be constructed before the call. listChangelogs(ListChangelogsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listChangelogs(AgentName parent)
+ * listChangelogs(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listChangelogsPagedCallable()
+ * listChangelogsCallable()
* GetChangelog Retrieves the specified Changelog. Request object method variants only take one parameter, a request object, which must be constructed before the call. getChangelog(GetChangelogRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getChangelog(ChangelogName name)
+ * getChangelog(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getChangelogCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/DeploymentsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/DeploymentsClient.java
index 728d948fb558..11562929d9ef 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/DeploymentsClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/DeploymentsClient.java
@@ -61,79 +61,80 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListDeployments Returns the list of all deployments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. Request object method variants only take one parameter, a request object, which must be constructed before the call. listDeployments(ListDeploymentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listDeployments(EnvironmentName parent)
+ * listDeployments(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listDeploymentsPagedCallable()
+ * listDeploymentsCallable()
* GetDeployment Retrieves the specified [Deployment][google.cloud.dialogflow.cx.v3.Deployment]. Request object method variants only take one parameter, a request object, which must be constructed before the call. getDeployment(GetDeploymentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getDeployment(DeploymentName name)
+ * getDeployment(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getDeploymentCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/EntityTypesClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/EntityTypesClient.java
index 95bd034c91d5..929943b2ce5b 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/EntityTypesClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/EntityTypesClient.java
@@ -63,138 +63,139 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* GetEntityType Retrieves the specified entity type. Request object method variants only take one parameter, a request object, which must be constructed before the call. getEntityType(GetEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getEntityType(EntityTypeName name)
+ * getEntityType(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getEntityTypeCallable()
* CreateEntityType Creates an entity type in the specified agent.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. createEntityType(CreateEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createEntityType(AgentName parent, EntityType entityType)
+ * createEntityType(String parent, EntityType entityType)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createEntityTypeCallable()
* UpdateEntityType Updates the specified entity type.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. updateEntityType(UpdateEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateEntityType(EntityType entityType, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateEntityTypeCallable()
* DeleteEntityType Deletes the specified entity type.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteEntityType(DeleteEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteEntityType(EntityTypeName name)
+ * deleteEntityType(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteEntityTypeCallable()
* ListEntityTypes Returns the list of all entity types in the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listEntityTypes(ListEntityTypesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listEntityTypes(AgentName parent)
+ * listEntityTypes(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listEntityTypesPagedCallable()
+ * listEntityTypesCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/EnvironmentsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/EnvironmentsClient.java
index d66afc427f7b..a639ba919b0f 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/EnvironmentsClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/EnvironmentsClient.java
@@ -69,215 +69,216 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListEnvironments Returns the list of all environments in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent]. Request object method variants only take one parameter, a request object, which must be constructed before the call. listEnvironments(ListEnvironmentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listEnvironments(AgentName parent)
+ * listEnvironments(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listEnvironmentsPagedCallable()
+ * listEnvironmentsCallable()
* GetEnvironment Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. Request object method variants only take one parameter, a request object, which must be constructed before the call. getEnvironment(GetEnvironmentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getEnvironment(EnvironmentName name)
+ * getEnvironment(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getEnvironmentCallable()
* CreateEnvironment Creates an [Environment][google.cloud.dialogflow.cx.v3.Environment] in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [Environment][google.cloud.dialogflow.cx.v3.Environment] Request object method variants only take one parameter, a request object, which must be constructed before the call. createEnvironmentAsync(CreateEnvironmentRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createEnvironmentAsync(AgentName parent, Environment environment)
+ * createEnvironmentAsync(String parent, Environment environment)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createEnvironmentOperationCallable()
+ * createEnvironmentCallable()
* UpdateEnvironment Updates the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [Environment][google.cloud.dialogflow.cx.v3.Environment] Request object method variants only take one parameter, a request object, which must be constructed before the call. updateEnvironmentAsync(UpdateEnvironmentRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateEnvironmentAsync(Environment environment, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateEnvironmentOperationCallable()
+ * updateEnvironmentCallable()
* DeleteEnvironment Deletes the specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteEnvironment(DeleteEnvironmentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteEnvironment(EnvironmentName name)
+ * deleteEnvironment(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteEnvironmentCallable()
* LookupEnvironmentHistory Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. Request object method variants only take one parameter, a request object, which must be constructed before the call. lookupEnvironmentHistory(LookupEnvironmentHistoryRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. lookupEnvironmentHistory(EnvironmentName name)
+ * lookupEnvironmentHistory(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. lookupEnvironmentHistoryPagedCallable()
+ * lookupEnvironmentHistoryCallable()
* RunContinuousTest Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [RunContinuousTestMetadata][google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata] - `response`: [RunContinuousTestResponse][google.cloud.dialogflow.cx.v3.RunContinuousTestResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. runContinuousTestAsync(RunContinuousTestRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. runContinuousTestOperationCallable()
+ * runContinuousTestCallable()
* ListContinuousTestResults Fetches a list of continuous test results for a given environment. Request object method variants only take one parameter, a request object, which must be constructed before the call. listContinuousTestResults(ListContinuousTestResultsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listContinuousTestResults(EnvironmentName parent)
+ * listContinuousTestResults(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listContinuousTestResultsPagedCallable()
+ * listContinuousTestResultsCallable()
* DeployFlow Deploys a flow to the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [DeployFlowMetadata][google.cloud.dialogflow.cx.v3.DeployFlowMetadata] - `response`: [DeployFlowResponse][google.cloud.dialogflow.cx.v3.DeployFlowResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. deployFlowAsync(DeployFlowRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deployFlowOperationCallable()
+ * deployFlowCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/ExperimentsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/ExperimentsClient.java
index f5d7a25ecbdc..6c4efaceb603 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/ExperimentsClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/ExperimentsClient.java
@@ -63,173 +63,174 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListExperiments Returns the list of all experiments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. Request object method variants only take one parameter, a request object, which must be constructed before the call. listExperiments(ListExperimentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listExperiments(EnvironmentName parent)
+ * listExperiments(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listExperimentsPagedCallable()
+ * listExperimentsCallable()
* GetExperiment Retrieves the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. Request object method variants only take one parameter, a request object, which must be constructed before the call. getExperiment(GetExperimentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getExperiment(ExperimentName name)
+ * getExperiment(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getExperimentCallable()
* CreateExperiment Creates an [Experiment][google.cloud.dialogflow.cx.v3.Experiment] in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. Request object method variants only take one parameter, a request object, which must be constructed before the call. createExperiment(CreateExperimentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createExperiment(EnvironmentName parent, Experiment experiment)
+ * createExperiment(String parent, Experiment experiment)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createExperimentCallable()
* UpdateExperiment Updates the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateExperiment(UpdateExperimentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateExperiment(Experiment experiment, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateExperimentCallable()
* DeleteExperiment Deletes the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteExperiment(DeleteExperimentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteExperiment(ExperimentName name)
+ * deleteExperiment(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteExperimentCallable()
* StartExperiment Starts the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. This rpc only changes the state of experiment from PENDING to RUNNING. Request object method variants only take one parameter, a request object, which must be constructed before the call. startExperiment(StartExperimentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. startExperiment(ExperimentName name)
+ * startExperiment(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. startExperimentCallable()
* StopExperiment Stops the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. This rpc only changes the state of experiment from RUNNING to DONE. Request object method variants only take one parameter, a request object, which must be constructed before the call. stopExperiment(StopExperimentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. stopExperiment(ExperimentName name)
+ * stopExperiment(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. stopExperimentCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowsClient.java
index 85bc81e98448..d42f02a199df 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowsClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowsClient.java
@@ -68,109 +68,111 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* CreateFlow Creates a flow in the specified agent.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. createFlow(CreateFlowRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createFlow(AgentName parent, Flow flow)
+ * createFlow(String parent, Flow flow)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createFlowCallable()
* DeleteFlow Deletes a specified flow. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteFlow(DeleteFlowRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteFlow(FlowName name)
+ * deleteFlow(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteFlowCallable()
* ListFlows Returns the list of all flows in the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listFlows(ListFlowsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listFlows(AgentName parent)
+ * listFlows(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listFlowsPagedCallable()
+ * listFlowsCallable()
* GetFlow Retrieves the specified flow. Request object method variants only take one parameter, a request object, which must be constructed before the call. getFlow(GetFlowRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getFlow(FlowName name)
+ * getFlow(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getFlowCallable()
* UpdateFlow Updates the specified flow.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. updateFlow(UpdateFlowRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateFlow(Flow flow, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateFlowCallable()
* TrainFlow Trains the specified flow. Note that only the flow in 'draft' environment is trained.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
@@ -178,55 +180,55 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. trainFlowAsync(TrainFlowRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. trainFlowAsync(FlowName name)
+ * trainFlowAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. trainFlowOperationCallable()
+ * trainFlowCallable()
* ValidateFlow Validates the specified flow and creates or updates validation results. Please call this API after the training is completed to get the complete validation results. Request object method variants only take one parameter, a request object, which must be constructed before the call. validateFlow(ValidateFlowRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. validateFlowCallable()
* GetFlowValidationResult Gets the latest flow validation result. Flow validation is performed when ValidateFlow is called. Request object method variants only take one parameter, a request object, which must be constructed before the call. getFlowValidationResult(GetFlowValidationResultRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getFlowValidationResult(FlowValidationResultName name)
+ * getFlowValidationResult(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getFlowValidationResultCallable()
* ImportFlow Imports the specified flow to the specified agent from a binary file.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ImportFlowResponse][google.cloud.dialogflow.cx.v3.ImportFlowResponse]
@@ -234,17 +236,17 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. importFlowAsync(ImportFlowRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importFlowOperationCallable()
+ * importFlowCallable()
* ExportFlow Exports the specified flow to a binary file.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ExportFlowResponse][google.cloud.dialogflow.cx.v3.ExportFlowResponse]
@@ -252,45 +254,44 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. exportFlowAsync(ExportFlowRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. exportFlowOperationCallable()
+ * exportFlowCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/GeneratorsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/GeneratorsClient.java
index 6f09b5bc85f5..3a98c5d70f61 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/GeneratorsClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/GeneratorsClient.java
@@ -61,135 +61,136 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListGenerators Returns the list of all generators in the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listGenerators(ListGeneratorsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listGenerators(AgentName parent)
+ * listGenerators(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listGeneratorsPagedCallable()
+ * listGeneratorsCallable()
* GetGenerator Retrieves the specified generator. Request object method variants only take one parameter, a request object, which must be constructed before the call. getGenerator(GetGeneratorRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getGenerator(GeneratorName name)
+ * getGenerator(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getGeneratorCallable()
* CreateGenerator Creates a generator in the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. createGenerator(CreateGeneratorRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createGenerator(AgentName parent, Generator generator)
+ * createGenerator(String parent, Generator generator)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createGeneratorCallable()
* UpdateGenerator Update the specified generator. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateGenerator(UpdateGeneratorRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateGenerator(Generator generator, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateGeneratorCallable()
* DeleteGenerator Deletes the specified generators. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteGenerator(DeleteGeneratorRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteGenerator(GeneratorName name)
+ * deleteGenerator(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteGeneratorCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/IntentsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/IntentsClient.java
index dd631a06c44e..5def9b1b2ebb 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/IntentsClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/IntentsClient.java
@@ -66,172 +66,173 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListIntents Returns the list of all intents in the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listIntents(ListIntentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listIntents(AgentName parent)
+ * listIntents(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listIntentsPagedCallable()
+ * listIntentsCallable()
* GetIntent Retrieves the specified intent. Request object method variants only take one parameter, a request object, which must be constructed before the call. getIntent(GetIntentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getIntent(IntentName name)
+ * getIntent(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getIntentCallable()
* CreateIntent Creates an intent in the specified agent.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. createIntent(CreateIntentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createIntent(AgentName parent, Intent intent)
+ * createIntent(String parent, Intent intent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createIntentCallable()
* UpdateIntent Updates the specified intent.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. updateIntent(UpdateIntentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateIntent(Intent intent, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateIntentCallable()
* DeleteIntent Deletes the specified intent.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteIntent(DeleteIntentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteIntent(IntentName name)
+ * deleteIntent(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteIntentCallable()
* ImportIntents Imports the specified intents into the agent.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [ImportIntentsMetadata][google.cloud.dialogflow.cx.v3.ImportIntentsMetadata] - `response`: [ImportIntentsResponse][google.cloud.dialogflow.cx.v3.ImportIntentsResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. importIntentsAsync(ImportIntentsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importIntentsOperationCallable()
+ * importIntentsCallable()
* ExportIntents Exports the selected intents.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [ExportIntentsMetadata][google.cloud.dialogflow.cx.v3.ExportIntentsMetadata] - `response`: [ExportIntentsResponse][google.cloud.dialogflow.cx.v3.ExportIntentsResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. exportIntentsAsync(ExportIntentsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. exportIntentsOperationCallable()
+ * exportIntentsCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/PagesClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/PagesClient.java
index d39e131770c3..55243191daad 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/PagesClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/PagesClient.java
@@ -61,138 +61,139 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListPages Returns the list of all pages in the specified flow. Request object method variants only take one parameter, a request object, which must be constructed before the call. listPages(ListPagesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listPages(FlowName parent)
+ * listPages(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listPagesPagedCallable()
+ * listPagesCallable()
* GetPage Retrieves the specified page. Request object method variants only take one parameter, a request object, which must be constructed before the call. getPage(GetPageRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getPage(PageName name)
+ * getPage(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getPageCallable()
* CreatePage Creates a page in the specified flow.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. createPage(CreatePageRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createPage(FlowName parent, Page page)
+ * createPage(String parent, Page page)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createPageCallable()
* UpdatePage Updates the specified page.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. updatePage(UpdatePageRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updatePage(Page page, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updatePageCallable()
* DeletePage Deletes the specified page.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. deletePage(DeletePageRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deletePage(PageName name)
+ * deletePage(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deletePageCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/SecuritySettingsServiceClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/SecuritySettingsServiceClient.java
index f8aa1be71976..55b9bab1d714 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/SecuritySettingsServiceClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/SecuritySettingsServiceClient.java
@@ -65,135 +65,136 @@
* calls close().
*
* CreateSecuritySettings Create security settings in the specified location. Request object method variants only take one parameter, a request object, which must be constructed before the call. createSecuritySettings(CreateSecuritySettingsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createSecuritySettings(LocationName parent, SecuritySettings securitySettings)
+ * createSecuritySettings(String parent, SecuritySettings securitySettings)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createSecuritySettingsCallable()
* GetSecuritySettings Retrieves the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. The returned settings may be stale by up to 1 minute. Request object method variants only take one parameter, a request object, which must be constructed before the call. getSecuritySettings(GetSecuritySettingsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getSecuritySettings(SecuritySettingsName name)
+ * getSecuritySettings(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getSecuritySettingsCallable()
* UpdateSecuritySettings Updates the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateSecuritySettings(UpdateSecuritySettingsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateSecuritySettings(SecuritySettings securitySettings, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateSecuritySettingsCallable()
* ListSecuritySettings Returns the list of all security settings in the specified location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listSecuritySettings(ListSecuritySettingsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listSecuritySettings(LocationName parent)
+ * listSecuritySettings(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listSecuritySettingsPagedCallable()
+ * listSecuritySettingsCallable()
* DeleteSecuritySettings Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteSecuritySettings(DeleteSecuritySettingsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteSecuritySettings(SecuritySettingsName name)
+ * deleteSecuritySettings(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteSecuritySettingsCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionEntityTypesClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionEntityTypesClient.java
index e24c57673488..95b4cb570c9f 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionEntityTypesClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionEntityTypesClient.java
@@ -65,135 +65,136 @@
* close().
*
* ListSessionEntityTypes Returns the list of all session entity types in the specified session. Request object method variants only take one parameter, a request object, which must be constructed before the call. listSessionEntityTypes(ListSessionEntityTypesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listSessionEntityTypes(SessionName parent)
+ * listSessionEntityTypes(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listSessionEntityTypesPagedCallable()
+ * listSessionEntityTypesCallable()
* GetSessionEntityType Retrieves the specified session entity type. Request object method variants only take one parameter, a request object, which must be constructed before the call. getSessionEntityType(GetSessionEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getSessionEntityType(SessionEntityTypeName name)
+ * getSessionEntityType(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getSessionEntityTypeCallable()
* CreateSessionEntityType Creates a session entity type. Request object method variants only take one parameter, a request object, which must be constructed before the call. createSessionEntityType(CreateSessionEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createSessionEntityType(SessionName parent, SessionEntityType sessionEntityType)
+ * createSessionEntityType(String parent, SessionEntityType sessionEntityType)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createSessionEntityTypeCallable()
* UpdateSessionEntityType Updates the specified session entity type. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateSessionEntityType(UpdateSessionEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateSessionEntityType(SessionEntityType sessionEntityType, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateSessionEntityTypeCallable()
* DeleteSessionEntityType Deletes the specified session entity type. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteSessionEntityType(DeleteSessionEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteSessionEntityType(SessionEntityTypeName name)
+ * deleteSessionEntityType(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteSessionEntityTypeCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionsClient.java
index ff06787a45cd..633d1e94d663 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionsClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionsClient.java
@@ -71,108 +71,109 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* DetectIntent Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries.
* Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). Request object method variants only take one parameter, a request object, which must be constructed before the call. detectIntent(DetectIntentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. detectIntentCallable()
* StreamingDetectIntent Processes a natural language query in audio format in a streaming fashion and returns structured, actionable data as a result. This method is only available via the gRPC API (not REST).
* Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. streamingDetectIntentCallable()
* MatchIntent Returns preliminary intent match results, doesn't change the session status. Request object method variants only take one parameter, a request object, which must be constructed before the call. matchIntent(MatchIntentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. matchIntentCallable()
* FulfillIntent Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent]. Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with input from [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse]. Otherwise, the behavior is undefined. Request object method variants only take one parameter, a request object, which must be constructed before the call. fulfillIntent(FulfillIntentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. fulfillIntentCallable()
* SubmitAnswerFeedback Updates the feedback received from the user for a single turn of the bot response. Request object method variants only take one parameter, a request object, which must be constructed before the call. submitAnswerFeedback(SubmitAnswerFeedbackRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. submitAnswerFeedbackCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/TestCasesClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/TestCasesClient.java
index 0538fab27def..2bf2bd081027 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/TestCasesClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/TestCasesClient.java
@@ -67,256 +67,257 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListTestCases Fetches a list of test cases for a given agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listTestCases(ListTestCasesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listTestCases(AgentName parent)
+ * listTestCases(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listTestCasesPagedCallable()
+ * listTestCasesCallable()
* BatchDeleteTestCases Batch deletes test cases. Request object method variants only take one parameter, a request object, which must be constructed before the call. batchDeleteTestCases(BatchDeleteTestCasesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. batchDeleteTestCases(AgentName parent)
+ * batchDeleteTestCases(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchDeleteTestCasesCallable()
* GetTestCase Gets a test case. Request object method variants only take one parameter, a request object, which must be constructed before the call. getTestCase(GetTestCaseRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getTestCase(TestCaseName name)
+ * getTestCase(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getTestCaseCallable()
* CreateTestCase Creates a test case for the given agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. createTestCase(CreateTestCaseRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createTestCase(AgentName parent, TestCase testCase)
+ * createTestCase(String parent, TestCase testCase)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createTestCaseCallable()
* UpdateTestCase Updates the specified test case. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateTestCase(UpdateTestCaseRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateTestCase(TestCase testCase, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateTestCaseCallable()
* RunTestCase Kicks off a test case run.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [RunTestCaseMetadata][google.cloud.dialogflow.cx.v3.RunTestCaseMetadata] - `response`: [RunTestCaseResponse][google.cloud.dialogflow.cx.v3.RunTestCaseResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. runTestCaseAsync(RunTestCaseRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. runTestCaseOperationCallable()
+ * runTestCaseCallable()
* BatchRunTestCases Kicks off a batch run of test cases.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [BatchRunTestCasesMetadata][google.cloud.dialogflow.cx.v3.BatchRunTestCasesMetadata] - `response`: [BatchRunTestCasesResponse][google.cloud.dialogflow.cx.v3.BatchRunTestCasesResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. batchRunTestCasesAsync(BatchRunTestCasesRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchRunTestCasesOperationCallable()
+ * batchRunTestCasesCallable()
* CalculateCoverage Calculates the test coverage for an agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. calculateCoverage(CalculateCoverageRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. calculateCoverageCallable()
* ImportTestCases Imports the test cases from a Cloud Storage bucket or a local file. It always creates new test cases and won't overwrite any existing ones. The provided ID in the imported test case is neglected.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [ImportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ImportTestCasesMetadata] - `response`: [ImportTestCasesResponse][google.cloud.dialogflow.cx.v3.ImportTestCasesResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. importTestCasesAsync(ImportTestCasesRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importTestCasesOperationCallable()
+ * importTestCasesCallable()
* ExportTestCases Exports the test cases under the agent to a Cloud Storage bucket or a local file. Filter can be applied to export a subset of test cases.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [ExportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ExportTestCasesMetadata] - `response`: [ExportTestCasesResponse][google.cloud.dialogflow.cx.v3.ExportTestCasesResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. exportTestCasesAsync(ExportTestCasesRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. exportTestCasesOperationCallable()
+ * exportTestCasesCallable()
* ListTestCaseResults Fetches the list of run results for the given test case. A maximum of 100 results are kept for each test case. Request object method variants only take one parameter, a request object, which must be constructed before the call. listTestCaseResults(ListTestCaseResultsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listTestCaseResults(TestCaseName parent)
+ * listTestCaseResults(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listTestCaseResultsPagedCallable()
+ * listTestCaseResultsCallable()
* GetTestCaseResult Gets a test case result. Request object method variants only take one parameter, a request object, which must be constructed before the call. getTestCaseResult(GetTestCaseResultRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getTestCaseResult(TestCaseResultName name)
+ * getTestCaseResult(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getTestCaseResultCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/TransitionRouteGroupsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/TransitionRouteGroupsClient.java
index fc75abdfb4e9..2399194ef2f7 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/TransitionRouteGroupsClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/TransitionRouteGroupsClient.java
@@ -66,140 +66,141 @@
* calls close().
*
* ListTransitionRouteGroups Returns the list of all transition route groups in the specified flow. Request object method variants only take one parameter, a request object, which must be constructed before the call. listTransitionRouteGroups(ListTransitionRouteGroupsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listTransitionRouteGroups(AgentName parent)
+ * listTransitionRouteGroups(FlowName parent)
+ * listTransitionRouteGroups(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listTransitionRouteGroupsPagedCallable()
+ * listTransitionRouteGroupsCallable()
* GetTransitionRouteGroup Retrieves the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]. Request object method variants only take one parameter, a request object, which must be constructed before the call. getTransitionRouteGroup(GetTransitionRouteGroupRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getTransitionRouteGroup(TransitionRouteGroupName name)
+ * getTransitionRouteGroup(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getTransitionRouteGroupCallable()
* CreateTransitionRouteGroup Creates an [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] in the specified flow.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. createTransitionRouteGroup(CreateTransitionRouteGroupRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createTransitionRouteGroup(AgentName parent, TransitionRouteGroup transitionRouteGroup)
+ * createTransitionRouteGroup(FlowName parent, TransitionRouteGroup transitionRouteGroup)
+ * createTransitionRouteGroup(String parent, TransitionRouteGroup transitionRouteGroup)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createTransitionRouteGroupCallable()
* UpdateTransitionRouteGroup Updates the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. updateTransitionRouteGroup(UpdateTransitionRouteGroupRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateTransitionRouteGroup(TransitionRouteGroup transitionRouteGroup, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateTransitionRouteGroupCallable()
* DeleteTransitionRouteGroup Deletes the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteTransitionRouteGroup(DeleteTransitionRouteGroupRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteTransitionRouteGroup(TransitionRouteGroupName name)
+ * deleteTransitionRouteGroup(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteTransitionRouteGroupCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/VersionsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/VersionsClient.java
index b98e02e6b598..ee84a92f7a6e 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/VersionsClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/VersionsClient.java
@@ -68,179 +68,180 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListVersions Returns the list of all versions in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow]. Request object method variants only take one parameter, a request object, which must be constructed before the call. listVersions(ListVersionsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listVersions(FlowName parent)
+ * listVersions(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listVersionsPagedCallable()
+ * listVersionsCallable()
* GetVersion Retrieves the specified [Version][google.cloud.dialogflow.cx.v3.Version]. Request object method variants only take one parameter, a request object, which must be constructed before the call. getVersion(GetVersionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getVersion(VersionName name)
+ * getVersion(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getVersionCallable()
* CreateVersion Creates a [Version][google.cloud.dialogflow.cx.v3.Version] in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow].
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [CreateVersionOperationMetadata][google.cloud.dialogflow.cx.v3.CreateVersionOperationMetadata] - `response`: [Version][google.cloud.dialogflow.cx.v3.Version] Request object method variants only take one parameter, a request object, which must be constructed before the call. createVersionAsync(CreateVersionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createVersionAsync(FlowName parent, Version version)
+ * createVersionAsync(String parent, Version version)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createVersionOperationCallable()
+ * createVersionCallable()
* UpdateVersion Updates the specified [Version][google.cloud.dialogflow.cx.v3.Version]. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateVersion(UpdateVersionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateVersion(Version version, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateVersionCallable()
* DeleteVersion Deletes the specified [Version][google.cloud.dialogflow.cx.v3.Version]. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteVersion(DeleteVersionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteVersion(VersionName name)
+ * deleteVersion(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteVersionCallable()
* LoadVersion Loads resources in the specified version to the draft flow.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Request object method variants only take one parameter, a request object, which must be constructed before the call. loadVersionAsync(LoadVersionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. loadVersionAsync(VersionName name)
+ * loadVersionAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. loadVersionOperationCallable()
+ * loadVersionCallable()
* CompareVersions Compares the specified base version with target version. Request object method variants only take one parameter, a request object, which must be constructed before the call. compareVersions(CompareVersionsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. compareVersions(VersionName baseVersion)
+ * compareVersions(String baseVersion)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. compareVersionsCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/WebhooksClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/WebhooksClient.java
index 691d638626a1..5b1e82176069 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/WebhooksClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/WebhooksClient.java
@@ -61,135 +61,136 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListWebhooks Returns the list of all webhooks in the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listWebhooks(ListWebhooksRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listWebhooks(AgentName parent)
+ * listWebhooks(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listWebhooksPagedCallable()
+ * listWebhooksCallable()
* GetWebhook Retrieves the specified webhook. Request object method variants only take one parameter, a request object, which must be constructed before the call. getWebhook(GetWebhookRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getWebhook(WebhookName name)
+ * getWebhook(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getWebhookCallable()
* CreateWebhook Creates a webhook in the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. createWebhook(CreateWebhookRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createWebhook(AgentName parent, Webhook webhook)
+ * createWebhook(String parent, Webhook webhook)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createWebhookCallable()
* UpdateWebhook Updates the specified webhook. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateWebhook(UpdateWebhookRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateWebhook(Webhook webhook, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateWebhookCallable()
* DeleteWebhook Deletes the specified webhook. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteWebhook(DeleteWebhookRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteWebhook(WebhookName name)
+ * deleteWebhook(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteWebhookCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/stub/AgentsStubSettings.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/stub/AgentsStubSettings.java
index be3a22e87926..562cb06bb6e3 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/stub/AgentsStubSettings.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/stub/AgentsStubSettings.java
@@ -353,6 +353,15 @@ public AgentsStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -620,7 +629,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -633,7 +641,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -859,6 +866,15 @@ public UnaryCallSettings.Builder ListAgents Returns the list of all agents in the specified location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listAgents(ListAgentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listAgents(LocationName parent)
+ * listAgents(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listAgentsPagedCallable()
+ * listAgentsCallable()
* GetAgent Retrieves the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. getAgent(GetAgentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getAgent(AgentName name)
+ * getAgent(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getAgentCallable()
* CreateAgent Creates an agent in the specified location.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. createAgent(CreateAgentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createAgent(LocationName parent, Agent agent)
+ * createAgent(String parent, Agent agent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createAgentCallable()
* UpdateAgent Updates the specified agent.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. updateAgent(UpdateAgentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateAgent(Agent agent, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateAgentCallable()
* DeleteAgent Deletes the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteAgent(DeleteAgentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteAgent(AgentName name)
+ * deleteAgent(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteAgentCallable()
* ExportAgent Exports the specified agent to a binary file.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ExportAgentResponse][google.cloud.dialogflow.cx.v3beta1.ExportAgentResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. exportAgentAsync(ExportAgentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. exportAgentOperationCallable()
+ * exportAgentCallable()
* RestoreAgent Restores the specified agent from a binary file.
* Replaces the current agent with a new one. Note that all existing resources in agent (e.g. intents, entity types, flows) will be removed.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
@@ -195,115 +197,114 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. restoreAgentAsync(RestoreAgentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. restoreAgentOperationCallable()
+ * restoreAgentCallable()
* ValidateAgent Validates the specified agent and creates or updates validation results. The agent in draft version is validated. Please call this API after the training is completed to get the complete validation results. Request object method variants only take one parameter, a request object, which must be constructed before the call. validateAgent(ValidateAgentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. validateAgentCallable()
* GetAgentValidationResult Gets the latest agent validation result. Agent validation is performed when ValidateAgent is called. Request object method variants only take one parameter, a request object, which must be constructed before the call. getAgentValidationResult(GetAgentValidationResultRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getAgentValidationResult(AgentValidationResultName name)
+ * getAgentValidationResult(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getAgentValidationResultCallable()
* GetGenerativeSettings Gets the generative settings for the agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. getGenerativeSettings(GetGenerativeSettingsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getGenerativeSettings(AgentGenerativeSettingsName name, String languageCode)
+ * getGenerativeSettings(String name, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getGenerativeSettingsCallable()
* UpdateGenerativeSettings Updates the generative settings for the agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateGenerativeSettings(UpdateGenerativeSettingsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateGenerativeSettings(GenerativeSettings generativeSettings, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateGenerativeSettingsCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ChangelogsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ChangelogsClient.java
index f60504634408..7eba3368c47e 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ChangelogsClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ChangelogsClient.java
@@ -61,79 +61,80 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListChangelogs Returns the list of Changelogs. Request object method variants only take one parameter, a request object, which must be constructed before the call. listChangelogs(ListChangelogsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listChangelogs(AgentName parent)
+ * listChangelogs(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listChangelogsPagedCallable()
+ * listChangelogsCallable()
* GetChangelog Retrieves the specified Changelog. Request object method variants only take one parameter, a request object, which must be constructed before the call. getChangelog(GetChangelogRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getChangelog(ChangelogName name)
+ * getChangelog(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getChangelogCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeploymentsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeploymentsClient.java
index a6ed46f3692b..c854e90a697d 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeploymentsClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeploymentsClient.java
@@ -62,79 +62,80 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListDeployments Returns the list of all deployments in the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. Request object method variants only take one parameter, a request object, which must be constructed before the call. listDeployments(ListDeploymentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listDeployments(EnvironmentName parent)
+ * listDeployments(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listDeploymentsPagedCallable()
+ * listDeploymentsCallable()
* GetDeployment Retrieves the specified [Deployment][google.cloud.dialogflow.cx.v3beta1.Deployment]. Request object method variants only take one parameter, a request object, which must be constructed before the call. getDeployment(GetDeploymentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getDeployment(DeploymentName name)
+ * getDeployment(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getDeploymentCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypesClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypesClient.java
index 2617ca2b6faf..f48f9aa67548 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypesClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypesClient.java
@@ -64,137 +64,138 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* GetEntityType Retrieves the specified entity type. Request object method variants only take one parameter, a request object, which must be constructed before the call. getEntityType(GetEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getEntityType(EntityTypeName name)
+ * getEntityType(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getEntityTypeCallable()
* CreateEntityType Creates an entity type in the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. createEntityType(CreateEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createEntityType(AgentName parent, EntityType entityType)
+ * createEntityType(String parent, EntityType entityType)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createEntityTypeCallable()
* UpdateEntityType Updates the specified entity type.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. updateEntityType(UpdateEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateEntityType(EntityType entityType, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateEntityTypeCallable()
* DeleteEntityType Deletes the specified entity type.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteEntityType(DeleteEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteEntityType(EntityTypeName name)
+ * deleteEntityType(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteEntityTypeCallable()
* ListEntityTypes Returns the list of all entity types in the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listEntityTypes(ListEntityTypesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listEntityTypes(AgentName parent)
+ * listEntityTypes(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listEntityTypesPagedCallable()
+ * listEntityTypesCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EnvironmentsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EnvironmentsClient.java
index bc724aa96804..d208294cccaf 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EnvironmentsClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EnvironmentsClient.java
@@ -69,215 +69,216 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListEnvironments Returns the list of all environments in the specified [Agent][google.cloud.dialogflow.cx.v3beta1.Agent]. Request object method variants only take one parameter, a request object, which must be constructed before the call. listEnvironments(ListEnvironmentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listEnvironments(AgentName parent)
+ * listEnvironments(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listEnvironmentsPagedCallable()
+ * listEnvironmentsCallable()
* GetEnvironment Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. Request object method variants only take one parameter, a request object, which must be constructed before the call. getEnvironment(GetEnvironmentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getEnvironment(EnvironmentName name)
+ * getEnvironment(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getEnvironmentCallable()
* CreateEnvironment Creates an [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] in the specified [Agent][google.cloud.dialogflow.cx.v3beta1.Agent].
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] Request object method variants only take one parameter, a request object, which must be constructed before the call. createEnvironmentAsync(CreateEnvironmentRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createEnvironmentAsync(AgentName parent, Environment environment)
+ * createEnvironmentAsync(String parent, Environment environment)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createEnvironmentOperationCallable()
+ * createEnvironmentCallable()
* UpdateEnvironment Updates the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] Request object method variants only take one parameter, a request object, which must be constructed before the call. updateEnvironmentAsync(UpdateEnvironmentRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateEnvironmentAsync(Environment environment, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateEnvironmentOperationCallable()
+ * updateEnvironmentCallable()
* DeleteEnvironment Deletes the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteEnvironment(DeleteEnvironmentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteEnvironment(EnvironmentName name)
+ * deleteEnvironment(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteEnvironmentCallable()
* LookupEnvironmentHistory Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. Request object method variants only take one parameter, a request object, which must be constructed before the call. lookupEnvironmentHistory(LookupEnvironmentHistoryRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. lookupEnvironmentHistory(EnvironmentName name)
+ * lookupEnvironmentHistory(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. lookupEnvironmentHistoryPagedCallable()
+ * lookupEnvironmentHistoryCallable()
* RunContinuousTest Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [RunContinuousTestMetadata][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestMetadata] - `response`: [RunContinuousTestResponse][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. runContinuousTestAsync(RunContinuousTestRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. runContinuousTestOperationCallable()
+ * runContinuousTestCallable()
* ListContinuousTestResults Fetches a list of continuous test results for a given environment. Request object method variants only take one parameter, a request object, which must be constructed before the call. listContinuousTestResults(ListContinuousTestResultsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listContinuousTestResults(EnvironmentName parent)
+ * listContinuousTestResults(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listContinuousTestResultsPagedCallable()
+ * listContinuousTestResultsCallable()
* DeployFlow Deploys a flow to the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [DeployFlowMetadata][google.cloud.dialogflow.cx.v3beta1.DeployFlowMetadata] - `response`: [DeployFlowResponse][google.cloud.dialogflow.cx.v3beta1.DeployFlowResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. deployFlowAsync(DeployFlowRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deployFlowOperationCallable()
+ * deployFlowCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExperimentsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExperimentsClient.java
index aeb7a6e60485..00171ed0abdf 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExperimentsClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExperimentsClient.java
@@ -64,173 +64,174 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListExperiments Returns the list of all experiments in the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. Request object method variants only take one parameter, a request object, which must be constructed before the call. listExperiments(ListExperimentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listExperiments(EnvironmentName parent)
+ * listExperiments(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listExperimentsPagedCallable()
+ * listExperimentsCallable()
* GetExperiment Retrieves the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. Request object method variants only take one parameter, a request object, which must be constructed before the call. getExperiment(GetExperimentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getExperiment(ExperimentName name)
+ * getExperiment(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getExperimentCallable()
* CreateExperiment Creates an [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment] in the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. Request object method variants only take one parameter, a request object, which must be constructed before the call. createExperiment(CreateExperimentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createExperiment(EnvironmentName parent, Experiment experiment)
+ * createExperiment(String parent, Experiment experiment)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createExperimentCallable()
* UpdateExperiment Updates the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateExperiment(UpdateExperimentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateExperiment(Experiment experiment, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateExperimentCallable()
* DeleteExperiment Deletes the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteExperiment(DeleteExperimentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteExperiment(ExperimentName name)
+ * deleteExperiment(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteExperimentCallable()
* StartExperiment Starts the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. This rpc only changes the state of experiment from PENDING to RUNNING. Request object method variants only take one parameter, a request object, which must be constructed before the call. startExperiment(StartExperimentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. startExperiment(ExperimentName name)
+ * startExperiment(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. startExperimentCallable()
* StopExperiment Stops the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. This rpc only changes the state of experiment from RUNNING to DONE. Request object method variants only take one parameter, a request object, which must be constructed before the call. stopExperiment(StopExperimentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. stopExperiment(ExperimentName name)
+ * stopExperiment(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. stopExperimentCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClient.java
index 4f935160ea0e..8f94444fd169 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClient.java
@@ -68,109 +68,111 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* CreateFlow Creates a flow in the specified agent.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. createFlow(CreateFlowRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createFlow(AgentName parent, Flow flow)
+ * createFlow(String parent, Flow flow)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createFlowCallable()
* DeleteFlow Deletes a specified flow. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteFlow(DeleteFlowRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteFlow(FlowName name)
+ * deleteFlow(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteFlowCallable()
* ListFlows Returns the list of all flows in the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listFlows(ListFlowsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listFlows(AgentName parent)
+ * listFlows(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listFlowsPagedCallable()
+ * listFlowsCallable()
* GetFlow Retrieves the specified flow. Request object method variants only take one parameter, a request object, which must be constructed before the call. getFlow(GetFlowRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getFlow(FlowName name)
+ * getFlow(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getFlowCallable()
* UpdateFlow Updates the specified flow.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. updateFlow(UpdateFlowRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateFlow(Flow flow, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateFlowCallable()
* TrainFlow Trains the specified flow. Note that only the flow in 'draft' environment is trained.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
@@ -178,55 +180,55 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. trainFlowAsync(TrainFlowRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. trainFlowAsync(FlowName name)
+ * trainFlowAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. trainFlowOperationCallable()
+ * trainFlowCallable()
* ValidateFlow Validates the specified flow and creates or updates validation results. Please call this API after the training is completed to get the complete validation results. Request object method variants only take one parameter, a request object, which must be constructed before the call. validateFlow(ValidateFlowRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. validateFlowCallable()
* GetFlowValidationResult Gets the latest flow validation result. Flow validation is performed when ValidateFlow is called. Request object method variants only take one parameter, a request object, which must be constructed before the call. getFlowValidationResult(GetFlowValidationResultRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getFlowValidationResult(FlowValidationResultName name)
+ * getFlowValidationResult(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getFlowValidationResultCallable()
* ImportFlow Imports the specified flow to the specified agent from a binary file.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ImportFlowResponse][google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse]
@@ -234,17 +236,17 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. importFlowAsync(ImportFlowRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importFlowOperationCallable()
+ * importFlowCallable()
* ExportFlow Exports the specified flow to a binary file.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ExportFlowResponse][google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse]
@@ -252,45 +254,44 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. exportFlowAsync(ExportFlowRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. exportFlowOperationCallable()
+ * exportFlowCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GeneratorsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GeneratorsClient.java
index fbca5fec810f..722a947283cc 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GeneratorsClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GeneratorsClient.java
@@ -63,135 +63,136 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListGenerators Returns the list of all generators in the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listGenerators(ListGeneratorsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listGenerators(AgentName parent)
+ * listGenerators(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listGeneratorsPagedCallable()
+ * listGeneratorsCallable()
* GetGenerator Retrieves the specified generator. Request object method variants only take one parameter, a request object, which must be constructed before the call. getGenerator(GetGeneratorRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getGenerator(GeneratorName name)
+ * getGenerator(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getGeneratorCallable()
* CreateGenerator Creates a generator in the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. createGenerator(CreateGeneratorRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createGenerator(AgentName parent, Generator generator)
+ * createGenerator(String parent, Generator generator)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createGeneratorCallable()
* UpdateGenerator Update the specified generator. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateGenerator(UpdateGeneratorRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateGenerator(Generator generator, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateGeneratorCallable()
* DeleteGenerator Deletes the specified generators. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteGenerator(DeleteGeneratorRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteGenerator(GeneratorName name)
+ * deleteGenerator(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteGeneratorCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentsClient.java
index 7693bab98a91..eae47316f0fd 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentsClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentsClient.java
@@ -66,172 +66,173 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListIntents Returns the list of all intents in the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listIntents(ListIntentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listIntents(AgentName parent)
+ * listIntents(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listIntentsPagedCallable()
+ * listIntentsCallable()
* GetIntent Retrieves the specified intent. Request object method variants only take one parameter, a request object, which must be constructed before the call. getIntent(GetIntentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getIntent(IntentName name)
+ * getIntent(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getIntentCallable()
* CreateIntent Creates an intent in the specified agent.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. createIntent(CreateIntentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createIntent(AgentName parent, Intent intent)
+ * createIntent(String parent, Intent intent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createIntentCallable()
* UpdateIntent Updates the specified intent.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. updateIntent(UpdateIntentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateIntent(Intent intent, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateIntentCallable()
* DeleteIntent Deletes the specified intent.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteIntent(DeleteIntentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteIntent(IntentName name)
+ * deleteIntent(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteIntentCallable()
* ImportIntents Imports the specified intents into the agent.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [ImportIntentsMetadata][google.cloud.dialogflow.cx.v3beta1.ImportIntentsMetadata] - `response`: [ImportIntentsResponse][google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. importIntentsAsync(ImportIntentsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importIntentsOperationCallable()
+ * importIntentsCallable()
* ExportIntents Exports the selected intents.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [ExportIntentsMetadata][google.cloud.dialogflow.cx.v3beta1.ExportIntentsMetadata] - `response`: [ExportIntentsResponse][google.cloud.dialogflow.cx.v3beta1.ExportIntentsResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. exportIntentsAsync(ExportIntentsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. exportIntentsOperationCallable()
+ * exportIntentsCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PagesClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PagesClient.java
index 7f8354c91dfa..197df09c0519 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PagesClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PagesClient.java
@@ -62,135 +62,136 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListPages Returns the list of all pages in the specified flow. Request object method variants only take one parameter, a request object, which must be constructed before the call. listPages(ListPagesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listPages(FlowName parent)
+ * listPages(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listPagesPagedCallable()
+ * listPagesCallable()
* GetPage Retrieves the specified page. Request object method variants only take one parameter, a request object, which must be constructed before the call. getPage(GetPageRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getPage(PageName name)
+ * getPage(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getPageCallable()
* CreatePage Creates a page in the specified flow. Request object method variants only take one parameter, a request object, which must be constructed before the call. createPage(CreatePageRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createPage(FlowName parent, Page page)
+ * createPage(String parent, Page page)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createPageCallable()
* UpdatePage Updates the specified page. Request object method variants only take one parameter, a request object, which must be constructed before the call. updatePage(UpdatePageRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updatePage(Page page, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updatePageCallable()
* DeletePage Deletes the specified page. Request object method variants only take one parameter, a request object, which must be constructed before the call. deletePage(DeletePageRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deletePage(PageName name)
+ * deletePage(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deletePageCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettingsServiceClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettingsServiceClient.java
index f26f49c66930..beb2de3d7547 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettingsServiceClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettingsServiceClient.java
@@ -66,135 +66,136 @@
* calls close().
*
* CreateSecuritySettings Create security settings in the specified location. Request object method variants only take one parameter, a request object, which must be constructed before the call. createSecuritySettings(CreateSecuritySettingsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createSecuritySettings(LocationName parent, SecuritySettings securitySettings)
+ * createSecuritySettings(String parent, SecuritySettings securitySettings)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createSecuritySettingsCallable()
* GetSecuritySettings Retrieves the specified [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings]. The returned settings may be stale by up to 1 minute. Request object method variants only take one parameter, a request object, which must be constructed before the call. getSecuritySettings(GetSecuritySettingsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getSecuritySettings(SecuritySettingsName name)
+ * getSecuritySettings(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getSecuritySettingsCallable()
* UpdateSecuritySettings Updates the specified [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings]. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateSecuritySettings(UpdateSecuritySettingsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateSecuritySettings(SecuritySettings securitySettings, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateSecuritySettingsCallable()
* ListSecuritySettings Returns the list of all security settings in the specified location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listSecuritySettings(ListSecuritySettingsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listSecuritySettings(LocationName parent)
+ * listSecuritySettings(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listSecuritySettingsPagedCallable()
+ * listSecuritySettingsCallable()
* DeleteSecuritySettings Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings]. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteSecuritySettings(DeleteSecuritySettingsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteSecuritySettings(SecuritySettingsName name)
+ * deleteSecuritySettings(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteSecuritySettingsCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypesClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypesClient.java
index 2ca48972248d..8727900fd283 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypesClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypesClient.java
@@ -66,135 +66,136 @@
* close().
*
* ListSessionEntityTypes Returns the list of all session entity types in the specified session. Request object method variants only take one parameter, a request object, which must be constructed before the call. listSessionEntityTypes(ListSessionEntityTypesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listSessionEntityTypes(SessionName parent)
+ * listSessionEntityTypes(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listSessionEntityTypesPagedCallable()
+ * listSessionEntityTypesCallable()
* GetSessionEntityType Retrieves the specified session entity type. Request object method variants only take one parameter, a request object, which must be constructed before the call. getSessionEntityType(GetSessionEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getSessionEntityType(SessionEntityTypeName name)
+ * getSessionEntityType(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getSessionEntityTypeCallable()
* CreateSessionEntityType Creates a session entity type. Request object method variants only take one parameter, a request object, which must be constructed before the call. createSessionEntityType(CreateSessionEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createSessionEntityType(SessionName parent, SessionEntityType sessionEntityType)
+ * createSessionEntityType(String parent, SessionEntityType sessionEntityType)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createSessionEntityTypeCallable()
* UpdateSessionEntityType Updates the specified session entity type. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateSessionEntityType(UpdateSessionEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateSessionEntityType(SessionEntityType sessionEntityType, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateSessionEntityTypeCallable()
* DeleteSessionEntityType Deletes the specified session entity type. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteSessionEntityType(DeleteSessionEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteSessionEntityType(SessionEntityTypeName name)
+ * deleteSessionEntityType(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteSessionEntityTypeCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionsClient.java
index f69ce5a4eade..b6239ef5ece0 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionsClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionsClient.java
@@ -72,108 +72,109 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* DetectIntent Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries.
* Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). Request object method variants only take one parameter, a request object, which must be constructed before the call. detectIntent(DetectIntentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. detectIntentCallable()
* StreamingDetectIntent Processes a natural language query in audio format in a streaming fashion and returns structured, actionable data as a result. This method is only available via the gRPC API (not REST).
* Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. streamingDetectIntentCallable()
* MatchIntent Returns preliminary intent match results, doesn't change the session status. Request object method variants only take one parameter, a request object, which must be constructed before the call. matchIntent(MatchIntentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. matchIntentCallable()
* FulfillIntent Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent]. Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent], with input from [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse]. Otherwise, the behavior is undefined. Request object method variants only take one parameter, a request object, which must be constructed before the call. fulfillIntent(FulfillIntentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. fulfillIntentCallable()
* SubmitAnswerFeedback Updates the feedback received from the user for a single turn of the bot response. Request object method variants only take one parameter, a request object, which must be constructed before the call. submitAnswerFeedback(SubmitAnswerFeedbackRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. submitAnswerFeedbackCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TestCasesClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TestCasesClient.java
index bdc5c52025dc..6f7c54ee0509 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TestCasesClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TestCasesClient.java
@@ -68,256 +68,257 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListTestCases Fetches a list of test cases for a given agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listTestCases(ListTestCasesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listTestCases(AgentName parent)
+ * listTestCases(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listTestCasesPagedCallable()
+ * listTestCasesCallable()
* BatchDeleteTestCases Batch deletes test cases. Request object method variants only take one parameter, a request object, which must be constructed before the call. batchDeleteTestCases(BatchDeleteTestCasesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. batchDeleteTestCases(AgentName parent)
+ * batchDeleteTestCases(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchDeleteTestCasesCallable()
* GetTestCase Gets a test case. Request object method variants only take one parameter, a request object, which must be constructed before the call. getTestCase(GetTestCaseRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getTestCase(TestCaseName name)
+ * getTestCase(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getTestCaseCallable()
* CreateTestCase Creates a test case for the given agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. createTestCase(CreateTestCaseRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createTestCase(AgentName parent, TestCase testCase)
+ * createTestCase(String parent, TestCase testCase)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createTestCaseCallable()
* UpdateTestCase Updates the specified test case. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateTestCase(UpdateTestCaseRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateTestCase(TestCase testCase, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateTestCaseCallable()
* RunTestCase Kicks off a test case run.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [RunTestCaseMetadata][google.cloud.dialogflow.cx.v3beta1.RunTestCaseMetadata] - `response`: [RunTestCaseResponse][google.cloud.dialogflow.cx.v3beta1.RunTestCaseResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. runTestCaseAsync(RunTestCaseRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. runTestCaseOperationCallable()
+ * runTestCaseCallable()
* BatchRunTestCases Kicks off a batch run of test cases.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [BatchRunTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.BatchRunTestCasesMetadata] - `response`: [BatchRunTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.BatchRunTestCasesResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. batchRunTestCasesAsync(BatchRunTestCasesRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchRunTestCasesOperationCallable()
+ * batchRunTestCasesCallable()
* CalculateCoverage Calculates the test coverage for an agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. calculateCoverage(CalculateCoverageRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. calculateCoverageCallable()
* ImportTestCases Imports the test cases from a Cloud Storage bucket or a local file. It always creates new test cases and won't overwrite any existing ones. The provided ID in the imported test case is neglected.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [ImportTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.ImportTestCasesMetadata] - `response`: [ImportTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.ImportTestCasesResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. importTestCasesAsync(ImportTestCasesRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importTestCasesOperationCallable()
+ * importTestCasesCallable()
* ExportTestCases Exports the test cases under the agent to a Cloud Storage bucket or a local file. Filter can be applied to export a subset of test cases.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [ExportTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.ExportTestCasesMetadata] - `response`: [ExportTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.ExportTestCasesResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. exportTestCasesAsync(ExportTestCasesRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. exportTestCasesOperationCallable()
+ * exportTestCasesCallable()
* ListTestCaseResults Fetches the list of run results for the given test case. A maximum of 100 results are kept for each test case. Request object method variants only take one parameter, a request object, which must be constructed before the call. listTestCaseResults(ListTestCaseResultsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listTestCaseResults(TestCaseName parent)
+ * listTestCaseResults(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listTestCaseResultsPagedCallable()
+ * listTestCaseResultsCallable()
* GetTestCaseResult Gets a test case result. Request object method variants only take one parameter, a request object, which must be constructed before the call. getTestCaseResult(GetTestCaseResultRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getTestCaseResult(TestCaseResultName name)
+ * getTestCaseResult(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getTestCaseResultCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRouteGroupsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRouteGroupsClient.java
index 8d28d0d0af47..2cd305c0dc67 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRouteGroupsClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRouteGroupsClient.java
@@ -67,140 +67,141 @@
* calls close().
*
* ListTransitionRouteGroups Returns the list of all transition route groups in the specified flow. Request object method variants only take one parameter, a request object, which must be constructed before the call. listTransitionRouteGroups(ListTransitionRouteGroupsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listTransitionRouteGroups(AgentName parent)
+ * listTransitionRouteGroups(FlowName parent)
+ * listTransitionRouteGroups(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listTransitionRouteGroupsPagedCallable()
+ * listTransitionRouteGroupsCallable()
* GetTransitionRouteGroup Retrieves the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]. Request object method variants only take one parameter, a request object, which must be constructed before the call. getTransitionRouteGroup(GetTransitionRouteGroupRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getTransitionRouteGroup(TransitionRouteGroupName name)
+ * getTransitionRouteGroup(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getTransitionRouteGroupCallable()
* CreateTransitionRouteGroup Creates an [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] in the specified flow.
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. createTransitionRouteGroup(CreateTransitionRouteGroupRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createTransitionRouteGroup(AgentName parent, TransitionRouteGroup transitionRouteGroup)
+ * createTransitionRouteGroup(FlowName parent, TransitionRouteGroup transitionRouteGroup)
+ * createTransitionRouteGroup(String parent, TransitionRouteGroup transitionRouteGroup)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createTransitionRouteGroupCallable()
* UpdateTransitionRouteGroup Updates the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup].
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. updateTransitionRouteGroup(UpdateTransitionRouteGroupRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateTransitionRouteGroup(TransitionRouteGroup transitionRouteGroup, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateTransitionRouteGroupCallable()
* DeleteTransitionRouteGroup Deletes the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup].
* Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteTransitionRouteGroup(DeleteTransitionRouteGroupRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteTransitionRouteGroup(TransitionRouteGroupName name)
+ * deleteTransitionRouteGroup(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteTransitionRouteGroupCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VersionsClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VersionsClient.java
index 4619e8f13f81..7b42d5b1ecd1 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VersionsClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VersionsClient.java
@@ -68,179 +68,180 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListVersions Returns the list of all versions in the specified [Flow][google.cloud.dialogflow.cx.v3beta1.Flow]. Request object method variants only take one parameter, a request object, which must be constructed before the call. listVersions(ListVersionsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listVersions(FlowName parent)
+ * listVersions(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listVersionsPagedCallable()
+ * listVersionsCallable()
* GetVersion Retrieves the specified [Version][google.cloud.dialogflow.cx.v3beta1.Version]. Request object method variants only take one parameter, a request object, which must be constructed before the call. getVersion(GetVersionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getVersion(VersionName name)
+ * getVersion(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getVersionCallable()
* CreateVersion Creates a [Version][google.cloud.dialogflow.cx.v3beta1.Version] in the specified [Flow][google.cloud.dialogflow.cx.v3beta1.Flow].
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [CreateVersionOperationMetadata][google.cloud.dialogflow.cx.v3beta1.CreateVersionOperationMetadata] - `response`: [Version][google.cloud.dialogflow.cx.v3beta1.Version] Request object method variants only take one parameter, a request object, which must be constructed before the call. createVersionAsync(CreateVersionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createVersionAsync(FlowName parent, Version version)
+ * createVersionAsync(String parent, Version version)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createVersionOperationCallable()
+ * createVersionCallable()
* UpdateVersion Updates the specified [Version][google.cloud.dialogflow.cx.v3beta1.Version]. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateVersion(UpdateVersionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateVersion(Version version, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateVersionCallable()
* DeleteVersion Deletes the specified [Version][google.cloud.dialogflow.cx.v3beta1.Version]. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteVersion(DeleteVersionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteVersion(VersionName name)
+ * deleteVersion(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteVersionCallable()
* LoadVersion Loads resources in the specified version to the draft flow.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Request object method variants only take one parameter, a request object, which must be constructed before the call. loadVersionAsync(LoadVersionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. loadVersionAsync(VersionName name)
+ * loadVersionAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. loadVersionOperationCallable()
+ * loadVersionCallable()
* CompareVersions Compares the specified base version with target version. Request object method variants only take one parameter, a request object, which must be constructed before the call. compareVersions(CompareVersionsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. compareVersions(VersionName baseVersion)
+ * compareVersions(String baseVersion)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. compareVersionsCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhooksClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhooksClient.java
index f0987bde7409..93986d23f73b 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhooksClient.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhooksClient.java
@@ -62,135 +62,136 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListWebhooks Returns the list of all webhooks in the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listWebhooks(ListWebhooksRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listWebhooks(AgentName parent)
+ * listWebhooks(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listWebhooksPagedCallable()
+ * listWebhooksCallable()
* GetWebhook Retrieves the specified webhook. Request object method variants only take one parameter, a request object, which must be constructed before the call. getWebhook(GetWebhookRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getWebhook(WebhookName name)
+ * getWebhook(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getWebhookCallable()
* CreateWebhook Creates a webhook in the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. createWebhook(CreateWebhookRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createWebhook(AgentName parent, Webhook webhook)
+ * createWebhook(String parent, Webhook webhook)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createWebhookCallable()
* UpdateWebhook Updates the specified webhook. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateWebhook(UpdateWebhookRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateWebhook(Webhook webhook, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateWebhookCallable()
* DeleteWebhook Deletes the specified webhook. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteWebhook(DeleteWebhookRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteWebhook(WebhookName name)
+ * deleteWebhook(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteWebhookCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/AgentsStubSettings.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/AgentsStubSettings.java
index d445fa1f8123..1147678a190f 100644
--- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/AgentsStubSettings.java
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/AgentsStubSettings.java
@@ -354,6 +354,15 @@ public AgentsStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -621,7 +630,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -634,7 +642,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -860,6 +867,15 @@ public UnaryCallSettings.Builder GetAgent Retrieves the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. getAgent(GetAgentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getAgent(LocationName parent)
+ * getAgent(ProjectName parent)
+ * getAgent(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getAgentCallable()
* SetAgent Creates/updates the specified agent.
* Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. setAgent(SetAgentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. setAgent(Agent agent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. setAgentCallable()
* DeleteAgent Deletes the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteAgent(DeleteAgentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteAgent(LocationName parent)
+ * deleteAgent(ProjectName parent)
+ * deleteAgent(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteAgentCallable()
* SearchAgents Returns the list of agents.
* Since there is at most one conversational agent per project, this method is useful primarily for listing all agents across projects the caller has access to. One can achieve that with a wildcard project collection id "-". Refer to [List Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections). Request object method variants only take one parameter, a request object, which must be constructed before the call. searchAgents(SearchAgentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. searchAgents(LocationName parent)
+ * searchAgents(ProjectName parent)
+ * searchAgents(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. searchAgentsPagedCallable()
+ * searchAgentsCallable()
* TrainAgent Trains the specified agent.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
@@ -160,46 +162,46 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. trainAgentAsync(TrainAgentRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. trainAgentAsync(LocationName parent)
+ * trainAgentAsync(ProjectName parent)
+ * trainAgentAsync(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. trainAgentOperationCallable()
+ * trainAgentCallable()
* ExportAgent Exports the specified agent to a ZIP file.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. exportAgentAsync(ExportAgentRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. exportAgentAsync(LocationName parent)
+ * exportAgentAsync(ProjectName parent)
+ * exportAgentAsync(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. exportAgentOperationCallable()
+ * exportAgentCallable()
* ImportAgent Imports the specified agent from a ZIP file.
* Uploads new intents and entity types without deleting the existing ones. Intents and entity types with the same name are replaced with the new versions from [ImportAgentRequest][google.cloud.dialogflow.v2.ImportAgentRequest]. After the import, the imported draft agent will be trained automatically (unless disabled in agent settings). However, once the import is done, training may not be completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it returns in order to train explicitly.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
@@ -209,17 +211,17 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. importAgentAsync(ImportAgentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importAgentOperationCallable()
+ * importAgentCallable()
* RestoreAgent Restores the specified agent from a ZIP file.
* Replaces the current agent version with a new one. All the intents and entity types in the older version are deleted. After the restore, the restored draft agent will be trained automatically (unless disabled in agent settings). However, once the restore is done, training may not be completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it returns in order to train explicitly.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
@@ -229,59 +231,58 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. restoreAgentAsync(RestoreAgentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. restoreAgentOperationCallable()
+ * restoreAgentCallable()
* GetValidationResult Gets agent validation result. Agent validation is performed during training time and is updated automatically when training is completed. Request object method variants only take one parameter, a request object, which must be constructed before the call. getValidationResult(GetValidationResultRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getValidationResultCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AnswerRecordsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AnswerRecordsClient.java
index 39cb3fef92a6..329d2d7bd041 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AnswerRecordsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AnswerRecordsClient.java
@@ -62,79 +62,80 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListAnswerRecords Returns the list of all answer records in the specified project in reverse chronological order. Request object method variants only take one parameter, a request object, which must be constructed before the call. listAnswerRecords(ListAnswerRecordsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listAnswerRecords(LocationName parent)
+ * listAnswerRecords(ProjectName parent)
+ * listAnswerRecords(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listAnswerRecordsPagedCallable()
+ * listAnswerRecordsCallable()
* UpdateAnswerRecord Updates the specified answer record. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateAnswerRecord(UpdateAnswerRecordRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateAnswerRecord(AnswerRecord answerRecord, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateAnswerRecordCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java
index 49472dca8d4d..6f07670a9951 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java
@@ -62,155 +62,156 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListContexts Returns the list of all contexts in the specified session. Request object method variants only take one parameter, a request object, which must be constructed before the call. listContexts(ListContextsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listContexts(SessionName parent)
+ * listContexts(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listContextsPagedCallable()
+ * listContextsCallable()
* GetContext Retrieves the specified context. Request object method variants only take one parameter, a request object, which must be constructed before the call. getContext(GetContextRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getContext(ContextName name)
+ * getContext(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getContextCallable()
* CreateContext Creates a context.
* If the specified context already exists, overrides the context. Request object method variants only take one parameter, a request object, which must be constructed before the call. createContext(CreateContextRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createContext(SessionName parent, Context context)
+ * createContext(String parent, Context context)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createContextCallable()
* UpdateContext Updates the specified context. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateContext(UpdateContextRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateContext(Context context, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateContextCallable()
* DeleteContext Deletes the specified context. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteContext(DeleteContextRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteContext(ContextName name)
+ * deleteContext(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteContextCallable()
* DeleteAllContexts Deletes all active contexts in the specified session. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteAllContexts(DeleteAllContextsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteAllContexts(SessionName parent)
+ * deleteAllContexts(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteAllContextsCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationDatasetsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationDatasetsClient.java
index 56e87308a93e..d45c282cef7b 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationDatasetsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationDatasetsClient.java
@@ -71,139 +71,140 @@
* calls close().
*
* CreateConversationDataset Creates a new conversation dataset.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [CreateConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.CreateConversationDatasetOperationMetadata] - `response`: [ConversationDataset][google.cloud.dialogflow.v2.ConversationDataset] Request object method variants only take one parameter, a request object, which must be constructed before the call. createConversationDatasetAsync(CreateConversationDatasetRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createConversationDatasetAsync(String parent, ConversationDataset conversationDataset)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createConversationDatasetOperationCallable()
+ * createConversationDatasetCallable()
* GetConversationDataset Retrieves the specified conversation dataset. Request object method variants only take one parameter, a request object, which must be constructed before the call. getConversationDataset(GetConversationDatasetRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getConversationDataset(ConversationDatasetName name)
+ * getConversationDataset(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getConversationDatasetCallable()
* ListConversationDatasets Returns the list of all conversation datasets in the specified project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listConversationDatasets(ListConversationDatasetsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listConversationDatasets(LocationName parent)
+ * listConversationDatasets(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listConversationDatasetsPagedCallable()
+ * listConversationDatasetsCallable()
* DeleteConversationDataset Deletes the specified conversation dataset.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [DeleteConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationDatasetOperationMetadata] - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteConversationDatasetAsync(DeleteConversationDatasetRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteConversationDatasetAsync(ConversationDatasetName name)
+ * deleteConversationDatasetAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteConversationDatasetOperationCallable()
+ * deleteConversationDatasetCallable()
* ImportConversationData Import data into the specified conversation dataset. Note that it is not allowed to import data to a conversation dataset that already has data in it.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [ImportConversationDataOperationMetadata][google.cloud.dialogflow.v2.ImportConversationDataOperationMetadata] - `response`: [ImportConversationDataOperationResponse][google.cloud.dialogflow.v2.ImportConversationDataOperationResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. importConversationDataAsync(ImportConversationDataRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importConversationDataOperationCallable()
+ * importConversationDataCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationModelsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationModelsClient.java
index 1fea133d944d..6d44c9425ea2 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationModelsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationModelsClient.java
@@ -66,210 +66,211 @@
* close().
*
* CreateConversationModel Creates a model.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [CreateConversationModelOperationMetadata][google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata] - `response`: [ConversationModel][google.cloud.dialogflow.v2.ConversationModel] Request object method variants only take one parameter, a request object, which must be constructed before the call. createConversationModelAsync(CreateConversationModelRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createConversationModelAsync(String parent, ConversationModel conversationModel)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createConversationModelOperationCallable()
+ * createConversationModelCallable()
* GetConversationModel Gets conversation model. Request object method variants only take one parameter, a request object, which must be constructed before the call. getConversationModel(GetConversationModelRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getConversationModel(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getConversationModelCallable()
* ListConversationModels Lists conversation models. Request object method variants only take one parameter, a request object, which must be constructed before the call. listConversationModels(ListConversationModelsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listConversationModels(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listConversationModelsPagedCallable()
+ * listConversationModelsCallable()
* DeleteConversationModel Deletes a model.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [DeleteConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata] - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteConversationModelAsync(DeleteConversationModelRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteConversationModelAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteConversationModelOperationCallable()
+ * deleteConversationModelCallable()
* DeployConversationModel Deploys a model. If a model is already deployed, deploying it has no effect. A model can only serve prediction requests after it gets deployed. For article suggestion, custom model will not be used unless it is deployed.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [DeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata] - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Request object method variants only take one parameter, a request object, which must be constructed before the call. deployConversationModelAsync(DeployConversationModelRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deployConversationModelOperationCallable()
+ * deployConversationModelCallable()
* UndeployConversationModel Undeploys a model. If the model is not deployed this method has no effect. If the model is currently being used: - For article suggestion, article suggestion will fallback to the default model if model is undeployed.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [UndeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata] - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Request object method variants only take one parameter, a request object, which must be constructed before the call. undeployConversationModelAsync(UndeployConversationModelRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. undeployConversationModelOperationCallable()
+ * undeployConversationModelCallable()
* GetConversationModelEvaluation Gets an evaluation of conversation model. Request object method variants only take one parameter, a request object, which must be constructed before the call. getConversationModelEvaluation(GetConversationModelEvaluationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getConversationModelEvaluation(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getConversationModelEvaluationCallable()
* ListConversationModelEvaluations Lists evaluations of a conversation model. Request object method variants only take one parameter, a request object, which must be constructed before the call. listConversationModelEvaluations(ListConversationModelEvaluationsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listConversationModelEvaluations(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listConversationModelEvaluationsPagedCallable()
+ * listConversationModelEvaluationsCallable()
* CreateConversationModelEvaluation Creates evaluation of a conversation model. Request object method variants only take one parameter, a request object, which must be constructed before the call. createConversationModelEvaluationAsync(CreateConversationModelEvaluationRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createConversationModelEvaluationAsync(ConversationModelName parent, ConversationModelEvaluation conversationModelEvaluation)
+ * createConversationModelEvaluationAsync(String parent, ConversationModelEvaluation conversationModelEvaluation)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createConversationModelEvaluationOperationCallable()
+ * createConversationModelEvaluationCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationProfilesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationProfilesClient.java
index bce1941c3a12..b857fccfef6d 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationProfilesClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationProfilesClient.java
@@ -71,111 +71,113 @@
* calls close().
*
* ListConversationProfiles Returns the list of all conversation profiles in the specified project. Request object method variants only take one parameter, a request object, which must be constructed before the call. listConversationProfiles(ListConversationProfilesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listConversationProfiles(LocationName parent)
+ * listConversationProfiles(ProjectName parent)
+ * listConversationProfiles(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listConversationProfilesPagedCallable()
+ * listConversationProfilesCallable()
* GetConversationProfile Retrieves the specified conversation profile. Request object method variants only take one parameter, a request object, which must be constructed before the call. getConversationProfile(GetConversationProfileRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getConversationProfile(ConversationProfileName name)
+ * getConversationProfile(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getConversationProfileCallable()
* CreateConversationProfile Creates a conversation profile in the specified project.
* [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] aren't populated in the response. You can retrieve them via [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile] API. Request object method variants only take one parameter, a request object, which must be constructed before the call. createConversationProfile(CreateConversationProfileRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createConversationProfile(LocationName parent, ConversationProfile conversationProfile)
+ * createConversationProfile(ProjectName parent, ConversationProfile conversationProfile)
+ * createConversationProfile(String parent, ConversationProfile conversationProfile)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createConversationProfileCallable()
* UpdateConversationProfile Updates the specified conversation profile.
* [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] aren't populated in the response. You can retrieve them via [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile] API. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateConversationProfile(UpdateConversationProfileRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateConversationProfile(ConversationProfile conversationProfile, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateConversationProfileCallable()
* DeleteConversationProfile Deletes the specified conversation profile. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteConversationProfile(DeleteConversationProfileRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteConversationProfile(ConversationProfileName name)
+ * deleteConversationProfile(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteConversationProfileCallable()
* SetSuggestionFeatureConfig Adds or updates a suggestion feature in a conversation profile. If the conversation profile contains the type of suggestion feature for the participant role, it will update it. Otherwise it will insert the suggestion feature.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata] - `response`: [ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile]
@@ -183,72 +185,71 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. setSuggestionFeatureConfigAsync(SetSuggestionFeatureConfigRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. setSuggestionFeatureConfigAsync(String conversationProfile)
+ * setSuggestionFeatureConfigAsync(String conversationProfile, Participant.Role participantRole, HumanAgentAssistantConfig.SuggestionFeatureConfig suggestionFeatureConfig)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. setSuggestionFeatureConfigOperationCallable()
+ * setSuggestionFeatureConfigCallable()
* ClearSuggestionFeatureConfig Clears a suggestion feature from a conversation profile for the given participant role.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigOperationMetadata] - `response`: [ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile] Request object method variants only take one parameter, a request object, which must be constructed before the call. clearSuggestionFeatureConfigAsync(ClearSuggestionFeatureConfigRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. clearSuggestionFeatureConfigAsync(String conversationProfile)
+ * clearSuggestionFeatureConfigAsync(String conversationProfile, Participant.Role participantRole, SuggestionFeature.Type suggestionFeatureType)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. clearSuggestionFeatureConfigOperationCallable()
+ * clearSuggestionFeatureConfigCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationsClient.java
index 605112ce65c3..7ca9deed4204 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationsClient.java
@@ -61,12 +61,14 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* CreateConversation Creates a new conversation. Conversations are auto-completed after 24 hours.
* Conversation Lifecycle: There are two stages during a conversation: Automated Agent Stage and Assist Stage.
* For Automated Agent Stage, there will be a dialogflow agent responding to user queries.
@@ -75,176 +77,175 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. createConversation(CreateConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createConversation(LocationName parent, Conversation conversation)
+ * createConversation(ProjectName parent, Conversation conversation)
+ * createConversation(String parent, Conversation conversation)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createConversationCallable()
* ListConversations Returns the list of all conversations in the specified project. Request object method variants only take one parameter, a request object, which must be constructed before the call. listConversations(ListConversationsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listConversations(LocationName parent)
+ * listConversations(ProjectName parent)
+ * listConversations(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listConversationsPagedCallable()
+ * listConversationsCallable()
* GetConversation Retrieves the specific conversation. Request object method variants only take one parameter, a request object, which must be constructed before the call. getConversation(GetConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getConversation(ConversationName name)
+ * getConversation(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getConversationCallable()
* CompleteConversation Completes the specified conversation. Finished conversations are purged from the database after 30 days. Request object method variants only take one parameter, a request object, which must be constructed before the call. completeConversation(CompleteConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. completeConversation(ConversationName name)
+ * completeConversation(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. completeConversationCallable()
* ListMessages Lists messages that belong to a given conversation. `messages` are ordered by `create_time` in descending order. To fetch updates without duplication, send request with filter `create_time_epoch_microseconds > [first item's create_time of previous request]` and empty page_token. Request object method variants only take one parameter, a request object, which must be constructed before the call. listMessages(ListMessagesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listMessages(ConversationName parent)
+ * listMessages(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listMessagesPagedCallable()
+ * listMessagesCallable()
* SuggestConversationSummary Suggests summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request. Request object method variants only take one parameter, a request object, which must be constructed before the call. suggestConversationSummary(SuggestConversationSummaryRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. suggestConversationSummary(ConversationName conversation)
+ * suggestConversationSummary(String conversation)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. suggestConversationSummaryCallable()
* GenerateStatelessSummary Generates and returns a summary for a conversation that does not have a resource created for it. Request object method variants only take one parameter, a request object, which must be constructed before the call. generateStatelessSummary(GenerateStatelessSummaryRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. generateStatelessSummaryCallable()
* SearchKnowledge Get answers for the given query based on knowledge documents. Request object method variants only take one parameter, a request object, which must be constructed before the call. searchKnowledge(SearchKnowledgeRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. searchKnowledgeCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/DocumentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/DocumentsClient.java
index 61c2d0b5c5fc..36b76d51f88c 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/DocumentsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/DocumentsClient.java
@@ -69,133 +69,135 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListDocuments Returns the list of all documents of the knowledge base. Request object method variants only take one parameter, a request object, which must be constructed before the call. listDocuments(ListDocumentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listDocuments(KnowledgeBaseName parent)
+ * listDocuments(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listDocumentsPagedCallable()
+ * listDocumentsCallable()
* GetDocument Retrieves the specified document. Request object method variants only take one parameter, a request object, which must be constructed before the call. getDocument(GetDocumentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getDocument(DocumentName name)
+ * getDocument(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getDocumentCallable()
* CreateDocument Creates a new document.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2.Document] Request object method variants only take one parameter, a request object, which must be constructed before the call. createDocumentAsync(CreateDocumentRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createDocumentAsync(KnowledgeBaseName parent, Document document)
+ * createDocumentAsync(String parent, Document document)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createDocumentOperationCallable()
+ * createDocumentCallable()
* ImportDocuments Creates documents by importing data from external sources. Dialogflow supports up to 350 documents in each request. If you try to import more, Dialogflow will return an error.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata] - `response`: [ImportDocumentsResponse][google.cloud.dialogflow.v2.ImportDocumentsResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. importDocumentsAsync(ImportDocumentsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importDocumentsOperationCallable()
+ * importDocumentsCallable()
* DeleteDocument Deletes the specified document.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata] - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteDocumentAsync(DeleteDocumentRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteDocumentAsync(DocumentName name)
+ * deleteDocumentAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteDocumentOperationCallable()
+ * deleteDocumentCallable()
* UpdateDocument Updates the specified document.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2.Document] Request object method variants only take one parameter, a request object, which must be constructed before the call. updateDocumentAsync(UpdateDocumentRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateDocumentAsync(Document document, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateDocumentOperationCallable()
+ * updateDocumentCallable()
* ReloadDocument Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2.Document]
@@ -203,67 +205,66 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. reloadDocumentAsync(ReloadDocumentRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. reloadDocumentAsync(DocumentName name, String contentUri)
+ * reloadDocumentAsync(String name, String contentUri)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. reloadDocumentOperationCallable()
+ * reloadDocumentCallable()
* ExportDocument Exports a smart messaging candidate document into the specified destination.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2.Document] Request object method variants only take one parameter, a request object, which must be constructed before the call. exportDocumentAsync(ExportDocumentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. exportDocumentOperationCallable()
+ * exportDocumentCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java
index 8605b3277ea4..d2459e76470d 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java
@@ -66,117 +66,119 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListEntityTypes Returns the list of all entity types in the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listEntityTypes(ListEntityTypesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listEntityTypes(AgentName parent)
+ * listEntityTypes(String parent)
+ * listEntityTypes(AgentName parent, String languageCode)
+ * listEntityTypes(String parent, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listEntityTypesPagedCallable()
+ * listEntityTypesCallable()
* GetEntityType Retrieves the specified entity type. Request object method variants only take one parameter, a request object, which must be constructed before the call. getEntityType(GetEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getEntityType(EntityTypeName name)
+ * getEntityType(String name)
+ * getEntityType(EntityTypeName name, String languageCode)
+ * getEntityType(String name, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getEntityTypeCallable()
* CreateEntityType Creates an entity type in the specified agent.
* Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. createEntityType(CreateEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createEntityType(AgentName parent, EntityType entityType)
+ * createEntityType(String parent, EntityType entityType)
+ * createEntityType(AgentName parent, EntityType entityType, String languageCode)
+ * createEntityType(String parent, EntityType entityType, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createEntityTypeCallable()
* UpdateEntityType Updates the specified entity type.
* Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. updateEntityType(UpdateEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateEntityType(EntityType entityType)
+ * updateEntityType(EntityType entityType, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateEntityTypeCallable()
* DeleteEntityType Deletes the specified entity type.
* Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteEntityType(DeleteEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteEntityType(EntityTypeName name)
+ * deleteEntityType(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteEntityTypeCallable()
* BatchUpdateEntityTypes Updates/Creates multiple entity types in the specified agent.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse]
@@ -184,17 +186,17 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. batchUpdateEntityTypesAsync(BatchUpdateEntityTypesRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchUpdateEntityTypesOperationCallable()
+ * batchUpdateEntityTypesCallable()
* BatchDeleteEntityTypes Deletes entity types in the specified agent.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
@@ -202,22 +204,22 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. batchDeleteEntityTypesAsync(BatchDeleteEntityTypesRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. batchDeleteEntityTypesAsync(AgentName parent, List<String> entityTypeNames)
+ * batchDeleteEntityTypesAsync(String parent, List<String> entityTypeNames)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchDeleteEntityTypesOperationCallable()
+ * batchDeleteEntityTypesCallable()
* BatchCreateEntities Creates multiple new entities in the specified entity type.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
@@ -225,24 +227,24 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. batchCreateEntitiesAsync(BatchCreateEntitiesRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. batchCreateEntitiesAsync(EntityTypeName parent, List<EntityType.Entity> entities)
+ * batchCreateEntitiesAsync(String parent, List<EntityType.Entity> entities)
+ * batchCreateEntitiesAsync(EntityTypeName parent, List<EntityType.Entity> entities, String languageCode)
+ * batchCreateEntitiesAsync(String parent, List<EntityType.Entity> entities, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchCreateEntitiesOperationCallable()
+ * batchCreateEntitiesCallable()
* BatchUpdateEntities Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
@@ -250,24 +252,24 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. batchUpdateEntitiesAsync(BatchUpdateEntitiesRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. batchUpdateEntitiesAsync(EntityTypeName parent, List<EntityType.Entity> entities)
+ * batchUpdateEntitiesAsync(String parent, List<EntityType.Entity> entities)
+ * batchUpdateEntitiesAsync(EntityTypeName parent, List<EntityType.Entity> entities, String languageCode)
+ * batchUpdateEntitiesAsync(String parent, List<EntityType.Entity> entities, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchUpdateEntitiesOperationCallable()
+ * batchUpdateEntitiesCallable()
* BatchDeleteEntities Deletes entities in the specified entity type.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
@@ -275,52 +277,51 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. batchDeleteEntitiesAsync(BatchDeleteEntitiesRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. batchDeleteEntitiesAsync(EntityTypeName parent, List<String> entityValues)
+ * batchDeleteEntitiesAsync(String parent, List<String> entityValues)
+ * batchDeleteEntitiesAsync(EntityTypeName parent, List<String> entityValues, String languageCode)
+ * batchDeleteEntitiesAsync(String parent, List<String> entityValues, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchDeleteEntitiesOperationCallable()
+ * batchDeleteEntitiesCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsClient.java
index f491f2ca9cb7..a82729fb6a53 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsClient.java
@@ -64,132 +64,133 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListEnvironments Returns the list of all non-default environments of the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listEnvironments(ListEnvironmentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listEnvironments(AgentName parent)
+ * listEnvironments(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listEnvironmentsPagedCallable()
+ * listEnvironmentsCallable()
* GetEnvironment Retrieves the specified agent environment. Request object method variants only take one parameter, a request object, which must be constructed before the call. getEnvironment(GetEnvironmentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getEnvironmentCallable()
* CreateEnvironment Creates an agent environment. Request object method variants only take one parameter, a request object, which must be constructed before the call. createEnvironment(CreateEnvironmentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createEnvironmentCallable()
* UpdateEnvironment Updates the specified agent environment.
* This method allows you to deploy new agent versions into the environment. When an environment is pointed to a new agent version by setting `environment.agent_version`, the environment is temporarily set to the `LOADING` state. During that time, the environment continues serving the previous version of the agent. After the new agent version is done loading, the environment is set back to the `RUNNING` state. You can use "-" as Environment ID in environment name to update an agent version in the default environment. WARNING: this will negate all recent changes to the draft agent and can't be undone. You may want to save the draft agent to a version before calling this method. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateEnvironment(UpdateEnvironmentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateEnvironmentCallable()
* DeleteEnvironment Deletes the specified agent environment. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteEnvironment(DeleteEnvironmentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteEnvironmentCallable()
* GetEnvironmentHistory Gets the history of the specified environment. Request object method variants only take one parameter, a request object, which must be constructed before the call. getEnvironmentHistory(GetEnvironmentHistoryRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getEnvironmentHistoryPagedCallable()
+ * getEnvironmentHistoryCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/FulfillmentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/FulfillmentsClient.java
index 72de1dd07e17..5e71b93e8e91 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/FulfillmentsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/FulfillmentsClient.java
@@ -60,77 +60,78 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* GetFulfillment Retrieves the fulfillment. Request object method variants only take one parameter, a request object, which must be constructed before the call. getFulfillment(GetFulfillmentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getFulfillment(FulfillmentName name)
+ * getFulfillment(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getFulfillmentCallable()
* UpdateFulfillment Updates the fulfillment. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateFulfillment(UpdateFulfillmentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateFulfillment(Fulfillment fulfillment, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateFulfillmentCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java
index 3634262b5cbf..9382afe4bba7 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java
@@ -67,117 +67,119 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListIntents Returns the list of all intents in the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listIntents(ListIntentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listIntents(AgentName parent)
+ * listIntents(String parent)
+ * listIntents(AgentName parent, String languageCode)
+ * listIntents(String parent, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listIntentsPagedCallable()
+ * listIntentsCallable()
* GetIntent Retrieves the specified intent. Request object method variants only take one parameter, a request object, which must be constructed before the call. getIntent(GetIntentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getIntent(IntentName name)
+ * getIntent(String name)
+ * getIntent(IntentName name, String languageCode)
+ * getIntent(String name, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getIntentCallable()
* CreateIntent Creates an intent in the specified agent.
* Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. createIntent(CreateIntentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createIntent(AgentName parent, Intent intent)
+ * createIntent(String parent, Intent intent)
+ * createIntent(AgentName parent, Intent intent, String languageCode)
+ * createIntent(String parent, Intent intent, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createIntentCallable()
* UpdateIntent Updates the specified intent.
* Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. updateIntent(UpdateIntentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateIntent(Intent intent, String languageCode)
+ * updateIntent(Intent intent, String languageCode, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateIntentCallable()
* DeleteIntent Deletes the specified intent and its direct or indirect followup intents.
* Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteIntent(DeleteIntentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteIntent(IntentName name)
+ * deleteIntent(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteIntentCallable()
* BatchUpdateIntents Updates/Creates multiple intents in the specified agent.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2.BatchUpdateIntentsResponse]
@@ -185,24 +187,24 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. batchUpdateIntentsAsync(BatchUpdateIntentsRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. batchUpdateIntentsAsync(AgentName parent, IntentBatch intentBatchInline)
+ * batchUpdateIntentsAsync(AgentName parent, String intentBatchUri)
+ * batchUpdateIntentsAsync(String parent, IntentBatch intentBatchInline)
+ * batchUpdateIntentsAsync(String parent, String intentBatchUri)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchUpdateIntentsOperationCallable()
+ * batchUpdateIntentsCallable()
* BatchDeleteIntents Deletes intents in the specified agent.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
@@ -210,50 +212,49 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. batchDeleteIntentsAsync(BatchDeleteIntentsRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. batchDeleteIntentsAsync(AgentName parent, List<Intent> intents)
+ * batchDeleteIntentsAsync(String parent, List<Intent> intents)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchDeleteIntentsOperationCallable()
+ * batchDeleteIntentsCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/KnowledgeBasesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/KnowledgeBasesClient.java
index 7a41d9a4b9d9..4c462b04bdbb 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/KnowledgeBasesClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/KnowledgeBasesClient.java
@@ -63,137 +63,138 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListKnowledgeBases Returns the list of all knowledge bases of the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listKnowledgeBases(ListKnowledgeBasesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listKnowledgeBases(LocationName parent)
+ * listKnowledgeBases(ProjectName parent)
+ * listKnowledgeBases(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listKnowledgeBasesPagedCallable()
+ * listKnowledgeBasesCallable()
* GetKnowledgeBase Retrieves the specified knowledge base. Request object method variants only take one parameter, a request object, which must be constructed before the call. getKnowledgeBase(GetKnowledgeBaseRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getKnowledgeBase(KnowledgeBaseName name)
+ * getKnowledgeBase(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getKnowledgeBaseCallable()
* CreateKnowledgeBase Creates a knowledge base. Request object method variants only take one parameter, a request object, which must be constructed before the call. createKnowledgeBase(CreateKnowledgeBaseRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createKnowledgeBase(LocationName parent, KnowledgeBase knowledgeBase)
+ * createKnowledgeBase(ProjectName parent, KnowledgeBase knowledgeBase)
+ * createKnowledgeBase(String parent, KnowledgeBase knowledgeBase)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createKnowledgeBaseCallable()
* DeleteKnowledgeBase Deletes the specified knowledge base. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteKnowledgeBase(DeleteKnowledgeBaseRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteKnowledgeBase(KnowledgeBaseName name)
+ * deleteKnowledgeBase(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteKnowledgeBaseCallable()
* UpdateKnowledgeBase Updates the specified knowledge base. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateKnowledgeBase(UpdateKnowledgeBaseRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateKnowledgeBase(KnowledgeBase knowledgeBase, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateKnowledgeBaseCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ParticipantsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ParticipantsClient.java
index 6644b9d8d965..d556870e9bf4 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ParticipantsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ParticipantsClient.java
@@ -63,207 +63,208 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* CreateParticipant Creates a new participant in a conversation. Request object method variants only take one parameter, a request object, which must be constructed before the call. createParticipant(CreateParticipantRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createParticipant(ConversationName parent, Participant participant)
+ * createParticipant(String parent, Participant participant)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createParticipantCallable()
* GetParticipant Retrieves a conversation participant. Request object method variants only take one parameter, a request object, which must be constructed before the call. getParticipant(GetParticipantRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getParticipant(ParticipantName name)
+ * getParticipant(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getParticipantCallable()
* ListParticipants Returns the list of all participants in the specified conversation. Request object method variants only take one parameter, a request object, which must be constructed before the call. listParticipants(ListParticipantsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listParticipants(ConversationName parent)
+ * listParticipants(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listParticipantsPagedCallable()
+ * listParticipantsCallable()
* UpdateParticipant Updates the specified participant. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateParticipant(UpdateParticipantRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateParticipant(Participant participant, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateParticipantCallable()
* AnalyzeContent Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation.
* Note: Always use agent versions for production traffic sent to virtual agents. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions). Request object method variants only take one parameter, a request object, which must be constructed before the call. analyzeContent(AnalyzeContentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. analyzeContent(ParticipantName participant, EventInput eventInput)
+ * analyzeContent(ParticipantName participant, TextInput textInput)
+ * analyzeContent(String participant, EventInput eventInput)
+ * analyzeContent(String participant, TextInput textInput)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. analyzeContentCallable()
* StreamingAnalyzeContent Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation. Note: This method is only available through the gRPC API (not REST).
* The top-level message sent to the client by the server is `StreamingAnalyzeContentResponse`. Multiple response messages can be returned in order. The first one or more messages contain the `recognition_result` field. Each result represents a more complete transcript of what the user said. The next message contains the `reply_text` field and potentially the `reply_audio` field. The message can also contain the `automated_agent_reply` field.
* Note: Always use agent versions for production traffic sent to virtual agents. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions). Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. streamingAnalyzeContentCallable()
* SuggestArticles Gets suggested articles for a participant based on specific historical messages. Request object method variants only take one parameter, a request object, which must be constructed before the call. suggestArticles(SuggestArticlesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. suggestArticles(ParticipantName parent)
+ * suggestArticles(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. suggestArticlesCallable()
* SuggestFaqAnswers Gets suggested faq answers for a participant based on specific historical messages. Request object method variants only take one parameter, a request object, which must be constructed before the call. suggestFaqAnswers(SuggestFaqAnswersRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. suggestFaqAnswers(ParticipantName parent)
+ * suggestFaqAnswers(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. suggestFaqAnswersCallable()
* SuggestSmartReplies Gets smart replies for a participant based on specific historical messages. Request object method variants only take one parameter, a request object, which must be constructed before the call. suggestSmartReplies(SuggestSmartRepliesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. suggestSmartReplies(ParticipantName parent)
+ * suggestSmartReplies(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. suggestSmartRepliesCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java
index 87d4709609b6..78f54bc59747 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java
@@ -65,142 +65,143 @@
* close().
*
* ListSessionEntityTypes Returns the list of all session entity types in the specified session.
* This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration. Request object method variants only take one parameter, a request object, which must be constructed before the call. listSessionEntityTypes(ListSessionEntityTypesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listSessionEntityTypes(SessionName parent)
+ * listSessionEntityTypes(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listSessionEntityTypesPagedCallable()
+ * listSessionEntityTypesCallable()
* GetSessionEntityType Retrieves the specified session entity type.
* This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration. Request object method variants only take one parameter, a request object, which must be constructed before the call. getSessionEntityType(GetSessionEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getSessionEntityType(SessionEntityTypeName name)
+ * getSessionEntityType(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getSessionEntityTypeCallable()
* CreateSessionEntityType Creates a session entity type.
* If the specified session entity type already exists, overrides the session entity type.
* This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration. Request object method variants only take one parameter, a request object, which must be constructed before the call. createSessionEntityType(CreateSessionEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createSessionEntityType(SessionName parent, SessionEntityType sessionEntityType)
+ * createSessionEntityType(String parent, SessionEntityType sessionEntityType)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createSessionEntityTypeCallable()
* UpdateSessionEntityType Updates the specified session entity type.
* This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateSessionEntityType(UpdateSessionEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateSessionEntityType(SessionEntityType sessionEntityType)
+ * updateSessionEntityType(SessionEntityType sessionEntityType, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateSessionEntityTypeCallable()
* DeleteSessionEntityType Deletes the specified session entity type.
* This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteSessionEntityType(DeleteSessionEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteSessionEntityType(SessionEntityTypeName name)
+ * deleteSessionEntityType(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteSessionEntityTypeCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java
index 6e07b4014259..b58fd619b691 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java
@@ -64,73 +64,74 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* DetectIntent Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries.
* If you might use [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa) or other CCAI products now or in the future, consider using [AnalyzeContent][google.cloud.dialogflow.v2.Participants.AnalyzeContent] instead of `DetectIntent`. `AnalyzeContent` has additional functionality for Agent Assist and other CCAI products.
* Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions). Request object method variants only take one parameter, a request object, which must be constructed before the call. detectIntent(DetectIntentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. detectIntent(SessionName session, QueryInput queryInput)
+ * detectIntent(String session, QueryInput queryInput)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. detectIntentCallable()
* StreamingDetectIntent Processes a natural language query in audio format in a streaming fashion and returns structured, actionable data as a result. This method is only available via the gRPC API (not REST).
* If you might use [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa) or other CCAI products now or in the future, consider using [StreamingAnalyzeContent][google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent] instead of `StreamingDetectIntent`. `StreamingAnalyzeContent` has additional functionality for Agent Assist and other CCAI products.
* Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions). Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. streamingDetectIntentCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/VersionsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/VersionsClient.java
index 99204a8a6c1a..477b3015180d 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/VersionsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/VersionsClient.java
@@ -61,137 +61,138 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListVersions Returns the list of all versions of the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listVersions(ListVersionsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listVersions(AgentName parent)
+ * listVersions(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listVersionsPagedCallable()
+ * listVersionsCallable()
* GetVersion Retrieves the specified agent version. Request object method variants only take one parameter, a request object, which must be constructed before the call. getVersion(GetVersionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getVersion(VersionName name)
+ * getVersion(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getVersionCallable()
* CreateVersion Creates an agent version.
* The new version points to the agent instance in the "default" environment. Request object method variants only take one parameter, a request object, which must be constructed before the call. createVersion(CreateVersionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createVersion(AgentName parent, Version version)
+ * createVersion(String parent, Version version)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createVersionCallable()
* UpdateVersion Updates the specified agent version.
* Note that this method does not allow you to update the state of the agent the given version points to. It allows you to update only mutable properties of the version resource. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateVersion(UpdateVersionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateVersion(Version version, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateVersionCallable()
* DeleteVersion Delete the specified agent version. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteVersion(DeleteVersionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteVersion(VersionName name)
+ * deleteVersion(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteVersionCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStubSettings.java
index 40b33c3add7d..d4032209cb49 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStubSettings.java
@@ -347,6 +347,15 @@ public AgentsStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -595,7 +604,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -608,7 +616,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -874,6 +881,15 @@ public UnaryCallSettings.Builder GetAgent Retrieves the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. getAgent(GetAgentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getAgent(LocationName parent)
+ * getAgent(ProjectName parent)
+ * getAgent(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getAgentCallable()
* SetAgent Creates/updates the specified agent.
* Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. setAgent(SetAgentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. setAgent(Agent agent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. setAgentCallable()
* DeleteAgent Deletes the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteAgent(DeleteAgentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteAgent(LocationName parent)
+ * deleteAgent(ProjectName parent)
+ * deleteAgent(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteAgentCallable()
* SearchAgents Returns the list of agents. Since there is at most one conversational agent per project, this method is useful primarily for listing all agents across projects the caller has access to. One can achieve that with a wildcard project collection id "-". Refer to [List Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections). Request object method variants only take one parameter, a request object, which must be constructed before the call. searchAgents(SearchAgentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. searchAgents(LocationName parent)
+ * searchAgents(ProjectName parent)
+ * searchAgents(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. searchAgentsPagedCallable()
+ * searchAgentsCallable()
* TrainAgent Trains the specified agent.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
@@ -159,46 +161,46 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. trainAgentAsync(TrainAgentRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. trainAgentAsync(LocationName parent)
+ * trainAgentAsync(ProjectName parent)
+ * trainAgentAsync(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. trainAgentOperationCallable()
+ * trainAgentCallable()
* ExportAgent Exports the specified agent to a ZIP file.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. exportAgentAsync(ExportAgentRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. exportAgentAsync(LocationName parent)
+ * exportAgentAsync(ProjectName parent)
+ * exportAgentAsync(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. exportAgentOperationCallable()
+ * exportAgentCallable()
* ImportAgent Imports the specified agent from a ZIP file.
* Uploads new intents and entity types without deleting the existing ones. Intents and entity types with the same name are replaced with the new versions from [ImportAgentRequest][google.cloud.dialogflow.v2beta1.ImportAgentRequest]. After the import, the imported draft agent will be trained automatically (unless disabled in agent settings). However, once the import is done, training may not be completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it returns in order to train explicitly.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
@@ -208,17 +210,17 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. importAgentAsync(ImportAgentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importAgentOperationCallable()
+ * importAgentCallable()
* RestoreAgent Restores the specified agent from a ZIP file.
* Replaces the current agent version with a new one. All the intents and entity types in the older version are deleted. After the restore, the restored draft agent will be trained automatically (unless disabled in agent settings). However, once the restore is done, training may not be completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it returns in order to train explicitly.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
@@ -228,59 +230,58 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. restoreAgentAsync(RestoreAgentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. restoreAgentOperationCallable()
+ * restoreAgentCallable()
* GetValidationResult Gets agent validation result. Agent validation is performed during training time and is updated automatically when training is completed. Request object method variants only take one parameter, a request object, which must be constructed before the call. getValidationResult(GetValidationResultRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getValidationResultCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsClient.java
index 08cbc8f95976..04772745a186 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsClient.java
@@ -63,93 +63,94 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* GetAnswerRecord Deprecated. Retrieves a specific answer record. Request object method variants only take one parameter, a request object, which must be constructed before the call. getAnswerRecord(GetAnswerRecordRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getAnswerRecordCallable()
* ListAnswerRecords Returns the list of all answer records in the specified project in reverse chronological order. Request object method variants only take one parameter, a request object, which must be constructed before the call. listAnswerRecords(ListAnswerRecordsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listAnswerRecords(LocationName parent)
+ * listAnswerRecords(ProjectName parent)
+ * listAnswerRecords(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listAnswerRecordsPagedCallable()
+ * listAnswerRecordsCallable()
* UpdateAnswerRecord Updates the specified answer record. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateAnswerRecord(UpdateAnswerRecordRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateAnswerRecord(AnswerRecord answerRecord, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateAnswerRecordCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java
index 278d0cb62a25..2c913082959b 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java
@@ -63,156 +63,157 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListContexts Returns the list of all contexts in the specified session. Request object method variants only take one parameter, a request object, which must be constructed before the call. listContexts(ListContextsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listContexts(SessionName parent)
+ * listContexts(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listContextsPagedCallable()
+ * listContextsCallable()
* GetContext Retrieves the specified context. Request object method variants only take one parameter, a request object, which must be constructed before the call. getContext(GetContextRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getContext(ContextName name)
+ * getContext(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getContextCallable()
* CreateContext Creates a context.
* If the specified context already exists, overrides the context. Request object method variants only take one parameter, a request object, which must be constructed before the call. createContext(CreateContextRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createContext(SessionName parent, Context context)
+ * createContext(String parent, Context context)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createContextCallable()
* UpdateContext Updates the specified context. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateContext(UpdateContextRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateContext(Context context)
+ * updateContext(Context context, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateContextCallable()
* DeleteContext Deletes the specified context. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteContext(DeleteContextRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteContext(ContextName name)
+ * deleteContext(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteContextCallable()
* DeleteAllContexts Deletes all active contexts in the specified session. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteAllContexts(DeleteAllContextsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteAllContexts(SessionName parent)
+ * deleteAllContexts(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteAllContextsCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesClient.java
index 22760ef9e65d..9be68a2cd11f 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesClient.java
@@ -71,111 +71,113 @@
* calls close().
*
* ListConversationProfiles Returns the list of all conversation profiles in the specified project. Request object method variants only take one parameter, a request object, which must be constructed before the call. listConversationProfiles(ListConversationProfilesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listConversationProfiles(LocationName parent)
+ * listConversationProfiles(ProjectName parent)
+ * listConversationProfiles(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listConversationProfilesPagedCallable()
+ * listConversationProfilesCallable()
* GetConversationProfile Retrieves the specified conversation profile. Request object method variants only take one parameter, a request object, which must be constructed before the call. getConversationProfile(GetConversationProfileRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getConversationProfile(ConversationProfileName name)
+ * getConversationProfile(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getConversationProfileCallable()
* CreateConversationProfile Creates a conversation profile in the specified project.
* [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] aren't populated in the response. You can retrieve them via [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] API. Request object method variants only take one parameter, a request object, which must be constructed before the call. createConversationProfile(CreateConversationProfileRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createConversationProfile(LocationName parent, ConversationProfile conversationProfile)
+ * createConversationProfile(ProjectName parent, ConversationProfile conversationProfile)
+ * createConversationProfile(String parent, ConversationProfile conversationProfile)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createConversationProfileCallable()
* UpdateConversationProfile Updates the specified conversation profile.
* [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] aren't populated in the response. You can retrieve them via [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] API. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateConversationProfile(UpdateConversationProfileRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateConversationProfile(ConversationProfile conversationProfile, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateConversationProfileCallable()
* DeleteConversationProfile Deletes the specified conversation profile. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteConversationProfile(DeleteConversationProfileRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteConversationProfile(ConversationProfileName name)
+ * deleteConversationProfile(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteConversationProfileCallable()
* SetSuggestionFeatureConfig Adds or updates a suggestion feature in a conversation profile. If the conversation profile contains the type of suggestion feature for the participant role, it will update it. Otherwise it will insert the suggestion feature.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata] - `response`: [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile]
@@ -183,72 +185,71 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. setSuggestionFeatureConfigAsync(SetSuggestionFeatureConfigRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. setSuggestionFeatureConfigAsync(String conversationProfile)
+ * setSuggestionFeatureConfigAsync(String conversationProfile, Participant.Role participantRole, HumanAgentAssistantConfig.SuggestionFeatureConfig suggestionFeatureConfig)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. setSuggestionFeatureConfigOperationCallable()
+ * setSuggestionFeatureConfigCallable()
* ClearSuggestionFeatureConfig Clears a suggestion feature from a conversation profile for the given participant role.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata] - `response`: [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] Request object method variants only take one parameter, a request object, which must be constructed before the call. clearSuggestionFeatureConfigAsync(ClearSuggestionFeatureConfigRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. clearSuggestionFeatureConfigAsync(String conversationProfile)
+ * clearSuggestionFeatureConfigAsync(String conversationProfile, Participant.Role participantRole, SuggestionFeature.Type suggestionFeatureType)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. clearSuggestionFeatureConfigOperationCallable()
+ * clearSuggestionFeatureConfigCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsClient.java
index c84fcf3e01a4..484abcee3dd4 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsClient.java
@@ -62,12 +62,14 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* CreateConversation Creates a new conversation. Conversations are auto-completed after 24 hours.
* Conversation Lifecycle: There are two stages during a conversation: Automated Agent Stage and Assist Stage.
* For Automated Agent Stage, there will be a dialogflow agent responding to user queries.
@@ -76,195 +78,194 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. createConversation(CreateConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createConversation(LocationName parent, Conversation conversation)
+ * createConversation(ProjectName parent, Conversation conversation)
+ * createConversation(String parent, Conversation conversation)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createConversationCallable()
* ListConversations Returns the list of all conversations in the specified project. Request object method variants only take one parameter, a request object, which must be constructed before the call. listConversations(ListConversationsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listConversations(LocationName parent)
+ * listConversations(ProjectName parent)
+ * listConversations(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listConversationsPagedCallable()
+ * listConversationsCallable()
* GetConversation Retrieves the specific conversation. Request object method variants only take one parameter, a request object, which must be constructed before the call. getConversation(GetConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getConversation(ConversationName name)
+ * getConversation(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getConversationCallable()
* CompleteConversation Completes the specified conversation. Finished conversations are purged from the database after 30 days. Request object method variants only take one parameter, a request object, which must be constructed before the call. completeConversation(CompleteConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. completeConversation(ConversationName name)
+ * completeConversation(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. completeConversationCallable()
* BatchCreateMessages Batch ingests messages to conversation. Customers can use this RPC to ingest historical messages to conversation. Request object method variants only take one parameter, a request object, which must be constructed before the call. batchCreateMessages(BatchCreateMessagesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. batchCreateMessages(ConversationName parent)
+ * batchCreateMessages(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchCreateMessagesCallable()
* ListMessages Lists messages that belong to a given conversation. `messages` are ordered by `create_time` in descending order. To fetch updates without duplication, send request with filter `create_time_epoch_microseconds > [first item's create_time of previous request]` and empty page_token. Request object method variants only take one parameter, a request object, which must be constructed before the call. listMessages(ListMessagesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listMessages(ConversationName parent)
+ * listMessages(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listMessagesPagedCallable()
+ * listMessagesCallable()
* SuggestConversationSummary Suggest summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request. Request object method variants only take one parameter, a request object, which must be constructed before the call. suggestConversationSummary(SuggestConversationSummaryRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. suggestConversationSummary(ConversationName conversation)
+ * suggestConversationSummary(String conversation)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. suggestConversationSummaryCallable()
* GenerateStatelessSummary Generates and returns a summary for a conversation that does not have a resource created for it. Request object method variants only take one parameter, a request object, which must be constructed before the call. generateStatelessSummary(GenerateStatelessSummaryRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. generateStatelessSummaryCallable()
* SearchKnowledge Get answers for the given query based on knowledge documents. Request object method variants only take one parameter, a request object, which must be constructed before the call. searchKnowledge(SearchKnowledgeRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. searchKnowledgeCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java
index 33e345399695..178fe14702d7 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java
@@ -69,53 +69,55 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListDocuments Returns the list of all documents of the knowledge base.
* Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`. Request object method variants only take one parameter, a request object, which must be constructed before the call. listDocuments(ListDocumentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listDocuments(KnowledgeBaseName parent)
+ * listDocuments(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listDocumentsPagedCallable()
+ * listDocumentsCallable()
* GetDocument Retrieves the specified document.
* Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`. Request object method variants only take one parameter, a request object, which must be constructed before the call. getDocument(GetDocumentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getDocument(DocumentName name)
+ * getDocument(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getDocumentCallable()
* CreateDocument Creates a new document.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2beta1.Document]
@@ -123,39 +125,39 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. createDocumentAsync(CreateDocumentRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createDocumentAsync(KnowledgeBaseName parent, Document document)
+ * createDocumentAsync(String parent, Document document)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createDocumentOperationCallable()
+ * createDocumentCallable()
* ImportDocuments Create documents by importing data from external sources. Dialogflow supports up to 350 documents in each request. If you try to import more, Dialogflow will return an error.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] - `response`: [ImportDocumentsResponse][google.cloud.dialogflow.v2beta1.ImportDocumentsResponse] Request object method variants only take one parameter, a request object, which must be constructed before the call. importDocumentsAsync(ImportDocumentsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importDocumentsOperationCallable()
+ * importDocumentsCallable()
* DeleteDocument Deletes the specified document.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
@@ -163,22 +165,22 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteDocumentAsync(DeleteDocumentRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteDocumentAsync(DocumentName name)
+ * deleteDocumentAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteDocumentOperationCallable()
+ * deleteDocumentCallable()
* UpdateDocument Updates the specified document.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2beta1.Document]
@@ -186,22 +188,22 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. updateDocumentAsync(UpdateDocumentRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateDocumentAsync(Document document)
+ * updateDocumentAsync(Document document, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateDocumentOperationCallable()
+ * updateDocumentCallable()
* ReloadDocument Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. Note: If the document source is Google Cloud Storage URI, its metadata will be replaced with the custom metadata from Google Cloud Storage if the `import_gcs_custom_metadata` field is set to true in the request.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields:
* - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2beta1.Document]
@@ -209,50 +211,49 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. reloadDocumentAsync(ReloadDocumentRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. reloadDocumentAsync(DocumentName name, GcsSource gcsSource)
+ * reloadDocumentAsync(String name, GcsSource gcsSource)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. reloadDocumentOperationCallable()
+ * reloadDocumentCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java
index 3ac50940ff6d..fa73b951ef9c 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java
@@ -68,118 +68,120 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListEntityTypes Returns the list of all entity types in the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listEntityTypes(ListEntityTypesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listEntityTypes(AgentName parent)
+ * listEntityTypes(String parent)
+ * listEntityTypes(AgentName parent, String languageCode)
+ * listEntityTypes(String parent, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listEntityTypesPagedCallable()
+ * listEntityTypesCallable()
* GetEntityType Retrieves the specified entity type. Request object method variants only take one parameter, a request object, which must be constructed before the call. getEntityType(GetEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getEntityType(EntityTypeName name)
+ * getEntityType(String name)
+ * getEntityType(EntityTypeName name, String languageCode)
+ * getEntityType(String name, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getEntityTypeCallable()
* CreateEntityType Creates an entity type in the specified agent.
* Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. createEntityType(CreateEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createEntityType(AgentName parent, EntityType entityType)
+ * createEntityType(String parent, EntityType entityType)
+ * createEntityType(AgentName parent, EntityType entityType, String languageCode)
+ * createEntityType(String parent, EntityType entityType, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createEntityTypeCallable()
* UpdateEntityType Updates the specified entity type.
* Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. updateEntityType(UpdateEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateEntityType(EntityType entityType)
+ * updateEntityType(EntityType entityType, String languageCode)
+ * updateEntityType(EntityType entityType, String languageCode, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateEntityTypeCallable()
* DeleteEntityType Deletes the specified entity type.
* Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteEntityType(DeleteEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteEntityType(EntityTypeName name)
+ * deleteEntityType(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteEntityTypeCallable()
* BatchUpdateEntityTypes Updates/Creates multiple entity types in the specified agent.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse]
@@ -187,17 +189,17 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. batchUpdateEntityTypesAsync(BatchUpdateEntityTypesRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchUpdateEntityTypesOperationCallable()
+ * batchUpdateEntityTypesCallable()
* BatchDeleteEntityTypes Deletes entity types in the specified agent.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
@@ -205,22 +207,22 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. batchDeleteEntityTypesAsync(BatchDeleteEntityTypesRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. batchDeleteEntityTypesAsync(AgentName parent, List<String> entityTypeNames)
+ * batchDeleteEntityTypesAsync(String parent, List<String> entityTypeNames)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchDeleteEntityTypesOperationCallable()
+ * batchDeleteEntityTypesCallable()
* BatchCreateEntities Creates multiple new entities in the specified entity type.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
@@ -228,24 +230,24 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. batchCreateEntitiesAsync(BatchCreateEntitiesRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. batchCreateEntitiesAsync(EntityTypeName parent, List<EntityType.Entity> entities)
+ * batchCreateEntitiesAsync(String parent, List<EntityType.Entity> entities)
+ * batchCreateEntitiesAsync(EntityTypeName parent, List<EntityType.Entity> entities, String languageCode)
+ * batchCreateEntitiesAsync(String parent, List<EntityType.Entity> entities, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchCreateEntitiesOperationCallable()
+ * batchCreateEntitiesCallable()
* BatchUpdateEntities Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request.
* Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
@@ -253,24 +255,24 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. batchUpdateEntitiesAsync(BatchUpdateEntitiesRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. batchUpdateEntitiesAsync(EntityTypeName parent, List<EntityType.Entity> entities)
+ * batchUpdateEntitiesAsync(String parent, List<EntityType.Entity> entities)
+ * batchUpdateEntitiesAsync(EntityTypeName parent, List<EntityType.Entity> entities, String languageCode)
+ * batchUpdateEntitiesAsync(String parent, List<EntityType.Entity> entities, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchUpdateEntitiesOperationCallable()
+ * batchUpdateEntitiesCallable()
* BatchDeleteEntities Deletes entities in the specified entity type.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
@@ -278,52 +280,51 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. batchDeleteEntitiesAsync(BatchDeleteEntitiesRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. batchDeleteEntitiesAsync(EntityTypeName parent, List<String> entityValues)
+ * batchDeleteEntitiesAsync(String parent, List<String> entityValues)
+ * batchDeleteEntitiesAsync(EntityTypeName parent, List<String> entityValues, String languageCode)
+ * batchDeleteEntitiesAsync(String parent, List<String> entityValues, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchDeleteEntitiesOperationCallable()
+ * batchDeleteEntitiesCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClient.java
index a7f7acc0aa64..1b4d726684e9 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClient.java
@@ -66,132 +66,133 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListEnvironments Returns the list of all non-draft environments of the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listEnvironments(ListEnvironmentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listEnvironments(AgentName parent)
+ * listEnvironments(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listEnvironmentsPagedCallable()
+ * listEnvironmentsCallable()
* GetEnvironment Retrieves the specified agent environment. Request object method variants only take one parameter, a request object, which must be constructed before the call. getEnvironment(GetEnvironmentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getEnvironmentCallable()
* CreateEnvironment Creates an agent environment. Request object method variants only take one parameter, a request object, which must be constructed before the call. createEnvironment(CreateEnvironmentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createEnvironmentCallable()
* UpdateEnvironment Updates the specified agent environment.
* This method allows you to deploy new agent versions into the environment. When an environment is pointed to a new agent version by setting `environment.agent_version`, the environment is temporarily set to the `LOADING` state. During that time, the environment keeps on serving the previous version of the agent. After the new agent version is done loading, the environment is set back to the `RUNNING` state. You can use "-" as Environment ID in environment name to update version in "draft" environment. WARNING: this will negate all recent changes to draft and can't be undone. You may want to save the draft to a version before calling this function. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateEnvironment(UpdateEnvironmentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateEnvironmentCallable()
* DeleteEnvironment Deletes the specified agent environment. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteEnvironment(DeleteEnvironmentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteEnvironmentCallable()
* GetEnvironmentHistory Gets the history of the specified environment. Request object method variants only take one parameter, a request object, which must be constructed before the call. getEnvironmentHistory(GetEnvironmentHistoryRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getEnvironmentHistoryPagedCallable()
+ * getEnvironmentHistoryCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/FulfillmentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/FulfillmentsClient.java
index 1ec3c4d59e99..3d155b509606 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/FulfillmentsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/FulfillmentsClient.java
@@ -62,77 +62,78 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* GetFulfillment Retrieves the fulfillment. Request object method variants only take one parameter, a request object, which must be constructed before the call. getFulfillment(GetFulfillmentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getFulfillment(FulfillmentName name)
+ * getFulfillment(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getFulfillmentCallable()
* UpdateFulfillment Updates the fulfillment. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateFulfillment(UpdateFulfillmentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateFulfillment(Fulfillment fulfillment, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateFulfillmentCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java
index 8ba46c777b54..4ece485b1257 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java
@@ -67,119 +67,121 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListIntents Returns the list of all intents in the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listIntents(ListIntentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listIntents(AgentName parent)
+ * listIntents(String parent)
+ * listIntents(AgentName parent, String languageCode)
+ * listIntents(String parent, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listIntentsPagedCallable()
+ * listIntentsCallable()
* GetIntent Retrieves the specified intent. Request object method variants only take one parameter, a request object, which must be constructed before the call. getIntent(GetIntentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getIntent(IntentName name)
+ * getIntent(String name)
+ * getIntent(IntentName name, String languageCode)
+ * getIntent(String name, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getIntentCallable()
* CreateIntent Creates an intent in the specified agent.
* Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. createIntent(CreateIntentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createIntent(AgentName parent, Intent intent)
+ * createIntent(String parent, Intent intent)
+ * createIntent(AgentName parent, Intent intent, String languageCode)
+ * createIntent(String parent, Intent intent, String languageCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createIntentCallable()
* UpdateIntent Updates the specified intent.
* Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. updateIntent(UpdateIntentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateIntent(Intent intent)
+ * updateIntent(Intent intent, FieldMask updateMask)
+ * updateIntent(Intent intent, String languageCode)
+ * updateIntent(Intent intent, String languageCode, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateIntentCallable()
* DeleteIntent Deletes the specified intent and its direct or indirect followup intents.
* Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteIntent(DeleteIntentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteIntent(IntentName name)
+ * deleteIntent(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteIntentCallable()
* BatchUpdateIntents Updates/Creates multiple intents in the specified agent.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse]
@@ -187,24 +189,24 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. batchUpdateIntentsAsync(BatchUpdateIntentsRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. batchUpdateIntentsAsync(AgentName parent, IntentBatch intentBatchInline)
+ * batchUpdateIntentsAsync(AgentName parent, String intentBatchUri)
+ * batchUpdateIntentsAsync(String parent, IntentBatch intentBatchInline)
+ * batchUpdateIntentsAsync(String parent, String intentBatchUri)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchUpdateIntentsOperationCallable()
+ * batchUpdateIntentsCallable()
* BatchDeleteIntents Deletes intents in the specified agent.
* This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields:
* - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
@@ -212,50 +214,49 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. batchDeleteIntentsAsync(BatchDeleteIntentsRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. batchDeleteIntentsAsync(AgentName parent, List<Intent> intents)
+ * batchDeleteIntentsAsync(String parent, List<Intent> intents)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchDeleteIntentsOperationCallable()
+ * batchDeleteIntentsCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java
index f4f7c74ee05a..bdd89765cfbe 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java
@@ -64,143 +64,144 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListKnowledgeBases Returns the list of all knowledge bases of the specified agent.
* Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`. Request object method variants only take one parameter, a request object, which must be constructed before the call. listKnowledgeBases(ListKnowledgeBasesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listKnowledgeBases(LocationName parent)
+ * listKnowledgeBases(ProjectName parent)
+ * listKnowledgeBases(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listKnowledgeBasesPagedCallable()
+ * listKnowledgeBasesCallable()
* GetKnowledgeBase Retrieves the specified knowledge base.
* Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`. Request object method variants only take one parameter, a request object, which must be constructed before the call. getKnowledgeBase(GetKnowledgeBaseRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getKnowledgeBase(KnowledgeBaseName name)
+ * getKnowledgeBase(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getKnowledgeBaseCallable()
* CreateKnowledgeBase Creates a knowledge base.
* Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`. Request object method variants only take one parameter, a request object, which must be constructed before the call. createKnowledgeBase(CreateKnowledgeBaseRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createKnowledgeBase(LocationName parent, KnowledgeBase knowledgeBase)
+ * createKnowledgeBase(ProjectName parent, KnowledgeBase knowledgeBase)
+ * createKnowledgeBase(String parent, KnowledgeBase knowledgeBase)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createKnowledgeBaseCallable()
* DeleteKnowledgeBase Deletes the specified knowledge base.
* Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteKnowledgeBase(DeleteKnowledgeBaseRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteKnowledgeBase(KnowledgeBaseName name)
+ * deleteKnowledgeBase(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteKnowledgeBaseCallable()
* UpdateKnowledgeBase Updates the specified knowledge base.
* Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateKnowledgeBase(UpdateKnowledgeBaseRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateKnowledgeBase(KnowledgeBase knowledgeBase)
+ * updateKnowledgeBase(KnowledgeBase knowledgeBase, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateKnowledgeBaseCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsClient.java
index 368e7d9e5fa0..947d681bf44e 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsClient.java
@@ -65,243 +65,244 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* CreateParticipant Creates a new participant in a conversation. Request object method variants only take one parameter, a request object, which must be constructed before the call. createParticipant(CreateParticipantRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createParticipant(ConversationName parent, Participant participant)
+ * createParticipant(String parent, Participant participant)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createParticipantCallable()
* GetParticipant Retrieves a conversation participant. Request object method variants only take one parameter, a request object, which must be constructed before the call. getParticipant(GetParticipantRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getParticipant(ParticipantName name)
+ * getParticipant(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getParticipantCallable()
* ListParticipants Returns the list of all participants in the specified conversation. Request object method variants only take one parameter, a request object, which must be constructed before the call. listParticipants(ListParticipantsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listParticipants(ConversationName parent)
+ * listParticipants(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listParticipantsPagedCallable()
+ * listParticipantsCallable()
* UpdateParticipant Updates the specified participant. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateParticipant(UpdateParticipantRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateParticipant(Participant participant, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateParticipantCallable()
* AnalyzeContent Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation.
* Note: Always use agent versions for production traffic sent to virtual agents. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions). Request object method variants only take one parameter, a request object, which must be constructed before the call. analyzeContent(AnalyzeContentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. analyzeContent(ParticipantName participant, AudioInput audioInput)
+ * analyzeContent(ParticipantName participant, EventInput eventInput)
+ * analyzeContent(ParticipantName participant, TextInput textInput)
+ * analyzeContent(String participant, AudioInput audioInput)
+ * analyzeContent(String participant, EventInput eventInput)
+ * analyzeContent(String participant, TextInput textInput)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. analyzeContentCallable()
* StreamingAnalyzeContent Adds a text (e.g., chat) or audio (e.g., phone recording) message from a participant into the conversation. Note: This method is only available through the gRPC API (not REST).
* The top-level message sent to the client by the server is `StreamingAnalyzeContentResponse`. Multiple response messages can be returned in order. The first one or more messages contain the `recognition_result` field. Each result represents a more complete transcript of what the user said. The next message contains the `reply_text` field, and potentially the `reply_audio` and/or the `automated_agent_reply` fields.
* Note: Always use agent versions for production traffic sent to virtual agents. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions). Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. streamingAnalyzeContentCallable()
* SuggestArticles Gets suggested articles for a participant based on specific historical messages.
* Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion based on the provided conversation context in the real time. Request object method variants only take one parameter, a request object, which must be constructed before the call. suggestArticles(SuggestArticlesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. suggestArticles(ParticipantName parent)
+ * suggestArticles(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. suggestArticlesCallable()
* SuggestFaqAnswers Gets suggested faq answers for a participant based on specific historical messages. Request object method variants only take one parameter, a request object, which must be constructed before the call. suggestFaqAnswers(SuggestFaqAnswersRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. suggestFaqAnswers(ParticipantName parent)
+ * suggestFaqAnswers(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. suggestFaqAnswersCallable()
* SuggestSmartReplies Gets smart replies for a participant based on specific historical messages. Request object method variants only take one parameter, a request object, which must be constructed before the call. suggestSmartReplies(SuggestSmartRepliesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. suggestSmartReplies(ParticipantName parent)
+ * suggestSmartReplies(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. suggestSmartRepliesCallable()
* ListSuggestions Deprecated: Use inline suggestion, event based suggestion or Suggestion* API instead. See [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more details. Removal Date: 2020-09-01.
* Retrieves suggestions for live agents.
* This method should be used by human agent client software to fetch auto generated suggestions in real-time, while the conversation with an end user is in progress. The functionality is implemented in terms of the [list pagination](https://cloud.google.com/apis/design/design_patterns#list_pagination) design pattern. The client app should use the `next_page_token` field to fetch the next batch of suggestions. `suggestions` are sorted by `create_time` in descending order. To fetch latest suggestion, just set `page_size` to 1. To fetch new suggestions without duplication, send request with filter `create_time_epoch_microseconds > [first item's create_time of previous request]` and empty page_token. Request object method variants only take one parameter, a request object, which must be constructed before the call. listSuggestions(ListSuggestionsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listSuggestionsPagedCallable()
+ * listSuggestionsCallable()
* CompileSuggestion Deprecated. use [SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles] and [SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers] instead.
* Gets suggestions for a participant based on specific historical messages.
* Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion based on the provided conversation context in the real time. Request object method variants only take one parameter, a request object, which must be constructed before the call. compileSuggestion(CompileSuggestionRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. compileSuggestionCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java
index 5794fbdcbdc8..6d32f554c4f5 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java
@@ -66,142 +66,143 @@
* close().
*
* ListSessionEntityTypes Returns the list of all session entity types in the specified session.
* This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration. Request object method variants only take one parameter, a request object, which must be constructed before the call. listSessionEntityTypes(ListSessionEntityTypesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listSessionEntityTypes(SessionName parent)
+ * listSessionEntityTypes(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listSessionEntityTypesPagedCallable()
+ * listSessionEntityTypesCallable()
* GetSessionEntityType Retrieves the specified session entity type.
* This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration. Request object method variants only take one parameter, a request object, which must be constructed before the call. getSessionEntityType(GetSessionEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getSessionEntityType(SessionEntityTypeName name)
+ * getSessionEntityType(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getSessionEntityTypeCallable()
* CreateSessionEntityType Creates a session entity type.
* If the specified session entity type already exists, overrides the session entity type.
* This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration. Request object method variants only take one parameter, a request object, which must be constructed before the call. createSessionEntityType(CreateSessionEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createSessionEntityType(SessionName parent, SessionEntityType sessionEntityType)
+ * createSessionEntityType(String parent, SessionEntityType sessionEntityType)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createSessionEntityTypeCallable()
* UpdateSessionEntityType Updates the specified session entity type.
* This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateSessionEntityType(UpdateSessionEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateSessionEntityType(SessionEntityType sessionEntityType)
+ * updateSessionEntityType(SessionEntityType sessionEntityType, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateSessionEntityTypeCallable()
* DeleteSessionEntityType Deletes the specified session entity type.
* This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteSessionEntityType(DeleteSessionEntityTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteSessionEntityType(SessionEntityTypeName name)
+ * deleteSessionEntityType(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteSessionEntityTypeCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsClient.java
index 8b18fa0dcfb5..cdf5f396c469 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsClient.java
@@ -65,73 +65,74 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* DetectIntent Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries.
* If you might use [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa) or other CCAI products now or in the future, consider using [AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] instead of `DetectIntent`. `AnalyzeContent` has additional functionality for Agent Assist and other CCAI products.
* Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions). Request object method variants only take one parameter, a request object, which must be constructed before the call. detectIntent(DetectIntentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. detectIntent(SessionName session, QueryInput queryInput)
+ * detectIntent(String session, QueryInput queryInput)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. detectIntentCallable()
* StreamingDetectIntent Processes a natural language query in audio format in a streaming fashion and returns structured, actionable data as a result. This method is only available via the gRPC API (not REST).
* If you might use [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa) or other CCAI products now or in the future, consider using [StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] instead of `StreamingDetectIntent`. `StreamingAnalyzeContent` has additional functionality for Agent Assist and other CCAI products.
* Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions). Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. streamingDetectIntentCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionsClient.java
index bdab13d15b98..940dfb1b3a25 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionsClient.java
@@ -62,137 +62,138 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* ListVersions Returns the list of all versions of the specified agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. listVersions(ListVersionsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listVersions(AgentName parent)
+ * listVersions(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listVersionsPagedCallable()
+ * listVersionsCallable()
* GetVersion Retrieves the specified agent version. Request object method variants only take one parameter, a request object, which must be constructed before the call. getVersion(GetVersionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getVersion(VersionName name)
+ * getVersion(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getVersionCallable()
* CreateVersion Creates an agent version.
* The new version points to the agent instance in the "default" environment. Request object method variants only take one parameter, a request object, which must be constructed before the call. createVersion(CreateVersionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createVersion(AgentName parent, Version version)
+ * createVersion(String parent, Version version)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createVersionCallable()
* UpdateVersion Updates the specified agent version.
* Note that this method does not allow you to update the state of the agent the given version points to. It allows you to update only mutable properties of the version resource. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateVersion(UpdateVersionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateVersion(Version version, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateVersionCallable()
* DeleteVersion Delete the specified agent version. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteVersion(DeleteVersionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteVersion(VersionName name)
+ * deleteVersion(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteVersionCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/AgentsStubSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/AgentsStubSettings.java
index 26fe8bcc4d80..4525c712581d 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/AgentsStubSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/AgentsStubSettings.java
@@ -348,6 +348,15 @@ public AgentsStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -596,7 +605,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -609,7 +617,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -875,6 +882,15 @@ public UnaryCallSettings.Builder CompleteQuery Completes the specified user input with keyword suggestions. Request object method variants only take one parameter, a request object, which must be constructed before the call. completeQuery(CompleteQueryRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. completeQueryCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/ConversationalSearchServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/ConversationalSearchServiceClient.java
index 13b9520985fe..092cf6159a22 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/ConversationalSearchServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/ConversationalSearchServiceClient.java
@@ -63,128 +63,129 @@
* calls close().
*
* ConverseConversation Converses a conversation. Request object method variants only take one parameter, a request object, which must be constructed before the call. converseConversation(ConverseConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. converseConversation(ConversationName name, TextInput query)
+ * converseConversation(String name, TextInput query)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. converseConversationCallable()
* CreateConversation Creates a Conversation.
* If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to create already exists, an ALREADY_EXISTS error is returned. Request object method variants only take one parameter, a request object, which must be constructed before the call. createConversation(CreateConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createConversation(DataStoreName parent, Conversation conversation)
+ * createConversation(String parent, Conversation conversation)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createConversationCallable()
* DeleteConversation Deletes a Conversation.
* If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to delete does not exist, a NOT_FOUND error is returned. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteConversation(DeleteConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteConversation(ConversationName name)
+ * deleteConversation(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteConversationCallable()
* UpdateConversation Updates a Conversation.
* [Conversation][google.cloud.discoveryengine.v1.Conversation] action type cannot be changed. If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to update does not exist, a NOT_FOUND error is returned. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateConversation(UpdateConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateConversation(Conversation conversation, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateConversationCallable()
* GetConversation Gets a Conversation. Request object method variants only take one parameter, a request object, which must be constructed before the call. getConversation(GetConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getConversation(ConversationName name)
+ * getConversation(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getConversationCallable()
* ListConversations Lists all Conversations by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore]. Request object method variants only take one parameter, a request object, which must be constructed before the call. listConversations(ListConversationsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listConversations(DataStoreName parent)
+ * listConversations(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listConversationsPagedCallable()
+ * listConversationsCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/DocumentServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/DocumentServiceClient.java
index e186f725dca3..0002fa13d343 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/DocumentServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/DocumentServiceClient.java
@@ -65,135 +65,136 @@
* close().
*
* GetDocument Gets a [Document][google.cloud.discoveryengine.v1.Document]. Request object method variants only take one parameter, a request object, which must be constructed before the call. getDocument(GetDocumentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getDocument(DocumentName name)
+ * getDocument(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getDocumentCallable()
* ListDocuments Gets a list of [Document][google.cloud.discoveryengine.v1.Document]s. Request object method variants only take one parameter, a request object, which must be constructed before the call. listDocuments(ListDocumentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listDocuments(BranchName parent)
+ * listDocuments(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listDocumentsPagedCallable()
+ * listDocumentsCallable()
* CreateDocument Creates a [Document][google.cloud.discoveryengine.v1.Document]. Request object method variants only take one parameter, a request object, which must be constructed before the call. createDocument(CreateDocumentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createDocument(BranchName parent, Document document, String documentId)
+ * createDocument(String parent, Document document, String documentId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createDocumentCallable()
* UpdateDocument Updates a [Document][google.cloud.discoveryengine.v1.Document]. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateDocument(UpdateDocumentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateDocumentCallable()
* DeleteDocument Deletes a [Document][google.cloud.discoveryengine.v1.Document]. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteDocument(DeleteDocumentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteDocument(DocumentName name)
+ * deleteDocument(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteDocumentCallable()
* ImportDocuments Bulk import of multiple [Document][google.cloud.discoveryengine.v1.Document]s. Request processing may be synchronous. Non-existing items will be created.
* Note: It is possible for a subset of the [Document][google.cloud.discoveryengine.v1.Document]s to be successfully updated. Request object method variants only take one parameter, a request object, which must be constructed before the call. importDocumentsAsync(ImportDocumentsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importDocumentsOperationCallable()
+ * importDocumentsCallable()
* PurgeDocuments Permanently deletes all selected [Document][google.cloud.discoveryengine.v1.Document]s in a branch.
* This process is asynchronous. Depending on the number of [Document][google.cloud.discoveryengine.v1.Document]s to be deleted, this operation can take hours to complete. Before the delete operation completes, some [Document][google.cloud.discoveryengine.v1.Document]s might still be returned by [DocumentService.GetDocument][google.cloud.discoveryengine.v1.DocumentService.GetDocument] or [DocumentService.ListDocuments][google.cloud.discoveryengine.v1.DocumentService.ListDocuments].
* To get a list of the [Document][google.cloud.discoveryengine.v1.Document]s to be deleted, set [PurgeDocumentsRequest.force][google.cloud.discoveryengine.v1.PurgeDocumentsRequest.force] to false. Request object method variants only take one parameter, a request object, which must be constructed before the call. purgeDocumentsAsync(PurgeDocumentsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. purgeDocumentsOperationCallable()
+ * purgeDocumentsCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/SchemaServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/SchemaServiceClient.java
index 8445504ce713..3b4527173e54 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/SchemaServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/SchemaServiceClient.java
@@ -63,105 +63,106 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* GetSchema Gets a [Schema][google.cloud.discoveryengine.v1.Schema]. Request object method variants only take one parameter, a request object, which must be constructed before the call. getSchema(GetSchemaRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getSchema(SchemaName name)
+ * getSchema(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getSchemaCallable()
* ListSchemas Gets a list of [Schema][google.cloud.discoveryengine.v1.Schema]s. Request object method variants only take one parameter, a request object, which must be constructed before the call. listSchemas(ListSchemasRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listSchemas(DataStoreName parent)
+ * listSchemas(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listSchemasPagedCallable()
+ * listSchemasCallable()
* CreateSchema Creates a [Schema][google.cloud.discoveryengine.v1.Schema]. Request object method variants only take one parameter, a request object, which must be constructed before the call. createSchemaAsync(CreateSchemaRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createSchemaAsync(DataStoreName parent, Schema schema, String schemaId)
+ * createSchemaAsync(String parent, Schema schema, String schemaId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createSchemaOperationCallable()
+ * createSchemaCallable()
* UpdateSchema Updates a [Schema][google.cloud.discoveryengine.v1.Schema]. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateSchemaAsync(UpdateSchemaRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateSchemaOperationCallable()
+ * updateSchemaCallable()
* DeleteSchema Deletes a [Schema][google.cloud.discoveryengine.v1.Schema]. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteSchemaAsync(DeleteSchemaRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteSchemaAsync(SchemaName name)
+ * deleteSchemaAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteSchemaOperationCallable()
+ * deleteSchemaCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/SearchServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/SearchServiceClient.java
index 8b69dacdecdb..2d278ea3db1f 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/SearchServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/SearchServiceClient.java
@@ -84,26 +84,27 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* Search Performs a search. Request object method variants only take one parameter, a request object, which must be constructed before the call. search(SearchRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. searchPagedCallable()
+ * searchCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/UserEventServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/UserEventServiceClient.java
index 80efc53d9304..44242a2a18d8 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/UserEventServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/UserEventServiceClient.java
@@ -61,56 +61,57 @@
* close().
*
* WriteUserEvent Writes a single user event. Request object method variants only take one parameter, a request object, which must be constructed before the call. writeUserEvent(WriteUserEventRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. writeUserEventCallable()
* CollectUserEvent Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain.
* This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly. Request object method variants only take one parameter, a request object, which must be constructed before the call. collectUserEvent(CollectUserEventRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. collectUserEventCallable()
* ImportUserEvents Bulk import of User events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events.
* Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ImportMetadata. Request object method variants only take one parameter, a request object, which must be constructed before the call. importUserEventsAsync(ImportUserEventsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importUserEventsOperationCallable()
+ * importUserEventsCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/stub/CompletionServiceStubSettings.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/stub/CompletionServiceStubSettings.java
index 6565ce0fd53e..4b7524a6522e 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/stub/CompletionServiceStubSettings.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/stub/CompletionServiceStubSettings.java
@@ -114,6 +114,15 @@ public CompletionServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -278,7 +287,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -291,7 +299,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -328,6 +335,15 @@ public Builder applyToAllUnaryMethods(
return completeQuerySettings;
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
@Override
public CompletionServiceStubSettings build() throws IOException {
return new CompletionServiceStubSettings(this);
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/stub/ConversationalSearchServiceStubSettings.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/stub/ConversationalSearchServiceStubSettings.java
index 6d056fc50c85..653f1c4ab8be 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/stub/ConversationalSearchServiceStubSettings.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/stub/ConversationalSearchServiceStubSettings.java
@@ -230,6 +230,15 @@ public ConversationalSearchServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -434,7 +443,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -447,7 +455,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -540,6 +547,15 @@ public Builder applyToAllUnaryMethods(
return listConversationsSettings;
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
@Override
public ConversationalSearchServiceStubSettings build() throws IOException {
return new ConversationalSearchServiceStubSettings(this);
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/stub/DocumentServiceStubSettings.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/stub/DocumentServiceStubSettings.java
index c610b4ac354e..f30b189ef4b1 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/stub/DocumentServiceStubSettings.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/stub/DocumentServiceStubSettings.java
@@ -250,6 +250,15 @@ public DocumentServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -481,7 +490,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -494,7 +502,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -658,6 +665,15 @@ public UnaryCallSettings.Builder CompleteQuery Completes the specified user input with keyword suggestions. Request object method variants only take one parameter, a request object, which must be constructed before the call. completeQuery(CompleteQueryRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. completeQueryCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/ConversationalSearchServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/ConversationalSearchServiceClient.java
index bcd4a5d33f48..94e9933c8e09 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/ConversationalSearchServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/ConversationalSearchServiceClient.java
@@ -64,128 +64,129 @@
* calls close().
*
* ConverseConversation Converses a conversation. Request object method variants only take one parameter, a request object, which must be constructed before the call. converseConversation(ConverseConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. converseConversation(ConversationName name, TextInput query)
+ * converseConversation(String name, TextInput query)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. converseConversationCallable()
* CreateConversation Creates a Conversation.
* If the [Conversation][google.cloud.discoveryengine.v1alpha.Conversation] to create already exists, an ALREADY_EXISTS error is returned. Request object method variants only take one parameter, a request object, which must be constructed before the call. createConversation(CreateConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createConversation(DataStoreName parent, Conversation conversation)
+ * createConversation(String parent, Conversation conversation)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createConversationCallable()
* DeleteConversation Deletes a Conversation.
* If the [Conversation][google.cloud.discoveryengine.v1alpha.Conversation] to delete does not exist, a NOT_FOUND error is returned. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteConversation(DeleteConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteConversation(ConversationName name)
+ * deleteConversation(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteConversationCallable()
* UpdateConversation Updates a Conversation.
* [Conversation][google.cloud.discoveryengine.v1alpha.Conversation] action type cannot be changed. If the [Conversation][google.cloud.discoveryengine.v1alpha.Conversation] to update does not exist, a NOT_FOUND error is returned. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateConversation(UpdateConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateConversation(Conversation conversation, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateConversationCallable()
* GetConversation Gets a Conversation. Request object method variants only take one parameter, a request object, which must be constructed before the call. getConversation(GetConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getConversation(ConversationName name)
+ * getConversation(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getConversationCallable()
* ListConversations Lists all Conversations by their parent [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]. Request object method variants only take one parameter, a request object, which must be constructed before the call. listConversations(ListConversationsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listConversations(DataStoreName parent)
+ * listConversations(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listConversationsPagedCallable()
+ * listConversationsCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/DataStoreServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/DataStoreServiceClient.java
index dd754eb98bf5..4bd7ee3b6a41 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/DataStoreServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/DataStoreServiceClient.java
@@ -65,109 +65,110 @@
* close().
*
* CreateDataStore Creates a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].
* DataStore is for storing [Documents][google.cloud.discoveryengine.v1alpha.Document]. To serve these documents for Search, or Recommendation use case, an [Engine][google.cloud.discoveryengine.v1alpha.Engine] needs to be created separately. Request object method variants only take one parameter, a request object, which must be constructed before the call. createDataStoreAsync(CreateDataStoreRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createDataStoreAsync(CollectionName parent, DataStore dataStore, String dataStoreId)
+ * createDataStoreAsync(String parent, DataStore dataStore, String dataStoreId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createDataStoreOperationCallable()
+ * createDataStoreCallable()
* GetDataStore Gets a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]. Request object method variants only take one parameter, a request object, which must be constructed before the call. getDataStore(GetDataStoreRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getDataStore(DataStoreName name)
+ * getDataStore(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getDataStoreCallable()
* ListDataStores Lists all the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]s associated with the project. Request object method variants only take one parameter, a request object, which must be constructed before the call. listDataStores(ListDataStoresRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listDataStores(CollectionName parent)
+ * listDataStores(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listDataStoresPagedCallable()
+ * listDataStoresCallable()
* DeleteDataStore Deletes a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteDataStoreAsync(DeleteDataStoreRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteDataStoreAsync(DataStoreName name)
+ * deleteDataStoreAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteDataStoreOperationCallable()
+ * deleteDataStoreCallable()
* UpdateDataStore Updates a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] Request object method variants only take one parameter, a request object, which must be constructed before the call. updateDataStore(UpdateDataStoreRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateDataStore(DataStore dataStore, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateDataStoreCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/DocumentServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/DocumentServiceClient.java
index 8ba7631160ff..1c47213596b3 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/DocumentServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/DocumentServiceClient.java
@@ -65,135 +65,136 @@
* close().
*
* GetDocument Gets a [Document][google.cloud.discoveryengine.v1alpha.Document]. Request object method variants only take one parameter, a request object, which must be constructed before the call. getDocument(GetDocumentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getDocument(DocumentName name)
+ * getDocument(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getDocumentCallable()
* ListDocuments Gets a list of [Document][google.cloud.discoveryengine.v1alpha.Document]s. Request object method variants only take one parameter, a request object, which must be constructed before the call. listDocuments(ListDocumentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listDocuments(BranchName parent)
+ * listDocuments(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listDocumentsPagedCallable()
+ * listDocumentsCallable()
* CreateDocument Creates a [Document][google.cloud.discoveryengine.v1alpha.Document]. Request object method variants only take one parameter, a request object, which must be constructed before the call. createDocument(CreateDocumentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createDocument(BranchName parent, Document document, String documentId)
+ * createDocument(String parent, Document document, String documentId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createDocumentCallable()
* UpdateDocument Updates a [Document][google.cloud.discoveryengine.v1alpha.Document]. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateDocument(UpdateDocumentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateDocumentCallable()
* DeleteDocument Deletes a [Document][google.cloud.discoveryengine.v1alpha.Document]. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteDocument(DeleteDocumentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteDocument(DocumentName name)
+ * deleteDocument(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteDocumentCallable()
* ImportDocuments Bulk import of multiple [Document][google.cloud.discoveryengine.v1alpha.Document]s. Request processing may be synchronous. Non-existing items will be created.
* Note: It is possible for a subset of the [Document][google.cloud.discoveryengine.v1alpha.Document]s to be successfully updated. Request object method variants only take one parameter, a request object, which must be constructed before the call. importDocumentsAsync(ImportDocumentsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importDocumentsOperationCallable()
+ * importDocumentsCallable()
* PurgeDocuments Permanently deletes all selected [Document][google.cloud.discoveryengine.v1alpha.Document]s in a branch.
* This process is asynchronous. Depending on the number of [Document][google.cloud.discoveryengine.v1alpha.Document]s to be deleted, this operation can take hours to complete. Before the delete operation completes, some [Document][google.cloud.discoveryengine.v1alpha.Document]s might still be returned by [DocumentService.GetDocument][google.cloud.discoveryengine.v1alpha.DocumentService.GetDocument] or [DocumentService.ListDocuments][google.cloud.discoveryengine.v1alpha.DocumentService.ListDocuments].
* To get a list of the [Document][google.cloud.discoveryengine.v1alpha.Document]s to be deleted, set [PurgeDocumentsRequest.force][google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.force] to false. Request object method variants only take one parameter, a request object, which must be constructed before the call. purgeDocumentsAsync(PurgeDocumentsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. purgeDocumentsOperationCallable()
+ * purgeDocumentsCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/EngineServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/EngineServiceClient.java
index 7fdb212ba109..b4acbb70101a 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/EngineServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/EngineServiceClient.java
@@ -64,166 +64,167 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* CreateEngine Creates a [Engine][google.cloud.discoveryengine.v1alpha.Engine]. Request object method variants only take one parameter, a request object, which must be constructed before the call. createEngineAsync(CreateEngineRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createEngineAsync(CollectionName parent, Engine engine, String engineId)
+ * createEngineAsync(String parent, Engine engine, String engineId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createEngineOperationCallable()
+ * createEngineCallable()
* DeleteEngine Deletes a [Engine][google.cloud.discoveryengine.v1alpha.Engine]. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteEngineAsync(DeleteEngineRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteEngineAsync(EngineName name)
+ * deleteEngineAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteEngineOperationCallable()
+ * deleteEngineCallable()
* UpdateEngine Updates an [Engine][google.cloud.discoveryengine.v1alpha.Engine] Request object method variants only take one parameter, a request object, which must be constructed before the call. updateEngine(UpdateEngineRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateEngine(Engine engine, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateEngineCallable()
* GetEngine Gets a [Engine][google.cloud.discoveryengine.v1alpha.Engine]. Request object method variants only take one parameter, a request object, which must be constructed before the call. getEngine(GetEngineRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getEngine(EngineName name)
+ * getEngine(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getEngineCallable()
* ListEngines Lists all the [Engine][google.cloud.discoveryengine.v1alpha.Engine]s associated with the project. Request object method variants only take one parameter, a request object, which must be constructed before the call. listEngines(ListEnginesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listEngines(CollectionName parent)
+ * listEngines(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listEnginesPagedCallable()
+ * listEnginesCallable()
* PauseEngine Pauses the training of an existing engine. Only applicable if [solution_type][] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. Request object method variants only take one parameter, a request object, which must be constructed before the call. pauseEngine(PauseEngineRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. pauseEngine(EngineName name)
+ * pauseEngine(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. pauseEngineCallable()
* ResumeEngine Resumes the training of an existing engine. Only applicable if [SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. Request object method variants only take one parameter, a request object, which must be constructed before the call. resumeEngine(ResumeEngineRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. resumeEngine(EngineName name)
+ * resumeEngine(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. resumeEngineCallable()
* TuneEngine Tunes an existing engine. Only applicable if [solution_type][] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. Request object method variants only take one parameter, a request object, which must be constructed before the call. tuneEngineAsync(TuneEngineRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. tuneEngineAsync(EngineName name)
+ * tuneEngineAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. tuneEngineOperationCallable()
+ * tuneEngineCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/RecommendationServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/RecommendationServiceClient.java
index ec0a40753eb0..16e33b1ae152 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/RecommendationServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/RecommendationServiceClient.java
@@ -62,25 +62,26 @@
* calls close().
*
* Recommend Makes a recommendation, which requires a contextual user event. Request object method variants only take one parameter, a request object, which must be constructed before the call. recommend(RecommendRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. recommendCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/SchemaServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/SchemaServiceClient.java
index c744be550d54..17ab4a2b583c 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/SchemaServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/SchemaServiceClient.java
@@ -63,105 +63,106 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* GetSchema Gets a [Schema][google.cloud.discoveryengine.v1alpha.Schema]. Request object method variants only take one parameter, a request object, which must be constructed before the call. getSchema(GetSchemaRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getSchema(SchemaName name)
+ * getSchema(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getSchemaCallable()
* ListSchemas Gets a list of [Schema][google.cloud.discoveryengine.v1alpha.Schema]s. Request object method variants only take one parameter, a request object, which must be constructed before the call. listSchemas(ListSchemasRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listSchemas(DataStoreName parent)
+ * listSchemas(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listSchemasPagedCallable()
+ * listSchemasCallable()
* CreateSchema Creates a [Schema][google.cloud.discoveryengine.v1alpha.Schema]. Request object method variants only take one parameter, a request object, which must be constructed before the call. createSchemaAsync(CreateSchemaRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createSchemaAsync(DataStoreName parent, Schema schema, String schemaId)
+ * createSchemaAsync(String parent, Schema schema, String schemaId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createSchemaOperationCallable()
+ * createSchemaCallable()
* UpdateSchema Updates a [Schema][google.cloud.discoveryengine.v1alpha.Schema]. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateSchemaAsync(UpdateSchemaRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateSchemaOperationCallable()
+ * updateSchemaCallable()
* DeleteSchema Deletes a [Schema][google.cloud.discoveryengine.v1alpha.Schema]. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteSchemaAsync(DeleteSchemaRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteSchemaAsync(SchemaName name)
+ * deleteSchemaAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteSchemaOperationCallable()
+ * deleteSchemaCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/SearchServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/SearchServiceClient.java
index 72d755a2f168..c24714be0803 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/SearchServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/SearchServiceClient.java
@@ -88,26 +88,27 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* Search Performs a search. Request object method variants only take one parameter, a request object, which must be constructed before the call. search(SearchRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. searchPagedCallable()
+ * searchCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/SearchTuningServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/SearchTuningServiceClient.java
index e2036d552759..a23e4599e337 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/SearchTuningServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/SearchTuningServiceClient.java
@@ -62,26 +62,27 @@
* close().
*
* TrainCustomModel Trains a custom model. Request object method variants only take one parameter, a request object, which must be constructed before the call. trainCustomModelAsync(TrainCustomModelRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. trainCustomModelOperationCallable()
+ * trainCustomModelCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/SiteSearchEngineServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/SiteSearchEngineServiceClient.java
index 0d5c5f81f8a2..205ad202ef80 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/SiteSearchEngineServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/SiteSearchEngineServiceClient.java
@@ -65,218 +65,219 @@
* calls close().
*
* GetSiteSearchEngine Gets the [SiteSearchEngine][google.cloud.discoveryengine.v1alpha.SiteSearchEngine]. Request object method variants only take one parameter, a request object, which must be constructed before the call. getSiteSearchEngine(GetSiteSearchEngineRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getSiteSearchEngine(SiteSearchEngineName name)
+ * getSiteSearchEngine(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getSiteSearchEngineCallable()
* CreateTargetSite Creates a [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite]. Request object method variants only take one parameter, a request object, which must be constructed before the call. createTargetSiteAsync(CreateTargetSiteRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createTargetSiteAsync(SiteSearchEngineName parent, TargetSite targetSite)
+ * createTargetSiteAsync(String parent, TargetSite targetSite)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createTargetSiteOperationCallable()
+ * createTargetSiteCallable()
* BatchCreateTargetSites Creates [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite] in a batch. Request object method variants only take one parameter, a request object, which must be constructed before the call. batchCreateTargetSitesAsync(BatchCreateTargetSitesRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchCreateTargetSitesOperationCallable()
+ * batchCreateTargetSitesCallable()
* GetTargetSite Gets a [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite]. Request object method variants only take one parameter, a request object, which must be constructed before the call. getTargetSite(GetTargetSiteRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getTargetSite(TargetSiteName name)
+ * getTargetSite(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getTargetSiteCallable()
* UpdateTargetSite Updates a [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite]. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateTargetSiteAsync(UpdateTargetSiteRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateTargetSiteAsync(TargetSite targetSite)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateTargetSiteOperationCallable()
+ * updateTargetSiteCallable()
* DeleteTargetSite Deletes a [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite]. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteTargetSiteAsync(DeleteTargetSiteRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteTargetSiteAsync(TargetSiteName name)
+ * deleteTargetSiteAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteTargetSiteOperationCallable()
+ * deleteTargetSiteCallable()
* ListTargetSites Gets a list of [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite]s. Request object method variants only take one parameter, a request object, which must be constructed before the call. listTargetSites(ListTargetSitesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listTargetSites(SiteSearchEngineName parent)
+ * listTargetSites(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listTargetSitesPagedCallable()
+ * listTargetSitesCallable()
* EnableAdvancedSiteSearch Upgrade from basic site search to advanced site search. Request object method variants only take one parameter, a request object, which must be constructed before the call. enableAdvancedSiteSearchAsync(EnableAdvancedSiteSearchRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. enableAdvancedSiteSearchOperationCallable()
+ * enableAdvancedSiteSearchCallable()
* DisableAdvancedSiteSearch Downgrade from advanced site search to basic site search. Request object method variants only take one parameter, a request object, which must be constructed before the call. disableAdvancedSiteSearchAsync(DisableAdvancedSiteSearchRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. disableAdvancedSiteSearchOperationCallable()
+ * disableAdvancedSiteSearchCallable()
* RecrawlUris Request on-demand recrawl for a list of URIs. Request object method variants only take one parameter, a request object, which must be constructed before the call. recrawlUrisAsync(RecrawlUrisRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. recrawlUrisOperationCallable()
+ * recrawlUrisCallable()
* BatchVerifyTargetSites Verify target sites' ownership and validity. This API sends all the target sites under site search engine for verification. Request object method variants only take one parameter, a request object, which must be constructed before the call. batchVerifyTargetSitesAsync(BatchVerifyTargetSitesRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchVerifyTargetSitesOperationCallable()
+ * batchVerifyTargetSitesCallable()
* FetchDomainVerificationStatus Returns list of target sites with its domain verification status. This method can only be called under data store with BASIC_SITE_SEARCH state at the moment. Request object method variants only take one parameter, a request object, which must be constructed before the call. fetchDomainVerificationStatus(FetchDomainVerificationStatusRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. fetchDomainVerificationStatusPagedCallable()
+ * fetchDomainVerificationStatusCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/UserEventServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/UserEventServiceClient.java
index d044045a8552..1933feb99151 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/UserEventServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/UserEventServiceClient.java
@@ -61,71 +61,72 @@
* close().
*
* WriteUserEvent Writes a single user event. Request object method variants only take one parameter, a request object, which must be constructed before the call. writeUserEvent(WriteUserEventRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. writeUserEventCallable()
* CollectUserEvent Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain.
* This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly. Request object method variants only take one parameter, a request object, which must be constructed before the call. collectUserEvent(CollectUserEventRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. collectUserEventCallable()
* PurgeUserEvents Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first. Request object method variants only take one parameter, a request object, which must be constructed before the call. purgeUserEventsAsync(PurgeUserEventsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. purgeUserEventsOperationCallable()
+ * purgeUserEventsCallable()
* ImportUserEvents Bulk import of User events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events.
* Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ImportMetadata. Request object method variants only take one parameter, a request object, which must be constructed before the call. importUserEventsAsync(ImportUserEventsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importUserEventsOperationCallable()
+ * importUserEventsCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/stub/CompletionServiceStubSettings.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/stub/CompletionServiceStubSettings.java
index 140b0cd5f0fc..029d4f86f281 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/stub/CompletionServiceStubSettings.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/stub/CompletionServiceStubSettings.java
@@ -115,6 +115,15 @@ public CompletionServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -279,7 +288,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -292,7 +300,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -329,6 +336,15 @@ public Builder applyToAllUnaryMethods(
return completeQuerySettings;
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
@Override
public CompletionServiceStubSettings build() throws IOException {
return new CompletionServiceStubSettings(this);
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/stub/ConversationalSearchServiceStubSettings.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/stub/ConversationalSearchServiceStubSettings.java
index b91dba653180..1effe03eb620 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/stub/ConversationalSearchServiceStubSettings.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/stub/ConversationalSearchServiceStubSettings.java
@@ -231,6 +231,15 @@ public ConversationalSearchServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -435,7 +444,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -448,7 +456,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -541,6 +548,15 @@ public Builder applyToAllUnaryMethods(
return listConversationsSettings;
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
@Override
public ConversationalSearchServiceStubSettings build() throws IOException {
return new ConversationalSearchServiceStubSettings(this);
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/stub/DataStoreServiceStubSettings.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/stub/DataStoreServiceStubSettings.java
index c8d092a0621b..158892a23c72 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/stub/DataStoreServiceStubSettings.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/stub/DataStoreServiceStubSettings.java
@@ -233,6 +233,15 @@ public DataStoreServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -428,7 +437,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -441,7 +449,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -583,6 +590,15 @@ public UnaryCallSettings.Builder CompleteQuery Completes the specified user input with keyword suggestions. Request object method variants only take one parameter, a request object, which must be constructed before the call. completeQuery(CompleteQueryRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. completeQueryCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/ConversationalSearchServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/ConversationalSearchServiceClient.java
index 2bce94ed42ae..a3b9b1f20d06 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/ConversationalSearchServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/ConversationalSearchServiceClient.java
@@ -64,128 +64,129 @@
* calls close().
*
* ConverseConversation Converses a conversation. Request object method variants only take one parameter, a request object, which must be constructed before the call. converseConversation(ConverseConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. converseConversation(ConversationName name, TextInput query)
+ * converseConversation(String name, TextInput query)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. converseConversationCallable()
* CreateConversation Creates a Conversation.
* If the [Conversation][google.cloud.discoveryengine.v1beta.Conversation] to create already exists, an ALREADY_EXISTS error is returned. Request object method variants only take one parameter, a request object, which must be constructed before the call. createConversation(CreateConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createConversation(DataStoreName parent, Conversation conversation)
+ * createConversation(String parent, Conversation conversation)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createConversationCallable()
* DeleteConversation Deletes a Conversation.
* If the [Conversation][google.cloud.discoveryengine.v1beta.Conversation] to delete does not exist, a NOT_FOUND error is returned. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteConversation(DeleteConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteConversation(ConversationName name)
+ * deleteConversation(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteConversationCallable()
* UpdateConversation Updates a Conversation.
* [Conversation][google.cloud.discoveryengine.v1beta.Conversation] action type cannot be changed. If the [Conversation][google.cloud.discoveryengine.v1beta.Conversation] to update does not exist, a NOT_FOUND error is returned. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateConversation(UpdateConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateConversation(Conversation conversation, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateConversationCallable()
* GetConversation Gets a Conversation. Request object method variants only take one parameter, a request object, which must be constructed before the call. getConversation(GetConversationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getConversation(ConversationName name)
+ * getConversation(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getConversationCallable()
* ListConversations Lists all Conversations by their parent [DataStore][google.cloud.discoveryengine.v1beta.DataStore]. Request object method variants only take one parameter, a request object, which must be constructed before the call. listConversations(ListConversationsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listConversations(DataStoreName parent)
+ * listConversations(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listConversationsPagedCallable()
+ * listConversationsCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/DocumentServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/DocumentServiceClient.java
index 94dcfccecd61..7620d95cbc81 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/DocumentServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/DocumentServiceClient.java
@@ -65,135 +65,136 @@
* close().
*
* GetDocument Gets a [Document][google.cloud.discoveryengine.v1beta.Document]. Request object method variants only take one parameter, a request object, which must be constructed before the call. getDocument(GetDocumentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getDocument(DocumentName name)
+ * getDocument(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getDocumentCallable()
* ListDocuments Gets a list of [Document][google.cloud.discoveryengine.v1beta.Document]s. Request object method variants only take one parameter, a request object, which must be constructed before the call. listDocuments(ListDocumentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listDocuments(BranchName parent)
+ * listDocuments(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listDocumentsPagedCallable()
+ * listDocumentsCallable()
* CreateDocument Creates a [Document][google.cloud.discoveryengine.v1beta.Document]. Request object method variants only take one parameter, a request object, which must be constructed before the call. createDocument(CreateDocumentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createDocument(BranchName parent, Document document, String documentId)
+ * createDocument(String parent, Document document, String documentId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createDocumentCallable()
* UpdateDocument Updates a [Document][google.cloud.discoveryengine.v1beta.Document]. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateDocument(UpdateDocumentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateDocumentCallable()
* DeleteDocument Deletes a [Document][google.cloud.discoveryengine.v1beta.Document]. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteDocument(DeleteDocumentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteDocument(DocumentName name)
+ * deleteDocument(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteDocumentCallable()
* ImportDocuments Bulk import of multiple [Document][google.cloud.discoveryengine.v1beta.Document]s. Request processing may be synchronous. Non-existing items will be created.
* Note: It is possible for a subset of the [Document][google.cloud.discoveryengine.v1beta.Document]s to be successfully updated. Request object method variants only take one parameter, a request object, which must be constructed before the call. importDocumentsAsync(ImportDocumentsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importDocumentsOperationCallable()
+ * importDocumentsCallable()
* PurgeDocuments Permanently deletes all selected [Document][google.cloud.discoveryengine.v1beta.Document]s in a branch.
* This process is asynchronous. Depending on the number of [Document][google.cloud.discoveryengine.v1beta.Document]s to be deleted, this operation can take hours to complete. Before the delete operation completes, some [Document][google.cloud.discoveryengine.v1beta.Document]s might still be returned by [DocumentService.GetDocument][google.cloud.discoveryengine.v1beta.DocumentService.GetDocument] or [DocumentService.ListDocuments][google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments].
* To get a list of the [Document][google.cloud.discoveryengine.v1beta.Document]s to be deleted, set [PurgeDocumentsRequest.force][google.cloud.discoveryengine.v1beta.PurgeDocumentsRequest.force] to false. Request object method variants only take one parameter, a request object, which must be constructed before the call. purgeDocumentsAsync(PurgeDocumentsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. purgeDocumentsOperationCallable()
+ * purgeDocumentsCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/RecommendationServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/RecommendationServiceClient.java
index d52bdc2e9fa2..772ffb7f5c1b 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/RecommendationServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/RecommendationServiceClient.java
@@ -62,25 +62,26 @@
* calls close().
*
* Recommend Makes a recommendation, which requires a contextual user event. Request object method variants only take one parameter, a request object, which must be constructed before the call. recommend(RecommendRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. recommendCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/SchemaServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/SchemaServiceClient.java
index 2c418e8b4449..f58b06853cfa 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/SchemaServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/SchemaServiceClient.java
@@ -63,105 +63,106 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* GetSchema Gets a [Schema][google.cloud.discoveryengine.v1beta.Schema]. Request object method variants only take one parameter, a request object, which must be constructed before the call. getSchema(GetSchemaRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getSchema(SchemaName name)
+ * getSchema(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getSchemaCallable()
* ListSchemas Gets a list of [Schema][google.cloud.discoveryengine.v1beta.Schema]s. Request object method variants only take one parameter, a request object, which must be constructed before the call. listSchemas(ListSchemasRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listSchemas(DataStoreName parent)
+ * listSchemas(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listSchemasPagedCallable()
+ * listSchemasCallable()
* CreateSchema Creates a [Schema][google.cloud.discoveryengine.v1beta.Schema]. Request object method variants only take one parameter, a request object, which must be constructed before the call. createSchemaAsync(CreateSchemaRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createSchemaAsync(DataStoreName parent, Schema schema, String schemaId)
+ * createSchemaAsync(String parent, Schema schema, String schemaId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createSchemaOperationCallable()
+ * createSchemaCallable()
* UpdateSchema Updates a [Schema][google.cloud.discoveryengine.v1beta.Schema]. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateSchemaAsync(UpdateSchemaRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateSchemaOperationCallable()
+ * updateSchemaCallable()
* DeleteSchema Deletes a [Schema][google.cloud.discoveryengine.v1beta.Schema]. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteSchemaAsync(DeleteSchemaRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteSchemaAsync(SchemaName name)
+ * deleteSchemaAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteSchemaOperationCallable()
+ * deleteSchemaCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/SearchServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/SearchServiceClient.java
index 8fcdf437a4b4..ddcc316777da 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/SearchServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/SearchServiceClient.java
@@ -87,26 +87,27 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* Search Performs a search. Request object method variants only take one parameter, a request object, which must be constructed before the call. search(SearchRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. searchPagedCallable()
+ * searchCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/UserEventServiceClient.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/UserEventServiceClient.java
index 1d855a55dced..7b334c5ebac8 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/UserEventServiceClient.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/UserEventServiceClient.java
@@ -61,56 +61,57 @@
* close().
*
* WriteUserEvent Writes a single user event. Request object method variants only take one parameter, a request object, which must be constructed before the call. writeUserEvent(WriteUserEventRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. writeUserEventCallable()
* CollectUserEvent Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain.
* This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly. Request object method variants only take one parameter, a request object, which must be constructed before the call. collectUserEvent(CollectUserEventRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. collectUserEventCallable()
* ImportUserEvents Bulk import of User events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events.
* Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ImportMetadata. Request object method variants only take one parameter, a request object, which must be constructed before the call. importUserEventsAsync(ImportUserEventsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importUserEventsOperationCallable()
+ * importUserEventsCallable()
* See the individual methods for example code.
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/stub/CompletionServiceStubSettings.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/stub/CompletionServiceStubSettings.java
index 1925844ca08a..1c6fecb4d5c2 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/stub/CompletionServiceStubSettings.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/stub/CompletionServiceStubSettings.java
@@ -115,6 +115,15 @@ public CompletionServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -279,7 +288,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -292,7 +300,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -329,6 +336,15 @@ public Builder applyToAllUnaryMethods(
return completeQuerySettings;
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
@Override
public CompletionServiceStubSettings build() throws IOException {
return new CompletionServiceStubSettings(this);
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/stub/ConversationalSearchServiceStubSettings.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/stub/ConversationalSearchServiceStubSettings.java
index 8197d34f98d9..a21cec6e698c 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/stub/ConversationalSearchServiceStubSettings.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/stub/ConversationalSearchServiceStubSettings.java
@@ -231,6 +231,15 @@ public ConversationalSearchServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -435,7 +444,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -448,7 +456,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -541,6 +548,15 @@ public Builder applyToAllUnaryMethods(
return listConversationsSettings;
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
@Override
public ConversationalSearchServiceStubSettings build() throws IOException {
return new ConversationalSearchServiceStubSettings(this);
diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/stub/DocumentServiceStubSettings.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/stub/DocumentServiceStubSettings.java
index cbf4ed973836..8f339dd8e609 100644
--- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/stub/DocumentServiceStubSettings.java
+++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/stub/DocumentServiceStubSettings.java
@@ -251,6 +251,15 @@ public DocumentServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -482,7 +491,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -495,7 +503,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -659,6 +666,15 @@ public UnaryCallSettings.Builder ListClusters Lists Clusters in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listClusters(ListClustersRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listClusters(LocationName parent)
+ * listClusters(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listClustersPagedCallable()
+ * listClustersCallable()
* GetCluster Gets details of a single Cluster. Request object method variants only take one parameter, a request object, which must be constructed before the call. getCluster(GetClusterRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getCluster(ClusterName name)
+ * getCluster(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getClusterCallable()
* CreateCluster Creates a new Cluster in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. createClusterAsync(CreateClusterRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createClusterAsync(LocationName parent, Cluster cluster, String clusterId)
+ * createClusterAsync(String parent, Cluster cluster, String clusterId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createClusterOperationCallable()
+ * createClusterCallable()
* UpdateCluster Updates the parameters of a single Cluster. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateClusterAsync(UpdateClusterRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateClusterAsync(Cluster cluster, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateClusterOperationCallable()
+ * updateClusterCallable()
* DeleteCluster Deletes a single Cluster. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteClusterAsync(DeleteClusterRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteClusterAsync(ClusterName name)
+ * deleteClusterAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteClusterOperationCallable()
+ * deleteClusterCallable()
* GenerateAccessToken Generates an access token for a Cluster. Request object method variants only take one parameter, a request object, which must be constructed before the call. generateAccessToken(GenerateAccessTokenRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. generateAccessToken(ClusterName cluster)
+ * generateAccessToken(String cluster)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. generateAccessTokenCallable()
* ListNodePools Lists NodePools in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listNodePools(ListNodePoolsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listNodePools(ClusterName parent)
+ * listNodePools(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listNodePoolsPagedCallable()
+ * listNodePoolsCallable()
* GetNodePool Gets details of a single NodePool. Request object method variants only take one parameter, a request object, which must be constructed before the call. getNodePool(GetNodePoolRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getNodePool(NodePoolName name)
+ * getNodePool(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getNodePoolCallable()
* CreateNodePool Creates a new NodePool in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. createNodePoolAsync(CreateNodePoolRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createNodePoolAsync(ClusterName parent, NodePool nodePool, String nodePoolId)
+ * createNodePoolAsync(String parent, NodePool nodePool, String nodePoolId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createNodePoolOperationCallable()
+ * createNodePoolCallable()
* UpdateNodePool Updates the parameters of a single NodePool. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateNodePoolAsync(UpdateNodePoolRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateNodePoolAsync(NodePool nodePool, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateNodePoolOperationCallable()
+ * updateNodePoolCallable()
* DeleteNodePool Deletes a single NodePool. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteNodePoolAsync(DeleteNodePoolRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteNodePoolAsync(NodePoolName name)
+ * deleteNodePoolAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteNodePoolOperationCallable()
+ * deleteNodePoolCallable()
* ListMachines Lists Machines in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listMachines(ListMachinesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listMachines(LocationName parent)
+ * listMachines(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listMachinesPagedCallable()
+ * listMachinesCallable()
* GetMachine Gets details of a single Machine. Request object method variants only take one parameter, a request object, which must be constructed before the call. getMachine(GetMachineRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getMachine(MachineName name)
+ * getMachine(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getMachineCallable()
* ListVpnConnections Lists VPN connections in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listVpnConnections(ListVpnConnectionsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listVpnConnections(LocationName parent)
+ * listVpnConnections(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listVpnConnectionsPagedCallable()
+ * listVpnConnectionsCallable()
* GetVpnConnection Gets details of a single VPN connection. Request object method variants only take one parameter, a request object, which must be constructed before the call. getVpnConnection(GetVpnConnectionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getVpnConnection(VpnConnectionName name)
+ * getVpnConnection(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getVpnConnectionCallable()
* CreateVpnConnection Creates a new VPN connection in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. createVpnConnectionAsync(CreateVpnConnectionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createVpnConnectionAsync(LocationName parent, VpnConnection vpnConnection, String vpnConnectionId)
+ * createVpnConnectionAsync(String parent, VpnConnection vpnConnection, String vpnConnectionId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createVpnConnectionOperationCallable()
+ * createVpnConnectionCallable()
* DeleteVpnConnection Deletes a single VPN connection. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteVpnConnectionAsync(DeleteVpnConnectionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteVpnConnectionAsync(VpnConnectionName name)
+ * deleteVpnConnectionAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteVpnConnectionOperationCallable()
+ * deleteVpnConnectionCallable()
* See the individual methods for example code.
diff --git a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/EdgeContainerStubSettings.java b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/EdgeContainerStubSettings.java
index eb298b7bd5b9..90e495fcb9a7 100644
--- a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/EdgeContainerStubSettings.java
+++ b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/EdgeContainerStubSettings.java
@@ -551,6 +551,15 @@ public EdgeContainerStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -883,7 +892,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -896,7 +904,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -1361,6 +1368,15 @@ public UnaryCallSettings.Builder InspectContent Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size.
* When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
* For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images and https://cloud.google.com/dlp/docs/inspecting-text, Request object method variants only take one parameter, a request object, which must be constructed before the call. inspectContent(InspectContentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. inspectContentCallable()
* RedactImage Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to learn more.
* When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. Request object method variants only take one parameter, a request object, which must be constructed before the call. redactImage(RedactImageRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. redactImageCallable()
* DeidentifyContent De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to learn more.
* When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. Request object method variants only take one parameter, a request object, which must be constructed before the call. deidentifyContent(DeidentifyContentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deidentifyContentCallable()
* ReidentifyContent Re-identifies content that has been de-identified. See https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. reidentifyContent(ReidentifyContentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. reidentifyContentCallable()
* ListInfoTypes Returns a list of the sensitive information types that DLP API supports. See https://cloud.google.com/dlp/docs/infotypes-reference to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. listInfoTypes(ListInfoTypesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listInfoTypes(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listInfoTypesCallable()
* CreateInspectTemplate Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. createInspectTemplate(CreateInspectTemplateRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createInspectTemplate(LocationName parent, InspectTemplate inspectTemplate)
+ * createInspectTemplate(OrganizationLocationName parent, InspectTemplate inspectTemplate)
+ * createInspectTemplate(OrganizationName parent, InspectTemplate inspectTemplate)
+ * createInspectTemplate(ProjectName parent, InspectTemplate inspectTemplate)
+ * createInspectTemplate(String parent, InspectTemplate inspectTemplate)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createInspectTemplateCallable()
* UpdateInspectTemplate Updates the InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateInspectTemplate(UpdateInspectTemplateRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateInspectTemplate(InspectTemplateName name, InspectTemplate inspectTemplate, FieldMask updateMask)
+ * updateInspectTemplate(String name, InspectTemplate inspectTemplate, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateInspectTemplateCallable()
* GetInspectTemplate Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. getInspectTemplate(GetInspectTemplateRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getInspectTemplate(InspectTemplateName name)
+ * getInspectTemplate(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getInspectTemplateCallable()
* ListInspectTemplates Lists InspectTemplates. See https://cloud.google.com/dlp/docs/creating-templates to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. listInspectTemplates(ListInspectTemplatesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listInspectTemplates(LocationName parent)
+ * listInspectTemplates(OrganizationLocationName parent)
+ * listInspectTemplates(OrganizationName parent)
+ * listInspectTemplates(ProjectName parent)
+ * listInspectTemplates(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listInspectTemplatesPagedCallable()
+ * listInspectTemplatesCallable()
* DeleteInspectTemplate Deletes an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteInspectTemplate(DeleteInspectTemplateRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteInspectTemplate(InspectTemplateName name)
+ * deleteInspectTemplate(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteInspectTemplateCallable()
* CreateDeidentifyTemplate Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. createDeidentifyTemplate(CreateDeidentifyTemplateRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createDeidentifyTemplate(LocationName parent, DeidentifyTemplate deidentifyTemplate)
+ * createDeidentifyTemplate(OrganizationLocationName parent, DeidentifyTemplate deidentifyTemplate)
+ * createDeidentifyTemplate(OrganizationName parent, DeidentifyTemplate deidentifyTemplate)
+ * createDeidentifyTemplate(ProjectName parent, DeidentifyTemplate deidentifyTemplate)
+ * createDeidentifyTemplate(String parent, DeidentifyTemplate deidentifyTemplate)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createDeidentifyTemplateCallable()
* UpdateDeidentifyTemplate Updates the DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateDeidentifyTemplate(UpdateDeidentifyTemplateRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateDeidentifyTemplate(DeidentifyTemplateName name, DeidentifyTemplate deidentifyTemplate, FieldMask updateMask)
+ * updateDeidentifyTemplate(String name, DeidentifyTemplate deidentifyTemplate, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateDeidentifyTemplateCallable()
* GetDeidentifyTemplate Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. getDeidentifyTemplate(GetDeidentifyTemplateRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getDeidentifyTemplate(DeidentifyTemplateName name)
+ * getDeidentifyTemplate(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getDeidentifyTemplateCallable()
* ListDeidentifyTemplates Lists DeidentifyTemplates. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. listDeidentifyTemplates(ListDeidentifyTemplatesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listDeidentifyTemplates(LocationName parent)
+ * listDeidentifyTemplates(OrganizationLocationName parent)
+ * listDeidentifyTemplates(OrganizationName parent)
+ * listDeidentifyTemplates(ProjectName parent)
+ * listDeidentifyTemplates(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listDeidentifyTemplatesPagedCallable()
+ * listDeidentifyTemplatesCallable()
* DeleteDeidentifyTemplate Deletes a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteDeidentifyTemplate(DeidentifyTemplateName name)
+ * deleteDeidentifyTemplate(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteDeidentifyTemplateCallable()
* CreateJobTrigger Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. createJobTrigger(CreateJobTriggerRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createJobTrigger(LocationName parent, JobTrigger jobTrigger)
+ * createJobTrigger(ProjectName parent, JobTrigger jobTrigger)
+ * createJobTrigger(String parent, JobTrigger jobTrigger)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createJobTriggerCallable()
* UpdateJobTrigger Updates a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateJobTrigger(UpdateJobTriggerRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateJobTrigger(JobTriggerName name, JobTrigger jobTrigger, FieldMask updateMask)
+ * updateJobTrigger(String name, JobTrigger jobTrigger, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateJobTriggerCallable()
* HybridInspectJobTrigger Inspect hybrid content and store findings to a trigger. The inspection will be processed asynchronously. To review the findings monitor the jobs within the trigger. Request object method variants only take one parameter, a request object, which must be constructed before the call. hybridInspectJobTrigger(HybridInspectJobTriggerRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. hybridInspectJobTrigger(JobTriggerName name)
+ * hybridInspectJobTrigger(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. hybridInspectJobTriggerCallable()
* GetJobTrigger Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. getJobTrigger(GetJobTriggerRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getJobTrigger(JobTriggerName name)
+ * getJobTrigger(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getJobTriggerCallable()
* ListJobTriggers Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. listJobTriggers(ListJobTriggersRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listJobTriggers(LocationName parent)
+ * listJobTriggers(ProjectName parent)
+ * listJobTriggers(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listJobTriggersPagedCallable()
+ * listJobTriggersCallable()
* DeleteJobTrigger Deletes a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteJobTrigger(DeleteJobTriggerRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteJobTrigger(JobTriggerName name)
+ * deleteJobTrigger(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteJobTriggerCallable()
* ActivateJobTrigger Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur. Request object method variants only take one parameter, a request object, which must be constructed before the call. activateJobTrigger(ActivateJobTriggerRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. activateJobTriggerCallable()
* CreateDiscoveryConfig Creates a config for discovery to scan and profile storage. Request object method variants only take one parameter, a request object, which must be constructed before the call. createDiscoveryConfig(CreateDiscoveryConfigRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createDiscoveryConfig(LocationName parent, DiscoveryConfig discoveryConfig)
+ * createDiscoveryConfig(String parent, DiscoveryConfig discoveryConfig)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createDiscoveryConfigCallable()
* UpdateDiscoveryConfig Updates a discovery configuration. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateDiscoveryConfig(UpdateDiscoveryConfigRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateDiscoveryConfig(DiscoveryConfigName name, DiscoveryConfig discoveryConfig, FieldMask updateMask)
+ * updateDiscoveryConfig(String name, DiscoveryConfig discoveryConfig, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateDiscoveryConfigCallable()
* GetDiscoveryConfig Gets a discovery configuration. Request object method variants only take one parameter, a request object, which must be constructed before the call. getDiscoveryConfig(GetDiscoveryConfigRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getDiscoveryConfig(DiscoveryConfigName name)
+ * getDiscoveryConfig(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getDiscoveryConfigCallable()
* ListDiscoveryConfigs Lists discovery configurations. Request object method variants only take one parameter, a request object, which must be constructed before the call. listDiscoveryConfigs(ListDiscoveryConfigsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listDiscoveryConfigs(LocationName parent)
+ * listDiscoveryConfigs(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listDiscoveryConfigsPagedCallable()
+ * listDiscoveryConfigsCallable()
* DeleteDiscoveryConfig Deletes a discovery configuration. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteDiscoveryConfig(DeleteDiscoveryConfigRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteDiscoveryConfig(DiscoveryConfigName name)
+ * deleteDiscoveryConfig(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteDiscoveryConfigCallable()
* CreateDlpJob Creates a new job to inspect storage or calculate risk metrics. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
* When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. Request object method variants only take one parameter, a request object, which must be constructed before the call. createDlpJob(CreateDlpJobRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createDlpJob(LocationName parent, InspectJobConfig inspectJob)
+ * createDlpJob(LocationName parent, RiskAnalysisJobConfig riskJob)
+ * createDlpJob(ProjectName parent, InspectJobConfig inspectJob)
+ * createDlpJob(ProjectName parent, RiskAnalysisJobConfig riskJob)
+ * createDlpJob(String parent, InspectJobConfig inspectJob)
+ * createDlpJob(String parent, RiskAnalysisJobConfig riskJob)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createDlpJobCallable()
* ListDlpJobs Lists DlpJobs that match the specified filter in the request. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. listDlpJobs(ListDlpJobsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listDlpJobs(LocationName parent)
+ * listDlpJobs(ProjectName parent)
+ * listDlpJobs(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listDlpJobsPagedCallable()
+ * listDlpJobsCallable()
* GetDlpJob Gets the latest state of a long-running DlpJob. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. getDlpJob(GetDlpJobRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getDlpJob(DlpJobName name)
+ * getDlpJob(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getDlpJobCallable()
* DeleteDlpJob Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be canceled if possible. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteDlpJob(DeleteDlpJobRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteDlpJob(DlpJobName name)
+ * deleteDlpJob(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteDlpJobCallable()
* CancelDlpJob Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. cancelDlpJob(CancelDlpJobRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. cancelDlpJobCallable()
* CreateStoredInfoType Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. createStoredInfoType(CreateStoredInfoTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createStoredInfoType(LocationName parent, StoredInfoTypeConfig config)
+ * createStoredInfoType(OrganizationLocationName parent, StoredInfoTypeConfig config)
+ * createStoredInfoType(OrganizationName parent, StoredInfoTypeConfig config)
+ * createStoredInfoType(ProjectName parent, StoredInfoTypeConfig config)
+ * createStoredInfoType(String parent, StoredInfoTypeConfig config)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createStoredInfoTypeCallable()
* UpdateStoredInfoType Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateStoredInfoType(UpdateStoredInfoTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateStoredInfoType(StoredInfoTypeName name, StoredInfoTypeConfig config, FieldMask updateMask)
+ * updateStoredInfoType(String name, StoredInfoTypeConfig config, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateStoredInfoTypeCallable()
* GetStoredInfoType Gets a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. getStoredInfoType(GetStoredInfoTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getStoredInfoType(StoredInfoTypeName name)
+ * getStoredInfoType(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getStoredInfoTypeCallable()
* ListStoredInfoTypes Lists stored infoTypes. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. listStoredInfoTypes(ListStoredInfoTypesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listStoredInfoTypes(LocationName parent)
+ * listStoredInfoTypes(OrganizationLocationName parent)
+ * listStoredInfoTypes(OrganizationName parent)
+ * listStoredInfoTypes(ProjectName parent)
+ * listStoredInfoTypes(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listStoredInfoTypesPagedCallable()
+ * listStoredInfoTypesCallable()
* DeleteStoredInfoType Deletes a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteStoredInfoType(DeleteStoredInfoTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteStoredInfoType(StoredInfoTypeName name)
+ * deleteStoredInfoType(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteStoredInfoTypeCallable()
* HybridInspectDlpJob Inspect hybrid content and store findings to a job. To review the findings, inspect the job. Inspection will occur asynchronously. Request object method variants only take one parameter, a request object, which must be constructed before the call. hybridInspectDlpJob(HybridInspectDlpJobRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. hybridInspectDlpJob(DlpJobName name)
+ * hybridInspectDlpJob(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. hybridInspectDlpJobCallable()
* FinishDlpJob Finish a running hybrid DlpJob. Triggers the finalization steps and running of any enabled actions that have not yet run. Request object method variants only take one parameter, a request object, which must be constructed before the call. finishDlpJob(FinishDlpJobRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. finishDlpJobCallable()
* See the individual methods for example code.
diff --git a/java-dlp/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java b/java-dlp/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java
index 952bcaac18aa..15748570893d 100644
--- a/java-dlp/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java
+++ b/java-dlp/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java
@@ -851,6 +851,15 @@ public DlpServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -1307,7 +1316,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -1320,7 +1328,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -1782,6 +1789,15 @@ public UnaryCallSettings.Builder ListMigrationJobs Lists migration jobs in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listMigrationJobs(ListMigrationJobsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listMigrationJobs(LocationName parent)
+ * listMigrationJobs(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listMigrationJobsPagedCallable()
+ * listMigrationJobsCallable()
* GetMigrationJob Gets details of a single migration job. Request object method variants only take one parameter, a request object, which must be constructed before the call. getMigrationJob(GetMigrationJobRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getMigrationJob(MigrationJobName name)
+ * getMigrationJob(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getMigrationJobCallable()
* CreateMigrationJob Creates a new migration job in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. createMigrationJobAsync(CreateMigrationJobRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createMigrationJobAsync(LocationName parent, MigrationJob migrationJob, String migrationJobId)
+ * createMigrationJobAsync(String parent, MigrationJob migrationJob, String migrationJobId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createMigrationJobOperationCallable()
+ * createMigrationJobCallable()
* UpdateMigrationJob Updates the parameters of a single migration job. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateMigrationJobAsync(UpdateMigrationJobRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateMigrationJobAsync(MigrationJob migrationJob, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateMigrationJobOperationCallable()
+ * updateMigrationJobCallable()
* DeleteMigrationJob Deletes a single migration job. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteMigrationJobAsync(DeleteMigrationJobRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteMigrationJobAsync(MigrationJobName name)
+ * deleteMigrationJobAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteMigrationJobOperationCallable()
+ * deleteMigrationJobCallable()
* StartMigrationJob Start an already created migration job. Request object method variants only take one parameter, a request object, which must be constructed before the call. startMigrationJobAsync(StartMigrationJobRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. startMigrationJobOperationCallable()
+ * startMigrationJobCallable()
* StopMigrationJob Stops a running migration job. Request object method variants only take one parameter, a request object, which must be constructed before the call. stopMigrationJobAsync(StopMigrationJobRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. stopMigrationJobOperationCallable()
+ * stopMigrationJobCallable()
* ResumeMigrationJob Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase). Request object method variants only take one parameter, a request object, which must be constructed before the call. resumeMigrationJobAsync(ResumeMigrationJobRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. resumeMigrationJobOperationCallable()
+ * resumeMigrationJobCallable()
* PromoteMigrationJob Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database. Request object method variants only take one parameter, a request object, which must be constructed before the call. promoteMigrationJobAsync(PromoteMigrationJobRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. promoteMigrationJobOperationCallable()
+ * promoteMigrationJobCallable()
* VerifyMigrationJob Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met. Request object method variants only take one parameter, a request object, which must be constructed before the call. verifyMigrationJobAsync(VerifyMigrationJobRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. verifyMigrationJobOperationCallable()
+ * verifyMigrationJobCallable()
* RestartMigrationJob Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch. Request object method variants only take one parameter, a request object, which must be constructed before the call. restartMigrationJobAsync(RestartMigrationJobRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. restartMigrationJobOperationCallable()
+ * restartMigrationJobCallable()
* GenerateSshScript Generate a SSH configuration script to configure the reverse SSH connectivity. Request object method variants only take one parameter, a request object, which must be constructed before the call. generateSshScript(GenerateSshScriptRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. generateSshScriptCallable()
* GenerateTcpProxyScript Generate a TCP Proxy configuration script to configure a cloud-hosted VM running a TCP Proxy. Request object method variants only take one parameter, a request object, which must be constructed before the call. generateTcpProxyScript(GenerateTcpProxyScriptRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. generateTcpProxyScriptCallable()
* ListConnectionProfiles Retrieves a list of all connection profiles in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listConnectionProfiles(ListConnectionProfilesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listConnectionProfiles(LocationName parent)
+ * listConnectionProfiles(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listConnectionProfilesPagedCallable()
+ * listConnectionProfilesCallable()
* GetConnectionProfile Gets details of a single connection profile. Request object method variants only take one parameter, a request object, which must be constructed before the call. getConnectionProfile(GetConnectionProfileRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getConnectionProfile(ConnectionProfileName name)
+ * getConnectionProfile(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getConnectionProfileCallable()
* CreateConnectionProfile Creates a new connection profile in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. createConnectionProfileAsync(CreateConnectionProfileRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createConnectionProfileAsync(LocationName parent, ConnectionProfile connectionProfile, String connectionProfileId)
+ * createConnectionProfileAsync(String parent, ConnectionProfile connectionProfile, String connectionProfileId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createConnectionProfileOperationCallable()
+ * createConnectionProfileCallable()
* UpdateConnectionProfile Update the configuration of a single connection profile. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateConnectionProfileAsync(UpdateConnectionProfileRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateConnectionProfileAsync(ConnectionProfile connectionProfile, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateConnectionProfileOperationCallable()
+ * updateConnectionProfileCallable()
* DeleteConnectionProfile Deletes a single Database Migration Service connection profile. A connection profile can only be deleted if it is not in use by any active migration jobs. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteConnectionProfileAsync(DeleteConnectionProfileRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteConnectionProfileAsync(ConnectionProfileName name)
+ * deleteConnectionProfileAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteConnectionProfileOperationCallable()
+ * deleteConnectionProfileCallable()
* CreatePrivateConnection Creates a new private connection in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. createPrivateConnectionAsync(CreatePrivateConnectionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createPrivateConnectionAsync(LocationName parent, PrivateConnection privateConnection, String privateConnectionId)
+ * createPrivateConnectionAsync(String parent, PrivateConnection privateConnection, String privateConnectionId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createPrivateConnectionOperationCallable()
+ * createPrivateConnectionCallable()
* GetPrivateConnection Gets details of a single private connection. Request object method variants only take one parameter, a request object, which must be constructed before the call. getPrivateConnection(GetPrivateConnectionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getPrivateConnection(PrivateConnectionName name)
+ * getPrivateConnection(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getPrivateConnectionCallable()
* ListPrivateConnections Retrieves a list of private connections in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listPrivateConnections(ListPrivateConnectionsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listPrivateConnections(LocationName parent)
+ * listPrivateConnections(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listPrivateConnectionsPagedCallable()
+ * listPrivateConnectionsCallable()
* DeletePrivateConnection Deletes a single Database Migration Service private connection. Request object method variants only take one parameter, a request object, which must be constructed before the call. deletePrivateConnectionAsync(DeletePrivateConnectionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deletePrivateConnectionAsync(PrivateConnectionName name)
+ * deletePrivateConnectionAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deletePrivateConnectionOperationCallable()
+ * deletePrivateConnectionCallable()
* GetConversionWorkspace Gets details of a single conversion workspace. Request object method variants only take one parameter, a request object, which must be constructed before the call. getConversionWorkspace(GetConversionWorkspaceRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getConversionWorkspace(ConversionWorkspaceName name)
+ * getConversionWorkspace(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getConversionWorkspaceCallable()
* ListConversionWorkspaces Lists conversion workspaces in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listConversionWorkspaces(ListConversionWorkspacesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listConversionWorkspaces(LocationName parent)
+ * listConversionWorkspaces(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listConversionWorkspacesPagedCallable()
+ * listConversionWorkspacesCallable()
* CreateConversionWorkspace Creates a new conversion workspace in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. createConversionWorkspaceAsync(CreateConversionWorkspaceRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createConversionWorkspaceAsync(LocationName parent, ConversionWorkspace conversionWorkspace, String conversionWorkspaceId)
+ * createConversionWorkspaceAsync(String parent, ConversionWorkspace conversionWorkspace, String conversionWorkspaceId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createConversionWorkspaceOperationCallable()
+ * createConversionWorkspaceCallable()
* UpdateConversionWorkspace Updates the parameters of a single conversion workspace. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateConversionWorkspaceAsync(UpdateConversionWorkspaceRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateConversionWorkspaceAsync(ConversionWorkspace conversionWorkspace, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateConversionWorkspaceOperationCallable()
+ * updateConversionWorkspaceCallable()
* DeleteConversionWorkspace Deletes a single conversion workspace. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteConversionWorkspaceAsync(DeleteConversionWorkspaceRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteConversionWorkspaceAsync(ConversionWorkspaceName name)
+ * deleteConversionWorkspaceAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteConversionWorkspaceOperationCallable()
+ * deleteConversionWorkspaceCallable()
* CreateMappingRule Creates a new mapping rule for a given conversion workspace. Request object method variants only take one parameter, a request object, which must be constructed before the call. createMappingRule(CreateMappingRuleRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createMappingRule(ConversionWorkspaceName parent, MappingRule mappingRule, String mappingRuleId)
+ * createMappingRule(String parent, MappingRule mappingRule, String mappingRuleId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createMappingRuleCallable()
* DeleteMappingRule Deletes a single mapping rule. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteMappingRule(DeleteMappingRuleRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteMappingRule(ConversionWorkspaceName name)
+ * deleteMappingRule(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteMappingRuleCallable()
* ListMappingRules Lists the mapping rules for a specific conversion workspace. Request object method variants only take one parameter, a request object, which must be constructed before the call. listMappingRules(ListMappingRulesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listMappingRules(ConversionWorkspaceName parent)
+ * listMappingRules(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listMappingRulesPagedCallable()
+ * listMappingRulesCallable()
* GetMappingRule Gets the details of a mapping rule. Request object method variants only take one parameter, a request object, which must be constructed before the call. getMappingRule(GetMappingRuleRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getMappingRule(MappingRuleName name)
+ * getMappingRule(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getMappingRuleCallable()
* SeedConversionWorkspace Imports a snapshot of the source database into the conversion workspace. Request object method variants only take one parameter, a request object, which must be constructed before the call. seedConversionWorkspaceAsync(SeedConversionWorkspaceRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. seedConversionWorkspaceOperationCallable()
+ * seedConversionWorkspaceCallable()
* ImportMappingRules Imports the mapping rules for a given conversion workspace. Supports various formats of external rules files. Request object method variants only take one parameter, a request object, which must be constructed before the call. importMappingRulesAsync(ImportMappingRulesRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importMappingRulesOperationCallable()
+ * importMappingRulesCallable()
* ConvertConversionWorkspace Creates a draft tree schema for the destination database. Request object method variants only take one parameter, a request object, which must be constructed before the call. convertConversionWorkspaceAsync(ConvertConversionWorkspaceRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. convertConversionWorkspaceOperationCallable()
+ * convertConversionWorkspaceCallable()
* CommitConversionWorkspace Marks all the data in the conversion workspace as committed. Request object method variants only take one parameter, a request object, which must be constructed before the call. commitConversionWorkspaceAsync(CommitConversionWorkspaceRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. commitConversionWorkspaceOperationCallable()
+ * commitConversionWorkspaceCallable()
* RollbackConversionWorkspace Rolls back a conversion workspace to the last committed snapshot. Request object method variants only take one parameter, a request object, which must be constructed before the call. rollbackConversionWorkspaceAsync(RollbackConversionWorkspaceRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. rollbackConversionWorkspaceOperationCallable()
+ * rollbackConversionWorkspaceCallable()
* ApplyConversionWorkspace Applies draft tree onto a specific destination database. Request object method variants only take one parameter, a request object, which must be constructed before the call. applyConversionWorkspaceAsync(ApplyConversionWorkspaceRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. applyConversionWorkspaceOperationCallable()
+ * applyConversionWorkspaceCallable()
* DescribeDatabaseEntities Describes the database entities tree for a specific conversion workspace and a specific tree type.
* Database entities are not resources like conversion workspaces or mapping rules, and they can't be created, updated or deleted. Instead, they are simple data objects describing the structure of the client database. Request object method variants only take one parameter, a request object, which must be constructed before the call. describeDatabaseEntities(DescribeDatabaseEntitiesRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. describeDatabaseEntitiesPagedCallable()
+ * describeDatabaseEntitiesCallable()
* SearchBackgroundJobs Searches/lists the background jobs for a specific conversion workspace.
* The background jobs are not resources like conversion workspaces or mapping rules, and they can't be created, updated or deleted. Instead, they are a way to expose the data plane jobs log. Request object method variants only take one parameter, a request object, which must be constructed before the call. searchBackgroundJobs(SearchBackgroundJobsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. searchBackgroundJobsCallable()
* DescribeConversionWorkspaceRevisions Retrieves a list of committed revisions of a specific conversion workspace. Request object method variants only take one parameter, a request object, which must be constructed before the call. describeConversionWorkspaceRevisions(DescribeConversionWorkspaceRevisionsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. describeConversionWorkspaceRevisionsCallable()
* FetchStaticIps Fetches a set of static IP addresses that need to be allowlisted by the customer when using the static-IP connectivity method. Request object method variants only take one parameter, a request object, which must be constructed before the call. fetchStaticIps(FetchStaticIpsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. fetchStaticIps(LocationName name)
+ * fetchStaticIps(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. fetchStaticIpsPagedCallable()
+ * fetchStaticIpsCallable()
* See the individual methods for example code.
diff --git a/java-dms/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/stub/DataMigrationServiceStubSettings.java b/java-dms/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/stub/DataMigrationServiceStubSettings.java
index 74264dd126b9..b836249592aa 100644
--- a/java-dms/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/stub/DataMigrationServiceStubSettings.java
+++ b/java-dms/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/stub/DataMigrationServiceStubSettings.java
@@ -1173,6 +1173,15 @@ public DataMigrationServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -1812,7 +1821,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -3061,6 +3069,15 @@ public UnaryCallSettings.Builder ProcessDocument Processes a single document. Request object method variants only take one parameter, a request object, which must be constructed before the call. processDocument(ProcessRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. processDocument(ResourceName name)
+ * processDocument(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. processDocumentCallable()
* BatchProcessDocuments LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format. Request object method variants only take one parameter, a request object, which must be constructed before the call. batchProcessDocumentsAsync(BatchProcessRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. batchProcessDocumentsAsync(ResourceName name)
+ * batchProcessDocumentsAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchProcessDocumentsOperationCallable()
+ * batchProcessDocumentsCallable()
* FetchProcessorTypes Fetches processor types. Note that we don't use [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes] here, because it isn't paginated. Request object method variants only take one parameter, a request object, which must be constructed before the call. fetchProcessorTypes(FetchProcessorTypesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. fetchProcessorTypes(LocationName parent)
+ * fetchProcessorTypes(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. fetchProcessorTypesCallable()
* ListProcessorTypes Lists the processor types that exist. Request object method variants only take one parameter, a request object, which must be constructed before the call. listProcessorTypes(ListProcessorTypesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listProcessorTypes(LocationName parent)
+ * listProcessorTypes(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listProcessorTypesPagedCallable()
+ * listProcessorTypesCallable()
* GetProcessorType Gets a processor type detail. Request object method variants only take one parameter, a request object, which must be constructed before the call. getProcessorType(GetProcessorTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getProcessorType(ProcessorTypeName name)
+ * getProcessorType(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getProcessorTypeCallable()
* ListProcessors Lists all processors which belong to this project. Request object method variants only take one parameter, a request object, which must be constructed before the call. listProcessors(ListProcessorsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listProcessors(LocationName parent)
+ * listProcessors(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listProcessorsPagedCallable()
+ * listProcessorsCallable()
* GetProcessor Gets a processor detail. Request object method variants only take one parameter, a request object, which must be constructed before the call. getProcessor(GetProcessorRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getProcessor(ProcessorName name)
+ * getProcessor(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getProcessorCallable()
* TrainProcessorVersion Trains a new processor version. Operation metadata is returned as [TrainProcessorVersionMetadata][google.cloud.documentai.v1.TrainProcessorVersionMetadata]. Request object method variants only take one parameter, a request object, which must be constructed before the call. trainProcessorVersionAsync(TrainProcessorVersionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. trainProcessorVersionAsync(ProcessorName parent, ProcessorVersion processorVersion)
+ * trainProcessorVersionAsync(String parent, ProcessorVersion processorVersion)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. trainProcessorVersionOperationCallable()
+ * trainProcessorVersionCallable()
* GetProcessorVersion Gets a processor version detail. Request object method variants only take one parameter, a request object, which must be constructed before the call. getProcessorVersion(GetProcessorVersionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getProcessorVersion(ProcessorVersionName name)
+ * getProcessorVersion(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getProcessorVersionCallable()
* ListProcessorVersions Lists all versions of a processor. Request object method variants only take one parameter, a request object, which must be constructed before the call. listProcessorVersions(ListProcessorVersionsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listProcessorVersions(ProcessorName parent)
+ * listProcessorVersions(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listProcessorVersionsPagedCallable()
+ * listProcessorVersionsCallable()
* DeleteProcessorVersion Deletes the processor version, all artifacts under the processor version will be deleted. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteProcessorVersionAsync(DeleteProcessorVersionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteProcessorVersionAsync(ProcessorVersionName name)
+ * deleteProcessorVersionAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteProcessorVersionOperationCallable()
+ * deleteProcessorVersionCallable()
* DeployProcessorVersion Deploys the processor version. Request object method variants only take one parameter, a request object, which must be constructed before the call. deployProcessorVersionAsync(DeployProcessorVersionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deployProcessorVersionAsync(ProcessorVersionName name)
+ * deployProcessorVersionAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deployProcessorVersionOperationCallable()
+ * deployProcessorVersionCallable()
* UndeployProcessorVersion Undeploys the processor version. Request object method variants only take one parameter, a request object, which must be constructed before the call. undeployProcessorVersionAsync(UndeployProcessorVersionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. undeployProcessorVersionAsync(ProcessorVersionName name)
+ * undeployProcessorVersionAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. undeployProcessorVersionOperationCallable()
+ * undeployProcessorVersionCallable()
* CreateProcessor Creates a processor from the [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The processor will be at `ENABLED` state by default after its creation. Request object method variants only take one parameter, a request object, which must be constructed before the call. createProcessor(CreateProcessorRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createProcessor(LocationName parent, Processor processor)
+ * createProcessor(String parent, Processor processor)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createProcessorCallable()
* DeleteProcessor Deletes the processor, unloads all deployed model artifacts if it was enabled and then deletes all artifacts associated with this processor. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteProcessorAsync(DeleteProcessorRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteProcessorAsync(ProcessorName name)
+ * deleteProcessorAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteProcessorOperationCallable()
+ * deleteProcessorCallable()
* EnableProcessor Enables a processor Request object method variants only take one parameter, a request object, which must be constructed before the call. enableProcessorAsync(EnableProcessorRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. enableProcessorOperationCallable()
+ * enableProcessorCallable()
* DisableProcessor Disables a processor Request object method variants only take one parameter, a request object, which must be constructed before the call. disableProcessorAsync(DisableProcessorRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. disableProcessorOperationCallable()
+ * disableProcessorCallable()
* SetDefaultProcessorVersion Set the default (active) version of a [Processor][google.cloud.documentai.v1.Processor] that will be used in [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] and [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]. Request object method variants only take one parameter, a request object, which must be constructed before the call. setDefaultProcessorVersionAsync(SetDefaultProcessorVersionRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. setDefaultProcessorVersionOperationCallable()
+ * setDefaultProcessorVersionCallable()
* ReviewDocument Send a document for Human Review. The input document should be processed by the specified processor. Request object method variants only take one parameter, a request object, which must be constructed before the call. reviewDocumentAsync(ReviewDocumentRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. reviewDocumentAsync(HumanReviewConfigName humanReviewConfig)
+ * reviewDocumentAsync(String humanReviewConfig)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. reviewDocumentOperationCallable()
+ * reviewDocumentCallable()
* EvaluateProcessorVersion Evaluates a ProcessorVersion against annotated documents, producing an Evaluation. Request object method variants only take one parameter, a request object, which must be constructed before the call. evaluateProcessorVersionAsync(EvaluateProcessorVersionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. evaluateProcessorVersionAsync(ProcessorVersionName processorVersion)
+ * evaluateProcessorVersionAsync(String processorVersion)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. evaluateProcessorVersionOperationCallable()
+ * evaluateProcessorVersionCallable()
* GetEvaluation Retrieves a specific evaluation. Request object method variants only take one parameter, a request object, which must be constructed before the call. getEvaluation(GetEvaluationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getEvaluation(EvaluationName name)
+ * getEvaluation(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getEvaluationCallable()
* ListEvaluations Retrieves a set of evaluations for a given processor version. Request object method variants only take one parameter, a request object, which must be constructed before the call. listEvaluations(ListEvaluationsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listEvaluations(ProcessorVersionName parent)
+ * listEvaluations(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listEvaluationsPagedCallable()
+ * listEvaluationsCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java
index 33623044c5c8..c5a7987844c1 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java
@@ -778,6 +778,15 @@ public DocumentProcessorServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -1223,7 +1232,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -1236,7 +1244,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -1910,6 +1917,15 @@ public UnaryCallSettings.Builder BatchProcessDocuments LRO endpoint to batch process many documents. Request object method variants only take one parameter, a request object, which must be constructed before the call. batchProcessDocumentsAsync(List<ProcessDocumentRequest> requests)
+ * batchProcessDocumentsAsync(BatchProcessDocumentsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchProcessDocumentsOperationCallable()
+ * batchProcessDocumentsCallable()
* See the individual methods for example code.
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/stub/DocumentUnderstandingServiceStubSettings.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/stub/DocumentUnderstandingServiceStubSettings.java
index ad701a69c35e..ba2c3bc6254b 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/stub/DocumentUnderstandingServiceStubSettings.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/stub/DocumentUnderstandingServiceStubSettings.java
@@ -124,6 +124,15 @@ public DocumentUnderstandingServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -274,7 +283,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -345,6 +353,15 @@ public Builder applyToAllUnaryMethods(
return batchProcessDocumentsOperationSettings;
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
@Override
public DocumentUnderstandingServiceStubSettings build() throws IOException {
return new DocumentUnderstandingServiceStubSettings(this);
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/DocumentUnderstandingServiceClient.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/DocumentUnderstandingServiceClient.java
index 384c31577c04..f97c25989cd6 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/DocumentUnderstandingServiceClient.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/DocumentUnderstandingServiceClient.java
@@ -79,70 +79,71 @@
* calls close().
*
* BatchProcessDocuments LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format. Request object method variants only take one parameter, a request object, which must be constructed before the call. batchProcessDocumentsAsync(List<ProcessDocumentRequest> requests)
+ * batchProcessDocumentsAsync(BatchProcessDocumentsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchProcessDocumentsOperationCallable()
+ * batchProcessDocumentsCallable()
* ProcessDocument Processes a single document. Request object method variants only take one parameter, a request object, which must be constructed before the call. processDocument(ProcessDocumentRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. processDocumentCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/stub/DocumentUnderstandingServiceStubSettings.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/stub/DocumentUnderstandingServiceStubSettings.java
index 310471d8c7af..48bdf3c3a291 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/stub/DocumentUnderstandingServiceStubSettings.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/stub/DocumentUnderstandingServiceStubSettings.java
@@ -213,6 +213,15 @@ public DocumentUnderstandingServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -389,7 +398,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -492,6 +500,15 @@ public UnaryCallSettings.Builder ProcessDocument Processes a single document. Request object method variants only take one parameter, a request object, which must be constructed before the call. processDocument(ProcessRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. processDocument(ResourceName name)
+ * processDocument(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. processDocumentCallable()
* BatchProcessDocuments LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format. Request object method variants only take one parameter, a request object, which must be constructed before the call. batchProcessDocumentsAsync(BatchProcessRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. batchProcessDocumentsAsync(ResourceName name)
+ * batchProcessDocumentsAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchProcessDocumentsOperationCallable()
+ * batchProcessDocumentsCallable()
* FetchProcessorTypes Fetches processor types. Note that we don't use [ListProcessorTypes][google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessorTypes] here, because it isn't paginated. Request object method variants only take one parameter, a request object, which must be constructed before the call. fetchProcessorTypes(FetchProcessorTypesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. fetchProcessorTypes(LocationName parent)
+ * fetchProcessorTypes(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. fetchProcessorTypesCallable()
* ListProcessorTypes Lists the processor types that exist. Request object method variants only take one parameter, a request object, which must be constructed before the call. listProcessorTypes(ListProcessorTypesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listProcessorTypes(LocationName parent)
+ * listProcessorTypes(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listProcessorTypesPagedCallable()
+ * listProcessorTypesCallable()
* GetProcessorType Gets a processor type detail. Request object method variants only take one parameter, a request object, which must be constructed before the call. getProcessorType(GetProcessorTypeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getProcessorType(ProcessorTypeName name)
+ * getProcessorType(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getProcessorTypeCallable()
* ListProcessors Lists all processors which belong to this project. Request object method variants only take one parameter, a request object, which must be constructed before the call. listProcessors(ListProcessorsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listProcessors(LocationName parent)
+ * listProcessors(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listProcessorsPagedCallable()
+ * listProcessorsCallable()
* GetProcessor Gets a processor detail. Request object method variants only take one parameter, a request object, which must be constructed before the call. getProcessor(GetProcessorRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getProcessor(ProcessorName name)
+ * getProcessor(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getProcessorCallable()
* TrainProcessorVersion Trains a new processor version. Operation metadata is returned as [TrainProcessorVersionMetadata][google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata]. Request object method variants only take one parameter, a request object, which must be constructed before the call. trainProcessorVersionAsync(TrainProcessorVersionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. trainProcessorVersionAsync(ProcessorName parent, ProcessorVersion processorVersion)
+ * trainProcessorVersionAsync(String parent, ProcessorVersion processorVersion)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. trainProcessorVersionOperationCallable()
+ * trainProcessorVersionCallable()
* GetProcessorVersion Gets a processor version detail. Request object method variants only take one parameter, a request object, which must be constructed before the call. getProcessorVersion(GetProcessorVersionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getProcessorVersion(ProcessorVersionName name)
+ * getProcessorVersion(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getProcessorVersionCallable()
* ListProcessorVersions Lists all versions of a processor. Request object method variants only take one parameter, a request object, which must be constructed before the call. listProcessorVersions(ListProcessorVersionsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listProcessorVersions(ProcessorName parent)
+ * listProcessorVersions(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listProcessorVersionsPagedCallable()
+ * listProcessorVersionsCallable()
* DeleteProcessorVersion Deletes the processor version, all artifacts under the processor version will be deleted. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteProcessorVersionAsync(DeleteProcessorVersionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteProcessorVersionAsync(ProcessorVersionName name)
+ * deleteProcessorVersionAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteProcessorVersionOperationCallable()
+ * deleteProcessorVersionCallable()
* DeployProcessorVersion Deploys the processor version. Request object method variants only take one parameter, a request object, which must be constructed before the call. deployProcessorVersionAsync(DeployProcessorVersionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deployProcessorVersionAsync(ProcessorVersionName name)
+ * deployProcessorVersionAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deployProcessorVersionOperationCallable()
+ * deployProcessorVersionCallable()
* UndeployProcessorVersion Undeploys the processor version. Request object method variants only take one parameter, a request object, which must be constructed before the call. undeployProcessorVersionAsync(UndeployProcessorVersionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. undeployProcessorVersionAsync(ProcessorVersionName name)
+ * undeployProcessorVersionAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. undeployProcessorVersionOperationCallable()
+ * undeployProcessorVersionCallable()
* CreateProcessor Creates a processor from the [ProcessorType][google.cloud.documentai.v1beta3.ProcessorType] provided. The processor will be at `ENABLED` state by default after its creation. Request object method variants only take one parameter, a request object, which must be constructed before the call. createProcessor(CreateProcessorRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createProcessor(LocationName parent, Processor processor)
+ * createProcessor(String parent, Processor processor)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createProcessorCallable()
* DeleteProcessor Deletes the processor, unloads all deployed model artifacts if it was enabled and then deletes all artifacts associated with this processor. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteProcessorAsync(DeleteProcessorRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteProcessorAsync(ProcessorName name)
+ * deleteProcessorAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteProcessorOperationCallable()
+ * deleteProcessorCallable()
* EnableProcessor Enables a processor Request object method variants only take one parameter, a request object, which must be constructed before the call. enableProcessorAsync(EnableProcessorRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. enableProcessorOperationCallable()
+ * enableProcessorCallable()
* DisableProcessor Disables a processor Request object method variants only take one parameter, a request object, which must be constructed before the call. disableProcessorAsync(DisableProcessorRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. disableProcessorOperationCallable()
+ * disableProcessorCallable()
* SetDefaultProcessorVersion Set the default (active) version of a [Processor][google.cloud.documentai.v1beta3.Processor] that will be used in [ProcessDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ProcessDocument] and [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments]. Request object method variants only take one parameter, a request object, which must be constructed before the call. setDefaultProcessorVersionAsync(SetDefaultProcessorVersionRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. setDefaultProcessorVersionOperationCallable()
+ * setDefaultProcessorVersionCallable()
* ReviewDocument Send a document for Human Review. The input document should be processed by the specified processor. Request object method variants only take one parameter, a request object, which must be constructed before the call. reviewDocumentAsync(ReviewDocumentRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. reviewDocumentAsync(HumanReviewConfigName humanReviewConfig)
+ * reviewDocumentAsync(String humanReviewConfig)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. reviewDocumentOperationCallable()
+ * reviewDocumentCallable()
* EvaluateProcessorVersion Evaluates a ProcessorVersion against annotated documents, producing an Evaluation. Request object method variants only take one parameter, a request object, which must be constructed before the call. evaluateProcessorVersionAsync(EvaluateProcessorVersionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. evaluateProcessorVersionAsync(ProcessorVersionName processorVersion)
+ * evaluateProcessorVersionAsync(String processorVersion)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. evaluateProcessorVersionOperationCallable()
+ * evaluateProcessorVersionCallable()
* GetEvaluation Retrieves a specific evaluation. Request object method variants only take one parameter, a request object, which must be constructed before the call. getEvaluation(GetEvaluationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getEvaluation(EvaluationName name)
+ * getEvaluation(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getEvaluationCallable()
* ListEvaluations Retrieves a set of evaluations for a given processor version. Request object method variants only take one parameter, a request object, which must be constructed before the call. listEvaluations(ListEvaluationsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listEvaluations(ProcessorVersionName parent)
+ * listEvaluations(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listEvaluationsPagedCallable()
+ * listEvaluationsCallable()
* ImportProcessorVersion Imports a processor version from source processor version. Request object method variants only take one parameter, a request object, which must be constructed before the call. importProcessorVersionAsync(ImportProcessorVersionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. importProcessorVersionAsync(ProcessorName parent)
+ * importProcessorVersionAsync(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importProcessorVersionOperationCallable()
+ * importProcessorVersionCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentServiceClient.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentServiceClient.java
index 508df85bd683..f3ea19b69ee7 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentServiceClient.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentServiceClient.java
@@ -66,174 +66,175 @@
* close().
*
* UpdateDataset Updates metadata associated with a dataset. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateDatasetAsync(UpdateDatasetRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateDatasetAsync(Dataset dataset, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateDatasetOperationCallable()
+ * updateDatasetCallable()
* ImportDocuments Import documents into a dataset. Request object method variants only take one parameter, a request object, which must be constructed before the call. importDocumentsAsync(ImportDocumentsRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. importDocumentsAsync(DatasetName dataset)
+ * importDocumentsAsync(String dataset)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importDocumentsOperationCallable()
+ * importDocumentsCallable()
* GetDocument Returns relevant fields present in the requested document. Request object method variants only take one parameter, a request object, which must be constructed before the call. getDocument(GetDocumentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getDocument(DatasetName dataset)
+ * getDocument(String dataset)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getDocumentCallable()
* ListDocuments Returns a list of documents present in the dataset. Request object method variants only take one parameter, a request object, which must be constructed before the call. listDocuments(ListDocumentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listDocuments(DatasetName dataset)
+ * listDocuments(String dataset)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listDocumentsPagedCallable()
+ * listDocumentsCallable()
* BatchDeleteDocuments Deletes a set of documents. Request object method variants only take one parameter, a request object, which must be constructed before the call. batchDeleteDocumentsAsync(BatchDeleteDocumentsRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. batchDeleteDocumentsAsync(String dataset)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. batchDeleteDocumentsOperationCallable()
+ * batchDeleteDocumentsCallable()
* GetDatasetSchema Gets the `DatasetSchema` of a `Dataset`. Request object method variants only take one parameter, a request object, which must be constructed before the call. getDatasetSchema(GetDatasetSchemaRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getDatasetSchema(DatasetSchemaName name)
+ * getDatasetSchema(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getDatasetSchemaCallable()
* UpdateDatasetSchema Updates a `DatasetSchema`. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateDatasetSchema(UpdateDatasetSchemaRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateDatasetSchema(DatasetSchema datasetSchema, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateDatasetSchemaCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentProcessorServiceStubSettings.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentProcessorServiceStubSettings.java
index b358c099404d..a211077a17fb 100644
--- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentProcessorServiceStubSettings.java
+++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentProcessorServiceStubSettings.java
@@ -804,6 +804,15 @@ public DocumentProcessorServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -1266,7 +1275,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -1279,7 +1287,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -2001,6 +2008,15 @@ public UnaryCallSettings.Builder SearchDomains Searches for available domain names similar to the provided query.
* Availability results from this method are approximate; call `RetrieveRegisterParameters` on a domain before registering to confirm availability. Request object method variants only take one parameter, a request object, which must be constructed before the call. searchDomains(SearchDomainsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. searchDomains(LocationName location, String query)
+ * searchDomains(String location, String query)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. searchDomainsCallable()
* RetrieveRegisterParameters Gets parameters needed to register a new domain name, including price and up-to-date availability. Use the returned values to call `RegisterDomain`. Request object method variants only take one parameter, a request object, which must be constructed before the call. retrieveRegisterParameters(RetrieveRegisterParametersRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. retrieveRegisterParameters(LocationName location, String domainName)
+ * retrieveRegisterParameters(String location, String domainName)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. retrieveRegisterParametersCallable()
* RegisterDomain Registers a new domain name and creates a corresponding `Registration` resource.
* Call `RetrieveRegisterParameters` first to check availability of the domain name and determine parameters like price that are needed to build a call to this method.
* A successful call creates a `Registration` resource in state `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2 minutes, indicating that the domain was successfully registered. If the resource ends up in state `REGISTRATION_FAILED`, it indicates that the domain was not registered successfully, and you can safely delete the resource and retry registration. Request object method variants only take one parameter, a request object, which must be constructed before the call. registerDomainAsync(RegisterDomainRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. registerDomainAsync(LocationName parent, Registration registration, Money yearlyPrice)
+ * registerDomainAsync(String parent, Registration registration, Money yearlyPrice)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. registerDomainOperationCallable()
+ * registerDomainCallable()
* RetrieveTransferParameters Gets parameters needed to transfer a domain name from another registrar to Cloud Domains. For domains managed by Google Domains, transferring to Cloud Domains is not supported.
* Use the returned values to call `TransferDomain`. Request object method variants only take one parameter, a request object, which must be constructed before the call. retrieveTransferParameters(RetrieveTransferParametersRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. retrieveTransferParameters(LocationName location, String domainName)
+ * retrieveTransferParameters(String location, String domainName)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. retrieveTransferParametersCallable()
* TransferDomain Transfers a domain name from another registrar to Cloud Domains. For domains managed by Google Domains, transferring to Cloud Domains is not supported.
* Before calling this method, go to the domain's current registrar to unlock the domain for transfer and retrieve the domain's transfer authorization code. Then call `RetrieveTransferParameters` to confirm that the domain is unlocked and to get values needed to build a call to this method.
* A successful call creates a `Registration` resource in state `TRANSFER_PENDING`. It can take several days to complete the transfer process. The registrant can often speed up this process by approving the transfer through the current registrar, either by clicking a link in an email from the registrar or by visiting the registrar's website.
@@ -158,61 +160,61 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. transferDomainAsync(TransferDomainRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. transferDomainAsync(LocationName parent, Registration registration, Money yearlyPrice, AuthorizationCode authorizationCode)
+ * transferDomainAsync(String parent, Registration registration, Money yearlyPrice, AuthorizationCode authorizationCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. transferDomainOperationCallable()
+ * transferDomainCallable()
* ListRegistrations Lists the `Registration` resources in a project. Request object method variants only take one parameter, a request object, which must be constructed before the call. listRegistrations(ListRegistrationsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listRegistrations(LocationName parent)
+ * listRegistrations(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listRegistrationsPagedCallable()
+ * listRegistrationsCallable()
* GetRegistration Gets the details of a `Registration` resource. Request object method variants only take one parameter, a request object, which must be constructed before the call. getRegistration(GetRegistrationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getRegistration(RegistrationName name)
+ * getRegistration(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getRegistrationCallable()
* UpdateRegistration Updates select fields of a `Registration` resource, notably `labels`. To update other fields, use the appropriate custom update method:
* Request object method variants only take one parameter, a request object, which must be constructed before the call. updateRegistrationAsync(UpdateRegistrationRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateRegistrationAsync(Registration registration, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateRegistrationOperationCallable()
+ * updateRegistrationCallable()
* ConfigureManagementSettings Updates a `Registration`'s management settings. Request object method variants only take one parameter, a request object, which must be constructed before the call. configureManagementSettingsAsync(ConfigureManagementSettingsRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. configureManagementSettingsAsync(RegistrationName registration, ManagementSettings managementSettings, FieldMask updateMask)
+ * configureManagementSettingsAsync(String registration, ManagementSettings managementSettings, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. configureManagementSettingsOperationCallable()
+ * configureManagementSettingsCallable()
* ConfigureDnsSettings Updates a `Registration`'s DNS settings. Request object method variants only take one parameter, a request object, which must be constructed before the call. configureDnsSettingsAsync(ConfigureDnsSettingsRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. configureDnsSettingsAsync(RegistrationName registration, DnsSettings dnsSettings, FieldMask updateMask)
+ * configureDnsSettingsAsync(String registration, DnsSettings dnsSettings, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. configureDnsSettingsOperationCallable()
+ * configureDnsSettingsCallable()
* ConfigureContactSettings Updates a `Registration`'s contact settings. Some changes require confirmation by the domain's registrant contact . Request object method variants only take one parameter, a request object, which must be constructed before the call. configureContactSettingsAsync(ConfigureContactSettingsRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. configureContactSettingsAsync(RegistrationName registration, ContactSettings contactSettings, FieldMask updateMask)
+ * configureContactSettingsAsync(String registration, ContactSettings contactSettings, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. configureContactSettingsOperationCallable()
+ * configureContactSettingsCallable()
* ExportRegistration Exports a `Registration` resource, such that it is no longer managed by Cloud Domains.
* When an active domain is successfully exported, you can continue to use the domain in [Google Domains](https://domains.google/) until it expires. The calling user becomes the domain's sole owner in Google Domains, and permissions for the domain are subsequently managed there. The domain does not renew automatically unless the new owner sets up billing in Google Domains. Request object method variants only take one parameter, a request object, which must be constructed before the call. exportRegistrationAsync(ExportRegistrationRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. exportRegistrationAsync(RegistrationName name)
+ * exportRegistrationAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. exportRegistrationOperationCallable()
+ * exportRegistrationCallable()
* DeleteRegistration Deletes a `Registration` resource.
* This method works on any `Registration` resource using [Subscription or Commitment billing](/domains/pricing#billing-models), provided that the resource was created at least 1 day in the past.
* For `Registration` resources using [Monthly billing](/domains/pricing#billing-models), this method works if:
@@ -330,61 +332,60 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteRegistrationAsync(DeleteRegistrationRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteRegistrationAsync(RegistrationName name)
+ * deleteRegistrationAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteRegistrationOperationCallable()
+ * deleteRegistrationCallable()
* RetrieveAuthorizationCode Gets the authorization code of the `Registration` for the purpose of transferring the domain to another registrar.
* You can call this method only after 60 days have elapsed since the initial domain registration. Request object method variants only take one parameter, a request object, which must be constructed before the call. retrieveAuthorizationCode(RetrieveAuthorizationCodeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. retrieveAuthorizationCode(RegistrationName registration)
+ * retrieveAuthorizationCode(String registration)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. retrieveAuthorizationCodeCallable()
* ResetAuthorizationCode Resets the authorization code of the `Registration` to a new random string.
* You can call this method only after 60 days have elapsed since the initial domain registration. Request object method variants only take one parameter, a request object, which must be constructed before the call. resetAuthorizationCode(ResetAuthorizationCodeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. resetAuthorizationCode(RegistrationName registration)
+ * resetAuthorizationCode(String registration)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. resetAuthorizationCodeCallable()
* See the individual methods for example code.
diff --git a/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStubSettings.java b/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStubSettings.java
index 39501bc45423..05aea1ee0b00 100644
--- a/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStubSettings.java
+++ b/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStubSettings.java
@@ -376,6 +376,15 @@ public DomainsStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -693,7 +702,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -706,7 +714,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -1158,6 +1165,15 @@ public UnaryCallSettings.Builder SearchDomains Searches for available domain names similar to the provided query.
* Availability results from this method are approximate; call `RetrieveRegisterParameters` on a domain before registering to confirm availability. Request object method variants only take one parameter, a request object, which must be constructed before the call. searchDomains(SearchDomainsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. searchDomains(LocationName location, String query)
+ * searchDomains(String location, String query)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. searchDomainsCallable()
* RetrieveRegisterParameters Gets parameters needed to register a new domain name, including price and up-to-date availability. Use the returned values to call `RegisterDomain`. Request object method variants only take one parameter, a request object, which must be constructed before the call. retrieveRegisterParameters(RetrieveRegisterParametersRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. retrieveRegisterParameters(LocationName location, String domainName)
+ * retrieveRegisterParameters(String location, String domainName)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. retrieveRegisterParametersCallable()
* RegisterDomain Registers a new domain name and creates a corresponding `Registration` resource.
* Call `RetrieveRegisterParameters` first to check availability of the domain name and determine parameters like price that are needed to build a call to this method.
* A successful call creates a `Registration` resource in state `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2 minutes, indicating that the domain was successfully registered. If the resource ends up in state `REGISTRATION_FAILED`, it indicates that the domain was not registered successfully, and you can safely delete the resource and retry registration. Request object method variants only take one parameter, a request object, which must be constructed before the call. registerDomainAsync(RegisterDomainRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. registerDomainAsync(LocationName parent, Registration registration, Money yearlyPrice)
+ * registerDomainAsync(String parent, Registration registration, Money yearlyPrice)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. registerDomainOperationCallable()
+ * registerDomainCallable()
* RetrieveTransferParameters Gets parameters needed to transfer a domain name from another registrar to Cloud Domains. For domains managed by Google Domains, transferring to Cloud Domains is not supported.
* Use the returned values to call `TransferDomain`. Request object method variants only take one parameter, a request object, which must be constructed before the call. retrieveTransferParameters(RetrieveTransferParametersRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. retrieveTransferParameters(LocationName location, String domainName)
+ * retrieveTransferParameters(String location, String domainName)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. retrieveTransferParametersCallable()
* TransferDomain Transfers a domain name from another registrar to Cloud Domains. For domains managed by Google Domains, transferring to Cloud Domains is not supported.
* Before calling this method, go to the domain's current registrar to unlock the domain for transfer and retrieve the domain's transfer authorization code. Then call `RetrieveTransferParameters` to confirm that the domain is unlocked and to get values needed to build a call to this method.
* A successful call creates a `Registration` resource in state `TRANSFER_PENDING`. It can take several days to complete the transfer process. The registrant can often speed up this process by approving the transfer through the current registrar, either by clicking a link in an email from the registrar or by visiting the registrar's website.
@@ -158,61 +160,61 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. transferDomainAsync(TransferDomainRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. transferDomainAsync(LocationName parent, Registration registration, Money yearlyPrice, AuthorizationCode authorizationCode)
+ * transferDomainAsync(String parent, Registration registration, Money yearlyPrice, AuthorizationCode authorizationCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. transferDomainOperationCallable()
+ * transferDomainCallable()
* ListRegistrations Lists the `Registration` resources in a project. Request object method variants only take one parameter, a request object, which must be constructed before the call. listRegistrations(ListRegistrationsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listRegistrations(LocationName parent)
+ * listRegistrations(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listRegistrationsPagedCallable()
+ * listRegistrationsCallable()
* GetRegistration Gets the details of a `Registration` resource. Request object method variants only take one parameter, a request object, which must be constructed before the call. getRegistration(GetRegistrationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getRegistration(RegistrationName name)
+ * getRegistration(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getRegistrationCallable()
* UpdateRegistration Updates select fields of a `Registration` resource, notably `labels`. To update other fields, use the appropriate custom update method:
* Request object method variants only take one parameter, a request object, which must be constructed before the call. updateRegistrationAsync(UpdateRegistrationRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateRegistrationAsync(Registration registration, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateRegistrationOperationCallable()
+ * updateRegistrationCallable()
* ConfigureManagementSettings Updates a `Registration`'s management settings. Request object method variants only take one parameter, a request object, which must be constructed before the call. configureManagementSettingsAsync(ConfigureManagementSettingsRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. configureManagementSettingsAsync(RegistrationName registration, ManagementSettings managementSettings, FieldMask updateMask)
+ * configureManagementSettingsAsync(String registration, ManagementSettings managementSettings, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. configureManagementSettingsOperationCallable()
+ * configureManagementSettingsCallable()
* ConfigureDnsSettings Updates a `Registration`'s DNS settings. Request object method variants only take one parameter, a request object, which must be constructed before the call. configureDnsSettingsAsync(ConfigureDnsSettingsRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. configureDnsSettingsAsync(RegistrationName registration, DnsSettings dnsSettings, FieldMask updateMask)
+ * configureDnsSettingsAsync(String registration, DnsSettings dnsSettings, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. configureDnsSettingsOperationCallable()
+ * configureDnsSettingsCallable()
* ConfigureContactSettings Updates a `Registration`'s contact settings. Some changes require confirmation by the domain's registrant contact . Request object method variants only take one parameter, a request object, which must be constructed before the call. configureContactSettingsAsync(ConfigureContactSettingsRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. configureContactSettingsAsync(RegistrationName registration, ContactSettings contactSettings, FieldMask updateMask)
+ * configureContactSettingsAsync(String registration, ContactSettings contactSettings, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. configureContactSettingsOperationCallable()
+ * configureContactSettingsCallable()
* ExportRegistration Exports a `Registration` resource, such that it is no longer managed by Cloud Domains.
* When an active domain is successfully exported, you can continue to use the domain in [Google Domains](https://domains.google/) until it expires. The calling user becomes the domain's sole owner in Google Domains, and permissions for the domain are subsequently managed there. The domain does not renew automatically unless the new owner sets up billing in Google Domains. Request object method variants only take one parameter, a request object, which must be constructed before the call. exportRegistrationAsync(ExportRegistrationRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. exportRegistrationAsync(RegistrationName name)
+ * exportRegistrationAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. exportRegistrationOperationCallable()
+ * exportRegistrationCallable()
* DeleteRegistration Deletes a `Registration` resource.
* This method works on any `Registration` resource using [Subscription or Commitment billing](/domains/pricing#billing-models), provided that the resource was created at least 1 day in the past.
* For `Registration` resources using [Monthly billing](/domains/pricing#billing-models), this method works if:
@@ -330,61 +332,60 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteRegistrationAsync(DeleteRegistrationRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteRegistrationAsync(RegistrationName name)
+ * deleteRegistrationAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteRegistrationOperationCallable()
+ * deleteRegistrationCallable()
* RetrieveAuthorizationCode Gets the authorization code of the `Registration` for the purpose of transferring the domain to another registrar.
* You can call this method only after 60 days have elapsed since the initial domain registration. Request object method variants only take one parameter, a request object, which must be constructed before the call. retrieveAuthorizationCode(RetrieveAuthorizationCodeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. retrieveAuthorizationCode(RegistrationName registration)
+ * retrieveAuthorizationCode(String registration)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. retrieveAuthorizationCodeCallable()
* ResetAuthorizationCode Resets the authorization code of the `Registration` to a new random string.
* You can call this method only after 60 days have elapsed since the initial domain registration. Request object method variants only take one parameter, a request object, which must be constructed before the call. resetAuthorizationCode(ResetAuthorizationCodeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. resetAuthorizationCode(RegistrationName registration)
+ * resetAuthorizationCode(String registration)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. resetAuthorizationCodeCallable()
* See the individual methods for example code.
diff --git a/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStubSettings.java b/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStubSettings.java
index 171b56c2c637..ad9568d7bdfc 100644
--- a/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStubSettings.java
+++ b/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStubSettings.java
@@ -377,6 +377,15 @@ public DomainsStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -694,7 +703,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -707,7 +715,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -1159,6 +1166,15 @@ public UnaryCallSettings.Builder SearchDomains Searches for available domain names similar to the provided query.
* Availability results from this method are approximate; call `RetrieveRegisterParameters` on a domain before registering to confirm availability. Request object method variants only take one parameter, a request object, which must be constructed before the call. searchDomains(SearchDomainsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. searchDomains(LocationName location, String query)
+ * searchDomains(String location, String query)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. searchDomainsCallable()
* RetrieveRegisterParameters Gets parameters needed to register a new domain name, including price and up-to-date availability. Use the returned values to call `RegisterDomain`. Request object method variants only take one parameter, a request object, which must be constructed before the call. retrieveRegisterParameters(RetrieveRegisterParametersRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. retrieveRegisterParameters(LocationName location, String domainName)
+ * retrieveRegisterParameters(String location, String domainName)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. retrieveRegisterParametersCallable()
* RegisterDomain Registers a new domain name and creates a corresponding `Registration` resource.
* Call `RetrieveRegisterParameters` first to check availability of the domain name and determine parameters like price that are needed to build a call to this method.
* A successful call creates a `Registration` resource in state `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2 minutes, indicating that the domain was successfully registered. If the resource ends up in state `REGISTRATION_FAILED`, it indicates that the domain was not registered successfully, and you can safely delete the resource and retry registration. Request object method variants only take one parameter, a request object, which must be constructed before the call. registerDomainAsync(RegisterDomainRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. registerDomainAsync(LocationName parent, Registration registration, Money yearlyPrice)
+ * registerDomainAsync(String parent, Registration registration, Money yearlyPrice)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. registerDomainOperationCallable()
+ * registerDomainCallable()
* RetrieveTransferParameters Gets parameters needed to transfer a domain name from another registrar to Cloud Domains. For domains managed by Google Domains, transferring to Cloud Domains is not supported.
* Use the returned values to call `TransferDomain`. Request object method variants only take one parameter, a request object, which must be constructed before the call. retrieveTransferParameters(RetrieveTransferParametersRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. retrieveTransferParameters(LocationName location, String domainName)
+ * retrieveTransferParameters(String location, String domainName)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. retrieveTransferParametersCallable()
* TransferDomain Transfers a domain name from another registrar to Cloud Domains. For domains managed by Google Domains, transferring to Cloud Domains is not supported.
* Before calling this method, go to the domain's current registrar to unlock the domain for transfer and retrieve the domain's transfer authorization code. Then call `RetrieveTransferParameters` to confirm that the domain is unlocked and to get values needed to build a call to this method.
* A successful call creates a `Registration` resource in state `TRANSFER_PENDING`. It can take several days to complete the transfer process. The registrant can often speed up this process by approving the transfer through the current registrar, either by clicking a link in an email from the registrar or by visiting the registrar's website.
@@ -158,61 +160,61 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. transferDomainAsync(TransferDomainRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. transferDomainAsync(LocationName parent, Registration registration, Money yearlyPrice, AuthorizationCode authorizationCode)
+ * transferDomainAsync(String parent, Registration registration, Money yearlyPrice, AuthorizationCode authorizationCode)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. transferDomainOperationCallable()
+ * transferDomainCallable()
* ListRegistrations Lists the `Registration` resources in a project. Request object method variants only take one parameter, a request object, which must be constructed before the call. listRegistrations(ListRegistrationsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listRegistrations(LocationName parent)
+ * listRegistrations(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listRegistrationsPagedCallable()
+ * listRegistrationsCallable()
* GetRegistration Gets the details of a `Registration` resource. Request object method variants only take one parameter, a request object, which must be constructed before the call. getRegistration(GetRegistrationRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getRegistration(RegistrationName name)
+ * getRegistration(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getRegistrationCallable()
* UpdateRegistration Updates select fields of a `Registration` resource, notably `labels`. To update other fields, use the appropriate custom update method:
* Request object method variants only take one parameter, a request object, which must be constructed before the call. updateRegistrationAsync(UpdateRegistrationRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateRegistrationAsync(Registration registration, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateRegistrationOperationCallable()
+ * updateRegistrationCallable()
* ConfigureManagementSettings Updates a `Registration`'s management settings. Request object method variants only take one parameter, a request object, which must be constructed before the call. configureManagementSettingsAsync(ConfigureManagementSettingsRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. configureManagementSettingsAsync(RegistrationName registration, ManagementSettings managementSettings, FieldMask updateMask)
+ * configureManagementSettingsAsync(String registration, ManagementSettings managementSettings, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. configureManagementSettingsOperationCallable()
+ * configureManagementSettingsCallable()
* ConfigureDnsSettings Updates a `Registration`'s DNS settings. Request object method variants only take one parameter, a request object, which must be constructed before the call. configureDnsSettingsAsync(ConfigureDnsSettingsRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. configureDnsSettingsAsync(RegistrationName registration, DnsSettings dnsSettings, FieldMask updateMask)
+ * configureDnsSettingsAsync(String registration, DnsSettings dnsSettings, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. configureDnsSettingsOperationCallable()
+ * configureDnsSettingsCallable()
* ConfigureContactSettings Updates a `Registration`'s contact settings. Some changes require confirmation by the domain's registrant contact . Request object method variants only take one parameter, a request object, which must be constructed before the call. configureContactSettingsAsync(ConfigureContactSettingsRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. configureContactSettingsAsync(RegistrationName registration, ContactSettings contactSettings, FieldMask updateMask)
+ * configureContactSettingsAsync(String registration, ContactSettings contactSettings, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. configureContactSettingsOperationCallable()
+ * configureContactSettingsCallable()
* ExportRegistration Exports a `Registration` resource, such that it is no longer managed by Cloud Domains.
* When an active domain is successfully exported, you can continue to use the domain in [Google Domains](https://domains.google/) until it expires. The calling user becomes the domain's sole owner in Google Domains, and permissions for the domain are subsequently managed there. The domain does not renew automatically unless the new owner sets up billing in Google Domains. Request object method variants only take one parameter, a request object, which must be constructed before the call. exportRegistrationAsync(ExportRegistrationRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. exportRegistrationAsync(RegistrationName name)
+ * exportRegistrationAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. exportRegistrationOperationCallable()
+ * exportRegistrationCallable()
* DeleteRegistration Deletes a `Registration` resource.
* This method works on any `Registration` resource using [Subscription or Commitment billing](/domains/pricing#billing-models), provided that the resource was created at least 1 day in the past.
* For `Registration` resources using [Monthly billing](/domains/pricing#billing-models), this method works if:
@@ -330,61 +332,60 @@
* Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteRegistrationAsync(DeleteRegistrationRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteRegistrationAsync(RegistrationName name)
+ * deleteRegistrationAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteRegistrationOperationCallable()
+ * deleteRegistrationCallable()
* RetrieveAuthorizationCode Gets the authorization code of the `Registration` for the purpose of transferring the domain to another registrar.
* You can call this method only after 60 days have elapsed since the initial domain registration. Request object method variants only take one parameter, a request object, which must be constructed before the call. retrieveAuthorizationCode(RetrieveAuthorizationCodeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. retrieveAuthorizationCode(RegistrationName registration)
+ * retrieveAuthorizationCode(String registration)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. retrieveAuthorizationCodeCallable()
* ResetAuthorizationCode Resets the authorization code of the `Registration` to a new random string.
* You can call this method only after 60 days have elapsed since the initial domain registration. Request object method variants only take one parameter, a request object, which must be constructed before the call. resetAuthorizationCode(ResetAuthorizationCodeRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. resetAuthorizationCode(RegistrationName registration)
+ * resetAuthorizationCode(String registration)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. resetAuthorizationCodeCallable()
* See the individual methods for example code.
diff --git a/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStubSettings.java b/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStubSettings.java
index f19159016ffa..8772b4095793 100644
--- a/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStubSettings.java
+++ b/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStubSettings.java
@@ -377,6 +377,15 @@ public DomainsStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -694,7 +703,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -707,7 +715,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -1159,6 +1166,15 @@ public UnaryCallSettings.Builder InitializeZone InitializeZone will initialize resources for a zone in a project. Request object method variants only take one parameter, a request object, which must be constructed before the call. initializeZone(InitializeZoneRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. initializeZone(ZoneName name)
+ * initializeZone(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. initializeZoneCallable()
* ListZones Lists Zones in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listZones(ListZonesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listZones(LocationName parent)
+ * listZones(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listZonesPagedCallable()
+ * listZonesCallable()
* GetZone Gets details of a single Zone. Request object method variants only take one parameter, a request object, which must be constructed before the call. getZone(GetZoneRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getZone(ZoneName name)
+ * getZone(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getZoneCallable()
* ListNetworks Lists Networks in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listNetworks(ListNetworksRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listNetworks(ZoneName parent)
+ * listNetworks(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listNetworksPagedCallable()
+ * listNetworksCallable()
* GetNetwork Gets details of a single Network. Request object method variants only take one parameter, a request object, which must be constructed before the call. getNetwork(GetNetworkRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getNetwork(NetworkName name)
+ * getNetwork(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getNetworkCallable()
* DiagnoseNetwork Get the diagnostics of a single network resource. Request object method variants only take one parameter, a request object, which must be constructed before the call. diagnoseNetwork(DiagnoseNetworkRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. diagnoseNetwork(NetworkName name)
+ * diagnoseNetwork(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. diagnoseNetworkCallable()
* CreateNetwork Creates a new Network in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. createNetworkAsync(CreateNetworkRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createNetworkAsync(ZoneName parent, Network network, String networkId)
+ * createNetworkAsync(String parent, Network network, String networkId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createNetworkOperationCallable()
+ * createNetworkCallable()
* DeleteNetwork Deletes a single Network. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteNetworkAsync(DeleteNetworkRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteNetworkAsync(NetworkName name)
+ * deleteNetworkAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteNetworkOperationCallable()
+ * deleteNetworkCallable()
* ListSubnets Lists Subnets in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listSubnets(ListSubnetsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listSubnets(ZoneName parent)
+ * listSubnets(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listSubnetsPagedCallable()
+ * listSubnetsCallable()
* GetSubnet Gets details of a single Subnet. Request object method variants only take one parameter, a request object, which must be constructed before the call. getSubnet(GetSubnetRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getSubnet(SubnetName name)
+ * getSubnet(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getSubnetCallable()
* CreateSubnet Creates a new Subnet in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. createSubnetAsync(CreateSubnetRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createSubnetAsync(ZoneName parent, Subnet subnet, String subnetId)
+ * createSubnetAsync(String parent, Subnet subnet, String subnetId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createSubnetOperationCallable()
+ * createSubnetCallable()
* UpdateSubnet Updates the parameters of a single Subnet. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateSubnetAsync(UpdateSubnetRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateSubnetAsync(Subnet subnet, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateSubnetOperationCallable()
+ * updateSubnetCallable()
* DeleteSubnet Deletes a single Subnet. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteSubnetAsync(DeleteSubnetRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteSubnetAsync(SubnetName name)
+ * deleteSubnetAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteSubnetOperationCallable()
+ * deleteSubnetCallable()
* ListInterconnects Lists Interconnects in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listInterconnects(ListInterconnectsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listInterconnects(ZoneName parent)
+ * listInterconnects(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listInterconnectsPagedCallable()
+ * listInterconnectsCallable()
* GetInterconnect Gets details of a single Interconnect. Request object method variants only take one parameter, a request object, which must be constructed before the call. getInterconnect(GetInterconnectRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getInterconnect(InterconnectName name)
+ * getInterconnect(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getInterconnectCallable()
* DiagnoseInterconnect Get the diagnostics of a single interconnect resource. Request object method variants only take one parameter, a request object, which must be constructed before the call. diagnoseInterconnect(DiagnoseInterconnectRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. diagnoseInterconnect(InterconnectName name)
+ * diagnoseInterconnect(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. diagnoseInterconnectCallable()
* ListInterconnectAttachments Lists InterconnectAttachments in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listInterconnectAttachments(ListInterconnectAttachmentsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listInterconnectAttachments(ZoneName parent)
+ * listInterconnectAttachments(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listInterconnectAttachmentsPagedCallable()
+ * listInterconnectAttachmentsCallable()
* GetInterconnectAttachment Gets details of a single InterconnectAttachment. Request object method variants only take one parameter, a request object, which must be constructed before the call. getInterconnectAttachment(GetInterconnectAttachmentRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getInterconnectAttachment(InterconnectAttachmentName name)
+ * getInterconnectAttachment(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getInterconnectAttachmentCallable()
* CreateInterconnectAttachment Creates a new InterconnectAttachment in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. createInterconnectAttachmentAsync(CreateInterconnectAttachmentRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createInterconnectAttachmentAsync(ZoneName parent, InterconnectAttachment interconnectAttachment, String interconnectAttachmentId)
+ * createInterconnectAttachmentAsync(String parent, InterconnectAttachment interconnectAttachment, String interconnectAttachmentId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createInterconnectAttachmentOperationCallable()
+ * createInterconnectAttachmentCallable()
* DeleteInterconnectAttachment Deletes a single InterconnectAttachment. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteInterconnectAttachmentAsync(DeleteInterconnectAttachmentRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteInterconnectAttachmentAsync(InterconnectAttachmentName name)
+ * deleteInterconnectAttachmentAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteInterconnectAttachmentOperationCallable()
+ * deleteInterconnectAttachmentCallable()
* ListRouters Lists Routers in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listRouters(ListRoutersRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listRouters(ZoneName parent)
+ * listRouters(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listRoutersPagedCallable()
+ * listRoutersCallable()
* GetRouter Gets details of a single Router. Request object method variants only take one parameter, a request object, which must be constructed before the call. getRouter(GetRouterRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getRouter(RouterName name)
+ * getRouter(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getRouterCallable()
* DiagnoseRouter Get the diagnostics of a single router resource. Request object method variants only take one parameter, a request object, which must be constructed before the call. diagnoseRouter(DiagnoseRouterRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. diagnoseRouter(RouterName name)
+ * diagnoseRouter(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. diagnoseRouterCallable()
* CreateRouter Creates a new Router in a given project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. createRouterAsync(CreateRouterRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createRouterAsync(ZoneName parent, Router router, String routerId)
+ * createRouterAsync(String parent, Router router, String routerId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createRouterOperationCallable()
+ * createRouterCallable()
* UpdateRouter Updates the parameters of a single Router. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateRouterAsync(UpdateRouterRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateRouterAsync(Router router, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateRouterOperationCallable()
+ * updateRouterCallable()
* DeleteRouter Deletes a single Router. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteRouterAsync(DeleteRouterRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteRouterAsync(RouterName name)
+ * deleteRouterAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteRouterOperationCallable()
+ * deleteRouterCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/EdgeNetworkStubSettings.java b/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/EdgeNetworkStubSettings.java
index dda3e6af25a4..ccd596386346 100644
--- a/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/EdgeNetworkStubSettings.java
+++ b/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/EdgeNetworkStubSettings.java
@@ -861,6 +861,15 @@ public EdgeNetworkStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -1290,7 +1299,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -1303,7 +1311,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -1956,6 +1963,15 @@ public UnaryCallSettings.Builder CreateEntityReconciliationJob Creates a EntityReconciliationJob. A EntityReconciliationJob once created will right away be attempted to start. Request object method variants only take one parameter, a request object, which must be constructed before the call. createEntityReconciliationJob(CreateEntityReconciliationJobRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createEntityReconciliationJob(LocationName parent, EntityReconciliationJob entityReconciliationJob)
+ * createEntityReconciliationJob(String parent, EntityReconciliationJob entityReconciliationJob)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createEntityReconciliationJobCallable()
* GetEntityReconciliationJob Gets a EntityReconciliationJob. Request object method variants only take one parameter, a request object, which must be constructed before the call. getEntityReconciliationJob(GetEntityReconciliationJobRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getEntityReconciliationJob(EntityReconciliationJobName name)
+ * getEntityReconciliationJob(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getEntityReconciliationJobCallable()
* ListEntityReconciliationJobs Lists Entity Reconciliation Jobs. Request object method variants only take one parameter, a request object, which must be constructed before the call. listEntityReconciliationJobs(ListEntityReconciliationJobsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listEntityReconciliationJobs(LocationName parent)
+ * listEntityReconciliationJobs(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listEntityReconciliationJobsPagedCallable()
+ * listEntityReconciliationJobsCallable()
* CancelEntityReconciliationJob Cancels a EntityReconciliationJob. Success of cancellation is not guaranteed. Request object method variants only take one parameter, a request object, which must be constructed before the call. cancelEntityReconciliationJob(CancelEntityReconciliationJobRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. cancelEntityReconciliationJob(EntityReconciliationJobName name)
+ * cancelEntityReconciliationJob(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. cancelEntityReconciliationJobCallable()
* DeleteEntityReconciliationJob Deletes a EntityReconciliationJob. It only deletes the job when the job state is in FAILED, SUCCEEDED, and CANCELLED. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteEntityReconciliationJob(DeleteEntityReconciliationJobRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteEntityReconciliationJob(EntityReconciliationJobName name)
+ * deleteEntityReconciliationJob(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteEntityReconciliationJobCallable()
* Lookup Finds the Cloud KG entities with CKG ID(s). Request object method variants only take one parameter, a request object, which must be constructed before the call. lookup(LookupRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. lookup(LocationName parent, List<String> ids)
+ * lookup(String parent, List<String> ids)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. lookupCallable()
* Search Searches the Cloud KG entities with entity name. Request object method variants only take one parameter, a request object, which must be constructed before the call. search(SearchRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. search(LocationName parent, String query)
+ * search(String parent, String query)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. searchCallable()
* LookupPublicKg Finds the public KG entities with public KG ID(s). Request object method variants only take one parameter, a request object, which must be constructed before the call. lookupPublicKg(LookupPublicKgRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. lookupPublicKg(LocationName parent, List<String> ids)
+ * lookupPublicKg(String parent, List<String> ids)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. lookupPublicKgCallable()
* SearchPublicKg Searches the public KG entities with entity name. Request object method variants only take one parameter, a request object, which must be constructed before the call. searchPublicKg(SearchPublicKgRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. searchPublicKg(LocationName parent, String query)
+ * searchPublicKg(String parent, String query)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. searchPublicKgCallable()
* See the individual methods for example code.
diff --git a/java-enterpriseknowledgegraph/google-cloud-enterpriseknowledgegraph/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/stub/EnterpriseKnowledgeGraphServiceStubSettings.java b/java-enterpriseknowledgegraph/google-cloud-enterpriseknowledgegraph/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/stub/EnterpriseKnowledgeGraphServiceStubSettings.java
index 0e7e5e6fd26a..fb6d9b4d00f2 100644
--- a/java-enterpriseknowledgegraph/google-cloud-enterpriseknowledgegraph/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/stub/EnterpriseKnowledgeGraphServiceStubSettings.java
+++ b/java-enterpriseknowledgegraph/google-cloud-enterpriseknowledgegraph/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/stub/EnterpriseKnowledgeGraphServiceStubSettings.java
@@ -285,6 +285,15 @@ public EnterpriseKnowledgeGraphServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -537,7 +546,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -550,7 +558,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -676,6 +683,15 @@ public UnaryCallSettings.Builder GetGroup Get the specified group. Request object method variants only take one parameter, a request object, which must be constructed before the call. getGroup(GetGroupRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getGroup(ErrorGroupName groupName)
+ * getGroup(String groupName)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getGroupCallable()
* UpdateGroup Replace the data for the specified group. Fails if the group does not exist. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateGroup(UpdateGroupRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateGroup(ErrorGroup group)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateGroupCallable()
* See the individual methods for example code.
diff --git a/java-errorreporting/google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorStatsServiceClient.java b/java-errorreporting/google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorStatsServiceClient.java
index 9bd9438db89c..9ae27c5b8900 100644
--- a/java-errorreporting/google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorStatsServiceClient.java
+++ b/java-errorreporting/google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorStatsServiceClient.java
@@ -58,70 +58,71 @@
* close().
*
* ListGroupStats Lists the specified groups. Request object method variants only take one parameter, a request object, which must be constructed before the call. listGroupStats(ListGroupStatsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listGroupStats(ProjectName projectName, QueryTimeRange timeRange)
+ * listGroupStats(String projectName, QueryTimeRange timeRange)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listGroupStatsPagedCallable()
+ * listGroupStatsCallable()
* ListEvents Lists the specified events. Request object method variants only take one parameter, a request object, which must be constructed before the call. listEvents(ListEventsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listEvents(ProjectName projectName, String groupId)
+ * listEvents(String projectName, String groupId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listEventsPagedCallable()
+ * listEventsCallable()
* DeleteEvents Deletes all error events of a given project. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteEvents(DeleteEventsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteEvents(ProjectName projectName)
+ * deleteEvents(String projectName)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteEventsCallable()
* See the individual methods for example code.
diff --git a/java-errorreporting/google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceClient.java b/java-errorreporting/google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceClient.java
index 4684f19b789f..2dcd39f7fc9d 100644
--- a/java-errorreporting/google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceClient.java
+++ b/java-errorreporting/google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceClient.java
@@ -51,12 +51,14 @@
* close().
*
* ReportErrorEvent Report an individual error event and record the event to a log.
* This endpoint accepts **either** an OAuth token,
* Request object method variants only take one parameter, a request object, which must be constructed before the call. reportErrorEvent(ReportErrorEventRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. reportErrorEvent(ProjectName projectName, ReportedErrorEvent event)
+ * reportErrorEvent(String projectName, ReportedErrorEvent event)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. reportErrorEventCallable()
* See the individual methods for example code.
diff --git a/java-errorreporting/google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/stub/ErrorGroupServiceStubSettings.java b/java-errorreporting/google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/stub/ErrorGroupServiceStubSettings.java
index aa91ee58b9c4..0e5c684b3005 100644
--- a/java-errorreporting/google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/stub/ErrorGroupServiceStubSettings.java
+++ b/java-errorreporting/google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/stub/ErrorGroupServiceStubSettings.java
@@ -121,6 +121,15 @@ public ErrorGroupServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -290,7 +299,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -303,7 +311,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -349,6 +356,15 @@ public UnaryCallSettings.Builder CreateContact Adds a new contact for a resource. Request object method variants only take one parameter, a request object, which must be constructed before the call. createContact(CreateContactRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createContact(FolderName parent, Contact contact)
+ * createContact(OrganizationName parent, Contact contact)
+ * createContact(ProjectName parent, Contact contact)
+ * createContact(String parent, Contact contact)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createContactCallable()
* UpdateContact Updates a contact. Note: A contact's email address cannot be changed. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateContact(UpdateContactRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateContact(Contact contact, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateContactCallable()
* ListContacts Lists the contacts that have been set on a resource. Request object method variants only take one parameter, a request object, which must be constructed before the call. listContacts(ListContactsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listContacts(FolderName parent)
+ * listContacts(OrganizationName parent)
+ * listContacts(ProjectName parent)
+ * listContacts(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listContactsPagedCallable()
+ * listContactsCallable()
* GetContact Gets a single contact. Request object method variants only take one parameter, a request object, which must be constructed before the call. getContact(GetContactRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getContact(ContactName name)
+ * getContact(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getContactCallable()
* DeleteContact Deletes a contact. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteContact(DeleteContactRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. deleteContact(ContactName name)
+ * deleteContact(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteContactCallable()
* ComputeContacts Lists all contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources. Request object method variants only take one parameter, a request object, which must be constructed before the call. computeContacts(ComputeContactsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. computeContactsPagedCallable()
+ * computeContactsCallable()
* SendTestMessage Allows a contact admin to send a test message to contact to verify that it has been configured correctly. Request object method variants only take one parameter, a request object, which must be constructed before the call. sendTestMessage(SendTestMessageRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. sendTestMessageCallable()
* See the individual methods for example code.
diff --git a/java-essential-contacts/google-cloud-essential-contacts/src/main/java/com/google/cloud/essentialcontacts/v1/stub/EssentialContactsServiceStubSettings.java b/java-essential-contacts/google-cloud-essential-contacts/src/main/java/com/google/cloud/essentialcontacts/v1/stub/EssentialContactsServiceStubSettings.java
index 745b8c0131e3..3c07d3751e0e 100644
--- a/java-essential-contacts/google-cloud-essential-contacts/src/main/java/com/google/cloud/essentialcontacts/v1/stub/EssentialContactsServiceStubSettings.java
+++ b/java-essential-contacts/google-cloud-essential-contacts/src/main/java/com/google/cloud/essentialcontacts/v1/stub/EssentialContactsServiceStubSettings.java
@@ -284,6 +284,15 @@ public EssentialContactsServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -500,7 +509,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -513,7 +521,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -613,6 +620,15 @@ public UnaryCallSettings.Builder PublishChannelConnectionEvents Publish events to a ChannelConnection in a partner's project. Request object method variants only take one parameter, a request object, which must be constructed before the call. publishChannelConnectionEvents(PublishChannelConnectionEventsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. publishChannelConnectionEventsCallable()
* PublishEvents Publish events to a subscriber's channel. Request object method variants only take one parameter, a request object, which must be constructed before the call. publishEvents(PublishEventsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. publishEventsCallable()
* See the individual methods for example code.
diff --git a/java-eventarc-publishing/google-cloud-eventarc-publishing/src/main/java/com/google/cloud/eventarc/publishing/v1/stub/PublisherStubSettings.java b/java-eventarc-publishing/google-cloud-eventarc-publishing/src/main/java/com/google/cloud/eventarc/publishing/v1/stub/PublisherStubSettings.java
index 327d6fbae0c2..83bcc6537ebd 100644
--- a/java-eventarc-publishing/google-cloud-eventarc-publishing/src/main/java/com/google/cloud/eventarc/publishing/v1/stub/PublisherStubSettings.java
+++ b/java-eventarc-publishing/google-cloud-eventarc-publishing/src/main/java/com/google/cloud/eventarc/publishing/v1/stub/PublisherStubSettings.java
@@ -124,6 +124,15 @@ public PublisherStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -295,7 +304,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -308,7 +316,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -357,6 +364,15 @@ public Builder applyToAllUnaryMethods(
return publishEventsSettings;
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
@Override
public PublisherStubSettings build() throws IOException {
return new PublisherStubSettings(this);
diff --git a/java-eventarc/README.md b/java-eventarc/README.md
index dfb32cdfdf43..56d9781a5a1a 100644
--- a/java-eventarc/README.md
+++ b/java-eventarc/README.md
@@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-eventarc.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc/1.32.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc/1.33.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/EventarcClient.java b/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/EventarcClient.java
index 3e52c1916552..27e28e85dcb1 100644
--- a/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/EventarcClient.java
+++ b/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/EventarcClient.java
@@ -71,435 +71,436 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* GetTrigger Get a single trigger. Request object method variants only take one parameter, a request object, which must be constructed before the call. getTrigger(GetTriggerRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getTrigger(TriggerName name)
+ * getTrigger(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getTriggerCallable()
* ListTriggers List triggers. Request object method variants only take one parameter, a request object, which must be constructed before the call. listTriggers(ListTriggersRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listTriggers(LocationName parent)
+ * listTriggers(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listTriggersPagedCallable()
+ * listTriggersCallable()
* CreateTrigger Create a new trigger in a particular project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. createTriggerAsync(CreateTriggerRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createTriggerAsync(LocationName parent, Trigger trigger, String triggerId)
+ * createTriggerAsync(String parent, Trigger trigger, String triggerId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createTriggerOperationCallable()
+ * createTriggerCallable()
* UpdateTrigger Update a single trigger. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateTriggerAsync(UpdateTriggerRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateTriggerAsync(Trigger trigger, FieldMask updateMask, boolean allowMissing)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateTriggerOperationCallable()
+ * updateTriggerCallable()
* DeleteTrigger Delete a single trigger. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteTriggerAsync(DeleteTriggerRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteTriggerAsync(TriggerName name, boolean allowMissing)
+ * deleteTriggerAsync(String name, boolean allowMissing)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteTriggerOperationCallable()
+ * deleteTriggerCallable()
* GetChannel Get a single Channel. Request object method variants only take one parameter, a request object, which must be constructed before the call. getChannel(GetChannelRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getChannel(ChannelName name)
+ * getChannel(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getChannelCallable()
* ListChannels List channels. Request object method variants only take one parameter, a request object, which must be constructed before the call. listChannels(ListChannelsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listChannels(LocationName parent)
+ * listChannels(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listChannelsPagedCallable()
+ * listChannelsCallable()
* CreateChannel Create a new channel in a particular project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. createChannelAsync(CreateChannelRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createChannelAsync(LocationName parent, Channel channel, String channelId)
+ * createChannelAsync(String parent, Channel channel, String channelId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createChannelOperationCallable()
+ * createChannelCallable()
* UpdateChannel Update a single channel. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateChannelAsync(UpdateChannelRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateChannelAsync(Channel channel, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateChannelOperationCallable()
+ * updateChannelCallable()
* DeleteChannel Delete a single channel. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteChannelAsync(DeleteChannelRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteChannelAsync(ChannelName name)
+ * deleteChannelAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteChannelOperationCallable()
+ * deleteChannelCallable()
* GetProvider Get a single Provider. Request object method variants only take one parameter, a request object, which must be constructed before the call. getProvider(GetProviderRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getProvider(ProviderName name)
+ * getProvider(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getProviderCallable()
* ListProviders List providers. Request object method variants only take one parameter, a request object, which must be constructed before the call. listProviders(ListProvidersRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listProviders(LocationName parent)
+ * listProviders(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listProvidersPagedCallable()
+ * listProvidersCallable()
* GetChannelConnection Get a single ChannelConnection. Request object method variants only take one parameter, a request object, which must be constructed before the call. getChannelConnection(GetChannelConnectionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getChannelConnection(ChannelConnectionName name)
+ * getChannelConnection(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getChannelConnectionCallable()
* ListChannelConnections List channel connections. Request object method variants only take one parameter, a request object, which must be constructed before the call. listChannelConnections(ListChannelConnectionsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listChannelConnections(LocationName parent)
+ * listChannelConnections(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listChannelConnectionsPagedCallable()
+ * listChannelConnectionsCallable()
* CreateChannelConnection Create a new ChannelConnection in a particular project and location. Request object method variants only take one parameter, a request object, which must be constructed before the call. createChannelConnectionAsync(CreateChannelConnectionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createChannelConnectionAsync(LocationName parent, ChannelConnection channelConnection, String channelConnectionId)
+ * createChannelConnectionAsync(String parent, ChannelConnection channelConnection, String channelConnectionId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createChannelConnectionOperationCallable()
+ * createChannelConnectionCallable()
* DeleteChannelConnection Delete a single ChannelConnection. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteChannelConnectionAsync(DeleteChannelConnectionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteChannelConnectionAsync(ChannelConnectionName name)
+ * deleteChannelConnectionAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteChannelConnectionOperationCallable()
+ * deleteChannelConnectionCallable()
* GetGoogleChannelConfig Get a GoogleChannelConfig Request object method variants only take one parameter, a request object, which must be constructed before the call. getGoogleChannelConfig(GetGoogleChannelConfigRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getGoogleChannelConfig(GoogleChannelConfigName name)
+ * getGoogleChannelConfig(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getGoogleChannelConfigCallable()
* UpdateGoogleChannelConfig Update a single GoogleChannelConfig Request object method variants only take one parameter, a request object, which must be constructed before the call. updateGoogleChannelConfig(UpdateGoogleChannelConfigRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. updateGoogleChannelConfig(GoogleChannelConfig googleChannelConfig, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateGoogleChannelConfigCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* SetIamPolicy Sets the access control policy on the specified resource. Replacesany existing policy.
* Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors. Request object method variants only take one parameter, a request object, which must be constructed before the call. setIamPolicy(SetIamPolicyRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. setIamPolicyCallable()
* GetIamPolicy Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set. Request object method variants only take one parameter, a request object, which must be constructed before the call. getIamPolicy(GetIamPolicyRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getIamPolicyCallable()
* TestIamPermissions Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error.
* Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning. Request object method variants only take one parameter, a request object, which must be constructed before the call. testIamPermissions(TestIamPermissionsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. testIamPermissionsCallable()
* See the individual methods for example code.
diff --git a/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/stub/EventarcStubSettings.java b/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/stub/EventarcStubSettings.java
index ce42a1e0e003..c5f1cfba9836 100644
--- a/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/stub/EventarcStubSettings.java
+++ b/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/stub/EventarcStubSettings.java
@@ -675,6 +675,15 @@ public EventarcStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -1024,7 +1033,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -1037,7 +1045,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -1569,6 +1576,15 @@ public UnaryCallSettings.Builder ListInstances Lists all instances in a project for either a specified location or for all locations. Request object method variants only take one parameter, a request object, which must be constructed before the call. listInstances(ListInstancesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listInstances(LocationName parent)
+ * listInstances(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listInstancesPagedCallable()
+ * listInstancesCallable()
* GetInstance Gets the details of a specific instance. Request object method variants only take one parameter, a request object, which must be constructed before the call. getInstance(GetInstanceRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getInstance(InstanceName name)
+ * getInstance(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getInstanceCallable()
* CreateInstance Creates an instance. When creating from a backup, the capacity of the new instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier). Request object method variants only take one parameter, a request object, which must be constructed before the call. createInstanceAsync(CreateInstanceRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createInstanceAsync(LocationName parent, Instance instance, String instanceId)
+ * createInstanceAsync(String parent, Instance instance, String instanceId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createInstanceOperationCallable()
+ * createInstanceCallable()
* UpdateInstance Updates the settings of a specific instance. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateInstanceAsync(UpdateInstanceRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateInstanceAsync(Instance instance, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateInstanceOperationCallable()
+ * updateInstanceCallable()
* RestoreInstance Restores an existing instance's file share from a backup.
* The capacity of the instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier). Request object method variants only take one parameter, a request object, which must be constructed before the call. restoreInstanceAsync(RestoreInstanceRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. restoreInstanceOperationCallable()
+ * restoreInstanceCallable()
* RevertInstance Revert an existing instance's file system to a specified snapshot. Request object method variants only take one parameter, a request object, which must be constructed before the call. revertInstanceAsync(RevertInstanceRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. revertInstanceOperationCallable()
+ * revertInstanceCallable()
* DeleteInstance Deletes an instance. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteInstanceAsync(DeleteInstanceRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteInstanceAsync(InstanceName name)
+ * deleteInstanceAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteInstanceOperationCallable()
+ * deleteInstanceCallable()
* ListSnapshots Lists all snapshots in a project for either a specified location or for all locations. Request object method variants only take one parameter, a request object, which must be constructed before the call. listSnapshots(ListSnapshotsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listSnapshots(InstanceName parent)
+ * listSnapshots(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listSnapshotsPagedCallable()
+ * listSnapshotsCallable()
* GetSnapshot Gets the details of a specific snapshot. Request object method variants only take one parameter, a request object, which must be constructed before the call. getSnapshot(GetSnapshotRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getSnapshot(SnapshotName name)
+ * getSnapshot(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getSnapshotCallable()
* CreateSnapshot Creates a snapshot. Request object method variants only take one parameter, a request object, which must be constructed before the call. createSnapshotAsync(CreateSnapshotRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createSnapshotAsync(InstanceName parent, Snapshot snapshot, String snapshotId)
+ * createSnapshotAsync(String parent, Snapshot snapshot, String snapshotId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createSnapshotOperationCallable()
+ * createSnapshotCallable()
* DeleteSnapshot Deletes a snapshot. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteSnapshotAsync(DeleteSnapshotRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteSnapshotAsync(SnapshotName name)
+ * deleteSnapshotAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteSnapshotOperationCallable()
+ * deleteSnapshotCallable()
* UpdateSnapshot Updates the settings of a specific snapshot. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateSnapshotAsync(UpdateSnapshotRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateSnapshotAsync(Snapshot snapshot, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateSnapshotOperationCallable()
+ * updateSnapshotCallable()
* ListBackups Lists all backups in a project for either a specified location or for all locations. Request object method variants only take one parameter, a request object, which must be constructed before the call. listBackups(ListBackupsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listBackups(LocationName parent)
+ * listBackups(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listBackupsPagedCallable()
+ * listBackupsCallable()
* GetBackup Gets the details of a specific backup. Request object method variants only take one parameter, a request object, which must be constructed before the call. getBackup(GetBackupRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getBackup(BackupName name)
+ * getBackup(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getBackupCallable()
* CreateBackup Creates a backup. Request object method variants only take one parameter, a request object, which must be constructed before the call. createBackupAsync(CreateBackupRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createBackupAsync(LocationName parent, Backup backup, String backupId)
+ * createBackupAsync(String parent, Backup backup, String backupId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createBackupOperationCallable()
+ * createBackupCallable()
* DeleteBackup Deletes a backup. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteBackupAsync(DeleteBackupRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteBackupAsync(BackupName name)
+ * deleteBackupAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteBackupOperationCallable()
+ * deleteBackupCallable()
* UpdateBackup Updates the settings of a specific backup. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateBackupAsync(UpdateBackupRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateBackupAsync(Backup backup, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateBackupOperationCallable()
+ * updateBackupCallable()
* See the individual methods for example code.
diff --git a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/CloudFilestoreManagerStubSettings.java b/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/CloudFilestoreManagerStubSettings.java
index ead29eb02d74..096ed9fc76fc 100644
--- a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/CloudFilestoreManagerStubSettings.java
+++ b/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/CloudFilestoreManagerStubSettings.java
@@ -503,6 +503,15 @@ public CloudFilestoreManagerStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -867,7 +876,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -880,7 +888,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -1434,6 +1441,15 @@ public UnaryCallSettings.Builder ListInstances Lists all instances in a project for either a specified location or for all locations. Request object method variants only take one parameter, a request object, which must be constructed before the call. listInstances(ListInstancesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listInstances(LocationName parent)
+ * listInstances(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listInstancesPagedCallable()
+ * listInstancesCallable()
* GetInstance Gets the details of a specific instance. Request object method variants only take one parameter, a request object, which must be constructed before the call. getInstance(GetInstanceRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getInstance(InstanceName name)
+ * getInstance(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getInstanceCallable()
* CreateInstance Creates an instance. When creating from a backup, the capacity of the new instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier). Request object method variants only take one parameter, a request object, which must be constructed before the call. createInstanceAsync(CreateInstanceRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createInstanceAsync(LocationName parent, Instance instance, String instanceId)
+ * createInstanceAsync(String parent, Instance instance, String instanceId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createInstanceOperationCallable()
+ * createInstanceCallable()
* UpdateInstance Updates the settings of a specific instance. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateInstanceAsync(UpdateInstanceRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateInstanceAsync(Instance instance, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateInstanceOperationCallable()
+ * updateInstanceCallable()
* RestoreInstance Restores an existing instance's file share from a backup.
* The capacity of the instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier). Request object method variants only take one parameter, a request object, which must be constructed before the call. restoreInstanceAsync(RestoreInstanceRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. restoreInstanceOperationCallable()
+ * restoreInstanceCallable()
* RevertInstance Revert an existing instance's file system to a specified snapshot. Request object method variants only take one parameter, a request object, which must be constructed before the call. revertInstanceAsync(RevertInstanceRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. revertInstanceOperationCallable()
+ * revertInstanceCallable()
* DeleteInstance Deletes an instance. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteInstanceAsync(DeleteInstanceRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteInstanceAsync(InstanceName name)
+ * deleteInstanceAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteInstanceOperationCallable()
+ * deleteInstanceCallable()
* ListSnapshots Lists all snapshots in a project for either a specified location or for all locations. Request object method variants only take one parameter, a request object, which must be constructed before the call. listSnapshots(ListSnapshotsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listSnapshots(InstanceName parent)
+ * listSnapshots(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listSnapshotsPagedCallable()
+ * listSnapshotsCallable()
* GetSnapshot Gets the details of a specific snapshot. Request object method variants only take one parameter, a request object, which must be constructed before the call. getSnapshot(GetSnapshotRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getSnapshot(SnapshotName name)
+ * getSnapshot(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getSnapshotCallable()
* CreateSnapshot Creates a snapshot. Request object method variants only take one parameter, a request object, which must be constructed before the call. createSnapshotAsync(CreateSnapshotRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createSnapshotAsync(InstanceName parent, Snapshot snapshot, String snapshotId)
+ * createSnapshotAsync(String parent, Snapshot snapshot, String snapshotId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createSnapshotOperationCallable()
+ * createSnapshotCallable()
* DeleteSnapshot Deletes a snapshot. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteSnapshotAsync(DeleteSnapshotRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteSnapshotAsync(SnapshotName name)
+ * deleteSnapshotAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteSnapshotOperationCallable()
+ * deleteSnapshotCallable()
* UpdateSnapshot Updates the settings of a specific snapshot. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateSnapshotAsync(UpdateSnapshotRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateSnapshotAsync(Snapshot snapshot, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateSnapshotOperationCallable()
+ * updateSnapshotCallable()
* ListBackups Lists all backups in a project for either a specified location or for all locations. Request object method variants only take one parameter, a request object, which must be constructed before the call. listBackups(ListBackupsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listBackups(LocationName parent)
+ * listBackups(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listBackupsPagedCallable()
+ * listBackupsCallable()
* GetBackup Gets the details of a specific backup. Request object method variants only take one parameter, a request object, which must be constructed before the call. getBackup(GetBackupRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getBackup(BackupName name)
+ * getBackup(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getBackupCallable()
* CreateBackup Creates a backup. Request object method variants only take one parameter, a request object, which must be constructed before the call. createBackupAsync(CreateBackupRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createBackupAsync(LocationName parent, Backup backup, String backupId)
+ * createBackupAsync(String parent, Backup backup, String backupId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createBackupOperationCallable()
+ * createBackupCallable()
* DeleteBackup Deletes a backup. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteBackupAsync(DeleteBackupRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteBackupAsync(BackupName name)
+ * deleteBackupAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteBackupOperationCallable()
+ * deleteBackupCallable()
* UpdateBackup Updates the settings of a specific backup. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateBackupAsync(UpdateBackupRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateBackupAsync(Backup backup, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateBackupOperationCallable()
+ * updateBackupCallable()
* ListShares Lists all shares for a specified instance. Request object method variants only take one parameter, a request object, which must be constructed before the call. listShares(ListSharesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listShares(InstanceName parent)
+ * listShares(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listSharesPagedCallable()
+ * listSharesCallable()
* GetShare Gets the details of a specific share. Request object method variants only take one parameter, a request object, which must be constructed before the call. getShare(GetShareRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getShare(ShareName name)
+ * getShare(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getShareCallable()
* CreateShare Creates a share. Request object method variants only take one parameter, a request object, which must be constructed before the call. createShareAsync(CreateShareRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createShareAsync(InstanceName parent, Share share, String shareId)
+ * createShareAsync(String parent, Share share, String shareId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createShareOperationCallable()
+ * createShareCallable()
* DeleteShare Deletes a share. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteShareAsync(DeleteShareRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteShareAsync(ShareName name)
+ * deleteShareAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteShareOperationCallable()
+ * deleteShareCallable()
* UpdateShare Updates the settings of a specific share. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateShareAsync(UpdateShareRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateShareAsync(Share share, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateShareOperationCallable()
+ * updateShareCallable()
* See the individual methods for example code.
diff --git a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/CloudFilestoreManagerStubSettings.java b/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/CloudFilestoreManagerStubSettings.java
index f95c2a8b95db..3a66e31464e3 100644
--- a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/CloudFilestoreManagerStubSettings.java
+++ b/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/CloudFilestoreManagerStubSettings.java
@@ -621,6 +621,15 @@ public CloudFilestoreManagerStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -1032,7 +1041,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -1045,7 +1053,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -1743,6 +1750,15 @@ public UnaryCallSettings.Builder ListFunctions Returns a list of functions that belong to the requested project. Request object method variants only take one parameter, a request object, which must be constructed before the call. listFunctions(ListFunctionsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listFunctionsPagedCallable()
+ * listFunctionsCallable()
* GetFunction Returns a function with the given name from the requested project. Request object method variants only take one parameter, a request object, which must be constructed before the call. getFunction(GetFunctionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getFunction(CloudFunctionName name)
+ * getFunction(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getFunctionCallable()
* CreateFunction Creates a new function. If a function with the given name already exists in the specified project, the long running operation returns an `ALREADY_EXISTS` error. Request object method variants only take one parameter, a request object, which must be constructed before the call. createFunctionAsync(CreateFunctionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createFunctionAsync(LocationName location, CloudFunction function)
+ * createFunctionAsync(String location, CloudFunction function)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createFunctionOperationCallable()
+ * createFunctionCallable()
* UpdateFunction Updates existing function. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateFunctionAsync(UpdateFunctionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateFunctionAsync(CloudFunction function)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateFunctionOperationCallable()
+ * updateFunctionCallable()
* DeleteFunction Deletes a function with the given name from the specified project. If the given function is used by some trigger, the trigger is updated to remove this function. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteFunctionAsync(DeleteFunctionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteFunctionAsync(CloudFunctionName name)
+ * deleteFunctionAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteFunctionOperationCallable()
+ * deleteFunctionCallable()
* CallFunction Synchronously invokes a deployed Cloud Function. To be used for testing purposes as very limited traffic is allowed. For more information on the actual limits, refer to [Rate Limits](https://cloud.google.com/functions/quotas#rate_limits). Request object method variants only take one parameter, a request object, which must be constructed before the call. callFunction(CallFunctionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. callFunction(CloudFunctionName name, String data)
+ * callFunction(String name, String data)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. callFunctionCallable()
* GenerateUploadUrl Returns a signed URL for uploading a function source code. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls. Once the function source code upload is complete, the used signed URL should be provided in CreateFunction or UpdateFunction request as a reference to the function source code.
* When uploading source code to the generated signed URL, please follow these restrictions:
* Request object method variants only take one parameter, a request object, which must be constructed before the call. generateUploadUrl(GenerateUploadUrlRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. generateUploadUrlCallable()
* GenerateDownloadUrl Returns a signed URL for downloading deployed function source code. The URL is only valid for a limited period and must be used within minutes after generation. For more information about the signed URL usage, see: https://cloud.google.com/storage/docs/access-control/signed-urls Request object method variants only take one parameter, a request object, which must be constructed before the call. generateDownloadUrl(GenerateDownloadUrlRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. generateDownloadUrlCallable()
* SetIamPolicy Sets the IAM access control policy on the specified function. Replaces any existing policy. Request object method variants only take one parameter, a request object, which must be constructed before the call. setIamPolicy(SetIamPolicyRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. setIamPolicyCallable()
* GetIamPolicy Gets the IAM access control policy for a function. Returns an empty policy if the function exists and does not have a policy set. Request object method variants only take one parameter, a request object, which must be constructed before the call. getIamPolicy(GetIamPolicyRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getIamPolicyCallable()
* TestIamPermissions Tests the specified permissions against the IAM access control policy for a function. If the function does not exist, this returns an empty set of permissions, not a NOT_FOUND error. Request object method variants only take one parameter, a request object, which must be constructed before the call. testIamPermissions(TestIamPermissionsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. testIamPermissionsCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* See the individual methods for example code.
diff --git a/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java b/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java
index 9a18581e8f7a..4c18628bdda9 100644
--- a/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java
+++ b/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java
@@ -359,6 +359,15 @@ public CloudFunctionsServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -634,7 +643,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -647,7 +655,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -897,6 +904,15 @@ public UnaryCallSettings.Builder GetFunction Returns a function with the given name from the requested project. Request object method variants only take one parameter, a request object, which must be constructed before the call. getFunction(GetFunctionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getFunction(FunctionName name)
+ * getFunction(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getFunctionCallable()
* ListFunctions Returns a list of functions that belong to the requested project. Request object method variants only take one parameter, a request object, which must be constructed before the call. listFunctions(ListFunctionsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listFunctions(LocationName parent)
+ * listFunctions(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listFunctionsPagedCallable()
+ * listFunctionsCallable()
* CreateFunction Creates a new function. If a function with the given name already exists in the specified project, the long running operation will return `ALREADY_EXISTS` error. Request object method variants only take one parameter, a request object, which must be constructed before the call. createFunctionAsync(CreateFunctionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createFunctionAsync(LocationName parent, Function function, String functionId)
+ * createFunctionAsync(String parent, Function function, String functionId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createFunctionOperationCallable()
+ * createFunctionCallable()
* UpdateFunction Updates existing function. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateFunctionAsync(UpdateFunctionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateFunctionAsync(Function function, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateFunctionOperationCallable()
+ * updateFunctionCallable()
* DeleteFunction Deletes a function with the given name from the specified project. If the given function is used by some trigger, the trigger will be updated to remove this function. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteFunctionAsync(DeleteFunctionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteFunctionAsync(FunctionName name)
+ * deleteFunctionAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteFunctionOperationCallable()
+ * deleteFunctionCallable()
* GenerateUploadUrl Returns a signed URL for uploading a function source code. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls. Once the function source code upload is complete, the used signed URL should be provided in CreateFunction or UpdateFunction request as a reference to the function source code.
* When uploading source code to the generated signed URL, please follow these restrictions:
* Request object method variants only take one parameter, a request object, which must be constructed before the call. generateUploadUrl(GenerateUploadUrlRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. generateUploadUrlCallable()
* GenerateDownloadUrl Returns a signed URL for downloading deployed function source code. The URL is only valid for a limited period and should be used within 30 minutes of generation. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls Request object method variants only take one parameter, a request object, which must be constructed before the call. generateDownloadUrl(GenerateDownloadUrlRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. generateDownloadUrlCallable()
* ListRuntimes Returns a list of runtimes that are supported for the requested project. Request object method variants only take one parameter, a request object, which must be constructed before the call. listRuntimes(ListRuntimesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listRuntimes(LocationName parent)
+ * listRuntimes(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listRuntimesCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* SetIamPolicy Sets the access control policy on the specified resource. Replacesany existing policy.
* Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors. Request object method variants only take one parameter, a request object, which must be constructed before the call. setIamPolicy(SetIamPolicyRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. setIamPolicyCallable()
* GetIamPolicy Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set. Request object method variants only take one parameter, a request object, which must be constructed before the call. getIamPolicy(GetIamPolicyRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getIamPolicyCallable()
* TestIamPermissions Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error.
* Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning. Request object method variants only take one parameter, a request object, which must be constructed before the call. testIamPermissions(TestIamPermissionsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. testIamPermissionsCallable()
* See the individual methods for example code.
diff --git a/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/stub/FunctionServiceStubSettings.java b/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/stub/FunctionServiceStubSettings.java
index 6cd9a4829e47..141e5b7f6c32 100644
--- a/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/stub/FunctionServiceStubSettings.java
+++ b/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/stub/FunctionServiceStubSettings.java
@@ -356,6 +356,15 @@ public FunctionServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -602,7 +611,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -615,7 +623,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -865,6 +872,15 @@ public UnaryCallSettings.Builder GetFunction Returns a function with the given name from the requested project. Request object method variants only take one parameter, a request object, which must be constructed before the call. getFunction(GetFunctionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getFunction(FunctionName name)
+ * getFunction(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getFunctionCallable()
* ListFunctions Returns a list of functions that belong to the requested project. Request object method variants only take one parameter, a request object, which must be constructed before the call. listFunctions(ListFunctionsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listFunctions(LocationName parent)
+ * listFunctions(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listFunctionsPagedCallable()
+ * listFunctionsCallable()
* CreateFunction Creates a new function. If a function with the given name already exists in the specified project, the long running operation will return `ALREADY_EXISTS` error. Request object method variants only take one parameter, a request object, which must be constructed before the call. createFunctionAsync(CreateFunctionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createFunctionAsync(LocationName parent, Function function, String functionId)
+ * createFunctionAsync(String parent, Function function, String functionId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createFunctionOperationCallable()
+ * createFunctionCallable()
* UpdateFunction Updates existing function. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateFunctionAsync(UpdateFunctionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateFunctionAsync(Function function, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateFunctionOperationCallable()
+ * updateFunctionCallable()
* DeleteFunction Deletes a function with the given name from the specified project. If the given function is used by some trigger, the trigger will be updated to remove this function. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteFunctionAsync(DeleteFunctionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteFunctionAsync(FunctionName name)
+ * deleteFunctionAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteFunctionOperationCallable()
+ * deleteFunctionCallable()
* GenerateUploadUrl Returns a signed URL for uploading a function source code. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls. Once the function source code upload is complete, the used signed URL should be provided in CreateFunction or UpdateFunction request as a reference to the function source code.
* When uploading source code to the generated signed URL, please follow these restrictions:
* Request object method variants only take one parameter, a request object, which must be constructed before the call. generateUploadUrl(GenerateUploadUrlRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. generateUploadUrlCallable()
* GenerateDownloadUrl Returns a signed URL for downloading deployed function source code. The URL is only valid for a limited period and should be used within 30 minutes of generation. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls Request object method variants only take one parameter, a request object, which must be constructed before the call. generateDownloadUrl(GenerateDownloadUrlRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. generateDownloadUrlCallable()
* ListRuntimes Returns a list of runtimes that are supported for the requested project. Request object method variants only take one parameter, a request object, which must be constructed before the call. listRuntimes(ListRuntimesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listRuntimes(LocationName parent)
+ * listRuntimes(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listRuntimesCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* SetIamPolicy Sets the access control policy on the specified resource. Replacesany existing policy.
* Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors. Request object method variants only take one parameter, a request object, which must be constructed before the call. setIamPolicy(SetIamPolicyRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. setIamPolicyCallable()
* GetIamPolicy Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set. Request object method variants only take one parameter, a request object, which must be constructed before the call. getIamPolicy(GetIamPolicyRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getIamPolicyCallable()
* TestIamPermissions Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error.
* Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning. Request object method variants only take one parameter, a request object, which must be constructed before the call. testIamPermissions(TestIamPermissionsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. testIamPermissionsCallable()
* See the individual methods for example code.
diff --git a/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/stub/FunctionServiceStubSettings.java b/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/stub/FunctionServiceStubSettings.java
index 788f92fb63e2..2eca189b1d41 100644
--- a/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/stub/FunctionServiceStubSettings.java
+++ b/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/stub/FunctionServiceStubSettings.java
@@ -357,6 +357,15 @@ public FunctionServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -603,7 +612,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -616,7 +624,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -866,6 +873,15 @@ public UnaryCallSettings.Builder GetFunction Returns a function with the given name from the requested project. Request object method variants only take one parameter, a request object, which must be constructed before the call. getFunction(GetFunctionRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getFunction(FunctionName name)
+ * getFunction(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getFunctionCallable()
* ListFunctions Returns a list of functions that belong to the requested project. Request object method variants only take one parameter, a request object, which must be constructed before the call. listFunctions(ListFunctionsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listFunctions(LocationName parent)
+ * listFunctions(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listFunctionsPagedCallable()
+ * listFunctionsCallable()
* CreateFunction Creates a new function. If a function with the given name already exists in the specified project, the long running operation will return `ALREADY_EXISTS` error. Request object method variants only take one parameter, a request object, which must be constructed before the call. createFunctionAsync(CreateFunctionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createFunctionAsync(LocationName parent, Function function, String functionId)
+ * createFunctionAsync(String parent, Function function, String functionId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createFunctionOperationCallable()
+ * createFunctionCallable()
* UpdateFunction Updates existing function. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateFunctionAsync(UpdateFunctionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateFunctionAsync(Function function, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateFunctionOperationCallable()
+ * updateFunctionCallable()
* DeleteFunction Deletes a function with the given name from the specified project. If the given function is used by some trigger, the trigger will be updated to remove this function. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteFunctionAsync(DeleteFunctionRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteFunctionAsync(FunctionName name)
+ * deleteFunctionAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteFunctionOperationCallable()
+ * deleteFunctionCallable()
* GenerateUploadUrl Returns a signed URL for uploading a function source code. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls. Once the function source code upload is complete, the used signed URL should be provided in CreateFunction or UpdateFunction request as a reference to the function source code.
* When uploading source code to the generated signed URL, please follow these restrictions:
* Request object method variants only take one parameter, a request object, which must be constructed before the call. generateUploadUrl(GenerateUploadUrlRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. generateUploadUrlCallable()
* GenerateDownloadUrl Returns a signed URL for downloading deployed function source code. The URL is only valid for a limited period and should be used within 30 minutes of generation. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls Request object method variants only take one parameter, a request object, which must be constructed before the call. generateDownloadUrl(GenerateDownloadUrlRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. generateDownloadUrlCallable()
* ListRuntimes Returns a list of runtimes that are supported for the requested project. Request object method variants only take one parameter, a request object, which must be constructed before the call. listRuntimes(ListRuntimesRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listRuntimes(LocationName parent)
+ * listRuntimes(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listRuntimesCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* SetIamPolicy Sets the access control policy on the specified resource. Replacesany existing policy.
* Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors. Request object method variants only take one parameter, a request object, which must be constructed before the call. setIamPolicy(SetIamPolicyRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. setIamPolicyCallable()
* GetIamPolicy Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set. Request object method variants only take one parameter, a request object, which must be constructed before the call. getIamPolicy(GetIamPolicyRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getIamPolicyCallable()
* TestIamPermissions Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error.
* Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning. Request object method variants only take one parameter, a request object, which must be constructed before the call. testIamPermissions(TestIamPermissionsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. testIamPermissionsCallable()
* See the individual methods for example code.
diff --git a/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/stub/FunctionServiceStubSettings.java b/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/stub/FunctionServiceStubSettings.java
index 6c2da290abdd..8fd1fa64e5d7 100644
--- a/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/stub/FunctionServiceStubSettings.java
+++ b/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/stub/FunctionServiceStubSettings.java
@@ -357,6 +357,15 @@ public FunctionServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -603,7 +612,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -616,7 +624,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -866,6 +873,15 @@ public UnaryCallSettings.Builder CreateBackupPlan Creates a new BackupPlan in a given location. Request object method variants only take one parameter, a request object, which must be constructed before the call. createBackupPlanAsync(CreateBackupPlanRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createBackupPlanAsync(LocationName parent, BackupPlan backupPlan, String backupPlanId)
+ * createBackupPlanAsync(String parent, BackupPlan backupPlan, String backupPlanId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createBackupPlanOperationCallable()
+ * createBackupPlanCallable()
* ListBackupPlans Lists BackupPlans in a given location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listBackupPlans(ListBackupPlansRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listBackupPlans(LocationName parent)
+ * listBackupPlans(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listBackupPlansPagedCallable()
+ * listBackupPlansCallable()
* GetBackupPlan Retrieve the details of a single BackupPlan. Request object method variants only take one parameter, a request object, which must be constructed before the call. getBackupPlan(GetBackupPlanRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getBackupPlan(BackupPlanName name)
+ * getBackupPlan(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getBackupPlanCallable()
* UpdateBackupPlan Update a BackupPlan. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateBackupPlanAsync(UpdateBackupPlanRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateBackupPlanAsync(BackupPlan backupPlan, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateBackupPlanOperationCallable()
+ * updateBackupPlanCallable()
* DeleteBackupPlan Deletes an existing BackupPlan. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteBackupPlanAsync(DeleteBackupPlanRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteBackupPlanAsync(BackupPlanName name)
+ * deleteBackupPlanAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteBackupPlanOperationCallable()
+ * deleteBackupPlanCallable()
* CreateBackup Creates a Backup for the given BackupPlan. Request object method variants only take one parameter, a request object, which must be constructed before the call. createBackupAsync(CreateBackupRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createBackupAsync(BackupPlanName parent, Backup backup, String backupId)
+ * createBackupAsync(String parent, Backup backup, String backupId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createBackupOperationCallable()
+ * createBackupCallable()
* ListBackups Lists the Backups for a given BackupPlan. Request object method variants only take one parameter, a request object, which must be constructed before the call. listBackups(ListBackupsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listBackups(BackupPlanName parent)
+ * listBackups(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listBackupsPagedCallable()
+ * listBackupsCallable()
* GetBackup Retrieve the details of a single Backup. Request object method variants only take one parameter, a request object, which must be constructed before the call. getBackup(GetBackupRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getBackup(BackupName name)
+ * getBackup(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getBackupCallable()
* UpdateBackup Update a Backup. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateBackupAsync(UpdateBackupRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateBackupAsync(Backup backup, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateBackupOperationCallable()
+ * updateBackupCallable()
* DeleteBackup Deletes an existing Backup. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteBackupAsync(DeleteBackupRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteBackupAsync(BackupName name)
+ * deleteBackupAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteBackupOperationCallable()
+ * deleteBackupCallable()
* ListVolumeBackups Lists the VolumeBackups for a given Backup. Request object method variants only take one parameter, a request object, which must be constructed before the call. listVolumeBackups(ListVolumeBackupsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listVolumeBackups(BackupName parent)
+ * listVolumeBackups(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listVolumeBackupsPagedCallable()
+ * listVolumeBackupsCallable()
* GetVolumeBackup Retrieve the details of a single VolumeBackup. Request object method variants only take one parameter, a request object, which must be constructed before the call. getVolumeBackup(GetVolumeBackupRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getVolumeBackup(VolumeBackupName name)
+ * getVolumeBackup(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getVolumeBackupCallable()
* CreateRestorePlan Creates a new RestorePlan in a given location. Request object method variants only take one parameter, a request object, which must be constructed before the call. createRestorePlanAsync(CreateRestorePlanRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createRestorePlanAsync(LocationName parent, RestorePlan restorePlan, String restorePlanId)
+ * createRestorePlanAsync(String parent, RestorePlan restorePlan, String restorePlanId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createRestorePlanOperationCallable()
+ * createRestorePlanCallable()
* ListRestorePlans Lists RestorePlans in a given location. Request object method variants only take one parameter, a request object, which must be constructed before the call. listRestorePlans(ListRestorePlansRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listRestorePlans(LocationName parent)
+ * listRestorePlans(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listRestorePlansPagedCallable()
+ * listRestorePlansCallable()
* GetRestorePlan Retrieve the details of a single RestorePlan. Request object method variants only take one parameter, a request object, which must be constructed before the call. getRestorePlan(GetRestorePlanRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getRestorePlan(RestorePlanName name)
+ * getRestorePlan(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getRestorePlanCallable()
* UpdateRestorePlan Update a RestorePlan. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateRestorePlanAsync(UpdateRestorePlanRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateRestorePlanAsync(RestorePlan restorePlan, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateRestorePlanOperationCallable()
+ * updateRestorePlanCallable()
* DeleteRestorePlan Deletes an existing RestorePlan. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteRestorePlanAsync(DeleteRestorePlanRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteRestorePlanAsync(RestorePlanName name)
+ * deleteRestorePlanAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteRestorePlanOperationCallable()
+ * deleteRestorePlanCallable()
* CreateRestore Creates a new Restore for the given RestorePlan. Request object method variants only take one parameter, a request object, which must be constructed before the call. createRestoreAsync(CreateRestoreRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createRestoreAsync(RestorePlanName parent, Restore restore, String restoreId)
+ * createRestoreAsync(String parent, Restore restore, String restoreId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createRestoreOperationCallable()
+ * createRestoreCallable()
* ListRestores Lists the Restores for a given RestorePlan. Request object method variants only take one parameter, a request object, which must be constructed before the call. listRestores(ListRestoresRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listRestores(RestorePlanName parent)
+ * listRestores(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listRestoresPagedCallable()
+ * listRestoresCallable()
* GetRestore Retrieves the details of a single Restore. Request object method variants only take one parameter, a request object, which must be constructed before the call. getRestore(GetRestoreRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getRestore(RestoreName name)
+ * getRestore(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getRestoreCallable()
* UpdateRestore Update a Restore. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateRestoreAsync(UpdateRestoreRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateRestoreAsync(Restore restore, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateRestoreOperationCallable()
+ * updateRestoreCallable()
* DeleteRestore Deletes an existing Restore. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteRestoreAsync(DeleteRestoreRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteRestoreAsync(RestoreName name)
+ * deleteRestoreAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteRestoreOperationCallable()
+ * deleteRestoreCallable()
* ListVolumeRestores Lists the VolumeRestores for a given Restore. Request object method variants only take one parameter, a request object, which must be constructed before the call. listVolumeRestores(ListVolumeRestoresRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listVolumeRestores(RestoreName parent)
+ * listVolumeRestores(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listVolumeRestoresPagedCallable()
+ * listVolumeRestoresCallable()
* GetVolumeRestore Retrieve the details of a single VolumeRestore. Request object method variants only take one parameter, a request object, which must be constructed before the call. getVolumeRestore(GetVolumeRestoreRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getVolumeRestore(VolumeRestoreName name)
+ * getVolumeRestore(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getVolumeRestoreCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* SetIamPolicy Sets the access control policy on the specified resource. Replacesany existing policy.
* Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors. Request object method variants only take one parameter, a request object, which must be constructed before the call. setIamPolicy(SetIamPolicyRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. setIamPolicyCallable()
* GetIamPolicy Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set. Request object method variants only take one parameter, a request object, which must be constructed before the call. getIamPolicy(GetIamPolicyRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getIamPolicyCallable()
* TestIamPermissions Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error.
* Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning. Request object method variants only take one parameter, a request object, which must be constructed before the call. testIamPermissions(TestIamPermissionsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. testIamPermissionsCallable()
* See the individual methods for example code.
diff --git a/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/stub/BackupForGKEStubSettings.java b/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/stub/BackupForGKEStubSettings.java
index a79f2cc690f9..18ebf9c68089 100644
--- a/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/stub/BackupForGKEStubSettings.java
+++ b/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/stub/BackupForGKEStubSettings.java
@@ -862,6 +862,15 @@ public BackupForGKEStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -1319,7 +1328,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -1332,7 +1340,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -2055,6 +2062,15 @@ public UnaryCallSettings.Builder GetResource GetResource performs an HTTP GET request on the Kubernetes API Server. Request object method variants only take one parameter, a request object, which must be constructed before the call. getResource(HttpBody request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getResourceCallable()
* PostResource PostResource performs an HTTP POST on the Kubernetes API Server. Request object method variants only take one parameter, a request object, which must be constructed before the call. postResource(HttpBody request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. postResourceCallable()
* DeleteResource DeleteResource performs an HTTP DELETE on the Kubernetes API Server. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteResource(HttpBody request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteResourceCallable()
* PutResource PutResource performs an HTTP PUT on the Kubernetes API Server. Request object method variants only take one parameter, a request object, which must be constructed before the call. putResource(HttpBody request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. putResourceCallable()
* PatchResource PatchResource performs an HTTP PATCH on the Kubernetes API Server. Request object method variants only take one parameter, a request object, which must be constructed before the call. patchResource(HttpBody request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. patchResourceCallable()
* See the individual methods for example code.
diff --git a/java-gke-connect-gateway/google-cloud-gke-connect-gateway/src/main/java/com/google/cloud/gkeconnect/gateway/v1beta1/stub/GatewayServiceStubSettings.java b/java-gke-connect-gateway/google-cloud-gke-connect-gateway/src/main/java/com/google/cloud/gkeconnect/gateway/v1beta1/stub/GatewayServiceStubSettings.java
index c03eea6e477a..d1668cfef619 100644
--- a/java-gke-connect-gateway/google-cloud-gke-connect-gateway/src/main/java/com/google/cloud/gkeconnect/gateway/v1beta1/stub/GatewayServiceStubSettings.java
+++ b/java-gke-connect-gateway/google-cloud-gke-connect-gateway/src/main/java/com/google/cloud/gkeconnect/gateway/v1beta1/stub/GatewayServiceStubSettings.java
@@ -127,6 +127,15 @@ public GatewayServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -279,7 +288,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -355,6 +363,15 @@ public UnaryCallSettings.Builder CreateAttachedCluster Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a given Google Cloud Platform project and region.
* If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation. Request object method variants only take one parameter, a request object, which must be constructed before the call. createAttachedClusterAsync(CreateAttachedClusterRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createAttachedClusterAsync(LocationName parent, AttachedCluster attachedCluster, String attachedClusterId)
+ * createAttachedClusterAsync(String parent, AttachedCluster attachedCluster, String attachedClusterId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createAttachedClusterOperationCallable()
+ * createAttachedClusterCallable()
* UpdateAttachedCluster Updates an [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateAttachedClusterAsync(UpdateAttachedClusterRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateAttachedClusterAsync(AttachedCluster attachedCluster, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateAttachedClusterOperationCallable()
+ * updateAttachedClusterCallable()
* ImportAttachedCluster Imports creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource by importing an existing Fleet Membership resource.
* Attached Clusters created before the introduction of the Anthos Multi-Cloud API can be imported through this method.
* If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation. Request object method variants only take one parameter, a request object, which must be constructed before the call. importAttachedClusterAsync(ImportAttachedClusterRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. importAttachedClusterAsync(LocationName parent, String fleetMembership)
+ * importAttachedClusterAsync(String parent, String fleetMembership)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. importAttachedClusterOperationCallable()
+ * importAttachedClusterCallable()
* GetAttachedCluster Describes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource. Request object method variants only take one parameter, a request object, which must be constructed before the call. getAttachedCluster(GetAttachedClusterRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getAttachedCluster(AttachedClusterName name)
+ * getAttachedCluster(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getAttachedClusterCallable()
* ListAttachedClusters Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources on a given Google Cloud project and region. Request object method variants only take one parameter, a request object, which must be constructed before the call. listAttachedClusters(ListAttachedClustersRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listAttachedClusters(LocationName parent)
+ * listAttachedClusters(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listAttachedClustersPagedCallable()
+ * listAttachedClustersCallable()
* DeleteAttachedCluster Deletes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
* If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteAttachedClusterAsync(DeleteAttachedClusterRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteAttachedClusterAsync(AttachedClusterName name)
+ * deleteAttachedClusterAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteAttachedClusterOperationCallable()
+ * deleteAttachedClusterCallable()
* GetAttachedServerConfig Returns information, such as supported Kubernetes versions, on a given Google Cloud location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getAttachedServerConfig(GetAttachedServerConfigRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getAttachedServerConfig(AttachedServerConfigName name)
+ * getAttachedServerConfig(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getAttachedServerConfigCallable()
* GenerateAttachedClusterInstallManifest Generates the install manifest to be installed on the target cluster. Request object method variants only take one parameter, a request object, which must be constructed before the call. generateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. generateAttachedClusterInstallManifest(LocationName parent, String attachedClusterId)
+ * generateAttachedClusterInstallManifest(String parent, String attachedClusterId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. generateAttachedClusterInstallManifestCallable()
* GenerateAttachedClusterAgentToken Generates an access token for a cluster agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. generateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. generateAttachedClusterAgentTokenCallable()
* See the individual methods for example code.
diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java
index 2efa6714fd1b..59673babc9e4 100644
--- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java
+++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java
@@ -63,307 +63,308 @@
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
* CreateAwsCluster Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given Google Cloud Platform project and region.
* If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation. Request object method variants only take one parameter, a request object, which must be constructed before the call. createAwsClusterAsync(CreateAwsClusterRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createAwsClusterAsync(LocationName parent, AwsCluster awsCluster, String awsClusterId)
+ * createAwsClusterAsync(String parent, AwsCluster awsCluster, String awsClusterId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createAwsClusterOperationCallable()
+ * createAwsClusterCallable()
* UpdateAwsCluster Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateAwsClusterAsync(UpdateAwsClusterRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateAwsClusterAsync(AwsCluster awsCluster, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateAwsClusterOperationCallable()
+ * updateAwsClusterCallable()
* GetAwsCluster Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource. Request object method variants only take one parameter, a request object, which must be constructed before the call. getAwsCluster(GetAwsClusterRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getAwsCluster(AwsClusterName name)
+ * getAwsCluster(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getAwsClusterCallable()
* ListAwsClusters Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources on a given Google Cloud project and region. Request object method variants only take one parameter, a request object, which must be constructed before the call. listAwsClusters(ListAwsClustersRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listAwsClusters(LocationName parent)
+ * listAwsClusters(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listAwsClustersPagedCallable()
+ * listAwsClustersCallable()
* DeleteAwsCluster Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
* Fails if the cluster has one or more associated [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
* If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteAwsClusterAsync(DeleteAwsClusterRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteAwsClusterAsync(AwsClusterName name)
+ * deleteAwsClusterAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteAwsClusterOperationCallable()
+ * deleteAwsClusterCallable()
* GenerateAwsClusterAgentToken Generates an access token for a cluster agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. generateAwsClusterAgentToken(GenerateAwsClusterAgentTokenRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. generateAwsClusterAgentTokenCallable()
* GenerateAwsAccessToken Generates a short-lived access token to authenticate to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource. Request object method variants only take one parameter, a request object, which must be constructed before the call. generateAwsAccessToken(GenerateAwsAccessTokenRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. generateAwsAccessTokenCallable()
* CreateAwsNodePool Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool], attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
* If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation. Request object method variants only take one parameter, a request object, which must be constructed before the call. createAwsNodePoolAsync(CreateAwsNodePoolRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createAwsNodePoolAsync(AwsClusterName parent, AwsNodePool awsNodePool, String awsNodePoolId)
+ * createAwsNodePoolAsync(String parent, AwsNodePool awsNodePool, String awsNodePoolId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createAwsNodePoolOperationCallable()
+ * createAwsNodePoolCallable()
* UpdateAwsNodePool Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateAwsNodePoolAsync(UpdateAwsNodePoolRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateAwsNodePoolAsync(AwsNodePool awsNodePool, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateAwsNodePoolOperationCallable()
+ * updateAwsNodePoolCallable()
* RollbackAwsNodePoolUpdate Rolls back a previously aborted or failed [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request. Makes no changes if the last update request successfully finished. If an update request is in progress, you cannot rollback the update. You must first cancel or let it finish unsuccessfully before you can rollback. Request object method variants only take one parameter, a request object, which must be constructed before the call. rollbackAwsNodePoolUpdateAsync(RollbackAwsNodePoolUpdateRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. rollbackAwsNodePoolUpdateAsync(AwsNodePoolName name)
+ * rollbackAwsNodePoolUpdateAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. rollbackAwsNodePoolUpdateOperationCallable()
+ * rollbackAwsNodePoolUpdateCallable()
* GetAwsNodePool Describes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource. Request object method variants only take one parameter, a request object, which must be constructed before the call. getAwsNodePool(GetAwsNodePoolRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getAwsNodePool(AwsNodePoolName name)
+ * getAwsNodePool(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getAwsNodePoolCallable()
* ListAwsNodePools Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources on a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]. Request object method variants only take one parameter, a request object, which must be constructed before the call. listAwsNodePools(ListAwsNodePoolsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listAwsNodePools(AwsClusterName parent)
+ * listAwsNodePools(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listAwsNodePoolsPagedCallable()
+ * listAwsNodePoolsCallable()
* DeleteAwsNodePool Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
* If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteAwsNodePoolAsync(DeleteAwsNodePoolRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteAwsNodePoolAsync(AwsNodePoolName name)
+ * deleteAwsNodePoolAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteAwsNodePoolOperationCallable()
+ * deleteAwsNodePoolCallable()
* GetAwsOpenIdConfig Gets the OIDC discovery document for the cluster. See the [OpenID Connect Discovery 1.0 specification](https://openid.net/specs/openid-connect-discovery-1_0.html) for details. Request object method variants only take one parameter, a request object, which must be constructed before the call. getAwsOpenIdConfig(GetAwsOpenIdConfigRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getAwsOpenIdConfigCallable()
* GetAwsJsonWebKeys Gets the public component of the cluster signing keys in JSON Web Key format. Request object method variants only take one parameter, a request object, which must be constructed before the call. getAwsJsonWebKeys(GetAwsJsonWebKeysRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getAwsJsonWebKeysCallable()
* GetAwsServerConfig Returns information, such as supported AWS regions and Kubernetes versions, on a given Google Cloud location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getAwsServerConfig(GetAwsServerConfigRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getAwsServerConfig(AwsServerConfigName name)
+ * getAwsServerConfig(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getAwsServerConfigCallable()
* See the individual methods for example code.
diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java
index 30f2921c07ee..4ca72b0eec67 100644
--- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java
+++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java
@@ -63,380 +63,381 @@
* as threads. In the example above, try-with-resources is used, which automatically calls close().
*
* CreateAzureClient Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource on a given Google Cloud project and region.
* `AzureClient` resources hold client authentication information needed by the Anthos Multicloud API to manage Azure resources on your Azure subscription on your behalf.
* If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation. Request object method variants only take one parameter, a request object, which must be constructed before the call. createAzureClientAsync(CreateAzureClientRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createAzureClientAsync(LocationName parent, AzureClient azureClient, String azureClientId)
+ * createAzureClientAsync(String parent, AzureClient azureClient, String azureClientId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createAzureClientOperationCallable()
+ * createAzureClientCallable()
* GetAzureClient Describes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource. Request object method variants only take one parameter, a request object, which must be constructed before the call. getAzureClient(GetAzureClientRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getAzureClient(AzureClientName name)
+ * getAzureClient(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getAzureClientCallable()
* ListAzureClients Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources on a given Google Cloud project and region. Request object method variants only take one parameter, a request object, which must be constructed before the call. listAzureClients(ListAzureClientsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listAzureClients(LocationName parent)
+ * listAzureClients(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listAzureClientsPagedCallable()
+ * listAzureClientsCallable()
* DeleteAzureClient Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
* If the client is used by one or more clusters, deletion will fail and a `FAILED_PRECONDITION` error will be returned.
* If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteAzureClientAsync(DeleteAzureClientRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteAzureClientAsync(AzureClientName name)
+ * deleteAzureClientAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteAzureClientOperationCallable()
+ * deleteAzureClientCallable()
* CreateAzureCluster Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given Google Cloud Platform project and region.
* If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation. Request object method variants only take one parameter, a request object, which must be constructed before the call. createAzureClusterAsync(CreateAzureClusterRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createAzureClusterAsync(LocationName parent, AzureCluster azureCluster, String azureClusterId)
+ * createAzureClusterAsync(String parent, AzureCluster azureCluster, String azureClusterId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createAzureClusterOperationCallable()
+ * createAzureClusterCallable()
* UpdateAzureCluster Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateAzureClusterAsync(UpdateAzureClusterRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateAzureClusterAsync(AzureCluster azureCluster, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateAzureClusterOperationCallable()
+ * updateAzureClusterCallable()
* GetAzureCluster Describes a specific [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource. Request object method variants only take one parameter, a request object, which must be constructed before the call. getAzureCluster(GetAzureClusterRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getAzureCluster(AzureClusterName name)
+ * getAzureCluster(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getAzureClusterCallable()
* ListAzureClusters Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources on a given Google Cloud project and region. Request object method variants only take one parameter, a request object, which must be constructed before the call. listAzureClusters(ListAzureClustersRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listAzureClusters(LocationName parent)
+ * listAzureClusters(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listAzureClustersPagedCallable()
+ * listAzureClustersCallable()
* DeleteAzureCluster Deletes a specific [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
* Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
* If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteAzureClusterAsync(DeleteAzureClusterRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteAzureClusterAsync(AzureClusterName name)
+ * deleteAzureClusterAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteAzureClusterOperationCallable()
+ * deleteAzureClusterCallable()
* GenerateAzureClusterAgentToken Generates an access token for a cluster agent. Request object method variants only take one parameter, a request object, which must be constructed before the call. generateAzureClusterAgentToken(GenerateAzureClusterAgentTokenRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. generateAzureClusterAgentTokenCallable()
* GenerateAzureAccessToken Generates a short-lived access token to authenticate to a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource. Request object method variants only take one parameter, a request object, which must be constructed before the call. generateAzureAccessToken(GenerateAzureAccessTokenRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. generateAzureAccessTokenCallable()
* CreateAzureNodePool Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool], attached to a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
* If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation. Request object method variants only take one parameter, a request object, which must be constructed before the call. createAzureNodePoolAsync(CreateAzureNodePoolRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. createAzureNodePoolAsync(AzureClusterName parent, AzureNodePool azureNodePool, String azureNodePoolId)
+ * createAzureNodePoolAsync(String parent, AzureNodePool azureNodePool, String azureNodePoolId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createAzureNodePoolOperationCallable()
+ * createAzureNodePoolCallable()
* UpdateAzureNodePool Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]. Request object method variants only take one parameter, a request object, which must be constructed before the call. updateAzureNodePoolAsync(UpdateAzureNodePoolRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. updateAzureNodePoolAsync(AzureNodePool azureNodePool, FieldMask updateMask)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. updateAzureNodePoolOperationCallable()
+ * updateAzureNodePoolCallable()
* GetAzureNodePool Describes a specific [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource. Request object method variants only take one parameter, a request object, which must be constructed before the call. getAzureNodePool(GetAzureNodePoolRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getAzureNodePool(AzureNodePoolName name)
+ * getAzureNodePool(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getAzureNodePoolCallable()
* ListAzureNodePools Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]. Request object method variants only take one parameter, a request object, which must be constructed before the call. listAzureNodePools(ListAzureNodePoolsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listAzureNodePools(AzureClusterName parent)
+ * listAzureNodePools(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listAzureNodePoolsPagedCallable()
+ * listAzureNodePoolsCallable()
* DeleteAzureNodePool Deletes a specific [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
* If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteAzureNodePoolAsync(DeleteAzureNodePoolRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteAzureNodePoolAsync(AzureNodePoolName name)
+ * deleteAzureNodePoolAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteAzureNodePoolOperationCallable()
+ * deleteAzureNodePoolCallable()
* GetAzureOpenIdConfig Gets the OIDC discovery document for the cluster. See the [OpenID Connect Discovery 1.0 specification](https://openid.net/specs/openid-connect-discovery-1_0.html) for details. Request object method variants only take one parameter, a request object, which must be constructed before the call. getAzureOpenIdConfig(GetAzureOpenIdConfigRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getAzureOpenIdConfig(AzureClusterName azureCluster)
+ * getAzureOpenIdConfig(String azureCluster)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getAzureOpenIdConfigCallable()
* GetAzureJsonWebKeys Gets the public component of the cluster signing keys in JSON Web Key format. Request object method variants only take one parameter, a request object, which must be constructed before the call. getAzureJsonWebKeys(GetAzureJsonWebKeysRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getAzureJsonWebKeys(AzureClusterName azureCluster)
+ * getAzureJsonWebKeys(String azureCluster)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getAzureJsonWebKeysCallable()
* GetAzureServerConfig Returns information, such as supported Azure regions and Kubernetes versions, on a given Google Cloud location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getAzureServerConfig(GetAzureServerConfigRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getAzureServerConfig(AzureServerConfigName name)
+ * getAzureServerConfig(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getAzureServerConfigCallable()
* See the individual methods for example code.
diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStubSettings.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStubSettings.java
index 3f694f3a5958..14b65d28e9c1 100644
--- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStubSettings.java
+++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStubSettings.java
@@ -319,6 +319,15 @@ public AttachedClustersStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -595,7 +604,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -608,7 +616,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -873,6 +880,15 @@ public Builder applyToAllUnaryMethods(
return generateAttachedClusterAgentTokenSettings;
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
@Override
public AttachedClustersStubSettings build() throws IOException {
return new AttachedClustersStubSettings(this);
diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java
index a03ec35637f3..8e6bd35a7ca4 100644
--- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java
+++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java
@@ -434,6 +434,15 @@ public AwsClustersStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -765,7 +774,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -778,7 +786,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -1207,6 +1214,15 @@ public UnaryCallSettings.Builder
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListAgents
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetAgent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateAgent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateAgent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteAgent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ExportAgent
+ *
*
*
*
*
- *
*
- *
*
- *
* RestoreAgent
+ *
*
*
*
- *
*
- *
*
- *
* ValidateAgent
+ *
*
*
*
*
- *
*
- *
*
- *
* GetAgentValidationResult
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetGenerativeSettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateGenerativeSettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListChangelogs
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetChangelog
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListDeployments
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetDeployment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* GetEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListEntityTypes
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListEnvironments
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetEnvironment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateEnvironment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateEnvironment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteEnvironment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* LookupEnvironmentHistory
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* RunContinuousTest
+ *
*
*
*
*
- *
*
- *
*
- *
* ListContinuousTestResults
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeployFlow
+ *
*
*
*
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListExperiments
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetExperiment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateExperiment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateExperiment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteExperiment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* StartExperiment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* StopExperiment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* CreateFlow
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteFlow
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListFlows
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetFlow
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateFlow
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* TrainFlow
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* ValidateFlow
+ *
*
*
*
*
- *
*
- *
*
- *
* GetFlowValidationResult
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ImportFlow
+ *
*
*
*
- *
*
- *
*
- *
* ExportFlow
+ *
*
*
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListGenerators
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetGenerator
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateGenerator
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateGenerator
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteGenerator
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListIntents
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetIntent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateIntent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateIntent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteIntent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ImportIntents
+ *
*
*
*
*
- *
*
- *
*
- *
* ExportIntents
+ *
*
*
*
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListPages
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetPage
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreatePage
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdatePage
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeletePage
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* CreateSecuritySettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetSecuritySettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateSecuritySettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListSecuritySettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteSecuritySettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListSessionEntityTypes
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetSessionEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateSessionEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateSessionEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteSessionEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* DetectIntent
+ *
*
*
*
*
- *
*
- *
*
- *
* StreamingDetectIntent
+ *
*
*
*
*
- *
*
- *
* MatchIntent
+ *
*
*
*
*
- *
*
- *
*
- *
* FulfillIntent
+ *
*
*
*
*
- *
*
- *
*
- *
* SubmitAnswerFeedback
+ *
*
*
*
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListTestCases
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* BatchDeleteTestCases
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetTestCase
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateTestCase
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateTestCase
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* RunTestCase
+ *
*
*
*
*
- *
*
- *
*
- *
* BatchRunTestCases
+ *
*
*
*
*
- *
*
- *
*
- *
* CalculateCoverage
+ *
*
*
*
*
- *
*
- *
*
- *
* ImportTestCases
+ *
*
*
*
*
- *
*
- *
*
- *
* ExportTestCases
+ *
*
*
*
*
- *
*
- *
*
- *
* ListTestCaseResults
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetTestCaseResult
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListTransitionRouteGroups
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetTransitionRouteGroup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateTransitionRouteGroup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateTransitionRouteGroup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteTransitionRouteGroup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListVersions
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* LoadVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CompareVersions
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListWebhooks
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetWebhook
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateWebhook
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateWebhook
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteWebhook
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListAgents
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetAgent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateAgent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateAgent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteAgent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ExportAgent
+ *
*
*
*
*
- *
*
- *
*
- *
* RestoreAgent
+ *
*
*
*
- *
*
- *
*
- *
* ValidateAgent
+ *
*
*
*
*
- *
*
- *
*
- *
* GetAgentValidationResult
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetGenerativeSettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateGenerativeSettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListChangelogs
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetChangelog
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListDeployments
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetDeployment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* GetEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListEntityTypes
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListEnvironments
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetEnvironment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateEnvironment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateEnvironment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteEnvironment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* LookupEnvironmentHistory
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* RunContinuousTest
+ *
*
*
*
*
- *
*
- *
*
- *
* ListContinuousTestResults
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeployFlow
+ *
*
*
*
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListExperiments
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetExperiment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateExperiment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateExperiment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteExperiment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* StartExperiment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* StopExperiment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* CreateFlow
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteFlow
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListFlows
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetFlow
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateFlow
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* TrainFlow
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* ValidateFlow
+ *
*
*
*
*
- *
*
- *
*
- *
* GetFlowValidationResult
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ImportFlow
+ *
*
*
*
- *
*
- *
*
- *
* ExportFlow
+ *
*
*
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListGenerators
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetGenerator
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateGenerator
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateGenerator
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteGenerator
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListIntents
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetIntent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateIntent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateIntent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteIntent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ImportIntents
+ *
*
*
*
*
- *
*
- *
*
- *
* ExportIntents
+ *
*
*
*
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListPages
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetPage
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreatePage
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdatePage
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeletePage
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* CreateSecuritySettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetSecuritySettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateSecuritySettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListSecuritySettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteSecuritySettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListSessionEntityTypes
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetSessionEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateSessionEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateSessionEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteSessionEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* DetectIntent
+ *
*
*
*
*
- *
*
- *
*
- *
* StreamingDetectIntent
+ *
*
*
*
*
- *
*
- *
* MatchIntent
+ *
*
*
*
*
- *
*
- *
*
- *
* FulfillIntent
+ *
*
*
*
*
- *
*
- *
*
- *
* SubmitAnswerFeedback
+ *
*
*
*
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListTestCases
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* BatchDeleteTestCases
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetTestCase
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateTestCase
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateTestCase
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* RunTestCase
+ *
*
*
*
*
- *
*
- *
*
- *
* BatchRunTestCases
+ *
*
*
*
*
- *
*
- *
*
- *
* CalculateCoverage
+ *
*
*
*
*
- *
*
- *
*
- *
* ImportTestCases
+ *
*
*
*
*
- *
*
- *
*
- *
* ExportTestCases
+ *
*
*
*
*
- *
*
- *
*
- *
* ListTestCaseResults
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetTestCaseResult
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListTransitionRouteGroups
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetTransitionRouteGroup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateTransitionRouteGroup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateTransitionRouteGroup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteTransitionRouteGroup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListVersions
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* LoadVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CompareVersions
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListWebhooks
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetWebhook
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateWebhook
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateWebhook
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteWebhook
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* GetAgent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* SetAgent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteAgent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* SearchAgents
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* TrainAgent
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* ExportAgent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ImportAgent
+ *
*
*
*
- *
*
- *
*
- *
* RestoreAgent
+ *
*
*
*
- *
*
- *
*
- *
* GetValidationResult
+ *
*
*
*
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListAnswerRecords
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateAnswerRecord
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListContexts
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetContext
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateContext
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateContext
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteContext
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteAllContexts
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* CreateConversationDataset
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetConversationDataset
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListConversationDatasets
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteConversationDataset
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ImportConversationData
+ *
*
*
*
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* CreateConversationModel
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetConversationModel
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListConversationModels
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteConversationModel
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeployConversationModel
+ *
*
*
*
*
- *
*
- *
*
- *
* UndeployConversationModel
+ *
*
*
*
*
- *
*
- *
*
- *
* GetConversationModelEvaluation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListConversationModelEvaluations
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateConversationModelEvaluation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListConversationProfiles
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetConversationProfile
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateConversationProfile
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateConversationProfile
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteConversationProfile
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* SetSuggestionFeatureConfig
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* ClearSuggestionFeatureConfig
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* CreateConversation
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* ListConversations
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetConversation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CompleteConversation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListMessages
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* SuggestConversationSummary
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GenerateStatelessSummary
+ *
*
*
*
*
- *
*
- *
*
- *
* SearchKnowledge
+ *
*
*
*
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListDocuments
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetDocument
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateDocument
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ImportDocuments
+ *
*
*
*
*
- *
*
- *
*
- *
* DeleteDocument
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateDocument
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ReloadDocument
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* ExportDocument
+ *
*
*
*
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListEntityTypes
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* BatchUpdateEntityTypes
+ *
*
*
*
- *
*
- *
*
- *
* BatchDeleteEntityTypes
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* BatchCreateEntities
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* BatchUpdateEntities
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* BatchDeleteEntities
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListEnvironments
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetEnvironment
+ *
*
*
*
*
- *
*
- *
*
- *
* CreateEnvironment
+ *
*
*
*
*
- *
*
- *
*
- *
* UpdateEnvironment
+ *
*
*
*
*
- *
*
- *
*
- *
* DeleteEnvironment
+ *
*
*
*
*
- *
*
- *
*
- *
* GetEnvironmentHistory
+ *
*
*
*
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* GetFulfillment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateFulfillment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListIntents
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetIntent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateIntent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateIntent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteIntent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* BatchUpdateIntents
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* BatchDeleteIntents
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListKnowledgeBases
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetKnowledgeBase
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateKnowledgeBase
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteKnowledgeBase
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateKnowledgeBase
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* CreateParticipant
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetParticipant
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListParticipants
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateParticipant
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* AnalyzeContent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* StreamingAnalyzeContent
+ *
*
*
*
*
- *
*
- *
* SuggestArticles
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* SuggestFaqAnswers
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* SuggestSmartReplies
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListSessionEntityTypes
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetSessionEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateSessionEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateSessionEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteSessionEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* DetectIntent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* StreamingDetectIntent
+ *
*
*
*
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListVersions
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* GetAgent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* SetAgent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteAgent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* SearchAgents
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* TrainAgent
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* ExportAgent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ImportAgent
+ *
*
*
*
- *
*
- *
*
- *
* RestoreAgent
+ *
*
*
*
- *
*
- *
*
- *
* GetValidationResult
+ *
*
*
*
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* GetAnswerRecord
+ *
*
*
*
*
- *
*
- *
*
- *
* ListAnswerRecords
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateAnswerRecord
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListContexts
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetContext
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateContext
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateContext
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteContext
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteAllContexts
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListConversationProfiles
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetConversationProfile
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateConversationProfile
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateConversationProfile
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteConversationProfile
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* SetSuggestionFeatureConfig
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* ClearSuggestionFeatureConfig
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* CreateConversation
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* ListConversations
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetConversation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CompleteConversation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* BatchCreateMessages
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListMessages
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* SuggestConversationSummary
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GenerateStatelessSummary
+ *
*
*
*
*
- *
*
- *
*
- *
* SearchKnowledge
+ *
*
*
*
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListDocuments
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetDocument
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateDocument
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* ImportDocuments
+ *
*
*
*
*
- *
*
- *
*
- *
* DeleteDocument
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateDocument
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* ReloadDocument
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListEntityTypes
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* BatchUpdateEntityTypes
+ *
*
*
*
- *
*
- *
*
- *
* BatchDeleteEntityTypes
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* BatchCreateEntities
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* BatchUpdateEntities
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* BatchDeleteEntities
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListEnvironments
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetEnvironment
+ *
*
*
*
*
- *
*
- *
*
- *
* CreateEnvironment
+ *
*
*
*
*
- *
*
- *
*
- *
* UpdateEnvironment
+ *
*
*
*
*
- *
*
- *
*
- *
* DeleteEnvironment
+ *
*
*
*
*
- *
*
- *
*
- *
* GetEnvironmentHistory
+ *
*
*
*
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* GetFulfillment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateFulfillment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListIntents
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetIntent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateIntent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateIntent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteIntent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* BatchUpdateIntents
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* BatchDeleteIntents
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListKnowledgeBases
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetKnowledgeBase
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateKnowledgeBase
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteKnowledgeBase
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateKnowledgeBase
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* CreateParticipant
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetParticipant
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListParticipants
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateParticipant
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* AnalyzeContent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* StreamingAnalyzeContent
+ *
*
*
*
*
- *
*
- *
* SuggestArticles
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* SuggestFaqAnswers
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* SuggestSmartReplies
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListSuggestions
+ *
*
*
*
*
- *
*
- *
*
- *
* CompileSuggestion
+ *
*
*
*
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListSessionEntityTypes
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetSessionEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateSessionEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateSessionEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteSessionEntityType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* DetectIntent
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* StreamingDetectIntent
+ *
*
*
*
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListVersions
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
- *
* CompleteQuery
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ConverseConversation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateConversation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteConversation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateConversation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetConversation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
- *
* ListConversations
+ *
*
*
*
*
- *
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* GetDocument
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListDocuments
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateDocument
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateDocument
+ *
*
*
*
*
- *
*
- *
*
- *
* DeleteDocument
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ImportDocuments
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* PurgeDocuments
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* GetSchema
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListSchemas
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateSchema
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateSchema
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* DeleteSchema
+ *
*
*
*
*
- *
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
- *
* Search
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* WriteUserEvent
+ *
*
*
*
*
- *
*
- *
*
- *
* CollectUserEvent
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* ImportUserEvents
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
- *
* CompleteQuery
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ConverseConversation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateConversation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteConversation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateConversation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetConversation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
- *
* ListConversations
+ *
*
*
*
*
- *
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* CreateDataStore
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetDataStore
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListDataStores
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteDataStore
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
- *
* UpdateDataStore
+ *
*
*
*
*
- *
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* GetDocument
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListDocuments
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateDocument
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateDocument
+ *
*
*
*
*
- *
*
- *
*
- *
* DeleteDocument
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ImportDocuments
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* PurgeDocuments
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* CreateEngine
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteEngine
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateEngine
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetEngine
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListEngines
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* PauseEngine
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ResumeEngine
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
- *
* TuneEngine
+ *
*
*
*
*
- *
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
- *
* Recommend
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* GetSchema
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListSchemas
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateSchema
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateSchema
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* DeleteSchema
+ *
*
*
*
*
- *
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
- *
* Search
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
- *
* TrainCustomModel
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* GetSiteSearchEngine
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateTargetSite
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* BatchCreateTargetSites
+ *
*
*
*
*
- *
*
- *
*
- *
* GetTargetSite
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateTargetSite
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteTargetSite
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListTargetSites
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* EnableAdvancedSiteSearch
+ *
*
*
*
*
- *
*
- *
*
- *
* DisableAdvancedSiteSearch
+ *
*
*
*
*
- *
*
- *
*
- *
* RecrawlUris
+ *
*
*
*
*
- *
*
- *
*
- *
* BatchVerifyTargetSites
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* FetchDomainVerificationStatus
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* WriteUserEvent
+ *
*
*
*
*
- *
*
- *
*
- *
* CollectUserEvent
+ *
*
*
*
*
- *
*
- *
*
- *
* PurgeUserEvents
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* ImportUserEvents
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
- *
* CompleteQuery
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ConverseConversation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateConversation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteConversation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateConversation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetConversation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
- *
* ListConversations
+ *
*
*
*
*
- *
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* GetDocument
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListDocuments
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateDocument
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateDocument
+ *
*
*
*
*
- *
*
- *
*
- *
* DeleteDocument
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ImportDocuments
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* PurgeDocuments
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
- *
* Recommend
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* GetSchema
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListSchemas
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateSchema
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateSchema
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* DeleteSchema
+ *
*
*
*
*
- *
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
- *
* Search
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* WriteUserEvent
+ *
*
*
*
*
- *
*
- *
*
- *
* CollectUserEvent
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* ImportUserEvents
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListClusters
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetCluster
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateCluster
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateCluster
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteCluster
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GenerateAccessToken
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListNodePools
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetNodePool
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateNodePool
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateNodePool
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteNodePool
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListMachines
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetMachine
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListVpnConnections
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetVpnConnection
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateVpnConnection
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
- *
* DeleteVpnConnection
+ *
*
*
*
*
- *
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* InspectContent
+ *
*
*
*
*
- *
*
- *
*
- *
* RedactImage
+ *
*
*
*
*
- *
*
- *
*
- *
* DeidentifyContent
+ *
*
*
*
*
- *
*
- *
*
- *
* ReidentifyContent
+ *
*
*
*
*
- *
*
- *
*
- *
* ListInfoTypes
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateInspectTemplate
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateInspectTemplate
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetInspectTemplate
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListInspectTemplates
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteInspectTemplate
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateDeidentifyTemplate
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateDeidentifyTemplate
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetDeidentifyTemplate
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListDeidentifyTemplates
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteDeidentifyTemplate
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateJobTrigger
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateJobTrigger
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* HybridInspectJobTrigger
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetJobTrigger
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListJobTriggers
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteJobTrigger
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ActivateJobTrigger
+ *
*
*
*
*
- *
*
- *
*
- *
* CreateDiscoveryConfig
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateDiscoveryConfig
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetDiscoveryConfig
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListDiscoveryConfigs
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteDiscoveryConfig
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateDlpJob
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListDlpJobs
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetDlpJob
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteDlpJob
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CancelDlpJob
+ *
*
*
*
*
- *
*
- *
*
- *
* CreateStoredInfoType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateStoredInfoType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetStoredInfoType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListStoredInfoTypes
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteStoredInfoType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* HybridInspectDlpJob
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
- *
* FinishDlpJob
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListMigrationJobs
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetMigrationJob
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateMigrationJob
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateMigrationJob
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteMigrationJob
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* StartMigrationJob
+ *
*
*
*
*
- *
*
- *
*
- *
* StopMigrationJob
+ *
*
*
*
*
- *
*
- *
*
- *
* ResumeMigrationJob
+ *
*
*
*
*
- *
*
- *
*
- *
* PromoteMigrationJob
+ *
*
*
*
*
- *
*
- *
*
- *
* VerifyMigrationJob
+ *
*
*
*
*
- *
*
- *
*
- *
* RestartMigrationJob
+ *
*
*
*
*
- *
*
- *
*
- *
* GenerateSshScript
+ *
*
*
*
*
- *
*
- *
*
- *
* GenerateTcpProxyScript
+ *
*
*
*
*
- *
*
- *
*
- *
* ListConnectionProfiles
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetConnectionProfile
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateConnectionProfile
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateConnectionProfile
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteConnectionProfile
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreatePrivateConnection
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetPrivateConnection
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListPrivateConnections
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeletePrivateConnection
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetConversionWorkspace
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListConversionWorkspaces
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateConversionWorkspace
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateConversionWorkspace
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteConversionWorkspace
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateMappingRule
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteMappingRule
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListMappingRules
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetMappingRule
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* SeedConversionWorkspace
+ *
*
*
*
*
- *
*
- *
*
- *
* ImportMappingRules
+ *
*
*
*
*
- *
*
- *
*
- *
* ConvertConversionWorkspace
+ *
*
*
*
*
- *
*
- *
*
- *
* CommitConversionWorkspace
+ *
*
*
*
*
- *
*
- *
*
- *
* RollbackConversionWorkspace
+ *
*
*
*
*
- *
*
- *
*
- *
* ApplyConversionWorkspace
+ *
*
*
*
*
- *
*
- *
*
- *
* DescribeDatabaseEntities
+ *
*
*
*
*
- *
*
- *
*
- *
* SearchBackgroundJobs
+ *
*
*
*
*
- *
*
- *
*
- *
* DescribeConversionWorkspaceRevisions
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* FetchStaticIps
+ *
*
*
*
*
- *
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ProcessDocument
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* BatchProcessDocuments
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* FetchProcessorTypes
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListProcessorTypes
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetProcessorType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListProcessors
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetProcessor
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* TrainProcessorVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetProcessorVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListProcessorVersions
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteProcessorVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeployProcessorVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UndeployProcessorVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateProcessor
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteProcessor
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* EnableProcessor
+ *
*
*
*
*
- *
*
- *
*
- *
* DisableProcessor
+ *
*
*
*
*
- *
*
- *
*
- *
* SetDefaultProcessorVersion
+ *
*
*
*
*
- *
*
- *
*
- *
* ReviewDocument
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* EvaluateProcessorVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetEvaluation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListEvaluations
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
- *
* BatchProcessDocuments
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* BatchProcessDocuments
+ *
*
*
*
*
- *
*
- *
*
- *
* ProcessDocument
+ *
*
*
*
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ProcessDocument
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* BatchProcessDocuments
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* FetchProcessorTypes
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListProcessorTypes
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetProcessorType
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListProcessors
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetProcessor
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* TrainProcessorVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetProcessorVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListProcessorVersions
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteProcessorVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeployProcessorVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UndeployProcessorVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateProcessor
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteProcessor
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* EnableProcessor
+ *
*
*
*
*
- *
*
- *
*
- *
* DisableProcessor
+ *
*
*
*
*
- *
*
- *
*
- *
* SetDefaultProcessorVersion
+ *
*
*
*
*
- *
*
- *
*
- *
* ReviewDocument
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* EvaluateProcessorVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetEvaluation
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListEvaluations
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ImportProcessorVersion
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* UpdateDataset
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ImportDocuments
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetDocument
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListDocuments
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* BatchDeleteDocuments
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetDatasetSchema
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateDatasetSchema
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* SearchDomains
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* RetrieveRegisterParameters
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* RegisterDomain
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* RetrieveTransferParameters
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* TransferDomain
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* ListRegistrations
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetRegistration
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateRegistration
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ConfigureManagementSettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ConfigureDnsSettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ConfigureContactSettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ExportRegistration
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteRegistration
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* RetrieveAuthorizationCode
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
- *
* ResetAuthorizationCode
+ *
*
*
*
*
- *
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* SearchDomains
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* RetrieveRegisterParameters
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* RegisterDomain
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* RetrieveTransferParameters
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* TransferDomain
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* ListRegistrations
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetRegistration
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateRegistration
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ConfigureManagementSettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ConfigureDnsSettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ConfigureContactSettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ExportRegistration
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteRegistration
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* RetrieveAuthorizationCode
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
- *
* ResetAuthorizationCode
+ *
*
*
*
*
- *
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* SearchDomains
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* RetrieveRegisterParameters
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* RegisterDomain
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* RetrieveTransferParameters
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* TransferDomain
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* ListRegistrations
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetRegistration
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateRegistration
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ConfigureManagementSettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ConfigureDnsSettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ConfigureContactSettings
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ExportRegistration
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteRegistration
+ *
*
*
*
- *
*
- *
*
- *
*
- *
* RetrieveAuthorizationCode
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
- *
* ResetAuthorizationCode
+ *
*
*
*
*
- *
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* InitializeZone
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListZones
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetZone
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListNetworks
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetNetwork
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DiagnoseNetwork
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateNetwork
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteNetwork
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListSubnets
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetSubnet
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateSubnet
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateSubnet
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteSubnet
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListInterconnects
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetInterconnect
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DiagnoseInterconnect
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListInterconnectAttachments
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetInterconnectAttachment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateInterconnectAttachment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteInterconnectAttachment
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListRouters
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetRouter
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DiagnoseRouter
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateRouter
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateRouter
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteRouter
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* CreateEntityReconciliationJob
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetEntityReconciliationJob
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListEntityReconciliationJobs
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CancelEntityReconciliationJob
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteEntityReconciliationJob
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* Lookup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* Search
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* LookupPublicKg
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
- *
* SearchPublicKg
+ *
*
*
*
*
- *
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* GetGroup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
- *
* UpdateGroup
+ *
*
*
*
*
- *
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListGroupStats
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListEvents
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
- *
* DeleteEvents
+ *
*
*
*
*
- *
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
- *
* ReportErrorEvent
+ *
*
@@ -67,20 +69,19 @@
*
*
*
- *
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* CreateContact
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateContact
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListContacts
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetContact
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteContact
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ComputeContacts
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* SendTestMessage
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* PublishChannelConnectionEvents
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* PublishEvents
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* GetTrigger
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListTriggers
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateTrigger
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateTrigger
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteTrigger
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetChannel
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListChannels
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateChannel
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateChannel
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteChannel
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetProvider
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListProviders
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetChannelConnection
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListChannelConnections
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateChannelConnection
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteChannelConnection
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetGoogleChannelConfig
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateGoogleChannelConfig
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
- *
* SetIamPolicy
+ *
*
*
*
*
- *
*
- *
*
- *
* GetIamPolicy
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* TestIamPermissions
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListInstances
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetInstance
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateInstance
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateInstance
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* RestoreInstance
+ *
*
*
*
*
- *
*
- *
*
- *
* RevertInstance
+ *
*
*
*
*
- *
*
- *
*
- *
* DeleteInstance
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListSnapshots
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetSnapshot
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateSnapshot
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteSnapshot
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateSnapshot
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListBackups
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetBackup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateBackup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteBackup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
- *
* UpdateBackup
+ *
*
*
*
*
- *
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListInstances
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetInstance
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateInstance
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateInstance
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* RestoreInstance
+ *
*
*
*
*
- *
*
- *
*
- *
* RevertInstance
+ *
*
*
*
*
- *
*
- *
*
- *
* DeleteInstance
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListSnapshots
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetSnapshot
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateSnapshot
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteSnapshot
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateSnapshot
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListBackups
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetBackup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateBackup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteBackup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateBackup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListShares
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetShare
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateShare
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteShare
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
- *
* UpdateShare
+ *
*
*
*
*
- *
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* ListFunctions
+ *
*
*
*
*
- *
*
- *
*
- *
* GetFunction
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateFunction
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateFunction
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteFunction
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CallFunction
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GenerateUploadUrl
+ *
*
@@ -208,86 +210,85 @@
*
*
*
- *
*
- *
*
- *
* GenerateDownloadUrl
+ *
*
*
*
*
- *
*
- *
*
- *
* SetIamPolicy
+ *
*
*
*
*
- *
*
- *
*
- *
* GetIamPolicy
+ *
*
*
*
*
- *
*
- *
*
- *
* TestIamPermissions
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* GetFunction
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListFunctions
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateFunction
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateFunction
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteFunction
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GenerateUploadUrl
+ *
*
@@ -197,107 +199,106 @@
*
*
*
- *
*
- *
*
- *
* GenerateDownloadUrl
+ *
*
*
*
*
- *
*
- *
*
- *
* ListRuntimes
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
* SetIamPolicy
+ *
*
*
*
*
- *
*
- *
*
- *
* GetIamPolicy
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* TestIamPermissions
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* GetFunction
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListFunctions
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateFunction
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateFunction
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteFunction
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GenerateUploadUrl
+ *
*
@@ -197,107 +199,106 @@
*
*
*
- *
*
- *
*
- *
* GenerateDownloadUrl
+ *
*
*
*
*
- *
*
- *
*
- *
* ListRuntimes
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
* SetIamPolicy
+ *
*
*
*
*
- *
*
- *
*
- *
* GetIamPolicy
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* TestIamPermissions
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* GetFunction
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListFunctions
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateFunction
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateFunction
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteFunction
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GenerateUploadUrl
+ *
*
@@ -197,107 +199,106 @@
*
*
*
- *
*
- *
*
- *
* GenerateDownloadUrl
+ *
*
*
*
*
- *
*
- *
*
- *
* ListRuntimes
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
* SetIamPolicy
+ *
*
*
*
*
- *
*
- *
*
- *
* GetIamPolicy
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* TestIamPermissions
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* CreateBackupPlan
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListBackupPlans
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetBackupPlan
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateBackupPlan
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteBackupPlan
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateBackup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListBackups
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetBackup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateBackup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteBackup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListVolumeBackups
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetVolumeBackup
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateRestorePlan
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListRestorePlans
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetRestorePlan
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateRestorePlan
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteRestorePlan
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateRestore
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListRestores
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetRestore
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateRestore
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteRestore
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListVolumeRestores
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetVolumeRestore
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
- *
* SetIamPolicy
+ *
*
*
*
*
- *
*
- *
*
- *
* GetIamPolicy
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* TestIamPermissions
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* GetResource
+ *
*
*
*
*
- *
*
- *
*
- *
* PostResource
+ *
*
*
*
*
- *
*
- *
*
- *
* DeleteResource
+ *
*
*
*
*
- *
*
- *
*
- *
* PutResource
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* PatchResource
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* CreateAttachedCluster
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateAttachedCluster
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ImportAttachedCluster
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetAttachedCluster
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListAttachedClusters
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteAttachedCluster
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetAttachedServerConfig
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GenerateAttachedClusterInstallManifest
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
- *
* GenerateAttachedClusterAgentToken
+ *
*
*
*
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* CreateAwsCluster
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateAwsCluster
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetAwsCluster
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListAwsClusters
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteAwsCluster
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GenerateAwsClusterAgentToken
+ *
*
*
*
*
- *
*
- *
*
- *
* GenerateAwsAccessToken
+ *
*
*
*
*
- *
*
- *
*
- *
* CreateAwsNodePool
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateAwsNodePool
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* RollbackAwsNodePoolUpdate
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetAwsNodePool
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListAwsNodePools
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteAwsNodePool
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetAwsOpenIdConfig
+ *
*
*
*
*
- *
*
- *
*
- *
* GetAwsJsonWebKeys
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetAwsServerConfig
+ *
*
*
*
*
- *
*
- *
*
- *
*
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* CreateAzureClient
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetAzureClient
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListAzureClients
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteAzureClient
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* CreateAzureCluster
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateAzureCluster
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetAzureCluster
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListAzureClusters
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteAzureCluster
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GenerateAzureClusterAgentToken
+ *
*
*
*
*
- *
*
- *
*
- *
* GenerateAzureAccessToken
+ *
*
*
*
*
- *
*
- *
*
- *
* CreateAzureNodePool
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* UpdateAzureNodePool
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetAzureNodePool
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListAzureNodePools
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteAzureNodePool
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetAzureOpenIdConfig
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetAzureJsonWebKeys
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
- *
* GetAzureServerConfig
+ *
*
*
*
*
- *
*
- *
*
- *
*