Dialogflow API C++ Client 2.13.0
A C++ Client Library for the Dialogflow API
Loading...
Searching...
No Matches
versions_connection_idempotency_policy.h
1// Copyright 2022 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// https://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// Generated by the Codegen C++ plugin.
16// If you make any local changes, they will be lost.
17// source: google/cloud/dialogflow/cx/v3/version.proto
18
19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_VERSIONS_CONNECTION_IDEMPOTENCY_POLICY_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_VERSIONS_CONNECTION_IDEMPOTENCY_POLICY_H
21
22#include "google/cloud/idempotency.h"
23#include "google/cloud/internal/retry_policy.h"
24#include "google/cloud/version.h"
25#include <google/cloud/dialogflow/cx/v3/version.grpc.pb.h>
26#include <memory>
27
28namespace google {
29namespace cloud {
30namespace dialogflow_cx {
31GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
32
34 public:
36
37 /// Create a new copy of this object.
38 virtual std::unique_ptr<VersionsConnectionIdempotencyPolicy> clone() const;
39
41 google::cloud::dialogflow::cx::v3::ListVersionsRequest request);
42
44 google::cloud::dialogflow::cx::v3::GetVersionRequest const& request);
45
47 google::cloud::dialogflow::cx::v3::CreateVersionRequest const& request);
48
50 google::cloud::dialogflow::cx::v3::UpdateVersionRequest const& request);
51
53 google::cloud::dialogflow::cx::v3::DeleteVersionRequest const& request);
54
56 google::cloud::dialogflow::cx::v3::LoadVersionRequest const& request);
57
59 google::cloud::dialogflow::cx::v3::CompareVersionsRequest const& request);
60};
61
64
65GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
66} // namespace dialogflow_cx
67} // namespace cloud
68} // namespace google
69
70#endif // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_VERSIONS_CONNECTION_IDEMPOTENCY_POLICY_H
Definition: versions_connection_idempotency_policy.h:33
virtual google::cloud::Idempotency CreateVersion(google::cloud::dialogflow::cx::v3::CreateVersionRequest const &request)
virtual google::cloud::Idempotency CompareVersions(google::cloud::dialogflow::cx::v3::CompareVersionsRequest const &request)
virtual google::cloud::Idempotency ListVersions(google::cloud::dialogflow::cx::v3::ListVersionsRequest request)
virtual google::cloud::Idempotency LoadVersion(google::cloud::dialogflow::cx::v3::LoadVersionRequest const &request)
virtual std::unique_ptr< VersionsConnectionIdempotencyPolicy > clone() const
Create a new copy of this object.
virtual google::cloud::Idempotency DeleteVersion(google::cloud::dialogflow::cx::v3::DeleteVersionRequest const &request)
virtual google::cloud::Idempotency GetVersion(google::cloud::dialogflow::cx::v3::GetVersionRequest const &request)
virtual google::cloud::Idempotency UpdateVersion(google::cloud::dialogflow::cx::v3::UpdateVersionRequest const &request)
Definition: agents_client.h:33
std::unique_ptr< VersionsConnectionIdempotencyPolicy > MakeDefaultVersionsConnectionIdempotencyPolicy()