@@ -569,6 +569,297 @@ BigtableInstanceAdminClient::ListHotTablets(
569569 return connection_->ListHotTablets (std::move (request));
570570}
571571
572+ future<StatusOr<google::bigtable::admin::v2::LogicalView>>
573+ BigtableInstanceAdminClient::CreateLogicalView (
574+ std::string const & parent,
575+ google::bigtable::admin::v2::LogicalView const & logical_view,
576+ std::string const & logical_view_id, Options opts) {
577+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
578+ google::bigtable::admin::v2::CreateLogicalViewRequest request;
579+ request.set_parent (parent);
580+ *request.mutable_logical_view () = logical_view;
581+ request.set_logical_view_id (logical_view_id);
582+ return connection_->CreateLogicalView (request);
583+ }
584+
585+ StatusOr<google::longrunning::Operation>
586+ BigtableInstanceAdminClient::CreateLogicalView (
587+ NoAwaitTag, std::string const & parent,
588+ google::bigtable::admin::v2::LogicalView const & logical_view,
589+ std::string const & logical_view_id, Options opts) {
590+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
591+ google::bigtable::admin::v2::CreateLogicalViewRequest request;
592+ request.set_parent (parent);
593+ *request.mutable_logical_view () = logical_view;
594+ request.set_logical_view_id (logical_view_id);
595+ return connection_->CreateLogicalView (NoAwaitTag{}, request);
596+ }
597+
598+ future<StatusOr<google::bigtable::admin::v2::LogicalView>>
599+ BigtableInstanceAdminClient::CreateLogicalView (
600+ google::bigtable::admin::v2::CreateLogicalViewRequest const & request,
601+ Options opts) {
602+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
603+ return connection_->CreateLogicalView (request);
604+ }
605+
606+ StatusOr<google::longrunning::Operation>
607+ BigtableInstanceAdminClient::CreateLogicalView (
608+ NoAwaitTag,
609+ google::bigtable::admin::v2::CreateLogicalViewRequest const & request,
610+ Options opts) {
611+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
612+ return connection_->CreateLogicalView (NoAwaitTag{}, request);
613+ }
614+
615+ future<StatusOr<google::bigtable::admin::v2::LogicalView>>
616+ BigtableInstanceAdminClient::CreateLogicalView (
617+ google::longrunning::Operation const & operation, Options opts) {
618+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
619+ return connection_->CreateLogicalView (operation);
620+ }
621+
622+ StatusOr<google::bigtable::admin::v2::LogicalView>
623+ BigtableInstanceAdminClient::GetLogicalView (std::string const & name,
624+ Options opts) {
625+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
626+ google::bigtable::admin::v2::GetLogicalViewRequest request;
627+ request.set_name (name);
628+ return connection_->GetLogicalView (request);
629+ }
630+
631+ StatusOr<google::bigtable::admin::v2::LogicalView>
632+ BigtableInstanceAdminClient::GetLogicalView (
633+ google::bigtable::admin::v2::GetLogicalViewRequest const & request,
634+ Options opts) {
635+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
636+ return connection_->GetLogicalView (request);
637+ }
638+
639+ StreamRange<google::bigtable::admin::v2::LogicalView>
640+ BigtableInstanceAdminClient::ListLogicalViews (std::string const & parent,
641+ Options opts) {
642+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
643+ google::bigtable::admin::v2::ListLogicalViewsRequest request;
644+ request.set_parent (parent);
645+ return connection_->ListLogicalViews (request);
646+ }
647+
648+ StreamRange<google::bigtable::admin::v2::LogicalView>
649+ BigtableInstanceAdminClient::ListLogicalViews (
650+ google::bigtable::admin::v2::ListLogicalViewsRequest request,
651+ Options opts) {
652+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
653+ return connection_->ListLogicalViews (std::move (request));
654+ }
655+
656+ future<StatusOr<google::bigtable::admin::v2::LogicalView>>
657+ BigtableInstanceAdminClient::UpdateLogicalView (
658+ google::bigtable::admin::v2::LogicalView const & logical_view,
659+ google::protobuf::FieldMask const & update_mask, Options opts) {
660+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
661+ google::bigtable::admin::v2::UpdateLogicalViewRequest request;
662+ *request.mutable_logical_view () = logical_view;
663+ *request.mutable_update_mask () = update_mask;
664+ return connection_->UpdateLogicalView (request);
665+ }
666+
667+ StatusOr<google::longrunning::Operation>
668+ BigtableInstanceAdminClient::UpdateLogicalView (
669+ NoAwaitTag, google::bigtable::admin::v2::LogicalView const & logical_view,
670+ google::protobuf::FieldMask const & update_mask, Options opts) {
671+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
672+ google::bigtable::admin::v2::UpdateLogicalViewRequest request;
673+ *request.mutable_logical_view () = logical_view;
674+ *request.mutable_update_mask () = update_mask;
675+ return connection_->UpdateLogicalView (NoAwaitTag{}, request);
676+ }
677+
678+ future<StatusOr<google::bigtable::admin::v2::LogicalView>>
679+ BigtableInstanceAdminClient::UpdateLogicalView (
680+ google::bigtable::admin::v2::UpdateLogicalViewRequest const & request,
681+ Options opts) {
682+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
683+ return connection_->UpdateLogicalView (request);
684+ }
685+
686+ StatusOr<google::longrunning::Operation>
687+ BigtableInstanceAdminClient::UpdateLogicalView (
688+ NoAwaitTag,
689+ google::bigtable::admin::v2::UpdateLogicalViewRequest const & request,
690+ Options opts) {
691+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
692+ return connection_->UpdateLogicalView (NoAwaitTag{}, request);
693+ }
694+
695+ future<StatusOr<google::bigtable::admin::v2::LogicalView>>
696+ BigtableInstanceAdminClient::UpdateLogicalView (
697+ google::longrunning::Operation const & operation, Options opts) {
698+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
699+ return connection_->UpdateLogicalView (operation);
700+ }
701+
702+ Status BigtableInstanceAdminClient::DeleteLogicalView (std::string const & name,
703+ Options opts) {
704+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
705+ google::bigtable::admin::v2::DeleteLogicalViewRequest request;
706+ request.set_name (name);
707+ return connection_->DeleteLogicalView (request);
708+ }
709+
710+ Status BigtableInstanceAdminClient::DeleteLogicalView (
711+ google::bigtable::admin::v2::DeleteLogicalViewRequest const & request,
712+ Options opts) {
713+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
714+ return connection_->DeleteLogicalView (request);
715+ }
716+
717+ future<StatusOr<google::bigtable::admin::v2::MaterializedView>>
718+ BigtableInstanceAdminClient::CreateMaterializedView (
719+ std::string const & parent,
720+ google::bigtable::admin::v2::MaterializedView const & materialized_view,
721+ std::string const & materialized_view_id, Options opts) {
722+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
723+ google::bigtable::admin::v2::CreateMaterializedViewRequest request;
724+ request.set_parent (parent);
725+ *request.mutable_materialized_view () = materialized_view;
726+ request.set_materialized_view_id (materialized_view_id);
727+ return connection_->CreateMaterializedView (request);
728+ }
729+
730+ StatusOr<google::longrunning::Operation>
731+ BigtableInstanceAdminClient::CreateMaterializedView (
732+ NoAwaitTag, std::string const & parent,
733+ google::bigtable::admin::v2::MaterializedView const & materialized_view,
734+ std::string const & materialized_view_id, Options opts) {
735+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
736+ google::bigtable::admin::v2::CreateMaterializedViewRequest request;
737+ request.set_parent (parent);
738+ *request.mutable_materialized_view () = materialized_view;
739+ request.set_materialized_view_id (materialized_view_id);
740+ return connection_->CreateMaterializedView (NoAwaitTag{}, request);
741+ }
742+
743+ future<StatusOr<google::bigtable::admin::v2::MaterializedView>>
744+ BigtableInstanceAdminClient::CreateMaterializedView (
745+ google::bigtable::admin::v2::CreateMaterializedViewRequest const & request,
746+ Options opts) {
747+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
748+ return connection_->CreateMaterializedView (request);
749+ }
750+
751+ StatusOr<google::longrunning::Operation>
752+ BigtableInstanceAdminClient::CreateMaterializedView (
753+ NoAwaitTag,
754+ google::bigtable::admin::v2::CreateMaterializedViewRequest const & request,
755+ Options opts) {
756+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
757+ return connection_->CreateMaterializedView (NoAwaitTag{}, request);
758+ }
759+
760+ future<StatusOr<google::bigtable::admin::v2::MaterializedView>>
761+ BigtableInstanceAdminClient::CreateMaterializedView (
762+ google::longrunning::Operation const & operation, Options opts) {
763+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
764+ return connection_->CreateMaterializedView (operation);
765+ }
766+
767+ StatusOr<google::bigtable::admin::v2::MaterializedView>
768+ BigtableInstanceAdminClient::GetMaterializedView (std::string const & name,
769+ Options opts) {
770+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
771+ google::bigtable::admin::v2::GetMaterializedViewRequest request;
772+ request.set_name (name);
773+ return connection_->GetMaterializedView (request);
774+ }
775+
776+ StatusOr<google::bigtable::admin::v2::MaterializedView>
777+ BigtableInstanceAdminClient::GetMaterializedView (
778+ google::bigtable::admin::v2::GetMaterializedViewRequest const & request,
779+ Options opts) {
780+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
781+ return connection_->GetMaterializedView (request);
782+ }
783+
784+ StreamRange<google::bigtable::admin::v2::MaterializedView>
785+ BigtableInstanceAdminClient::ListMaterializedViews (std::string const & parent,
786+ Options opts) {
787+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
788+ google::bigtable::admin::v2::ListMaterializedViewsRequest request;
789+ request.set_parent (parent);
790+ return connection_->ListMaterializedViews (request);
791+ }
792+
793+ StreamRange<google::bigtable::admin::v2::MaterializedView>
794+ BigtableInstanceAdminClient::ListMaterializedViews (
795+ google::bigtable::admin::v2::ListMaterializedViewsRequest request,
796+ Options opts) {
797+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
798+ return connection_->ListMaterializedViews (std::move (request));
799+ }
800+
801+ future<StatusOr<google::bigtable::admin::v2::MaterializedView>>
802+ BigtableInstanceAdminClient::UpdateMaterializedView (
803+ google::bigtable::admin::v2::MaterializedView const & materialized_view,
804+ google::protobuf::FieldMask const & update_mask, Options opts) {
805+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
806+ google::bigtable::admin::v2::UpdateMaterializedViewRequest request;
807+ *request.mutable_materialized_view () = materialized_view;
808+ *request.mutable_update_mask () = update_mask;
809+ return connection_->UpdateMaterializedView (request);
810+ }
811+
812+ StatusOr<google::longrunning::Operation>
813+ BigtableInstanceAdminClient::UpdateMaterializedView (
814+ NoAwaitTag,
815+ google::bigtable::admin::v2::MaterializedView const & materialized_view,
816+ google::protobuf::FieldMask const & update_mask, Options opts) {
817+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
818+ google::bigtable::admin::v2::UpdateMaterializedViewRequest request;
819+ *request.mutable_materialized_view () = materialized_view;
820+ *request.mutable_update_mask () = update_mask;
821+ return connection_->UpdateMaterializedView (NoAwaitTag{}, request);
822+ }
823+
824+ future<StatusOr<google::bigtable::admin::v2::MaterializedView>>
825+ BigtableInstanceAdminClient::UpdateMaterializedView (
826+ google::bigtable::admin::v2::UpdateMaterializedViewRequest const & request,
827+ Options opts) {
828+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
829+ return connection_->UpdateMaterializedView (request);
830+ }
831+
832+ StatusOr<google::longrunning::Operation>
833+ BigtableInstanceAdminClient::UpdateMaterializedView (
834+ NoAwaitTag,
835+ google::bigtable::admin::v2::UpdateMaterializedViewRequest const & request,
836+ Options opts) {
837+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
838+ return connection_->UpdateMaterializedView (NoAwaitTag{}, request);
839+ }
840+
841+ future<StatusOr<google::bigtable::admin::v2::MaterializedView>>
842+ BigtableInstanceAdminClient::UpdateMaterializedView (
843+ google::longrunning::Operation const & operation, Options opts) {
844+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
845+ return connection_->UpdateMaterializedView (operation);
846+ }
847+
848+ Status BigtableInstanceAdminClient::DeleteMaterializedView (
849+ std::string const & name, Options opts) {
850+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
851+ google::bigtable::admin::v2::DeleteMaterializedViewRequest request;
852+ request.set_name (name);
853+ return connection_->DeleteMaterializedView (request);
854+ }
855+
856+ Status BigtableInstanceAdminClient::DeleteMaterializedView (
857+ google::bigtable::admin::v2::DeleteMaterializedViewRequest const & request,
858+ Options opts) {
859+ internal::OptionsSpan span (internal::MergeOptions (std::move (opts), options_));
860+ return connection_->DeleteMaterializedView (request);
861+ }
862+
572863GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
573864} // namespace bigtable_admin
574865} // namespace cloud
0 commit comments