1- // Copyright 2021 Google LLC
1+ // Copyright 2022 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
55// You may obtain a copy of the License at
66//
7- // https://www.apache.org/licenses/LICENSE-2.0
7+ // https://www.apache.org/licenses/LICENSE-2.0
88//
99// Unless required by applicable law or agreed to in writing, software
1010// distributed under the License is distributed on an "AS IS" BASIS,
1111// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15+ // Generated by the Codegen C++ plugin.
16+ // If you make any local changes, they will be lost.
17+ // source: google/pubsub/v1/pubsub.proto
18+
1519#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_INTERNAL_PUBLISHER_AUTH_DECORATOR_H
1620#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_INTERNAL_PUBLISHER_AUTH_DECORATOR_H
1721
1822#include " google/cloud/pubsub/internal/publisher_stub.h"
19- #include " google/cloud/pubsub/version.h"
2023#include " google/cloud/internal/unified_grpc_credentials.h"
24+ #include " google/cloud/version.h"
2125#include < memory>
26+ #include < set>
27+ #include < string>
2228
2329namespace google {
2430namespace cloud {
@@ -27,10 +33,10 @@ GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
2733
2834class PublisherAuth : public PublisherStub {
2935 public:
36+ ~PublisherAuth () override = default ;
3037 PublisherAuth (
3138 std::shared_ptr<google::cloud::internal::GrpcAuthenticationStrategy> auth,
32- std::shared_ptr<PublisherStub> child)
33- : auth_(std::move(auth)), child_(std::move(child)) {}
39+ std::shared_ptr<PublisherStub> child);
3440
3541 StatusOr<google::pubsub::v1::Topic> CreateTopic (
3642 grpc::ClientContext& context,
0 commit comments